-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbundle.js
More file actions
73 lines (73 loc) · 971 KB
/
bundle.js
File metadata and controls
73 lines (73 loc) · 971 KB
1
2
3
4
5
6
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="/",t(0)}([function(e,t,n){e.exports=n(302)},function(e,t,n){(function(e){!function(t,n){e.exports=n()}(this,function(){"use strict";function t(){return gr.apply(null,arguments)}function r(e){gr=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){var t;for(t in e)return!1;return!0}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return vt(e,t,n,r,!0).utc()}function h(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function p(e){return null==e._pf&&(e._pf=h()),e._pf}function m(e){if(null==e._isValid){var t=p(e),n=vr.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function _(e){var t=f(NaN);return null!=e?d(p(t),e):p(t).userInvalidated=!0,t}function g(e){return void 0===e}function y(e,t){var n,r,i;if(g(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),g(t._i)||(e._i=t._i),g(t._f)||(e._f=t._f),g(t._l)||(e._l=t._l),g(t._strict)||(e._strict=t._strict),g(t._tzm)||(e._tzm=t._tzm),g(t._isUTC)||(e._isUTC=t._isUTC),g(t._offset)||(e._offset=t._offset),g(t._pf)||(e._pf=p(t)),g(t._locale)||(e._locale=t._locale),xr.length>0)for(n in xr)r=xr[n],i=t[r],g(i)||(e[r]=i);return e}function v(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),br===!1&&(br=!0,t.updateOffset(this),br=!1)}function x(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function M(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function L(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&M(e[r])!==M(t[r]))&&o++;return o+a}function S(e){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function w(e,n){var r=!0;return d(function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),r){for(var i,a=[],o=0;o<arguments.length;o++){if(i="","object"==typeof arguments[o]){i+="\n["+o+"] ";for(var s in arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[o];a.push(i)}S(e+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function T(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),Mr[e]||(S(n),Mr[e]=!0)}function k(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function D(e){var t,n;for(n in e)t=e[n],k(t)?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function Y(e,t){var n,r=d({},e);for(n in t)c(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)c(e,n)&&!c(t,n)&&a(e[n])&&(r[n]=d({},r[n]));return r}function E(e){null!=e&&this.set(e)}function P(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return k(r)?r.call(t,n):r}function A(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function C(){return this._invalidDate}function O(e){return this._ordinal.replace("%d",e)}function j(e,t,n,r){var i=this._relativeTime[n];return k(i)?i(e,t,n,r):i.replace(/%d/i,e)}function R(e,t){var n=this._relativeTime[e>0?"future":"past"];return k(n)?n(t):n.replace(/%s/i,t)}function N(e,t){var n=e.toLowerCase();Ar[n]=Ar[n+"s"]=Ar[t]=e}function H(e){return"string"==typeof e?Ar[e]||Ar[e.toLowerCase()]:void 0}function I(e){var t,n,r={};for(n in e)c(e,n)&&(t=H(n),t&&(r[t]=e[n]));return r}function V(e,t){Cr[e]=t}function F(e){var t=[];for(var n in e)t.push({unit:n,priority:Cr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function W(e,n){return function(r){return null!=r?(U(this,e,r),t.updateOffset(this,n),this):G(this,e)}}function G(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function U(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function z(e){return e=H(e),k(this[e])?this[e]():this}function B(e,t){if("object"==typeof e){e=I(e);for(var n=F(e),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit])}else if(e=H(e),k(this[e]))return this[e](t);return this}function q(e,t,n){var r=""+Math.abs(e),i=t-r.length,a=e>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function X(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Nr[e]=i),t&&(Nr[t[0]]=function(){return q(i.apply(this,arguments),t[1],t[2])}),n&&(Nr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function K(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function J(e){var t,n,r=e.match(Or);for(t=0,n=r.length;t<n;t++)Nr[r[t]]?r[t]=Nr[r[t]]:r[t]=K(r[t]);return function(t){var i,a="";for(i=0;i<n;i++)a+=r[i]instanceof Function?r[i].call(t,e):r[i];return a}}function $(e,t){return e.isValid()?(t=Q(t,e.localeData()),Rr[t]=Rr[t]||J(t),Rr[t](e)):e.localeData().invalidDate()}function Q(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(jr.lastIndex=0;r>=0&&jr.test(e);)e=e.replace(jr,n),jr.lastIndex=0,r-=1;return e}function Z(e,t,n){ti[e]=k(t)?t:function(e,r){return e&&n?n:t}}function ee(e,t){return c(ti,e)?ti[e](t._strict,t._locale):new RegExp(te(e))}function te(e){return ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function re(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=M(e)}),n=0;n<e.length;n++)ni[e[n]]=r}function ie(e,t){re(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function ae(e,t,n){null!=t&&c(ni,e)&&ni[e](t,n._a,n,e)}function oe(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function se(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||hi).test(t)?"format":"standalone"][e.month()]:this._months}function ue(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[hi.test(t)?"format":"standalone"][e.month()]:this._monthsShort}function le(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?(i=fi.call(this._shortMonthsParse,o),i!==-1?i:null):(i=fi.call(this._longMonthsParse,o),i!==-1?i:null):"MMM"===t?(i=fi.call(this._shortMonthsParse,o),i!==-1?i:(i=fi.call(this._longMonthsParse,o),i!==-1?i:null)):(i=fi.call(this._longMonthsParse,o),i!==-1?i:(i=fi.call(this._shortMonthsParse,o),i!==-1?i:null))}function ce(e,t,n){var r,i,a;if(this._monthsParseExact)return le.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function de(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=M(t);else if(t=e.localeData().monthsParse(t),!s(t))return e;return n=Math.min(e.date(),oe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function fe(e){return null!=e?(de(this,e),t.updateOffset(this,!0),this):G(this,"Month")}function he(){return oe(this.year(),this.month())}function pe(e){return this._monthsParseExact?(c(this,"_monthsRegex")||_e.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=_i),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function me(e){return this._monthsParseExact?(c(this,"_monthsRegex")||_e.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=gi),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function _e(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],a=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),a.sort(e),t=0;t<12;t++)r[t]=ne(r[t]),i[t]=ne(i[t]);for(t=0;t<24;t++)a[t]=ne(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function ge(e){return ye(e)?366:365}function ye(e){return e%4===0&&e%100!==0||e%400===0}function ve(){return ye(this.year())}function xe(e,t,n,r,i,a,o){var s=new Date(e,t,n,r,i,a,o);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Me(e,t,n){var r=7+t-n,i=(7+be(e,0,r).getUTCDay()-t)%7;return-i+r-1}function Le(e,t,n,r,i){var a,o,s=(7+n-r)%7,u=Me(e,r,i),l=1+7*(t-1)+s+u;return l<=0?(a=e-1,o=ge(a)+l):l>ge(e)?(a=e+1,o=l-ge(e)):(a=e,o=l),{year:a,dayOfYear:o}}function Se(e,t,n){var r,i,a=Me(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?(i=e.year()-1,r=o+we(i,t,n)):o>we(e.year(),t,n)?(r=o-we(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function we(e,t,n){var r=Me(e,t,n),i=Me(e+1,t,n);return(ge(e)-r+i)/7}function Te(e){return Se(e,this._week.dow,this._week.doy).week}function ke(){return this._week.dow}function De(){return this._week.doy}function Ye(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ee(e){var t=Se(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Pe(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ae(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ce(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Oe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function je(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Re(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?(i=fi.call(this._weekdaysParse,o),i!==-1?i:null):"ddd"===t?(i=fi.call(this._shortWeekdaysParse,o),i!==-1?i:null):(i=fi.call(this._minWeekdaysParse,o),i!==-1?i:null):"dddd"===t?(i=fi.call(this._weekdaysParse,o),i!==-1?i:(i=fi.call(this._shortWeekdaysParse,o),i!==-1?i:(i=fi.call(this._minWeekdaysParse,o),i!==-1?i:null))):"ddd"===t?(i=fi.call(this._shortWeekdaysParse,o),i!==-1?i:(i=fi.call(this._weekdaysParse,o),i!==-1?i:(i=fi.call(this._minWeekdaysParse,o),i!==-1?i:null))):(i=fi.call(this._minWeekdaysParse,o),i!==-1?i:(i=fi.call(this._weekdaysParse,o),i!==-1?i:(i=fi.call(this._shortWeekdaysParse,o),i!==-1?i:null)))}function Ne(e,t,n){var r,i,a;if(this._weekdaysParseExact)return Re.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function He(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Pe(e,this.localeData()),this.add(e-t,"d")):t}function Ie(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Ve(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ae(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Fe(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Li),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function We(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Si),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ge(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=wi),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ue(){function e(e,t){return t.length-e.length}var t,n,r,i,a,o=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(r),s.push(i),u.push(a),l.push(r),l.push(i),l.push(a);for(o.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=ne(s[t]),u[t]=ne(u[t]),l[t]=ne(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function ze(){return this.hours()%12||12}function Be(){return this.hours()||24}function qe(e,t){X(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Xe(e,t){return t._meridiemParse}function Ke(e){return"p"===(e+"").toLowerCase().charAt(0)}function Je(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function $e(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e){for(var t,n,r,i,a=0;a<e.length;){for(i=$e(e[a]).split("-"),t=i.length,n=$e(e[a+1]),n=n?n.split("-"):null;t>0;){if(r=Ze(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&L(i,n,!0)>=t-1)break;t--}a++}return null}function Ze(t){var r=null;if(!Ei[t]&&"undefined"!=typeof e&&e&&e.exports)try{r=Ti._abbr,n(327)("./"+t),et(r)}catch(e){}return Ei[t]}function et(e,t){var n;return e&&(n=g(t)?rt(e):tt(e,t),n&&(Ti=n)),Ti._abbr}function tt(e,t){if(null!==t){var n=Yi;if(t.abbr=e,null!=Ei[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Ei[e]._config;else if(null!=t.parentLocale){if(null==Ei[t.parentLocale])return Pi[t.parentLocale]||(Pi[t.parentLocale]=[]),Pi[t.parentLocale].push({name:e,config:t}),null;n=Ei[t.parentLocale]._config}return Ei[e]=new E(Y(n,t)),Pi[e]&&Pi[e].forEach(function(e){tt(e.name,e.config)}),et(e),Ei[e]}return delete Ei[e],null}function nt(e,t){if(null!=t){var n,r=Yi;null!=Ei[e]&&(r=Ei[e]._config),t=Y(r,t),n=new E(t),n.parentLocale=Ei[e],Ei[e]=n,et(e)}else null!=Ei[e]&&(null!=Ei[e].parentLocale?Ei[e]=Ei[e].parentLocale:null!=Ei[e]&&delete Ei[e]);return Ei[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ti;if(!i(e)){if(t=Ze(e))return t;e=[e]}return Qe(e)}function it(){return wr(Ei)}function at(e){var t,n=e._a;return n&&p(e).overflow===-2&&(t=n[ii]<0||n[ii]>11?ii:n[ai]<1||n[ai]>oe(n[ri],n[ii])?ai:n[oi]<0||n[oi]>24||24===n[oi]&&(0!==n[si]||0!==n[ui]||0!==n[li])?oi:n[si]<0||n[si]>59?si:n[ui]<0||n[ui]>59?ui:n[li]<0||n[li]>999?li:-1,p(e)._overflowDayOfYear&&(t<ri||t>ai)&&(t=ai),p(e)._overflowWeeks&&t===-1&&(t=ci),p(e)._overflowWeekday&&t===-1&&(t=di),p(e).overflow=t),e}function ot(e){var t,n,r,i,a,o,s=e._i,u=Ai.exec(s)||Ci.exec(s);if(u){for(p(e).iso=!0,t=0,n=ji.length;t<n;t++)if(ji[t][1].exec(u[1])){i=ji[t][0],r=ji[t][2]!==!1;break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=Ri.length;t<n;t++)if(Ri[t][1].exec(u[3])){a=(u[2]||" ")+Ri[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(u[4]){if(!Oi.exec(u[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),ft(e)}else e._isValid=!1}function st(e){var n=Ni.exec(e._i);return null!==n?void(e._d=new Date(+n[1])):(ot(e),void(e._isValid===!1&&(delete e._isValid,t.createFromInputFallback(e))))}function ut(e,t,n){return null!=e?e:null!=t?t:n}function lt(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ct(e){var t,n,r,i,a=[];if(!e._d){for(r=lt(e),e._w&&null==e._a[ai]&&null==e._a[ii]&&dt(e),e._dayOfYear&&(i=ut(e._a[ri],r[ri]),e._dayOfYear>ge(i)&&(p(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[ii]=n.getUTCMonth(),e._a[ai]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[oi]&&0===e._a[si]&&0===e._a[ui]&&0===e._a[li]&&(e._nextDay=!0,e._a[oi]=0),e._d=(e._useUTC?be:xe).apply(null,a),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[oi]=24)}}function dt(e){var t,n,r,i,a,o,s,u;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)a=1,o=4,n=ut(t.GG,e._a[ri],Se(xt(),1,4).year),r=ut(t.W,1),i=ut(t.E,1),(i<1||i>7)&&(u=!0);else{a=e._locale._week.dow,o=e._locale._week.doy;var l=Se(xt(),a,o);n=ut(t.gg,e._a[ri],l.year),r=ut(t.w,l.week),null!=t.d?(i=t.d,(i<0||i>6)&&(u=!0)):null!=t.e?(i=t.e+a,(t.e<0||t.e>6)&&(u=!0)):i=a}r<1||r>we(n,a,o)?p(e)._overflowWeeks=!0:null!=u?p(e)._overflowWeekday=!0:(s=Le(n,r,i,a,o),e._a[ri]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===t.ISO_8601)return void ot(e);e._a=[],p(e).empty=!0;var n,r,i,a,o,s=""+e._i,u=s.length,l=0;for(i=Q(e._f,e._locale).match(Or)||[],n=0;n<i.length;n++)a=i[n],r=(s.match(ee(a,e))||[])[0],r&&(o=s.substr(0,s.indexOf(r)),o.length>0&&p(e).unusedInput.push(o),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Nr[a]?(r?p(e).empty=!1:p(e).unusedTokens.push(a),ae(a,r,e)):e._strict&&!r&&p(e).unusedTokens.push(a);p(e).charsLeftOver=u-l,s.length>0&&p(e).unusedInput.push(s),e._a[oi]<=12&&p(e).bigHour===!0&&e._a[oi]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[oi]=ht(e._locale,e._a[oi],e._meridiem),ct(e),at(e)}function ht(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function pt(e){var t,n,r,i,a;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)a=0,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],ft(t),m(t)&&(a+=p(t).charsLeftOver,a+=10*p(t).unusedTokens.length,p(t).score=a,(null==r||a<r)&&(r=a,n=t));d(e,n||t)}function mt(e){if(!e._d){var t=I(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ct(e)}}function _t(e){var t=new v(at(gt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function gt(e){var t=e._i,n=e._f;return e._locale=e._locale||rt(e._l),null===t||void 0===n&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new v(at(t)):(u(t)?e._d=t:i(n)?pt(e):n?ft(e):yt(e),m(e)||(e._d=null),e))}function yt(e){var n=e._i;void 0===n?e._d=new Date(t.now()):u(n)?e._d=new Date(n.valueOf()):"string"==typeof n?st(e):i(n)?(e._a=l(n.slice(0),function(e){return parseInt(e,10)}),ct(e)):"object"==typeof n?mt(e):s(n)?e._d=new Date(n):t.createFromInputFallback(e)}function vt(e,t,n,r,s){var u={};return n!==!0&&n!==!1||(r=n,n=void 0),(a(e)&&o(e)||i(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=n,u._i=e,u._f=t,u._strict=r,_t(u)}function xt(e,t,n,r){return vt(e,t,n,r,!1)}function bt(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return xt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Mt(){var e=[].slice.call(arguments,0);return bt("isBefore",e)}function Lt(){var e=[].slice.call(arguments,0);return bt("isAfter",e)}function St(e){var t=I(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||0,o=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=rt(),this._bubble()}function wt(e){return e instanceof St}function Tt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function kt(e,t){X(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+q(~~(e/60),2)+t+q(~~e%60,2)})}function Dt(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(Fi)||["-",0,0],a=+(60*i[1])+M(i[2]);return 0===a?0:"+"===i[0]?a:-a}function Yt(e,n){var r,i;return n._isUTC?(r=n.clone(),i=(x(e)||u(e)?e.valueOf():xt(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),t.updateOffset(r,!1),r):xt(e).local()}function Et(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Pt(e,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(e=Dt(Qr,e),null===e)return this}else Math.abs(e)<16&&(e*=60);return!this._isUTC&&n&&(r=Et(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!n||this._changeInProgress?qt(this,Wt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Et(this)}function At(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ct(e){return this.utcOffset(0,e)}function Ot(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Et(this),"m")),this}function jt(){if(null!=this._tzm)this.utcOffset(this._tzm);else if("string"==typeof this._i){var e=Dt($r,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Rt(e){return!!this.isValid()&&(e=e?xt(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function Nt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ht(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):xt(e._a);this._isDSTShifted=this.isValid()&&L(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function It(){return!!this.isValid()&&!this._isUTC}function Vt(){return!!this.isValid()&&this._isUTC}function Ft(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Wt(e,t){var n,r,i,a=e,o=null;return wt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(a={},t?a[t]=e:a.milliseconds=e):(o=Wi.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:M(o[ai])*n,h:M(o[oi])*n,m:M(o[si])*n,s:M(o[ui])*n,ms:M(Tt(1e3*o[li]))*n}):(o=Gi.exec(e))?(n="-"===o[1]?-1:1,a={y:Gt(o[2],n),M:Gt(o[3],n),w:Gt(o[4],n),d:Gt(o[5],n),h:Gt(o[6],n),m:Gt(o[7],n),s:Gt(o[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=zt(xt(a.from),xt(a.to)),a={},a.ms=i.milliseconds,a.M=i.months),r=new St(a),wt(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Gt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ut(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function zt(e,t){var n;return e.isValid()&&t.isValid()?(t=Yt(t,e),e.isBefore(t)?n=Ut(e,t):(n=Ut(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Bt(e,t){return function(n,r){var i,a;return null===r||isNaN(+r)||(T(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),n="string"==typeof n?+n:n,i=Wt(n,r),qt(this,i,e),this}}function qt(e,n,r,i){var a=n._milliseconds,o=Tt(n._days),s=Tt(n._months);e.isValid()&&(i=null==i||i,a&&e._d.setTime(e._d.valueOf()+a*r),o&&U(e,"Date",G(e,"Date")+o*r),s&&de(e,G(e,"Month")+s*r),i&&t.updateOffset(e,o||s))}function Xt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Kt(e,n){var r=e||xt(),i=Yt(r,this).startOf("day"),a=t.calendarFormat(this,i)||"sameElse",o=n&&(k(n[a])?n[a].call(this,r):n[a]);return this.format(o||this.localeData().calendar(a,this,xt(r)))}function Jt(){return new v(this)}function $t(e,t){var n=x(e)?e:xt(e);return!(!this.isValid()||!n.isValid())&&(t=H(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Qt(e,t){var n=x(e)?e:xt(e);return!(!this.isValid()||!n.isValid())&&(t=H(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Zt(e,t,n,r){return r=r||"()",("("===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function en(e,t){var n,r=x(e)?e:xt(e);return!(!this.isValid()||!r.isValid())&&(t=H(t||"millisecond"),"millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function tn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function nn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function rn(e,t,n){var r,i,a,o;return this.isValid()?(r=Yt(e,this),r.isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),t=H(t),"year"===t||"month"===t||"quarter"===t?(o=an(this,r),"quarter"===t?o/=3:"year"===t&&(o/=12)):(a=this-r,o="second"===t?a/1e3:"minute"===t?a/6e4:"hour"===t?a/36e5:"day"===t?(a-i)/864e5:"week"===t?(a-i)/6048e5:a),n?o:b(o)):NaN):NaN}function an(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),a=e.clone().add(i,"months");return t-a<0?(n=e.clone().add(i-1,"months"),r=(t-a)/(a-n)):(n=e.clone().add(i+1,"months"),r=(t-a)/(n-a)),-(i+r)||0}function on(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function sn(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?k(Date.prototype.toISOString)?this.toDate().toISOString():$(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):$(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function un(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]';return this.format(n+r+i+a)}function ln(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=$(this,e);return this.localeData().postformat(n)}function cn(e,t){return this.isValid()&&(x(e)&&e.isValid()||xt(e).isValid())?Wt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function dn(e){return this.from(xt(),e)}function fn(e,t){return this.isValid()&&(x(e)&&e.isValid()||xt(e).isValid())?Wt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function hn(e){return this.to(xt(),e)}function pn(e){var t;return void 0===e?this._locale._abbr:(t=rt(e),null!=t&&(this._locale=t),this)}function mn(){return this._locale}function _n(e){switch(e=H(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function gn(e){return e=H(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function yn(){return this._d.valueOf()-6e4*(this._offset||0)}function vn(){return Math.floor(this.valueOf()/1e3)}function xn(){return new Date(this.valueOf())}function bn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Mn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Ln(){return this.isValid()?this.toISOString():null}function Sn(){return m(this)}function wn(){return d({},p(this))}function Tn(){return p(this).overflow}function kn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Dn(e,t){X(0,[e,e.length],0,t)}function Yn(e){return Cn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function En(e){return Cn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Pn(){return we(this.year(),1,4)}function An(){var e=this.localeData()._week;return we(this.year(),e.dow,e.doy)}function Cn(e,t,n,r,i){var a;return null==e?Se(this,r,i).year:(a=we(e,r,i),t>a&&(t=a),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var a=Le(e,t,n,r,i),o=be(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function jn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Rn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Nn(e,t){t[li]=M(1e3*("0."+e))}function Hn(){return this._isUTC?"UTC":""}function In(){return this._isUTC?"Coordinated Universal Time":""}function Vn(e){return xt(1e3*e)}function Fn(){return xt.apply(null,arguments).parseZone()}function Wn(e){return e}function Gn(e,t,n,r){var i=rt(),a=f().set(r,t);return i[n](a,e)}function Un(e,t,n){
if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Gn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Gn(e,r,n,"month");return i}function zn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var i=rt(),a=e?i._week.dow:0;if(null!=n)return Gn(t,(n+a)%7,r,"day");var o,u=[];for(o=0;o<7;o++)u[o]=Gn(t,(o+a)%7,r,"day");return u}function Bn(e,t){return Un(e,t,"months")}function qn(e,t){return Un(e,t,"monthsShort")}function Xn(e,t,n){return zn(e,t,n,"weekdays")}function Kn(e,t,n){return zn(e,t,n,"weekdaysShort")}function Jn(e,t,n){return zn(e,t,n,"weekdaysMin")}function $n(){var e=this._data;return this._milliseconds=ea(this._milliseconds),this._days=ea(this._days),this._months=ea(this._months),e.milliseconds=ea(e.milliseconds),e.seconds=ea(e.seconds),e.minutes=ea(e.minutes),e.hours=ea(e.hours),e.months=ea(e.months),e.years=ea(e.years),this}function Qn(e,t,n,r){var i=Wt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Zn(e,t){return Qn(this,e,t,1)}function er(e,t){return Qn(this,e,t,-1)}function tr(e){return e<0?Math.floor(e):Math.ceil(e)}function nr(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,u=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*tr(ir(s)+o),o=0,s=0),u.milliseconds=a%1e3,e=b(a/1e3),u.seconds=e%60,t=b(e/60),u.minutes=t%60,n=b(t/60),u.hours=n%24,o+=b(n/24),i=b(rr(o)),s+=i,o-=tr(ir(i)),r=b(s/12),s%=12,u.days=o,u.months=s,u.years=r,this}function rr(e){return 4800*e/146097}function ir(e){return 146097*e/4800}function ar(e){var t,n,r=this._milliseconds;if(e=H(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+rr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ir(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function or(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*M(this._months/12)}function sr(e){return function(){return this.as(e)}}function ur(e){return e=H(e),this[e+"s"]()}function lr(e){return function(){return this._data[e]}}function cr(){return b(this.days()/7)}function dr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function fr(e,t,n){var r=Wt(e).abs(),i=_a(r.as("s")),a=_a(r.as("m")),o=_a(r.as("h")),s=_a(r.as("d")),u=_a(r.as("M")),l=_a(r.as("y")),c=i<ga.s&&["s",i]||a<=1&&["m"]||a<ga.m&&["mm",a]||o<=1&&["h"]||o<ga.h&&["hh",o]||s<=1&&["d"]||s<ga.d&&["dd",s]||u<=1&&["M"]||u<ga.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,dr.apply(null,c)}function hr(e){return void 0===e?_a:"function"==typeof e&&(_a=e,!0)}function pr(e,t){return void 0!==ga[e]&&(void 0===t?ga[e]:(ga[e]=t,!0))}function mr(e){var t=this.localeData(),n=fr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function _r(){var e,t,n,r=ya(this._milliseconds)/1e3,i=ya(this._days),a=ya(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(a/12),a%=12;var o=n,s=a,u=i,l=t,c=e,d=r,f=this.asSeconds();return f?(f<0?"-":"")+"P"+(o?o+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(l||c||d?"T":"")+(l?l+"H":"")+(c?c+"M":"")+(d?d+"S":""):"P0D"}var gr,yr;yr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var vr=yr,xr=t.momentProperties=[],br=!1,Mr={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var Lr;Lr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var Sr,wr=Lr,Tr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},kr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Dr="Invalid date",Yr="%d",Er=/\d{1,2}/,Pr={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ar={},Cr={},Or=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,jr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Rr={},Nr={},Hr=/\d/,Ir=/\d\d/,Vr=/\d{3}/,Fr=/\d{4}/,Wr=/[+-]?\d{6}/,Gr=/\d\d?/,Ur=/\d\d\d\d?/,zr=/\d\d\d\d\d\d?/,Br=/\d{1,3}/,qr=/\d{1,4}/,Xr=/[+-]?\d{1,6}/,Kr=/\d+/,Jr=/[+-]?\d+/,$r=/Z|[+-]\d\d:?\d\d/gi,Qr=/Z|[+-]\d\d(?::?\d\d)?/gi,Zr=/[+-]?\d+(\.\d{1,3})?/,ei=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ti={},ni={},ri=0,ii=1,ai=2,oi=3,si=4,ui=5,li=6,ci=7,di=8;Sr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};var fi=Sr;X("M",["MM",2],"Mo",function(){return this.month()+1}),X("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),X("MMMM",0,0,function(e){return this.localeData().months(this,e)}),N("month","M"),V("month",8),Z("M",Gr),Z("MM",Gr,Ir),Z("MMM",function(e,t){return t.monthsShortRegex(e)}),Z("MMMM",function(e,t){return t.monthsRegex(e)}),re(["M","MM"],function(e,t){t[ii]=M(e)-1}),re(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[ii]=i:p(n).invalidMonth=e});var hi=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,pi="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),mi="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),_i=ei,gi=ei;X("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),X(0,["YY",2],0,function(){return this.year()%100}),X(0,["YYYY",4],0,"year"),X(0,["YYYYY",5],0,"year"),X(0,["YYYYYY",6,!0],0,"year"),N("year","y"),V("year",1),Z("Y",Jr),Z("YY",Gr,Ir),Z("YYYY",qr,Fr),Z("YYYYY",Xr,Wr),Z("YYYYYY",Xr,Wr),re(["YYYYY","YYYYYY"],ri),re("YYYY",function(e,n){n[ri]=2===e.length?t.parseTwoDigitYear(e):M(e)}),re("YY",function(e,n){n[ri]=t.parseTwoDigitYear(e)}),re("Y",function(e,t){t[ri]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return M(e)+(M(e)>68?1900:2e3)};var yi=W("FullYear",!0);X("w",["ww",2],"wo","week"),X("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),V("week",5),V("isoWeek",5),Z("w",Gr),Z("ww",Gr,Ir),Z("W",Gr),Z("WW",Gr,Ir),ie(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=M(e)});var vi={dow:0,doy:6};X("d",0,"do","day"),X("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),X("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),X("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),X("e",0,0,"weekday"),X("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),Z("d",Gr),Z("e",Gr),Z("E",Gr),Z("dd",function(e,t){return t.weekdaysMinRegex(e)}),Z("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Z("dddd",function(e,t){return t.weekdaysRegex(e)}),ie(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),ie(["d","e","E"],function(e,t,n,r){t[r]=M(e)});var xi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),bi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Mi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Li=ei,Si=ei,wi=ei;X("H",["HH",2],0,"hour"),X("h",["hh",2],0,ze),X("k",["kk",2],0,Be),X("hmm",0,0,function(){return""+ze.apply(this)+q(this.minutes(),2)}),X("hmmss",0,0,function(){return""+ze.apply(this)+q(this.minutes(),2)+q(this.seconds(),2)}),X("Hmm",0,0,function(){return""+this.hours()+q(this.minutes(),2)}),X("Hmmss",0,0,function(){return""+this.hours()+q(this.minutes(),2)+q(this.seconds(),2)}),qe("a",!0),qe("A",!1),N("hour","h"),V("hour",13),Z("a",Xe),Z("A",Xe),Z("H",Gr),Z("h",Gr),Z("HH",Gr,Ir),Z("hh",Gr,Ir),Z("hmm",Ur),Z("hmmss",zr),Z("Hmm",Ur),Z("Hmmss",zr),re(["H","HH"],oi),re(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),re(["h","hh"],function(e,t,n){t[oi]=M(e),p(n).bigHour=!0}),re("hmm",function(e,t,n){var r=e.length-2;t[oi]=M(e.substr(0,r)),t[si]=M(e.substr(r)),p(n).bigHour=!0}),re("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[oi]=M(e.substr(0,r)),t[si]=M(e.substr(r,2)),t[ui]=M(e.substr(i)),p(n).bigHour=!0}),re("Hmm",function(e,t,n){var r=e.length-2;t[oi]=M(e.substr(0,r)),t[si]=M(e.substr(r))}),re("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[oi]=M(e.substr(0,r)),t[si]=M(e.substr(r,2)),t[ui]=M(e.substr(i))});var Ti,ki=/[ap]\.?m?\.?/i,Di=W("Hours",!0),Yi={calendar:Tr,longDateFormat:kr,invalidDate:Dr,ordinal:Yr,ordinalParse:Er,relativeTime:Pr,months:pi,monthsShort:mi,week:vi,weekdays:xi,weekdaysMin:Mi,weekdaysShort:bi,meridiemParse:ki},Ei={},Pi={},Ai=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ci=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Oi=/Z|[+-]\d\d(?::?\d\d)?/,ji=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Ri=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ni=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=w("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),t.ISO_8601=function(){};var Hi=w("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=xt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:_()}),Ii=w("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=xt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:_()}),Vi=function(){return Date.now?Date.now():+new Date};kt("Z",":"),kt("ZZ",""),Z("Z",Qr),Z("ZZ",Qr),re(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Dt(Qr,e)});var Fi=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Wi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Gi=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Wt.fn=St.prototype;var Ui=Bt(1,"add"),zi=Bt(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Bi=w("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});X(0,["gg",2],0,function(){return this.weekYear()%100}),X(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Dn("gggg","weekYear"),Dn("ggggg","weekYear"),Dn("GGGG","isoWeekYear"),Dn("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),Z("G",Jr),Z("g",Jr),Z("GG",Gr,Ir),Z("gg",Gr,Ir),Z("GGGG",qr,Fr),Z("gggg",qr,Fr),Z("GGGGG",Xr,Wr),Z("ggggg",Xr,Wr),ie(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=M(e)}),ie(["gg","GG"],function(e,n,r,i){n[i]=t.parseTwoDigitYear(e)}),X("Q",0,"Qo","quarter"),N("quarter","Q"),V("quarter",7),Z("Q",Hr),re("Q",function(e,t){t[ii]=3*(M(e)-1)}),X("D",["DD",2],"Do","date"),N("date","D"),V("date",9),Z("D",Gr),Z("DD",Gr,Ir),Z("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),re(["D","DD"],ai),re("Do",function(e,t){t[ai]=M(e.match(Gr)[0],10)});var qi=W("Date",!0);X("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),V("dayOfYear",4),Z("DDD",Br),Z("DDDD",Vr),re(["DDD","DDDD"],function(e,t,n){n._dayOfYear=M(e)}),X("m",["mm",2],0,"minute"),N("minute","m"),V("minute",14),Z("m",Gr),Z("mm",Gr,Ir),re(["m","mm"],si);var Xi=W("Minutes",!1);X("s",["ss",2],0,"second"),N("second","s"),V("second",15),Z("s",Gr),Z("ss",Gr,Ir),re(["s","ss"],ui);var Ki=W("Seconds",!1);X("S",0,0,function(){return~~(this.millisecond()/100)}),X(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),X(0,["SSS",3],0,"millisecond"),X(0,["SSSS",4],0,function(){return 10*this.millisecond()}),X(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),X(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),X(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),X(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),X(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),N("millisecond","ms"),V("millisecond",16),Z("S",Br,Hr),Z("SS",Br,Ir),Z("SSS",Br,Vr);var Ji;for(Ji="SSSS";Ji.length<=9;Ji+="S")Z(Ji,Kr);for(Ji="S";Ji.length<=9;Ji+="S")re(Ji,Nn);var $i=W("Milliseconds",!1);X("z",0,0,"zoneAbbr"),X("zz",0,0,"zoneName");var Qi=v.prototype;Qi.add=Ui,Qi.calendar=Kt,Qi.clone=Jt,Qi.diff=rn,Qi.endOf=gn,Qi.format=ln,Qi.from=cn,Qi.fromNow=dn,Qi.to=fn,Qi.toNow=hn,Qi.get=z,Qi.invalidAt=Tn,Qi.isAfter=$t,Qi.isBefore=Qt,Qi.isBetween=Zt,Qi.isSame=en,Qi.isSameOrAfter=tn,Qi.isSameOrBefore=nn,Qi.isValid=Sn,Qi.lang=Bi,Qi.locale=pn,Qi.localeData=mn,Qi.max=Ii,Qi.min=Hi,Qi.parsingFlags=wn,Qi.set=B,Qi.startOf=_n,Qi.subtract=zi,Qi.toArray=bn,Qi.toObject=Mn,Qi.toDate=xn,Qi.toISOString=sn,Qi.inspect=un,Qi.toJSON=Ln,Qi.toString=on,Qi.unix=vn,Qi.valueOf=yn,Qi.creationData=kn,Qi.year=yi,Qi.isLeapYear=ve,Qi.weekYear=Yn,Qi.isoWeekYear=En,Qi.quarter=Qi.quarters=jn,Qi.month=fe,Qi.daysInMonth=he,Qi.week=Qi.weeks=Ye,Qi.isoWeek=Qi.isoWeeks=Ee,Qi.weeksInYear=An,Qi.isoWeeksInYear=Pn,Qi.date=qi,Qi.day=Qi.days=He,Qi.weekday=Ie,Qi.isoWeekday=Ve,Qi.dayOfYear=Rn,Qi.hour=Qi.hours=Di,Qi.minute=Qi.minutes=Xi,Qi.second=Qi.seconds=Ki,Qi.millisecond=Qi.milliseconds=$i,Qi.utcOffset=Pt,Qi.utc=Ct,Qi.local=Ot,Qi.parseZone=jt,Qi.hasAlignedHourOffset=Rt,Qi.isDST=Nt,Qi.isLocal=It,Qi.isUtcOffset=Vt,Qi.isUtc=Ft,Qi.isUTC=Ft,Qi.zoneAbbr=Hn,Qi.zoneName=In,Qi.dates=w("dates accessor is deprecated. Use date instead.",qi),Qi.months=w("months accessor is deprecated. Use month instead",fe),Qi.years=w("years accessor is deprecated. Use year instead",yi),Qi.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",At),Qi.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ht);var Zi=E.prototype;Zi.calendar=P,Zi.longDateFormat=A,Zi.invalidDate=C,Zi.ordinal=O,Zi.preparse=Wn,Zi.postformat=Wn,Zi.relativeTime=j,Zi.pastFuture=R,Zi.set=D,Zi.months=se,Zi.monthsShort=ue,Zi.monthsParse=ce,Zi.monthsRegex=me,Zi.monthsShortRegex=pe,Zi.week=Te,Zi.firstDayOfYear=De,Zi.firstDayOfWeek=ke,Zi.weekdays=Ce,Zi.weekdaysMin=je,Zi.weekdaysShort=Oe,Zi.weekdaysParse=Ne,Zi.weekdaysRegex=Fe,Zi.weekdaysShortRegex=We,Zi.weekdaysMinRegex=Ge,Zi.isPM=Ke,Zi.meridiem=Je,et("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===M(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),t.lang=w("moment.lang is deprecated. Use moment.locale instead.",et),t.langData=w("moment.langData is deprecated. Use moment.localeData instead.",rt);var ea=Math.abs,ta=sr("ms"),na=sr("s"),ra=sr("m"),ia=sr("h"),aa=sr("d"),oa=sr("w"),sa=sr("M"),ua=sr("y"),la=lr("milliseconds"),ca=lr("seconds"),da=lr("minutes"),fa=lr("hours"),ha=lr("days"),pa=lr("months"),ma=lr("years"),_a=Math.round,ga={s:45,m:45,h:22,d:26,M:11},ya=Math.abs,va=St.prototype;return va.abs=$n,va.add=Zn,va.subtract=er,va.as=ar,va.asMilliseconds=ta,va.asSeconds=na,va.asMinutes=ra,va.asHours=ia,va.asDays=aa,va.asWeeks=oa,va.asMonths=sa,va.asYears=ua,va.valueOf=or,va._bubble=nr,va.get=ur,va.milliseconds=la,va.seconds=ca,va.minutes=da,va.hours=fa,va.days=ha,va.weeks=cr,va.months=pa,va.years=ma,va.humanize=mr,va.toISOString=_r,va.toString=_r,va.toJSON=_r,va.locale=pn,va.localeData=mn,va.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",_r),va.lang=Bi,X("X",0,0,"unix"),X("x",0,0,"valueOf"),Z("x",Jr),Z("X",Zr),re("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),re("x",function(e,t,n){n._d=new Date(M(e))}),t.version="2.17.0",r(xt),t.fn=Qi,t.min=Mt,t.max=Lt,t.now=Vi,t.utc=f,t.unix=Vn,t.months=Bn,t.isDate=u,t.locale=et,t.invalid=_,t.duration=Wt,t.isMoment=x,t.weekdays=Xn,t.parseZone=Fn,t.localeData=rt,t.isDuration=wt,t.monthsShort=qn,t.weekdaysMin=Jn,t.defineLocale=tt,t.updateLocale=nt,t.locales=it,t.weekdaysShort=Kn,t.normalizeUnits=H,t.relativeTimeRounding=hr,t.relativeTimeThreshold=pr,t.calendarFormat=Xt,t.prototype=Qi,t})}).call(t,n(276)(e))},function(e,t,n){"use strict";function r(e,t,n,r,i,a,o,s){if(!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 l=[n,r,i,a,o,s],c=0;u=new Error(t.replace(/%s/g,function(){return l[c++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}e.exports=r},function(e,t,n){"use strict";e.exports=n(411)},function(e,t,n){"use strict";var r=n(13),i=r;e.exports=i},function(e,t){"use strict";function n(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,i=1;i<arguments.length;i++){var a=arguments[i];if(null!=a){var o=Object(a);for(var s in o)r.call(o,s)&&(n[s]=o[s])}}return n}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(t.indexOf("deprecated")!==-1){if(u[t])return;u[t]=!0}t="[react-router] "+t;for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];s.default.apply(void 0,[e,t].concat(r))}function a(){u={}}t.__esModule=!0,t.default=i,t._resetWarned=a;var o=n(495),s=r(o),u={}},function(e,t,n){"use strict";var r=function(e,t,n,r,i,a,o,s){if(!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 l=[n,r,i,a,o,s],c=0;u=new Error(t.replace(/%s/g,function(){return l[c++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};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){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function i(e){return e?e.nodeType===W?e.documentElement:e.firstChild:null}function a(e){var t=i(e);return t&&J.getID(t)}function o(e){var t=s(e);if(t)if(V.hasOwnProperty(t)){var n=V[t];n!==e&&(d(n,t)?R(!1):void 0,V[t]=e)}else V[t]=e;return t}function s(e){return e&&e.getAttribute&&e.getAttribute(I)||""}function u(e,t){var n=s(e);n!==t&&delete V[n],e.setAttribute(I,t),V[t]=e}function l(e){return V.hasOwnProperty(e)&&d(V[e],e)||(V[e]=J.findReactNodeByID(e)),V[e]}function c(e){var t=T.get(e)._rootNodeID;return S.isNullComponentID(t)?null:(V.hasOwnProperty(t)&&d(V[t],t)||(V[t]=J.findReactNodeByID(t)),V[t])}function d(e,t){if(e){s(e)!==t?R(!1):void 0;var n=J.findReactContainerForID(t);if(n&&O(n,e))return!0}return!1}function f(e){delete V[e]}function h(e){var t=V[e];return!(!t||!d(t,e))&&void(X=t)}function p(e){X=null,w.traverseAncestors(e,h);var t=X;return X=null,t}function m(e,t,n,r,i,a){M.useCreateElement&&(a=A({},a),n.nodeType===W?a[U]=n:a[U]=n.ownerDocument);var o=Y.mountComponent(e,t,r,a);e._renderedComponent._topLevelWrapper=e,J._mountImageIntoNode(o,n,i,r)}function _(e,t,n,r,i){var a=P.ReactReconcileTransaction.getPooled(r);a.perform(m,null,e,t,n,a,r,i),P.ReactReconcileTransaction.release(a)}function g(e,t){for(Y.unmountComponent(e),t.nodeType===W&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}function y(e){var t=a(e);return!!t&&t!==w.getReactRootIDFromNodeID(t)}function v(e){for(;e&&e.parentNode!==e;e=e.parentNode)if(1===e.nodeType){var t=s(e);if(t){var n,r=w.getReactRootIDFromNodeID(t),i=e;do if(n=s(i),i=i.parentNode,null==i)return null;while(n!==r);if(i===B[r])return e}}return null}var x=n(28),b=n(46),M=(n(17),n(237)),L=n(10),S=n(244),w=n(29),T=n(38),k=n(247),D=n(11),Y=n(24),E=n(72),P=n(12),A=n(5),C=n(32),O=n(92),j=n(79),R=n(2),N=n(53),H=n(82),I=(n(84),n(4),x.ID_ATTRIBUTE_NAME),V={},F=1,W=9,G=11,U="__ReactMount_ownerDocument$"+Math.random().toString(36).slice(2),z={},B={},q=[],X=null,K=function(){};K.prototype.isReactComponent={},K.prototype.render=function(){return this.props};var J={TopLevelWrapper:K,_instancesByReactRootID:z,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r){return J.scrollMonitor(n,function(){E.enqueueElementInternal(e,t),r&&E.enqueueCallbackInternal(e,r)}),e},_registerComponent:function(e,t){!t||t.nodeType!==F&&t.nodeType!==W&&t.nodeType!==G?R(!1):void 0,b.ensureScrollValueMonitoring();var n=J.registerContainer(t);return z[n]=e,n},_renderNewRootComponent:function(e,t,n,r){var i=j(e,null),a=J._registerComponent(i,t);return P.batchedUpdates(_,i,a,t,n,r),i},renderSubtreeIntoContainer:function(e,t,n,r){return null==e||null==e._reactInternalInstance?R(!1):void 0,J._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){L.isValidElement(t)?void 0:R(!1);var o=new L(K,null,null,null,null,null,t),u=z[a(n)];if(u){var l=u._currentElement,c=l.props;if(H(c,t)){var d=u._renderedComponent.getPublicInstance(),f=r&&function(){r.call(d)};return J._updateRootComponent(u,o,n,f),d}J.unmountComponentAtNode(n)}var h=i(n),p=h&&!!s(h),m=y(n),_=p&&!u&&!m,g=J._renderNewRootComponent(o,n,_,null!=e?e._reactInternalInstance._processChildContext(e._reactInternalInstance._context):C)._renderedComponent.getPublicInstance();return r&&r.call(g),g},render:function(e,t,n){return J._renderSubtreeIntoContainer(null,e,t,n)},registerContainer:function(e){var t=a(e);return t&&(t=w.getReactRootIDFromNodeID(t)),t||(t=w.createReactRootID()),B[t]=e,t},unmountComponentAtNode:function(e){!e||e.nodeType!==F&&e.nodeType!==W&&e.nodeType!==G?R(!1):void 0;var t=a(e),n=z[t];if(!n){var r=(y(e),s(e));r&&r===w.getReactRootIDFromNodeID(r);return!1}return P.batchedUpdates(g,n,e),delete z[t],delete B[t],!0},findReactContainerForID:function(e){var t=w.getReactRootIDFromNodeID(e),n=B[t];return n},findReactNodeByID:function(e){var t=J.findReactContainerForID(e);return J.findComponentRoot(t,e)},getFirstReactDOM:function(e){return v(e)},findComponentRoot:function(e,t){var n=q,r=0,i=p(t)||e;for(n[0]=i.firstChild,n.length=1;r<n.length;){for(var a,o=n[r++];o;){var s=J.getID(o);s?t===s?a=o:w.isAncestorIDOf(s,t)&&(n.length=r=0,n.push(o.firstChild)):n.push(o.firstChild),o=o.nextSibling}if(a)return n.length=0,a}n.length=0,R(!1)},_mountImageIntoNode:function(e,t,n,a){if(!t||t.nodeType!==F&&t.nodeType!==W&&t.nodeType!==G?R(!1):void 0,n){var o=i(t);if(k.canReuseMarkup(e,o))return;var s=o.getAttribute(k.CHECKSUM_ATTR_NAME);o.removeAttribute(k.CHECKSUM_ATTR_NAME);var u=o.outerHTML;o.setAttribute(k.CHECKSUM_ATTR_NAME,s);var l=e,c=r(l,u);" (client) "+l.substring(c-20,c+20)+"\n (server) "+u.substring(c-20,c+20);t.nodeType===W?R(!1):void 0}if(t.nodeType===W?R(!1):void 0,a.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);t.appendChild(e)}else N(t,e)},ownerDocumentContextKey:U,getReactRootID:a,getID:o,setID:u,getNode:l,getNodeFromInstance:c,isValid:d,purgeID:f};D.measureMethods(J,"ReactMount",{_renderNewRootComponent:"_renderNewRootComponent",_mountImageIntoNode:"_mountImageIntoNode"}),e.exports=J},function(e,t,n){"use strict";var r=n(17),i=n(5),a=(n(51),"function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103),o={key:!0,ref:!0,__self:!0,__source:!0},s=function(e,t,n,r,i,o,s){var u={$$typeof:a,type:e,key:t,ref:n,props:s,_owner:o};return u};s.createElement=function(e,t,n){var i,a={},u=null,l=null,c=null,d=null;if(null!=t){l=void 0===t.ref?null:t.ref,u=void 0===t.key?null:""+t.key,c=void 0===t.__self?null:t.__self,d=void 0===t.__source?null:t.__source;for(i in t)t.hasOwnProperty(i)&&!o.hasOwnProperty(i)&&(a[i]=t[i])}var f=arguments.length-2;if(1===f)a.children=n;else if(f>1){for(var h=Array(f),p=0;p<f;p++)h[p]=arguments[p+2];a.children=h}if(e&&e.defaultProps){var m=e.defaultProps;for(i in m)"undefined"==typeof a[i]&&(a[i]=m[i])}return s(e,u,l,c,d,r.current,a)},s.createFactory=function(e){var t=s.createElement.bind(null,e);return t.type=e,t},s.cloneAndReplaceKey=function(e,t){var n=s(e.type,t,e.ref,e._self,e._source,e._owner,e.props);return n},s.cloneAndReplaceProps=function(e,t){var n=s(e.type,e.key,e.ref,e._self,e._source,e._owner,t);return n},s.cloneElement=function(e,t,n){var a,u=i({},e.props),l=e.key,c=e.ref,d=e._self,f=e._source,h=e._owner;if(null!=t){void 0!==t.ref&&(c=t.ref,h=r.current),void 0!==t.key&&(l=""+t.key);for(a in t)t.hasOwnProperty(a)&&!o.hasOwnProperty(a)&&(u[a]=t[a])}var p=arguments.length-2;if(1===p)u.children=n;else if(p>1){for(var m=Array(p),_=0;_<p;_++)m[_]=arguments[_+2];u.children=m}return s(e.type,l,c,d,f,h,u)},s.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},e.exports=s},function(e,t,n){"use strict";function r(e,t,n){return n}var i={enableMeasure:!1,storedMeasure:r,measureMethods:function(e,t,n){},measure:function(e,t,n){return n},injection:{injectMeasure:function(e){i.storedMeasure=e}}};e.exports=i},function(e,t,n){"use strict";function r(){T.ReactReconcileTransaction&&x?void 0:_(!1)}function i(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=c.getPooled(),this.reconcileTransaction=T.ReactReconcileTransaction.getPooled(!1)}function a(e,t,n,i,a,o){r(),x.batchedUpdates(e,t,n,i,a,o)}function o(e,t){return e._mountOrder-t._mountOrder}function s(e){var t=e.dirtyComponentsLength;t!==g.length?_(!1):void 0,g.sort(o);for(var n=0;n<t;n++){var r=g[n],i=r._pendingCallbacks;if(r._pendingCallbacks=null,h.performUpdateIfNecessary(r,e.reconcileTransaction),i)for(var a=0;a<i.length;a++)e.callbackQueue.enqueue(i[a],r.getPublicInstance())}}function u(e){return r(),x.isBatchingUpdates?void g.push(e):void x.batchedUpdates(u,e)}function l(e,t){x.isBatchingUpdates?void 0:_(!1),y.enqueue(e,t),v=!0}var c=n(66),d=n(21),f=n(11),h=n(24),p=n(50),m=n(5),_=n(2),g=[],y=c.getPooled(),v=!1,x=null,b={initialize:function(){this.dirtyComponentsLength=g.length},close:function(){this.dirtyComponentsLength!==g.length?(g.splice(0,this.dirtyComponentsLength),S()):g.length=0}},M={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},L=[b,M];m(i.prototype,p.Mixin,{getTransactionWrappers:function(){return L},destructor:function(){this.dirtyComponentsLength=null,c.release(this.callbackQueue),this.callbackQueue=null,T.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return p.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),d.addPoolingTo(i);var S=function(){for(;g.length||v;){if(g.length){var e=i.getPooled();e.perform(s,null,e),i.release(e)}if(v){v=!1;var t=y;y=c.getPooled(),t.notifyAll(),c.release(t)}}};S=f.measure("ReactUpdates","flushBatchedUpdates",S);var w={injectReconcileTransaction:function(e){e?void 0:_(!1),T.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){e?void 0:_(!1),"function"!=typeof e.batchedUpdates?_(!1):void 0,"boolean"!=typeof e.isBatchingUpdates?_(!1):void 0,x=e}},T={ReactReconcileTransaction:null,batchedUpdates:a,enqueueUpdate:u,flushBatchedUpdates:S,injection:w,asap:l};e.exports=T},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=function(){};e.exports=r},function(e,t){"use strict";function n(e){return"[object Array]"===g.call(e)}function r(e){return"[object ArrayBuffer]"===g.call(e)}function i(e){return"[object FormData]"===g.call(e)}function a(e){var t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function o(e){return"string"==typeof e}function s(e){return"number"==typeof e}function u(e){return"undefined"==typeof e}function l(e){return null!==e&&"object"==typeof e}function c(e){return"[object Date]"===g.call(e)}function d(e){return"[object File]"===g.call(e)}function f(e){return"[object Blob]"===g.call(e)}function h(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function p(){return"undefined"!=typeof window&&"undefined"!=typeof document&&"function"==typeof document.createElement}function m(e,t){if(null!==e&&"undefined"!=typeof e)if("object"==typeof e||n(e)||(e=[e]),n(e))for(var r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else for(var a in e)e.hasOwnProperty(a)&&t.call(null,e[a],a,e)}function _(){function e(e,n){"object"==typeof t[n]&&"object"==typeof e?t[n]=_(t[n],e):t[n]=e}for(var t={},n=0,r=arguments.length;n<r;n++)m(arguments[n],e);return t}var g=Object.prototype.toString;e.exports={isArray:n,isArrayBuffer:r,isFormData:i,isArrayBufferView:a,isString:o,isNumber:s,isObject:l,isUndefined:u,isDate:c,isFile:d,isBlob:f,isStandardBrowserEnv:p,forEach:m,merge:_,trim:h}},function(e,t,n){"use strict";var r=n(41),i=r({bubbled:null,captured:null}),a=r({topAbort: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,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,topVolumeChange:null,topWaiting:null,topWheel:null}),o={topLevelTypes:a,PropagationPhases:i};e.exports=o},function(e,t){"use strict";var n={current:null};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){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.connect=t.Provider=void 0;var i=n(363),a=r(i),o=n(364),s=r(o);t.Provider=a.default,t.connect=s.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return null==e||f.default.isValidElement(e)}function a(e){return i(e)||Array.isArray(e)&&e.every(i)}function o(e,t){return c({},e,t)}function s(e){var t=e.type,n=o(t.defaultProps,e.props);if(n.children){var r=u(n.children,n);r.length&&(n.childRoutes=r),delete n.children}return n}function u(e,t){
var n=[];return f.default.Children.forEach(e,function(e){if(f.default.isValidElement(e))if(e.type.createRouteFromReactElement){var r=e.type.createRouteFromReactElement(e,t);r&&n.push(r)}else n.push(s(e))}),n}function l(e){return a(e)?e=u(e):e&&!Array.isArray(e)&&(e=[e]),e}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.isReactChildren=a,t.createRouteFromReactElement=s,t.createRoutesFromReactChildren=u,t.createRoutes=l;var d=n(3),f=r(d)},function(e,t,n){"use strict";var r=n(2),i=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},a=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)},o=function(e,t,n){var r=this;if(r.instancePool.length){var i=r.instancePool.pop();return r.call(i,e,t,n),i}return new r(e,t,n)},s=function(e,t,n,r){var i=this;if(i.instancePool.length){var a=i.instancePool.pop();return i.call(a,e,t,n,r),a}return new i(e,t,n,r)},u=function(e,t,n,r,i){var a=this;if(a.instancePool.length){var o=a.instancePool.pop();return a.call(o,e,t,n,r,i),o}return new a(e,t,n,r,i)},l=function(e){var t=this;e instanceof t?void 0:r(!1),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},c=10,d=i,f=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||d,n.poolSize||(n.poolSize=c),n.release=l,n},h={addPoolingTo:f,oneArgumentPooler:i,twoArgumentPooler:a,threeArgumentPooler:o,fourArgumentPooler:s,fiveArgumentPooler:u};e.exports=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.match(/^https?:\/\/[^\/]*/);return null==t?e:e.substring(t[0].length)}function a(e){var t=i(e),n="",r="",a=t.indexOf("#");a!==-1&&(r=t.substring(a),t=t.substring(0,a));var o=t.indexOf("?");return o!==-1&&(n=t.substring(o),t=t.substring(0,o)),""===t&&(t="/"),{pathname:t,search:n,hash:r}}t.__esModule=!0,t.extractPath=i,t.parsePath=a;var o=n(14);r(o)},function(e,t,n){"use strict";function r(e,t,n){if(e[t])return new Error("<"+n+'> should not have a "'+t+'" prop')}t.__esModule=!0,t.routes=t.route=t.components=t.component=t.history=void 0,t.falsy=r;var i=n(3),a=i.PropTypes.func,o=i.PropTypes.object,s=i.PropTypes.arrayOf,u=i.PropTypes.oneOfType,l=i.PropTypes.element,c=i.PropTypes.shape,d=i.PropTypes.string,f=(t.history=c({listen:a.isRequired,push:a.isRequired,replace:a.isRequired,go:a.isRequired,goBack:a.isRequired,goForward:a.isRequired}),t.component=u([a,d])),h=(t.components=u([f,o]),t.route=u([o,l]));t.routes=u([h,s(h)])},function(e,t,n){"use strict";function r(){i.attachRefs(this,this._currentElement)}var i=n(430),a={mountComponent:function(e,t,n,i){var a=e.mountComponent(t,n,i);return e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e),a},unmountComponent:function(e){i.detachRefs(e,e._currentElement),e.unmountComponent()},receiveComponent:function(e,t,n,a){var o=e._currentElement;if(t!==o||a!==e._context){var s=i.shouldUpdateRefs(o,t);s&&i.detachRefs(e,o),e.receiveComponent(t,n,a),s&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t){e.performUpdateIfNecessary(t)}};e.exports=a},function(e,t,n){"use strict";function r(e,t,n,r){this.dispatchConfig=e,this.dispatchMarker=t,this.nativeEvent=n;var i=this.constructor.Interface;for(var a in i)if(i.hasOwnProperty(a)){var s=i[a];s?this[a]=s(n):"target"===a?this.target=r:this[a]=n[a]}var u=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;u?this.isDefaultPrevented=o.thatReturnsTrue:this.isDefaultPrevented=o.thatReturnsFalse,this.isPropagationStopped=o.thatReturnsFalse}var i=n(21),a=n(5),o=n(13),s=(n(4),{type:null,target:null,currentTarget:o.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=o.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,this.isPropagationStopped=o.thatReturnsTrue)},persist:function(){this.isPersistent=o.thatReturnsTrue},isPersistent:o.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,i.addPoolingTo(e,i.fourArgumentPooler)},i.addPoolingTo(r,i.fourArgumentPooler),e.exports=r},function(e,t){"use strict";t.__esModule=!0;var n="PUSH";t.PUSH=n;var r="REPLACE";t.REPLACE=r;var i="POP";t.POP=i,t.default={PUSH:n,REPLACE:r,POP:i}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function a(e){for(var t="",n=[],r=[],a=void 0,o=0,s=/:([a-zA-Z_$][a-zA-Z0-9_$]*)|\*\*|\*|\(|\)/g;a=s.exec(e);)a.index!==o&&(r.push(e.slice(o,a.index)),t+=i(e.slice(o,a.index))),a[1]?(t+="([^/]+)",n.push(a[1])):"**"===a[0]?(t+="(.*)",n.push("splat")):"*"===a[0]?(t+="(.*?)",n.push("splat")):"("===a[0]?t+="(?:":")"===a[0]&&(t+=")?"),r.push(a[0]),o=s.lastIndex;return o!==e.length&&(r.push(e.slice(o,e.length)),t+=i(e.slice(o,e.length))),{pattern:e,regexpSource:t,paramNames:n,tokens:r}}function o(e){return h[e]||(h[e]=a(e)),h[e]}function s(e,t){"/"!==e.charAt(0)&&(e="/"+e);var n=o(e),r=n.regexpSource,i=n.paramNames,a=n.tokens;"/"!==e.charAt(e.length-1)&&(r+="/?"),"*"===a[a.length-1]&&(r+="$");var s=t.match(new RegExp("^"+r,"i"));if(null==s)return null;var u=s[0],l=t.substr(u.length);if(l){if("/"!==u.charAt(u.length-1))return null;l="/"+l}return{remainingPathname:l,paramNames:i,paramValues:s.slice(1).map(function(e){return e&&decodeURIComponent(e)})}}function u(e){return o(e).paramNames}function l(e,t){var n=s(e,t);if(!n)return null;var r=n.paramNames,i=n.paramValues,a={};return r.forEach(function(e,t){a[e]=i[t]}),a}function c(e,t){t=t||{};for(var n=o(e),r=n.tokens,i=0,a="",s=0,u=void 0,l=void 0,c=void 0,d=0,h=r.length;d<h;++d)u=r[d],"*"===u||"**"===u?(c=Array.isArray(t.splat)?t.splat[s++]:t.splat,null!=c||i>0?void 0:(0,f.default)(!1),null!=c&&(a+=encodeURI(c))):"("===u?i+=1:")"===u?i-=1:":"===u.charAt(0)?(l=u.substring(1),c=t[l],null!=c||i>0?void 0:(0,f.default)(!1),null!=c&&(a+=encodeURIComponent(c))):a+=u;return a.replace(/\/+/g,"/")}t.__esModule=!0,t.compilePattern=o,t.matchPattern=s,t.getParamNames=u,t.getParams=l,t.formatPattern=c;var d=n(7),f=r(d),h=Object.create(null)},function(e,t,n){"use strict";function r(e,t){return(e&t)===t}var i=n(2),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||{},o=e.DOMAttributeNamespaces||{},u=e.DOMAttributeNames||{},l=e.DOMPropertyNames||{},c=e.DOMMutationMethods||{};e.isCustomAttribute&&s._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var d in n){s.properties.hasOwnProperty(d)?i(!1):void 0;var f=d.toLowerCase(),h=n[d],p={attributeName:f,attributeNamespace:null,propertyName:d,mutationMethod:null,mustUseAttribute:r(h,t.MUST_USE_ATTRIBUTE),mustUseProperty:r(h,t.MUST_USE_PROPERTY),hasSideEffects:r(h,t.HAS_SIDE_EFFECTS),hasBooleanValue:r(h,t.HAS_BOOLEAN_VALUE),hasNumericValue:r(h,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(h,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(h,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(p.mustUseAttribute&&p.mustUseProperty?i(!1):void 0,!p.mustUseProperty&&p.hasSideEffects?i(!1):void 0,p.hasBooleanValue+p.hasNumericValue+p.hasOverloadedBooleanValue<=1?void 0:i(!1),u.hasOwnProperty(d)){var m=u[d];p.attributeName=m}o.hasOwnProperty(d)&&(p.attributeNamespace=o[d]),l.hasOwnProperty(d)&&(p.propertyName=l[d]),c.hasOwnProperty(d)&&(p.mutationMethod=c[d]),s.properties[d]=p}}},o={},s={ID_ATTRIBUTE_NAME:"data-reactid",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<s._isCustomAttributeFunctions.length;t++){var n=s._isCustomAttributeFunctions[t];if(n(e))return!0}return!1},getDefaultValueForProperty:function(e,t){var n,r=o[e];return r||(o[e]=r={}),t in r||(n=document.createElement(e),r[t]=n[t]),r[t]},injection:a};e.exports=s},function(e,t,n){"use strict";function r(e){return h+e.toString(36)}function i(e,t){return e.charAt(t)===h||t===e.length}function a(e){return""===e||e.charAt(0)===h&&e.charAt(e.length-1)!==h}function o(e,t){return 0===t.indexOf(e)&&i(t,e.length)}function s(e){return e?e.substr(0,e.lastIndexOf(h)):""}function u(e,t){if(a(e)&&a(t)?void 0:f(!1),o(e,t)?void 0:f(!1),e===t)return e;var n,r=e.length+p;for(n=r;n<t.length&&!i(t,n);n++);return t.substr(0,n)}function l(e,t){var n=Math.min(e.length,t.length);if(0===n)return"";for(var r=0,o=0;o<=n;o++)if(i(e,o)&&i(t,o))r=o;else if(e.charAt(o)!==t.charAt(o))break;var s=e.substr(0,r);return a(s)?void 0:f(!1),s}function c(e,t,n,r,i,a){e=e||"",t=t||"",e===t?f(!1):void 0;var l=o(t,e);l||o(e,t)?void 0:f(!1);for(var c=0,d=l?s:u,h=e;;h=d(h,t)){var p;if(i&&h===e||a&&h===t||(p=n(h,l,r)),p===!1||h===t)break;c++<m?void 0:f(!1)}}var d=n(252),f=n(2),h=".",p=h.length,m=1e4,_={createReactRootID:function(){return r(d.createReactRootIndex())},createReactID:function(e,t){return e+t},getReactRootIDFromNodeID:function(e){if(e&&e.charAt(0)===h&&e.length>1){var t=e.indexOf(h,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,r,i){var a=l(e,t);a!==e&&c(e,a,n,r,!1,!0),a!==t&&c(a,t,n,i,!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:l,_getNextDescendantID:u,isAncestorIDOf:o,SEPARATOR:h};e.exports=_},function(e,t){"use strict";function n(e){return e&&a(e)&&Object.defineProperty(e,i,{value:!0,enumerable:!0}),e}function r(e){return!!(e&&a(e)&&e[i])}t.__esModule=!0,t.makeFieldValue=n,t.isFieldValue=r;var i="_isFieldValue",a=function(e){return"object"==typeof e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){return localStorage.removeItem("token"),{type:g.UNAUTH_USER}}function a(e){var t=e.email,n=e.password;return function(e){m.default.post(g.ROOT_URL+"/signin",{email:t,password:n}).then(function(t){e({type:g.AUTH_USER}),localStorage.setItem("token",t.data.token),localStorage.setItem("email",t.data.email),_.browserHistory.push("/devices")}).catch(function(){e(h("Bad login info"))})}}function o(e){var t=e.email,n=e.password;return function(e){m.default.post(g.ROOT_URL+"/signup",{email:t,password:n}).then(function(t){localStorage.setItem("token",t.data.token),localStorage.setItem("email",t.data.email),e({type:g.AUTH_USER}),_.browserHistory.push("/devices")}).catch(function(t){e({type:g.REGISTRATION_ERROR,payload:t.data.error})})}}function s(){return function(e){m.default.get(g.ROOT_URL+"/listDevices",{headers:{authorization:localStorage.getItem("token")}}).then(function(t){e({type:g.FETCH_DEVICES,payload:t.data.devices})})}}function u(e){return function(t){m.default.get(g.ROOT_URL+"/deviceDetails?id="+e,{headers:{authorization:localStorage.getItem("token")}}).then(function(e){t({type:g.FETCH_DEVICE_DETAILS,payload:e.data.device})}).catch(function(e){t({type:g.FETCH_DEVICE_DETAILS_FAILED,payload:e.data.error})})}}function l(e,t){return function(n){m.default.get(g.ROOT_URL+"/deviceMostRecentData?deviceId="+e+"&socketNum="+t,{headers:{authorization:localStorage.getItem("token")}}).then(function(e){n({type:g.FETCH_DEVICE_DATA,payload:e.data.deviceMostRecentData})}).catch(function(e){n({type:g.FETCH_DEVICE_DATA_FAILED,payload:e.data.error})})}}function c(e,t,n,r,i){return function(a){m.default.post(g.ROOT_URL+"/generateReport",{deviceId:e,socketNum:t,startDate:n,endDate:r,kWReaisHour:i},{headers:{authorization:localStorage.getItem("token")}}).then(function(e){a({type:g.REPORT_DATA,payload:e.data.report})}).catch(function(e){a({type:g.REPORT_DATA_FAILED,payload:e.data.error})})}}function d(e,t,n){return function(r){m.default.post(g.ROOT_URL+"/changeDeviceStatus",{deviceId:e,status:n,socketNum:t},{headers:{authorization:localStorage.getItem("token")}}).then(function(e){e.data.deviceRemoved?_.browserHistory.push("/devices"):r({type:g.UPDATE_DEVICE_DATA,payload:e.data.device})}).catch(function(e){r({type:g.UPDATE_DEVICE_DATA_FAILED,payload:e.data.error})})}}function f(e,t,n,r){return function(i){m.default.post(g.ROOT_URL+"/changeDeviceName",{deviceId:e,deviceName:t,socketNum:n},{headers:{authorization:localStorage.getItem("token")}}).then(function(e){1===n?r.setState({editDeviceNameSocket1:!1}):2===n&&r.setState({editDeviceNameSocket2:!1}),i({type:g.UPDATE_DEVICE_DATA,payload:e.data.device})}).catch(function(e){i({type:g.UPDATE_DEVICE_DATA_FAILED,payload:e.data.error})})}}function h(e){return{type:g.AUTH_ERROR,payload:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.signoutUser=i,t.signinUser=a,t.signupUser=o,t.getDevices=s,t.getDeviceDetails=u,t.getDeviceMostRecentData=l,t.generateReport=c,t.changeDeviceStatus=d,t.changeDeviceName=f,t.authError=h;var p=n(277),m=r(p),_=n(35),g=n(40)},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t){var n=e.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},function(e,t){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.createMemoryHistory=t.hashHistory=t.browserHistory=t.applyRouterMiddleware=t.formatPattern=t.useRouterHistory=t.match=t.routerShape=t.locationShape=t.PropTypes=t.RoutingContext=t.RouterContext=t.createRoutes=t.useRoutes=t.RouteContext=t.Lifecycle=t.History=t.Route=t.Redirect=t.IndexRoute=t.IndexRedirect=t.withRouter=t.IndexLink=t.Link=t.Router=void 0;var i=n(20);Object.defineProperty(t,"createRoutes",{enumerable:!0,get:function(){return i.createRoutes}});var a=n(64);Object.defineProperty(t,"locationShape",{enumerable:!0,get:function(){return a.locationShape}}),Object.defineProperty(t,"routerShape",{enumerable:!0,get:function(){return a.routerShape}});var o=n(27);Object.defineProperty(t,"formatPattern",{enumerable:!0,get:function(){return o.formatPattern}});var s=n(383),u=r(s),l=n(223),c=r(l),d=n(377),f=r(d),h=n(396),p=r(h),m=n(378),_=r(m),g=n(379),y=r(g),v=n(224),x=r(v),b=n(381),M=r(b),L=n(376),S=r(L),w=n(380),T=r(w),k=n(382),D=r(k),Y=n(395),E=r(Y),P=n(44),A=r(P),C=n(384),O=r(C),j=r(a),R=n(393),N=r(R),H=n(229),I=r(H),V=n(386),F=r(V),W=n(387),G=r(W),U=n(391),z=r(U),B=n(226),q=r(B);t.Router=u.default,t.Link=c.default,t.IndexLink=f.default,t.withRouter=p.default,t.IndexRedirect=_.default,t.IndexRoute=y.default,t.Redirect=x.default,t.Route=M.default,t.History=S.default,t.Lifecycle=T.default,t.RouteContext=D.default,t.useRoutes=E.default,t.RouterContext=A.default,t.RoutingContext=O.default,t.PropTypes=j.default,t.match=N.default,t.useRouterHistory=I.default,t.applyRouterMiddleware=F.default,t.browserHistory=G.default,t.hashHistory=z.default,t.createMemoryHistory=q.default},function(e,t,n){"use strict";var r=n(232),i=n(408),a=n(245),o=n(254),s=n(255),u=n(2),l=(n(4),{}),c=null,d=function(e,t){e&&(i.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},f=function(e){return d(e,!0)},h=function(e){return d(e,!1)},p=null,m={injection:{injectMount:i.injection.injectMount,injectInstanceHandle:function(e){p=e},getInstanceHandle:function(){return p},injectEventPluginOrder:r.injectEventPluginOrder,injectEventPluginsByName:r.injectEventPluginsByName},eventNameDispatchConfigs:r.eventNameDispatchConfigs,registrationNameModules:r.registrationNameModules,putListener:function(e,t,n){"function"!=typeof n?u(!1):void 0;var i=l[t]||(l[t]={});i[e]=n;var a=r.registrationNameModules[t];a&&a.didPutListener&&a.didPutListener(e,t,n)},getListener:function(e,t){var n=l[t];return n&&n[e]},deleteListener:function(e,t){var n=r.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var i=l[t];i&&delete i[e]},deleteAllListeners:function(e){for(var t in l)if(l[t][e]){var n=r.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t),delete l[t][e]}},extractEvents:function(e,t,n,i,a){for(var s,u=r.plugins,l=0;l<u.length;l++){var c=u[l];if(c){var d=c.extractEvents(e,t,n,i,a);d&&(s=o(s,d))}}return s},enqueueEvents:function(e){e&&(c=o(c,e))},processEventQueue:function(e){var t=c;c=null,e?s(t,f):s(t,h),c?u(!1):void 0,a.rethrowCaughtError()},__purge:function(){l={}},__getListenerBank:function(){return l}};e.exports=m},function(e,t,n){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return y(e,r)}function i(e,t,n){var i=t?g.bubbled:g.captured,a=r(e,n,i);a&&(n._dispatchListeners=m(n._dispatchListeners,a),n._dispatchIDs=m(n._dispatchIDs,e))}function a(e){e&&e.dispatchConfig.phasedRegistrationNames&&p.injection.getInstanceHandle().traverseTwoPhase(e.dispatchMarker,i,e)}function o(e){e&&e.dispatchConfig.phasedRegistrationNames&&p.injection.getInstanceHandle().traverseTwoPhaseSkipTarget(e.dispatchMarker,i,e)}function s(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,i=y(e,r);i&&(n._dispatchListeners=m(n._dispatchListeners,i),n._dispatchIDs=m(n._dispatchIDs,e))}}function u(e){e&&e.dispatchConfig.registrationName&&s(e.dispatchMarker,null,e)}function l(e){_(e,a)}function c(e){_(e,o)}function d(e,t,n,r){p.injection.getInstanceHandle().traverseEnterLeave(n,r,s,e,t)}function f(e){_(e,u)}var h=n(16),p=n(36),m=(n(4),n(254)),_=n(255),g=h.PropagationPhases,y=p.getListener,v={accumulateTwoPhaseDispatches:l,accumulateTwoPhaseDispatchesSkipTarget:c,accumulateDirectDispatches:f,accumulateEnterLeaveDispatches:d};e.exports=v},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";function r(e,t,n,r){i.call(this,e,t,n,r)}var i=n(25),a=n(77),o={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}};i.augmentClass(r,o),e.exports=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.AUTH_USER="auth_user",t.UNAUTH_USER="unauth_user",t.AUTH_ERROR="auth_error",t.REGISTRATION_ERROR="registration_error",t.FETCH_DEVICES="fetch_devices",t.FETCH_DEVICE_DETAILS="fetch_device_details",t.FETCH_DEVICE_DETAILS_FAILED="fetch_device_details_failed",t.FETCH_DEVICE_DATA="fetch_device_data",t.FETCH_DEVICE_DATA_FAILED="fetch_device_data_failed",t.UPDATE_DEVICE_DATA="update_device_data",t.UPDATE_DEVICE_DATA_FAILED="update_device_data_failed",t.REPORT_DATA="report_data",t.REPORT_DATA_FAILED="report_data_failed",t.ROOT_URL="http://api.smartpowersocket.xyz"},function(e,t,n){"use strict";var r=n(2),i=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=i},function(e,t){"use strict";t.__esModule=!0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.canUseDOM=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return u.stringify(e).replace(/%20/g,"+")}function a(e){return function(){function t(e){if(null==e.query){var t=e.search;e.query=M(t.substring(1)),e[p]={search:t,searchBase:""}}return e}function n(e,t){var n,r=e[p],i=t?b(t):"";if(!r&&!i)return e;"string"==typeof e&&(e=d.parsePath(e));var a=void 0;a=r&&e.search===r.search?r.searchBase:e.search||"";var s=a;return i&&(s+=(s?"&":"?")+i),o({},e,(n={search:s},n[p]={search:s,searchBase:a},n))}function r(e){return x.listenBefore(function(n,r){c.default(e,t(n),r)})}function a(e){return x.listen(function(n){e(t(n))})}function s(e){x.push(n(e,e.query))}function u(e){x.replace(n(e,e.query))}function l(e,t){return x.createPath(n(e,t||e.query))}function f(e,t){return x.createHref(n(e,t||e.query))}function _(e){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];var o=x.createLocation.apply(x,[n(e,e.query)].concat(i));return e.query&&(o.query=e.query),t(o)}function g(e,t,n){"string"==typeof t&&(t=d.parsePath(t)),s(o({state:e},t,{query:n}))}function y(e,t,n){"string"==typeof t&&(t=d.parsePath(t)),u(o({state:e},t,{query:n}))}var v=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],x=e(v),b=v.stringifyQuery,M=v.parseQueryString;return"function"!=typeof b&&(b=i),"function"!=typeof M&&(M=m),o({},x,{listenBefore:r,listen:a,push:s,replace:u,createPath:l,createHref:f,createLocation:_,pushState:h.default(g,"pushState is deprecated; use push instead"),replaceState:h.default(y,"replaceState is deprecated; use replace instead")})}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(14),u=(r(s),n(329)),l=n(59),c=r(l),d=n(22),f=n(58),h=r(f),p="$searchBase",m=u.parse;t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!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},a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(7),s=r(o),u=n(3),l=r(u),c=n(45),d=(r(c),n(390)),f=r(d),h=n(20),p=n(6),m=(r(p),l.default.PropTypes),_=m.array,g=m.func,y=m.object,v=l.default.createClass({displayName:"RouterContext",propTypes:{history:y,router:y.isRequired,location:y.isRequired,routes:_.isRequired,params:y.isRequired,components:_.isRequired,createElement:g.isRequired},getDefaultProps:function(){return{createElement:l.default.createElement}},childContextTypes:{history:y,location:y.isRequired,router:y.isRequired},getChildContext:function(){var e=this.props,t=e.router,n=e.history,r=e.location;return t||(t=a({},n,{setRouteLeaveHook:n.listenBeforeLeavingRoute}),delete t.listenBeforeLeavingRoute),{history:n,location:r,router:t}},createElement:function(e,t){return null==e?null:this.props.createElement(e,t)},render:function(){var e=this,t=this.props,n=t.history,r=t.location,o=t.routes,u=t.params,c=t.components,d=null;return c&&(d=c.reduceRight(function(t,s,l){if(null==s)return t;var c=o[l],d=(0,f.default)(c,u),p={history:n,location:r,params:u,route:c,routeParams:d,routes:o};if((0,h.isReactChildren)(t))p.children=t;else if(t)for(var m in t)Object.prototype.hasOwnProperty.call(t,m)&&(p[m]=t[m]);if("object"===("undefined"==typeof s?"undefined":i(s))){var _={};for(var g in s)Object.prototype.hasOwnProperty.call(s,g)&&(_[g]=e.createElement(s[g],a({key:g},p)));return _}return e.createElement(s,p)},d)),null===d||d===!1||l.default.isValidElement(d)?void 0:(0,s.default)(!1),d}});t.default=v,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.canUseMembrane=void 0;var i=n(6),a=(r(i),t.canUseMembrane=!1,function(e){return e});t.default=a},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,_)||(e[_]=p++,f[e[_]]={}),f[e[_]]}var i=n(16),a=n(36),o=n(232),s=n(423),u=n(11),l=n(253),c=n(5),d=n(80),f={},h=!1,p=0,m={topAbort:"abort",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},_="_reactListenersID"+String(Math.random()).slice(2),g=c({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(g.handleTopLevel),g.ReactEventListener=e}},setEnabled:function(e){g.ReactEventListener&&g.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!g.ReactEventListener||!g.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,a=r(n),s=o.registrationNameDependencies[e],u=i.topLevelTypes,l=0;l<s.length;l++){var c=s[l];a.hasOwnProperty(c)&&a[c]||(c===u.topWheel?d("wheel")?g.ReactEventListener.trapBubbledEvent(u.topWheel,"wheel",n):d("mousewheel")?g.ReactEventListener.trapBubbledEvent(u.topWheel,"mousewheel",n):g.ReactEventListener.trapBubbledEvent(u.topWheel,"DOMMouseScroll",n):c===u.topScroll?d("scroll",!0)?g.ReactEventListener.trapCapturedEvent(u.topScroll,"scroll",n):g.ReactEventListener.trapBubbledEvent(u.topScroll,"scroll",g.ReactEventListener.WINDOW_HANDLE):c===u.topFocus||c===u.topBlur?(d("focus",!0)?(g.ReactEventListener.trapCapturedEvent(u.topFocus,"focus",n),g.ReactEventListener.trapCapturedEvent(u.topBlur,"blur",n)):d("focusin")&&(g.ReactEventListener.trapBubbledEvent(u.topFocus,"focusin",n),g.ReactEventListener.trapBubbledEvent(u.topBlur,"focusout",n)),a[u.topBlur]=!0,a[u.topFocus]=!0):m.hasOwnProperty(c)&&g.ReactEventListener.trapBubbledEvent(c,m[c],n),a[c]=!0)}},trapBubbledEvent:function(e,t,n){return g.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return g.ReactEventListener.trapCapturedEvent(e,t,n)},ensureScrollValueMonitoring:function(){if(!h){var e=l.refreshScrollValues;g.ReactEventListener.monitorScrollValue(e),h=!0}},eventNameDispatchConfigs:a.eventNameDispatchConfigs,registrationNameModules:a.registrationNameModules,putListener:a.putListener,getListener:a.getListener,deleteListener:a.deleteListener,deleteAllListeners:a.deleteAllListeners});u.measureMethods(g,"ReactBrowserEventEmitter",{putListener:"putListener",deleteListener:"deleteListener"}),e.exports=g},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";var r=n(41),i=r({prop:null,context:null,childContext:null});e.exports=i},function(e,t,n){"use strict";function r(e,t,n,r){i.call(this,e,t,n,r)}var i=n(39),a=n(253),o=n(76),s={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:o,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}};i.augmentClass(r,s),e.exports=r},function(e,t,n){"use strict";var r=n(2),i={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,i,a,o,s,u){this.isInTransaction()?r(!1):void 0;var l,c;try{this._isInTransaction=!0,l=!0,this.initializeAll(0),c=e.call(t,n,i,a,o,s,u),l=!1}finally{try{if(l)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return c},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r=t[n];try{this.wrapperInitData[n]=a.OBSERVED_ERROR,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===a.OBSERVED_ERROR)try{this.initializeAll(n+1)}catch(e){}}}},closeAll:function(e){this.isInTransaction()?void 0:r(!1);for(var t=this.transactionWrappers,n=e;n<t.length;n++){var i,o=t[n],s=this.wrapperInitData[n];try{i=!0,s!==a.OBSERVED_ERROR&&o.close&&o.close.call(this,s),i=!1}finally{if(i)try{this.closeAll(n+1)}catch(e){}}}this.wrapperInitData.length=0}},a={Mixin:i,OBSERVED_ERROR:{}};e.exports=a},function(e,t,n){"use strict";var r=!1;e.exports=r},function(e,t){"use strict";function n(e){return i[e]}function r(e){return(""+e).replace(a,n)}var i={"&":"&",">":">","<":"<",'"':""","'":"'"},a=/[&><"']/g;e.exports=r},function(e,t,n){"use strict";var r=n(8),i=/^[ \r\n\t\f]/,a=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,o=function(e,t){e.innerHTML=t};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(o=function(e,t){MSApp.execUnsafeLocalFunction(function(){e.innerHTML=t})}),r.canUseDOM){var s=document.createElement("div");s.innerHTML=" ",""===s.innerHTML&&(o=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),i.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=o},function(e,t){"use strict";function n(e){return Array.isArray(e)?e.reduce(function(e,t){return e&&n(t)},!0):e&&"object"==typeof e?Object.keys(e).reduce(function(t,r){return t&&n(e[r])},!0):!e}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.compose=t.applyMiddleware=t.bindActionCreators=t.combineReducers=t.createStore=void 0;var i=n(272),a=r(i),o=n(482),s=r(o),u=n(481),l=r(u),c=n(480),d=r(c),f=n(271),h=r(f),p=n(273);r(p);t.createStore=a.default,t.combineReducers=s.default,t.bindActionCreators=l.default,t.applyMiddleware=d.default,t.compose=h.default},function(e,t,n){function r(e){return null===e||void 0===e}function i(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&!(e.length>0&&"number"!=typeof e[0]))}function a(e,t,n){var a,c;if(r(e)||r(t))return!1;if(e.prototype!==t.prototype)return!1;if(u(e))return!!u(t)&&(e=o.call(e),t=o.call(t),l(e,t,n));if(i(e)){if(!i(t))return!1;if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}try{var d=s(e),f=s(t)}catch(e){return!1}if(d.length!=f.length)return!1;for(d.sort(),f.sort(),a=d.length-1;a>=0;a--)if(d[a]!=f[a])return!1;for(a=d.length-1;a>=0;a--)if(c=d[a],!l(e[c],t[c],n))return!1;return typeof e==typeof t}var o=Array.prototype.slice,s=n(309),u=n(308),l=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:a(e,t,n));
}},function(e,t){"use strict";function n(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function r(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)}function i(){return window.location.href.split("#")[1]||""}function a(e){window.location.replace(window.location.pathname+window.location.search+"#"+e)}function o(){return window.location.pathname+window.location.search+window.location.hash}function s(e){e&&window.history.go(e)}function u(e,t){t(window.confirm(e))}function l(){var e=navigator.userAgent;return(e.indexOf("Android 2.")===-1&&e.indexOf("Android 4.0")===-1||e.indexOf("Mobile Safari")===-1||e.indexOf("Chrome")!==-1||e.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)}function c(){var e=navigator.userAgent;return e.indexOf("Firefox")===-1}t.__esModule=!0,t.addEventListener=n,t.removeEventListener=r,t.getHashPath=i,t.replaceHashPath=a,t.getWindowPath=o,t.go=s,t.getUserConfirmation=u,t.supportsHistory=l,t.supportsGoWithoutReloadUsingHash=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return function(){return e.apply(this,arguments)}}t.__esModule=!0;var a=n(14);r(a);t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){var r=e(t,n);e.length<2&&n(r)}t.__esModule=!0;var a=n(14);r(a);t.default=i,e.exports=t.default},function(e,t){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},i="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,a){if("string"!=typeof t){var o=Object.getOwnPropertyNames(t);i&&(o=o.concat(Object.getOwnPropertySymbols(t)));for(var s=0;s<o.length;++s)if(!(n[o[s]]||r[o[s]]||a&&a[o[s]]))try{e[o[s]]=t[o[s]]}catch(e){}}return e}},function(e,t){function n(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}e.exports=n},function(e,t,n){var r=n(353),i=n(33),a=n(212),o="prototype",s=function(e,t,n){var u,l,c,d=e&s.F,f=e&s.G,h=e&s.S,p=e&s.P,m=e&s.B,_=e&s.W,g=f?i:i[t]||(i[t]={}),y=f?r:h?r[t]:(r[t]||{})[o];f&&(n=t);for(u in n)l=!d&&y&&u in y,l&&u in g||(c=l?y[u]:n[u],g[u]=f&&"function"!=typeof y[u]?n[u]:m&&l?a(c,r):_&&y[u]==c?function(e){var t=function(t){return this instanceof e?new e(t):e(t)};return t[o]=e[o],t}(c):p&&"function"==typeof c?a(Function.call,c):c,p&&((g[o]||(g[o]={}))[u]=c))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,e.exports=s},function(e,t){"use strict";function n(e,t,n){function r(){return o=!0,s?void(l=[].concat(Array.prototype.slice.call(arguments))):void n.apply(this,arguments)}function i(){if(!o&&(u=!0,!s)){for(s=!0;!o&&a<e&&u;)u=!1,t.call(this,a++,i,r);return s=!1,o?void n.apply(this,l):void(a>=e&&u&&(o=!0,n()))}}var a=0,o=!1,s=!1,u=!1,l=void 0;i()}function r(e,t,n){function r(e,t,r){o||(t?(o=!0,n(t)):(a[e]=r,o=++s===i,o&&n(null,a)))}var i=e.length,a=[];if(0===i)return n(null,a);var o=!1,s=0;e.forEach(function(e,n){t(e,n,function(e,t){r(n,e,t)})})}t.__esModule=!0,t.loopAsync=n,t.mapAsync=r},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 i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.router=t.routes=t.route=t.components=t.component=t.location=t.history=t.falsy=t.locationShape=t.routerShape=void 0;var a=n(3),o=n(45),s=(i(o),n(23)),u=r(s),l=n(6),c=(i(l),a.PropTypes.func),d=a.PropTypes.object,f=a.PropTypes.shape,h=a.PropTypes.string,p=t.routerShape=f({push:c.isRequired,replace:c.isRequired,go:c.isRequired,goBack:c.isRequired,goForward:c.isRequired,setRouteLeaveHook:c.isRequired,isActive:c.isRequired}),m=t.locationShape=f({pathname:h.isRequired,search:h.isRequired,state:d,action:h.isRequired,key:h}),_=t.falsy=u.falsy,g=t.history=u.history,y=t.location=m,v=t.component=u.component,x=t.components=u.components,b=t.route=u.route,M=(t.routes=u.routes,t.router=p),L={falsy:_,history:g,location:y,component:v,components:x,route:b,router:M};t.default=L},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function a(e,t){function n(t){var n=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],r=arguments.length<=2||void 0===arguments[2]?null:arguments[2],i=void 0;return n&&n!==!0||null!==r?(t={pathname:t,query:n},i=r||!1):(t=e.createLocation(t),i=n),(0,f.default)(t,i,v.location,v.routes,v.params)}function r(e,n){x&&x.location===e?a(x,n):(0,_.default)(t,e,function(t,r){t?n(t):r?a(o({},r,{location:e}),n):n()})}function a(e,t){function n(n,i){return n||i?r(n,i):void(0,p.default)(e,function(n,r){n?t(n):t(null,null,v=o({},e,{components:r}))})}function r(e,n){e?t(e):t(null,n)}var i=(0,l.default)(v,e),a=i.leaveRoutes,s=i.changeRoutes,u=i.enterRoutes;(0,c.runLeaveHooks)(a,v),a.filter(function(e){return u.indexOf(e)===-1}).forEach(m),(0,c.runChangeHooks)(s,v,e,function(t,i){return t||i?r(t,i):void(0,c.runEnterHooks)(u,e,n)})}function s(e){var t=arguments.length<=1||void 0===arguments[1]||arguments[1];return e.__id__||t&&(e.__id__=b++)}function u(e){return e.reduce(function(e,t){return e.push.apply(e,M[s(t)]),e},[])}function d(e,n){(0,_.default)(t,e,function(t,r){if(null==r)return void n();x=o({},r,{location:e});for(var i=u((0,l.default)(v,x).leaveRoutes),a=void 0,s=0,c=i.length;null==a&&s<c;++s)a=i[s](e);n(a)})}function h(){if(v.routes){for(var e=u(v.routes),t=void 0,n=0,r=e.length;"string"!=typeof t&&n<r;++n)t=e[n]();return t}}function m(e){var t=s(e,!1);t&&(delete M[t],i(M)||(L&&(L(),L=null),S&&(S(),S=null)))}function g(t,n){var r=s(t),a=M[r];if(a)a.indexOf(n)===-1&&a.push(n);else{var o=!i(M);M[r]=[n],o&&(L=e.listenBefore(d),e.listenBeforeUnload&&(S=e.listenBeforeUnload(h)))}return function(){var e=M[r];if(e){var i=e.filter(function(e){return e!==n});0===i.length?m(t):M[r]=i}}}function y(t){return e.listen(function(n){v.location===n?t(null,v):r(n,function(n,r,i){n?t(n):r?e.replace(r):i&&t(null,i)})})}var v={},x=void 0,b=1,M=Object.create(null),L=void 0,S=void 0;return{isActive:n,match:r,listenBeforeLeavingRoute:g,listen:y}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=a;var s=n(6),u=(r(s),n(388)),l=r(u),c=n(385),d=n(392),f=r(d),h=n(389),p=r(h),m=n(394),_=r(m);e.exports=t.default},function(e,t,n){"use strict";function r(){this._callbacks=null,this._contexts=null}var i=n(21),a=n(5),o=n(2);a(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?o(!1):void 0,this._callbacks=null,this._contexts=null;for(var n=0;n<e.length;n++)e[n].call(t[n]);e.length=0,t.length=0}},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e){return!!c.hasOwnProperty(e)||!l.hasOwnProperty(e)&&(u.test(e)?(c[e]=!0,!0):(l[e]=!0,!1))}function i(e,t){return null==t||e.hasBooleanValue&&!t||e.hasNumericValue&&isNaN(t)||e.hasPositiveNumericValue&&t<1||e.hasOverloadedBooleanValue&&t===!1}var a=n(28),o=n(11),s=n(453),u=(n(4),/^[a-zA-Z_][\w\.\-]*$/),l={},c={},d={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(i(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 o=r.mutationMethod;if(o)o(e,n);else if(i(r,n))this.deleteValueForProperty(e,t);else if(r.mustUseAttribute){var s=r.attributeName,u=r.attributeNamespace;u?e.setAttributeNS(u,s,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&n===!0?e.setAttribute(s,""):e.setAttribute(s,""+n)}else{var l=r.propertyName;r.hasSideEffects&&""+e[l]==""+n||(e[l]=n)}}else a.isCustomAttribute(t)&&d.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 i=n.propertyName,o=a.getDefaultValueForProperty(e.nodeName,i);n.hasSideEffects&&""+e[i]===o||(e[i]=o)}}else a.isCustomAttribute(t)&&e.removeAttribute(t)}};o.measureMethods(d,"DOMPropertyOperations",{setValueForProperty:"setValueForProperty",setValueForAttribute:"setValueForAttribute",deleteValueForProperty:"deleteValueForProperty"}),e.exports=d},function(e,t,n){"use strict";function r(e){null!=e.checkedLink&&null!=e.valueLink?l(!1):void 0}function i(e){r(e),null!=e.value||null!=e.onChange?l(!1):void 0}function a(e){r(e),null!=e.checked||null!=e.onChange?l(!1):void 0}function o(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var s=n(251),u=n(48),l=n(2),c=(n(4),{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},f={},h={checkPropTypes:function(e,t,n){for(var r in d){if(d.hasOwnProperty(r))var i=d[r](t,r,e,u.prop);if(i instanceof Error&&!(i.message in f)){f[i.message]=!0;o(n)}}},getValue:function(e){return e.valueLink?(i(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(a(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(i(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(a(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};e.exports=h},function(e,t,n){"use strict";var r=n(71),i=n(9),a={processChildrenUpdates:r.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkupByID:r.dangerouslyReplaceNodeWithMarkupByID,unmountIDFromEnvironment:function(e){i.purgeID(e)}};e.exports=a},function(e,t,n){"use strict";var r=n(2),i=!1,a={unmountIDFromEnvironment:null,replaceNodeWithMarkupByID:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){i?r(!1):void 0,a.unmountIDFromEnvironment=e.unmountIDFromEnvironment,a.replaceNodeWithMarkupByID=e.replaceNodeWithMarkupByID,a.processChildrenUpdates=e.processChildrenUpdates,i=!0}}};e.exports=a},function(e,t,n){"use strict";var r=n(231),i=n(67),a=n(9),o=n(11),s=n(2),u={dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},l={updatePropertyByID:function(e,t,n){var r=a.getNode(e);u.hasOwnProperty(t)?s(!1):void 0,null!=n?i.setValueForProperty(r,t,n):i.deleteValueForProperty(r,t)},dangerouslyReplaceNodeWithMarkupByID:function(e,t){var n=a.getNode(e);r.dangerouslyReplaceNodeWithMarkup(n,t)},dangerouslyProcessChildrenUpdates:function(e,t){for(var n=0;n<e.length;n++)e[n].parentNode=a.getNode(e[n].parentID);r.processUpdates(e,t)}};o.measureMethods(l,"ReactDOMIDOperations",{dangerouslyReplaceNodeWithMarkupByID:"dangerouslyReplaceNodeWithMarkupByID",dangerouslyProcessChildrenUpdates:"dangerouslyProcessChildrenUpdates"}),e.exports=l},function(e,t,n){"use strict";function r(e){s.enqueueUpdate(e)}function i(e,t){var n=o.get(e);return n?n:null}var a=(n(17),n(10)),o=n(38),s=n(12),u=n(5),l=n(2),c=(n(4),{isMounted:function(e){var t=o.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t){"function"!=typeof t?l(!1):void 0;var n=i(e);return n?(n._pendingCallbacks?n._pendingCallbacks.push(t):n._pendingCallbacks=[t],void r(n)):null},enqueueCallbackInternal:function(e,t){"function"!=typeof t?l(!1):void 0,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){var a=n._pendingStateQueue||(n._pendingStateQueue=[]);a.push(t),r(n)}},enqueueSetProps:function(e,t){var n=i(e,"setProps");n&&c.enqueueSetPropsInternal(n,t)},enqueueSetPropsInternal:function(e,t){var n=e._topLevelWrapper;n?void 0:l(!1);var i=n._pendingElement||n._currentElement,o=i.props,s=u({},o.props,t);n._pendingElement=a.cloneAndReplaceProps(i,a.cloneAndReplaceProps(o,s)),r(n)},enqueueReplaceProps:function(e,t){var n=i(e,"replaceProps");n&&c.enqueueReplacePropsInternal(n,t)},enqueueReplacePropsInternal:function(e,t){var n=e._topLevelWrapper;n?void 0:l(!1);var i=n._pendingElement||n._currentElement,o=i.props;n._pendingElement=a.cloneAndReplaceProps(i,a.cloneAndReplaceProps(o,t)),r(n)},enqueueElementInternal:function(e,t){e._pendingElement=t,r(e)}});e.exports=c},function(e,t){"use strict";e.exports="0.14.8"},function(e,t,n){"use strict";function r(e){return null==e?null:1===e.nodeType?e:i.has(e)?a.getNodeFromInstance(e):(null!=e.render&&"function"==typeof e.render?o(!1):void 0,void o(!1))}var i=(n(17),n(38)),a=n(9),o=n(2);n(4);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){"use strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=i[e];return!!r&&!!n[r]}function r(e){return n}var i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=r},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&&(r&&e[r]||e[i]);if("function"==typeof t)return t}var r="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";e.exports=n},function(e,t,n){"use strict";function r(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e){var t;if(null===e||e===!1)t=new o(i);else if("object"==typeof e){var n=e;!n||"function"!=typeof n.type&&"string"!=typeof n.type?l(!1):void 0,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):l(!1);return t.construct(e),t._mountIndex=0,t._mountImage=null,t}var a=n(414),o=n(243),s=n(249),u=n(5),l=n(2),c=(n(4),function(){});u(c.prototype,a.Mixin,{_instantiateReactComponent:i}),e.exports=i},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 o=document.createElement("div");o.setAttribute(n,"return;"),r="function"==typeof o[n]}return!r&&i&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var i,a=n(8);a.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t,n){"use strict";var r=n(8),i=n(52),a=n(53),o=function(e,t){e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(o=function(e,t){a(e,i(t))})),e.exports=o},function(e,t){"use strict";function n(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var i=typeof e,a=typeof t;return"string"===i||"number"===i?"string"===a||"number"===a:"object"===a&&e.type===t.type&&e.key===t.key}e.exports=n},function(e,t,n){"use strict";function r(e){return m[e]}function i(e,t){return e&&null!=e.key?o(e.key):t.toString(36)}function a(e){return(""+e).replace(_,r)}function o(e){return"$"+a(e)}function s(e,t,n,r){var a=typeof e;if("undefined"!==a&&"boolean"!==a||(e=null),null===e||"string"===a||"number"===a||l.isValidElement(e))return n(r,e,""===t?h+i(e,0):t),1;var u,c,m=0,_=""===t?h:t+p;if(Array.isArray(e))for(var g=0;g<e.length;g++)u=e[g],c=_+i(u,g),m+=s(u,c,n,r);else{var y=d(e);if(y){var v,x=y.call(e);if(y!==e.entries)for(var b=0;!(v=x.next()).done;)u=v.value,c=_+i(u,b++),m+=s(u,c,n,r);else for(;!(v=x.next()).done;){var M=v.value;M&&(u=M[1],c=_+o(M[0])+p+i(u,0),m+=s(u,c,n,r))}}else if("object"===a){String(e);f(!1)}}return m}function u(e,t,n){return null==e?0:s(e,"",t,n)}var l=(n(17),n(10)),c=n(29),d=n(78),f=n(2),h=(n(4),c.SEPARATOR),p=":",m={"=":"=0",".":"=1",":":"=2"},_=/[=.:]/g;e.exports=u},function(e,t,n){"use strict";var r=(n(5),n(13)),i=(n(4),r);e.exports=i},function(e,t){"use strict";t.__esModule=!0;t.ADD_ARRAY_VALUE="redux-form/ADD_ARRAY_VALUE",t.AUTOFILL="redux-form/AUTOFILL",t.BLUR="redux-form/BLUR",t.CHANGE="redux-form/CHANGE",t.DESTROY="redux-form/DESTROY",t.FOCUS="redux-form/FOCUS",t.INITIALIZE="redux-form/INITIALIZE",t.REMOVE_ARRAY_VALUE="redux-form/REMOVE_ARRAY_VALUE",t.RESET="redux-form/RESET",t.START_ASYNC_VALIDATION="redux-form/START_ASYNC_VALIDATION",t.START_SUBMIT="redux-form/START_SUBMIT",t.STOP_ASYNC_VALIDATION="redux-form/STOP_ASYNC_VALIDATION",t.STOP_SUBMIT="redux-form/STOP_SUBMIT",t.SUBMIT_FAILED="redux-form/SUBMIT_FAILED",t.SWAP_ARRAY_VALUES="redux-form/SWAP_ARRAY_VALUES",t.TOUCH="redux-form/TOUCH",t.UNTOUCH="redux-form/UNTOUCH"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.untouchWithKey=t.untouch=t.touchWithKey=t.touch=t.swapArrayValues=t.stopSubmit=t.stopAsyncValidation=t.startSubmit=t.startAsyncValidation=t.reset=t.propTypes=t.initializeWithKey=t.initialize=t.getValues=t.removeArrayValue=t.reduxForm=t.reducer=t.focus=t.destroy=t.changeWithKey=t.change=t.blur=t.autofillWithKey=t.autofill=t.addArrayValue=t.actionTypes=void 0;var i=n(3),a=r(i),o=n(19),s=n(456),u=r(s),l="undefined"!=typeof window&&window.navigator&&window.navigator.product&&"ReactNative"===window.navigator.product,c=(0,u.default)(l,a.default,o.connect),d=c.actionTypes,f=c.addArrayValue,h=c.autofill,p=c.autofillWithKey,m=c.blur,_=c.change,g=c.changeWithKey,y=c.destroy,v=c.focus,x=c.reducer,b=c.reduxForm,M=c.removeArrayValue,L=c.getValues,S=c.initialize,w=c.initializeWithKey,T=c.propTypes,k=c.reset,D=c.startAsyncValidation,Y=c.startSubmit,E=c.stopAsyncValidation,P=c.stopSubmit,A=c.swapArrayValues,C=c.touch,O=c.touchWithKey,j=c.untouch,R=c.untouchWithKey;t.actionTypes=d,t.addArrayValue=f,t.autofill=h,t.autofillWithKey=p,t.blur=m,t.change=_,t.changeWithKey=g,t.destroy=y,t.focus=v,t.reducer=x,t.reduxForm=b,t.removeArrayValue=M,t.getValues=L,t.initialize=S,t.initializeWithKey=w,t.propTypes=T,t.reset=k,t.startAsyncValidation=D,t.startSubmit=Y,t.stopAsyncValidation=E,t.stopSubmit=P,t.swapArrayValues=A,t.touch=C,t.touchWithKey=O,t.untouch=j,t.untouchWithKey=R},function(e,t){"use strict";function n(e,t){return e?Object.keys(e).reduce(function(n,i){var a;return r({},n,(a={},a[i]=t(e[i],i),a))},{}):e}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=n},function(e,t,n){"use strict";var r=n(15),i=n(284),a=n(289),o=n(89),s=n(288),u="undefined"!=typeof window&&window.btoa||n(283);e.exports=function(e,t,l){var c=l.data,d=l.headers;r.isFormData(c)&&delete d["Content-Type"];var f=new XMLHttpRequest,h="onreadystatechange",p=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in f||s(l.url)||(f=new window.XDomainRequest,h="onload",p=!0),l.auth){var m=l.auth.username||"",_=l.auth.password||"";d.Authorization="Basic "+u(m+":"+_)}if(f.open(l.method.toUpperCase(),i(l.url,l.params,l.paramsSerializer),!0),f.timeout=l.timeout,f.onprogress=function(){},f.ontimeout=function(){},f[h]=function(){if(f&&(4===f.readyState||p)&&0!==f.status){var n="getAllResponseHeaders"in f?a(f.getAllResponseHeaders()):null,r=l.responseType&&"text"!==l.responseType?f.response:f.responseText,i={data:o(r,n,l.transformResponse),status:1223===f.status?204:f.status,statusText:1223===f.status?"No Content":f.statusText,headers:n,config:l,request:f};(i.status>=200&&i.status<300||!("status"in f)&&f.responseText?e:t)(i),f=null}},f.onerror=function(){t(new Error("Network Error")),f=null},f.ontimeout=function(){var e=new Error("timeout of "+l.timeout+"ms exceeded");e.timeout=l.timeout,e.code="ECONNABORTED",t(e),f=null},r.isStandardBrowserEnv()){var g=n(286),y=l.withCredentials||s(l.url)?g.read(l.xsrfCookieName):void 0;y&&(d[l.xsrfHeaderName]=y)}if("setRequestHeader"in f&&r.forEach(d,function(e,t){"undefined"==typeof c&&"content-type"===t.toLowerCase()?delete d[t]:f.setRequestHeader(t,e)}),l.withCredentials&&(f.withCredentials=!0),l.responseType)try{f.responseType=l.responseType}catch(e){if("json"!==f.responseType)throw e}l.progress&&("post"===l.method||"put"===l.method?f.upload.addEventListener("progress",l.progress):"get"===l.method&&f.addEventListener("progress",l.progress)),r.isArrayBuffer(c)&&(c=new DataView(c)),void 0===c&&(c=null),f.send(c)}},function(e,t,n){"use strict";var r=n(15);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t,n){var r,i;!function(){function a(e){return e&&(e.ownerDocument||e.document||e).documentElement}function o(e){return e&&(e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView)}function s(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function u(e){return null===e?NaN:+e}function l(e){return!isNaN(e)}function c(e){return{left:function(t,n,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);r<i;){var a=r+i>>>1;e(t[a],n)<0?r=a+1:i=a}return r},right:function(t,n,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);r<i;){var a=r+i>>>1;e(t[a],n)>0?i=a:r=a+1}return r}}}function d(e){return e.length}function f(e){for(var t=1;e*t%1;)t*=10;return t}function h(e,t){for(var n in t)Object.defineProperty(e.prototype,n,{value:t[n],enumerable:!1})}function p(){this._=Object.create(null)}function m(e){return(e+="")===So||e[0]===wo?wo+e:e}function _(e){return(e+="")[0]===wo?e.slice(1):e}function g(e){return m(e)in this._}function y(e){return(e=m(e))in this._&&delete this._[e]}function v(){var e=[];for(var t in this._)e.push(_(t));return e}function x(){var e=0;for(var t in this._)++e;return e}function b(){for(var e in this._)return!1;return!0}function M(){this._=Object.create(null)}function L(e){return e}function S(e,t,n){return function(){var r=n.apply(t,arguments);return r===t?e:r}}function w(e,t){if(t in e)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var n=0,r=To.length;n<r;++n){var i=To[n]+t;if(i in e)return i}}function T(){}function k(){}function D(e){function t(){for(var t,r=n,i=-1,a=r.length;++i<a;)(t=r[i].on)&&t.apply(this,arguments);return e}var n=[],r=new p;return t.on=function(t,i){var a,o=r.get(t);return arguments.length<2?o&&o.on:(o&&(o.on=null,n=n.slice(0,a=n.indexOf(o)).concat(n.slice(a+1)),r.remove(t)),i&&n.push(r.set(t,{on:i})),e)},t}function Y(){ho.event.preventDefault()}function E(){for(var e,t=ho.event;e=t.sourceEvent;)t=e;return t}function P(e){for(var t=new k,n=0,r=arguments.length;++n<r;)t[arguments[n]]=D(t);return t.of=function(n,r){return function(i){try{var a=i.sourceEvent=ho.event;i.target=e,ho.event=i,t[i.type].apply(n,r)}finally{ho.event=a}}},t}function A(e){return Do(e,Ao),e}function C(e){return"function"==typeof e?e:function(){return Yo(e,this)}}function O(e){return"function"==typeof e?e:function(){return Eo(e,this)}}function j(e,t){function n(){this.removeAttribute(e)}function r(){this.removeAttributeNS(e.space,e.local)}function i(){this.setAttribute(e,t)}function a(){this.setAttributeNS(e.space,e.local,t)}function o(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}function s(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}return e=ho.ns.qualify(e),null==t?e.local?r:n:"function"==typeof t?e.local?s:o:e.local?a:i}function R(e){return e.trim().replace(/\s+/g," ")}function N(e){return new RegExp("(?:^|\\s+)"+ho.requote(e)+"(?:\\s+|$)","g")}function H(e){return(e+"").trim().split(/^|\s+/)}function I(e,t){function n(){for(var n=-1;++n<i;)e[n](this,t)}function r(){for(var n=-1,r=t.apply(this,arguments);++n<i;)e[n](this,r)}e=H(e).map(V);var i=e.length;return"function"==typeof t?r:n}function V(e){var t=N(e);return function(n,r){if(i=n.classList)return r?i.add(e):i.remove(e);var i=n.getAttribute("class")||"";r?(t.lastIndex=0,t.test(i)||n.setAttribute("class",R(i+" "+e))):n.setAttribute("class",R(i.replace(t," ")))}}function F(e,t,n){function r(){this.style.removeProperty(e)}function i(){this.style.setProperty(e,t,n)}function a(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}return null==t?r:"function"==typeof t?a:i}function W(e,t){function n(){delete this[e]}function r(){this[e]=t}function i(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}return null==t?n:"function"==typeof t?i:r}function G(e){function t(){var t=this.ownerDocument,n=this.namespaceURI;return n===Co&&t.documentElement.namespaceURI===Co?t.createElement(e):t.createElementNS(n,e)}function n(){return this.ownerDocument.createElementNS(e.space,e.local)}return"function"==typeof e?e:(e=ho.ns.qualify(e)).local?n:t}function U(){var e=this.parentNode;e&&e.removeChild(this)}function z(e){return{__data__:e}}function B(e){return function(){return Po(this,e)}}function q(e){return arguments.length||(e=s),function(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}}function X(e,t){for(var n=0,r=e.length;n<r;n++)for(var i,a=e[n],o=0,s=a.length;o<s;o++)(i=a[o])&&t(i,o,n);return e}function K(e){return Do(e,jo),e}function J(e){var t,n;return function(r,i,a){var o,s=e[a].update,u=s.length;for(a!=n&&(n=a,t=0),i>=t&&(t=i+1);!(o=s[t])&&++t<u;);return o}}function $(e,t,n){function r(){var t=this[o];t&&(this.removeEventListener(e,t,t.$),delete this[o])}function i(){var i=u(t,mo(arguments));r.call(this),this.addEventListener(e,this[o]=i,i.$=n),i._=t}function a(){var t,n=new RegExp("^__on([^.]+)"+ho.requote(e)+"$");for(var r in this)if(t=r.match(n)){var i=this[r];this.removeEventListener(t[1],i,i.$),delete this[r]}}var o="__on"+e,s=e.indexOf("."),u=Q;s>0&&(e=e.slice(0,s));var l=Ro.get(e);return l&&(e=l,u=Z),s?t?i:r:t?T:a}function Q(e,t){return function(n){var r=ho.event;ho.event=n,t[0]=this.__data__;try{e.apply(this,t)}finally{ho.event=r}}}function Z(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 ee(e){var t=".dragsuppress-"+ ++Ho,n="click"+t,r=ho.select(o(e)).on("touchmove"+t,Y).on("dragstart"+t,Y).on("selectstart"+t,Y);if(null==No&&(No=!("onselectstart"in e)&&w(e.style,"userSelect")),No){var i=a(e).style,s=i[No];i[No]="none"}return function(e){if(r.on(t,null),No&&(i[No]=s),e){var a=function(){r.on(n,null)};r.on(n,function(){Y(),a()},!0),setTimeout(a,0)}}}function te(e,t){t.changedTouches&&(t=t.changedTouches[0]);var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();if(Io<0){var i=o(e);if(i.scrollX||i.scrollY){n=ho.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var a=n[0][0].getScreenCTM();Io=!(a.f||a.e),n.remove()}}return Io?(r.x=t.pageX,r.y=t.pageY):(r.x=t.clientX,r.y=t.clientY),r=r.matrixTransform(e.getScreenCTM().inverse()),[r.x,r.y]}var s=e.getBoundingClientRect();return[t.clientX-s.left-e.clientLeft,t.clientY-s.top-e.clientTop]}function ne(){return ho.event.changedTouches[0].identifier}function re(e){return e>0?1:e<0?-1:0}function ie(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])}function ae(e){return e>1?0:e<-1?Wo:Math.acos(e)}function oe(e){return e>1?zo:e<-1?-zo:Math.asin(e)}function se(e){return((e=Math.exp(e))-1/e)/2}function ue(e){return((e=Math.exp(e))+1/e)/2}function le(e){return((e=Math.exp(2*e))-1)/(e+1)}function ce(e){return(e=Math.sin(e/2))*e}function de(){}function fe(e,t,n){return this instanceof fe?(this.h=+e,this.s=+t,void(this.l=+n)):arguments.length<2?e instanceof fe?new fe(e.h,e.s,e.l):Te(""+e,ke,fe):new fe(e,t,n)}function he(e,t,n){function r(e){return e>360?e-=360:e<0&&(e+=360),e<60?a+(o-a)*e/60:e<180?o:e<240?a+(o-a)*(240-e)/60:a}function i(e){return Math.round(255*r(e))}var a,o;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,o=n<=.5?n*(1+t):n+t-n*t,a=2*n-o,new Me(i(e+120),i(e),i(e-120))}function pe(e,t,n){return this instanceof pe?(this.h=+e,this.c=+t,void(this.l=+n)):arguments.length<2?e instanceof pe?new pe(e.h,e.c,e.l):e instanceof _e?ye(e.l,e.a,e.b):ye((e=De((e=ho.rgb(e)).r,e.g,e.b)).l,e.a,e.b):new pe(e,t,n)}function me(e,t,n){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),new _e(n,Math.cos(e*=Bo)*t,Math.sin(e)*t)}function _e(e,t,n){return this instanceof _e?(this.l=+e,this.a=+t,void(this.b=+n)):arguments.length<2?e instanceof _e?new _e(e.l,e.a,e.b):e instanceof pe?me(e.h,e.c,e.l):De((e=Me(e)).r,e.g,e.b):new _e(e,t,n)}function ge(e,t,n){var r=(e+16)/116,i=r+t/500,a=r-n/200;return i=ve(i)*rs,r=ve(r)*is,a=ve(a)*as,new Me(be(3.2404542*i-1.5371385*r-.4985314*a),be(-.969266*i+1.8760108*r+.041556*a),be(.0556434*i-.2040259*r+1.0572252*a))}function ye(e,t,n){return e>0?new pe(Math.atan2(n,t)*qo,Math.sqrt(t*t+n*n),e):new pe(NaN,NaN,e)}function ve(e){return e>.206893034?e*e*e:(e-4/29)/7.787037}function xe(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29}function be(e){return Math.round(255*(e<=.00304?12.92*e:1.055*Math.pow(e,1/2.4)-.055))}function Me(e,t,n){return this instanceof Me?(this.r=~~e,this.g=~~t,void(this.b=~~n)):arguments.length<2?e instanceof Me?new Me(e.r,e.g,e.b):Te(""+e,Me,he):new Me(e,t,n)}function Le(e){return new Me(e>>16,e>>8&255,255&e)}function Se(e){return Le(e)+""}function we(e){return e<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16)}function Te(e,t,n){var r,i,a,o=0,s=0,u=0;if(r=/([a-z]+)\((.*)\)/.exec(e=e.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return n(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(Ee(i[0]),Ee(i[1]),Ee(i[2]))}return(a=us.get(e))?t(a.r,a.g,a.b):(null==e||"#"!==e.charAt(0)||isNaN(a=parseInt(e.slice(1),16))||(4===e.length?(o=(3840&a)>>4,o|=o>>4,s=240&a,s|=s>>4,u=15&a,u|=u<<4):7===e.length&&(o=(16711680&a)>>16,s=(65280&a)>>8,u=255&a)),t(o,s,u))}function ke(e,t,n){var r,i,a=Math.min(e/=255,t/=255,n/=255),o=Math.max(e,t,n),s=o-a,u=(o+a)/2;return s?(i=u<.5?s/(o+a):s/(2-o-a),r=e==o?(t-n)/s+(t<n?6:0):t==o?(n-e)/s+2:(e-t)/s+4,r*=60):(r=NaN,i=u>0&&u<1?0:r),new fe(r,i,u)}function De(e,t,n){e=Ye(e),t=Ye(t),n=Ye(n);var r=xe((.4124564*e+.3575761*t+.1804375*n)/rs),i=xe((.2126729*e+.7151522*t+.072175*n)/is),a=xe((.0193339*e+.119192*t+.9503041*n)/as);return _e(116*i-16,500*(r-i),200*(i-a))}function Ye(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Ee(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 Ae(e){return function(t,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=null),Ce(t,n,e,r)}}function Ce(e,t,n,r){function i(){var e,t=u.status;if(!t&&je(u)||t>=200&&t<300||304===t){try{e=n.call(a,u)}catch(e){return void o.error.call(a,e)}o.load.call(a,e)}else o.error.call(a,u)}var a={},o=ho.dispatch("beforesend","progress","load","error"),s={},u=new XMLHttpRequest,l=null;return!this.XDomainRequest||"withCredentials"in u||!/^(http(s)?:)?\/\//.test(e)||(u=new XDomainRequest),"onload"in u?u.onload=u.onerror=i:u.onreadystatechange=function(){u.readyState>3&&i()},u.onprogress=function(e){var t=ho.event;ho.event=e;try{o.progress.call(a,u)}finally{ho.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?(l=e,a):l},a.response=function(e){return n=e,a},["get","post"].forEach(function(e){a[e]=function(){return a.send.apply(a,[e].concat(mo(arguments)))}}),a.send=function(n,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),u.open(n,e,!0),null==t||"accept"in s||(s.accept=t+",*/*"),u.setRequestHeader)for(var c in s)u.setRequestHeader(c,s[c]);return null!=t&&u.overrideMimeType&&u.overrideMimeType(t),null!=l&&(u.responseType=l),null!=i&&a.on("error",i).on("load",function(e){i(null,e)}),o.beforesend.call(a,u),u.send(null==r?null:r),a},a.abort=function(){return u.abort(),a},ho.rebind(a,o,"on"),null==r?a:a.get(Oe(r))}function Oe(e){return 1===e.length?function(t,n){e(null==t?n:null)}:e}function je(e){var t=e.responseType;return t&&"text"!==t?e.response:e.responseText}function Re(e,t,n){var r=arguments.length;r<2&&(t=0),r<3&&(n=Date.now());var i=n+t,a={c:e,t:i,n:null};return cs?cs.n=a:ls=a,cs=a,ds||(fs=clearTimeout(fs),ds=1,hs(Ne)),a}function Ne(){var e=He(),t=Ie()-e;t>24?(isFinite(t)&&(clearTimeout(fs),fs=setTimeout(Ne,t)),ds=0):(ds=1,hs(Ne))}function He(){for(var e=Date.now(),t=ls;t;)e>=t.t&&t.c(e-t.t)&&(t.c=null),t=t.n;return e}function Ie(){for(var e,t=ls,n=1/0;t;)t.c?(t.t<n&&(n=t.t),t=(e=t).n):t=e?e.n=t.n:ls=t.n;return cs=e,n}function Ve(e,t){return t-(e?Math.ceil(Math.log(e)/Math.LN10):1)}function Fe(e,t){var n=Math.pow(10,3*Lo(8-t));return{scale:t>8?function(e){return e/n}:function(e){return e*n},symbol:e}}function We(e){var t=e.decimal,n=e.thousands,r=e.grouping,i=e.currency,a=r&&n?function(e,t){for(var i=e.length,a=[],o=0,s=r[0],u=0;i>0&&s>0&&(u+s+1>t&&(s=Math.max(1,t-u)),a.push(e.substring(i-=s,i+s)),!((u+=s+1)>t));)s=r[o=(o+1)%r.length];return a.reverse().join(n)}:L;return function(e){var n=ms.exec(e),r=n[1]||" ",o=n[2]||">",s=n[3]||"-",u=n[4]||"",l=n[5],c=+n[6],d=n[7],f=n[8],h=n[9],p=1,m="",_="",g=!1,y=!0;switch(f&&(f=+f.substring(1)),(l||"0"===r&&"="===o)&&(l=r="0",o="="),h){case"n":d=!0,h="g";break;case"%":p=100,_="%",h="f";break;case"p":p=100,_="%",h="r";break;case"b":case"o":case"x":case"X":"#"===u&&(m="0"+h.toLowerCase());case"c":y=!1;case"d":g=!0,f=0;break;case"s":p=-1,h="r"}"$"===u&&(m=i[0],_=i[1]),"r"!=h||f||(h="g"),null!=f&&("g"==h?f=Math.max(1,Math.min(21,f)):"e"!=h&&"f"!=h||(f=Math.max(0,Math.min(20,f)))),h=_s.get(h)||Ge;var v=l&&d;return function(e){var n=_;if(g&&e%1)return"";var i=e<0||0===e&&1/e<0?(e=-e,"-"):"-"===s?"":s;if(p<0){var u=ho.formatPrefix(e,f);e=u.scale(e),n=u.symbol+_}else e*=p;e=h(e,f);var x,b,M=e.lastIndexOf(".");if(M<0){var L=y?e.lastIndexOf("e"):-1;L<0?(x=e,b=""):(x=e.substring(0,L),b=e.substring(L))}else x=e.substring(0,M),b=t+e.substring(M+1);!l&&d&&(x=a(x,1/0));var S=m.length+x.length+b.length+(v?0:i.length),w=S<c?new Array(S=c-S+1).join(r):"";return v&&(x=a(w+x,w.length?c-b.length:1/0)),i+=m,e=x+b,("<"===o?i+e+w:">"===o?w+i+e:"^"===o?w.substring(0,S>>=1)+i+e+w.substring(S):i+(v?e:w+e))+n}}}function Ge(e){return e+""}function Ue(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function ze(e,t,n){function r(t){var n=e(t),r=a(n,1);return t-n<r-t?n:r}function i(n){return t(n=e(new ys(n-1)),1),n}function a(e,n){return t(e=new ys(+e),n),e}function o(e,r,a){var o=i(e),s=[];if(a>1)for(;o<r;)n(o)%a||s.push(new Date(+o)),t(o,1);else for(;o<r;)s.push(new Date(+o)),t(o,1);return s}function s(e,t,n){try{ys=Ue;var r=new Ue;return r._=e,o(r,t,n)}finally{ys=Date}}e.floor=e,e.round=r,e.ceil=i,e.offset=a,e.range=o;var u=e.utc=Be(e);return u.floor=u,u.round=Be(r),u.ceil=Be(i),u.offset=Be(a),u.range=s,e}function Be(e){return function(t,n){try{ys=Ue;var r=new Ue;return r._=t,e(r,n)._}finally{ys=Date}}}function qe(e){function t(e){function t(t){for(var n,i,a,o=[],s=-1,u=0;++s<r;)37===e.charCodeAt(s)&&(o.push(e.slice(u,s)),null!=(i=xs[n=e.charAt(++s)])&&(n=e.charAt(++s)),(a=D[n])&&(n=a(t,null==i?"e"===n?" ":"0":i)),o.push(n),u=s+1);return o.push(e.slice(u,s)),o.join("")}var r=e.length;return t.parse=function(t){var r={y:1900,m:0,d:1,H:0,M:0,S:0,L:0,Z:null},i=n(r,e,t,0);if(i!=t.length)return null;"p"in r&&(r.H=r.H%12+12*r.p);var a=null!=r.Z&&ys!==Ue,o=new(a?Ue:ys);return"j"in r?o.setFullYear(r.y,0,r.j):"W"in r||"U"in r?("w"in r||(r.w="W"in r?1:0),o.setFullYear(r.y,0,1),o.setFullYear(r.y,0,"W"in r?(r.w+6)%7+7*r.W-(o.getDay()+5)%7:r.w+7*r.U-(o.getDay()+6)%7)):o.setFullYear(r.y,r.m,r.d),o.setHours(r.H+(r.Z/100|0),r.M+r.Z%100,r.S,r.L),a?o._:o},t.toString=function(){return e},t}function n(e,t,n,r){for(var i,a,o,s=0,u=t.length,l=n.length;s<u;){if(r>=l)return-1;if(i=t.charCodeAt(s++),37===i){if(o=t.charAt(s++),a=Y[o in xs?t.charAt(s++):o],!a||(r=a(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}function r(e,t,n){M.lastIndex=0;var r=M.exec(t.slice(n));return r?(e.w=L.get(r[0].toLowerCase()),n+r[0].length):-1}function i(e,t,n){x.lastIndex=0;var r=x.exec(t.slice(n));return r?(e.w=b.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 o(e,t,n){S.lastIndex=0;var r=S.exec(t.slice(n));return r?(e.m=w.get(r[0].toLowerCase()),n+r[0].length):-1}function s(e,t,r){return n(e,D.c.toString(),t,r)}function u(e,t,r){return n(e,D.x.toString(),t,r)}function l(e,t,r){return n(e,D.X.toString(),t,r)}function c(e,t,n){var r=v.get(t.slice(n,n+=2).toLowerCase());return null==r?-1:(e.p=r,n)}var d=e.dateTime,f=e.date,h=e.time,p=e.periods,m=e.days,_=e.shortDays,g=e.months,y=e.shortMonths;t.utc=function(e){function n(e){try{ys=Ue;var t=new ys;return t._=e,r(t)}finally{ys=Date}}var r=t(e);return n.parse=function(e){try{ys=Ue;var t=r.parse(e);return t&&t._}finally{ys=Date}},n.toString=r.toString,n},t.multi=t.utc.multi=ht;var v=ho.map(),x=Ke(m),b=Je(m),M=Ke(_),L=Je(_),S=Ke(g),w=Je(g),T=Ke(y),k=Je(y);p.forEach(function(e,t){v.set(e.toLowerCase(),t)});var D={a:function(e){return _[e.getDay()]},A:function(e){return m[e.getDay()]},b:function(e){return y[e.getMonth()]},B:function(e){return g[e.getMonth()]},c:t(d),d:function(e,t){return Xe(e.getDate(),t,2)},e:function(e,t){return Xe(e.getDate(),t,2)},H:function(e,t){return Xe(e.getHours(),t,2)},I:function(e,t){return Xe(e.getHours()%12||12,t,2)},j:function(e,t){return Xe(1+gs.dayOfYear(e),t,3)},L:function(e,t){return Xe(e.getMilliseconds(),t,3)},m:function(e,t){return Xe(e.getMonth()+1,t,2)},M:function(e,t){return Xe(e.getMinutes(),t,2)},p:function(e){return p[+(e.getHours()>=12)]},S:function(e,t){return Xe(e.getSeconds(),t,2)},U:function(e,t){return Xe(gs.sundayOfYear(e),t,2)},w:function(e){return e.getDay()},W:function(e,t){return Xe(gs.mondayOfYear(e),t,2)},x:t(f),X:t(h),y:function(e,t){return Xe(e.getFullYear()%100,t,2)},Y:function(e,t){return Xe(e.getFullYear()%1e4,t,4)},Z:dt,"%":function(){return"%"}},Y={a:r,A:i,b:a,B:o,c:s,d:at,e:at,H:st,I:st,j:ot,L:ct,m:it,M:ut,p:c,S:lt,U:Qe,w:$e,W:Ze,x:u,X:l,y:tt,Y:et,Z:nt,"%":ft};return t}function Xe(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(t)+i:i)}function Ke(e){return new RegExp("^(?:"+e.map(ho.requote).join("|")+")","i")}function Je(e){for(var t=new p,n=-1,r=e.length;++n<r;)t.set(e[n].toLowerCase(),n);return t}function $e(e,t,n){bs.lastIndex=0;var r=bs.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Qe(e,t,n){bs.lastIndex=0;var r=bs.exec(t.slice(n));return r?(e.U=+r[0],n+r[0].length):-1}function Ze(e,t,n){bs.lastIndex=0;var r=bs.exec(t.slice(n));return r?(e.W=+r[0],n+r[0].length):-1}function et(e,t,n){bs.lastIndex=0;var r=bs.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function tt(e,t,n){bs.lastIndex=0;var r=bs.exec(t.slice(n,n+2));return r?(e.y=rt(+r[0]),n+r[0].length):-1}function nt(e,t,n){return/^[+-]\d{4}$/.test(t=t.slice(n,n+5))?(e.Z=-t,n+5):-1}function rt(e){return e+(e>68?1900:2e3)}function it(e,t,n){bs.lastIndex=0;var r=bs.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function at(e,t,n){bs.lastIndex=0;var r=bs.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function ot(e,t,n){bs.lastIndex=0;var r=bs.exec(t.slice(n,n+3));return r?(e.j=+r[0],n+r[0].length):-1}function st(e,t,n){bs.lastIndex=0;var r=bs.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function ut(e,t,n){bs.lastIndex=0;var r=bs.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function lt(e,t,n){bs.lastIndex=0;var r=bs.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function ct(e,t,n){bs.lastIndex=0;var r=bs.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function dt(e){var t=e.getTimezoneOffset(),n=t>0?"-":"+",r=Lo(t)/60|0,i=Lo(t)%60;return n+Xe(r,"0",2)+Xe(i,"0",2)}function ft(e,t,n){Ms.lastIndex=0;var r=Ms.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function ht(e){for(var t=e.length,n=-1;++n<t;)e[n][0]=this(e[n][0]);return function(t){for(var n=0,r=e[n];!r[1](t);)r=e[++n];return r[0](t)}}function pt(){}function mt(e,t,n){var r=n.s=e+t,i=r-e,a=r-i;n.t=e-a+(t-i)}function _t(e,t){e&&Ts.hasOwnProperty(e.type)&&Ts[e.type](e,t)}function gt(e,t,n){var r,i=-1,a=e.length-n;for(t.lineStart();++i<a;)r=e[i],t.point(r[0],r[1],r[2]);t.lineEnd()}function yt(e,t){var n=-1,r=e.length;for(t.polygonStart();++n<r;)gt(e[n],t,1);t.polygonEnd()}function vt(){function e(e,t){e*=Bo,t=t*Bo/2+Wo/4;var n=e-r,o=n>=0?1:-1,s=o*n,u=Math.cos(t),l=Math.sin(t),c=a*l,d=i*u+c*Math.cos(s),f=c*o*Math.sin(s);Ds.add(Math.atan2(f,d)),r=e,i=u,a=l}var t,n,r,i,a;Ys.point=function(o,s){Ys.point=e,r=(t=o)*Bo,i=Math.cos(s=(n=s)*Bo/2+Wo/4),a=Math.sin(s)},Ys.lineEnd=function(){e(t,n)}}function xt(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 bt(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function Mt(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 Lt(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function St(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function wt(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 Tt(e){return[Math.atan2(e[1],e[0]),oe(e[2])]}function kt(e,t){return Lo(e[0]-t[0])<Vo&&Lo(e[1]-t[1])<Vo}function Dt(e,t){e*=Bo;var n=Math.cos(t*=Bo);Yt(n*Math.cos(e),n*Math.sin(e),Math.sin(t))}function Yt(e,t,n){++Es,As+=(e-As)/Es,Cs+=(t-Cs)/Es,Os+=(n-Os)/Es}function Et(){function e(e,i){e*=Bo;var a=Math.cos(i*=Bo),o=a*Math.cos(e),s=a*Math.sin(e),u=Math.sin(i),l=Math.atan2(Math.sqrt((l=n*u-r*s)*l+(l=r*o-t*u)*l+(l=t*s-n*o)*l),t*o+n*s+r*u);Ps+=l,js+=l*(t+(t=o)),Rs+=l*(n+(n=s)),Ns+=l*(r+(r=u)),Yt(t,n,r)}var t,n,r;Fs.point=function(i,a){i*=Bo;var o=Math.cos(a*=Bo);t=o*Math.cos(i),n=o*Math.sin(i),r=Math.sin(a),Fs.point=e,Yt(t,n,r)}}function Pt(){Fs.point=Dt}function At(){function e(e,t){e*=Bo;var n=Math.cos(t*=Bo),o=n*Math.cos(e),s=n*Math.sin(e),u=Math.sin(t),l=i*u-a*s,c=a*o-r*u,d=r*s-i*o,f=Math.sqrt(l*l+c*c+d*d),h=r*o+i*s+a*u,p=f&&-ae(h)/f,m=Math.atan2(f,h);Hs+=p*l,Is+=p*c,Vs+=p*d,Ps+=m,js+=m*(r+(r=o)),Rs+=m*(i+(i=s)),Ns+=m*(a+(a=u)),Yt(r,i,a)}var t,n,r,i,a;Fs.point=function(o,s){t=o,n=s,Fs.point=e,o*=Bo;var u=Math.cos(s*=Bo);r=u*Math.cos(o),i=u*Math.sin(o),a=Math.sin(s),Yt(r,i,a)},Fs.lineEnd=function(){e(t,n),Fs.lineEnd=Pt,Fs.point=Dt}}function Ct(e,t){function n(n,r){return n=e(n,r),t(n[0],n[1])}return e.invert&&t.invert&&(n.invert=function(n,r){return n=t.invert(n,r),n&&e.invert(n[0],n[1])}),n}function Ot(){return!0}function jt(e,t,n,r,i){var a=[],o=[];if(e.forEach(function(e){if(!((t=e.length-1)<=0)){var t,n=e[0],r=e[t];if(kt(n,r)){i.lineStart();for(var s=0;s<t;++s)i.point((n=e[s])[0],n[1]);return void i.lineEnd()}var u=new Nt(n,e,null,!0),l=new Nt(n,null,u,!1);u.o=l,a.push(u),o.push(l),u=new Nt(r,e,null,!1),l=new Nt(r,null,u,!0),u.o=l,a.push(u),o.push(l)}}),o.sort(t),Rt(a),Rt(o),a.length){for(var s=0,u=n,l=o.length;s<l;++s)o[s].e=u=!u;for(var c,d,f=a[0];;){for(var h=f,p=!0;h.v;)if((h=h.n)===f)return;c=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(var s=0,l=c.length;s<l;++s)i.point((d=c[s])[0],d[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(p){c=h.p.z;for(var s=c.length-1;s>=0;--s)i.point((d=c[s])[0],d[1])}else r(h.x,h.p.x,-1,i);h=h.p}h=h.o,c=h.z,p=!p}while(!h.v);i.lineEnd()}}}function Rt(e){if(t=e.length){for(var t,n,r=0,i=e[0];++r<t;)i.n=n=e[r],n.p=i,i=n;i.n=n=e[0],n.p=i}}function Nt(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function Ht(e,t,n,r){return function(i,a){function o(t,n){var r=i(t,n);e(t=r[0],n=r[1])&&a.point(t,n)}function s(e,t){var n=i(e,t);_.point(n[0],n[1])}function u(){y.point=s,_.lineStart()}function l(){y.point=o,_.lineEnd()}function c(e,t){m.push([e,t]);var n=i(e,t);x.point(n[0],n[1])}function d(){x.lineStart(),m=[]}function f(){c(m[0][0],m[0][1]),x.lineEnd();var e,t=x.clean(),n=v.buffer(),r=n.length;if(m.pop(),p.push(m),m=null,r)if(1&t){e=n[0];var i,r=e.length-1,o=-1;if(r>0){for(b||(a.polygonStart(),b=!0),a.lineStart();++o<r;)a.point((i=e[o])[0],i[1]);a.lineEnd()}}else r>1&&2&t&&n.push(n.pop().concat(n.shift())),h.push(n.filter(It))}var h,p,m,_=t(a),g=i.invert(r[0],r[1]),y={point:o,lineStart:u,lineEnd:l,polygonStart:function(){y.point=c,y.lineStart=d,y.lineEnd=f,h=[],p=[]},polygonEnd:function(){y.point=o,y.lineStart=u,y.lineEnd=l,h=ho.merge(h);var e=zt(g,p);h.length?(b||(a.polygonStart(),b=!0),jt(h,Ft,e,n,a)):e&&(b||(a.polygonStart(),b=!0),a.lineStart(),n(null,null,1,a),a.lineEnd()),b&&(a.polygonEnd(),b=!1),h=p=null},sphere:function(){a.polygonStart(),a.lineStart(),n(null,null,1,a),a.lineEnd(),a.polygonEnd()}},v=Vt(),x=t(v),b=!1;return y}}function It(e){return e.length>1}function Vt(){var e,t=[];return{lineStart:function(){t.push(e=[])},point:function(t,n){e.push([t,n])},lineEnd:T,buffer:function(){var n=t;return t=[],e=null,n},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Ft(e,t){return((e=e.x)[0]<0?e[1]-zo-Vo:zo-e[1])-((t=t.x)[0]<0?t[1]-zo-Vo:zo-t[1])}function Wt(e){var t,n=NaN,r=NaN,i=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(a,o){var s=a>0?Wo:-Wo,u=Lo(a-n);Lo(u-Wo)<Vo?(e.point(n,r=(r+o)/2>0?zo:-zo),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(s,r),e.point(a,r),t=0):i!==s&&u>=Wo&&(Lo(n-i)<Vo&&(n-=i*Vo),Lo(a-s)<Vo&&(a-=s*Vo),r=Gt(n,r,a,o),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(s,r),t=0),e.point(n=a,r=o),i=s},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}}function Gt(e,t,n,r){var i,a,o=Math.sin(e-n);return Lo(o)>Vo?Math.atan((Math.sin(t)*(a=Math.cos(r))*Math.sin(n)-Math.sin(r)*(i=Math.cos(t))*Math.sin(e))/(i*a*o)):(t+r)/2}function Ut(e,t,n,r){var i;if(null==e)i=n*zo,r.point(-Wo,i),r.point(0,i),r.point(Wo,i),r.point(Wo,0),r.point(Wo,-i),r.point(0,-i),r.point(-Wo,-i),r.point(-Wo,0),r.point(-Wo,i);else if(Lo(e[0]-t[0])>Vo){var a=e[0]<t[0]?Wo:-Wo;i=n*a/2,r.point(-a,i),r.point(0,i),r.point(a,i)}else r.point(t[0],t[1])}function zt(e,t){var n=e[0],r=e[1],i=[Math.sin(n),-Math.cos(n),0],a=0,o=0;Ds.reset();for(var s=0,u=t.length;s<u;++s){var l=t[s],c=l.length;if(c)for(var d=l[0],f=d[0],h=d[1]/2+Wo/4,p=Math.sin(h),m=Math.cos(h),_=1;;){
_===c&&(_=0),e=l[_];var g=e[0],y=e[1]/2+Wo/4,v=Math.sin(y),x=Math.cos(y),b=g-f,M=b>=0?1:-1,L=M*b,S=L>Wo,w=p*v;if(Ds.add(Math.atan2(w*M*Math.sin(L),m*x+w*Math.cos(L))),a+=S?b+M*Go:b,S^f>=n^g>=n){var T=Mt(xt(d),xt(e));wt(T);var k=Mt(i,T);wt(k);var D=(S^b>=0?-1:1)*oe(k[2]);(r>D||r===D&&(T[0]||T[1]))&&(o+=S^b>=0?1:-1)}if(!_++)break;f=g,p=v,m=x,d=e}}return(a<-Vo||a<Vo&&Ds<-Vo)^1&o}function Bt(e){function t(e,t){return Math.cos(e)*Math.cos(t)>a}function n(e){var n,a,u,l,c;return{lineStart:function(){l=u=!1,c=1},point:function(d,f){var h,p=[d,f],m=t(d,f),_=o?m?0:i(d,f):m?i(d+(d<0?Wo:-Wo),f):0;if(!n&&(l=u=m)&&e.lineStart(),m!==u&&(h=r(n,p),(kt(n,h)||kt(p,h))&&(p[0]+=Vo,p[1]+=Vo,m=t(p[0],p[1]))),m!==u)c=0,m?(e.lineStart(),h=r(p,n),e.point(h[0],h[1])):(h=r(n,p),e.point(h[0],h[1]),e.lineEnd()),n=h;else if(s&&n&&o^m){var g;_&a||!(g=r(p,n,!0))||(c=0,o?(e.lineStart(),e.point(g[0][0],g[0][1]),e.point(g[1][0],g[1][1]),e.lineEnd()):(e.point(g[1][0],g[1][1]),e.lineEnd(),e.lineStart(),e.point(g[0][0],g[0][1])))}!m||n&&kt(n,p)||e.point(p[0],p[1]),n=p,u=m,a=_},lineEnd:function(){u&&e.lineEnd(),n=null},clean:function(){return c|(l&&u)<<1}}}function r(e,t,n){var r=xt(e),i=xt(t),o=[1,0,0],s=Mt(r,i),u=bt(s,s),l=s[0],c=u-l*l;if(!c)return!n&&e;var d=a*u/c,f=-a*l/c,h=Mt(o,s),p=St(o,d),m=St(s,f);Lt(p,m);var _=h,g=bt(p,_),y=bt(_,_),v=g*g-y*(bt(p,p)-1);if(!(v<0)){var x=Math.sqrt(v),b=St(_,(-g-x)/y);if(Lt(b,p),b=Tt(b),!n)return b;var M,L=e[0],S=t[0],w=e[1],T=t[1];S<L&&(M=L,L=S,S=M);var k=S-L,D=Lo(k-Wo)<Vo,Y=D||k<Vo;if(!D&&T<w&&(M=w,w=T,T=M),Y?D?w+T>0^b[1]<(Lo(b[0]-L)<Vo?w:T):w<=b[1]&&b[1]<=T:k>Wo^(L<=b[0]&&b[0]<=S)){var E=St(_,(-g+x)/y);return Lt(E,p),[b,Tt(E)]}}}function i(t,n){var r=o?e:Wo-e,i=0;return t<-r?i|=1:t>r&&(i|=2),n<-r?i|=4:n>r&&(i|=8),i}var a=Math.cos(e),o=a>0,s=Lo(a)>Vo,u=xn(e,6*Bo);return Ht(t,n,u,o?[0,-e]:[-Wo,e-Wo])}function qt(e,t,n,r){return function(i){var a,o=i.a,s=i.b,u=o.x,l=o.y,c=s.x,d=s.y,f=0,h=1,p=c-u,m=d-l;if(a=e-u,p||!(a>0)){if(a/=p,p<0){if(a<f)return;a<h&&(h=a)}else if(p>0){if(a>h)return;a>f&&(f=a)}if(a=n-u,p||!(a<0)){if(a/=p,p<0){if(a>h)return;a>f&&(f=a)}else if(p>0){if(a<f)return;a<h&&(h=a)}if(a=t-l,m||!(a>0)){if(a/=m,m<0){if(a<f)return;a<h&&(h=a)}else if(m>0){if(a>h)return;a>f&&(f=a)}if(a=r-l,m||!(a<0)){if(a/=m,m<0){if(a>h)return;a>f&&(f=a)}else if(m>0){if(a<f)return;a<h&&(h=a)}return f>0&&(i.a={x:u+f*p,y:l+f*m}),h<1&&(i.b={x:u+h*p,y:l+h*m}),i}}}}}}function Xt(e,t,n,r){function i(r,i){return Lo(r[0]-e)<Vo?i>0?0:3:Lo(r[0]-n)<Vo?i>0?2:1:Lo(r[1]-t)<Vo?i>0?1:0:i>0?3:2}function a(e,t){return o(e.x,t.x)}function o(e,t){var n=i(e,1),r=i(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 u(e){for(var t=0,n=_.length,r=e[1],i=0;i<n;++i)for(var a,o=1,s=_[i],u=s.length,l=s[0];o<u;++o)a=s[o],l[1]<=r?a[1]>r&&ie(l,a,e)>0&&++t:a[1]<=r&&ie(l,a,e)<0&&--t,l=a;return 0!==t}function l(a,s,u,l){var c=0,d=0;if(null==a||(c=i(a,u))!==(d=i(s,u))||o(a,s)<0^u>0){do l.point(0===c||3===c?e:n,c>1?r:t);while((c=(c+u+4)%4)!==d)}else l.point(s[0],s[1])}function c(i,a){return e<=i&&i<=n&&t<=a&&a<=r}function d(e,t){c(e,t)&&s.point(e,t)}function f(){Y.point=p,_&&_.push(g=[]),S=!0,L=!1,b=M=NaN}function h(){m&&(p(y,v),x&&L&&k.rejoin(),m.push(k.buffer())),Y.point=d,L&&s.lineEnd()}function p(e,t){e=Math.max(-Gs,Math.min(Gs,e)),t=Math.max(-Gs,Math.min(Gs,t));var n=c(e,t);if(_&&g.push([e,t]),S)y=e,v=t,x=n,S=!1,n&&(s.lineStart(),s.point(e,t));else if(n&&L)s.point(e,t);else{var r={a:{x:b,y:M},b:{x:e,y:t}};D(r)?(L||(s.lineStart(),s.point(r.a.x,r.a.y)),s.point(r.b.x,r.b.y),n||s.lineEnd(),w=!1):n&&(s.lineStart(),s.point(e,t),w=!1)}b=e,M=t,L=n}var m,_,g,y,v,x,b,M,L,S,w,T=s,k=Vt(),D=qt(e,t,n,r),Y={point:d,lineStart:f,lineEnd:h,polygonStart:function(){s=k,m=[],_=[],w=!0},polygonEnd:function(){s=T,m=ho.merge(m);var t=u([e,r]),n=w&&t,i=m.length;(n||i)&&(s.polygonStart(),n&&(s.lineStart(),l(null,null,1,s),s.lineEnd()),i&&jt(m,a,t,l,s),s.polygonEnd()),m=_=g=null}};return Y}}function Kt(e){var t=0,n=Wo/3,r=fn(e),i=r(t,n);return i.parallels=function(e){return arguments.length?r(t=e[0]*Wo/180,n=e[1]*Wo/180):[t/Wo*180,n/Wo*180]},i}function Jt(e,t){function n(e,t){var n=Math.sqrt(a-2*i*Math.sin(t))/i;return[n*Math.sin(e*=i),o-n*Math.cos(e)]}var r=Math.sin(e),i=(r+Math.sin(t))/2,a=1+r*(2*i-r),o=Math.sqrt(a)/i;return n.invert=function(e,t){var n=o-t;return[Math.atan2(e,n)/i,oe((a-(e*e+n*n)*i*i)/(2*i))]},n}function $t(){function e(e,t){zs+=i*e-r*t,r=e,i=t}var t,n,r,i;Js.point=function(a,o){Js.point=e,t=r=a,n=i=o},Js.lineEnd=function(){e(t,n)}}function Qt(e,t){e<Bs&&(Bs=e),e>Xs&&(Xs=e),t<qs&&(qs=t),t>Ks&&(Ks=t)}function Zt(){function e(e,t){o.push("M",e,",",t,a)}function t(e,t){o.push("M",e,",",t),s.point=n}function n(e,t){o.push("L",e,",",t)}function r(){s.point=e}function i(){o.push("Z")}var a=en(4.5),o=[],s={point:e,lineStart:function(){s.point=t},lineEnd:r,polygonStart:function(){s.lineEnd=i},polygonEnd:function(){s.lineEnd=r,s.point=e},pointRadius:function(e){return a=en(e),s},result:function(){if(o.length){var e=o.join("");return o=[],e}}};return s}function en(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}function tn(e,t){As+=e,Cs+=t,++Os}function nn(){function e(e,r){var i=e-t,a=r-n,o=Math.sqrt(i*i+a*a);js+=o*(t+e)/2,Rs+=o*(n+r)/2,Ns+=o,tn(t=e,n=r)}var t,n;Qs.point=function(r,i){Qs.point=e,tn(t=r,n=i)}}function rn(){Qs.point=tn}function an(){function e(e,t){var n=e-r,a=t-i,o=Math.sqrt(n*n+a*a);js+=o*(r+e)/2,Rs+=o*(i+t)/2,Ns+=o,o=i*e-r*t,Hs+=o*(r+e),Is+=o*(i+t),Vs+=3*o,tn(r=e,i=t)}var t,n,r,i;Qs.point=function(a,o){Qs.point=e,tn(t=r=a,n=i=o)},Qs.lineEnd=function(){e(t,n)}}function on(e){function t(t,n){e.moveTo(t+o,n),e.arc(t,n,o,0,Go)}function n(t,n){e.moveTo(t,n),s.point=r}function r(t,n){e.lineTo(t,n)}function i(){s.point=t}function a(){e.closePath()}var o=4.5,s={point:t,lineStart:function(){s.point=n},lineEnd:i,polygonStart:function(){s.lineEnd=a},polygonEnd:function(){s.lineEnd=i,s.point=t},pointRadius:function(e){return o=e,s},result:T};return s}function sn(e){function t(e){return(s?r:n)(e)}function n(t){return cn(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(){v=NaN,S.point=a,t.lineStart()}function a(n,r){var a=xt([n,r]),o=e(n,r);i(v,x,y,b,M,L,v=o[0],x=o[1],y=n,b=a[0],M=a[1],L=a[2],s,t),t.point(v,x)}function o(){S.point=n,t.lineEnd()}function u(){r(),S.point=l,S.lineEnd=c}function l(e,t){a(d=e,f=t),h=v,p=x,m=b,_=M,g=L,S.point=a}function c(){i(v,x,y,b,M,L,h,p,d,m,_,g,s,t),S.lineEnd=o,o()}var d,f,h,p,m,_,g,y,v,x,b,M,L,S={point:n,lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=u},polygonEnd:function(){t.polygonEnd(),S.lineStart=r}};return S}function i(t,n,r,s,u,l,c,d,f,h,p,m,_,g){var y=c-t,v=d-n,x=y*y+v*v;if(x>4*a&&_--){var b=s+h,M=u+p,L=l+m,S=Math.sqrt(b*b+M*M+L*L),w=Math.asin(L/=S),T=Lo(Lo(L)-1)<Vo||Lo(r-f)<Vo?(r+f)/2:Math.atan2(M,b),k=e(T,w),D=k[0],Y=k[1],E=D-t,P=Y-n,A=v*E-y*P;(A*A/x>a||Lo((y*E+v*P)/x-.5)>.3||s*h+u*p+l*m<o)&&(i(t,n,r,s,u,l,D,Y,T,b/=S,M/=S,L,_,g),g.point(D,Y),i(D,Y,T,b,M,L,c,d,f,h,p,m,_,g))}}var a=.5,o=Math.cos(30*Bo),s=16;return t.precision=function(e){return arguments.length?(s=(a=e*e)>0&&16,t):Math.sqrt(a)},t}function un(e){var t=sn(function(t,n){return e([t*qo,n*qo])});return function(e){return hn(t(e))}}function ln(e){this.stream=e}function cn(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 dn(e){return fn(function(){return e})()}function fn(e){function t(e){return e=s(e[0]*Bo,e[1]*Bo),[e[0]*f+u,l-e[1]*f]}function n(e){return e=s.invert((e[0]-u)/f,(l-e[1])/f),e&&[e[0]*qo,e[1]*qo]}function r(){s=Ct(o=_n(g,y,v),a);var e=a(m,_);return u=h-e[0]*f,l=p+e[1]*f,i()}function i(){return c&&(c.valid=!1,c=null),t}var a,o,s,u,l,c,d=sn(function(e,t){return e=a(e,t),[e[0]*f+u,l-e[1]*f]}),f=150,h=480,p=250,m=0,_=0,g=0,y=0,v=0,x=Ws,b=L,M=null,S=null;return t.stream=function(e){return c&&(c.valid=!1),c=hn(x(o,d(b(e)))),c.valid=!0,c},t.clipAngle=function(e){return arguments.length?(x=null==e?(M=e,Ws):Bt((M=+e)*Bo),i()):M},t.clipExtent=function(e){return arguments.length?(S=e,b=e?Xt(e[0][0],e[0][1],e[1][0],e[1][1]):L,i()):S},t.scale=function(e){return arguments.length?(f=+e,r()):f},t.translate=function(e){return arguments.length?(h=+e[0],p=+e[1],r()):[h,p]},t.center=function(e){return arguments.length?(m=e[0]%360*Bo,_=e[1]%360*Bo,r()):[m*qo,_*qo]},t.rotate=function(e){return arguments.length?(g=e[0]%360*Bo,y=e[1]%360*Bo,v=e.length>2?e[2]%360*Bo:0,r()):[g*qo,y*qo,v*qo]},ho.rebind(t,d,"precision"),function(){return a=e.apply(this,arguments),t.invert=a.invert&&n,r()}}function hn(e){return cn(e,function(t,n){e.point(t*Bo,n*Bo)})}function pn(e,t){return[e,t]}function mn(e,t){return[e>Wo?e-Go:e<-Wo?e+Go:e,t]}function _n(e,t,n){return e?t||n?Ct(yn(e),vn(t,n)):yn(e):t||n?vn(t,n):mn}function gn(e){return function(t,n){return t+=e,[t>Wo?t-Go:t<-Wo?t+Go:t,n]}}function yn(e){var t=gn(e);return t.invert=gn(-e),t}function vn(e,t){function n(e,t){var n=Math.cos(t),s=Math.cos(e)*n,u=Math.sin(e)*n,l=Math.sin(t),c=l*r+s*i;return[Math.atan2(u*a-c*o,s*r-l*i),oe(c*a+u*o)]}var r=Math.cos(e),i=Math.sin(e),a=Math.cos(t),o=Math.sin(t);return n.invert=function(e,t){var n=Math.cos(t),s=Math.cos(e)*n,u=Math.sin(e)*n,l=Math.sin(t),c=l*a-u*o;return[Math.atan2(u*a+l*o,s*r+c*i),oe(c*r-s*i)]},n}function xn(e,t){var n=Math.cos(e),r=Math.sin(e);return function(i,a,o,s){var u=o*t;null!=i?(i=bn(n,i),a=bn(n,a),(o>0?i<a:i>a)&&(i+=o*Go)):(i=e+o*Go,a=e-.5*u);for(var l,c=i;o>0?c>a:c<a;c-=u)s.point((l=Tt([n,-r*Math.cos(c),-r*Math.sin(c)]))[0],l[1])}}function bn(e,t){var n=xt(t);n[0]-=e,wt(n);var r=ae(-n[1]);return((-n[2]<0?-r:r)+2*Math.PI-Vo)%(2*Math.PI)}function Mn(e,t,n){var r=ho.range(e,t-Vo,n).concat(t);return function(e){return r.map(function(t){return[e,t]})}}function Ln(e,t,n){var r=ho.range(e,t-Vo,n).concat(t);return function(e){return r.map(function(t){return[t,e]})}}function Sn(e){return e.source}function wn(e){return e.target}function Tn(e,t,n,r){var i=Math.cos(t),a=Math.sin(t),o=Math.cos(r),s=Math.sin(r),u=i*Math.cos(e),l=i*Math.sin(e),c=o*Math.cos(n),d=o*Math.sin(n),f=2*Math.asin(Math.sqrt(ce(r-t)+i*o*ce(n-e))),h=1/Math.sin(f),p=f?function(e){var t=Math.sin(e*=f)*h,n=Math.sin(f-e)*h,r=n*u+t*c,i=n*l+t*d,o=n*a+t*s;return[Math.atan2(i,r)*qo,Math.atan2(o,Math.sqrt(r*r+i*i))*qo]}:function(){return[e*qo,t*qo]};return p.distance=f,p}function kn(){function e(e,i){var a=Math.sin(i*=Bo),o=Math.cos(i),s=Lo((e*=Bo)-t),u=Math.cos(s);Zs+=Math.atan2(Math.sqrt((s=o*Math.sin(s))*s+(s=r*a-n*o*u)*s),n*a+r*o*u),t=e,n=a,r=o}var t,n,r;eu.point=function(i,a){t=i*Bo,n=Math.sin(a*=Bo),r=Math.cos(a),eu.point=e},eu.lineEnd=function(){eu.point=eu.lineEnd=T}}function Dn(e,t){function n(t,n){var r=Math.cos(t),i=Math.cos(n),a=e(r*i);return[a*i*Math.sin(t),a*Math.sin(n)]}return n.invert=function(e,n){var r=Math.sqrt(e*e+n*n),i=t(r),a=Math.sin(i),o=Math.cos(i);return[Math.atan2(e*a,r*o),Math.asin(r&&n*a/r)]},n}function Yn(e,t){function n(e,t){o>0?t<-zo+Vo&&(t=-zo+Vo):t>zo-Vo&&(t=zo-Vo);var n=o/Math.pow(i(t),a);return[n*Math.sin(a*e),o-n*Math.cos(a*e)]}var r=Math.cos(e),i=function(e){return Math.tan(Wo/4+e/2)},a=e===t?Math.sin(e):Math.log(r/Math.cos(t))/Math.log(i(t)/i(e)),o=r*Math.pow(i(e),a)/a;return a?(n.invert=function(e,t){var n=o-t,r=re(a)*Math.sqrt(e*e+n*n);return[Math.atan2(e,n)/a,2*Math.atan(Math.pow(o/r,1/a))-zo]},n):Pn}function En(e,t){function n(e,t){var n=a-t;return[n*Math.sin(i*e),a-n*Math.cos(i*e)]}var r=Math.cos(e),i=e===t?Math.sin(e):(r-Math.cos(t))/(t-e),a=r/i+e;return Lo(i)<Vo?pn:(n.invert=function(e,t){var n=a-t;return[Math.atan2(e,n)/i,a-re(i)*Math.sqrt(e*e+n*n)]},n)}function Pn(e,t){return[e,Math.log(Math.tan(Wo/4+t/2))]}function An(e){var t,n=dn(e),r=n.scale,i=n.translate,a=n.clipExtent;return n.scale=function(){var e=r.apply(n,arguments);return e===n?t?n.clipExtent(null):n:e},n.translate=function(){var e=i.apply(n,arguments);return e===n?t?n.clipExtent(null):n:e},n.clipExtent=function(e){var o=a.apply(n,arguments);if(o===n){if(t=null==e){var s=Wo*r(),u=i();a([[u[0]-s,u[1]-s],[u[0]+s,u[1]+s]])}}else t&&(o=null);return o},n.clipExtent(null)}function Cn(e,t){return[Math.log(Math.tan(Wo/4+t/2)),-e]}function On(e){return e[0]}function jn(e){return e[1]}function Rn(e){for(var t=e.length,n=[0,1],r=2,i=2;i<t;i++){for(;r>1&&ie(e[n[r-2]],e[n[r-1]],e[i])<=0;)--r;n[r++]=i}return n.slice(0,r)}function Nn(e,t){return e[0]-t[0]||e[1]-t[1]}function Hn(e,t,n){return(n[0]-t[0])*(e[1]-t[1])<(n[1]-t[1])*(e[0]-t[0])}function In(e,t,n,r){var i=e[0],a=n[0],o=t[0]-i,s=r[0]-a,u=e[1],l=n[1],c=t[1]-u,d=r[1]-l,f=(s*(u-l)-d*(i-a))/(d*o-s*c);return[i+f*o,u+f*c]}function Vn(e){var t=e[0],n=e[e.length-1];return!(t[0]-n[0]||t[1]-n[1])}function Fn(){ur(this),this.edge=this.site=this.circle=null}function Wn(e){var t=fu.pop()||new Fn;return t.site=e,t}function Gn(e){Zn(e),lu.remove(e),fu.push(e),ur(e)}function Un(e){var t=e.circle,n=t.x,r=t.cy,i={x:n,y:r},a=e.P,o=e.N,s=[e];Gn(e);for(var u=a;u.circle&&Lo(n-u.circle.x)<Vo&&Lo(r-u.circle.cy)<Vo;)a=u.P,s.unshift(u),Gn(u),u=a;s.unshift(u),Zn(u);for(var l=o;l.circle&&Lo(n-l.circle.x)<Vo&&Lo(r-l.circle.cy)<Vo;)o=l.N,s.push(l),Gn(l),l=o;s.push(l),Zn(l);var c,d=s.length;for(c=1;c<d;++c)l=s[c],u=s[c-1],ar(l.edge,u.site,l.site,i);u=s[0],l=s[d-1],l.edge=rr(u.site,l.site,null,i),Qn(u),Qn(l)}function zn(e){for(var t,n,r,i,a=e.x,o=e.y,s=lu._;s;)if(r=Bn(s,o)-a,r>Vo)s=s.L;else{if(i=a-qn(s,o),!(i>Vo)){r>-Vo?(t=s.P,n=s):i>-Vo?(t=s,n=s.N):t=n=s;break}if(!s.R){t=s;break}s=s.R}var u=Wn(e);if(lu.insert(t,u),t||n){if(t===n)return Zn(t),n=Wn(t.site),lu.insert(u,n),u.edge=n.edge=rr(t.site,u.site),Qn(t),void Qn(n);if(!n)return void(u.edge=rr(t.site,u.site));Zn(t),Zn(n);var l=t.site,c=l.x,d=l.y,f=e.x-c,h=e.y-d,p=n.site,m=p.x-c,_=p.y-d,g=2*(f*_-h*m),y=f*f+h*h,v=m*m+_*_,x={x:(_*y-h*v)/g+c,y:(f*v-m*y)/g+d};ar(n.edge,l,p,x),u.edge=rr(l,e,null,x),n.edge=rr(e,p,null,x),Qn(t),Qn(n)}}function Bn(e,t){var n=e.site,r=n.x,i=n.y,a=i-t;if(!a)return r;var o=e.P;if(!o)return-(1/0);n=o.site;var s=n.x,u=n.y,l=u-t;if(!l)return s;var c=s-r,d=1/a-1/l,f=c/l;return d?(-f+Math.sqrt(f*f-2*d*(c*c/(-2*l)-u+l/2+i-a/2)))/d+r:(r+s)/2}function qn(e,t){var n=e.N;if(n)return Bn(n,t);var r=e.site;return r.y===t?r.x:1/0}function Xn(e){this.site=e,this.edges=[]}function Kn(e){for(var t,n,r,i,a,o,s,u,l,c,d=e[0][0],f=e[1][0],h=e[0][1],p=e[1][1],m=uu,_=m.length;_--;)if(a=m[_],a&&a.prepare())for(s=a.edges,u=s.length,o=0;o<u;)c=s[o].end(),r=c.x,i=c.y,l=s[++o%u].start(),t=l.x,n=l.y,(Lo(r-t)>Vo||Lo(i-n)>Vo)&&(s.splice(o,0,new or(ir(a.site,c,Lo(r-d)<Vo&&p-i>Vo?{x:d,y:Lo(t-d)<Vo?n:p}:Lo(i-p)<Vo&&f-r>Vo?{x:Lo(n-p)<Vo?t:f,y:p}:Lo(r-f)<Vo&&i-h>Vo?{x:f,y:Lo(t-f)<Vo?n:h}:Lo(i-h)<Vo&&r-d>Vo?{x:Lo(n-h)<Vo?t:d,y:h}:null),a.site,null)),++u)}function Jn(e,t){return t.angle-e.angle}function $n(){ur(this),this.x=this.y=this.arc=this.site=this.cy=null}function Qn(e){var t=e.P,n=e.N;if(t&&n){var r=t.site,i=e.site,a=n.site;if(r!==a){var o=i.x,s=i.y,u=r.x-o,l=r.y-s,c=a.x-o,d=a.y-s,f=2*(u*d-l*c);if(!(f>=-Fo)){var h=u*u+l*l,p=c*c+d*d,m=(d*h-l*p)/f,_=(u*p-c*h)/f,d=_+s,g=hu.pop()||new $n;g.arc=e,g.site=i,g.x=m+o,g.y=d+Math.sqrt(m*m+_*_),g.cy=d,e.circle=g;for(var y=null,v=du._;v;)if(g.y<v.y||g.y===v.y&&g.x<=v.x){if(!v.L){y=v.P;break}v=v.L}else{if(!v.R){y=v;break}v=v.R}du.insert(y,g),y||(cu=g)}}}}function Zn(e){var t=e.circle;t&&(t.P||(cu=t.N),du.remove(t),hu.push(t),ur(t),e.circle=null)}function er(e){for(var t,n=su,r=qt(e[0][0],e[0][1],e[1][0],e[1][1]),i=n.length;i--;)t=n[i],(!tr(t,e)||!r(t)||Lo(t.a.x-t.b.x)<Vo&&Lo(t.a.y-t.b.y)<Vo)&&(t.a=t.b=null,n.splice(i,1))}function tr(e,t){var n=e.b;if(n)return!0;var r,i,a=e.a,o=t[0][0],s=t[1][0],u=t[0][1],l=t[1][1],c=e.l,d=e.r,f=c.x,h=c.y,p=d.x,m=d.y,_=(f+p)/2,g=(h+m)/2;if(m===h){if(_<o||_>=s)return;if(f>p){if(a){if(a.y>=l)return}else a={x:_,y:u};n={x:_,y:l}}else{if(a){if(a.y<u)return}else a={x:_,y:l};n={x:_,y:u}}}else if(r=(f-p)/(m-h),i=g-r*_,r<-1||r>1)if(f>p){if(a){if(a.y>=l)return}else a={x:(u-i)/r,y:u};n={x:(l-i)/r,y:l}}else{if(a){if(a.y<u)return}else a={x:(l-i)/r,y:l};n={x:(u-i)/r,y:u}}else if(h<m){if(a){if(a.x>=s)return}else a={x:o,y:r*o+i};n={x:s,y:r*s+i}}else{if(a){if(a.x<o)return}else a={x:s,y:r*s+i};n={x:o,y:r*o+i}}return e.a=a,e.b=n,!0}function nr(e,t){this.l=e,this.r=t,this.a=this.b=null}function rr(e,t,n,r){var i=new nr(e,t);return su.push(i),n&&ar(i,e,t,n),r&&ar(i,t,e,r),uu[e.i].edges.push(new or(i,e,t)),uu[t.i].edges.push(new or(i,t,e)),i}function ir(e,t,n){var r=new nr(e,null);return r.a=t,r.b=n,su.push(r),r}function ar(e,t,n,r){e.a||e.b?e.l===n?e.b=r:e.a=r:(e.a=r,e.l=t,e.r=n)}function or(e,t,n){var r=e.a,i=e.b;this.edge=e,this.site=t,this.angle=n?Math.atan2(n.y-t.y,n.x-t.x):e.l===t?Math.atan2(i.x-r.x,r.y-i.y):Math.atan2(r.x-i.x,i.y-r.y)}function sr(){this._=null}function ur(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function lr(e,t){var n=t,r=t.R,i=n.U;i?i.L===n?i.L=r:i.R=r:e._=r,r.U=i,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function cr(e,t){var n=t,r=t.L,i=n.U;i?i.L===n?i.L=r:i.R=r:e._=r,r.U=i,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function dr(e){for(;e.L;)e=e.L;return e}function fr(e,t){var n,r,i,a=e.sort(hr).pop();for(su=[],uu=new Array(e.length),lu=new sr,du=new sr;;)if(i=cu,a&&(!i||a.y<i.y||a.y===i.y&&a.x<i.x))a.x===n&&a.y===r||(uu[a.i]=new Xn(a),zn(a),n=a.x,r=a.y),a=e.pop();else{if(!i)break;Un(i.arc)}t&&(er(t),Kn(t));var o={cells:uu,edges:su};return lu=du=su=uu=null,o}function hr(e,t){return t.y-e.y||t.x-e.x}function pr(e,t,n){return(e.x-n.x)*(t.y-e.y)-(e.x-t.x)*(n.y-e.y)}function mr(e){return e.x}function _r(e){return e.y}function gr(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function yr(e,t,n,r,i,a){if(!e(t,n,r,i,a)){var o=.5*(n+i),s=.5*(r+a),u=t.nodes;u[0]&&yr(e,u[0],n,r,o,s),u[1]&&yr(e,u[1],o,r,i,s),u[2]&&yr(e,u[2],n,s,o,a),u[3]&&yr(e,u[3],o,s,i,a)}}function vr(e,t,n,r,i,a,o){var s,u=1/0;return function e(l,c,d,f,h){if(!(c>a||d>o||f<r||h<i)){if(p=l.point){var p,m=t-l.x,_=n-l.y,g=m*m+_*_;if(g<u){var y=Math.sqrt(u=g);r=t-y,i=n-y,a=t+y,o=n+y,s=p}}for(var v=l.nodes,x=.5*(c+f),b=.5*(d+h),M=t>=x,L=n>=b,S=L<<1|M,w=S+4;S<w;++S)if(l=v[3&S])switch(3&S){case 0:e(l,c,d,x,b);break;case 1:e(l,x,d,f,b);break;case 2:e(l,c,b,x,h);break;case 3:e(l,x,b,f,h)}}}(e,r,i,a,o),s}function xr(e,t){e=ho.rgb(e),t=ho.rgb(t);var n=e.r,r=e.g,i=e.b,a=t.r-n,o=t.g-r,s=t.b-i;return function(e){return"#"+we(Math.round(n+a*e))+we(Math.round(r+o*e))+we(Math.round(i+s*e))}}function br(e,t){var n,r={},i={};for(n in e)n in t?r[n]=Sr(e[n],t[n]):i[n]=e[n];for(n in t)n in e||(i[n]=t[n]);return function(e){for(n in r)i[n]=r[n](e);return i}}function Mr(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Lr(e,t){var n,r,i,a=mu.lastIndex=_u.lastIndex=0,o=-1,s=[],u=[];for(e+="",t+="";(n=mu.exec(e))&&(r=_u.exec(t));)(i=r.index)>a&&(i=t.slice(a,i),s[o]?s[o]+=i:s[++o]=i),(n=n[0])===(r=r[0])?s[o]?s[o]+=r:s[++o]=r:(s[++o]=null,u.push({i:o,x:Mr(n,r)})),a=_u.lastIndex;return a<t.length&&(i=t.slice(a),s[o]?s[o]+=i:s[++o]=i),s.length<2?u[0]?(t=u[0].x,function(e){return t(e)+""}):function(){return t}:(t=u.length,function(e){for(var n,r=0;r<t;++r)s[(n=u[r]).i]=n.x(e);return s.join("")})}function Sr(e,t){for(var n,r=ho.interpolators.length;--r>=0&&!(n=ho.interpolators[r](e,t)););return n}function wr(e,t){var n,r=[],i=[],a=e.length,o=t.length,s=Math.min(e.length,t.length);for(n=0;n<s;++n)r.push(Sr(e[n],t[n]));for(;n<a;++n)i[n]=e[n];for(;n<o;++n)i[n]=t[n];return function(e){for(n=0;n<s;++n)i[n]=r[n](e);return i}}function Tr(e){return function(t){return t<=0?0:t>=1?1:e(t)}}function kr(e){return function(t){return 1-e(1-t)}}function Dr(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function Yr(e){return e*e}function Er(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 Ar(e){return function(t){return Math.pow(t,e)}}function Cr(e){return 1-Math.cos(e*zo)}function Or(e){return Math.pow(2,10*(e-1))}function jr(e){return 1-Math.sqrt(1-e*e)}function Rr(e,t){var n;return arguments.length<2&&(t=.45),arguments.length?n=t/Go*Math.asin(1/e):(e=1,n=t/4),function(r){return 1+e*Math.pow(2,-10*r)*Math.sin((r-n)*Go/t)}}function Nr(e){return e||(e=1.70158),function(t){return t*t*((e+1)*t-e)}}function Hr(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 Ir(e,t){e=ho.hcl(e),t=ho.hcl(t);var n=e.h,r=e.c,i=e.l,a=t.h-n,o=t.c-r,s=t.l-i;return isNaN(o)&&(o=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 me(n+a*e,r+o*e,i+s*e)+""}}function Vr(e,t){e=ho.hsl(e),t=ho.hsl(t);var n=e.h,r=e.s,i=e.l,a=t.h-n,o=t.s-r,s=t.l-i;return isNaN(o)&&(o=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 he(n+a*e,r+o*e,i+s*e)+""}}function Fr(e,t){e=ho.lab(e),t=ho.lab(t);var n=e.l,r=e.a,i=e.b,a=t.l-n,o=t.a-r,s=t.b-i;return function(e){return ge(n+a*e,r+o*e,i+s*e)+""}}function Wr(e,t){return t-=e,function(n){return Math.round(e+t*n)}}function Gr(e){var t=[e.a,e.b],n=[e.c,e.d],r=zr(t),i=Ur(t,n),a=zr(Br(n,t,-i))||0;t[0]*n[1]<n[0]*t[1]&&(t[0]*=-1,t[1]*=-1,r*=-1,i*=-1),this.rotate=(r?Math.atan2(t[1],t[0]):Math.atan2(-n[0],n[1]))*qo,this.translate=[e.e,e.f],this.scale=[r,a],this.skew=a?Math.atan2(i,a)*qo:0}function Ur(e,t){return e[0]*t[0]+e[1]*t[1]}function zr(e){var t=Math.sqrt(Ur(e,e));return t&&(e[0]/=t,e[1]/=t),t}function Br(e,t,n){return e[0]+=n*t[0],e[1]+=n*t[1],e}function qr(e){return e.length?e.pop()+",":""}function Xr(e,t,n,r){if(e[0]!==t[0]||e[1]!==t[1]){var i=n.push("translate(",null,",",null,")");r.push({i:i-4,x:Mr(e[0],t[0])},{i:i-2,x:Mr(e[1],t[1])})}else(t[0]||t[1])&&n.push("translate("+t+")")}function Kr(e,t,n,r){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),r.push({i:n.push(qr(n)+"rotate(",null,")")-2,x:Mr(e,t)})):t&&n.push(qr(n)+"rotate("+t+")")}function Jr(e,t,n,r){e!==t?r.push({i:n.push(qr(n)+"skewX(",null,")")-2,x:Mr(e,t)}):t&&n.push(qr(n)+"skewX("+t+")")}function $r(e,t,n,r){if(e[0]!==t[0]||e[1]!==t[1]){var i=n.push(qr(n)+"scale(",null,",",null,")");r.push({i:i-4,x:Mr(e[0],t[0])},{i:i-2,x:Mr(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=ho.transform(e),t=ho.transform(t),Xr(e.translate,t.translate,n,r),Kr(e.rotate,t.rotate,n,r),Jr(e.skew,t.skew,n,r),$r(e.scale,t.scale,n,r),e=t=null,function(e){for(var t,i=-1,a=r.length;++i<a;)n[(t=r[i]).i]=t.x(e);return n.join("")}}function Zr(e,t){return t=(t-=e=+e)||1/t,function(n){return(n-e)/t}}function ei(e,t){return t=(t-=e=+e)||1/t,function(n){return Math.max(0,Math.min(1,(n-e)/t))}}function ti(e){for(var t=e.source,n=e.target,r=ri(t,n),i=[t];t!==r;)t=t.parent,i.push(t);for(var a=i.length;n!==r;)i.splice(a,0,n),n=n.parent;return i}function ni(e){for(var t=[],n=e.parent;null!=n;)t.push(e),e=n,n=n.parent;return t.push(e),t}function ri(e,t){if(e===t)return e;for(var n=ni(e),r=ni(t),i=n.pop(),a=r.pop(),o=null;i===a;)o=i,i=n.pop(),a=r.pop();return o}function ii(e){e.fixed|=2}function ai(e){e.fixed&=-7}function oi(e){e.fixed|=4,e.px=e.x,e.py=e.y}function si(e){e.fixed&=-5}function ui(e,t,n){var r=0,i=0;if(e.charge=0,!e.leaf)for(var a,o=e.nodes,s=o.length,u=-1;++u<s;)a=o[u],null!=a&&(ui(a,t,n),e.charge+=a.charge,r+=a.charge*a.cx,i+=a.charge*a.cy);if(e.point){e.leaf||(e.point.x+=Math.random()-.5,e.point.y+=Math.random()-.5);var l=t*n[e.point.index];e.charge+=e.pointCharge=l,r+=l*e.point.x,i+=l*e.point.y}e.cx=r/e.charge,e.cy=i/e.charge}function li(e,t){return ho.rebind(e,t,"sort","children","value"),e.nodes=e,e.links=mi,e}function ci(e,t){for(var n=[e];null!=(e=n.pop());)if(t(e),(i=e.children)&&(r=i.length))for(var r,i;--r>=0;)n.push(i[r])}function di(e,t){for(var n=[e],r=[];null!=(e=n.pop());)if(r.push(e),(a=e.children)&&(i=a.length))for(var i,a,o=-1;++o<i;)n.push(a[o]);for(;null!=(e=r.pop());)t(e)}function fi(e){return e.children}function hi(e){return e.value}function pi(e,t){return t.value-e.value}function mi(e){return ho.merge(e.map(function(e){return(e.children||[]).map(function(t){return{source:e,target:t}})}))}function _i(e){return e.x}function gi(e){return e.y}function yi(e,t,n){e.y0=t,e.y=n}function vi(e){return ho.range(e.length)}function xi(e){for(var t=-1,n=e[0].length,r=[];++t<n;)r[t]=0;return r}function bi(e){for(var t,n=1,r=0,i=e[0][1],a=e.length;n<a;++n)(t=e[n][1])>i&&(r=n,i=t);return r}function Mi(e){return e.reduce(Li,0)}function Li(e,t){return e+t[1]}function Si(e,t){return wi(e,Math.ceil(Math.log(t.length)/Math.LN2+1))}function wi(e,t){for(var n=-1,r=+e[0],i=(e[1]-r)/t,a=[];++n<=t;)a[n]=i*n+r;return a}function Ti(e){return[ho.min(e),ho.max(e)]}function ki(e,t){return e.value-t.value}function Di(e,t){var n=e._pack_next;e._pack_next=t,t._pack_prev=e,t._pack_next=n,n._pack_prev=t}function Yi(e,t){e._pack_next=t,t._pack_prev=e}function Ei(e,t){var n=t.x-e.x,r=t.y-e.y,i=e.r+t.r;return.999*i*i>n*n+r*r}function Pi(e){function t(e){c=Math.min(e.x-e.r,c),d=Math.max(e.x+e.r,d),f=Math.min(e.y-e.r,f),h=Math.max(e.y+e.r,h)}if((n=e.children)&&(l=n.length)){var n,r,i,a,o,s,u,l,c=1/0,d=-(1/0),f=1/0,h=-(1/0);if(n.forEach(Ai),r=n[0],r.x=-r.r,r.y=0,t(r),l>1&&(i=n[1],i.x=i.r,i.y=0,t(i),l>2))for(a=n[2],ji(r,i,a),t(a),Di(r,a),r._pack_prev=a,Di(a,i),i=r._pack_next,o=3;o<l;o++){ji(r,i,a=n[o]);var p=0,m=1,_=1;for(s=i._pack_next;s!==i;s=s._pack_next,m++)if(Ei(s,a)){p=1;break}if(1==p)for(u=r._pack_prev;u!==s._pack_prev&&!Ei(u,a);u=u._pack_prev,_++);p?(m<_||m==_&&i.r<r.r?Yi(r,i=s):Yi(r=u,i),o--):(Di(r,a),i=a,t(a))}var g=(c+d)/2,y=(f+h)/2,v=0;for(o=0;o<l;o++)a=n[o],a.x-=g,a.y-=y,v=Math.max(v,a.r+Math.sqrt(a.x*a.x+a.y*a.y));e.r=v,n.forEach(Ci)}}function Ai(e){e._pack_next=e._pack_prev=e}function Ci(e){delete e._pack_next,delete e._pack_prev}function Oi(e,t,n,r){var i=e.children;if(e.x=t+=r*e.x,e.y=n+=r*e.y,e.r*=r,i)for(var a=-1,o=i.length;++a<o;)Oi(i[a],t,n,r)}function ji(e,t,n){var r=e.r+n.r,i=t.x-e.x,a=t.y-e.y;if(r&&(i||a)){var o=t.r+n.r,s=i*i+a*a;o*=o,r*=r;var u=.5+(r-o)/(2*s),l=Math.sqrt(Math.max(0,2*o*(r+s)-(r-=s)*r-o*o))/(2*s);n.x=e.x+u*i+l*a,n.y=e.y+u*a-l*i}else n.x=e.x+r,n.y=e.y}function Ri(e,t){return e.parent==t.parent?1:2}function Ni(e){var t=e.children;return t.length?t[0]:e.t}function Hi(e){var t,n=e.children;return(t=n.length)?n[t-1]:e.t}function Ii(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function Vi(e){for(var t,n=0,r=0,i=e.children,a=i.length;--a>=0;)t=i[a],t.z+=n,t.m+=n,n+=t.s+(r+=t.c)}function Fi(e,t,n){return e.a.parent===t.parent?e.a:n}function Wi(e){return 1+ho.max(e,function(e){return e.y})}function Gi(e){return e.reduce(function(e,t){return e+t.x},0)/e.length}function Ui(e){var t=e.children;return t&&t.length?Ui(t[0]):e}function zi(e){var t,n=e.children;return n&&(t=n.length)?zi(n[t-1]):e}function Bi(e){return{x:e.x,y:e.y,dx:e.dx,dy:e.dy}}function qi(e,t){var n=e.x+t[3],r=e.y+t[0],i=e.dx-t[1]-t[3],a=e.dy-t[0]-t[2];return i<0&&(n+=i/2,i=0),a<0&&(r+=a/2,a=0),{x:n,y:r,dx:i,dy:a}}function Xi(e){var t=e[0],n=e[e.length-1];return t<n?[t,n]:[n,t]}function Ki(e){return e.rangeExtent?e.rangeExtent():Xi(e.range())}function Ji(e,t,n,r){var i=n(e[0],e[1]),a=r(t[0],t[1]);return function(e){return a(i(e))}}function $i(e,t){var n,r=0,i=e.length-1,a=e[r],o=e[i];return o<a&&(n=r,r=i,i=n,n=a,a=o,o=n),e[r]=t.floor(a),e[i]=t.ceil(o),e}function Qi(e){return e?{floor:function(t){return Math.floor(t/e)*e},ceil:function(t){return Math.ceil(t/e)*e}}:ku}function Zi(e,t,n,r){var i=[],a=[],o=0,s=Math.min(e.length,t.length)-1;for(e[s]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<=s;)i.push(n(e[o-1],e[o])),a.push(r(t[o-1],t[o]));return function(t){var n=ho.bisect(e,t,1,s)-1;return a[n](i[n](t))}}function ea(e,t,n,r){function i(){var i=Math.min(e.length,t.length)>2?Zi:Ji,u=r?ei:Zr;return o=i(e,t,u,n),s=i(t,e,u,Sr),a}function a(e){return o(e)}var o,s;return a.invert=function(e){return s(e)},a.domain=function(t){return arguments.length?(e=t.map(Number),i()):e},a.range=function(e){return arguments.length?(t=e,i()):t},a.rangeRound=function(e){return a.range(e).interpolate(Wr)},a.clamp=function(e){return arguments.length?(r=e,i()):r},a.interpolate=function(e){return arguments.length?(n=e,i()):n},a.ticks=function(t){return ia(e,t)},a.tickFormat=function(t,n){return aa(e,t,n)},a.nice=function(t){return na(e,t),i()},a.copy=function(){return ea(e,t,n,r)},i()}function ta(e,t){return ho.rebind(e,t,"range","rangeRound","interpolate","clamp")}function na(e,t){return $i(e,Qi(ra(e,t)[2])),$i(e,Qi(ra(e,t)[2])),e}function ra(e,t){null==t&&(t=10);var n=Xi(e),r=n[1]-n[0],i=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),a=t/r*i;return a<=.15?i*=10:a<=.35?i*=5:a<=.75&&(i*=2),n[0]=Math.ceil(n[0]/i)*i,n[1]=Math.floor(n[1]/i)*i+.5*i,n[2]=i,n}function ia(e,t){return ho.range.apply(ho,ra(e,t))}function aa(e,t,n){var r=ra(e,t);if(n){var i=ms.exec(n);if(i.shift(),"s"===i[8]){var a=ho.formatPrefix(Math.max(Lo(r[0]),Lo(r[1])));return i[7]||(i[7]="."+oa(a.scale(r[2]))),i[8]="f",n=ho.format(i.join("")),function(e){return n(a.scale(e))+a.symbol}}i[7]||(i[7]="."+sa(i[8],r)),n=i.join("")}else n=",."+oa(r[2])+"f";return ho.format(n)}function oa(e){return-Math.floor(Math.log(e)/Math.LN10+.01)}function sa(e,t){var n=oa(t[2]);return e in Du?Math.abs(n-oa(Math.max(Lo(t[0]),Lo(t[1]))))+ +("e"!==e):n-2*("%"===e)}function ua(e,t,n,r){function i(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 o(t){return e(i(t))}return o.invert=function(t){return a(e.invert(t))},o.domain=function(t){return arguments.length?(n=t[0]>=0,e.domain((r=t.map(Number)).map(i)),o):r},o.base=function(n){return arguments.length?(t=+n,e.domain(r.map(i)),o):t},o.nice=function(){var t=$i(r.map(i),n?Math:Eu);return e.domain(t),r=t.map(a),o},o.ticks=function(){var e=Xi(r),o=[],s=e[0],u=e[1],l=Math.floor(i(s)),c=Math.ceil(i(u)),d=t%1?2:t;if(isFinite(c-l)){if(n){for(;l<c;l++)for(var f=1;f<d;f++)o.push(a(l)*f);o.push(a(l))}else for(o.push(a(l));l++<c;)for(var f=d-1;f>0;f--)o.push(a(l)*f);for(l=0;o[l]<s;l++);for(c=o.length;o[c-1]>u;c--);o=o.slice(l,c)}return o},o.tickFormat=function(e,n){if(!arguments.length)return Yu;arguments.length<2?n=Yu:"function"!=typeof n&&(n=ho.format(n));var r=Math.max(1,t*e/o.ticks().length);return function(e){var o=e/a(Math.round(i(e)));return o*t<t-.5&&(o*=t),o<=r?n(e):""}},o.copy=function(){return ua(e.copy(),t,n,r)},ta(o,e)}function la(e,t,n){function r(t){return e(i(t))}var i=ca(t),a=ca(1/t);return r.invert=function(t){return a(e.invert(t))},r.domain=function(t){return arguments.length?(e.domain((n=t.map(Number)).map(i)),r):n},r.ticks=function(e){return ia(n,e)},r.tickFormat=function(e,t){return aa(n,e,t)},r.nice=function(e){return r.domain(na(n,e))},r.exponent=function(o){return arguments.length?(i=ca(t=o),a=ca(1/t),e.domain(n.map(i)),r):t},r.copy=function(){return la(e.copy(),t,n)},ta(r,e)}function ca(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function da(e,t){function n(n){return a[((i.get(n)||("range"===t.t?i.set(n,e.push(n)):NaN))-1)%a.length]}function r(t,n){return ho.range(e.length).map(function(e){return t+n*e})}var i,a,o;return n.domain=function(r){if(!arguments.length)return e;e=[],i=new p;for(var a,o=-1,s=r.length;++o<s;)i.has(a=r[o])||i.set(a,e.push(a));return n[t.t].apply(n,t.a)},n.range=function(e){return arguments.length?(a=e,o=0,t={t:"range",a:arguments},n):a},n.rangePoints=function(i,s){arguments.length<2&&(s=0);var u=i[0],l=i[1],c=e.length<2?(u=(u+l)/2,0):(l-u)/(e.length-1+s);return a=r(u+c*s/2,c),o=0,t={t:"rangePoints",a:arguments},n},n.rangeRoundPoints=function(i,s){arguments.length<2&&(s=0);var u=i[0],l=i[1],c=e.length<2?(u=l=Math.round((u+l)/2),0):(l-u)/(e.length-1+s)|0;return a=r(u+Math.round(c*s/2+(l-u-(e.length-1+s)*c)/2),c),o=0,t={t:"rangeRoundPoints",a:arguments},n},n.rangeBands=function(i,s,u){arguments.length<2&&(s=0),arguments.length<3&&(u=s);var l=i[1]<i[0],c=i[l-0],d=i[1-l],f=(d-c)/(e.length-s+2*u);return a=r(c+f*u,f),l&&a.reverse(),o=f*(1-s),t={t:"rangeBands",a:arguments},n},n.rangeRoundBands=function(i,s,u){
arguments.length<2&&(s=0),arguments.length<3&&(u=s);var l=i[1]<i[0],c=i[l-0],d=i[1-l],f=Math.floor((d-c)/(e.length-s+2*u));return a=r(c+Math.round((d-c-(e.length-s)*f)/2),f),l&&a.reverse(),o=Math.round(f*(1-s)),t={t:"rangeRoundBands",a:arguments},n},n.rangeBand=function(){return o},n.rangeExtent=function(){return Xi(t.a[0])},n.copy=function(){return da(e,t)},n.domain(e)}function fa(e,t){function n(){var n=0,a=t.length;for(i=[];++n<a;)i[n-1]=ho.quantile(e,n/a);return r}function r(e){if(!isNaN(e=+e))return t[ho.bisect(i,e)]}var i;return r.domain=function(t){return arguments.length?(e=t.map(u).filter(l).sort(s),n()):e},r.range=function(e){return arguments.length?(t=e,n()):t},r.quantiles=function(){return i},r.invertExtent=function(n){return n=t.indexOf(n),n<0?[NaN,NaN]:[n>0?i[n-1]:e[0],n<i.length?i[n]:e[e.length-1]]},r.copy=function(){return fa(e,t)},n()}function ha(e,t,n){function r(t){return n[Math.max(0,Math.min(o,Math.floor(a*(t-e))))]}function i(){return a=n.length/(t-e),o=n.length-1,r}var a,o;return r.domain=function(n){return arguments.length?(e=+n[0],t=+n[n.length-1],i()):[e,t]},r.range=function(e){return arguments.length?(n=e,i()):n},r.invertExtent=function(t){return t=n.indexOf(t),t=t<0?NaN:t/a+e,[t,t+1/a]},r.copy=function(){return ha(e,t,n)},i()}function pa(e,t){function n(n){if(n<=n)return t[ho.bisect(e,n)]}return n.domain=function(t){return arguments.length?(e=t,n):e},n.range=function(e){return arguments.length?(t=e,n):t},n.invertExtent=function(n){return n=t.indexOf(n),[e[n-1],e[n]]},n.copy=function(){return pa(e,t)},n}function ma(e){function t(e){return+e}return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=n.map(t),t):e},t.ticks=function(t){return ia(e,t)},t.tickFormat=function(t,n){return aa(e,t,n)},t.copy=function(){return ma(e)},t}function _a(){return 0}function ga(e){return e.innerRadius}function ya(e){return e.outerRadius}function va(e){return e.startAngle}function xa(e){return e.endAngle}function ba(e){return e&&e.padAngle}function Ma(e,t,n,r){return(e-n)*t-(t-r)*e>0?0:1}function La(e,t,n,r,i){var a=e[0]-t[0],o=e[1]-t[1],s=(i?r:-r)/Math.sqrt(a*a+o*o),u=s*o,l=-s*a,c=e[0]+u,d=e[1]+l,f=t[0]+u,h=t[1]+l,p=(c+f)/2,m=(d+h)/2,_=f-c,g=h-d,y=_*_+g*g,v=n-r,x=c*h-f*d,b=(g<0?-1:1)*Math.sqrt(Math.max(0,v*v*y-x*x)),M=(x*g-_*b)/y,L=(-x*_-g*b)/y,S=(x*g+_*b)/y,w=(-x*_+g*b)/y,T=M-p,k=L-m,D=S-p,Y=w-m;return T*T+k*k>D*D+Y*Y&&(M=S,L=w),[[M-u,L-l],[M*n/v,L*n/v]]}function Sa(e){function t(t){function o(){l.push("M",a(e(c),s))}for(var u,l=[],c=[],d=-1,f=t.length,h=Pe(n),p=Pe(r);++d<f;)i.call(this,u=t[d],d)?c.push([+h.call(this,u,d),+p.call(this,u,d)]):c.length&&(o(),c=[]);return c.length&&o(),l.length?l.join(""):null}var n=On,r=jn,i=Ot,a=wa,o=a.key,s=.7;return t.x=function(e){return arguments.length?(n=e,t):n},t.y=function(e){return arguments.length?(r=e,t):r},t.defined=function(e){return arguments.length?(i=e,t):i},t.interpolate=function(e){return arguments.length?(o="function"==typeof e?a=e:(a=Ru.get(e)||wa).key,t):o},t.tension=function(e){return arguments.length?(s=e,t):s},t}function wa(e){return e.length>1?e.join("L"):e+"Z"}function Ta(e){return e.join("L")+"Z"}function ka(e){for(var t=0,n=e.length,r=e[0],i=[r[0],",",r[1]];++t<n;)i.push("H",(r[0]+(r=e[t])[0])/2,"V",r[1]);return n>1&&i.push("H",r[0]),i.join("")}function Da(e){for(var t=0,n=e.length,r=e[0],i=[r[0],",",r[1]];++t<n;)i.push("V",(r=e[t])[1],"H",r[0]);return i.join("")}function Ya(e){for(var t=0,n=e.length,r=e[0],i=[r[0],",",r[1]];++t<n;)i.push("H",(r=e[t])[0],"V",r[1]);return i.join("")}function Ea(e,t){return e.length<4?wa(e):e[1]+Ca(e.slice(1,-1),Oa(e,t))}function Pa(e,t){return e.length<3?Ta(e):e[0]+Ca((e.push(e[0]),e),Oa([e[e.length-2]].concat(e,[e[1]]),t))}function Aa(e,t){return e.length<3?wa(e):e[0]+Ca(e,Oa(e,t))}function Ca(e,t){if(t.length<1||e.length!=t.length&&e.length!=t.length+2)return wa(e);var n=e.length!=t.length,r="",i=e[0],a=e[1],o=t[0],s=o,u=1;if(n&&(r+="Q"+(a[0]-2*o[0]/3)+","+(a[1]-2*o[1]/3)+","+a[0]+","+a[1],i=e[1],u=2),t.length>1){s=t[1],a=e[u],u++,r+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(a[0]-s[0])+","+(a[1]-s[1])+","+a[0]+","+a[1];for(var l=2;l<t.length;l++,u++)a=e[u],s=t[l],r+="S"+(a[0]-s[0])+","+(a[1]-s[1])+","+a[0]+","+a[1]}if(n){var c=e[u];r+="Q"+(a[0]+2*s[0]/3)+","+(a[1]+2*s[1]/3)+","+c[0]+","+c[1]}return r}function Oa(e,t){for(var n,r=[],i=(1-t)/2,a=e[0],o=e[1],s=1,u=e.length;++s<u;)n=a,a=o,o=e[s],r.push([i*(o[0]-n[0]),i*(o[1]-n[1])]);return r}function ja(e){if(e.length<3)return wa(e);var t=1,n=e.length,r=e[0],i=r[0],a=r[1],o=[i,i,i,(r=e[1])[0]],s=[a,a,a,r[1]],u=[i,",",a,"L",Ia(Iu,o),",",Ia(Iu,s)];for(e.push(e[n-1]);++t<=n;)r=e[t],o.shift(),o.push(r[0]),s.shift(),s.push(r[1]),Va(u,o,s);return e.pop(),u.push("L",r),u.join("")}function Ra(e){if(e.length<4)return wa(e);for(var t,n=[],r=-1,i=e.length,a=[0],o=[0];++r<3;)t=e[r],a.push(t[0]),o.push(t[1]);for(n.push(Ia(Iu,a)+","+Ia(Iu,o)),--r;++r<i;)t=e[r],a.shift(),a.push(t[0]),o.shift(),o.push(t[1]),Va(n,a,o);return n.join("")}function Na(e){for(var t,n,r=-1,i=e.length,a=i+4,o=[],s=[];++r<4;)n=e[r%i],o.push(n[0]),s.push(n[1]);for(t=[Ia(Iu,o),",",Ia(Iu,s)],--r;++r<a;)n=e[r%i],o.shift(),o.push(n[0]),s.shift(),s.push(n[1]),Va(t,o,s);return t.join("")}function Ha(e,t){var n=e.length-1;if(n)for(var r,i,a=e[0][0],o=e[0][1],s=e[n][0]-a,u=e[n][1]-o,l=-1;++l<=n;)r=e[l],i=l/n,r[0]=t*r[0]+(1-t)*(a+i*s),r[1]=t*r[1]+(1-t)*(o+i*u);return ja(e)}function Ia(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}function Va(e,t,n){e.push("C",Ia(Nu,t),",",Ia(Nu,n),",",Ia(Hu,t),",",Ia(Hu,n),",",Ia(Iu,t),",",Ia(Iu,n))}function Fa(e,t){return(t[1]-e[1])/(t[0]-e[0])}function Wa(e){for(var t=0,n=e.length-1,r=[],i=e[0],a=e[1],o=r[0]=Fa(i,a);++t<n;)r[t]=(o+(o=Fa(i=a,a=e[t+1])))/2;return r[t]=o,r}function Ga(e){for(var t,n,r,i,a=[],o=Wa(e),s=-1,u=e.length-1;++s<u;)t=Fa(e[s],e[s+1]),Lo(t)<Vo?o[s]=o[s+1]=0:(n=o[s]/t,r=o[s+1]/t,i=n*n+r*r,i>9&&(i=3*t/Math.sqrt(i),o[s]=i*n,o[s+1]=i*r));for(s=-1;++s<=u;)i=(e[Math.min(u,s+1)][0]-e[Math.max(0,s-1)][0])/(6*(1+o[s]*o[s])),a.push([i||0,o[s]*i||0]);return a}function Ua(e){return e.length<3?wa(e):e[0]+Ca(e,Ga(e))}function za(e){for(var t,n,r,i=-1,a=e.length;++i<a;)t=e[i],n=t[0],r=t[1]-zo,t[0]=n*Math.cos(r),t[1]=n*Math.sin(r);return e}function Ba(e){function t(t){function u(){m.push("M",s(e(g),d),c,l(e(_.reverse()),d),"Z")}for(var f,h,p,m=[],_=[],g=[],y=-1,v=t.length,x=Pe(n),b=Pe(i),M=n===r?function(){return h}:Pe(r),L=i===a?function(){return p}:Pe(a);++y<v;)o.call(this,f=t[y],y)?(_.push([h=+x.call(this,f,y),p=+b.call(this,f,y)]),g.push([+M.call(this,f,y),+L.call(this,f,y)])):_.length&&(u(),_=[],g=[]);return _.length&&u(),m.length?m.join(""):null}var n=On,r=On,i=0,a=jn,o=Ot,s=wa,u=s.key,l=s,c="L",d=.7;return t.x=function(e){return arguments.length?(n=r=e,t):r},t.x0=function(e){return arguments.length?(n=e,t):n},t.x1=function(e){return arguments.length?(r=e,t):r},t.y=function(e){return arguments.length?(i=a=e,t):a},t.y0=function(e){return arguments.length?(i=e,t):i},t.y1=function(e){return arguments.length?(a=e,t):a},t.defined=function(e){return arguments.length?(o=e,t):o},t.interpolate=function(e){return arguments.length?(u="function"==typeof e?s=e:(s=Ru.get(e)||wa).key,l=s.reverse||s,c=s.closed?"M":"L",t):u},t.tension=function(e){return arguments.length?(d=e,t):d},t}function qa(e){return e.radius}function Xa(e){return[e.x,e.y]}function Ka(e){return function(){var t=e.apply(this,arguments),n=t[0],r=t[1]-zo;return[n*Math.cos(r),n*Math.sin(r)]}}function Ja(){return 64}function $a(){return"circle"}function Qa(e){var t=Math.sqrt(e/Wo);return"M0,"+t+"A"+t+","+t+" 0 1,1 0,"+-t+"A"+t+","+t+" 0 1,1 0,"+t+"Z"}function Za(e){return function(){var t,n,r;(t=this[e])&&(r=t[n=t.active])&&(r.timer.c=null,r.timer.t=NaN,--t.count?delete t[n]:delete this[e],t.active+=.5,r.event&&r.event.interrupt.call(this,this.__data__,r.index))}}function eo(e,t,n){return Do(e,Bu),e.namespace=t,e.id=n,e}function to(e,t,n,r){var i=e.id,a=e.namespace;return X(e,"function"==typeof n?function(e,o,s){e[a][i].tween.set(t,r(n.call(e,e.__data__,o,s)))}:(n=r(n),function(e){e[a][i].tween.set(t,n)}))}function no(e){return null==e&&(e=""),function(){this.textContent=e}}function ro(e){return null==e?"__transition__":"__transition_"+e+"__"}function io(e,t,n,r,i){function a(e){var t=m.delay;return l.t=t+u,t<=e?o(e-t):void(l.c=o)}function o(n){var i=h.active,a=h[i];a&&(a.timer.c=null,a.timer.t=NaN,--h.count,delete h[i],a.event&&a.event.interrupt.call(e,e.__data__,a.index));for(var o in h)if(+o<r){var p=h[o];p.timer.c=null,p.timer.t=NaN,--h.count,delete h[o]}l.c=s,Re(function(){return l.c&&s(n||1)&&(l.c=null,l.t=NaN),1},0,u),h.active=r,m.event&&m.event.start.call(e,e.__data__,t),f=[],m.tween.forEach(function(n,r){(r=r.call(e,e.__data__,t))&&f.push(r)}),d=m.ease,c=m.duration}function s(i){for(var a=i/c,o=d(a),s=f.length;s>0;)f[--s].call(e,o);if(a>=1)return m.event&&m.event.end.call(e,e.__data__,t),--h.count?delete h[r]:delete e[n],1}var u,l,c,d,f,h=e[n]||(e[n]={active:0,count:0}),m=h[r];m||(u=i.time,l=Re(a,0,u),m=h[r]={tween:new p,time:u,timer:l,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++h.count)}function ao(e,t,n){e.attr("transform",function(e){var r=t(e);return"translate("+(isFinite(r)?r:n(e))+",0)"})}function oo(e,t,n){e.attr("transform",function(e){var r=t(e);return"translate(0,"+(isFinite(r)?r:n(e))+")"})}function so(e){return e.toISOString()}function uo(e,t,n){function r(t){return e(t)}function i(e,n){var r=e[1]-e[0],i=r/n,a=ho.bisect(tl,i);return a==tl.length?[t.year,ra(e.map(function(e){return e/31536e6}),n)[2]]:a?t[i/tl[a-1]<tl[a]/i?a-1:a]:[il,ra(e,n)[2]]}return r.invert=function(t){return lo(e.invert(t))},r.domain=function(t){return arguments.length?(e.domain(t),r):e.domain().map(lo)},r.nice=function(e,t){function n(n){return!isNaN(n)&&!e.range(n,lo(+n+1),t).length}var a=r.domain(),o=Xi(a),s=null==e?i(o,10):"number"==typeof e&&i(o,e);return s&&(e=s[0],t=s[1]),r.domain($i(a,t>1?{floor:function(t){for(;n(t=e.floor(t));)t=lo(t-1);return t},ceil:function(t){for(;n(t=e.ceil(t));)t=lo(+t+1);return t}}:e))},r.ticks=function(e,t){var n=Xi(r.domain()),a=null==e?i(n,10):"number"==typeof e?i(n,e):!e.range&&[{range:e},t];return a&&(e=a[0],t=a[1]),e.range(n[0],lo(+n[1]+1),t<1?1:t)},r.tickFormat=function(){return n},r.copy=function(){return uo(e.copy(),t,n)},ta(r,e)}function lo(e){return new Date(e)}function co(e){return JSON.parse(e.responseText)}function fo(e){var t=_o.createRange();return t.selectNode(_o.body),t.createContextualFragment(e.responseText)}var ho={version:"3.5.17"},po=[].slice,mo=function(e){return po.call(e)},_o=this.document;if(_o)try{mo(_o.documentElement.childNodes)[0].nodeType}catch(e){mo=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}),_o)try{_o.createElement("DIV").style.setProperty("opacity",0,"")}catch(e){var go=this.Element.prototype,yo=go.setAttribute,vo=go.setAttributeNS,xo=this.CSSStyleDeclaration.prototype,bo=xo.setProperty;go.setAttribute=function(e,t){yo.call(this,e,t+"")},go.setAttributeNS=function(e,t,n){vo.call(this,e,t,n+"")},xo.setProperty=function(e,t,n){bo.call(this,e,t+"",n)}}ho.ascending=s,ho.descending=function(e,t){return t<e?-1:t>e?1:t>=e?0:NaN},ho.min=function(e,t){var n,r,i=-1,a=e.length;if(1===arguments.length){for(;++i<a;)if(null!=(r=e[i])&&r>=r){n=r;break}for(;++i<a;)null!=(r=e[i])&&n>r&&(n=r)}else{for(;++i<a;)if(null!=(r=t.call(e,e[i],i))&&r>=r){n=r;break}for(;++i<a;)null!=(r=t.call(e,e[i],i))&&n>r&&(n=r)}return n},ho.max=function(e,t){var n,r,i=-1,a=e.length;if(1===arguments.length){for(;++i<a;)if(null!=(r=e[i])&&r>=r){n=r;break}for(;++i<a;)null!=(r=e[i])&&r>n&&(n=r)}else{for(;++i<a;)if(null!=(r=t.call(e,e[i],i))&&r>=r){n=r;break}for(;++i<a;)null!=(r=t.call(e,e[i],i))&&r>n&&(n=r)}return n},ho.extent=function(e,t){var n,r,i,a=-1,o=e.length;if(1===arguments.length){for(;++a<o;)if(null!=(r=e[a])&&r>=r){n=i=r;break}for(;++a<o;)null!=(r=e[a])&&(n>r&&(n=r),i<r&&(i=r))}else{for(;++a<o;)if(null!=(r=t.call(e,e[a],a))&&r>=r){n=i=r;break}for(;++a<o;)null!=(r=t.call(e,e[a],a))&&(n>r&&(n=r),i<r&&(i=r))}return[n,i]},ho.sum=function(e,t){var n,r=0,i=e.length,a=-1;if(1===arguments.length)for(;++a<i;)l(n=+e[a])&&(r+=n);else for(;++a<i;)l(n=+t.call(e,e[a],a))&&(r+=n);return r},ho.mean=function(e,t){var n,r=0,i=e.length,a=-1,o=i;if(1===arguments.length)for(;++a<i;)l(n=u(e[a]))?r+=n:--o;else for(;++a<i;)l(n=u(t.call(e,e[a],a)))?r+=n:--o;if(o)return r/o},ho.quantile=function(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),i=+e[r-1],a=n-r;return a?i+a*(e[r]-i):i},ho.median=function(e,t){var n,r=[],i=e.length,a=-1;if(1===arguments.length)for(;++a<i;)l(n=u(e[a]))&&r.push(n);else for(;++a<i;)l(n=u(t.call(e,e[a],a)))&&r.push(n);if(r.length)return ho.quantile(r.sort(s),.5)},ho.variance=function(e,t){var n,r,i=e.length,a=0,o=0,s=-1,c=0;if(1===arguments.length)for(;++s<i;)l(n=u(e[s]))&&(r=n-a,a+=r/++c,o+=r*(n-a));else for(;++s<i;)l(n=u(t.call(e,e[s],s)))&&(r=n-a,a+=r/++c,o+=r*(n-a));if(c>1)return o/(c-1)},ho.deviation=function(){var e=ho.variance.apply(this,arguments);return e?Math.sqrt(e):e};var Mo=c(s);ho.bisectLeft=Mo.left,ho.bisect=ho.bisectRight=Mo.right,ho.bisector=function(e){return c(1===e.length?function(t,n){return s(e(t),n)}:e)},ho.shuffle=function(e,t,n){(a=arguments.length)<3&&(n=e.length,a<2&&(t=0));for(var r,i,a=n-t;a;)i=Math.random()*a--|0,r=e[a+t],e[a+t]=e[i+t],e[i+t]=r;return e},ho.permute=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r},ho.pairs=function(e){for(var t,n=0,r=e.length-1,i=e[0],a=new Array(r<0?0:r);n<r;)a[n]=[t=i,i=e[++n]];return a},ho.transpose=function(e){if(!(i=e.length))return[];for(var t=-1,n=ho.min(e,d),r=new Array(n);++t<n;)for(var i,a=-1,o=r[t]=new Array(i);++a<i;)o[a]=e[a][t];return r},ho.zip=function(){return ho.transpose(arguments)},ho.keys=function(e){var t=[];for(var n in e)t.push(n);return t},ho.values=function(e){var t=[];for(var n in e)t.push(e[n]);return t},ho.entries=function(e){var t=[];for(var n in e)t.push({key:n,value:e[n]});return t},ho.merge=function(e){for(var t,n,r,i=e.length,a=-1,o=0;++a<i;)o+=e[a].length;for(n=new Array(o);--i>=0;)for(r=e[i],t=r.length;--t>=0;)n[--o]=r[t];return n};var Lo=Math.abs;ho.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,i=[],a=f(Lo(n)),o=-1;if(e*=a,t*=a,n*=a,n<0)for(;(r=e+n*++o)>t;)i.push(r/a);else for(;(r=e+n*++o)<t;)i.push(r/a);return i},ho.map=function(e,t){var n=new p;if(e instanceof p)e.forEach(function(e,t){n.set(e,t)});else if(Array.isArray(e)){var r,i=-1,a=e.length;if(1===arguments.length)for(;++i<a;)n.set(i,e[i]);else for(;++i<a;)n.set(t.call(e,r=e[i],i),r)}else for(var o in e)n.set(o,e[o]);return n};var So="__proto__",wo="\0";h(p,{has:g,get:function(e){return this._[m(e)]},set:function(e,t){return this._[m(e)]=t},remove:y,keys:v,values:function(){var e=[];for(var t in this._)e.push(this._[t]);return e},entries:function(){var e=[];for(var t in this._)e.push({key:_(t),value:this._[t]});return e},size:x,empty:b,forEach:function(e){for(var t in this._)e.call(this,_(t),this._[t])}}),ho.nest=function(){function e(t,o,s){if(s>=a.length)return r?r.call(i,o):n?o.sort(n):o;for(var u,l,c,d,f=-1,h=o.length,m=a[s++],_=new p;++f<h;)(d=_.get(u=m(l=o[f])))?d.push(l):_.set(u,[l]);return t?(l=t(),c=function(n,r){l.set(n,e(t,r,s))}):(l={},c=function(n,r){l[n]=e(t,r,s)}),_.forEach(c),l}function t(e,n){if(n>=a.length)return e;var r=[],i=o[n++];return e.forEach(function(e,i){r.push({key:e,values:t(i,n)})}),i?r.sort(function(e,t){return i(e.key,t.key)}):r}var n,r,i={},a=[],o=[];return i.map=function(t,n){return e(n,t,0)},i.entries=function(n){return t(e(ho.map,n,0),0)},i.key=function(e){return a.push(e),i},i.sortKeys=function(e){return o[a.length-1]=e,i},i.sortValues=function(e){return n=e,i},i.rollup=function(e){return r=e,i},i},ho.set=function(e){var t=new M;if(e)for(var n=0,r=e.length;n<r;++n)t.add(e[n]);return t},h(M,{has:g,add:function(e){return this._[m(e+="")]=!0,e},remove:y,values:v,size:x,empty:b,forEach:function(e){for(var t in this._)e.call(this,_(t))}}),ho.behavior={},ho.rebind=function(e,t){for(var n,r=1,i=arguments.length;++r<i;)e[n=arguments[r]]=S(e,t,t[n]);return e};var To=["webkit","ms","moz","Moz","o","O"];ho.dispatch=function(){for(var e=new k,t=-1,n=arguments.length;++t<n;)e[arguments[t]]=D(e);return e},k.prototype.on=function(e,t){var n=e.indexOf("."),r="";if(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}},ho.event=null,ho.requote=function(e){return e.replace(ko,"\\$&")};var ko=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Do={}.__proto__?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)e[n]=t[n]},Yo=function(e,t){return t.querySelector(e)},Eo=function(e,t){return t.querySelectorAll(e)},Po=function(e,t){var n=e.matches||e[w(e,"matchesSelector")];return(Po=function(e,t){return n.call(e,t)})(e,t)};"function"==typeof Sizzle&&(Yo=function(e,t){return Sizzle(e,t)[0]||null},Eo=Sizzle,Po=Sizzle.matchesSelector),ho.selection=function(){return ho.select(_o.documentElement)};var Ao=ho.selection.prototype=[];Ao.select=function(e){var t,n,r,i,a=[];e=C(e);for(var o=-1,s=this.length;++o<s;){a.push(t=[]),t.parentNode=(r=this[o]).parentNode;for(var u=-1,l=r.length;++u<l;)(i=r[u])?(t.push(n=e.call(i,i.__data__,u,o)),n&&"__data__"in i&&(n.__data__=i.__data__)):t.push(null)}return A(a)},Ao.selectAll=function(e){var t,n,r=[];e=O(e);for(var i=-1,a=this.length;++i<a;)for(var o=this[i],s=-1,u=o.length;++s<u;)(n=o[s])&&(r.push(t=mo(e.call(n,n.__data__,s,i))),t.parentNode=n);return A(r)};var Co="http://www.w3.org/1999/xhtml",Oo={svg:"http://www.w3.org/2000/svg",xhtml:Co,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};ho.ns={prefix:Oo,qualify:function(e){var t=e.indexOf(":"),n=e;return t>=0&&"xmlns"!==(n=e.slice(0,t))&&(e=e.slice(t+1)),Oo.hasOwnProperty(n)?{space:Oo[n],local:e}:e}},Ao.attr=function(e,t){if(arguments.length<2){if("string"==typeof e){var n=this.node();return e=ho.ns.qualify(e),e.local?n.getAttributeNS(e.space,e.local):n.getAttribute(e)}for(t in e)this.each(j(t,e[t]));return this}return this.each(j(e,t))},Ao.classed=function(e,t){if(arguments.length<2){if("string"==typeof e){var n=this.node(),r=(e=H(e)).length,i=-1;if(t=n.classList){for(;++i<r;)if(!t.contains(e[i]))return!1}else for(t=n.getAttribute("class");++i<r;)if(!N(e[i]).test(t))return!1;return!0}for(t in e)this.each(I(t,e[t]));return this}return this.each(I(e,t))},Ao.style=function(e,t,n){var r=arguments.length;if(r<3){if("string"!=typeof e){r<2&&(t="");for(n in e)this.each(F(n,e[n],t));return this}if(r<2){var i=this.node();return o(i).getComputedStyle(i,null).getPropertyValue(e)}n=""}return this.each(F(e,t,n))},Ao.property=function(e,t){if(arguments.length<2){if("string"==typeof e)return this.node()[e];for(t in e)this.each(W(t,e[t]));return this}return this.each(W(e,t))},Ao.text=function(e){return arguments.length?this.each("function"==typeof e?function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}:null==e?function(){this.textContent=""}:function(){this.textContent=e}):this.node().textContent},Ao.html=function(e){return arguments.length?this.each("function"==typeof e?function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}:null==e?function(){this.innerHTML=""}:function(){this.innerHTML=e}):this.node().innerHTML},Ao.append=function(e){return e=G(e),this.select(function(){return this.appendChild(e.apply(this,arguments))})},Ao.insert=function(e,t){return e=G(e),t=C(t),this.select(function(){return this.insertBefore(e.apply(this,arguments),t.apply(this,arguments)||null)})},Ao.remove=function(){return this.each(U)},Ao.data=function(e,t){function n(e,n){var r,i,a,o=e.length,c=n.length,d=Math.min(o,c),f=new Array(c),h=new Array(c),m=new Array(o);if(t){var _,g=new p,y=new Array(o);for(r=-1;++r<o;)(i=e[r])&&(g.has(_=t.call(i,i.__data__,r))?m[r]=i:g.set(_,i),y[r]=_);for(r=-1;++r<c;)(i=g.get(_=t.call(n,a=n[r],r)))?i!==!0&&(f[r]=i,i.__data__=a):h[r]=z(a),g.set(_,!0);for(r=-1;++r<o;)r in y&&g.get(y[r])!==!0&&(m[r]=e[r])}else{for(r=-1;++r<d;)i=e[r],a=n[r],i?(i.__data__=a,f[r]=i):h[r]=z(a);for(;r<c;++r)h[r]=z(n[r]);for(;r<o;++r)m[r]=e[r]}h.update=f,h.parentNode=f.parentNode=m.parentNode=e.parentNode,s.push(h),u.push(f),l.push(m)}var r,i,a=-1,o=this.length;if(!arguments.length){for(e=new Array(o=(r=this[0]).length);++a<o;)(i=r[a])&&(e[a]=i.__data__);return e}var s=K([]),u=A([]),l=A([]);if("function"==typeof e)for(;++a<o;)n(r=this[a],e.call(r,r.parentNode.__data__,a));else for(;++a<o;)n(r=this[a],e);return u.enter=function(){return s},u.exit=function(){return l},u},Ao.datum=function(e){return arguments.length?this.property("__data__",e):this.property("__data__")},Ao.filter=function(e){var t,n,r,i=[];"function"!=typeof e&&(e=B(e));for(var a=0,o=this.length;a<o;a++){i.push(t=[]),t.parentNode=(n=this[a]).parentNode;for(var s=0,u=n.length;s<u;s++)(r=n[s])&&e.call(r,r.__data__,s,a)&&t.push(r)}return A(i)},Ao.order=function(){for(var e=-1,t=this.length;++e<t;)for(var n,r=this[e],i=r.length-1,a=r[i];--i>=0;)(n=r[i])&&(a&&a!==n.nextSibling&&a.parentNode.insertBefore(n,a),a=n);return this},Ao.sort=function(e){e=q.apply(this,arguments);for(var t=-1,n=this.length;++t<n;)this[t].sort(e);return this.order()},Ao.each=function(e){return X(this,function(t,n,r){e.call(t,t.__data__,n,r)})},Ao.call=function(e){var t=mo(arguments);return e.apply(t[0]=this,t),this},Ao.empty=function(){return!this.node()},Ao.node=function(){for(var e=0,t=this.length;e<t;e++)for(var n=this[e],r=0,i=n.length;r<i;r++){var a=n[r];if(a)return a}return null},Ao.size=function(){var e=0;return X(this,function(){++e}),e};var jo=[];ho.selection.enter=K,ho.selection.enter.prototype=jo,jo.append=Ao.append,jo.empty=Ao.empty,jo.node=Ao.node,jo.call=Ao.call,jo.size=Ao.size,jo.select=function(e){for(var t,n,r,i,a,o=[],s=-1,u=this.length;++s<u;){r=(i=this[s]).update,o.push(t=[]),t.parentNode=i.parentNode;for(var l=-1,c=i.length;++l<c;)(a=i[l])?(t.push(r[l]=n=e.call(i.parentNode,a.__data__,l,s)),n.__data__=a.__data__):t.push(null)}return A(o)},jo.insert=function(e,t){return arguments.length<2&&(t=J(this)),Ao.insert.call(this,e,t)},ho.select=function(e){var t;return"string"==typeof e?(t=[Yo(e,_o)],t.parentNode=_o.documentElement):(t=[e],t.parentNode=a(e)),A([t])},ho.selectAll=function(e){var t;return"string"==typeof e?(t=mo(Eo(e,_o)),t.parentNode=_o.documentElement):(t=mo(e),t.parentNode=null),A([t])},Ao.on=function(e,t,n){var r=arguments.length;if(r<3){if("string"!=typeof e){r<2&&(t=!1);for(n in e)this.each($(n,e[n],t));return this}if(r<2)return(r=this.node()["__on"+e])&&r._;n=!1}return this.each($(e,t,n))};var Ro=ho.map({mouseenter:"mouseover",mouseleave:"mouseout"});_o&&Ro.forEach(function(e){"on"+e in _o&&Ro.remove(e)});var No,Ho=0;ho.mouse=function(e){return te(e,E())};var Io=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;ho.touch=function(e,t,n){if(arguments.length<3&&(n=t,t=E().changedTouches),t)for(var r,i=0,a=t.length;i<a;++i)if((r=t[i]).identifier===n)return te(e,r)},ho.behavior.drag=function(){function e(){this.on("mousedown.drag",i).on("touchstart.drag",a)}function t(e,t,i,a,o){return function(){function s(){var e,n,r=t(f,m);r&&(e=r[0]-v[0],n=r[1]-v[1],p|=e|n,v=r,h({type:"drag",x:r[0]+l[0],y:r[1]+l[1],dx:e,dy:n}))}function u(){t(f,m)&&(g.on(a+_,null).on(o+_,null),y(p),h({type:"dragend"}))}var l,c=this,d=ho.event.target.correspondingElement||ho.event.target,f=c.parentNode,h=n.of(c,arguments),p=0,m=e(),_=".drag"+(null==m?"":"-"+m),g=ho.select(i(d)).on(a+_,s).on(o+_,u),y=ee(d),v=t(f,m);r?(l=r.apply(c,arguments),l=[l.x-v[0],l.y-v[1]]):l=[0,0],h({type:"dragstart"})}}var n=P(e,"drag","dragstart","dragend"),r=null,i=t(T,ho.mouse,o,"mousemove","mouseup"),a=t(ne,ho.touch,L,"touchmove","touchend");return e.origin=function(t){return arguments.length?(r=t,e):r},ho.rebind(e,n,"on")},ho.touches=function(e,t){return arguments.length<2&&(t=E().touches),t?mo(t).map(function(t){var n=te(e,t);return n.identifier=t.identifier,n}):[]};var Vo=1e-6,Fo=Vo*Vo,Wo=Math.PI,Go=2*Wo,Uo=Go-Vo,zo=Wo/2,Bo=Wo/180,qo=180/Wo,Xo=Math.SQRT2,Ko=2,Jo=4;ho.interpolateZoom=function(e,t){var n,r,i=e[0],a=e[1],o=e[2],s=t[0],u=t[1],l=t[2],c=s-i,d=u-a,f=c*c+d*d;if(f<Fo)r=Math.log(l/o)/Xo,n=function(e){return[i+e*c,a+e*d,o*Math.exp(Xo*e*r)]};else{var h=Math.sqrt(f),p=(l*l-o*o+Jo*f)/(2*o*Ko*h),m=(l*l-o*o-Jo*f)/(2*l*Ko*h),_=Math.log(Math.sqrt(p*p+1)-p),g=Math.log(Math.sqrt(m*m+1)-m);r=(g-_)/Xo,n=function(e){var t=e*r,n=ue(_),s=o/(Ko*h)*(n*le(Xo*t+_)-se(_));return[i+s*c,a+s*d,o*n/ue(Xo*t+_)]}}return n.duration=1e3*r,n},ho.behavior.zoom=function(){function e(e){e.on(E,d).on(Qo+".zoom",h).on("dblclick.zoom",p).on(O,f)}function t(e){return[(e[0]-S.x)/S.k,(e[1]-S.y)/S.k]}function n(e){return[e[0]*S.k+S.x,e[1]*S.k+S.y]}function r(e){S.k=Math.max(T[0],Math.min(T[1],e))}function i(e,t){t=n(t),S.x+=e[0]-t[0],S.y+=e[1]-t[1]}function a(t,n,a,o){t.__chart__={x:S.x,y:S.y,k:S.k},r(Math.pow(2,o)),i(_=n,a),t=ho.select(t),k>0&&(t=t.transition().duration(k)),t.call(e.event)}function s(){b&&b.domain(x.range().map(function(e){return(e-S.x)/S.k}).map(x.invert)),L&&L.domain(M.range().map(function(e){return(e-S.y)/S.k}).map(M.invert))}function u(e){D++||e({type:"zoomstart"})}function l(e){s(),e({type:"zoom",scale:S.k,translate:[S.x,S.y]})}function c(e){--D||(e({type:"zoomend"}),_=null)}function d(){function e(){s=1,i(ho.mouse(r),f),l(a)}function n(){d.on(A,null).on(C,null),h(s),c(a)}var r=this,a=j.of(r,arguments),s=0,d=ho.select(o(r)).on(A,e).on(C,n),f=t(ho.mouse(r)),h=ee(r);zu.call(r),u(a)}function f(){function e(){var e=ho.touches(p);return h=S.k,e.forEach(function(e){e.identifier in _&&(_[e.identifier]=t(e))}),e}function n(){var t=ho.event.target;ho.select(t).on(x,o).on(b,s),M.push(t);for(var n=ho.event.changedTouches,r=0,i=n.length;r<i;++r)_[n[r].identifier]=null;var u=e(),l=Date.now();if(1===u.length){if(l-v<500){var c=u[0];a(p,c,_[c.identifier],Math.floor(Math.log(S.k)/Math.LN2)+1),Y()}v=l}else if(u.length>1){var c=u[0],d=u[1],f=c[0]-d[0],h=c[1]-d[1];g=f*f+h*h}}function o(){var e,t,n,a,o=ho.touches(p);zu.call(p);for(var s=0,u=o.length;s<u;++s,a=null)if(n=o[s],a=_[n.identifier]){if(t)break;e=n,t=a}if(a){var c=(c=n[0]-e[0])*c+(c=n[1]-e[1])*c,d=g&&Math.sqrt(c/g);e=[(e[0]+n[0])/2,(e[1]+n[1])/2],t=[(t[0]+a[0])/2,(t[1]+a[1])/2],r(d*h)}v=null,i(e,t),l(m)}function s(){if(ho.event.touches.length){for(var t=ho.event.changedTouches,n=0,r=t.length;n<r;++n)delete _[t[n].identifier];for(var i in _)return void e()}ho.selectAll(M).on(y,null),L.on(E,d).on(O,f),w(),c(m)}var h,p=this,m=j.of(p,arguments),_={},g=0,y=".zoom-"+ho.event.changedTouches[0].identifier,x="touchmove"+y,b="touchend"+y,M=[],L=ho.select(p),w=ee(p);n(),u(m),L.on(E,null).on(O,n)}function h(){var e=j.of(this,arguments);y?clearTimeout(y):(zu.call(this),m=t(_=g||ho.mouse(this)),u(e)),y=setTimeout(function(){y=null,c(e)},50),Y(),r(Math.pow(2,.002*$o())*S.k),i(_,m),l(e)}function p(){var e=ho.mouse(this),n=Math.log(S.k)/Math.LN2;a(this,e,t(e),ho.event.shiftKey?Math.ceil(n)-1:Math.floor(n)+1)}var m,_,g,y,v,x,b,M,L,S={x:0,y:0,k:1},w=[960,500],T=Zo,k=250,D=0,E="mousedown.zoom",A="mousemove.zoom",C="mouseup.zoom",O="touchstart.zoom",j=P(e,"zoomstart","zoom","zoomend");return Qo||(Qo="onwheel"in _o?($o=function(){return-ho.event.deltaY*(ho.event.deltaMode?120:1)},"wheel"):"onmousewheel"in _o?($o=function(){return ho.event.wheelDelta},"mousewheel"):($o=function(){return-ho.event.detail},"MozMousePixelScroll")),e.event=function(e){e.each(function(){var e=j.of(this,arguments),t=S;Gu?ho.select(this).transition().each("start.zoom",function(){S=this.__chart__||{x:0,y:0,k:1},u(e)}).tween("zoom:zoom",function(){var n=w[0],r=w[1],i=_?_[0]:n/2,a=_?_[1]:r/2,o=ho.interpolateZoom([(i-S.x)/S.k,(a-S.y)/S.k,n/S.k],[(i-t.x)/t.k,(a-t.y)/t.k,n/t.k]);return function(t){var r=o(t),s=n/r[2];this.__chart__=S={x:i-r[0]*s,y:a-r[1]*s,k:s},l(e)}}).each("interrupt.zoom",function(){c(e)}).each("end.zoom",function(){c(e)}):(this.__chart__=S,u(e),l(e),c(e))})},e.translate=function(t){return arguments.length?(S={x:+t[0],y:+t[1],k:S.k},s(),e):[S.x,S.y]},e.scale=function(t){return arguments.length?(S={x:S.x,y:S.y,k:null},r(+t),s(),e):S.k},e.scaleExtent=function(t){return arguments.length?(T=null==t?Zo:[+t[0],+t[1]],e):T},e.center=function(t){return arguments.length?(g=t&&[+t[0],+t[1]],e):g},e.size=function(t){return arguments.length?(w=t&&[+t[0],+t[1]],e):w},e.duration=function(t){return arguments.length?(k=+t,e):k},e.x=function(t){return arguments.length?(b=t,x=t.copy(),S={x:0,y:0,k:1},e):b},e.y=function(t){return arguments.length?(L=t,M=t.copy(),S={x:0,y:0,k:1},e):L},ho.rebind(e,j,"on")};var $o,Qo,Zo=[0,1/0];ho.color=de,de.prototype.toString=function(){return this.rgb()+""},ho.hsl=fe;var es=fe.prototype=new de;es.brighter=function(e){return e=Math.pow(.7,arguments.length?e:1),new fe(this.h,this.s,this.l/e)},es.darker=function(e){return e=Math.pow(.7,arguments.length?e:1),new fe(this.h,this.s,e*this.l)},es.rgb=function(){return he(this.h,this.s,this.l)},ho.hcl=pe;var ts=pe.prototype=new de;ts.brighter=function(e){return new pe(this.h,this.c,Math.min(100,this.l+ns*(arguments.length?e:1)))},ts.darker=function(e){return new pe(this.h,this.c,Math.max(0,this.l-ns*(arguments.length?e:1)))},ts.rgb=function(){return me(this.h,this.c,this.l).rgb()},ho.lab=_e;var ns=18,rs=.95047,is=1,as=1.08883,os=_e.prototype=new de;os.brighter=function(e){return new _e(Math.min(100,this.l+ns*(arguments.length?e:1)),this.a,this.b)},os.darker=function(e){return new _e(Math.max(0,this.l-ns*(arguments.length?e:1)),this.a,this.b)},os.rgb=function(){return ge(this.l,this.a,this.b)},ho.rgb=Me;var ss=Me.prototype=new de;ss.brighter=function(e){e=Math.pow(.7,arguments.length?e:1);var t=this.r,n=this.g,r=this.b,i=30;return t||n||r?(t&&t<i&&(t=i),n&&n<i&&(n=i),r&&r<i&&(r=i),new Me(Math.min(255,t/e),Math.min(255,n/e),Math.min(255,r/e))):new Me(i,i,i)},ss.darker=function(e){return e=Math.pow(.7,arguments.length?e:1),new Me(e*this.r,e*this.g,e*this.b)},ss.hsl=function(){return ke(this.r,this.g,this.b)},ss.toString=function(){return"#"+we(this.r)+we(this.g)+we(this.b)};var us=ho.map({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});us.forEach(function(e,t){us.set(e,Le(t))}),ho.functor=Pe,ho.xhr=Ae(L),ho.dsv=function(e,t){function n(e,n,a){arguments.length<3&&(a=n,n=null);var o=Ce(e,t,null==n?r:i(n),a);return o.row=function(e){return arguments.length?o.response(null==(n=e)?r:i(e)):n},o}function r(e){return n.parse(e.responseText)}function i(e){return function(t){return n.parse(t.responseText,e)}}function a(t){return t.map(o).join(e)}function o(e){return s.test(e)?'"'+e.replace(/\"/g,'""')+'"':e}var s=new RegExp('["'+e+"\n]"),u=e.charCodeAt(0);return n.parse=function(e,t){var r;return n.parseRows(e,function(e,n){if(r)return r(e,n-1);var i=new Function("d","return {"+e.map(function(e,t){return JSON.stringify(e)+": d["+t+"]"}).join(",")+"}");r=t?function(e,n){return t(i(e),n)}:i})},n.parseRows=function(e,t){function n(){if(c>=l)return o;if(i)return i=!1,a;var t=c;if(34===e.charCodeAt(t)){for(var n=t;n++<l;)if(34===e.charCodeAt(n)){if(34!==e.charCodeAt(n+1))break;++n}c=n+2;var r=e.charCodeAt(n+1);return 13===r?(i=!0,10===e.charCodeAt(n+2)&&++c):10===r&&(i=!0),e.slice(t+1,n).replace(/""/g,'"')}for(;c<l;){var r=e.charCodeAt(c++),s=1;if(10===r)i=!0;else if(13===r)i=!0,10===e.charCodeAt(c)&&(++c,++s);else if(r!==u)continue;return e.slice(t,c-s)}return e.slice(t)}for(var r,i,a={},o={},s=[],l=e.length,c=0,d=0;(r=n())!==o;){for(var f=[];r!==a&&r!==o;)f.push(r),r=n();t&&null==(f=t(f,d++))||s.push(f)}return s},n.format=function(t){if(Array.isArray(t[0]))return n.formatRows(t);var r=new M,i=[];return t.forEach(function(e){for(var t in e)r.has(t)||i.push(r.add(t))}),[i.map(o).join(e)].concat(t.map(function(t){return i.map(function(e){return o(t[e])}).join(e)})).join("\n")},n.formatRows=function(e){return e.map(a).join("\n")},n},ho.csv=ho.dsv(",","text/csv"),ho.tsv=ho.dsv("\t","text/tab-separated-values");var ls,cs,ds,fs,hs=this[w(this,"requestAnimationFrame")]||function(e){setTimeout(e,17)};ho.timer=function(){Re.apply(this,arguments)},ho.timer.flush=function(){He(),Ie()},ho.round=function(e,t){return t?Math.round(e*(t=Math.pow(10,t)))/t:Math.round(e)};var ps=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"].map(Fe);ho.formatPrefix=function(e,t){var n=0;return(e=+e)&&(e<0&&(e*=-1),t&&(e=ho.round(e,Ve(e,t))),n=1+Math.floor(1e-12+Math.log(e)/Math.LN10),n=Math.max(-24,Math.min(24,3*Math.floor((n-1)/3)))),ps[8+n/3]};var ms=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,_s=ho.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=ho.round(e,Ve(e,t))).toFixed(Math.max(0,Math.min(20,Ve(e*(1+1e-15),t))))}}),gs=ho.time={},ys=Date;Ue.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(){vs.setUTCDate.apply(this._,arguments)},setDay:function(){vs.setUTCDay.apply(this._,arguments)},setFullYear:function(){vs.setUTCFullYear.apply(this._,arguments)},setHours:function(){vs.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){vs.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){vs.setUTCMinutes.apply(this._,arguments)},setMonth:function(){vs.setUTCMonth.apply(this._,arguments)},setSeconds:function(){vs.setUTCSeconds.apply(this._,arguments)},setTime:function(){vs.setTime.apply(this._,arguments)}};var vs=Date.prototype;gs.year=ze(function(e){return e=gs.day(e),e.setMonth(0,1),e},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e){return e.getFullYear()}),gs.years=gs.year.range,gs.years.utc=gs.year.utc.range,gs.day=ze(function(e){var t=new ys(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}),gs.days=gs.day.range,gs.days.utc=gs.day.utc.range,gs.dayOfYear=function(e){var t=gs.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=gs[e]=ze(function(e){return(e=gs.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=gs.year(e).getDay();return Math.floor((gs.dayOfYear(e)+(n+t)%7)/7)-(n!==t)});gs[e+"s"]=n.range,gs[e+"s"].utc=n.utc.range,gs[e+"OfYear"]=function(e){var n=gs.year(e).getDay();return Math.floor((gs.dayOfYear(e)+(n+t)%7)/7)}}),gs.week=gs.sunday,gs.weeks=gs.sunday.range,gs.weeks.utc=gs.sunday.utc.range,gs.weekOfYear=gs.sundayOfYear;var xs={"-":"",_:" ",0:"0"},bs=/^\s*\d+/,Ms=/^%/;ho.locale=function(e){return{numberFormat:We(e),timeFormat:qe(e)}};var Ls=ho.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"]});ho.format=Ls.numberFormat,ho.geo={},pt.prototype={s:0,t:0,add:function(e){mt(e,this.t,Ss),mt(Ss.s,this.s,this),this.s?this.t+=Ss.t:this.s=Ss.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var Ss=new pt;ho.geo.stream=function(e,t){e&&ws.hasOwnProperty(e.type)?ws[e.type](e,t):_t(e,t)};var ws={Feature:function(e,t){_t(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++r<i;)_t(n[r].geometry,t)}},Ts={Sphere:function(e,t){t.sphere()},Point:function(e,t){e=e.coordinates,t.point(e[0],e[1],e[2])},MultiPoint:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)e=n[r],t.point(e[0],e[1],e[2])},LineString:function(e,t){gt(e.coordinates,t,0)},MultiLineString:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)gt(n[r],t,0)},Polygon:function(e,t){yt(e.coordinates,t)},MultiPolygon:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)yt(n[r],t)},GeometryCollection:function(e,t){for(var n=e.geometries,r=-1,i=n.length;++r<i;)_t(n[r],t)}};ho.geo.area=function(e){return ks=0,ho.geo.stream(e,Ys),ks};var ks,Ds=new pt,Ys={sphere:function(){ks+=4*Wo},point:T,lineStart:T,lineEnd:T,polygonStart:function(){Ds.reset(),Ys.lineStart=vt},polygonEnd:function(){var e=2*Ds;ks+=e<0?4*Wo+e:e,Ys.lineStart=Ys.lineEnd=Ys.point=T}};ho.geo.bounds=function(){function e(e,t){v.push(x=[c=e,f=e]),t<d&&(d=t),t>h&&(h=t)}function t(t,n){var r=xt([t*Bo,n*Bo]);if(g){var i=Mt(g,r),a=[i[1],-i[0],0],o=Mt(a,i);wt(o),o=Tt(o);var u=t-p,l=u>0?1:-1,m=o[0]*qo*l,_=Lo(u)>180;if(_^(l*p<m&&m<l*t)){var y=o[1]*qo;y>h&&(h=y)}else if(m=(m+360)%360-180,_^(l*p<m&&m<l*t)){var y=-o[1]*qo;y<d&&(d=y)}else n<d&&(d=n),n>h&&(h=n);_?t<p?s(c,t)>s(c,f)&&(f=t):s(t,f)>s(c,f)&&(c=t):f>=c?(t<c&&(c=t),t>f&&(f=t)):t>p?s(c,t)>s(c,f)&&(f=t):s(t,f)>s(c,f)&&(c=t)}else e(t,n);g=r,p=t}function n(){b.point=t}function r(){x[0]=c,x[1]=f,b.point=e,g=null}function i(e,n){if(g){var r=e-p;y+=Lo(r)>180?r+(r>0?360:-360):r}else m=e,_=n;Ys.point(e,n),t(e,n)}function a(){Ys.lineStart()}function o(){i(m,_),Ys.lineEnd(),Lo(y)>Vo&&(c=-(f=180)),x[0]=c,x[1]=f,g=null}function s(e,t){return(t-=e)<0?t+360:t}function u(e,t){return e[0]-t[0]}function l(e,t){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}var c,d,f,h,p,m,_,g,y,v,x,b={point:e,lineStart:n,lineEnd:r,polygonStart:function(){b.point=i,b.lineStart=a,b.lineEnd=o,y=0,Ys.polygonStart()},polygonEnd:function(){Ys.polygonEnd(),b.point=e,b.lineStart=n,b.lineEnd=r,Ds<0?(c=-(f=180),d=-(h=90)):y>Vo?h=90:y<-Vo&&(d=-90),x[0]=c,x[1]=f}};return function(e){h=f=-(c=d=1/0),v=[],ho.geo.stream(e,b);var t=v.length;if(t){v.sort(u);for(var n,r=1,i=v[0],a=[i];r<t;++r)n=v[r],l(n[0],i)||l(n[1],i)?(s(i[0],n[1])>s(i[0],i[1])&&(i[1]=n[1]),s(n[0],i[1])>s(i[0],i[1])&&(i[0]=n[0])):a.push(i=n);for(var o,n,p=-(1/0),t=a.length-1,r=0,i=a[t];r<=t;i=n,++r)n=a[r],(o=s(i[1],n[0]))>p&&(p=o,c=n[0],f=i[1])}return v=x=null,c===1/0||d===1/0?[[NaN,NaN],[NaN,NaN]]:[[c,d],[f,h]]}}(),ho.geo.centroid=function(e){Es=Ps=As=Cs=Os=js=Rs=Ns=Hs=Is=Vs=0,ho.geo.stream(e,Fs);var t=Hs,n=Is,r=Vs,i=t*t+n*n+r*r;return i<Fo&&(t=js,n=Rs,r=Ns,Ps<Vo&&(t=As,n=Cs,r=Os),i=t*t+n*n+r*r,i<Fo)?[NaN,NaN]:[Math.atan2(n,t)*qo,oe(r/Math.sqrt(i))*qo]};var Es,Ps,As,Cs,Os,js,Rs,Ns,Hs,Is,Vs,Fs={sphere:T,point:Dt,lineStart:Et,lineEnd:Pt,polygonStart:function(){Fs.lineStart=At},polygonEnd:function(){Fs.lineStart=Et}},Ws=Ht(Ot,Wt,Ut,[-Wo,-Wo/2]),Gs=1e9;ho.geo.clipExtent=function(){var e,t,n,r,i,a,o={stream:function(e){return i&&(i.valid=!1),i=a(e),i.valid=!0,i},extent:function(s){return arguments.length?(a=Xt(e=+s[0][0],t=+s[0][1],n=+s[1][0],r=+s[1][1]),i&&(i.valid=!1,i=null),o):[[e,t],[n,r]]}};return o.extent([[0,0],[960,500]])},(ho.geo.conicEqualArea=function(){return Kt(Jt)}).raw=Jt,ho.geo.albers=function(){return ho.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},ho.geo.albersUsa=function(){function e(e){var a=e[0],o=e[1];return t=null,n(a,o),t||(r(a,o),t)||i(a,o),t}var t,n,r,i,a=ho.geo.albers(),o=ho.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),s=ho.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),u={point:function(e,n){t=[e,n]}};return e.invert=function(e){var t=a.scale(),n=a.translate(),r=(e[0]-n[0])/t,i=(e[1]-n[1])/t;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?o:i>=.166&&i<.234&&r>=-.214&&r<-.115?s:a).invert(e)},e.stream=function(e){var t=a.stream(e),n=o.stream(e),r=s.stream(e);return{point:function(e,i){t.point(e,i),n.point(e,i),r.point(e,i)},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),o.precision(t),s.precision(t),e):a.precision()},e.scale=function(t){return arguments.length?(a.scale(t),o.scale(.35*t),s.scale(t),e.translate(a.translate())):a.scale()},e.translate=function(t){if(!arguments.length)return a.translate();var l=a.scale(),c=+t[0],d=+t[1];return n=a.translate(t).clipExtent([[c-.455*l,d-.238*l],[c+.455*l,d+.238*l]]).stream(u).point,r=o.translate([c-.307*l,d+.201*l]).clipExtent([[c-.425*l+Vo,d+.12*l+Vo],[c-.214*l-Vo,d+.234*l-Vo]]).stream(u).point,i=s.translate([c-.205*l,d+.212*l]).clipExtent([[c-.214*l+Vo,d+.166*l+Vo],[c-.115*l-Vo,d+.234*l-Vo]]).stream(u).point,e},e.scale(1070)};var Us,zs,Bs,qs,Xs,Ks,Js={point:T,lineStart:T,lineEnd:T,polygonStart:function(){zs=0,Js.lineStart=$t},polygonEnd:function(){Js.lineStart=Js.lineEnd=Js.point=T,Us+=Lo(zs/2)}},$s={point:Qt,lineStart:T,lineEnd:T,polygonStart:T,polygonEnd:T},Qs={point:tn,lineStart:nn,lineEnd:rn,polygonStart:function(){Qs.lineStart=an},polygonEnd:function(){Qs.point=tn,Qs.lineStart=nn,Qs.lineEnd=rn}};ho.geo.path=function(){function e(e){return e&&("function"==typeof s&&a.pointRadius(+s.apply(this,arguments)),o&&o.valid||(o=i(a)),ho.geo.stream(e,o)),a.result()}function t(){return o=null,e}var n,r,i,a,o,s=4.5;return e.area=function(e){return Us=0,ho.geo.stream(e,i(Js)),Us},e.centroid=function(e){return As=Cs=Os=js=Rs=Ns=Hs=Is=Vs=0,ho.geo.stream(e,i(Qs)),Vs?[Hs/Vs,Is/Vs]:Ns?[js/Ns,Rs/Ns]:Os?[As/Os,Cs/Os]:[NaN,NaN]},e.bounds=function(e){return Xs=Ks=-(Bs=qs=1/0),ho.geo.stream(e,i($s)),[[Bs,qs],[Xs,Ks]]},e.projection=function(e){return arguments.length?(i=(n=e)?e.stream||un(e):L,t()):n},e.context=function(e){return arguments.length?(a=null==(r=e)?new Zt:new on(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(ho.geo.albersUsa()).context(null)},ho.geo.transform=function(e){return{stream:function(t){var n=new ln(t);for(var r in e)n[r]=e[r];return n}}},ln.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()}},ho.geo.projection=dn,ho.geo.projectionMutator=fn,(ho.geo.equirectangular=function(){return dn(pn)}).raw=pn.invert=pn,ho.geo.rotation=function(e){function t(t){return t=e(t[0]*Bo,t[1]*Bo),t[0]*=qo,t[1]*=qo,t}return e=_n(e[0]%360*Bo,e[1]*Bo,e.length>2?e[2]*Bo:0),t.invert=function(t){return t=e.invert(t[0]*Bo,t[1]*Bo),t[0]*=qo,t[1]*=qo,t},t},mn.invert=pn,ho.geo.circle=function(){function e(){var e="function"==typeof r?r.apply(this,arguments):r,t=_n(-e[0]*Bo,-e[1]*Bo,0).invert,i=[];return n(null,null,1,{point:function(e,n){i.push(e=t(e,n)),e[0]*=qo,e[1]*=qo}}),{type:"Polygon",coordinates:[i]}}var t,n,r=[0,0],i=6;return e.origin=function(t){return arguments.length?(r=t,e):r},e.angle=function(r){return arguments.length?(n=xn((t=+r)*Bo,i*Bo),e):t},e.precision=function(r){return arguments.length?(n=xn(t*Bo,(i=+r)*Bo),e):i},e.angle(90)},ho.geo.distance=function(e,t){var n,r=(t[0]-e[0])*Bo,i=e[1]*Bo,a=t[1]*Bo,o=Math.sin(r),s=Math.cos(r),u=Math.sin(i),l=Math.cos(i),c=Math.sin(a),d=Math.cos(a);return Math.atan2(Math.sqrt((n=d*o)*n+(n=l*c-u*d*s)*n),u*c+l*d*s)},ho.geo.graticule=function(){function e(){return{type:"MultiLineString",coordinates:t()}}function t(){return ho.range(Math.ceil(a/_)*_,i,_).map(f).concat(ho.range(Math.ceil(l/g)*g,u,g).map(h)).concat(ho.range(Math.ceil(r/p)*p,n,p).filter(function(e){return Lo(e%_)>Vo}).map(c)).concat(ho.range(Math.ceil(s/m)*m,o,m).filter(function(e){return Lo(e%g)>Vo}).map(d))}var n,r,i,a,o,s,u,l,c,d,f,h,p=10,m=p,_=90,g=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:[f(a).concat(h(u).slice(1),f(i).reverse().slice(1),h(l).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],i=+t[1][0],l=+t[0][1],u=+t[1][1],a>i&&(t=a,a=i,i=t),l>u&&(t=l,l=u,u=t),e.precision(y)):[[a,l],[i,u]]},e.minorExtent=function(t){return arguments.length?(r=+t[0][0],n=+t[1][0],s=+t[0][1],o=+t[1][1],r>n&&(t=r,r=n,n=t),s>o&&(t=s,s=o,o=t),e.precision(y)):[[r,s],[n,o]]},e.step=function(t){return arguments.length?e.majorStep(t).minorStep(t):e.minorStep()},e.majorStep=function(t){return arguments.length?(_=+t[0],g=+t[1],e):[_,g]},e.minorStep=function(t){return arguments.length?(p=+t[0],m=+t[1],e):[p,m]},e.precision=function(t){return arguments.length?(y=+t,c=Mn(s,o,90),d=Ln(r,n,y),f=Mn(l,u,90),h=Ln(a,i,y),e):y},e.majorExtent([[-180,-90+Vo],[180,90-Vo]]).minorExtent([[-180,-80-Vo],[180,80+Vo]])},ho.geo.greatArc=function(){function e(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),n||i.apply(this,arguments)]}}var t,n,r=Sn,i=wn;return e.distance=function(){return ho.geo.distance(t||r.apply(this,arguments),n||i.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?(i=t,n="function"==typeof t?null:t,e):i},e.precision=function(){return arguments.length?e:0},e},ho.geo.interpolate=function(e,t){return Tn(e[0]*Bo,e[1]*Bo,t[0]*Bo,t[1]*Bo)},ho.geo.length=function(e){return Zs=0,ho.geo.stream(e,eu),Zs};var Zs,eu={sphere:T,point:T,lineStart:kn,lineEnd:T,polygonStart:T,polygonEnd:T},tu=Dn(function(e){return Math.sqrt(2/(1+e))},function(e){return 2*Math.asin(e/2)});(ho.geo.azimuthalEqualArea=function(){return dn(tu)}).raw=tu;var nu=Dn(function(e){var t=Math.acos(e);return t&&t/Math.sin(t)},L);(ho.geo.azimuthalEquidistant=function(){return dn(nu)}).raw=nu,(ho.geo.conicConformal=function(){return Kt(Yn)}).raw=Yn,(ho.geo.conicEquidistant=function(){return Kt(En)}).raw=En;var ru=Dn(function(e){return 1/e},Math.atan);(ho.geo.gnomonic=function(){return dn(ru)}).raw=ru,Pn.invert=function(e,t){return[e,2*Math.atan(Math.exp(t))-zo]},(ho.geo.mercator=function(){return An(Pn)}).raw=Pn;var iu=Dn(function(){return 1},Math.asin);(ho.geo.orthographic=function(){return dn(iu)}).raw=iu;var au=Dn(function(e){return 1/(1+e)},function(e){return 2*Math.atan(e)});(ho.geo.stereographic=function(){return dn(au)}).raw=au,Cn.invert=function(e,t){return[-t,2*Math.atan(Math.exp(e))-zo]},(ho.geo.transverseMercator=function(){var e=An(Cn),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=Cn,ho.geom={},ho.geom.hull=function(e){function t(e){if(e.length<3)return[];var t,i=Pe(n),a=Pe(r),o=e.length,s=[],u=[];for(t=0;t<o;t++)s.push([+i.call(this,e[t],t),+a.call(this,e[t],t),t]);for(s.sort(Nn),t=0;t<o;t++)u.push([s[t][0],-s[t][1]]);var l=Rn(s),c=Rn(u),d=c[0]===l[0],f=c[c.length-1]===l[l.length-1],h=[];for(t=l.length-1;t>=0;--t)h.push(e[s[l[t]][2]]);for(t=+d;t<c.length-f;++t)h.push(e[s[c[t]][2]]);return h}var n=On,r=jn;return arguments.length?t(e):(t.x=function(e){return arguments.length?(n=e,t):n},t.y=function(e){return arguments.length?(r=e,t):r},t)},ho.geom.polygon=function(e){return Do(e,ou),e};var ou=ho.geom.polygon.prototype=[];ou.area=function(){for(var e,t=-1,n=this.length,r=this[n-1],i=0;++t<n;)e=r,r=this[t],i+=e[1]*r[0]-e[0]*r[1];return.5*i},ou.centroid=function(e){var t,n,r=-1,i=this.length,a=0,o=0,s=this[i-1];for(arguments.length||(e=-1/(6*this.area()));++r<i;)t=s,s=this[r],n=t[0]*s[1]-s[0]*t[1],a+=(t[0]+s[0])*n,o+=(t[1]+s[1])*n;return[a*e,o*e]},ou.clip=function(e){for(var t,n,r,i,a,o,s=Vn(e),u=-1,l=this.length-Vn(this),c=this[l-1];++u<l;){for(t=e.slice(),e.length=0,i=this[u],a=t[(r=t.length-s)-1],n=-1;++n<r;)o=t[n],Hn(o,c,i)?(Hn(a,c,i)||e.push(In(a,o,c,i)),e.push(o)):Hn(a,c,i)&&e.push(In(a,o,c,i)),a=o;s&&e.push(e[0]),c=i}return e};var su,uu,lu,cu,du,fu=[],hu=[];Xn.prototype.prepare=function(){for(var e,t=this.edges,n=t.length;n--;)e=t[n].edge,e.b&&e.a||t.splice(n,1);return t.sort(Jn),t.length},or.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}},sr.prototype={insert:function(e,t){var n,r,i;if(e){if(t.P=e,t.N=e.N,e.N&&(e.N.P=t),e.N=t,e.R){for(e=e.R;e.L;)e=e.L;e.L=t}else e.R=t;n=e}else this._?(e=dr(this._),t.P=null,t.N=e,e.P=e.L=t,n=e):(t.P=t.N=null,this._=t,n=null);for(t.L=t.R=null,t.U=n,t.C=!0,e=t;n&&n.C;)r=n.U,n===r.L?(i=r.R,i&&i.C?(n.C=i.C=!1,r.C=!0,e=r):(e===n.R&&(lr(this,n),e=n,n=e.U),n.C=!1,r.C=!0,cr(this,r))):(i=r.L,i&&i.C?(n.C=i.C=!1,r.C=!0,e=r):(e===n.L&&(cr(this,n),e=n,n=e.U),n.C=!1,r.C=!0,lr(this,r))),n=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var t,n,r,i=e.U,a=e.L,o=e.R;if(n=a?o?dr(o):a:o,i?i.L===e?i.L=n:i.R=n:this._=n,a&&o?(r=n.C,n.C=e.C,n.L=a,a.U=n,n!==o?(i=n.U,n.U=e.U,e=n.R,i.L=e,n.R=o,o.U=n):(n.U=i,i=n,e=n.R)):(r=e.C,e=n),e&&(e.U=i),!r){if(e&&e.C)return void(e.C=!1);do{if(e===this._)break;if(e===i.L){if(t=i.R,t.C&&(t.C=!1,i.C=!0,lr(this,i),t=i.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,cr(this,t),t=i.R),t.C=i.C,i.C=t.R.C=!1,lr(this,i),e=this._;break}}else if(t=i.L,t.C&&(t.C=!1,i.C=!0,cr(this,i),t=i.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,lr(this,t),t=i.L),t.C=i.C,i.C=t.L.C=!1,cr(this,i),e=this._;break}t.C=!0,e=i,i=i.U}while(!e.C);e&&(e.C=!1)}}},ho.geom.voronoi=function(e){function t(e){var t=new Array(e.length),r=s[0][0],i=s[0][1],a=s[1][0],o=s[1][1];return fr(n(e),s).cells.forEach(function(n,s){var u=n.edges,l=n.site,c=t[s]=u.length?u.map(function(e){var t=e.start();return[t.x,t.y]}):l.x>=r&&l.x<=a&&l.y>=i&&l.y<=o?[[r,o],[a,o],[a,i],[r,i]]:[];c.point=e[s]}),t}function n(e){return e.map(function(e,t){return{x:Math.round(a(e,t)/Vo)*Vo,y:Math.round(o(e,t)/Vo)*Vo,i:t}})}var r=On,i=jn,a=r,o=i,s=pu;return e?t(e):(t.links=function(e){return fr(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 fr(n(e)).cells.forEach(function(n,r){for(var i,a,o=n.site,s=n.edges.sort(Jn),u=-1,l=s.length,c=s[l-1].edge,d=c.l===o?c.r:c.l;++u<l;)i=c,a=d,c=s[u].edge,d=c.l===o?c.r:c.l,r<a.i&&r<d.i&&pr(o,a,d)<0&&t.push([e[r],e[a.i],e[d.i]])}),t},t.x=function(e){return arguments.length?(a=Pe(r=e),t):r},t.y=function(e){return arguments.length?(o=Pe(i=e),t):i},t.clipExtent=function(e){return arguments.length?(s=null==e?pu:e,t):s===pu?null:s},t.size=function(e){return arguments.length?t.clipExtent(e&&[[0,0],e]):s===pu?null:s&&s[1]},t)};var pu=[[-1e6,-1e6],[1e6,1e6]];ho.geom.delaunay=function(e){return ho.geom.voronoi().triangles(e)},ho.geom.quadtree=function(e,t,n,r,i){function a(e){function a(e,t,n,r,i,a,o,s){if(!isNaN(n)&&!isNaN(r))if(e.leaf){var u=e.x,c=e.y;if(null!=u)if(Lo(u-n)+Lo(c-r)<.01)l(e,t,n,r,i,a,o,s);else{var d=e.point;e.x=e.y=e.point=null,l(e,d,u,c,i,a,o,s),l(e,t,n,r,i,a,o,s)}else e.x=n,e.y=r,e.point=t}else l(e,t,n,r,i,a,o,s)}function l(e,t,n,r,i,o,s,u){var l=.5*(i+s),c=.5*(o+u),d=n>=l,f=r>=c,h=f<<1|d;e.leaf=!1,e=e.nodes[h]||(e.nodes[h]=gr()),d?i=l:s=l,f?o=c:u=c,a(e,t,n,r,i,o,s,u)}var c,d,f,h,p,m,_,g,y,v=Pe(s),x=Pe(u);if(null!=t)m=t,_=n,g=r,y=i;else if(g=y=-(m=_=1/0),d=[],f=[],p=e.length,o)for(h=0;h<p;++h)c=e[h],c.x<m&&(m=c.x),c.y<_&&(_=c.y),c.x>g&&(g=c.x),c.y>y&&(y=c.y),d.push(c.x),f.push(c.y);else for(h=0;h<p;++h){var b=+v(c=e[h],h),M=+x(c,h);b<m&&(m=b),M<_&&(_=M),b>g&&(g=b),M>y&&(y=M),d.push(b),f.push(M)}var L=g-m,S=y-_;L>S?y=_+L:g=m+S;var w=gr();if(w.add=function(e){a(w,e,+v(e,++h),+x(e,h),m,_,g,y)},w.visit=function(e){yr(e,w,m,_,g,y)},w.find=function(e){return vr(w,e[0],e[1],m,_,g,y)},h=-1,null==t){for(;++h<p;)a(w,e[h],d[h],f[h],m,_,g,y);--h}else e.forEach(w.add);return d=f=e=c=null,w}var o,s=On,u=jn;return(o=arguments.length)?(s=mr,u=_r,3===o&&(i=n,r=t,n=t=0),a(e)):(a.x=function(e){return arguments.length?(s=e,a):s},a.y=function(e){return arguments.length?(u=e,a):u},a.extent=function(e){return arguments.length?(null==e?t=n=r=i=null:(t=+e[0][0],n=+e[0][1],r=+e[1][0],i=+e[1][1]),a):null==t?null:[[t,n],[r,i]]},a.size=function(e){return arguments.length?(null==e?t=n=r=i=null:(t=n=0,r=+e[0],i=+e[1]),a):null==t?null:[r-t,i-n]},a)},ho.interpolateRgb=xr,ho.interpolateObject=br,ho.interpolateNumber=Mr,ho.interpolateString=Lr;var mu=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,_u=new RegExp(mu.source,"g");ho.interpolate=Sr,ho.interpolators=[function(e,t){var n=typeof t;return("string"===n?us.has(t.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(t)?xr:Lr:t instanceof de?xr:Array.isArray(t)?wr:"object"===n&&isNaN(t)?br:Mr)(e,t)}],ho.interpolateArray=wr;var gu=function(){return L},yu=ho.map({linear:gu,poly:Ar,quad:function(){return Yr},cubic:function(){return Er},sin:function(){return Cr},exp:function(){return Or},circle:function(){return jr},elastic:Rr,back:Nr,bounce:function(){return Hr}}),vu=ho.map({in:L,out:kr,"in-out":Dr,"out-in":function(e){return Dr(kr(e))}});ho.ease=function(e){var t=e.indexOf("-"),n=t>=0?e.slice(0,t):e,r=t>=0?e.slice(t+1):"in";return n=yu.get(n)||gu,r=vu.get(r)||L,Tr(r(n.apply(null,po.call(arguments,1))))},ho.interpolateHcl=Ir,ho.interpolateHsl=Vr,ho.interpolateLab=Fr,ho.interpolateRound=Wr,ho.transform=function(e){var t=_o.createElementNS(ho.ns.prefix.svg,"g");return(ho.transform=function(e){if(null!=e){t.setAttribute("transform",e);var n=t.transform.baseVal.consolidate()}return new Gr(n?n.matrix:xu)})(e)},Gr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var xu={a:1,b:0,c:0,d:1,e:0,f:0};ho.interpolateTransform=Qr,ho.layout={},ho.layout.bundle=function(){return function(e){for(var t=[],n=-1,r=e.length;++n<r;)t.push(ti(e[n]));return t}},ho.layout.chord=function(){function e(){var e,l,d,f,h,p={},m=[],_=ho.range(a),g=[];for(n=[],r=[],e=0,f=-1;++f<a;){for(l=0,h=-1;++h<a;)l+=i[f][h];m.push(l),g.push(ho.range(a)),e+=l}for(o&&_.sort(function(e,t){return o(m[e],m[t])}),s&&g.forEach(function(e,t){e.sort(function(e,n){return s(i[t][e],i[t][n])})}),e=(Go-c*a)/e,l=0,f=-1;++f<a;){for(d=l,h=-1;++h<a;){var y=_[f],v=g[y][h],x=i[y][v],b=l,M=l+=x*e;p[y+"-"+v]={index:y,subindex:v,startAngle:b,endAngle:M,value:x}}r[y]={index:y,startAngle:d,endAngle:l,value:m[y]},l+=c}for(f=-1;++f<a;)for(h=f-1;++h<a;){var L=p[f+"-"+h],S=p[h+"-"+f];(L.value||S.value)&&n.push(L.value<S.value?{source:S,target:L}:{source:L,target:S})}u&&t()}function t(){n.sort(function(e,t){return u((e.source.value+e.target.value)/2,(t.source.value+t.target.value)/2)})}var n,r,i,a,o,s,u,l={},c=0;return l.matrix=function(e){return arguments.length?(a=(i=e)&&i.length,n=r=null,l):i},l.padding=function(e){return arguments.length?(c=e,n=r=null,l):c},l.sortGroups=function(e){return arguments.length?(o=e,n=r=null,l):o},l.sortSubgroups=function(e){return arguments.length?(s=e,n=null,l):s},l.sortChords=function(e){return arguments.length?(u=e,n&&t(),l):u},l.chords=function(){return n||e(),n},l.groups=function(){return r||e(),r},l},ho.layout.force=function(){function e(e){return function(t,n,r,i){if(t.point!==e){var a=t.cx-e.x,o=t.cy-e.y,s=i-n,u=a*a+o*o;if(s*s/g<u){if(u<m){var l=t.charge/u;e.px-=a*l,e.py-=o*l}return!0}if(t.point&&u&&u<m){var l=t.pointCharge/u;e.px-=a*l,e.py-=o*l}}return!t.charge}}function t(e){e.px=ho.event.x,e.py=ho.event.y,u.resume()}var n,r,i,a,o,s,u={},l=ho.dispatch("start","tick","end"),c=[1,1],d=.9,f=bu,h=Mu,p=-30,m=Lu,_=.1,g=.64,y=[],v=[];return u.tick=function(){if((i*=.99)<.005)return n=null,l.end({type:"end",alpha:i=0}),!0;var t,r,u,f,h,m,g,x,b,M=y.length,L=v.length;for(r=0;r<L;++r)u=v[r],f=u.source,h=u.target,x=h.x-f.x,b=h.y-f.y,(m=x*x+b*b)&&(m=i*o[r]*((m=Math.sqrt(m))-a[r])/m,x*=m,b*=m,h.x-=x*(g=f.weight+h.weight?f.weight/(f.weight+h.weight):.5),h.y-=b*g,f.x+=x*(g=1-g),f.y+=b*g);if((g=i*_)&&(x=c[0]/2,b=c[1]/2,r=-1,g))for(;++r<M;)u=y[r],u.x+=(x-u.x)*g,u.y+=(b-u.y)*g;if(p)for(ui(t=ho.geom.quadtree(y),i,s),r=-1;++r<M;)(u=y[r]).fixed||t.visit(e(u));for(r=-1;++r<M;)u=y[r],u.fixed?(u.x=u.px,u.y=u.py):(u.x-=(u.px-(u.px=u.x))*d,u.y-=(u.py-(u.py=u.y))*d);l.tick({type:"tick",alpha:i})},u.nodes=function(e){return arguments.length?(y=e,u):y},u.links=function(e){return arguments.length?(v=e,u):v},u.size=function(e){return arguments.length?(c=e,u):c},u.linkDistance=function(e){return arguments.length?(f="function"==typeof e?e:+e,u):f},u.distance=u.linkDistance,u.linkStrength=function(e){return arguments.length?(h="function"==typeof e?e:+e,u):h},u.friction=function(e){return arguments.length?(d=+e,u):d},u.charge=function(e){return arguments.length?(p="function"==typeof e?e:+e,u):p},u.chargeDistance=function(e){return arguments.length?(m=e*e,u):Math.sqrt(m)},u.gravity=function(e){return arguments.length?(_=+e,u):_},u.theta=function(e){return arguments.length?(g=e*e,u):Math.sqrt(g)},u.alpha=function(e){return arguments.length?(e=+e,i?e>0?i=e:(n.c=null,n.t=NaN,n=null,l.end({type:"end",alpha:i=0})):e>0&&(l.start({type:"start",alpha:i=e}),n=Re(u.tick)),u):i},u.start=function(){function e(e,r){if(!n){for(n=new Array(i),u=0;u<i;++u)n[u]=[];for(u=0;u<l;++u){var a=v[u];n[a.source.index].push(a.target),n[a.target.index].push(a.source)}}for(var o,s=n[t],u=-1,c=s.length;++u<c;)if(!isNaN(o=s[u][e]))return o;return Math.random()*r}var t,n,r,i=y.length,l=v.length,d=c[0],m=c[1];for(t=0;t<i;++t)(r=y[t]).index=t,r.weight=0;for(t=0;t<l;++t)r=v[t],"number"==typeof r.source&&(r.source=y[r.source]),"number"==typeof r.target&&(r.target=y[r.target]),++r.source.weight,++r.target.weight;for(t=0;t<i;++t)r=y[t],isNaN(r.x)&&(r.x=e("x",d)),isNaN(r.y)&&(r.y=e("y",m)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(a=[],"function"==typeof f)for(t=0;t<l;++t)a[t]=+f.call(this,v[t],t);else for(t=0;t<l;++t)a[t]=f;if(o=[],"function"==typeof h)for(t=0;t<l;++t)o[t]=+h.call(this,v[t],t);else for(t=0;t<l;++t)o[t]=h;if(s=[],"function"==typeof p)for(t=0;t<i;++t)s[t]=+p.call(this,y[t],t);else for(t=0;t<i;++t)s[t]=p;return u.resume()},u.resume=function(){return u.alpha(.1)},u.stop=function(){return u.alpha(0)},u.drag=function(){return r||(r=ho.behavior.drag().origin(L).on("dragstart.force",ii).on("drag.force",t).on("dragend.force",ai)),arguments.length?void this.on("mouseover.force",oi).on("mouseout.force",si).call(r):r},ho.rebind(u,l,"on")};var bu=20,Mu=1,Lu=1/0;ho.layout.hierarchy=function(){function e(i){var a,o=[i],s=[];for(i.depth=0;null!=(a=o.pop());)if(s.push(a),(l=n.call(e,a,a.depth))&&(u=l.length)){for(var u,l,c;--u>=0;)o.push(c=l[u]),c.parent=a,c.depth=a.depth+1;r&&(a.value=0),a.children=l}else r&&(a.value=+r.call(e,a,a.depth)||0),delete a.children;return di(i,function(e){var n,i;t&&(n=e.children)&&n.sort(t),r&&(i=e.parent)&&(i.value+=e.value)}),s}var t=pi,n=fi,r=hi;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&&(ci(t,function(e){e.children&&(e.value=0)}),di(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},ho.layout.partition=function(){function e(t,n,r,i){var a=t.children;if(t.x=n,t.y=t.depth*i,t.dx=r,t.dy=i,a&&(o=a.length)){var o,s,u,l=-1;for(r=t.value?r/t.value:0;++l<o;)e(s=a[l],n,u=s.value*r,i),n+=u}}function t(e){var n=e.children,r=0;if(n&&(i=n.length))for(var i,a=-1;++a<i;)r=Math.max(r,t(n[a]));return 1+r}function n(n,a){var o=r.call(this,n,a);return e(o[0],0,i[0],i[1]/t(o[0])),o}var r=ho.layout.hierarchy(),i=[1,1];return n.size=function(e){return arguments.length?(i=e,n):i},li(n,r)},ho.layout.pie=function(){function e(o){var s,u=o.length,l=o.map(function(n,r){return+t.call(e,n,r)}),c=+("function"==typeof r?r.apply(this,arguments):r),d=("function"==typeof i?i.apply(this,arguments):i)-c,f=Math.min(Math.abs(d)/u,+("function"==typeof a?a.apply(this,arguments):a)),h=f*(d<0?-1:1),p=ho.sum(l),m=p?(d-u*h)/p:0,_=ho.range(u),g=[];return null!=n&&_.sort(n===Su?function(e,t){return l[t]-l[e]}:function(e,t){return n(o[e],o[t])}),_.forEach(function(e){g[e]={data:o[e],value:s=l[e],startAngle:c,endAngle:c+=s*m+h,padAngle:f}}),g}var t=Number,n=Su,r=0,i=Go,a=0;return e.value=function(n){return arguments.length?(t=n,e):t},e.sort=function(t){return arguments.length?(n=t,e):n},e.startAngle=function(t){return arguments.length?(r=t,e):r},e.endAngle=function(t){return arguments.length?(i=t,e):i},e.padAngle=function(t){
return arguments.length?(a=t,e):a},e};var Su={};ho.layout.stack=function(){function e(s,u){if(!(f=s.length))return s;var l=s.map(function(n,r){return t.call(e,n,r)}),c=l.map(function(t){return t.map(function(t,n){return[a.call(e,t,n),o.call(e,t,n)]})}),d=n.call(e,c,u);l=ho.permute(l,d),c=ho.permute(c,d);var f,h,p,m,_=r.call(e,c,u),g=l[0].length;for(p=0;p<g;++p)for(i.call(e,l[0][p],m=_[p],c[0][p][1]),h=1;h<f;++h)i.call(e,l[h][p],m+=c[h-1][p][1],c[h][p][1]);return s}var t=L,n=vi,r=xi,i=yi,a=_i,o=gi;return e.values=function(n){return arguments.length?(t=n,e):t},e.order=function(t){return arguments.length?(n="function"==typeof t?t:wu.get(t)||vi,e):n},e.offset=function(t){return arguments.length?(r="function"==typeof t?t:Tu.get(t)||xi,e):r},e.x=function(t){return arguments.length?(a=t,e):a},e.y=function(t){return arguments.length?(o=t,e):o},e.out=function(t){return arguments.length?(i=t,e):i},e};var wu=ho.map({"inside-out":function(e){var t,n,r=e.length,i=e.map(bi),a=e.map(Mi),o=ho.range(r).sort(function(e,t){return i[e]-i[t]}),s=0,u=0,l=[],c=[];for(t=0;t<r;++t)n=o[t],s<u?(s+=a[n],l.push(n)):(u+=a[n],c.push(n));return c.reverse().concat(l)},reverse:function(e){return ho.range(e.length).reverse()},default:vi}),Tu=ho.map({silhouette:function(e){var t,n,r,i=e.length,a=e[0].length,o=[],s=0,u=[];for(n=0;n<a;++n){for(t=0,r=0;t<i;t++)r+=e[t][n][1];r>s&&(s=r),o.push(r)}for(n=0;n<a;++n)u[n]=(s-o[n])/2;return u},wiggle:function(e){var t,n,r,i,a,o,s,u,l,c=e.length,d=e[0],f=d.length,h=[];for(h[0]=u=l=0,n=1;n<f;++n){for(t=0,i=0;t<c;++t)i+=e[t][n][1];for(t=0,a=0,s=d[n][0]-d[n-1][0];t<c;++t){for(r=0,o=(e[t][n][1]-e[t][n-1][1])/(2*s);r<t;++r)o+=(e[r][n][1]-e[r][n-1][1])/s;a+=o*e[t][n][1]}h[n]=u-=i?a/i*s:0,u<l&&(l=u)}for(n=0;n<f;++n)h[n]-=l;return h},expand:function(e){var t,n,r,i=e.length,a=e[0].length,o=1/i,s=[];for(n=0;n<a;++n){for(t=0,r=0;t<i;t++)r+=e[t][n][1];if(r)for(t=0;t<i;t++)e[t][n][1]/=r;else for(t=0;t<i;t++)e[t][n][1]=o}for(n=0;n<a;++n)s[n]=0;return s},zero:xi});ho.layout.histogram=function(){function e(e,a){for(var o,s,u=[],l=e.map(n,this),c=r.call(this,l,a),d=i.call(this,c,l,a),a=-1,f=l.length,h=d.length-1,p=t?1:1/f;++a<h;)o=u[a]=[],o.dx=d[a+1]-(o.x=d[a]),o.y=0;if(h>0)for(a=-1;++a<f;)s=l[a],s>=c[0]&&s<=c[1]&&(o=u[ho.bisect(d,s,1,h)-1],o.y+=p,o.push(e[a]));return u}var t=!0,n=Number,r=Ti,i=Si;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?(i="number"==typeof t?function(e){return wi(e,t)}:Pe(t),e):i},e.frequency=function(n){return arguments.length?(t=!!n,e):t},e},ho.layout.pack=function(){function e(e,a){var o=n.call(this,e,a),s=o[0],u=i[0],l=i[1],c=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(s.x=s.y=0,di(s,function(e){e.r=+c(e.value)}),di(s,Pi),r){var d=r*(t?1:Math.max(2*s.r/u,2*s.r/l))/2;di(s,function(e){e.r+=d}),di(s,Pi),di(s,function(e){e.r-=d})}return Oi(s,u/2,l/2,t?1:1/Math.max(2*s.r/u,2*s.r/l)),o}var t,n=ho.layout.hierarchy().sort(ki),r=0,i=[1,1];return e.size=function(t){return arguments.length?(i=t,e):i},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},li(e,n)},ho.layout.tree=function(){function e(e,i){var c=o.call(this,e,i),d=c[0],f=t(d);if(di(f,n),f.parent.m=-f.z,ci(f,r),l)ci(d,a);else{var h=d,p=d,m=d;ci(d,function(e){e.x<h.x&&(h=e),e.x>p.x&&(p=e),e.depth>m.depth&&(m=e)});var _=s(h,p)/2-h.x,g=u[0]/(p.x+s(p,h)/2+_),y=u[1]/(m.depth||1);ci(d,function(e){e.x=(e.x+_)*g,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 i,a=t.children,o=0,s=a.length;o<s;++o)r.push((a[o]=i={_:a[o],parent:t,children:(i=a[o].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=i);return n.children[0]}function n(e){var t=e.children,n=e.parent.children,r=e.i?n[e.i-1]:null;if(t.length){Vi(e);var a=(t[0].z+t[t.length-1].z)/2;r?(e.z=r.z+s(e._,r._),e.m=e.z-a):e.z=a}else r&&(e.z=r.z+s(e._,r._));e.parent.A=i(e,r,e.parent.A||n[0])}function r(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function i(e,t,n){if(t){for(var r,i=e,a=e,o=t,u=i.parent.children[0],l=i.m,c=a.m,d=o.m,f=u.m;o=Hi(o),i=Ni(i),o&&i;)u=Ni(u),a=Hi(a),a.a=e,r=o.z+d-i.z-l+s(o._,i._),r>0&&(Ii(Fi(o,e,n),e,r),l+=r,c+=r),d+=o.m,l+=i.m,f+=u.m,c+=a.m;o&&!Hi(a)&&(a.t=o,a.m+=d-c),i&&!Ni(u)&&(u.t=i,u.m+=l-f,n=e)}return n}function a(e){e.x*=u[0],e.y=e.depth*u[1]}var o=ho.layout.hierarchy().sort(null).value(null),s=Ri,u=[1,1],l=null;return e.separation=function(t){return arguments.length?(s=t,e):s},e.size=function(t){return arguments.length?(l=null==(u=t)?a:null,e):l?null:u},e.nodeSize=function(t){return arguments.length?(l=null==(u=t)?null:a,e):l?u:null},li(e,o)},ho.layout.cluster=function(){function e(e,a){var o,s=t.call(this,e,a),u=s[0],l=0;di(u,function(e){var t=e.children;t&&t.length?(e.x=Gi(t),e.y=Wi(t)):(e.x=o?l+=n(e,o):0,e.y=0,o=e)});var c=Ui(u),d=zi(u),f=c.x-n(c,d)/2,h=d.x+n(d,c)/2;return di(u,i?function(e){e.x=(e.x-u.x)*r[0],e.y=(u.y-e.y)*r[1]}:function(e){e.x=(e.x-f)/(h-f)*r[0],e.y=(1-(u.y?e.y/u.y:1))*r[1]}),s}var t=ho.layout.hierarchy().sort(null).value(null),n=Ri,r=[1,1],i=!1;return e.separation=function(t){return arguments.length?(n=t,e):n},e.size=function(t){return arguments.length?(i=null==(r=t),e):i?null:r},e.nodeSize=function(t){return arguments.length?(i=null!=(r=t),e):i?r:null},li(e,t)},ho.layout.treemap=function(){function e(e,t){for(var n,r,i=-1,a=e.length;++i<a;)r=(n=e[i]).value*(t<0?0:t),n.area=isNaN(r)||r<=0?0:r}function t(n){var a=n.children;if(a&&a.length){var o,s,u,l=d(n),c=[],f=a.slice(),p=1/0,m="slice"===h?l.dx:"dice"===h?l.dy:"slice-dice"===h?1&n.depth?l.dy:l.dx:Math.min(l.dx,l.dy);for(e(f,l.dx*l.dy/n.value),c.area=0;(u=f.length)>0;)c.push(o=f[u-1]),c.area+=o.area,"squarify"!==h||(s=r(c,m))<=p?(f.pop(),p=s):(c.area-=c.pop().area,i(c,m,l,!1),m=Math.min(l.dx,l.dy),c.length=c.area=0,p=1/0);c.length&&(i(c,m,l,!0),c.length=c.area=0),a.forEach(t)}}function n(t){var r=t.children;if(r&&r.length){var a,o=d(t),s=r.slice(),u=[];for(e(s,o.dx*o.dy/t.value),u.area=0;a=s.pop();)u.push(a),u.area+=a.area,null!=a.z&&(i(u,a.z?o.dx:o.dy,o,!s.length),u.length=u.area=0);r.forEach(n)}}function r(e,t){for(var n,r=e.area,i=0,a=1/0,o=-1,s=e.length;++o<s;)(n=e[o].area)&&(n<a&&(a=n),n>i&&(i=n));return r*=r,t*=t,r?Math.max(t*i*p/r,r/(t*a*p)):1/0}function i(e,t,n,r){var i,a=-1,o=e.length,s=n.x,l=n.y,c=t?u(e.area/t):0;if(t==n.dx){for((r||c>n.dy)&&(c=n.dy);++a<o;)i=e[a],i.x=s,i.y=l,i.dy=c,s+=i.dx=Math.min(n.x+n.dx-s,c?u(i.area/c):0);i.z=!0,i.dx+=n.x+n.dx-s,n.y+=c,n.dy-=c}else{for((r||c>n.dx)&&(c=n.dx);++a<o;)i=e[a],i.x=s,i.y=l,i.dx=c,l+=i.dy=Math.min(n.y+n.dy-l,c?u(i.area/c):0);i.z=!1,i.dy+=n.y+n.dy-l,n.x+=c,n.dx-=c}}function a(r){var i=o||s(r),a=i[0];return a.x=a.y=0,a.value?(a.dx=l[0],a.dy=l[1]):a.dx=a.dy=0,o&&s.revalue(a),e([a],a.dx*a.dy/a.value),(o?n:t)(a),f&&(o=i),i}var o,s=ho.layout.hierarchy(),u=Math.round,l=[1,1],c=null,d=Bi,f=!1,h="squarify",p=.5*(1+Math.sqrt(5));return a.size=function(e){return arguments.length?(l=e,a):l},a.padding=function(e){function t(t){var n=e.call(a,t,t.depth);return null==n?Bi(t):qi(t,"number"==typeof n?[n,n,n,n]:n)}function n(t){return qi(t,e)}if(!arguments.length)return c;var r;return d=null==(c=e)?Bi:"function"==(r=typeof e)?t:"number"===r?(e=[e,e,e,e],n):n,a},a.round=function(e){return arguments.length?(u=e?Math.round:Number,a):u!=Number},a.sticky=function(e){return arguments.length?(f=e,o=null,a):f},a.ratio=function(e){return arguments.length?(p=e,a):p},a.mode=function(e){return arguments.length?(h=e+"",a):h},li(a,s)},ho.random={normal:function(e,t){var n=arguments.length;return n<2&&(t=1),n<1&&(e=0),function(){var n,r,i;do n=2*Math.random()-1,r=2*Math.random()-1,i=n*n+r*r;while(!i||i>1);return e+t*n*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var e=ho.random.normal.apply(ho,arguments);return function(){return Math.exp(e())}},bates:function(e){var t=ho.random.irwinHall(e);return function(){return t()/e}},irwinHall:function(e){return function(){for(var t=0,n=0;n<e;n++)t+=Math.random();return t}}},ho.scale={};var ku={floor:L,ceil:L};ho.scale.linear=function(){return ea([0,1],[0,1],Sr,!1)};var Du={s:1,g:1,p:1,r:1,e:1};ho.scale.log=function(){return ua(ho.scale.linear().domain([0,1]),10,!0,[1,10])};var Yu=ho.format(".0e"),Eu={floor:function(e){return-Math.ceil(-e)},ceil:function(e){return-Math.floor(-e)}};ho.scale.pow=function(){return la(ho.scale.linear(),1,[0,1])},ho.scale.sqrt=function(){return ho.scale.pow().exponent(.5)},ho.scale.ordinal=function(){return da([],{t:"range",a:[[]]})},ho.scale.category10=function(){return ho.scale.ordinal().range(Pu)},ho.scale.category20=function(){return ho.scale.ordinal().range(Au)},ho.scale.category20b=function(){return ho.scale.ordinal().range(Cu)},ho.scale.category20c=function(){return ho.scale.ordinal().range(Ou)};var Pu=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(Se),Au=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(Se),Cu=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(Se),Ou=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(Se);ho.scale.quantile=function(){return fa([],[])},ho.scale.quantize=function(){return ha(0,1,[0,1])},ho.scale.threshold=function(){return pa([.5],[0,1])},ho.scale.identity=function(){return ma([0,1])},ho.svg={},ho.svg.arc=function(){function e(){var e=Math.max(0,+n.apply(this,arguments)),l=Math.max(0,+r.apply(this,arguments)),c=o.apply(this,arguments)-zo,d=s.apply(this,arguments)-zo,f=Math.abs(d-c),h=c>d?0:1;if(l<e&&(p=l,l=e,e=p),f>=Uo)return t(l,h)+(e?t(e,1-h):"")+"Z";var p,m,_,g,y,v,x,b,M,L,S,w,T=0,k=0,D=[];if((g=(+u.apply(this,arguments)||0)/2)&&(_=a===ju?Math.sqrt(e*e+l*l):+a.apply(this,arguments),h||(k*=-1),l&&(k=oe(_/l*Math.sin(g))),e&&(T=oe(_/e*Math.sin(g)))),l){y=l*Math.cos(c+k),v=l*Math.sin(c+k),x=l*Math.cos(d-k),b=l*Math.sin(d-k);var Y=Math.abs(d-c-2*k)<=Wo?0:1;if(k&&Ma(y,v,x,b)===h^Y){var E=(c+d)/2;y=l*Math.cos(E),v=l*Math.sin(E),x=b=null}}else y=v=0;if(e){M=e*Math.cos(d-T),L=e*Math.sin(d-T),S=e*Math.cos(c+T),w=e*Math.sin(c+T);var P=Math.abs(c-d+2*T)<=Wo?0:1;if(T&&Ma(M,L,S,w)===1-h^P){var A=(c+d)/2;M=e*Math.cos(A),L=e*Math.sin(A),S=w=null}}else M=L=0;if(f>Vo&&(p=Math.min(Math.abs(l-e)/2,+i.apply(this,arguments)))>.001){m=e<l^h?0:1;var C=p,O=p;if(f<Wo){var j=null==S?[M,L]:null==x?[y,v]:In([y,v],[S,w],[x,b],[M,L]),R=y-j[0],N=v-j[1],H=x-j[0],I=b-j[1],V=1/Math.sin(Math.acos((R*H+N*I)/(Math.sqrt(R*R+N*N)*Math.sqrt(H*H+I*I)))/2),F=Math.sqrt(j[0]*j[0]+j[1]*j[1]);O=Math.min(p,(e-F)/(V-1)),C=Math.min(p,(l-F)/(V+1))}if(null!=x){var W=La(null==S?[M,L]:[S,w],[y,v],l,C,h),G=La([x,b],[M,L],l,C,h);p===C?D.push("M",W[0],"A",C,",",C," 0 0,",m," ",W[1],"A",l,",",l," 0 ",1-h^Ma(W[1][0],W[1][1],G[1][0],G[1][1]),",",h," ",G[1],"A",C,",",C," 0 0,",m," ",G[0]):D.push("M",W[0],"A",C,",",C," 0 1,",m," ",G[0])}else D.push("M",y,",",v);if(null!=S){var U=La([y,v],[S,w],e,-O,h),z=La([M,L],null==x?[y,v]:[x,b],e,-O,h);p===O?D.push("L",z[0],"A",O,",",O," 0 0,",m," ",z[1],"A",e,",",e," 0 ",h^Ma(z[1][0],z[1][1],U[1][0],U[1][1]),",",1-h," ",U[1],"A",O,",",O," 0 0,",m," ",U[0]):D.push("L",z[0],"A",O,",",O," 0 0,",m," ",U[0])}else D.push("L",M,",",L)}else D.push("M",y,",",v),null!=x&&D.push("A",l,",",l," 0 ",Y,",",h," ",x,",",b),D.push("L",M,",",L),null!=S&&D.push("A",e,",",e," 0 ",P,",",1-h," ",S,",",w);return D.push("Z"),D.join("")}function t(e,t){return"M0,"+e+"A"+e+","+e+" 0 1,"+t+" 0,"+-e+"A"+e+","+e+" 0 1,"+t+" 0,"+e}var n=ga,r=ya,i=_a,a=ju,o=va,s=xa,u=ba;return e.innerRadius=function(t){return arguments.length?(n=Pe(t),e):n},e.outerRadius=function(t){return arguments.length?(r=Pe(t),e):r},e.cornerRadius=function(t){return arguments.length?(i=Pe(t),e):i},e.padRadius=function(t){return arguments.length?(a=t==ju?ju:Pe(t),e):a},e.startAngle=function(t){return arguments.length?(o=Pe(t),e):o},e.endAngle=function(t){return arguments.length?(s=Pe(t),e):s},e.padAngle=function(t){return arguments.length?(u=Pe(t),e):u},e.centroid=function(){var e=(+n.apply(this,arguments)+ +r.apply(this,arguments))/2,t=(+o.apply(this,arguments)+ +s.apply(this,arguments))/2-zo;return[Math.cos(t)*e,Math.sin(t)*e]},e};var ju="auto";ho.svg.line=function(){return Sa(L)};var Ru=ho.map({linear:wa,"linear-closed":Ta,step:ka,"step-before":Da,"step-after":Ya,basis:ja,"basis-open":Ra,"basis-closed":Na,bundle:Ha,cardinal:Aa,"cardinal-open":Ea,"cardinal-closed":Pa,monotone:Ua});Ru.forEach(function(e,t){t.key=e,t.closed=/-closed$/.test(e)});var Nu=[0,2/3,1/3,0],Hu=[0,1/3,2/3,0],Iu=[0,1/6,2/3,1/6];ho.svg.line.radial=function(){var e=Sa(za);return e.radius=e.x,delete e.x,e.angle=e.y,delete e.y,e},Da.reverse=Ya,Ya.reverse=Da,ho.svg.area=function(){return Ba(L)},ho.svg.area.radial=function(){var e=Ba(za);return e.radius=e.x,delete e.x,e.innerRadius=e.x0,delete e.x0,e.outerRadius=e.x1,delete e.x1,e.angle=e.y,delete e.y,e.startAngle=e.y0,delete e.y0,e.endAngle=e.y1,delete e.y1,e},ho.svg.chord=function(){function e(e,s){var u=t(this,a,e,s),l=t(this,o,e,s);return"M"+u.p0+r(u.r,u.p1,u.a1-u.a0)+(n(u,l)?i(u.r,u.p1,u.r,u.p0):i(u.r,u.p1,l.r,l.p0)+r(l.r,l.p1,l.a1-l.a0)+i(l.r,l.p1,u.r,u.p0))+"Z"}function t(e,t,n,r){var i=t.call(e,n,r),a=s.call(e,i,r),o=u.call(e,i,r)-zo,c=l.call(e,i,r)-zo;return{r:a,a0:o,a1:c,p0:[a*Math.cos(o),a*Math.sin(o)],p1:[a*Math.cos(c),a*Math.sin(c)]}}function n(e,t){return e.a0==t.a0&&e.a1==t.a1}function r(e,t,n){return"A"+e+","+e+" 0 "+ +(n>Wo)+",1 "+t}function i(e,t,n,r){return"Q 0,0 "+r}var a=Sn,o=wn,s=qa,u=va,l=xa;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?(o=Pe(t),e):o},e.startAngle=function(t){return arguments.length?(u=Pe(t),e):u},e.endAngle=function(t){return arguments.length?(l=Pe(t),e):l},e},ho.svg.diagonal=function(){function e(e,i){var a=t.call(this,e,i),o=n.call(this,e,i),s=(a.y+o.y)/2,u=[a,{x:a.x,y:s},{x:o.x,y:s},o];return u=u.map(r),"M"+u[0]+"C"+u[1]+" "+u[2]+" "+u[3]}var t=Sn,n=wn,r=Xa;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},ho.svg.diagonal.radial=function(){var e=ho.svg.diagonal(),t=Xa,n=e.projection;return e.projection=function(e){return arguments.length?n(Ka(t=e)):t},e},ho.svg.symbol=function(){function e(e,r){return(Vu.get(t.call(this,e,r))||Qa)(n.call(this,e,r))}var t=$a,n=Ja;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 Vu=ho.map({circle:Qa,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*Wu)),n=t*Wu;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/Fu),n=t*Fu/2;return"M0,"+n+"L"+t+","+-n+" "+-t+","+-n+"Z"},"triangle-up":function(e){var t=Math.sqrt(e/Fu),n=t*Fu/2;return"M0,"+-n+"L"+t+","+n+" "+-t+","+n+"Z"}});ho.svg.symbolTypes=Vu.keys();var Fu=Math.sqrt(3),Wu=Math.tan(30*Bo);Ao.transition=function(e){for(var t,n,r=Gu||++qu,i=ro(e),a=[],o=Uu||{time:Date.now(),ease:Pr,delay:0,duration:250},s=-1,u=this.length;++s<u;){a.push(t=[]);for(var l=this[s],c=-1,d=l.length;++c<d;)(n=l[c])&&io(n,c,i,r,o),t.push(n)}return eo(a,i,r)},Ao.interrupt=function(e){return this.each(null==e?zu:Za(ro(e)))};var Gu,Uu,zu=Za(ro()),Bu=[],qu=0;Bu.call=Ao.call,Bu.empty=Ao.empty,Bu.node=Ao.node,Bu.size=Ao.size,ho.transition=function(e,t){return e&&e.transition?Gu?e.transition(t):e:ho.selection().transition(e)},ho.transition.prototype=Bu,Bu.select=function(e){var t,n,r,i=this.id,a=this.namespace,o=[];e=C(e);for(var s=-1,u=this.length;++s<u;){o.push(t=[]);for(var l=this[s],c=-1,d=l.length;++c<d;)(r=l[c])&&(n=e.call(r,r.__data__,c,s))?("__data__"in r&&(n.__data__=r.__data__),io(n,c,a,i,r[a][i]),t.push(n)):t.push(null)}return eo(o,a,i)},Bu.selectAll=function(e){var t,n,r,i,a,o=this.id,s=this.namespace,u=[];e=O(e);for(var l=-1,c=this.length;++l<c;)for(var d=this[l],f=-1,h=d.length;++f<h;)if(r=d[f]){a=r[s][o],n=e.call(r,r.__data__,f,l),u.push(t=[]);for(var p=-1,m=n.length;++p<m;)(i=n[p])&&io(i,p,s,o,a),t.push(i)}return eo(u,s,o)},Bu.filter=function(e){var t,n,r,i=[];"function"!=typeof e&&(e=B(e));for(var a=0,o=this.length;a<o;a++){i.push(t=[]);for(var n=this[a],s=0,u=n.length;s<u;s++)(r=n[s])&&e.call(r,r.__data__,s,a)&&t.push(r)}return eo(i,this.namespace,this.id)},Bu.tween=function(e,t){var n=this.id,r=this.namespace;return arguments.length<2?this.node()[r][n].tween.get(e):X(this,null==t?function(t){t[r][n].tween.remove(e)}:function(i){i[r][n].tween.set(e,t)})},Bu.attr=function(e,t){function n(){this.removeAttribute(s)}function r(){this.removeAttributeNS(s.space,s.local)}function i(e){return null==e?n:(e+="",function(){var t,n=this.getAttribute(s);return n!==e&&(t=o(n,e),function(e){this.setAttribute(s,t(e))})})}function a(e){return null==e?r:(e+="",function(){var t,n=this.getAttributeNS(s.space,s.local);return n!==e&&(t=o(n,e),function(e){this.setAttributeNS(s.space,s.local,t(e))})})}if(arguments.length<2){for(t in e)this.attr(t,e[t]);return this}var o="transform"==e?Qr:Sr,s=ho.ns.qualify(e);return to(this,"attr."+e,t,s.local?a:i)},Bu.attrTween=function(e,t){function n(e,n){var r=t.call(this,e,n,this.getAttribute(i));return r&&function(e){this.setAttribute(i,r(e))}}function r(e,n){var r=t.call(this,e,n,this.getAttributeNS(i.space,i.local));return r&&function(e){this.setAttributeNS(i.space,i.local,r(e))}}var i=ho.ns.qualify(e);return this.tween("attr."+e,i.local?r:n)},Bu.style=function(e,t,n){function r(){this.style.removeProperty(e)}function i(t){return null==t?r:(t+="",function(){var r,i=o(this).getComputedStyle(this,null).getPropertyValue(e);return i!==t&&(r=Sr(i,t),function(t){this.style.setProperty(e,r(t),n)})})}var a=arguments.length;if(a<3){if("string"!=typeof e){a<2&&(t="");for(n in e)this.style(n,e[n],t);return this}n=""}return to(this,"style."+e,t,i)},Bu.styleTween=function(e,t,n){function r(r,i){var a=t.call(this,r,i,o(this).getComputedStyle(this,null).getPropertyValue(e));return a&&function(t){this.style.setProperty(e,a(t),n)}}return arguments.length<3&&(n=""),this.tween("style."+e,r)},Bu.text=function(e){return to(this,"text",e,no)},Bu.remove=function(){var e=this.namespace;return this.each("end.transition",function(){var t;this[e].count<2&&(t=this.parentNode)&&t.removeChild(this)})},Bu.ease=function(e){var t=this.id,n=this.namespace;return arguments.length<1?this.node()[n][t].ease:("function"!=typeof e&&(e=ho.ease.apply(ho,arguments)),X(this,function(r){r[n][t].ease=e}))},Bu.delay=function(e){var t=this.id,n=this.namespace;return arguments.length<1?this.node()[n][t].delay:X(this,"function"==typeof e?function(r,i,a){r[n][t].delay=+e.call(r,r.__data__,i,a)}:(e=+e,function(r){r[n][t].delay=e}))},Bu.duration=function(e){var t=this.id,n=this.namespace;return arguments.length<1?this.node()[n][t].duration:X(this,"function"==typeof e?function(r,i,a){r[n][t].duration=Math.max(1,e.call(r,r.__data__,i,a))}:(e=Math.max(1,e),function(r){r[n][t].duration=e}))},Bu.each=function(e,t){var n=this.id,r=this.namespace;if(arguments.length<2){var i=Uu,a=Gu;try{Gu=n,X(this,function(t,i,a){Uu=t[r][n],e.call(t,t.__data__,i,a)})}finally{Uu=i,Gu=a}}else X(this,function(i){var a=i[r][n];(a.event||(a.event=ho.dispatch("start","end","interrupt"))).on(e,t)});return this},Bu.transition=function(){for(var e,t,n,r,i=this.id,a=++qu,o=this.namespace,s=[],u=0,l=this.length;u<l;u++){s.push(e=[]);for(var t=this[u],c=0,d=t.length;c<d;c++)(n=t[c])&&(r=n[o][i],io(n,c,o,a,{time:r.time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration})),e.push(n)}return eo(s,o,a)},ho.svg.axis=function(){function e(e){e.each(function(){var e,l=ho.select(this),c=this.__chart__||n,d=this.__chart__=n.copy(),f=null==u?d.ticks?d.ticks.apply(d,s):d.domain():u,h=null==t?d.tickFormat?d.tickFormat.apply(d,s):L:t,p=l.selectAll(".tick").data(f,d),m=p.enter().insert("g",".domain").attr("class","tick").style("opacity",Vo),_=ho.transition(p.exit()).style("opacity",Vo).remove(),g=ho.transition(p.order()).style("opacity",1),y=Math.max(i,0)+o,v=Ki(d),x=l.selectAll(".domain").data([0]),b=(x.enter().append("path").attr("class","domain"),ho.transition(x));m.append("line"),m.append("text");var M,S,w,T,k=m.select("line"),D=g.select("line"),Y=p.select("text").text(h),E=m.select("text"),P=g.select("text"),A="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(e=ao,M="x",w="y",S="x2",T="y2",Y.attr("dy",A<0?"0em":".71em").style("text-anchor","middle"),b.attr("d","M"+v[0]+","+A*a+"V0H"+v[1]+"V"+A*a)):(e=oo,M="y",w="x",S="y2",T="x2",Y.attr("dy",".32em").style("text-anchor",A<0?"end":"start"),b.attr("d","M"+A*a+","+v[0]+"H0V"+v[1]+"H"+A*a)),k.attr(T,A*i),E.attr(w,A*y),D.attr(S,0).attr(T,A*i),P.attr(M,0).attr(w,A*y),d.rangeBand){var C=d,O=C.rangeBand()/2;c=d=function(e){return C(e)+O}}else c.rangeBand?c=d:_.call(e,d,c);m.call(e,c,d),g.call(e,d,d)})}var t,n=ho.scale.linear(),r=Xu,i=6,a=6,o=3,s=[10],u=null;return e.scale=function(t){return arguments.length?(n=t,e):n},e.orient=function(t){return arguments.length?(r=t in Ku?t+"":Xu,e):r},e.ticks=function(){return arguments.length?(s=mo(arguments),e):s},e.tickValues=function(t){return arguments.length?(u=t,e):u},e.tickFormat=function(n){return arguments.length?(t=n,e):t},e.tickSize=function(t){var n=arguments.length;return n?(i=+t,a=+arguments[n-1],e):i},e.innerTickSize=function(t){return arguments.length?(i=+t,e):i},e.outerTickSize=function(t){return arguments.length?(a=+t,e):a},e.tickPadding=function(t){return arguments.length?(o=+t,e):o},e.tickSubdivide=function(){return arguments.length&&e},e};var Xu="bottom",Ku={top:1,right:1,bottom:1,left:1};ho.svg.brush=function(){function e(a){a.each(function(){var a=ho.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",i).on("touchstart.brush",i),o=a.selectAll(".background").data([0]);o.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),a.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var s=a.selectAll(".resize").data(m,L);s.exit().remove(),s.enter().append("g").attr("class",function(e){return"resize "+e}).style("cursor",function(e){return Ju[e]}).append("rect").attr("x",function(e){return/[ew]$/.test(e)?-3:null}).attr("y",function(e){return/^[ns]/.test(e)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),s.style("display",e.empty()?"none":null);var u,d=ho.transition(a),f=ho.transition(o);l&&(u=Ki(l),f.attr("x",u[0]).attr("width",u[1]-u[0]),n(d)),c&&(u=Ki(c),f.attr("y",u[0]).attr("height",u[1]-u[0]),r(d)),t(d)})}function t(e){e.selectAll(".resize").attr("transform",function(e){return"translate("+d[+/e$/.test(e)]+","+f[+/^s/.test(e)]+")"})}function n(e){e.select(".extent").attr("x",d[0]),e.selectAll(".extent,.n>rect,.s>rect").attr("width",d[1]-d[0])}function r(e){e.select(".extent").attr("y",f[0]),e.selectAll(".extent,.e>rect,.w>rect").attr("height",f[1]-f[0])}function i(){function i(){32==ho.event.keyCode&&(D||(v=null,P[0]-=d[1],P[1]-=f[1],D=2),Y())}function m(){32==ho.event.keyCode&&2==D&&(P[0]+=d[1],P[1]+=f[1],D=0,Y())}function _(){var e=ho.mouse(b),i=!1;x&&(e[0]+=x[0],e[1]+=x[1]),D||(ho.event.altKey?(v||(v=[(d[0]+d[1])/2,(f[0]+f[1])/2]),P[0]=d[+(e[0]<v[0])],P[1]=f[+(e[1]<v[1])]):v=null),T&&g(e,l,0)&&(n(S),i=!0),k&&g(e,c,1)&&(r(S),i=!0),i&&(t(S),L({type:"brush",mode:D?"move":"resize"}))}function g(e,t,n){var r,i,o=Ki(t),u=o[0],l=o[1],c=P[n],m=n?f:d,_=m[1]-m[0];if(D&&(u-=c,l-=_+c),r=(n?p:h)?Math.max(u,Math.min(l,e[n])):e[n],D?i=(r+=c)+_:(v&&(c=Math.max(u,Math.min(l,2*v[n]-r))),c<r?(i=r,r=c):i=c),m[0]!=r||m[1]!=i)return n?s=null:a=null,m[0]=r,m[1]=i,!0}function y(){_(),S.style("pointer-events","all").selectAll(".resize").style("display",e.empty()?"none":null),ho.select("body").style("cursor",null),A.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),E(),L({type:"brushend"})}var v,x,b=this,M=ho.select(ho.event.target),L=u.of(b,arguments),S=ho.select(b),w=M.datum(),T=!/^(n|s)$/.test(w)&&l,k=!/^(e|w)$/.test(w)&&c,D=M.classed("extent"),E=ee(b),P=ho.mouse(b),A=ho.select(o(b)).on("keydown.brush",i).on("keyup.brush",m);if(ho.event.changedTouches?A.on("touchmove.brush",_).on("touchend.brush",y):A.on("mousemove.brush",_).on("mouseup.brush",y),S.interrupt().selectAll("*").interrupt(),D)P[0]=d[0]-P[0],P[1]=f[0]-P[1];else if(w){var C=+/w$/.test(w),O=+/^n/.test(w);x=[d[1-C]-P[0],f[1-O]-P[1]],P[0]=d[C],P[1]=f[O]}else ho.event.altKey&&(v=P.slice());S.style("pointer-events","none").selectAll(".resize").style("display",null),ho.select("body").style("cursor",M.style("cursor")),L({type:"brushstart"}),_()}var a,s,u=P(e,"brushstart","brush","brushend"),l=null,c=null,d=[0,0],f=[0,0],h=!0,p=!0,m=$u[0];return e.event=function(e){e.each(function(){var e=u.of(this,arguments),t={x:d,y:f,i:a,j:s},n=this.__chart__||t;this.__chart__=t,Gu?ho.select(this).transition().each("start.brush",function(){a=n.i,s=n.j,d=n.x,f=n.y,e({type:"brushstart"})}).tween("brush:brush",function(){var n=wr(d,t.x),r=wr(f,t.y);return a=s=null,function(i){d=t.x=n(i),f=t.y=r(i),e({type:"brush",mode:"resize"})}}).each("end.brush",function(){a=t.i,s=t.j,e({type:"brush",mode:"resize"}),e({type:"brushend"})}):(e({type:"brushstart"}),e({type:"brush",mode:"resize"}),e({type:"brushend"}))})},e.x=function(t){return arguments.length?(l=t,m=$u[!l<<1|!c],e):l},e.y=function(t){return arguments.length?(c=t,m=$u[!l<<1|!c],e):c},e.clamp=function(t){return arguments.length?(l&&c?(h=!!t[0],p=!!t[1]):l?h=!!t:c&&(p=!!t),e):l&&c?[h,p]:l?h:c?p:null},e.extent=function(t){var n,r,i,o,u;return arguments.length?(l&&(n=t[0],r=t[1],c&&(n=n[0],r=r[0]),a=[n,r],l.invert&&(n=l(n),r=l(r)),r<n&&(u=n,n=r,r=u),n==d[0]&&r==d[1]||(d=[n,r])),c&&(i=t[0],o=t[1],l&&(i=i[1],o=o[1]),s=[i,o],c.invert&&(i=c(i),o=c(o)),o<i&&(u=i,i=o,o=u),i==f[0]&&o==f[1]||(f=[i,o])),e):(l&&(a?(n=a[0],r=a[1]):(n=d[0],r=d[1],l.invert&&(n=l.invert(n),r=l.invert(r)),r<n&&(u=n,n=r,r=u))),c&&(s?(i=s[0],o=s[1]):(i=f[0],o=f[1],c.invert&&(i=c.invert(i),o=c.invert(o)),o<i&&(u=i,i=o,o=u))),l&&c?[[n,i],[r,o]]:l?[n,r]:c&&[i,o])},e.clear=function(){return e.empty()||(d=[0,0],f=[0,0],a=s=null),e},e.empty=function(){return!!l&&d[0]==d[1]||!!c&&f[0]==f[1]},ho.rebind(e,u,"on")};var Ju={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},$u=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Qu=gs.format=Ls.timeFormat,Zu=Qu.utc,el=Zu("%Y-%m-%dT%H:%M:%S.%LZ");Qu.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?so:el,so.parse=function(e){var t=new Date(e);return isNaN(t)?null:t},so.toString=el.toString,gs.second=ze(function(e){return new ys(1e3*Math.floor(e/1e3))},function(e,t){e.setTime(e.getTime()+1e3*Math.floor(t))},function(e){return e.getSeconds()}),gs.seconds=gs.second.range,gs.seconds.utc=gs.second.utc.range,gs.minute=ze(function(e){return new ys(6e4*Math.floor(e/6e4))},function(e,t){e.setTime(e.getTime()+6e4*Math.floor(t))},function(e){return e.getMinutes()}),gs.minutes=gs.minute.range,gs.minutes.utc=gs.minute.utc.range,gs.hour=ze(function(e){var t=e.getTimezoneOffset()/60;return new ys(36e5*(Math.floor(e/36e5-t)+t))},function(e,t){e.setTime(e.getTime()+36e5*Math.floor(t))},function(e){return e.getHours()}),gs.hours=gs.hour.range,gs.hours.utc=gs.hour.utc.range,gs.month=ze(function(e){return e=gs.day(e),e.setDate(1),e},function(e,t){e.setMonth(e.getMonth()+t)},function(e){return e.getMonth()}),gs.months=gs.month.range,gs.months.utc=gs.month.utc.range;var tl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],nl=[[gs.second,1],[gs.second,5],[gs.second,15],[gs.second,30],[gs.minute,1],[gs.minute,5],[gs.minute,15],[gs.minute,30],[gs.hour,1],[gs.hour,3],[gs.hour,6],[gs.hour,12],[gs.day,1],[gs.day,2],[gs.week,1],[gs.month,1],[gs.month,3],[gs.year,1]],rl=Qu.multi([[".%L",function(e){return e.getMilliseconds()}],[":%S",function(e){return e.getSeconds()}],["%I:%M",function(e){return e.getMinutes()}],["%I %p",function(e){return e.getHours()}],["%a %d",function(e){return e.getDay()&&1!=e.getDate()}],["%b %d",function(e){return 1!=e.getDate()}],["%B",function(e){return e.getMonth()}],["%Y",Ot]]),il={range:function(e,t,n){return ho.range(Math.ceil(e/n)*n,+t,n).map(lo)},floor:L,ceil:L};nl.year=gs.year,gs.scale=function(){return uo(ho.scale.linear(),nl,rl)};var al=nl.map(function(e){return[e[0].utc,e[1]]}),ol=Zu.multi([[".%L",function(e){return e.getUTCMilliseconds()}],[":%S",function(e){return e.getUTCSeconds()}],["%I:%M",function(e){return e.getUTCMinutes()}],["%I %p",function(e){return e.getUTCHours()}],["%a %d",function(e){return e.getUTCDay()&&1!=e.getUTCDate()}],["%b %d",function(e){return 1!=e.getUTCDate()}],["%B",function(e){return e.getUTCMonth()}],["%Y",Ot]]);al.year=gs.year.utc,gs.scale.utc=function(){return uo(ho.scale.linear(),al,ol)},ho.text=Ae(function(e){return e.responseText}),ho.json=function(e,t){return Ce(e,"application/json",co,t)},ho.html=function(e,t){return Ce(e,"text/html",fo,t)},ho.xml=Ae(function(e){return e.responseXML}),this.d3=ho,r=ho,i="function"==typeof r?r.call(t,n,t,e):r,!(void 0!==i&&(e.exports=i))}()},function(e,t,n){"use strict";var r=n(13),i={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=i},function(e,t,n){"use strict";function r(e,t){var n=!0;e:for(;n;){var r=e,a=t;if(n=!1,r&&a){if(r===a)return!0;if(i(r))return!1;if(i(a)){e=r,t=a.parentNode,n=!0;continue e}return r.contains?r.contains(a):!!r.compareDocumentPosition&&!!(16&r.compareDocumentPosition(a))}return!1}}var i=n(319);e.exports=r},function(e,t){"use strict";function n(e){try{e.focus()}catch(e){}}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,n){"use strict";function r(e){return o?void 0:a(!1),f.hasOwnProperty(e)||(e="*"),s.hasOwnProperty(e)||("*"===e?o.innerHTML="<link />":o.innerHTML="<"+e+"></"+e+">",s[e]=!o.firstChild),s[e]?f[e]:null}var i=n(8),a=n(2),o=i.canUseDOM?document.createElement("div"):null,s={},u=[1,'<select multiple="true">',"</select>"],l=[1,"<table>","</table>"],c=[3,"<table><tbody><tr>","</tr></tbody></table>"],d=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],f={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:u,option:u,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:c,th:c},h=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];h.forEach(function(e){f[e]=d,s[e]=!0}),e.exports=r},function(e,t){"use strict";function n(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),i=Object.keys(t);if(n.length!==i.length)return!1;for(var a=r.bind(t),o=0;o<n.length;o++)if(!a(n[o])||e[n[o]]!==t[n[o]])return!1;return!0}var r=Object.prototype.hasOwnProperty;e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return u+e}function a(e,t){try{null==t?window.sessionStorage.removeItem(i(e)):window.sessionStorage.setItem(i(e),JSON.stringify(t))}catch(e){if(e.name===c)return;if(l.indexOf(e.name)>=0&&0===window.sessionStorage.length)return;throw e}}function o(e){var t=void 0;try{t=window.sessionStorage.getItem(i(e))}catch(e){if(e.name===c)return null}if(t)try{return JSON.parse(t)}catch(e){}return null}t.__esModule=!0,t.saveState=a,t.readState=o;var s=n(14),u=(r(s),"@@History/"),l=["QuotaExceededError","QUOTA_EXCEEDED_ERR"],c="SecurityError"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){function t(e){return u.canUseDOM?void 0:s.default(!1),n.listen(e)}var n=d.default(a({getUserConfirmation:l.getUserConfirmation},e,{go:l.go}));return a({},n,{listen:t})}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(7),s=r(o),u=n(42),l=n(57),c=n(100),d=r(c);t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return"string"==typeof e&&"/"===e.charAt(0)}function a(){var e=g.getHashPath();return!!i(e)||(g.replaceHashPath("/"+e),!1)}function o(e,t,n){return e+(e.indexOf("?")===-1?"?":"&")+(t+"="+n)}function s(e,t){return e.replace(new RegExp("[?&]?"+t+"=[a-zA-Z0-9]+"),"")}function u(e,t){var n=e.match(new RegExp("\\?.*?\\b"+t+"=(.+?)\\b"));return n&&n[1]}function l(){function e(){var e=g.getHashPath(),t=void 0,n=void 0;k?(t=u(e,k),e=s(e,k),t?n=y.readState(t):(n=null,t=D.createKey(),g.replaceHashPath(o(e,k,t)))):t=n=null;var r=m.parsePath(e);return D.createLocation(c({},r,{state:n}),void 0,t)}function t(t){function n(){a()&&r(e())}var r=t.transitionTo;return a(),g.addEventListener(window,"hashchange",n),function(){g.removeEventListener(window,"hashchange",n)}}function n(e){var t=e.basename,n=e.pathname,r=e.search,i=e.state,a=e.action,s=e.key;if(a!==p.POP){var u=(t||"")+n+r;k?(u=o(u,k,s),y.saveState(s,i)):e.key=e.state=null;var l=g.getHashPath();a===p.PUSH?l!==u&&(window.location.hash=u):l!==u&&g.replaceHashPath(u)}}function r(e){1===++Y&&(E=t(D));var n=D.listenBefore(e);return function(){n(),0===--Y&&E()}}function i(e){1===++Y&&(E=t(D));var n=D.listen(e);return function(){n(),0===--Y&&E()}}function l(e){D.push(e)}function d(e){D.replace(e)}function f(e){D.go(e)}function v(e){return"#"+D.createHref(e)}function M(e){1===++Y&&(E=t(D)),D.registerTransitionHook(e)}function L(e){D.unregisterTransitionHook(e),0===--Y&&E()}function S(e,t){D.pushState(e,t)}function w(e,t){D.replaceState(e,t)}var T=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];_.canUseDOM?void 0:h.default(!1);var k=T.queryKey;(void 0===k||k)&&(k="string"==typeof k?k:b);var D=x.default(c({},T,{getCurrentLocation:e,finishTransition:n,saveState:y.saveState})),Y=0,E=void 0;g.supportsGoWithoutReloadUsingHash();return c({},D,{listenBefore:r,listen:i,push:l,replace:d,go:f,createHref:v,registerTransitionHook:M,unregisterTransitionHook:L,pushState:S,replaceState:w})}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d=n(14),f=(r(d),n(7)),h=r(f),p=n(26),m=n(22),_=n(42),g=n(57),y=n(97),v=n(98),x=r(v),b="_k";t.default=l,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return Math.random().toString(36).substr(2,e)}function a(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.key===t.key&&c.default(e.state,t.state)}function o(){function e(e){return H.push(e),function(){H=H.filter(function(t){return t!==e})}}function t(){return W&&W.action===h.POP?I.indexOf(W.key):F?I.indexOf(F.key):-1}function n(e){var n=t();F=e,F.action===h.PUSH?I=[].concat(I.slice(0,n+1),[F.key]):F.action===h.REPLACE&&(I[n]=F.key),V.forEach(function(e){e(F)})}function r(e){if(V.push(e),F)e(F);else{var t=A();I=[t.key],n(t)}return function(){V=V.filter(function(t){return t!==e})}}function o(e,t){f.loopAsync(H.length,function(t,n,r){g.default(H[t],e,function(e){null!=e?r(e):n()})},function(e){R&&"string"==typeof e?R(e,function(e){t(e!==!1)}):t(e!==!1)})}function u(e){F&&a(F,e)||(W=e,o(e,function(t){if(W===e)if(t){if(e.action===h.PUSH){var r=M(F),i=M(e);i===r&&c.default(F.state,e.state)&&(e.action=h.REPLACE)}C(e)!==!1&&n(e)}else if(F&&e.action===h.POP){var a=I.indexOf(F.key),o=I.indexOf(e.key);a!==-1&&o!==-1&&j(a-o)}}))}function l(e){u(S(e,h.PUSH,b()))}function p(e){u(S(e,h.REPLACE,b()))}function _(){j(-1)}function y(){j(1)}function b(){return i(N)}function M(e){if(null==e||"string"==typeof e)return e;var t=e.pathname,n=e.search,r=e.hash,i=t;return n&&(i+=n),r&&(i+=r),i}function L(e){return M(e)}function S(e,t){var n=arguments.length<=2||void 0===arguments[2]?b():arguments[2];return"object"==typeof t&&("string"==typeof e&&(e=d.parsePath(e)),e=s({},e,{state:t}),t=n,n=arguments[3]||b()),m.default(e,t,n)}function w(e){F?(T(F,e),n(F)):T(A(),e)}function T(e,t){e.state=s({},e.state,t),O(e.key,e.state)}function k(e){H.indexOf(e)===-1&&H.push(e)}function D(e){H=H.filter(function(t){return t!==e})}function Y(e,t){"string"==typeof t&&(t=d.parsePath(t)),l(s({state:e},t))}function E(e,t){"string"==typeof t&&(t=d.parsePath(t)),p(s({state:e},t))}var P=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],A=P.getCurrentLocation,C=P.finishTransition,O=P.saveState,j=P.go,R=P.getUserConfirmation,N=P.keyLength;"number"!=typeof N&&(N=x);var H=[],I=[],V=[],F=void 0,W=void 0;return{listenBefore:e,listen:r,transitionTo:u,push:l,replace:p,go:j,goBack:_,goForward:y,createKey:b,createPath:M,createHref:L,createLocation:S,setState:v.default(w,"setState is deprecated; use location.key to save state instead"),registerTransitionHook:v.default(k,"registerTransitionHook is deprecated; use listenBefore instead"),unregisterTransitionHook:v.default(D,"unregisterTransitionHook is deprecated; use the callback returned from listenBefore instead"),pushState:v.default(Y,"pushState is deprecated; use push instead"),replaceState:v.default(E,"replaceState is deprecated; use replace instead")}}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(14),l=(r(u),n(56)),c=r(l),d=n(22),f=n(323),h=n(26),p=n(325),m=r(p),_=n(59),g=r(_),y=n(58),v=r(y),x=6;t.default=o,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return function(){function t(){if(!b){if(null==x&&s.canUseDOM){var e=document.getElementsByTagName("base")[0],t=e&&e.getAttribute("href");null!=t&&(x=t)}b=!0}}function n(e){return t(),x&&null==e.basename&&(0===e.pathname.indexOf(x)?(e.pathname=e.pathname.substring(x.length),e.basename=x,""===e.pathname&&(e.pathname="/")):e.basename=""),e}function r(e){if(t(),!x)return e;"string"==typeof e&&(e=u.parsePath(e));var n=e.pathname,r="/"===x.slice(-1)?x:x+"/",i="/"===n.charAt(0)?n.slice(1):n,o=r+i;return a({},e,{pathname:o})}function i(e){return v.listenBefore(function(t,r){c.default(e,n(t),r)})}function o(e){return v.listen(function(t){e(n(t))})}function l(e){v.push(r(e))}function d(e){v.replace(r(e))}function h(e){return v.createPath(r(e))}function p(e){return v.createHref(r(e))}function m(e){for(var t=arguments.length,i=Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];return n(v.createLocation.apply(v,[r(e)].concat(i)))}function _(e,t){"string"==typeof t&&(t=u.parsePath(t)),l(a({state:e},t))}function g(e,t){"string"==typeof t&&(t=u.parsePath(t)),d(a({state:e},t))}var y=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],v=e(y),x=y.basename,b=!1;return a({},v,{listenBefore:i,listen:o,push:l,replace:d,createPath:h,createHref:p,createLocation:m,pushState:f.default(_,"pushState is deprecated; use push instead"),replaceState:f.default(g,"replaceState is deprecated; use replace instead")})}}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(14),s=(r(o),n(42)),u=n(22),l=n(59),c=r(l),d=n(58),f=r(d);t.default=i,e.exports=t.default},function(e,t,n){var r,i;/*!
* jQuery JavaScript Library v2.2.4
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2016-05-20T17:23Z
*/
!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,a){function o(e){var t=!!e&&"length"in e&&e.length,n=le.type(e);return"function"!==n&&!le.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function s(e,t,n){if(le.isFunction(t))return le.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return le.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(ve.test(t))return le.filter(t,e,n);t=le.filter(t,e)}return le.grep(e,function(e){return re.call(t,e)>-1!==n})}function u(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function l(e){var t={};return le.each(e.match(we)||[],function(e,n){t[n]=!0}),t}function c(){Z.removeEventListener("DOMContentLoaded",c),n.removeEventListener("load",c),le.ready()}function d(){this.expando=le.expando+d.uid++}function f(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Ae,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Pe.test(n)?le.parseJSON(n):n)}catch(e){}Ee.set(e,t,n)}else n=void 0;return n}function h(e,t,n,r){var i,a=1,o=20,s=r?function(){return r.cur()}:function(){return le.css(e,t,"")},u=s(),l=n&&n[3]||(le.cssNumber[t]?"":"px"),c=(le.cssNumber[t]||"px"!==l&&+u)&&Oe.exec(le.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do a=a||".5",c/=a,le.style(e,t,c+l);while(a!==(a=s()/u)&&1!==a&&--o)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function p(e,t){var n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&le.nodeName(e,t)?le.merge([e],n):n}function m(e,t){for(var n=0,r=e.length;n<r;n++)Ye.set(e[n],"globalEval",!t||Ye.get(t[n],"globalEval"))}function _(e,t,n,r,i){for(var a,o,s,u,l,c,d=t.createDocumentFragment(),f=[],h=0,_=e.length;h<_;h++)if(a=e[h],a||0===a)if("object"===le.type(a))le.merge(f,a.nodeType?[a]:a);else if(Fe.test(a)){for(o=o||d.appendChild(t.createElement("div")),s=(He.exec(a)||["",""])[1].toLowerCase(),u=Ve[s]||Ve._default,o.innerHTML=u[1]+le.htmlPrefilter(a)+u[2],c=u[0];c--;)o=o.lastChild;le.merge(f,o.childNodes),o=d.firstChild,o.textContent=""}else f.push(t.createTextNode(a));for(d.textContent="",h=0;a=f[h++];)if(r&&le.inArray(a,r)>-1)i&&i.push(a);else if(l=le.contains(a.ownerDocument,a),o=p(d.appendChild(a),"script"),l&&m(o),n)for(c=0;a=o[c++];)Ie.test(a.type||"")&&n.push(a);return d}function g(){return!0}function y(){return!1}function v(){try{return Z.activeElement}catch(e){}}function x(e,t,n,r,i,a){var o,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)x(e,s,n,r,t[s],a);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),i===!1)i=y;else if(!i)return e;return 1===a&&(o=i,i=function(e){return le().off(e),o.apply(this,arguments)},i.guid=o.guid||(o.guid=le.guid++)),e.each(function(){le.event.add(this,t,i,r,n)})}function b(e,t){return le.nodeName(e,"table")&&le.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function M(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function L(e){var t=Xe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function S(e,t){var n,r,i,a,o,s,u,l;if(1===t.nodeType){if(Ye.hasData(e)&&(a=Ye.access(e),o=Ye.set(t,a),l=a.events)){delete o.handle,o.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)le.event.add(t,i,l[i][n])}Ee.hasData(e)&&(s=Ee.access(e),u=le.extend({},s),Ee.set(t,u))}}function w(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ne.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function T(e,t,n,r){t=te.apply([],t);var i,a,o,s,u,l,c=0,d=e.length,f=d-1,h=t[0],m=le.isFunction(h);if(m||d>1&&"string"==typeof h&&!se.checkClone&&qe.test(h))return e.each(function(i){var a=e.eq(i);m&&(t[0]=h.call(this,i,a.html())),T(a,t,n,r)});if(d&&(i=_(t,e[0].ownerDocument,!1,e,r),a=i.firstChild,1===i.childNodes.length&&(i=a),a||r)){for(o=le.map(p(i,"script"),M),s=o.length;c<d;c++)u=i,c!==f&&(u=le.clone(u,!0,!0),s&&le.merge(o,p(u,"script"))),n.call(e[c],u,c);if(s)for(l=o[o.length-1].ownerDocument,le.map(o,L),c=0;c<s;c++)u=o[c],Ie.test(u.type||"")&&!Ye.access(u,"globalEval")&&le.contains(l,u)&&(u.src?le._evalUrl&&le._evalUrl(u.src):le.globalEval(u.textContent.replace(Ke,"")))}return e}function k(e,t,n){for(var r,i=t?le.filter(t,e):e,a=0;null!=(r=i[a]);a++)n||1!==r.nodeType||le.cleanData(p(r)),r.parentNode&&(n&&le.contains(r.ownerDocument,r)&&m(p(r,"script")),r.parentNode.removeChild(r));return e}function D(e,t){var n=le(t.createElement(e)).appendTo(t.body),r=le.css(n[0],"display");return n.detach(),r}function Y(e){var t=Z,n=$e[e];return n||(n=D(e,t),"none"!==n&&n||(Je=(Je||le("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=Je[0].contentDocument,t.write(),t.close(),n=D(e,t),Je.detach()),$e[e]=n),n}function E(e,t,n){var r,i,a,o,s=e.style;return n=n||et(e),o=n?n.getPropertyValue(t)||n[t]:void 0,""!==o&&void 0!==o||le.contains(e.ownerDocument,e)||(o=le.style(e,t)),n&&!se.pixelMarginRight()&&Ze.test(o)&&Qe.test(t)&&(r=s.width,i=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=r,s.minWidth=i,s.maxWidth=a),void 0!==o?o+"":o}function P(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function A(e){if(e in st)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=ot.length;n--;)if(e=ot[n]+t,e in st)return e}function C(e,t,n){var r=Oe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function O(e,t,n,r,i){for(var a=n===(r?"border":"content")?4:"width"===t?1:0,o=0;a<4;a+=2)"margin"===n&&(o+=le.css(e,n+je[a],!0,i)),r?("content"===n&&(o-=le.css(e,"padding"+je[a],!0,i)),"margin"!==n&&(o-=le.css(e,"border"+je[a]+"Width",!0,i))):(o+=le.css(e,"padding"+je[a],!0,i),"padding"!==n&&(o+=le.css(e,"border"+je[a]+"Width",!0,i)));return o}function j(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,a=et(e),o="border-box"===le.css(e,"boxSizing",!1,a);if(i<=0||null==i){if(i=E(e,t,a),(i<0||null==i)&&(i=e.style[t]),Ze.test(i))return i;r=o&&(se.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+O(e,t,n||(o?"border":"content"),r,a)+"px"}function R(e,t){for(var n,r,i,a=[],o=0,s=e.length;o<s;o++)r=e[o],r.style&&(a[o]=Ye.get(r,"olddisplay"),n=r.style.display,t?(a[o]||"none"!==n||(r.style.display=""),""===r.style.display&&Re(r)&&(a[o]=Ye.access(r,"olddisplay",Y(r.nodeName)))):(i=Re(r),"none"===n&&i||Ye.set(r,"olddisplay",i?n:le.css(r,"display"))));for(o=0;o<s;o++)r=e[o],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?a[o]||"":"none"));return e}function N(e,t,n,r,i){return new N.prototype.init(e,t,n,r,i)}function H(){return n.setTimeout(function(){ut=void 0}),ut=le.now()}function I(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)n=je[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function V(e,t,n){for(var r,i=(G.tweeners[t]||[]).concat(G.tweeners["*"]),a=0,o=i.length;a<o;a++)if(r=i[a].call(n,t,e))return r}function F(e,t,n){var r,i,a,o,s,u,l,c,d=this,f={},h=e.style,p=e.nodeType&&Re(e),m=Ye.get(e,"fxshow");n.queue||(s=le._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,le.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],l=le.css(e,"display"),c="none"===l?Ye.get(e,"olddisplay")||Y(e.nodeName):l,"inline"===c&&"none"===le.css(e,"float")&&(h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],ct.exec(i)){if(delete t[r],a=a||"toggle"===i,i===(p?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;p=!0}f[r]=m&&m[r]||le.style(e,r)}else l=void 0;if(le.isEmptyObject(f))"inline"===("none"===l?Y(e.nodeName):l)&&(h.display=l);else{m?"hidden"in m&&(p=m.hidden):m=Ye.access(e,"fxshow",{}),a&&(m.hidden=!p),p?le(e).show():d.done(function(){le(e).hide()}),d.done(function(){var t;Ye.remove(e,"fxshow");for(t in f)le.style(e,t,f[t])});for(r in f)o=V(p?m[r]:0,r,d),r in m||(m[r]=o.start,p&&(o.end=o.start,o.start="width"===r||"height"===r?1:0))}}function W(e,t){var n,r,i,a,o;for(n in e)if(r=le.camelCase(n),i=t[r],a=e[n],le.isArray(a)&&(i=a[1],a=e[n]=a[0]),n!==r&&(e[r]=a,delete e[n]),o=le.cssHooks[r],o&&"expand"in o){a=o.expand(a),delete e[r];for(n in a)n in e||(e[n]=a[n],t[n]=i)}else t[r]=i}function G(e,t,n){var r,i,a=0,o=G.prefilters.length,s=le.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=ut||H(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,a=1-r,o=0,u=l.tweens.length;o<u;o++)l.tweens[o].run(a);return s.notifyWith(e,[l,a,n]),a<1&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:le.extend({},t),opts:le.extend(!0,{specialEasing:{},easing:le.easing._default},n),originalProperties:t,originalOptions:n,startTime:ut||H(),duration:n.duration,tweens:[],createTween:function(t,n){var r=le.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(W(c,l.opts.specialEasing);a<o;a++)if(r=G.prefilters[a].call(l,e,c,l.opts))return le.isFunction(r.stop)&&(le._queueHooks(l.elem,l.opts.queue).stop=le.proxy(r.stop,r)),r;return le.map(c,V,l),le.isFunction(l.opts.start)&&l.opts.start.call(e,l),le.fx.timer(le.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function U(e){return e.getAttribute&&e.getAttribute("class")||""}function z(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,a=t.toLowerCase().match(we)||[];if(le.isFunction(n))for(;r=a[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function B(e,t,n,r){function i(s){var u;return a[s]=!0,le.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||a[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var a={},o=e===Et;return i(t.dataTypes[0])||!a["*"]&&i("*")}function q(e,t){var n,r,i=le.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&le.extend(!0,e,r),e}function X(e,t,n){for(var r,i,a,o,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)a=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){a=i;break}o||(o=i)}a=a||o}if(a)return a!==u[0]&&u.unshift(a),n[a]}function K(e,t,n,r){var i,a,o,s,u,l={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)l[o.toLowerCase()]=e.converters[o];for(a=c.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=a,a=c.shift())if("*"===a)a=u;else if("*"!==u&&u!==a){if(o=l[u+" "+a]||l["* "+a],!o)for(i in l)if(s=i.split(" "),s[1]===a&&(o=l[u+" "+s[0]]||l["* "+s[0]])){o===!0?o=l[i]:l[i]!==!0&&(a=s[0],c.unshift(s[1]));break}if(o!==!0)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+u+" to "+a}}}return{state:"success",data:t}}function J(e,t,n,r){var i;if(le.isArray(t))le.each(t,function(t,i){n||Ot.test(e)?r(e,i):J(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==le.type(t))r(e,t);else for(i in t)J(e+"["+i+"]",t[i],n,r)}function $(e){return le.isWindow(e)?e:9===e.nodeType&&e.defaultView}var Q=[],Z=n.document,ee=Q.slice,te=Q.concat,ne=Q.push,re=Q.indexOf,ie={},ae=ie.toString,oe=ie.hasOwnProperty,se={},ue="2.2.4",le=function(e,t){return new le.fn.init(e,t)},ce=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,de=/^-ms-/,fe=/-([\da-z])/gi,he=function(e,t){return t.toUpperCase()};le.fn=le.prototype={jquery:ue,constructor:le,selector:"",length:0,toArray:function(){return ee.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:ee.call(this)},pushStack:function(e){var t=le.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return le.each(this,e)},map:function(e){return this.pushStack(le.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ee.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ne,sort:Q.sort,splice:Q.splice},le.extend=le.fn.extend=function(){var e,t,n,r,i,a,o=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[s]||{},s++),"object"==typeof o||le.isFunction(o)||(o={}),s===u&&(o=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=o[t],r=e[t],o!==r&&(l&&r&&(le.isPlainObject(r)||(i=le.isArray(r)))?(i?(i=!1,a=n&&le.isArray(n)?n:[]):a=n&&le.isPlainObject(n)?n:{},o[t]=le.extend(l,a,r)):void 0!==r&&(o[t]=r));return o},le.extend({expando:"jQuery"+(ue+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===le.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!le.isArray(e)&&t-parseFloat(t)+1>=0},isPlainObject:function(e){var t;if("object"!==le.type(e)||e.nodeType||le.isWindow(e))return!1;if(e.constructor&&!oe.call(e,"constructor")&&!oe.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||oe.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ie[ae.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;e=le.trim(e),e&&(1===e.indexOf("use strict")?(t=Z.createElement("script"),t.text=e,Z.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(de,"ms-").replace(fe,he)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(o(e))for(n=e.length;r<n&&t.call(e[r],r,e[r])!==!1;r++);else for(r in e)if(t.call(e[r],r,e[r])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(ce,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(o(Object(e))?le.merge(n,"string"==typeof e?[e]:e):ne.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:re.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],a=0,o=e.length,s=!n;a<o;a++)r=!t(e[a],a),r!==s&&i.push(e[a]);return i},map:function(e,t,n){var r,i,a=0,s=[];if(o(e))for(r=e.length;a<r;a++)i=t(e[a],a,n),null!=i&&s.push(i);else for(a in e)i=t(e[a],a,n),null!=i&&s.push(i);return te.apply([],s)},guid:1,proxy:function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),le.isFunction(e))return r=ee.call(arguments,2),i=function(){return e.apply(t||this,r.concat(ee.call(arguments)))},i.guid=e.guid=e.guid||le.guid++,i},now:Date.now,support:se}),"function"==typeof Symbol&&(le.fn[Symbol.iterator]=Q[Symbol.iterator]),le.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ie["[object "+t+"]"]=t.toLowerCase()});var pe=/*!
* Sizzle CSS Selector Engine v2.2.1
* http://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2015-10-17
*/
function(e){function t(e,t,n,r){var i,a,o,s,u,l,d,h,p=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!r&&((t?t.ownerDocument||t:V)!==A&&P(t),t=t||A,O)){if(11!==m&&(l=ge.exec(e)))if(i=l[1]){if(9===m){if(!(o=t.getElementById(i)))return n;if(o.id===i)return n.push(o),n}else if(p&&(o=p.getElementById(i))&&H(t,o)&&o.id===i)return n.push(o),n}else{if(l[2])return Q.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&b.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(i)),n}if(b.qsa&&!z[e+" "]&&(!j||!j.test(e))){if(1!==m)p=t,h=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(ve,"\\$&"):t.setAttribute("id",s=I),d=w(e),a=d.length,u=fe.test(s)?"#"+s:"[id='"+s+"']";a--;)d[a]=u+" "+f(d[a]);h=d.join(","),p=ye.test(e)&&c(t.parentNode)||t}if(h)try{return Q.apply(n,p.querySelectorAll(h)),n}catch(e){}finally{s===I&&t.removeAttribute("id")}}}return k(e.replace(se,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>M.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[I]=!0,e}function i(e){var t=A.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(e,t){for(var n=e.split("|"),r=n.length;r--;)M.attrHandle[n[r]]=t}function o(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||q)-(~e.sourceIndex||q);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return r(function(t){return t=+t,r(function(n,r){for(var i,a=e([],n.length,t),o=a.length;o--;)n[i=a[o]]&&(n[i]=!(r[i]=n[i]))})})}function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function d(){}function f(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function h(e,t,n){var r=t.dir,i=n&&"parentNode"===r,a=W++;return t.first?function(t,n,a){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,a)}:function(t,n,o){var s,u,l,c=[F,a];if(o){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,o))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if(l=t[I]||(t[I]={}),u=l[t.uniqueID]||(l[t.uniqueID]={}),(s=u[r])&&s[0]===F&&s[1]===a)return c[2]=s[2];if(u[r]=c,c[2]=e(t,n,o))return!0}}}function p(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function m(e,n,r){for(var i=0,a=n.length;i<a;i++)t(e,n[i],r);return r}function _(e,t,n,r,i){for(var a,o=[],s=0,u=e.length,l=null!=t;s<u;s++)(a=e[s])&&(n&&!n(a,r,i)||(o.push(a),l&&t.push(s)));return o}function g(e,t,n,i,a,o){return i&&!i[I]&&(i=g(i)),a&&!a[I]&&(a=g(a,o)),r(function(r,o,s,u){var l,c,d,f=[],h=[],p=o.length,g=r||m(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?g:_(g,f,e,s,u),v=n?a||(r?e:p||i)?[]:o:y;if(n&&n(y,v,s,u),i)for(l=_(v,h),i(l,[],s,u),c=l.length;c--;)(d=l[c])&&(v[h[c]]=!(y[h[c]]=d));if(r){if(a||e){if(a){for(l=[],c=v.length;c--;)(d=v[c])&&l.push(y[c]=d);a(null,v=[],l,u)}for(c=v.length;c--;)(d=v[c])&&(l=a?ee(r,d):f[c])>-1&&(r[l]=!(o[l]=d))}}else v=_(v===o?v.splice(p,v.length):v),a?a(null,o,v,u):Q.apply(o,v)})}function y(e){for(var t,n,r,i=e.length,a=M.relative[e[0].type],o=a||M.relative[" "],s=a?1:0,u=h(function(e){return e===t},o,!0),l=h(function(e){return ee(t,e)>-1},o,!0),c=[function(e,n,r){var i=!a&&(r||n!==D)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];s<i;s++)if(n=M.relative[e[s].type])c=[h(p(c),n)];else{if(n=M.filter[e[s].type].apply(null,e[s].matches),n[I]){for(r=++s;r<i&&!M.relative[e[r].type];r++);return g(s>1&&p(c),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s<r&&y(e.slice(s,r)),r<i&&y(e=e.slice(r)),r<i&&f(e))}c.push(n)}return p(c)}function v(e,n){var i=n.length>0,a=e.length>0,o=function(r,o,s,u,l){var c,d,f,h=0,p="0",m=r&&[],g=[],y=D,v=r||a&&M.find.TAG("*",l),x=F+=null==y?1:Math.random()||.1,b=v.length;for(l&&(D=o===A||o||l);p!==b&&null!=(c=v[p]);p++){if(a&&c){for(d=0,o||c.ownerDocument===A||(P(c),s=!O);f=e[d++];)if(f(c,o||A,s)){u.push(c);break}l&&(F=x)}i&&((c=!f&&c)&&h--,r&&m.push(c))}if(h+=p,i&&p!==h){for(d=0;f=n[d++];)f(m,g,o,s);if(r){if(h>0)for(;p--;)m[p]||g[p]||(g[p]=J.call(u));g=_(g)}Q.apply(u,g),l&&!r&&g.length>0&&h+n.length>1&&t.uniqueSort(u)}return l&&(F=x,D=y),m};return i?r(o):o}var x,b,M,L,S,w,T,k,D,Y,E,P,A,C,O,j,R,N,H,I="sizzle"+1*new Date,V=e.document,F=0,W=0,G=n(),U=n(),z=n(),B=function(e,t){return e===t&&(E=!0),0},q=1<<31,X={}.hasOwnProperty,K=[],J=K.pop,$=K.push,Q=K.push,Z=K.slice,ee=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ie="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ne+"*\\]",ae=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ie+")*)|.*)\\)|)",oe=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),le=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(ae),fe=new RegExp("^"+re+"$"),he={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,_e=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,ve=/'|\\/g,xe=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),be=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},Me=function(){P()};try{Q.apply(K=Z.call(V.childNodes),V.childNodes),K[V.childNodes.length].nodeType}catch(e){Q={apply:K.length?function(e,t){$.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}b=t.support={},S=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},P=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:V;return r!==A&&9===r.nodeType&&r.documentElement?(A=r,C=A.documentElement,O=!S(A),(n=A.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Me,!1):n.attachEvent&&n.attachEvent("onunload",Me)),b.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),b.getElementsByTagName=i(function(e){return e.appendChild(A.createComment("")),!e.getElementsByTagName("*").length}),b.getElementsByClassName=_e.test(A.getElementsByClassName),b.getById=i(function(e){return C.appendChild(e).id=I,!A.getElementsByName||!A.getElementsByName(I).length}),b.getById?(M.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&O){var n=t.getElementById(e);return n?[n]:[]}},M.filter.ID=function(e){var t=e.replace(xe,be);return function(e){return e.getAttribute("id")===t}}):(delete M.find.ID,M.filter.ID=function(e){var t=e.replace(xe,be);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),M.find.TAG=b.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):b.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[i++];)1===n.nodeType&&r.push(n);return r}return a},M.find.CLASS=b.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&O)return t.getElementsByClassName(e)},R=[],j=[],(b.qsa=_e.test(A.querySelectorAll))&&(i(function(e){C.appendChild(e).innerHTML="<a id='"+I+"'></a><select id='"+I+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&j.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||j.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+I+"-]").length||j.push("~="),e.querySelectorAll(":checked").length||j.push(":checked"),e.querySelectorAll("a#"+I+"+*").length||j.push(".#.+[+~]")}),i(function(e){var t=A.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&j.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||j.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),j.push(",.*:")})),(b.matchesSelector=_e.test(N=C.matches||C.webkitMatchesSelector||C.mozMatchesSelector||C.oMatchesSelector||C.msMatchesSelector))&&i(function(e){b.disconnectedMatch=N.call(e,"div"),N.call(e,"[s!='']:x"),R.push("!=",ae)}),j=j.length&&new RegExp(j.join("|")),R=R.length&&new RegExp(R.join("|")),t=_e.test(C.compareDocumentPosition),H=t||_e.test(C.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},B=t?function(e,t){if(e===t)return E=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!b.sortDetached&&t.compareDocumentPosition(e)===n?e===A||e.ownerDocument===V&&H(V,e)?-1:t===A||t.ownerDocument===V&&H(V,t)?1:Y?ee(Y,e)-ee(Y,t):0:4&n?-1:1)}:function(e,t){if(e===t)return E=!0,0;var n,r=0,i=e.parentNode,a=t.parentNode,s=[e],u=[t];if(!i||!a)return e===A?-1:t===A?1:i?-1:a?1:Y?ee(Y,e)-ee(Y,t):0;if(i===a)return o(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?o(s[r],u[r]):s[r]===V?-1:u[r]===V?1:0},A):A},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==A&&P(e),n=n.replace(ce,"='$1']"),b.matchesSelector&&O&&!z[n+" "]&&(!R||!R.test(n))&&(!j||!j.test(n)))try{var r=N.call(e,n);if(r||b.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,A,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==A&&P(e),H(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==A&&P(e);var n=M.attrHandle[t.toLowerCase()],r=n&&X.call(M.attrHandle,t.toLowerCase())?n(e,t,!O):void 0;return void 0!==r?r:b.attributes||!O?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(E=!b.detectDuplicates,Y=!b.sortStable&&e.slice(0),e.sort(B),E){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return Y=null,e},L=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=L(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=L(t);return n},M=t.selectors={cacheLength:50,createPseudo:r,match:he,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(xe,be),e[3]=(e[3]||e[4]||e[5]||"").replace(xe,be),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return he.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=w(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xe,be).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=G[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&G(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var a=t.attr(i,e);return null==a?"!="===n:!n||(a+="","="===n?a===r:"!="===n?a!==r:"^="===n?r&&0===a.indexOf(r):"*="===n?r&&a.indexOf(r)>-1:"$="===n?r&&a.slice(-r.length)===r:"~="===n?(" "+a.replace(oe," ")+" ").indexOf(r)>-1:"|="===n&&(a===r||a.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,d,f,h,p,m=a!==o?"nextSibling":"previousSibling",_=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!u&&!s,v=!1;if(_){if(a){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===g:1===f.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[o?_.firstChild:_.lastChild],o&&y){for(f=_,d=f[I]||(f[I]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),l=c[e]||[],h=l[0]===F&&l[1],v=h&&l[2],f=h&&_.childNodes[h];f=++h&&f&&f[m]||(v=h=0)||p.pop();)if(1===f.nodeType&&++v&&f===t){c[e]=[F,h,v];break}}else if(y&&(f=t,d=f[I]||(f[I]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),l=c[e]||[],h=l[0]===F&&l[1],v=h),v===!1)for(;(f=++h&&f&&f[m]||(v=h=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==g:1!==f.nodeType)||!++v||(y&&(d=f[I]||(f[I]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),c[e]=[F,v]),f!==t)););return v-=i,v===r||v%r===0&&v/r>=0}}},PSEUDO:function(e,n){var i,a=M.pseudos[e]||M.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return a[I]?a(n):a.length>1?(i=[e,e,"",n],M.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=a(e,n),o=i.length;o--;)r=ee(e,i[o]),e[r]=!(t[r]=i[o])}):function(e){return a(e,0,i)}):a}},pseudos:{not:r(function(e){var t=[],n=[],i=T(e.replace(se,"$1"));return i[I]?r(function(e,t,n,r){for(var a,o=i(e,null,r,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))}):function(e,r,a){return t[0]=e,i(t,null,a,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(xe,be),function(t){return(t.textContent||t.innerText||L(t)).indexOf(e)>-1}}),lang:r(function(e){return fe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(xe,be).toLowerCase(),function(t){var n;do if(n=O?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===C},focus:function(e){return e===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!M.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[n<0?n+t:n]}),even:l(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},M.pseudos.nth=M.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})M.pseudos[x]=s(x);for(x in{submit:!0,reset:!0})M.pseudos[x]=u(x);return d.prototype=M.filters=M.pseudos,M.setFilters=new d,w=t.tokenize=function(e,n){var r,i,a,o,s,u,l,c=U[e+" "];if(c)return n?0:c.slice(0);for(s=e,u=[],l=M.preFilter;s;){r&&!(i=ue.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(a=[])),r=!1,(i=le.exec(s))&&(r=i.shift(),a.push({value:r,type:i[0].replace(se," ")}),s=s.slice(r.length));for(o in M.filter)!(i=he[o].exec(s))||l[o]&&!(i=l[o](i))||(r=i.shift(),a.push({value:r,type:o,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):U(e,u).slice(0)},T=t.compile=function(e,t){var n,r=[],i=[],a=z[e+" "];if(!a){for(t||(t=w(e)),n=t.length;n--;)a=y(t[n]),a[I]?r.push(a):i.push(a);a=z(e,v(i,r)),a.selector=e}return a},k=t.select=function(e,t,n,r){var i,a,o,s,u,l="function"==typeof e&&e,d=!r&&w(e=l.selector||e);if(n=n||[],1===d.length){if(a=d[0]=d[0].slice(0),a.length>2&&"ID"===(o=a[0]).type&&b.getById&&9===t.nodeType&&O&&M.relative[a[1].type]){if(t=(M.find.ID(o.matches[0].replace(xe,be),t)||[])[0],!t)return n;l&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(i=he.needsContext.test(e)?0:a.length;i--&&(o=a[i],!M.relative[s=o.type]);)if((u=M.find[s])&&(r=u(o.matches[0].replace(xe,be),ye.test(a[0].type)&&c(t.parentNode)||t))){if(a.splice(i,1),e=r.length&&f(a),!e)return Q.apply(n,r),n;break}}return(l||T(e,d))(r,t,!O,n,!t||ye.test(e)&&c(t.parentNode)||t),n},b.sortStable=I.split("").sort(B).join("")===I,b.detectDuplicates=!!E,P(),b.sortDetached=i(function(e){return 1&e.compareDocumentPosition(A.createElement("div"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||a("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),b.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||a("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||a(te,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(n);le.find=pe,le.expr=pe.selectors,le.expr[":"]=le.expr.pseudos,le.uniqueSort=le.unique=pe.uniqueSort,le.text=pe.getText,le.isXMLDoc=pe.isXML,le.contains=pe.contains;var me=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&le(e).is(n))break;r.push(e)}return r},_e=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},ge=le.expr.match.needsContext,ye=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,ve=/^.[^:#\[\.,]*$/;le.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?le.find.matchesSelector(r,e)?[r]:[]:le.find.matches(e,le.grep(t,function(e){return 1===e.nodeType}))},le.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(le(e).filter(function(){for(t=0;t<n;t++)if(le.contains(i[t],this))return!0}));for(t=0;t<n;t++)le.find(e,i[t],r);return r=this.pushStack(n>1?le.unique(r):r),r.selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&ge.test(e)?le(e):e||[],!1).length}});var xe,be=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,Me=le.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||xe,"string"==typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:be.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof le?t[0]:t,le.merge(this,le.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:Z,!0)),ye.test(r[1])&&le.isPlainObject(t))for(r in t)le.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=Z.getElementById(r[2]),i&&i.parentNode&&(this.length=1,this[0]=i),this.context=Z,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):le.isFunction(e)?void 0!==n.ready?n.ready(e):e(le):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),le.makeArray(e,this))};Me.prototype=le.fn,xe=le(Z);var Le=/^(?:parents|prev(?:Until|All))/,Se={children:!0,contents:!0,next:!0,prev:!0};le.fn.extend({has:function(e){var t=le(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(le.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,a=[],o=ge.test(e)||"string"!=typeof e?le(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&le.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?le.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?re.call(le(e),this[0]):re.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(le.uniqueSort(le.merge(this.get(),le(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),le.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return me(e,"parentNode")},parentsUntil:function(e,t,n){return me(e,"parentNode",n)},next:function(e){return u(e,"nextSibling")},prev:function(e){return u(e,"previousSibling")},nextAll:function(e){return me(e,"nextSibling")},prevAll:function(e){return me(e,"previousSibling")},nextUntil:function(e,t,n){return me(e,"nextSibling",n)},prevUntil:function(e,t,n){return me(e,"previousSibling",n)},siblings:function(e){return _e((e.parentNode||{}).firstChild,e)},children:function(e){return _e(e.firstChild)},contents:function(e){return e.contentDocument||le.merge([],e.childNodes)}},function(e,t){le.fn[e]=function(n,r){var i=le.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=le.filter(r,i)),this.length>1&&(Se[e]||le.uniqueSort(i),Le.test(e)&&i.reverse()),this.pushStack(i)}});var we=/\S+/g;le.Callbacks=function(e){e="string"==typeof e?l(e):le.extend({},e);var t,n,r,i,a=[],o=[],s=-1,u=function(){for(i=e.once,r=t=!0;o.length;s=-1)for(n=o.shift();++s<a.length;)a[s].apply(n[0],n[1])===!1&&e.stopOnFalse&&(s=a.length,n=!1);e.memory||(n=!1),t=!1,i&&(a=n?[]:"")},c={add:function(){return a&&(n&&!t&&(s=a.length-1,o.push(n)),function t(n){le.each(n,function(n,r){le.isFunction(r)?e.unique&&c.has(r)||a.push(r):r&&r.length&&"string"!==le.type(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return le.each(arguments,function(e,t){for(var n;(n=le.inArray(t,a,n))>-1;)a.splice(n,1),n<=s&&s--}),this},has:function(e){return e?le.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=o=[],a=n="",this},disabled:function(){return!a},lock:function(){return i=o=[],n||(a=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],o.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},le.extend({Deferred:function(e){var t=[["resolve","done",le.Callbacks("once memory"),"resolved"],["reject","fail",le.Callbacks("once memory"),"rejected"],["notify","progress",le.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return le.Deferred(function(n){le.each(t,function(t,a){var o=le.isFunction(e[t])&&e[t];i[a[1]](function(){var e=o&&o.apply(this,arguments);e&&le.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[a[0]+"With"](this===r?n.promise():this,o?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?le.extend(e,r):r}},i={};return r.pipe=r.then,le.each(t,function(e,a){var o=a[2],s=a[3];r[a[1]]=o.add,s&&o.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[a[0]]=function(){return i[a[0]+"With"](this===i?r:this,arguments),this},i[a[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,a=ee.call(arguments),o=a.length,s=1!==o||e&&le.isFunction(e.promise)?o:0,u=1===s?e:le.Deferred(),l=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?ee.call(arguments):i,r===t?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(o>1)for(t=new Array(o),n=new Array(o),r=new Array(o);i<o;i++)a[i]&&le.isFunction(a[i].promise)?a[i].promise().progress(l(i,n,t)).done(l(i,r,a)).fail(u.reject):--s;return s||u.resolveWith(r,a),u.promise()}});var Te;le.fn.ready=function(e){return le.ready.promise().done(e),this},le.extend({isReady:!1,readyWait:1,holdReady:function(e){e?le.readyWait++:le.ready(!0)},ready:function(e){(e===!0?--le.readyWait:le.isReady)||(le.isReady=!0,e!==!0&&--le.readyWait>0||(Te.resolveWith(Z,[le]),le.fn.triggerHandler&&(le(Z).triggerHandler("ready"),le(Z).off("ready"))))}}),le.ready.promise=function(e){return Te||(Te=le.Deferred(),"complete"===Z.readyState||"loading"!==Z.readyState&&!Z.documentElement.doScroll?n.setTimeout(le.ready):(Z.addEventListener("DOMContentLoaded",c),n.addEventListener("load",c))),Te.promise(e)},le.ready.promise();var ke=function(e,t,n,r,i,a,o){var s=0,u=e.length,l=null==n;if("object"===le.type(n)){i=!0;for(s in n)ke(e,t,s,n[s],!0,a,o)}else if(void 0!==r&&(i=!0,le.isFunction(r)||(o=!0),l&&(o?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(le(e),n)})),t))for(;s<u;s++)t(e[s],n,o?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):a},De=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};d.uid=1,d.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!De(e))return{};var t=e[this.expando];return t||(t={},De(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[t]=n;else for(r in t)i[r]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?(r=this.get(e,t),void 0!==r?r:this.get(e,le.camelCase(t))):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,i,a=e[this.expando];if(void 0!==a){if(void 0===t)this.register(e);else{le.isArray(t)?r=t.concat(t.map(le.camelCase)):(i=le.camelCase(t),t in a?r=[t,i]:(r=i,r=r in a?[r]:r.match(we)||[])),n=r.length;for(;n--;)delete a[r[n]]}(void 0===t||le.isEmptyObject(a))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!le.isEmptyObject(t)}};var Ye=new d,Ee=new d,Pe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ae=/[A-Z]/g;le.extend({hasData:function(e){return Ee.hasData(e)||Ye.hasData(e)},data:function(e,t,n){return Ee.access(e,t,n)},removeData:function(e,t){Ee.remove(e,t)},_data:function(e,t,n){return Ye.access(e,t,n)},_removeData:function(e,t){Ye.remove(e,t)}}),le.fn.extend({data:function(e,t){var n,r,i,a=this[0],o=a&&a.attributes;if(void 0===e){if(this.length&&(i=Ee.get(a),1===a.nodeType&&!Ye.get(a,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&(r=o[n].name,0===r.indexOf("data-")&&(r=le.camelCase(r.slice(5)),f(a,r,i[r])));Ye.set(a,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){Ee.set(this,e)}):ke(this,function(t){var n,r;if(a&&void 0===t){if(n=Ee.get(a,e)||Ee.get(a,e.replace(Ae,"-$&").toLowerCase()),void 0!==n)return n;if(r=le.camelCase(e),n=Ee.get(a,r),void 0!==n)return n;if(n=f(a,r,void 0),void 0!==n)return n}else r=le.camelCase(e),this.each(function(){var n=Ee.get(this,r);Ee.set(this,r,t),e.indexOf("-")>-1&&void 0!==n&&Ee.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Ee.remove(this,e)})}}),le.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Ye.get(e,t),n&&(!r||le.isArray(n)?r=Ye.access(e,t,le.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=le.queue(e,t),r=n.length,i=n.shift(),a=le._queueHooks(e,t),o=function(){le.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete a.stop,i.call(e,o,a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Ye.get(e,n)||Ye.access(e,n,{empty:le.Callbacks("once memory").add(function(){Ye.remove(e,[t+"queue",n])})})}}),le.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?le.queue(this[0],e):void 0===t?this:this.each(function(){var n=le.queue(this,e,t);le._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&le.dequeue(this,e)})},dequeue:function(e){return this.each(function(){le.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=le.Deferred(),a=this,o=this.length,s=function(){--r||i.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)n=Ye.get(a[o],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var Ce=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Oe=new RegExp("^(?:([+-])=|)("+Ce+")([a-z%]*)$","i"),je=["Top","Right","Bottom","Left"],Re=function(e,t){return e=t||e,"none"===le.css(e,"display")||!le.contains(e.ownerDocument,e)},Ne=/^(?:checkbox|radio)$/i,He=/<([\w:-]+)/,Ie=/^$|\/(?:java|ecma)script/i,Ve={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ve.optgroup=Ve.option,Ve.tbody=Ve.tfoot=Ve.colgroup=Ve.caption=Ve.thead,Ve.th=Ve.td;var Fe=/<|&#?\w+;/;!function(){var e=Z.createDocumentFragment(),t=e.appendChild(Z.createElement("div")),n=Z.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),se.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",se.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var We=/^key/,Ge=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ue=/^([^.]*)(?:\.(.+)|)/;le.event={global:{},add:function(e,t,n,r,i){var a,o,s,u,l,c,d,f,h,p,m,_=Ye.get(e);if(_)for(n.handler&&(a=n,n=a.handler,i=a.selector),n.guid||(n.guid=le.guid++),(u=_.events)||(u=_.events={}),(o=_.handle)||(o=_.handle=function(t){return"undefined"!=typeof le&&le.event.triggered!==t.type?le.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(we)||[""],l=t.length;l--;)s=Ue.exec(t[l])||[],h=m=s[1],p=(s[2]||"").split(".").sort(),h&&(d=le.event.special[h]||{},h=(i?d.delegateType:d.bindType)||h,d=le.event.special[h]||{},c=le.extend({type:h,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&le.expr.match.needsContext.test(i),namespace:p.join(".")},a),(f=u[h])||(f=u[h]=[],f.delegateCount=0,d.setup&&d.setup.call(e,r,p,o)!==!1||e.addEventListener&&e.addEventListener(h,o)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,c):f.push(c),le.event.global[h]=!0)},remove:function(e,t,n,r,i){var a,o,s,u,l,c,d,f,h,p,m,_=Ye.hasData(e)&&Ye.get(e);if(_&&(u=_.events)){for(t=(t||"").match(we)||[""],l=t.length;l--;)if(s=Ue.exec(t[l])||[],h=m=s[1],p=(s[2]||"").split(".").sort(),h){for(d=le.event.special[h]||{},h=(r?d.delegateType:d.bindType)||h,f=u[h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=f.length;a--;)c=f[a],!i&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(a,1),
c.selector&&f.delegateCount--,d.remove&&d.remove.call(e,c));o&&!f.length&&(d.teardown&&d.teardown.call(e,p,_.handle)!==!1||le.removeEvent(e,h,_.handle),delete u[h])}else for(h in u)le.event.remove(e,h+t[l],n,r,!0);le.isEmptyObject(u)&&Ye.remove(e,"handle events")}},dispatch:function(e){e=le.event.fix(e);var t,n,r,i,a,o=[],s=ee.call(arguments),u=(Ye.get(this,"events")||{})[e.type]||[],l=le.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){for(o=le.event.handlers.call(this,e,u),t=0;(i=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(a=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(a.namespace)||(e.handleObj=a,e.data=a.data,r=((le.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,s),void 0!==r&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,a,o=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(r=[],n=0;n<s;n++)a=t[n],i=a.selector+" ",void 0===r[i]&&(r[i]=a.needsContext?le(i,this).index(u)>-1:le.find(i,this,null,[u]).length),r[i]&&r.push(a);r.length&&o.push({elem:u,handlers:r})}return s<t.length&&o.push({elem:this,handlers:t.slice(s)}),o},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,a=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||Z,r=n.documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),e}},fix:function(e){if(e[le.expando])return e;var t,n,r,i=e.type,a=e,o=this.fixHooks[i];for(o||(this.fixHooks[i]=o=Ge.test(i)?this.mouseHooks:We.test(i)?this.keyHooks:{}),r=o.props?this.props.concat(o.props):this.props,e=new le.Event(a),t=r.length;t--;)n=r[t],e[n]=a[n];return e.target||(e.target=Z),3===e.target.nodeType&&(e.target=e.target.parentNode),o.filter?o.filter(e,a):e},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==v()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===v()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&le.nodeName(this,"input"))return this.click(),!1},_default:function(e){return le.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},le.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},le.Event=function(e,t){return this instanceof le.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?g:y):this.type=e,t&&le.extend(this,t),this.timeStamp=e&&e.timeStamp||le.now(),void(this[le.expando]=!0)):new le.Event(e,t)},le.Event.prototype={constructor:le.Event,isDefaultPrevented:y,isPropagationStopped:y,isImmediatePropagationStopped:y,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=g,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=g,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=g,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},le.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){le.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,a=e.handleObj;return i&&(i===r||le.contains(r,i))||(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}}),le.fn.extend({on:function(e,t,n,r){return x(this,e,t,n,r)},one:function(e,t,n,r){return x(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,le(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=y),this.each(function(){le.event.remove(this,e,n,t)})}});var ze=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Be=/<script|<style|<link/i,qe=/checked\s*(?:[^=]|=\s*.checked.)/i,Xe=/^true\/(.*)/,Ke=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;le.extend({htmlPrefilter:function(e){return e.replace(ze,"<$1></$2>")},clone:function(e,t,n){var r,i,a,o,s=e.cloneNode(!0),u=le.contains(e.ownerDocument,e);if(!(se.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||le.isXMLDoc(e)))for(o=p(s),a=p(e),r=0,i=a.length;r<i;r++)w(a[r],o[r]);if(t)if(n)for(a=a||p(e),o=o||p(s),r=0,i=a.length;r<i;r++)S(a[r],o[r]);else S(e,s);return o=p(s,"script"),o.length>0&&m(o,!u&&p(e,"script")),s},cleanData:function(e){for(var t,n,r,i=le.event.special,a=0;void 0!==(n=e[a]);a++)if(De(n)){if(t=n[Ye.expando]){if(t.events)for(r in t.events)i[r]?le.event.remove(n,r):le.removeEvent(n,r,t.handle);n[Ye.expando]=void 0}n[Ee.expando]&&(n[Ee.expando]=void 0)}}}),le.fn.extend({domManip:T,detach:function(e){return k(this,e,!0)},remove:function(e){return k(this,e)},text:function(e){return ke(this,function(e){return void 0===e?le.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return T(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=b(this,e);t.appendChild(e)}})},prepend:function(){return T(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=b(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return T(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return T(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(le.cleanData(p(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return le.clone(this,e,t)})},html:function(e){return ke(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Be.test(e)&&!Ve[(He.exec(e)||["",""])[1].toLowerCase()]){e=le.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(le.cleanData(p(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return T(this,arguments,function(t){var n=this.parentNode;le.inArray(this,e)<0&&(le.cleanData(p(this)),n&&n.replaceChild(t,this))},e)}}),le.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){le.fn[e]=function(e){for(var n,r=[],i=le(e),a=i.length-1,o=0;o<=a;o++)n=o===a?this:this.clone(!0),le(i[o])[t](n),ne.apply(r,n.get());return this.pushStack(r)}});var Je,$e={HTML:"block",BODY:"block"},Qe=/^margin/,Ze=new RegExp("^("+Ce+")(?!px)[a-z%]+$","i"),et=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},tt=function(e,t,n,r){var i,a,o={};for(a in t)o[a]=e.style[a],e.style[a]=t[a];i=n.apply(e,r||[]);for(a in t)e.style[a]=o[a];return i},nt=Z.documentElement;!function(){function e(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",nt.appendChild(o);var e=n.getComputedStyle(s);t="1%"!==e.top,a="2px"===e.marginLeft,r="4px"===e.width,s.style.marginRight="50%",i="4px"===e.marginRight,nt.removeChild(o)}var t,r,i,a,o=Z.createElement("div"),s=Z.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",se.clearCloneStyle="content-box"===s.style.backgroundClip,o.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",o.appendChild(s),le.extend(se,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return null==r&&e(),r},pixelMarginRight:function(){return null==r&&e(),i},reliableMarginLeft:function(){return null==r&&e(),a},reliableMarginRight:function(){var e,t=s.appendChild(Z.createElement("div"));return t.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",s.style.width="1px",nt.appendChild(o),e=!parseFloat(n.getComputedStyle(t).marginRight),nt.removeChild(o),s.removeChild(t),e}}))}();var rt=/^(none|table(?!-c[ea]).+)/,it={position:"absolute",visibility:"hidden",display:"block"},at={letterSpacing:"0",fontWeight:"400"},ot=["Webkit","O","Moz","ms"],st=Z.createElement("div").style;le.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=E(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,o,s=le.camelCase(t),u=e.style;return t=le.cssProps[s]||(le.cssProps[s]=A(s)||s),o=le.cssHooks[t]||le.cssHooks[s],void 0===n?o&&"get"in o&&void 0!==(i=o.get(e,!1,r))?i:u[t]:(a=typeof n,"string"===a&&(i=Oe.exec(n))&&i[1]&&(n=h(e,t,i),a="number"),null!=n&&n===n&&("number"===a&&(n+=i&&i[3]||(le.cssNumber[s]?"":"px")),se.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(u[t]=n)),void 0)}},css:function(e,t,n,r){var i,a,o,s=le.camelCase(t);return t=le.cssProps[s]||(le.cssProps[s]=A(s)||s),o=le.cssHooks[t]||le.cssHooks[s],o&&"get"in o&&(i=o.get(e,!0,n)),void 0===i&&(i=E(e,t,r)),"normal"===i&&t in at&&(i=at[t]),""===n||n?(a=parseFloat(i),n===!0||isFinite(a)?a||0:i):i}}),le.each(["height","width"],function(e,t){le.cssHooks[t]={get:function(e,n,r){if(n)return rt.test(le.css(e,"display"))&&0===e.offsetWidth?tt(e,it,function(){return j(e,t,r)}):j(e,t,r)},set:function(e,n,r){var i,a=r&&et(e),o=r&&O(e,t,r,"border-box"===le.css(e,"boxSizing",!1,a),a);return o&&(i=Oe.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=le.css(e,t)),C(e,n,o)}}}),le.cssHooks.marginLeft=P(se.reliableMarginLeft,function(e,t){if(t)return(parseFloat(E(e,"marginLeft"))||e.getBoundingClientRect().left-tt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),le.cssHooks.marginRight=P(se.reliableMarginRight,function(e,t){if(t)return tt(e,{display:"inline-block"},E,[e,"marginRight"])}),le.each({margin:"",padding:"",border:"Width"},function(e,t){le.cssHooks[e+t]={expand:function(n){for(var r=0,i={},a="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+je[r]+t]=a[r]||a[r-2]||a[0];return i}},Qe.test(e)||(le.cssHooks[e+t].set=C)}),le.fn.extend({css:function(e,t){return ke(this,function(e,t,n){var r,i,a={},o=0;if(le.isArray(t)){for(r=et(e),i=t.length;o<i;o++)a[t[o]]=le.css(e,t[o],!1,r);return a}return void 0!==n?le.style(e,t,n):le.css(e,t)},e,t,arguments.length>1)},show:function(){return R(this,!0)},hide:function(){return R(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Re(this)?le(this).show():le(this).hide()})}}),le.Tween=N,N.prototype={constructor:N,init:function(e,t,n,r,i,a){this.elem=e,this.prop=n,this.easing=i||le.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(le.cssNumber[n]?"":"px")},cur:function(){var e=N.propHooks[this.prop];return e&&e.get?e.get(this):N.propHooks._default.get(this)},run:function(e){var t,n=N.propHooks[this.prop];return this.options.duration?this.pos=t=le.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):N.propHooks._default.set(this),this}},N.prototype.init.prototype=N.prototype,N.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=le.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){le.fx.step[e.prop]?le.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[le.cssProps[e.prop]]&&!le.cssHooks[e.prop]?e.elem[e.prop]=e.now:le.style(e.elem,e.prop,e.now+e.unit)}}},N.propHooks.scrollTop=N.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},le.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},le.fx=N.prototype.init,le.fx.step={};var ut,lt,ct=/^(?:toggle|show|hide)$/,dt=/queueHooks$/;le.Animation=le.extend(G,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return h(n.elem,e,Oe.exec(t),n),n}]},tweener:function(e,t){le.isFunction(e)?(t=e,e=["*"]):e=e.match(we);for(var n,r=0,i=e.length;r<i;r++)n=e[r],G.tweeners[n]=G.tweeners[n]||[],G.tweeners[n].unshift(t)},prefilters:[F],prefilter:function(e,t){t?G.prefilters.unshift(e):G.prefilters.push(e)}}),le.speed=function(e,t,n){var r=e&&"object"==typeof e?le.extend({},e):{complete:n||!n&&t||le.isFunction(e)&&e,duration:e,easing:n&&t||t&&!le.isFunction(t)&&t};return r.duration=le.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in le.fx.speeds?le.fx.speeds[r.duration]:le.fx.speeds._default,null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){le.isFunction(r.old)&&r.old.call(this),r.queue&&le.dequeue(this,r.queue)},r},le.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Re).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=le.isEmptyObject(e),a=le.speed(t,n,r),o=function(){var t=G(this,le.extend({},e),a);(i||Ye.get(this,"finish"))&&t.stop(!0)};return o.finish=o,i||a.queue===!1?this.each(o):this.queue(a.queue,o)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",a=le.timers,o=Ye.get(this);if(i)o[i]&&o[i].stop&&r(o[i]);else for(i in o)o[i]&&o[i].stop&&dt.test(i)&&r(o[i]);for(i=a.length;i--;)a[i].elem!==this||null!=e&&a[i].queue!==e||(a[i].anim.stop(n),t=!1,a.splice(i,1));!t&&n||le.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=Ye.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],a=le.timers,o=r?r.length:0;for(n.finish=!0,le.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<o;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),le.each(["toggle","show","hide"],function(e,t){var n=le.fn[t];le.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(I(t,!0),e,r,i)}}),le.each({slideDown:I("show"),slideUp:I("hide"),slideToggle:I("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){le.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),le.timers=[],le.fx.tick=function(){var e,t=0,n=le.timers;for(ut=le.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||le.fx.stop(),ut=void 0},le.fx.timer=function(e){le.timers.push(e),e()?le.fx.start():le.timers.pop()},le.fx.interval=13,le.fx.start=function(){lt||(lt=n.setInterval(le.fx.tick,le.fx.interval))},le.fx.stop=function(){n.clearInterval(lt),lt=null},le.fx.speeds={slow:600,fast:200,_default:400},le.fn.delay=function(e,t){return e=le.fx?le.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}})},function(){var e=Z.createElement("input"),t=Z.createElement("select"),n=t.appendChild(Z.createElement("option"));e.type="checkbox",se.checkOn=""!==e.value,se.optSelected=n.selected,t.disabled=!0,se.optDisabled=!n.disabled,e=Z.createElement("input"),e.value="t",e.type="radio",se.radioValue="t"===e.value}();var ft,ht=le.expr.attrHandle;le.fn.extend({attr:function(e,t){return ke(this,le.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){le.removeAttr(this,e)})}}),le.extend({attr:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return"undefined"==typeof e.getAttribute?le.prop(e,t,n):(1===a&&le.isXMLDoc(e)||(t=t.toLowerCase(),i=le.attrHooks[t]||(le.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void le.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=le.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!se.radioValue&&"radio"===t&&le.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,a=t&&t.match(we);if(a&&1===e.nodeType)for(;n=a[i++];)r=le.propFix[n]||n,le.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)}}),ft={set:function(e,t,n){return t===!1?le.removeAttr(e,n):e.setAttribute(n,n),n}},le.each(le.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||le.find.attr;ht[t]=function(e,t,r){var i,a;return r||(a=ht[t],ht[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,ht[t]=a),i}});var pt=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;le.fn.extend({prop:function(e,t){return ke(this,le.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[le.propFix[e]||e]})}}),le.extend({prop:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&le.isXMLDoc(e)||(t=le.propFix[t]||t,i=le.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=le.find.attr(e,"tabindex");return t?parseInt(t,10):pt.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),se.optSelected||(le.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),le.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){le.propFix[this.toLowerCase()]=this});var _t=/[\t\r\n\f]/g;le.fn.extend({addClass:function(e){var t,n,r,i,a,o,s,u=0;if(le.isFunction(e))return this.each(function(t){le(this).addClass(e.call(this,t,U(this)))});if("string"==typeof e&&e)for(t=e.match(we)||[];n=this[u++];)if(i=U(n),r=1===n.nodeType&&(" "+i+" ").replace(_t," ")){for(o=0;a=t[o++];)r.indexOf(" "+a+" ")<0&&(r+=a+" ");s=le.trim(r),i!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,a,o,s,u=0;if(le.isFunction(e))return this.each(function(t){le(this).removeClass(e.call(this,t,U(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(we)||[];n=this[u++];)if(i=U(n),r=1===n.nodeType&&(" "+i+" ").replace(_t," ")){for(o=0;a=t[o++];)for(;r.indexOf(" "+a+" ")>-1;)r=r.replace(" "+a+" "," ");s=le.trim(r),i!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):le.isFunction(e)?this.each(function(n){le(this).toggleClass(e.call(this,n,U(this),t),t)}):this.each(function(){var t,r,i,a;if("string"===n)for(r=0,i=le(this),a=e.match(we)||[];t=a[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=U(this),t&&Ye.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":Ye.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+U(n)+" ").replace(_t," ").indexOf(t)>-1)return!0;return!1}});var gt=/\r/g,yt=/[\x20\t\r\n\f]+/g;le.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=le.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,le(this).val()):e,null==i?i="":"number"==typeof i?i+="":le.isArray(i)&&(i=le.map(i,function(e){return null==e?"":e+""})),t=le.valHooks[this.type]||le.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return t=le.valHooks[i.type]||le.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(gt,""):null==n?"":n)}}}),le.extend({valHooks:{option:{get:function(e){var t=le.find.attr(e,"value");return null!=t?t:le.trim(le.text(e)).replace(yt," ")}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,a="select-one"===e.type||i<0,o=a?null:[],s=a?i+1:r.length,u=i<0?s:a?i:0;u<s;u++)if(n=r[u],(n.selected||u===i)&&(se.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!le.nodeName(n.parentNode,"optgroup"))){if(t=le(n).val(),a)return t;o.push(t)}return o},set:function(e,t){for(var n,r,i=e.options,a=le.makeArray(t),o=i.length;o--;)r=i[o],(r.selected=le.inArray(le.valHooks.option.get(r),a)>-1)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),le.each(["radio","checkbox"],function(){le.valHooks[this]={set:function(e,t){if(le.isArray(t))return e.checked=le.inArray(le(e).val(),t)>-1}},se.checkOn||(le.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var vt=/^(?:focusinfocus|focusoutblur)$/;le.extend(le.event,{trigger:function(e,t,r,i){var a,o,s,u,l,c,d,f=[r||Z],h=oe.call(e,"type")?e.type:e,p=oe.call(e,"namespace")?e.namespace.split("."):[];if(o=s=r=r||Z,3!==r.nodeType&&8!==r.nodeType&&!vt.test(h+le.event.triggered)&&(h.indexOf(".")>-1&&(p=h.split("."),h=p.shift(),p.sort()),l=h.indexOf(":")<0&&"on"+h,e=e[le.expando]?e:new le.Event(h,"object"==typeof e&&e),e.isTrigger=i?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:le.makeArray(t,[e]),d=le.event.special[h]||{},i||!d.trigger||d.trigger.apply(r,t)!==!1)){if(!i&&!d.noBubble&&!le.isWindow(r)){for(u=d.delegateType||h,vt.test(u+h)||(o=o.parentNode);o;o=o.parentNode)f.push(o),s=o;s===(r.ownerDocument||Z)&&f.push(s.defaultView||s.parentWindow||n)}for(a=0;(o=f[a++])&&!e.isPropagationStopped();)e.type=a>1?u:d.bindType||h,c=(Ye.get(o,"events")||{})[e.type]&&Ye.get(o,"handle"),c&&c.apply(o,t),c=l&&o[l],c&&c.apply&&De(o)&&(e.result=c.apply(o,t),e.result===!1&&e.preventDefault());return e.type=h,i||e.isDefaultPrevented()||d._default&&d._default.apply(f.pop(),t)!==!1||!De(r)||l&&le.isFunction(r[h])&&!le.isWindow(r)&&(s=r[l],s&&(r[l]=null),le.event.triggered=h,r[h](),le.event.triggered=void 0,s&&(r[l]=s)),e.result}},simulate:function(e,t,n){var r=le.extend(new le.Event,n,{type:e,isSimulated:!0});le.event.trigger(r,null,t)}}),le.fn.extend({trigger:function(e,t){return this.each(function(){le.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return le.event.trigger(e,t,n,!0)}}),le.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){le.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),le.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),se.focusin="onfocusin"in n,se.focusin||le.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){le.event.simulate(t,e.target,le.event.fix(e))};le.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=Ye.access(r,t);i||r.addEventListener(e,n,!0),Ye.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Ye.access(r,t)-1;i?Ye.access(r,t,i):(r.removeEventListener(e,n,!0),Ye.remove(r,t))}}});var xt=n.location,bt=le.now(),Mt=/\?/;le.parseJSON=function(e){return JSON.parse(e+"")},le.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||le.error("Invalid XML: "+e),t};var Lt=/#.*$/,St=/([?&])_=[^&]*/,wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Tt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,kt=/^(?:GET|HEAD)$/,Dt=/^\/\//,Yt={},Et={},Pt="*/".concat("*"),At=Z.createElement("a");At.href=xt.href,le.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:Tt.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Pt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":le.parseJSON,"text xml":le.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?q(q(e,le.ajaxSettings),t):q(le.ajaxSettings,e)},ajaxPrefilter:z(Yt),ajaxTransport:z(Et),ajax:function(e,t){function r(e,t,r,s){var l,d,y,v,b,L=t;2!==x&&(x=2,u&&n.clearTimeout(u),i=void 0,o=s||"",M.readyState=e>0?4:0,l=e>=200&&e<300||304===e,r&&(v=X(f,M,r)),v=K(f,v,M,l),l?(f.ifModified&&(b=M.getResponseHeader("Last-Modified"),b&&(le.lastModified[a]=b),b=M.getResponseHeader("etag"),b&&(le.etag[a]=b)),204===e||"HEAD"===f.type?L="nocontent":304===e?L="notmodified":(L=v.state,d=v.data,y=v.error,l=!y)):(y=L,!e&&L||(L="error",e<0&&(e=0))),M.status=e,M.statusText=(t||L)+"",l?m.resolveWith(h,[d,L,M]):m.rejectWith(h,[M,L,y]),M.statusCode(g),g=void 0,c&&p.trigger(l?"ajaxSuccess":"ajaxError",[M,f,l?d:y]),_.fireWith(h,[M,L]),c&&(p.trigger("ajaxComplete",[M,f]),--le.active||le.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,a,o,s,u,l,c,d,f=le.ajaxSetup({},t),h=f.context||f,p=f.context&&(h.nodeType||h.jquery)?le(h):le.event,m=le.Deferred(),_=le.Callbacks("once memory"),g=f.statusCode||{},y={},v={},x=0,b="canceled",M={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!s)for(s={};t=wt.exec(o);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?o:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return x||(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(x<2)for(t in e)g[t]=[g[t],e[t]];else M.always(e[M.status]);return this},abort:function(e){var t=e||b;return i&&i.abort(t),r(0,t),this}};if(m.promise(M).complete=_.add,M.success=M.done,M.error=M.fail,f.url=((e||f.url||xt.href)+"").replace(Lt,"").replace(Dt,xt.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=le.trim(f.dataType||"*").toLowerCase().match(we)||[""],null==f.crossDomain){l=Z.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=At.protocol+"//"+At.host!=l.protocol+"//"+l.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=le.param(f.data,f.traditional)),B(Yt,f,t,M),2===x)return M;c=le.event&&f.global,c&&0===le.active++&&le.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!kt.test(f.type),a=f.url,f.hasContent||(f.data&&(a=f.url+=(Mt.test(a)?"&":"?")+f.data,delete f.data),f.cache===!1&&(f.url=St.test(a)?a.replace(St,"$1_="+bt++):a+(Mt.test(a)?"&":"?")+"_="+bt++)),f.ifModified&&(le.lastModified[a]&&M.setRequestHeader("If-Modified-Since",le.lastModified[a]),le.etag[a]&&M.setRequestHeader("If-None-Match",le.etag[a])),(f.data&&f.hasContent&&f.contentType!==!1||t.contentType)&&M.setRequestHeader("Content-Type",f.contentType),M.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Pt+"; q=0.01":""):f.accepts["*"]);for(d in f.headers)M.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(f.beforeSend.call(h,M,f)===!1||2===x))return M.abort();b="abort";for(d in{success:1,error:1,complete:1})M[d](f[d]);if(i=B(Et,f,t,M)){if(M.readyState=1,c&&p.trigger("ajaxSend",[M,f]),2===x)return M;f.async&&f.timeout>0&&(u=n.setTimeout(function(){M.abort("timeout")},f.timeout));try{x=1,i.send(y,r)}catch(e){if(!(x<2))throw e;r(-1,e)}}else r(-1,"No Transport");return M},getJSON:function(e,t,n){return le.get(e,t,n,"json")},getScript:function(e,t){return le.get(e,void 0,t,"script")}}),le.each(["get","post"],function(e,t){le[t]=function(e,n,r,i){return le.isFunction(n)&&(i=i||r,r=n,n=void 0),le.ajax(le.extend({url:e,type:t,dataType:i,data:n,success:r},le.isPlainObject(e)&&e))}}),le._evalUrl=function(e){return le.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},le.fn.extend({wrapAll:function(e){var t;return le.isFunction(e)?this.each(function(t){le(this).wrapAll(e.call(this,t))}):(this[0]&&(t=le(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return le.isFunction(e)?this.each(function(t){le(this).wrapInner(e.call(this,t))}):this.each(function(){var t=le(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=le.isFunction(e);return this.each(function(n){le(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){le.nodeName(this,"body")||le(this).replaceWith(this.childNodes)}).end()}}),le.expr.filters.hidden=function(e){return!le.expr.filters.visible(e)},le.expr.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0};var Ct=/%20/g,Ot=/\[\]$/,jt=/\r?\n/g,Rt=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;le.param=function(e,t){var n,r=[],i=function(e,t){t=le.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=le.ajaxSettings&&le.ajaxSettings.traditional),le.isArray(e)||e.jquery&&!le.isPlainObject(e))le.each(e,function(){i(this.name,this.value)});else for(n in e)J(n,e[n],t,i);return r.join("&").replace(Ct,"+")},le.fn.extend({serialize:function(){return le.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=le.prop(this,"elements");return e?le.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!le(this).is(":disabled")&&Nt.test(this.nodeName)&&!Rt.test(e)&&(this.checked||!Ne.test(e))}).map(function(e,t){var n=le(this).val();return null==n?null:le.isArray(n)?le.map(n,function(e){return{name:t.name,value:e.replace(jt,"\r\n")}}):{name:t.name,value:n.replace(jt,"\r\n")}}).get()}}),le.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Ht={0:200,1223:204},It=le.ajaxSettings.xhr();se.cors=!!It&&"withCredentials"in It,se.ajax=It=!!It,le.ajaxTransport(function(e){var t,r;if(se.cors||It&&!e.crossDomain)return{send:function(i,a){var o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");
for(o in i)s.setRequestHeader(o,i[o]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(Ht[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),le.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return le.globalEval(e),e}}}),le.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),le.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=le("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),Z.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Vt=[],Ft=/(=)\?(?=&|$)|\?\?/;le.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Vt.pop()||le.expando+"_"+bt++;return this[e]=!0,e}}),le.ajaxPrefilter("json jsonp",function(e,t,r){var i,a,o,s=e.jsonp!==!1&&(Ft.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ft.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=le.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Ft,"$1"+i):e.jsonp!==!1&&(e.url+=(Mt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||le.error(i+" was not called"),o[0]},e.dataTypes[0]="json",a=n[i],n[i]=function(){o=arguments},r.always(function(){void 0===a?le(n).removeProp(i):n[i]=a,e[i]&&(e.jsonpCallback=t.jsonpCallback,Vt.push(i)),o&&le.isFunction(a)&&a(o[0]),o=a=void 0}),"script"}),le.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||Z;var r=ye.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=_([e],t,i),i&&i.length&&le(i).remove(),le.merge([],r.childNodes))};var Wt=le.fn.load;le.fn.load=function(e,t,n){if("string"!=typeof e&&Wt)return Wt.apply(this,arguments);var r,i,a,o=this,s=e.indexOf(" ");return s>-1&&(r=le.trim(e.slice(s)),e=e.slice(0,s)),le.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),o.length>0&&le.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){a=arguments,o.html(r?le("<div>").append(le.parseHTML(e)).find(r):e)}).always(n&&function(e,t){o.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},le.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){le.fn[t]=function(e){return this.on(t,e)}}),le.expr.filters.animated=function(e){return le.grep(le.timers,function(t){return e===t.elem}).length},le.offset={setOffset:function(e,t,n){var r,i,a,o,s,u,l,c=le.css(e,"position"),d=le(e),f={};"static"===c&&(e.style.position="relative"),s=d.offset(),a=le.css(e,"top"),u=le.css(e,"left"),l=("absolute"===c||"fixed"===c)&&(a+u).indexOf("auto")>-1,l?(r=d.position(),o=r.top,i=r.left):(o=parseFloat(a)||0,i=parseFloat(u)||0),le.isFunction(t)&&(t=t.call(e,n,le.extend({},s))),null!=t.top&&(f.top=t.top-s.top+o),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):d.css(f)}},le.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){le.offset.setOffset(this,e,t)});var t,n,r=this[0],i={top:0,left:0},a=r&&r.ownerDocument;if(a)return t=a.documentElement,le.contains(t,r)?(i=r.getBoundingClientRect(),n=$(a),{top:i.top+n.pageYOffset-t.clientTop,left:i.left+n.pageXOffset-t.clientLeft}):i},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===le.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),le.nodeName(e[0],"html")||(r=e.offset()),r.top+=le.css(e[0],"borderTopWidth",!0),r.left+=le.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-le.css(n,"marginTop",!0),left:t.left-r.left-le.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===le.css(e,"position");)e=e.offsetParent;return e||nt})}}),le.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;le.fn[e]=function(r){return ke(this,function(e,r,i){var a=$(e);return void 0===i?a?a[t]:e[r]:void(a?a.scrollTo(n?a.pageXOffset:i,n?i:a.pageYOffset):e[r]=i)},e,r,arguments.length)}}),le.each(["top","left"],function(e,t){le.cssHooks[t]=P(se.pixelPosition,function(e,n){if(n)return n=E(e,t),Ze.test(n)?le(e).position()[t]+"px":n})}),le.each({Height:"height",Width:"width"},function(e,t){le.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){le.fn[r]=function(r,i){var a=arguments.length&&(n||"boolean"!=typeof r),o=n||(r===!0||i===!0?"margin":"border");return ke(this,function(t,n,r){var i;return le.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?le.css(t,n,o):le.style(t,n,r,o)},t,a?r:void 0,a,null)}})}),le.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),le.fn.andSelf=le.fn.addBack,r=[],i=function(){return le}.apply(t,r),!(void 0!==i&&(e.exports=i));var Gt=n.jQuery,Ut=n.$;return le.noConflict=function(e){return n.$===le&&(n.$=Ut),e&&n.jQuery===le&&(n.jQuery=Gt),le},a||(n.jQuery=n.$=le),le})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,i,a,o){var s=n(t),u=r[e][n(t)];return 2===s&&(u=u[i?0:1]),u.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],o=e.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return o})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(t,n,a,o){var s=r(t),u=i[e][r(t)];return 2===s&&(u=u[n?0:1]),u.replace(/%d/i,t)}},o=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"],s=e.defineLocale("ar",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return s})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},n=e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10,r=e%100-n,i=e>=100?100:null;return e+(t[n]||t[r]||t[i])},week:{dow:1,doy:7}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===r?n?"хвіліна":"хвіліну":"h"===r?n?"гадзіна":"гадзіну":e+" "+t(i[r],+e)}var r=e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!==2&&e%10!==3||e%100===12||e%100===13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("bg-x",{parentLocale:"bg"});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r=e.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},r=e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n){var r={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+i(r[n],e)}function n(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function r(e){return e>9?r(e%10):e}function i(e,t){return 2===t?a(e):e}function a(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var o=e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:n},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var t=1===e?"añ":"vet";return e+t},week:{dow:1,doy:4}});return o})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}var n=e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ca",{months:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e){return e>1&&e<5&&1!==~~(e/10)}function n(e,n,r,i){var a=e+" ";switch(r){case"s":return n||i?"pár sekund":"pár sekundami";case"m":return n?"minuta":i?"minutu":"minutou";case"mm":return n||i?a+(t(e)?"minuty":"minut"):a+"minutami";case"h":return n?"hodina":i?"hodinu":"hodinou";case"hh":return n||i?a+(t(e)?"hodiny":"hodin"):a+"hodinami";case"d":return n||i?"den":"dnem";case"dd":return n||i?a+(t(e)?"dny":"dní"):a+"dny";case"M":return n||i?"měsíc":"měsícem";case"MM":return n||i?a+(t(e)?"měsíce":"měsíců"):a+"měsíci";case"y":return n||i?"rok":"rokem";case"yy":return n||i?a+(t(e)?"roky":"let"):a+"lety"}}var r="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),i="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),a=e.defineLocale("cs",{months:r,monthsShort:i,monthsParse:function(e,t){var n,r=[];for(n=0;n<12;n++)r[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return r}(r,i),shortMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(i),longMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(r),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",
yy:"%d ҫул"},ordinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t=e,n="",r=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=r[t]),e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}var n=e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}var n=e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],r=e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}var n=e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,n){var r=this._calendarEl[e],i=n&&n.hours();return t(r)&&(r=r.apply(n)),r.replace("{}",i%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},ordinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-an de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}var n=e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},r=e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندین ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,r,i){var a="";switch(r){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"m":return i?"minuutin":"minuutti";case"mm":a=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":a=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":a=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":a=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":a=i?"vuoden":"vuotta"}return a=n(e,i)+" "+a}function n(e,t){return e<10?t?i[e]:r[e]:e}var r="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),i=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",r[7],r[8],r[9]],a=e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(e){return e+(1===e?"er":"e")}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(e){return e+(1===e?"er":"e")},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(e){return e+(1===e?"er":"")},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),r=e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],n=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],r=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],i=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],a=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],o=e.defineLocale("gd",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:i,weekdaysMin:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},ordinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return o})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),
weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10===0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}var n=e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return i+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return i+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return i+(r||t?" év":" éve")}return""}function n(e){return(e?"":"[múlt] ")+"["+r[this.day()]+"] LT[-kor]"}var r="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" "),i=e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?n===!0?"de":"DE":n===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return i})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e){return e%100===11||e%10!==1}function n(e,n,r,i){var a=e+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?a+(n||i?"mínútur":"mínútum"):n?a+"mínúta":a+"mínútu";case"hh":return t(e)?a+(n||i?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?a+"dagar":a+(i?"daga":"dögum"):n?a+"dagur":a+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?n?a+"mánuðir":a+(i?"mánuði":"mánuðum"):n?a+"mánuður":a+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return t(e)?a+(n||i?"ár":"árum"):a+(n||i?"ár":"ári")}}var r=e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),weekdaysMin:"Do_Lu_Ma_Me_Gi_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS:"Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m分 dddd"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},ordinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20===0||e%100===0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},n=e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h시 m분",LLLL:"YYYY년 MMMM D일 dddd A h시 m분"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"일분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},n=e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[n][0]:i[n][1]}function n(e){var t=e.substr(0,e.indexOf(" "));return i(t)?"a "+e:"an "+e}function r(e){var t=e.substr(0,e.indexOf(" "));return i(t)?"viru "+e:"virun "+e}function i(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,n=e/10;return i(0===t?n:t)}if(e<1e4){for(;e>=10;)e/=10;return i(e)}return e/=1e3,i(e)}var a=e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:r,s:"e puer Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},ordinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function n(e,t,n,r){return t?i(n)[0]:r?i(n)[1]:i(n)[2]}function r(e){return e%10===0||e>10&&e<20}function i(e){return o[e].split("_")}function a(e,t,a,o){var s=e+" ";return 1===e?s+n(e,t,a[0],o):t?s+(r(e)?i(a)[1]:i(a)[0]):o?s+i(a)[1]:s+(r(e)?i(a)[1]:i(a)[2])}var o={m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"},s=e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:t,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},ordinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});return s})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n){return n?t%10===1&&t%100!==11?e[2]:e[3]:t%10===1&&t%100!==11?e[0]:e[1]}function n(e,n,r){return e+" "+t(a[r],e,n)}function r(e,n,r){return t(a[r],e,n)}function i(e,t){return t?"dažas sekundes":"dažām sekundēm"}var a={m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")},o=e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:i,m:r,mm:n,h:r,hh:n,d:r,dd:n,M:r,MM:n,y:r,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}},n=e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",
nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i="";if(t)switch(n){case"s":i="काही सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे"}else switch(n){case"s":i="काही सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां"}return i.replace(/%d/i,e)}var n={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},i=e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return n[e]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return i})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},r=e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,a=e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return a})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,a=e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return a})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},r=e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function n(e,n,r){var i=e+" ";switch(r){case"m":return n?"minuta":"minutę";case"mm":return i+(t(e)?"minuty":"minut");case"h":return n?"godzina":"godzinę";case"hh":return i+(t(e)?"godziny":"godzin");case"MM":return i+(t(e)?"miesiące":"miesięcy");case"yy":return i+(t(e)?"lata":"lat")}}var r="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),a=e.defineLocale("pl",{months:function(e,t){return""===t?"("+i[e.month()]+"|"+r[e.month()]+")":/D MMMM/.test(t)?i[e.month()]:r[e.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:n,mm:n,h:n,hh:n,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:n,y:"rok",yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº"});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n){var r={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},i=" ";return(e%100>=20||e>=100&&e%100===0)&&(i=" de "),e+i+r[n]}var n=e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===r?n?"минута":"минуту":e+" "+t(i[r],+e)}var r=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],i=e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:n,mm:n,h:"час",hh:n,d:"день",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:7}});return i})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},ordinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e){return e>1&&e<5}function n(e,n,r,i){var a=e+" ";switch(r){case"s":return n||i?"pár sekúnd":"pár sekundami";case"m":return n?"minúta":i?"minútu":"minútou";case"mm":return n||i?a+(t(e)?"minúty":"minút"):a+"minútami";case"h":return n?"hodina":i?"hodinu":"hodinou";case"hh":return n||i?a+(t(e)?"hodiny":"hodín"):a+"hodinami";case"d":return n||i?"deň":"dňom";case"dd":return n||i?a+(t(e)?"dni":"dní"):a+"dňami";case"M":return n||i?"mesiac":"mesiacom";case"MM":return n||i?a+(t(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return n||i?"rok":"rokom";case"yy":return n||i?a+(t(e)?"roky":"rokov"):a+"rokmi"}}var r="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),i="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),a=e.defineLocale("sk",{months:r,monthsShort:i,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"m":return t?"ena minuta":"eno minuto";case"mm":return i+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return i+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return i+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return i+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return i+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti"}}var n=e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i);
}},n=e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}},n=e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},ordinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"e":1===t?"a":2===t?"a":"e";return e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},r=e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},ordinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sext_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Sex_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutus %d",h:"horas ida",hh:"horas %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e){var t=e;return t=e.indexOf("jaj")!==-1?t.slice(0,-3)+"leS":e.indexOf("jar")!==-1?t.slice(0,-3)+"waQ":e.indexOf("DIS")!==-1?t.slice(0,-3)+"nem":t+" pIq"}function n(e){var t=e;return t=e.indexOf("jaj")!==-1?t.slice(0,-3)+"Hu’":e.indexOf("jar")!==-1?t.slice(0,-3)+"wen":e.indexOf("DIS")!==-1?t.slice(0,-3)+"ben":t+" ret"}function r(e,t,n,r){var a=i(e);switch(n){case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}function i(e){var t=Math.floor(e%1e3/100),n=Math.floor(e%100/10),r=e%10,i="";return t>0&&(i+=a[t]+"vatlh"),n>0&&(i+=(""!==i?" ":"")+a[n]+"maH"),r>0&&(i+=(""!==i?" ":"")+a[r]),""===i?"pagh":i}var a="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_"),o=e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:t,past:n,s:"puS lup",m:"wa’ tup",mm:r,h:"wa’ rep",hh:r,d:"wa’ jaj",dd:r,M:"wa’ jar",MM:r,y:"wa’ DIS",yy:r},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},n=e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(e){if(0===e)return e+"'ıncı";var n=e%10,r=e%100-n,i=e>=100?100:null;return e+(t[n]||t[r]||t[i])},week:{dow:1,doy:7}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",""+e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",""+e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",""+e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",""+e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",""+e+" ars"]};return r?i[n][0]:t?i[n][0]:i[n][1]}var n=e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===r?n?"хвилина":"хвилину":"h"===r?n?"година":"годину":e+" "+t(i[r],+e)}function r(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},r=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative";return n[r][e.day()]}function i(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var a=e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:r,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});return a})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},ordinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var t,n;return t=e().startOf("week"),n=this.diff(t,"days")>=7?"[下]":"[本]",0===this.minutes()?n+"dddAh点整":n+"dddAh点mm"},lastWeek:function(){var t,n;return t=e().startOf("week"),n=this.unix()<t.unix()?"[上]":"[本]",0===this.minutes()?n+"dddAh点整":n+"dddAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t})},function(e,t,n){var r=n(350);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,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(352);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(62),i=n(33),a=n(214);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a(function(){
n(1)}),"Object",o)}},function(e,t,n){var r=n(213);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";e.exports=n(236)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(3);t.default=r.PropTypes.shape({subscribe:r.PropTypes.func.isRequired,dispatch:r.PropTypes.func.isRequired,getState:r.PropTypes.func.isRequired})},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}t.__esModule=!0,t.default=n},function(e,t,n){var r=n(373),i=r.Symbol;e.exports=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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){return 0===e.button}function o(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function s(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function u(e,t){var n=t.query,r=t.hash,i=t.state;return n||r||i?{pathname:e,query:n,hash:r,state:i}:e}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(3),d=r(c),f=n(6),h=(r(f),n(7)),p=r(h),m=n(64),_=d.default.PropTypes,g=_.bool,y=_.object,v=_.string,x=_.func,b=_.oneOfType,M=d.default.createClass({displayName:"Link",contextTypes:{router:m.routerShape},propTypes:{to:b([v,y]),query:y,hash:v,state:y,activeStyle:y,activeClassName:v,onlyActiveOnIndex:g.isRequired,onClick:x,target:v},getDefaultProps:function(){return{onlyActiveOnIndex:!1,style:{}}},handleClick:function(e){if(this.props.onClick&&this.props.onClick(e),!e.defaultPrevented&&(this.context.router?void 0:(0,p.default)(!1),!o(e)&&a(e)&&!this.props.target)){e.preventDefault();var t=this.props,n=t.to,r=t.query,i=t.hash,s=t.state,l=u(n,{query:r,hash:i,state:s});this.context.router.push(l)}},render:function(){var e=this.props,t=e.to,n=e.query,r=e.hash,a=e.state,o=e.activeClassName,c=e.activeStyle,f=e.onlyActiveOnIndex,h=i(e,["to","query","hash","state","activeClassName","activeStyle","onlyActiveOnIndex"]),p=this.context.router;if(p){if(null==t)return d.default.createElement("a",h);var m=u(t,{query:n,hash:r,state:a});h.href=p.createHref(m),(o||null!=c&&!s(c))&&p.isActive(m,f)&&(o&&(h.className?h.className+=" "+o:h.className=o),c&&(h.style=l({},h.style,c)))}return d.default.createElement("a",l({},h,{onClick:this.handleClick}))}});t.default=M,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(3),a=r(i),o=n(7),s=r(o),u=n(20),l=n(27),c=n(23),d=a.default.PropTypes,f=d.string,h=d.object,p=a.default.createClass({displayName:"Redirect",statics:{createRouteFromReactElement:function(e){var t=(0,u.createRouteFromReactElement)(e);return t.from&&(t.path=t.from),t.onEnter=function(e,n){var r=e.location,i=e.params,a=void 0;if("/"===t.to.charAt(0))a=(0,l.formatPattern)(t.to,i);else if(t.to){var o=e.routes.indexOf(t),s=p.getRoutePattern(e.routes,o-1),u=s.replace(/\/*$/,"/")+t.to;a=(0,l.formatPattern)(u,i)}else a=r.pathname;n({pathname:a,query:t.query||r.query,state:t.state||r.state})},t},getRoutePattern:function(e,t){for(var n="",r=t;r>=0;r--){var i=e[r],a=i.path||"";if(n=a.replace(/\/*$/,"/")+n,0===a.indexOf("/"))break}return"/"+n}},propTypes:{path:f,from:f,to:f.isRequired,query:h,state:h,onEnter:c.falsy,children:c.falsy},render:function(){(0,s.default)(!1)}});t.default=p,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return o({},e,{setRouteLeaveHook:t.listenBeforeLeavingRoute,isActive:t.isActive})}function a(e,t){return e=o({},e,t)}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.createRouterObject=i,t.createRoutingHistory=a;var s=n(45);r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=(0,c.default)(e),n=function(){return t},r=(0,o.default)((0,u.default)(n))(e);return r.__v2_compatible__=!0,r}t.__esModule=!0,t.default=i;var a=n(43),o=r(a),s=n(101),u=r(s),l=n(326),c=r(l);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){var t=void 0;return o&&(t=(0,a.default)(e)()),t};var i=n(229),a=r(i),o=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return a({},e,t)}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=i;var o=(n(45),n(6));r(o);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return function(t){var n=(0,o.default)((0,u.default)(e))(t);return n.__v2_compatible__=!0,n}}t.__esModule=!0,t.default=i;var a=n(43),o=r(a),s=n(101),u=r(s);e.exports=t.default},function(e,t){"use strict";function n(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var r={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(r).forEach(function(e){i.forEach(function(t){r[n(t,e)]=r[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}},o={isUnitlessNumber:r,shorthandPropertyExpansions:a};e.exports=o},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 i=n(405),a=n(248),o=n(11),s=n(53),u=n(81),l=n(2),c={dangerouslyReplaceNodeWithMarkup:i.dangerouslyReplaceNodeWithMarkup,updateTextContent:u,processUpdates:function(e,t){for(var n,o=null,c=null,d=0;d<e.length;d++)if(n=e[d],n.type===a.MOVE_EXISTING||n.type===a.REMOVE_NODE){var f=n.fromIndex,h=n.parentNode.childNodes[f],p=n.parentID;h?void 0:l(!1),o=o||{},o[p]=o[p]||[],o[p][f]=h,c=c||[],c.push(h)}var m;if(m=t.length&&"string"==typeof t[0]?i.dangerouslyRenderMarkup(t):t,c)for(var _=0;_<c.length;_++)c[_].parentNode.removeChild(c[_]);for(var g=0;g<e.length;g++)switch(n=e[g],n.type){case a.INSERT_MARKUP:r(n.parentNode,m[n.markupIndex],n.toIndex);break;case a.MOVE_EXISTING:r(n.parentNode,o[n.parentID][n.fromIndex],n.toIndex);break;case a.SET_MARKUP:s(n.parentNode,n.content);break;case a.TEXT_CONTENT:u(n.parentNode,n.content);break;case a.REMOVE_NODE:}}};o.measureMethods(c,"DOMChildrenOperations",{updateTextContent:"updateTextContent"}),e.exports=c},function(e,t,n){"use strict";function r(){if(s)for(var e in u){var t=u[e],n=s.indexOf(e);if(n>-1?void 0:o(!1),!l.plugins[n]){t.extractEvents?void 0:o(!1),l.plugins[n]=t;var r=t.eventTypes;for(var a in r)i(r[a],t,a)?void 0:o(!1)}}}function i(e,t,n){l.eventNameDispatchConfigs.hasOwnProperty(n)?o(!1):void 0,l.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var i in r)if(r.hasOwnProperty(i)){var s=r[i];a(s,t,n)}return!0}return!!e.registrationName&&(a(e.registrationName,t,n),!0)}function a(e,t,n){l.registrationNameModules[e]?o(!1):void 0,l.registrationNameModules[e]=t,l.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var o=n(2),s=null,u={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){s?o(!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 i=e[n];u.hasOwnProperty(n)&&u[n]===i||(u[n]?o(!1):void 0,u[n]=i,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return l.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=l.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){s=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];l.plugins.length=0;var t=l.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=l.registrationNameModules;for(var i in r)r.hasOwnProperty(i)&&delete r[i]}};e.exports=l},function(e,t,n){"use strict";function r(e){return(""+e).replace(x,"//")}function i(e,t){this.func=e,this.context=t,this.count=0}function a(e,t,n){var r=e.func,i=e.context;r.call(i,t,e.count++)}function o(e,t,n){if(null==e)return e;var r=i.getPooled(t,n);g(e,a,r),i.release(r)}function s(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function u(e,t,n){var i=e.result,a=e.keyPrefix,o=e.func,s=e.context,u=o.call(s,t,e.count++);Array.isArray(u)?l(u,i,n,_.thatReturnsArgument):null!=u&&(m.isValidElement(u)&&(u=m.cloneAndReplaceKey(u,a+(u!==t?r(u.key||"")+"/":"")+n)),i.push(u))}function l(e,t,n,i,a){var o="";null!=n&&(o=r(n)+"/");var l=s.getPooled(t,o,i,a);g(e,u,l),s.release(l)}function c(e,t,n){if(null==e)return e;var r=[];return l(e,r,null,t,n),r}function d(e,t,n){return null}function f(e,t){return g(e,d,null)}function h(e){var t=[];return l(e,t,null,_.thatReturnsArgument),t}var p=n(21),m=n(10),_=n(13),g=n(83),y=p.twoArgumentPooler,v=p.fourArgumentPooler,x=/\/(?!\/)/g;i.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},p.addPoolingTo(i,y),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p.addPoolingTo(s,v);var b={forEach:o,map:c,mapIntoWithKeyPrefixInternal:l,count:f,toArray:h};e.exports=b},function(e,t,n){"use strict";function r(e,t){var n=M.hasOwnProperty(t)?M[t]:null;S.hasOwnProperty(t)&&(n!==x.OVERRIDE_BASE?_(!1):void 0),e.hasOwnProperty(t)&&(n!==x.DEFINE_MANY&&n!==x.DEFINE_MANY_MERGED?_(!1):void 0)}function i(e,t){if(t){"function"==typeof t?_(!1):void 0,f.isValidElement(t)?_(!1):void 0;var n=e.prototype;t.hasOwnProperty(v)&&L.mixins(e,t.mixins);for(var i in t)if(t.hasOwnProperty(i)&&i!==v){var a=t[i];if(r(n,i),L.hasOwnProperty(i))L[i](e,a);else{var o=M.hasOwnProperty(i),l=n.hasOwnProperty(i),c="function"==typeof a,d=c&&!o&&!l&&t.autobind!==!1;if(d)n.__reactAutoBindMap||(n.__reactAutoBindMap={}),n.__reactAutoBindMap[i]=a,n[i]=a;else if(l){var h=M[i];!o||h!==x.DEFINE_MANY_MERGED&&h!==x.DEFINE_MANY?_(!1):void 0,h===x.DEFINE_MANY_MERGED?n[i]=s(n[i],a):h===x.DEFINE_MANY&&(n[i]=u(n[i],a))}else n[i]=a}}}}function a(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var i=n in L;i?_(!1):void 0;var a=n in e;a?_(!1):void 0,e[n]=r}}}function o(e,t){e&&t&&"object"==typeof e&&"object"==typeof t?void 0:_(!1);for(var n in t)t.hasOwnProperty(n)&&(void 0!==e[n]?_(!1):void 0,e[n]=t[n]);return e}function s(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var i={};return o(i,n),o(i,r),i}}function u(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function l(e,t){var n=t.bind(e);return n}function c(e){for(var t in e.__reactAutoBindMap)if(e.__reactAutoBindMap.hasOwnProperty(t)){var n=e.__reactAutoBindMap[t];e[t]=l(e,n)}}var d=n(235),f=n(10),h=(n(48),n(47),n(250)),p=n(5),m=n(32),_=n(2),g=n(41),y=n(18),v=(n(4),y({mixins:null})),x=g({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),b=[],M={mixins:x.DEFINE_MANY,statics:x.DEFINE_MANY,propTypes:x.DEFINE_MANY,contextTypes:x.DEFINE_MANY,childContextTypes:x.DEFINE_MANY,getDefaultProps:x.DEFINE_MANY_MERGED,getInitialState:x.DEFINE_MANY_MERGED,getChildContext:x.DEFINE_MANY_MERGED,render:x.DEFINE_ONCE,componentWillMount:x.DEFINE_MANY,componentDidMount:x.DEFINE_MANY,componentWillReceiveProps:x.DEFINE_MANY,shouldComponentUpdate:x.DEFINE_ONCE,componentWillUpdate:x.DEFINE_MANY,componentDidUpdate:x.DEFINE_MANY,componentWillUnmount:x.DEFINE_MANY,updateComponent:x.OVERRIDE_BASE},L={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)i(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=p({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=p({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=s(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=p({},e.propTypes,t)},statics:function(e,t){a(e,t)},autobind:function(){}},S={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t)},isMounted:function(){return this.updater.isMounted(this)},setProps:function(e,t){this.updater.enqueueSetProps(this,e),t&&this.updater.enqueueCallback(this,t)},replaceProps:function(e,t){this.updater.enqueueReplaceProps(this,e),t&&this.updater.enqueueCallback(this,t)}},w=function(){};p(w.prototype,d.prototype,S);var T={createClass:function(e){var t=function(e,t,n){this.__reactAutoBindMap&&c(this),this.props=e,this.context=t,this.refs=m,this.updater=n||h,this.state=null;var r=this.getInitialState?this.getInitialState():null;"object"!=typeof r||Array.isArray(r)?_(!1):void 0,this.state=r};t.prototype=new w,t.prototype.constructor=t,b.forEach(i.bind(null,t)),i(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),t.prototype.render?void 0:_(!1);for(var n in M)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){b.push(e)}}};e.exports=T},function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=a,this.updater=n||i}var i=n(250),a=(n(51),n(32)),o=n(2);n(4);r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e?o(!1):void 0,this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t)},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e)};e.exports=r},function(e,t,n){"use strict";var r=n(17),i=n(239),a=n(241),o=n(29),s=n(9),u=n(11),l=n(24),c=n(12),d=n(73),f=n(74),h=n(454);n(4);a.inject();var p=u.measure("React","render",s.render),m={findDOMNode:f,render:p,unmountComponentAtNode:s.unmountComponentAtNode,version:d,unstable_batchedUpdates:c.batchedUpdates,unstable_renderSubtreeIntoContainer:h};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:r,InstanceHandles:o,Mount:s,Reconciler:l,TextComponent:i});e.exports=m},function(e,t){"use strict";var n={useCreateElement:!1};e.exports=n},function(e,t,n){"use strict";function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var e=this._currentElement.props,t=o.getValue(e);null!=t&&i(this,Boolean(e.multiple),t)}}function i(e,t,n){var r,i,a=s.getNode(e._rootNodeID).options;if(t){for(r={},i=0;i<n.length;i++)r[""+n[i]]=!0;for(i=0;i<a.length;i++){var o=r.hasOwnProperty(a[i].value);a[i].selected!==o&&(a[i].selected=o)}}else{for(r=""+n,i=0;i<a.length;i++)if(a[i].value===r)return void(a[i].selected=!0);a.length&&(a[0].selected=!0)}}function a(e){var t=this._currentElement.props,n=o.executeOnChange(t,e);return this._wrapperState.pendingUpdate=!0,u.asap(r,this),n}var o=n(68),s=n(9),u=n(12),l=n(5),c=(n(4),"__ReactDOMSelect_value$"+Math.random().toString(36).slice(2)),d={valueContextKey:c,getNativeProps:function(e,t,n){return l({},t,{onChange:e._wrapperState.onChange,value:void 0})},mountWrapper:function(e,t){var n=o.getValue(t);e._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:t.defaultValue,onChange:a.bind(e),wasMultiple:Boolean(t.multiple)}},processChildContext:function(e,t,n){var r=l({},n);return r[c]=e._wrapperState.initialValue,r},postUpdateWrapper:function(e){var t=e._currentElement.props;e._wrapperState.initialValue=void 0;var n=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=Boolean(t.multiple);var r=o.getValue(t);null!=r?(e._wrapperState.pendingUpdate=!1,i(e,Boolean(t.multiple),r)):n!==Boolean(t.multiple)&&(null!=t.defaultValue?i(e,Boolean(t.multiple),t.defaultValue):i(e,Boolean(t.multiple),t.multiple?[]:""))}};e.exports=d},function(e,t,n){"use strict";var r=n(231),i=n(67),a=n(69),o=n(9),s=n(5),u=n(52),l=n(81),c=(n(84),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[o.ownerDocumentContextKey],a=r.createElement("span");return i.setAttributeForID(a,e),o.getID(a),l(a,this._stringText),a}var s=u(this._stringText);return t.renderToStaticMarkup?s:"<span "+i.createMarkupForID(e)+">"+s+"</span>"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var i=o.getNode(this._rootNodeID);r.updateTextContent(i,n)}}},unmountComponent:function(){a.unmountIDFromEnvironment(this._rootNodeID)}}),e.exports=c},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var i=n(12),a=n(50),o=n(5),s=n(13),u={initialize:s,close:function(){f.isBatchingUpdates=!1}},l={initialize:s,close:i.flushBatchedUpdates.bind(i)},c=[l,u];o(r.prototype,a.Mixin,{getTransactionWrappers:function(){return c}});var d=new r,f={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,i,a){var o=f.isBatchingUpdates;f.isBatchingUpdates=!0,o?e(t,n,r,i,a):d.perform(e,null,t,n,r,i,a)}};e.exports=f},function(e,t,n){"use strict";function r(){if(!w){w=!0,g.EventEmitter.injectReactEventListener(_),g.EventPluginHub.injectEventPluginOrder(s),g.EventPluginHub.injectInstanceHandle(y),g.EventPluginHub.injectMount(v),g.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:L,EnterLeaveEventPlugin:u,ChangeEventPlugin:a,SelectEventPlugin:b,BeforeInputEventPlugin:i}),g.NativeComponent.injectGenericComponentClass(p),g.NativeComponent.injectTextComponentClass(m),g.Class.injectMixin(d),g.DOMProperty.injectDOMPropertyConfig(c),g.DOMProperty.injectDOMPropertyConfig(S),g.EmptyComponent.injectEmptyComponent("noscript"),g.Updates.injectReconcileTransaction(x),g.Updates.injectBatchingStrategy(h),g.RootIndex.injectCreateReactRootIndex(l.canUseDOM?o.createReactRootIndex:M.createReactRootIndex),g.Component.injectEnvironment(f)}}var i=n(401),a=n(403),o=n(404),s=n(406),u=n(407),l=n(8),c=n(410),d=n(412),f=n(69),h=n(240),p=n(416),m=n(239),_=n(424),g=n(425),y=n(29),v=n(9),x=n(429),b=n(435),M=n(436),L=n(437),S=n(434),w=!1;e.exports={inject:r}},function(e,t,n){"use strict";function r(){if(d.current){var e=d.current.getName();if(e)return" Check the render method of `"+e+"`."}return""}function i(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 i=r();if(!i){var a="string"==typeof n?n:n.displayName||n.name;a&&(i=" Check the top-level render call using <"+a+">.")}var o=p[e]||(p[e]={});if(o[i])return null;o[i]=!0;var s={parentOrOwner:i,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 o(e,t){if("object"==typeof e)if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=e[n];l.isValidElement(r)&&i(r,t)}else if(l.isValidElement(e))e._store&&(e._store.validated=!0);else if(e){var a=f(e);if(a&&a!==e.entries)for(var o,s=a.call(e);!(o=s.next()).done;)l.isValidElement(o.value)&&i(o.value,t)}}function s(e,t,n,i){for(var a in t)if(t.hasOwnProperty(a)){var o;try{"function"!=typeof t[a]?h(!1):void 0,o=t[a](n,a,e,i)}catch(e){o=e}if(o instanceof Error&&!(o.message in m)){m[o.message]=!0;r()}}}function u(e){var t=e.type;if("function"==typeof t){var n=t.displayName||t.name;t.propTypes&&s(n,t.propTypes,e.props,c.prop),"function"==typeof t.getDefaultProps}}var l=n(10),c=n(48),d=(n(47),n(17)),f=(n(51),n(78)),h=n(2),p=(n(4),{}),m={},_={createElement:function(e,t,n){var r="string"==typeof e||"function"==typeof e,i=l.createElement.apply(this,arguments);if(null==i)return i;if(r)for(var a=2;a<arguments.length;a++)o(arguments[a],e);return u(i),i},createFactory:function(e){var t=_.createElement.bind(null,e);return t.type=e,t},cloneElement:function(e,t,n){for(var r=l.cloneElement.apply(this,arguments),i=2;i<arguments.length;i++)o(arguments[i],r.type);return u(r),r}};e.exports=_},function(e,t,n){"use strict";function r(){o.registerNullComponentID(this._rootNodeID)}var i,a=n(10),o=n(244),s=n(24),u=n(5),l={injectEmptyComponent:function(e){i=a.createElement(e)}},c=function(e){this._currentElement=null,this._rootNodeID=null,this._renderedComponent=e(i)};u(c.prototype,{construct:function(e){},mountComponent:function(e,t,n){return t.getReactMountReady().enqueue(r,this),this._rootNodeID=e,s.mountComponent(this._renderedComponent,e,t,n)},receiveComponent:function(){},unmountComponent:function(e,t,n){s.unmountComponent(this._renderedComponent),o.deregisterNullComponentID(this._rootNodeID),this._rootNodeID=null,this._renderedComponent=null}}),c.injection=l,e.exports=c},function(e,t){"use strict";function n(e){return!!a[e]}function r(e){a[e]=!0}function i(e){delete a[e]}var a={},o={isNullComponentID:n,registerNullComponentID:r,deregisterNullComponentID:i};e.exports=o},function(e,t,n){"use strict";function r(e,t,n,r){try{return t(n,r)}catch(e){return void(null===i&&(i=e))}}var i=null,a={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(i){var e=i;throw i=null,e}}};e.exports=a},function(e,t,n){"use strict";function r(e){return a(document.documentElement,e)}var i=n(420),a=n(92),o=n(93),s=n(94),u={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)},getSelectionInformation:function(){var e=s();return{focusedElem:e,selectionRange:u.hasSelectionCapabilities(e)?u.getSelection(e):null}},restoreSelection:function(e){var t=s(),n=e.focusedElem,i=e.selectionRange;t!==n&&r(n)&&(u.hasSelectionCapabilities(n)&&u.setSelection(n,i),o(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=i.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if("undefined"==typeof r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var a=e.createTextRange();a.collapse(!0),a.moveStart("character",n),a.moveEnd("character",r-n),a.select()}else i.setOffsets(e,t)}};e.exports=u},function(e,t,n){"use strict";var r=n(446),i=/\/?>/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return e.replace(i," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var i=r(e);return i===n}};e.exports=a},function(e,t,n){"use strict";var r=n(41),i=r({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});e.exports=i},function(e,t,n){"use strict";function r(e){if("function"==typeof e.type)return e.type;var t=e.type,n=d[t];return null==n&&(d[t]=n=l(t)),n}function i(e){return c?void 0:u(!1),new c(e.type,e.props)}function a(e){return new f(e)}function o(e){return e instanceof f}var s=n(5),u=n(2),l=null,c=null,d={},f=null,h={injectGenericComponentClass:function(e){c=e},injectTextComponentClass:function(e){f=e},injectComponentClasses:function(e){s(d,e)}},p={getComponentClassForElement:r,createInternalComponent:i,createInstanceForText:a,isTextComponent:o,injection:h};e.exports=p},function(e,t,n){"use strict";function r(e,t){}var i=(n(4),{isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){r(e,"forceUpdate")},enqueueReplaceState:function(e,t){r(e,"replaceState")},enqueueSetState:function(e,t){r(e,"setState")},enqueueSetProps:function(e,t){r(e,"setProps")},enqueueReplaceProps:function(e,t){r(e,"replaceProps")}});e.exports=i},function(e,t,n){"use strict";function r(e){function t(t,n,r,i,a,o){if(i=i||M,o=o||r,null==n[r]){var s=v[a];return t?new Error("Required "+s+" `"+o+"` was not specified in "+("`"+i+"`.")):null}return e(n,r,i,a,o)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function i(e){function t(t,n,r,i,a){var o=t[n],s=m(o);if(s!==e){var u=v[i],l=_(o);return new Error("Invalid "+u+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return r(t)}function a(){return r(x.thatReturns(null))}function o(e){function t(t,n,r,i,a){var o=t[n];if(!Array.isArray(o)){var s=v[i],u=m(o);return new Error("Invalid "+s+" `"+a+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an array."))}for(var l=0;l<o.length;l++){var c=e(o,l,r,i,a+"["+l+"]");if(c instanceof Error)return c}return null}return r(t)}function s(){function e(e,t,n,r,i){if(!y.isValidElement(e[t])){var a=v[r];return new Error("Invalid "+a+" `"+i+"` supplied to "+("`"+n+"`, expected a single ReactElement."))}return null}return r(e)}function u(e){function t(t,n,r,i,a){if(!(t[n]instanceof e)){var o=v[i],s=e.name||M,u=g(t[n]);return new Error("Invalid "+o+" `"+a+"` of type "+("`"+u+"` supplied to `"+r+"`, expected ")+("instance of `"+s+"`."))}return null}return r(t)}function l(e){function t(t,n,r,i,a){for(var o=t[n],s=0;s<e.length;s++)if(o===e[s])return null;var u=v[i],l=JSON.stringify(e);return new Error("Invalid "+u+" `"+a+"` of value `"+o+"` "+("supplied to `"+r+"`, expected one of "+l+"."))}return r(Array.isArray(e)?t:function(){return new Error("Invalid argument supplied to oneOf, expected an instance of array.")})}function c(e){function t(t,n,r,i,a){var o=t[n],s=m(o);if("object"!==s){var u=v[i];return new Error("Invalid "+u+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected an object."))}for(var l in o)if(o.hasOwnProperty(l)){var c=e(o,l,r,i,a+"."+l);if(c instanceof Error)return c}return null}return r(t)}function d(e){function t(t,n,r,i,a){for(var o=0;o<e.length;o++){var s=e[o];if(null==s(t,n,r,i,a))return null}var u=v[i];return new Error("Invalid "+u+" `"+a+"` supplied to "+("`"+r+"`."))}return r(Array.isArray(e)?t:function(){return new Error("Invalid argument supplied to oneOfType, expected an instance of array.")})}function f(){function e(e,t,n,r,i){if(!p(e[t])){var a=v[r];return new Error("Invalid "+a+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return r(e)}function h(e){function t(t,n,r,i,a){var o=t[n],s=m(o);if("object"!==s){var u=v[i];return new Error("Invalid "+u+" `"+a+"` of type `"+s+"` "+("supplied to `"+r+"`, expected `object`."))}for(var l in e){var c=e[l];if(c){var d=c(o,l,r,i,a+"."+l);if(d)return d}}return null}return r(t)}function p(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(p);if(null===e||y.isValidElement(e))return!0;var t=b(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!p(n.value))return!1}else for(;!(n=r.next()).done;){var i=n.value;if(i&&!p(i[1]))return!1}return!0;default:return!1}}function m(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":t}function _(e){var t=m(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function g(e){return e.constructor&&e.constructor.name?e.constructor.name:"<<anonymous>>"}var y=n(10),v=n(47),x=n(13),b=n(78),M="<<anonymous>>",L={array:i("array"),bool:i("boolean"),func:i("function"),number:i("number"),object:i("object"),string:i("string"),any:a(),arrayOf:o,element:s(),instanceOf:u,node:f(),objectOf:c,oneOf:l,oneOfType:d,shape:h};e.exports=L},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={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){n.currentScrollLeft=e.x,n.currentScrollTop=e.y}};e.exports=n},function(e,t,n){"use strict";function r(e,t){if(null==t?i(!1):void 0,null==e)return t;var n=Array.isArray(e),r=Array.isArray(t);return n&&r?(e.push.apply(e,t),e):n?(e.push(t),e):r?[e].concat(t):[e,t]}var i=n(2);e.exports=r},function(e,t){"use strict";var n=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};e.exports=n},function(e,t,n){"use strict";function r(){return!a&&i.canUseDOM&&(a="textContent"in document.documentElement?"textContent":"innerText"),a}var i=n(8),a=null;e.exports=r},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,n){"use strict";t.__esModule=!0,t.untouch=t.touch=t.swapArrayValues=t.submitFailed=t.stopSubmit=t.stopAsyncValidation=t.startSubmit=t.startAsyncValidation=t.reset=t.removeArrayValue=t.initialize=t.focus=t.destroy=t.change=t.blur=t.autofill=t.addArrayValue=void 0;var r=n(85);t.addArrayValue=function(e,t,n,i){return{type:r.ADD_ARRAY_VALUE,path:e,value:t,index:n,fields:i}},t.autofill=function(e,t){return{type:r.AUTOFILL,field:e,value:t}},t.blur=function(e,t){return{type:r.BLUR,field:e,value:t}},t.change=function(e,t){return{type:r.CHANGE,field:e,value:t}},t.destroy=function(){return{type:r.DESTROY}},t.focus=function(e){return{type:r.FOCUS,field:e}},t.initialize=function(e,t){var n=arguments.length<=2||void 0===arguments[2]||arguments[2];if(!Array.isArray(t))throw new Error("must provide fields array to initialize() action creator");return{type:r.INITIALIZE,data:e,fields:t,overwriteValues:n}},t.removeArrayValue=function(e,t){return{type:r.REMOVE_ARRAY_VALUE,path:e,index:t}},t.reset=function(){return{type:r.RESET}},t.startAsyncValidation=function(e){return{type:r.START_ASYNC_VALIDATION,field:e}},t.startSubmit=function(){return{type:r.START_SUBMIT}},t.stopAsyncValidation=function(e){return{type:r.STOP_ASYNC_VALIDATION,errors:e}},t.stopSubmit=function(e){return{type:r.STOP_SUBMIT,errors:e}},t.submitFailed=function(){return{type:r.SUBMIT_FAILED}},t.swapArrayValues=function(e,t,n){return{type:r.SWAP_ARRAY_VALUES,path:e,indexA:t,indexB:n}},t.touch=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return{type:r.TOUCH,fields:t}},t.untouch=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return{type:r.UNTOUCH,fields:t}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return"function"==typeof e?function(){return a({},e.apply(void 0,arguments),t)}:"object"==typeof e?(0,s.default)(e,function(e){return i(e,t)}):e}t.__esModule=!0;var a=Object.assign||function(e){
for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=i;var o=n(87),s=r(o)},function(e,t){"use strict";t.__esModule=!0;var n=t.dataKey="value",r=function(e,t){return function(e){e.dataTransfer.setData(n,t())}};t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(262),a=r(i),o=function(e){var t=[];if(e)for(var n=0;n<e.length;n++){var r=e[n];r.selected&&t.push(r.value)}return t},s=function(e,t){if((0,a.default)(e)){if(!t&&e.nativeEvent&&void 0!==e.nativeEvent.text)return e.nativeEvent.text;if(t&&void 0!==e.nativeEvent)return e.nativeEvent.text;var n=e.target,r=n.type,i=n.value,s=n.checked,u=n.files,l=e.dataTransfer;return"checkbox"===r?s:"file"===r?u||l&&l.files:"select-multiple"===r?o(e.target.options):"number"===r||"range"===r?parseFloat(i):i}return e&&"object"==typeof e&&void 0!==e.value?e.value:e};t.default=s},function(e,t){"use strict";t.__esModule=!0;var n=function(e){return!!(e&&e.stopPropagation&&e.preventDefault)};t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(262),a=r(i),o=function(e){var t=(0,a.default)(e);return t&&e.preventDefault(),t};t.default=o},function(e,t){"use strict";function n(e){return e.displayName||e.name||"Component"}t.__esModule=!0,t.default=n},function(e,t){"use strict";t.__esModule=!0;var n=function(e){var t=e.value,n=e.initialValue;return"undefined"!=typeof t?t:n},r=function e(t,r,i){var a=t.indexOf("."),o=t.indexOf("["),s=t.indexOf("]");if(o>0&&s!==o+1)throw new Error("found [ not followed by ]");if(o>0&&(a<0||o<a))!function(){var a=t.substring(0,o),u=t.substring(s+1);"."===u[0]&&(u=u.substring(1));var l=r&&r[a]||[];u?(i[a]||(i[a]=[]),l.forEach(function(t,n){i[a][n]||(i[a][n]={}),e(u,t,i[a][n])})):i[a]=l.map(n)}();else if(a>0){var u=t.substring(0,a),l=t.substring(a+1);i[u]||(i[u]={}),e(l,r&&r[u]||{},i[u])}else i[t]=r[t]&&n(r[t])},i=function(e,t){return e.reduce(function(e,n){return r(n,t,e),e},{})};t.default=i},function(e,t,n){"use strict";t.__esModule=!0;var r=n(30),i=function e(t){if(!t)return t;var n=Object.keys(t);if(n.length)return n.reduce(function(n,i){var a=t[i];if(a)if((0,r.isFieldValue)(a))void 0!==a.value&&(n[i]=a.value);else if(Array.isArray(a))n[i]=a.map(function(t){return(0,r.isFieldValue)(t)?t.value:e(t)});else if("object"==typeof a){var o=e(a);o&&Object.keys(o).length>0&&(n[i]=o)}return n},{})};t.default=i},function(e,t){"use strict";t.__esModule=!0;var n=function(e){if("boolean"==typeof e)return e;if("string"==typeof e){var t=e.toLowerCase();if("true"===t)return!0;if("false"===t)return!1}};t.default=n},function(e,t){"use strict";t.__esModule=!0;var n=function e(t,n){if(!t||!n)return n;var r=t.indexOf(".");if(0===r)return e(t.substring(1),n);var i=t.indexOf("["),a=t.indexOf("]");if(r>=0&&(i<0||r<i))return e(t.substring(r+1),n[t.substring(0,r)]);if(i>=0&&(r<0||i<r)){if(a<0)throw new Error("found [ but no ]");var o=t.substring(0,i),s=t.substring(i+1,a);if(!s.length)return n[o];if(0===i)return e(t.substring(a+1),n[s]);if(!n[o])return;return e(t.substring(a+1),n[o][s])}return n[t]};t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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(){var e,t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=n.form,a=n.key,o=i(n,["form","key"]);if(!r)return t;if(a){var s,u;if(n.type===c.DESTROY){var d;return l({},t,(d={},d[r]=t[r]&&Object.keys(t[r]).reduce(function(e,n){var i;return n===a?e:l({},e,(i={},i[n]=t[r][n],i))},{}),d))}return l({},t,(u={},u[r]=l({},t[r],(s={},s[a]=P((t[r]||{})[a],o),s)),u))}return n.type===c.DESTROY?Object.keys(t).reduce(function(e,n){var i;return n===r?e:l({},e,(i={},i[n]=t[n],i))},{}):l({},t,(e={},e[r]=P(t[r],o),e))}function o(e){return e.plugin=function(e){var t=this;return o(function(){var n=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=t(n,r);return l({},i,(0,f.default)(e,function(e,t){return e(i[t]||Y,r)}))})},e.normalize=function(e){var t=this;return o(function(){var n=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=t(n,r);return l({},i,(0,f.default)(e,function(e,t){var a=function(t,n){var r=(0,y.default)(l({},Y,t)),i=l({},Y,n),a=(0,y.default)(i);return(0,k.default)(e,i,t,a,r)};if(r.key){var o;return l({},i[t],(o={},o[r.key]=a(n[t][r.key],i[t][r.key]),o))}return a(n[t],i[t])}))})},e}t.__esModule=!0,t.initialState=t.globalErrorKey=void 0;var s,u,l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(85),d=n(87),f=r(d),h=n(268),p=r(h),m=n(270),_=r(m),g=n(266),y=r(g),v=n(467),x=r(v),b=n(473),M=r(b),L=n(474),S=r(L),w=n(30),T=n(469),k=r(T),D=t.globalErrorKey="_error",Y=t.initialState=(s={_active:void 0,_asyncValidating:!1},s[D]=void 0,s._initialized=!1,s._submitting=!1,s._submitFailed=!1,s),E=(u={},u[c.ADD_ARRAY_VALUE]=function(e,t){var n=t.path,r=t.index,i=t.value,a=t.fields,o=(0,p.default)(n,e),s=l({},e),u=o?[].concat(o):[],c=null!==i&&"object"==typeof i?(0,x.default)(i,a||Object.keys(i)):(0,w.makeFieldValue)({value:i});return void 0===r?u.push(c):u.splice(r,0,c),(0,_.default)(n,u,s)},u[c.AUTOFILL]=function(e,t){var n=t.field,r=t.value;return(0,_.default)(n,function(e){var t=l({},e,{value:r,autofilled:!0}),n=(t.asyncError,t.submitError,i(t,["asyncError","submitError"]));return(0,w.makeFieldValue)(n)},e)},u[c.BLUR]=function(e,t){var n=t.field,r=t.value,a=t.touch,o=e._active,s=i(e,["_active"]);return o&&o!==n&&(s._active=o),(0,_.default)(n,function(e){var t=l({},e);return void 0!==r&&(t.value=r),a&&(t.touched=!0),(0,w.makeFieldValue)(t)},s)},u[c.CHANGE]=function(e,t){var n=t.field,r=t.value,a=t.touch;return(0,_.default)(n,function(e){var t=l({},e,{value:r}),n=(t.asyncError,t.submitError,t.autofilled,i(t,["asyncError","submitError","autofilled"]));return a&&(n.touched=!0),(0,w.makeFieldValue)(n)},e)},u[c.DESTROY]=function(){},u[c.FOCUS]=function(e,t){var n=t.field,r=(0,_.default)(n,function(e){return(0,w.makeFieldValue)(l({},e,{visited:!0}))},e);return r._active=n,r},u[c.INITIALIZE]=function(e,t){var n,r=t.data,i=t.fields,a=t.overwriteValues;return l({},(0,x.default)(r,i,e,a),(n={_asyncValidating:!1,_active:void 0},n[D]=void 0,n._initialized=!0,n._submitting=!1,n._submitFailed=!1,n))},u[c.REMOVE_ARRAY_VALUE]=function(e,t){var n=t.path,r=t.index,i=(0,p.default)(n,e),a=l({},e),o=i?[].concat(i):[];return void 0===r?o.pop():isNaN(r)?delete o[r]:o.splice(r,1),(0,_.default)(n,o,a)},u[c.RESET]=function(e){var t;return l({},(0,M.default)(e),(t={_active:void 0,_asyncValidating:!1},t[D]=void 0,t._initialized=e._initialized,t._submitting=!1,t._submitFailed=!1,t))},u[c.START_ASYNC_VALIDATION]=function(e,t){var n=t.field;return l({},e,{_asyncValidating:n||!0})},u[c.START_SUBMIT]=function(e){return l({},e,{_submitting:!0})},u[c.STOP_ASYNC_VALIDATION]=function(e,t){var n,r=t.errors;return l({},(0,S.default)(e,r,"asyncError"),(n={_asyncValidating:!1},n[D]=r&&r[D],n))},u[c.STOP_SUBMIT]=function(e,t){var n,r=t.errors;return l({},(0,S.default)(e,r,"submitError"),(n={},n[D]=r&&r[D],n._submitting=!1,n._submitFailed=!(!r||!Object.keys(r).length),n))},u[c.SUBMIT_FAILED]=function(e){return l({},e,{_submitFailed:!0})},u[c.SWAP_ARRAY_VALUES]=function(e,t){var n=t.path,r=t.indexA,i=t.indexB,a=(0,p.default)(n,e),o=a.length;if(r===i||isNaN(r)||isNaN(i)||r>=o||i>=o)return e;var s=l({},e),u=[].concat(a);return u[r]=a[i],u[i]=a[r],(0,_.default)(n,u,s)},u[c.TOUCH]=function(e,t){var n=t.fields;return l({},e,n.reduce(function(e,t){return(0,_.default)(t,function(e){return(0,w.makeFieldValue)(l({},e,{touched:!0}))},e)},e))},u[c.UNTOUCH]=function(e,t){var n=t.fields;return l({},e,n.reduce(function(e,t){return(0,_.default)(t,function(e){if(e){var t=(e.touched,i(e,["touched"]));return(0,w.makeFieldValue)(t)}return(0,w.makeFieldValue)(e)},e)},e))},u),P=function(){var e=arguments.length<=0||void 0===arguments[0]?Y:arguments[0],t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=E[t.type];return n?n(e,t):e};t.default=o(a)},function(e,t){"use strict";t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=function e(t,r,i){var a,o=t.indexOf(".");if(0===o)return e(t.substring(1),r,i);var s=t.indexOf("["),u=t.indexOf("]");if(o>=0&&(s<0||o<s)){var l,c=t.substring(0,o);return n({},i,(l={},l[c]=e(t.substring(o+1),r,i[c]||{}),l))}if(s>=0&&(o<0||s<o)){var d=function(){var a;if(u<0)throw new Error("found [ but no ]");var o=t.substring(0,s),l=t.substring(s+1,u),c=i[o]||[],d=t.substring(u+1);if(l){var f;if(d.length){var h,p=c[l]||{},m=[].concat(c);return m[l]=e(d,r,p),{v:n({},i||{},(h={},h[o]=m,h))}}var _=[].concat(c);return _[l]="function"==typeof r?r(_[l]):r,{v:n({},i||{},(f={},f[o]=_,f))}}if(d.length){var g;if(!(c&&c.length||"function"!=typeof r))return{v:i};var y=c.map(function(t){return e(d,r,t)});return{v:n({},i||{},(g={},g[o]=y,g))}}var v=void 0;if(Array.isArray(r))v=r;else if(i[o])v=c.map(function(e){return"function"==typeof r?r(e):r});else{if("function"==typeof r)return{v:i};v=r}return{v:n({},i||{},(a={},a[o]=v,a))}}();if("object"==typeof d)return d.v}return n({},i,(a={},a[t]="function"==typeof r?r(i[t]):r,a))};t.default=r},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return function(e){return e};if(1===t.length)return t[0];var r=t[t.length-1],i=t.slice(0,-1);return function(){return i.reduceRight(function(e,t){return t(e)},r.apply(void 0,arguments))}}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){function r(){g===_&&(g=_.slice())}function a(){return m}function s(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return r(),g.push(e),function(){if(t){t=!1,r();var n=g.indexOf(e);g.splice(n,1)}}}function c(e){if(!(0,o.default)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(y)throw new Error("Reducers may not dispatch actions.");try{y=!0,m=p(m,e)}finally{y=!1}for(var t=_=g,n=0;n<t.length;n++)t[n]();return e}function d(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");p=e,c({type:l.INIT})}function f(){var e,t=s;return e={subscribe:function(e){function n(){e.next&&e.next(a())}if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");n();var r=t(n);return{unsubscribe:r}}},e[u.default]=function(){return this},e}var h;if("function"==typeof t&&"undefined"==typeof n&&(n=t,t=void 0),"undefined"!=typeof n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(i)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var p=e,m=t,_=[],g=_,y=!1;return c({type:l.INIT}),h={dispatch:c,subscribe:s,getState:a,replaceReducer:d},h[u.default]=f,h}t.__esModule=!0,t.ActionTypes=void 0,t.default=i;var a=n(275),o=r(a),s=n(492),u=r(s),l=t.ActionTypes={INIT:"@@redux/INIT"}},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}t.__esModule=!0,t.default=n},function(e,t,n){var r=n(489),i=r.Symbol;e.exports=i},function(e,t,n){function r(e){if(!o(e)||i(e)!=s)return!1;var t=a(e);if(null===t)return!0;var n=d.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}var i=n(483),a=n(485),o=n(490),s="[object Object]",u=Function.prototype,l=Object.prototype,c=u.toString,d=l.hasOwnProperty,f=c.call(Object);e.exports=r},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,n){e.exports=n(278)},function(e,t,n){"use strict";function r(e){this.defaults=a.merge({},e),this.interceptors={request:new s,response:new s}}var i=n(281),a=n(15),o=n(280),s=n(279),u=n(287),l=n(285),c=n(282),d=n(89);r.prototype.request=function(e){"string"==typeof e&&(e=a.merge({url:arguments[0]},arguments[1])),e=a.merge(i,this.defaults,{method:"get"},e),e.baseURL&&!u(e.url)&&(e.url=l(e.baseURL,e.url)),e.withCredentials=e.withCredentials||this.defaults.withCredentials,e.data=d(e.data,e.headers,e.transformRequest),e.headers=a.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),a.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]});var t=[o,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n};var f=new r(i),h=e.exports=c(r.prototype.request,f);h.defaults=f.defaults,h.interceptors=f.interceptors,h.create=function(e){return new r(e)},h.all=function(e){return Promise.all(e)},h.spread=n(290),a.forEach(["delete","get","head"],function(e){r.prototype[e]=function(t,n){return this.request(a.merge(n||{},{method:e,url:t}))},h[e]=c(r.prototype[e],f)}),a.forEach(["post","put","patch"],function(e){r.prototype[e]=function(t,n,r){return this.request(a.merge(r||{},{method:e,url:t,data:n}))},h[e]=c(r.prototype[e],f)})},function(e,t,n){"use strict";function r(){this.handlers=[]}var i=n(15);r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=r},function(e,t,n){(function(t){"use strict";e.exports=function(e){return new Promise(function(r,i){try{var a;"function"==typeof e.adapter?a=e.adapter:"undefined"!=typeof XMLHttpRequest?a=n(88):"undefined"!=typeof t&&(a=n(88)),"function"==typeof a&&a(r,i,e)}catch(e){i(e)}})}}).call(t,n(328))},function(e,t,n){"use strict";var r=n(15),i=/^\)\]\}',?\n/,a={"Content-Type":"application/x-www-form-urlencoded"};e.exports={transformRequest:[function(e,t){return r.isFormData(e)?e:r.isArrayBuffer(e)?e:r.isArrayBufferView(e)?e.buffer:!r.isObject(e)||r.isFile(e)||r.isBlob(e)?e:(r.isUndefined(t)||(r.forEach(t,function(e,n){"content-type"===n.toLowerCase()&&(t["Content-Type"]=e)}),r.isUndefined(t["Content-Type"])&&(t["Content-Type"]="application/json;charset=utf-8")),JSON.stringify(e))}],transformResponse:[function(e){if("string"==typeof e){e=e.replace(i,"");try{e=JSON.parse(e)}catch(e){}}return e}],headers:{common:{Accept:"application/json, text/plain, */*"},patch:r.merge(a),post:r.merge(a),put:r.merge(a)},timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1}},function(e,t){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t){"use strict";function n(){this.message="String contains an invalid character"}function r(e){for(var t,r,a=String(e),o="",s=0,u=i;a.charAt(0|s)||(u="=",s%1);o+=u.charAt(63&t>>8-s%1*8)){if(r=a.charCodeAt(s+=.75),r>255)throw new n;t=t<<8|r}return o}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.prototype=new Error,n.prototype.code=5,n.prototype.name="InvalidCharacterError",e.exports=r},function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=n(15);e.exports=function(e,t,n){if(!t)return e;var a;if(n)a=n(t);else{var o=[];i.forEach(t,function(e,t){null!==e&&"undefined"!=typeof e&&(i.isArray(e)&&(t+="[]"),i.isArray(e)||(e=[e]),i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),o.push(r(t)+"="+r(e))}))}),a=o.join("&")}return a&&(e+=(e.indexOf("?")===-1?"?":"&")+a),e}},function(e,t){"use strict";e.exports=function(e,t){return e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,"")}},function(e,t,n){"use strict";var r=n(15);e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,i,a,o){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(a)&&s.push("domain="+a),o===!0&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(e,t){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";var r=n(15);e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return t=e(window.location.href),function(n){var i=r.isString(n)?e(n):n;return i.protocol===t.protocol&&i.host===t.host}}():function(){return function(){return!0}}()},function(e,t,n){"use strict";var r=n(15);e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),function(e){i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t&&(a[t]=a[t]?a[t]+", "+n:n)}),a):a}},function(e,t){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";function r(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 o(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<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(3),l=r(u),c=n(299),d=r(c),f=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),s(t,[{key:"render",value:function(){return l.default.createElement("div",null,l.default.createElement(d.default,null),this.props.children)}}]),t}(u.Component);t.default=f},function(e,t,n){"use strict";function r(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 o(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<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){function t(e){return{authenticated:e.auth.authenticated}}var n=function(t){function n(){return i(this,n),a(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return o(n,t),s(n,[{key:"componentWillMount",value:function(){this.props.authenticated||this.context.router.push("/")}},{key:"componentWillUpdate",value:function(e){e.authenticated||this.context.router.push("/")}},{key:"render",value:function(){return l.default.createElement(e,this.props)}}]),n}(u.Component);return n.contextTypes={router:l.default.PropTypes.object},(0,c.connect)(t)(n)};var u=n(3),l=r(u),c=n(19)},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 i(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 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 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)}function u(e){return _?(_=!1,{}):{errorMessage:e.auth.authError}}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=n(3),f=i(d),h=n(86),p=n(31),m=r(p),_=null,g=function(e){function t(){return a(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return s(t,e),c(t,[{key:"componentWillMount",value:function(){_=!0}},{key:"handleFormSubmit",value:function(e){var t=e.email,n=e.password;this.props.signinUser({email:t,password:n})}},{key:"renderAlert",value:function(){if(this.props.errorMessage&&!_)return f.default.createElement("div",{className:"alert alert-danger"},f.default.createElement("strong",null,"Oops! ")," ",this.props.errorMessage)}},{key:"render",value:function(){var e=this.props,t=e.handleSubmit,n=e.fields,r=n.email,i=n.password;return f.default.createElement("div",{id:"page-wrapper"},f.default.createElement("div",{className:"container-fluid"},f.default.createElement("form",{onSubmit:t(this.handleFormSubmit.bind(this))},f.default.createElement("fieldset",{className:"form-group"},f.default.createElement("label",null,"Email:"),f.default.createElement("input",l({},r,{className:"form-control"}))),f.default.createElement("fieldset",{className:"form-group"},f.default.createElement("label",null,"Password:"),f.default.createElement("input",l({},i,{type:"password",className:"form-control"}))),this.renderAlert(),f.default.createElement("button",{action:"submit",className:"btn btn-primary"},"Sign in"))))}}]),t}(d.Component);t.default=(0,h.reduxForm)({form:"signin",fields:["email","password"]},u,m)(g)},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 i(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 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 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 u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(3),c=i(l),d=n(19),f=n(31),h=r(f),p=function(e){function t(){return a(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return s(t,e),u(t,[{key:"componentWillMount",value:function(){this.props.signoutUser(),this.context.router.push("/")}},{key:"render",value:function(){return c.default.createElement("div",{id:"page-wrapper"},c.default.createElement("div",{className:"container-fluid"},c.default.createElement("div",null,"Sorry to see you go...")))}}]),t}(l.Component);p.contextTypes={router:c.default.PropTypes.object},t.default=(0,d.connect)(null,h)(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 i(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 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 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)}function u(e){var t=/\S+@\S+\.\S+/;return t.test(e)}function l(e){var t={};return e.email||(t.email="Please enter an email"),e.email&&!u(e.email)&&(t.email="Please enter a valid email"),e.password||(t.password="Please enter a password"),e.passwordConfirm||(t.passwordConfirm="Please enter a password confirmation"),e.password!==e.passwordConfirm&&(t.password="Password must match"),t}function c(e){return y?(y=!1,{}):{errorMessage:e.auth.registrationError}}Object.defineProperty(t,"__esModule",{value:!0});var d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),h=n(3),p=i(h),m=n(86),_=n(31),g=r(_),y=null,v=function(e){function t(){return a(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return s(t,e),f(t,[{key:"componentWillMount",value:function(){y=!0}},{key:"handleFormSubmit",value:function(e){this.props.signupUser(e)}},{key:"renderAlert",value:function(){if(this.props.errorMessage&&!y)return p.default.createElement("div",{className:"alert alert-danger"},p.default.createElement("strong",null,"Oops!")," ",this.props.errorMessage)}},{key:"render",value:function(){var e=this.props,t=e.handleSubmit,n=e.fields,r=n.email,i=n.password,a=n.passwordConfirm;return p.default.createElement("div",{id:"page-wrapper"},p.default.createElement("div",{className:"container-fluid"},p.default.createElement("form",{onSubmit:t(this.handleFormSubmit.bind(this))},p.default.createElement("fieldset",{className:"form-group"},p.default.createElement("label",null,"Email:"),p.default.createElement("input",d({className:"form-control"},r)),r.touched&&r.error&&p.default.createElement("div",{className:"error"},r.error)),p.default.createElement("fieldset",{className:"form-group"},p.default.createElement("label",null,"Password:"),p.default.createElement("input",d({className:"form-control"},i,{type:"password"})),i.touched&&i.error&&p.default.createElement("div",{className:"error"},i.error)),p.default.createElement("fieldset",{className:"form-group"},p.default.createElement("label",null,"Confirm Password:"),p.default.createElement("input",d({className:"form-control"},a,{type:"password"})),a.touched&&a.error&&p.default.createElement("div",{className:"error"},a.error)),this.renderAlert(),p.default.createElement("button",{action:"submit",className:"btn btn-primary"},"Sign up!"))))}}]),t}(h.Component);t.default=(0,m.reduxForm)({form:"signup",fields:["email","password","passwordConfirm"],validate:l},c,g)(v)},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 i(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 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 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)}function u(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)"),r=n.exec(t);return r?r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):"":null}function l(e){return{device:e.devices.device,deviceMostRecentData:e.devices.deviceMostRecentData,report:e.devices.report,error:e.devices.error}}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=n(3),f=i(d),h=n(19),p=n(31),m=r(p),_=n(397),g=i(_),y=n(399),v=i(y),x=n(331),b=i(x),M=null,L=null,S=function(e){function t(e){a(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={deviceNameSocket1:"",editDeviceNameSocket1:!1,reportStartDateSocket1:null,reportEndDateSocket1:null,kWReaisHourSocket1:0,deviceNameSocket2:"",editDeviceNameSocket2:!1,reportStartDateSocket2:null,reportEndDateSocket2:null,kWReaisHourSocket2:0},n}return s(t,e),c(t,[{key:"componentWillMount",value:function(){var e=this;L=u("id"),this.props.getDeviceDetails(L),M=v.default.setInterval(function(){console.log("Reading..."),e.props.device&&(e.props.device.socket1&&e.props.device.socket1.state&&"Active"===e.props.device.socket1.state.status&&e.props.getDeviceMostRecentData(L,1),e.props.device.socket2&&e.props.device.socket2.state&&"Active"===e.props.device.socket2.state.status&&e.props.getDeviceMostRecentData(L,2))},1e4)}},{key:"componentWillReceiveProps",value:function(e){e.device&&e.device.socket1&&e.device.socket1.name&&""===this.state.deviceNameSocket1&&this.setState({deviceNameSocket1:e.device.socket1.name}),e.device&&e.device.socket2&&e.device.socket2.name&&""===this.state.deviceNameSocket2&&this.setState({deviceNameSocket2:e.device.socket2.name})}},{key:"componentWillUnmount",value:function(){v.default.clearInterval(M);
}},{key:"changeDeviceStatus",value:function(e,t){this.props.changeDeviceStatus(L,t,e)}},{key:"editDeviceName",value:function(e,t){1===t?this.setState({editDeviceNameSocket1:e}):2===t&&this.setState({editDeviceNameSocket2:e})}},{key:"changeDeviceName",value:function(e){var t=this;1===e?this.props.changeDeviceName(L,this.state.deviceNameSocket1,e,t):2===e&&this.props.changeDeviceName(L,this.state.deviceNameSocket2,e,t)}},{key:"onInputChange",value:function(e,t){1===t?this.setState({deviceNameSocket1:e}):2===t&&this.setState({deviceNameSocket2:e})}},{key:"onkWReaisHourChange",value:function(e,t){1===t?this.setState({kWReaisHourSocket1:e}):2===t&&this.setState({kWReaisHourSocket2:e})}},{key:"generateReport",value:function(e,t,n,r){this.props.generateReport(L,e,t,n,r)}},{key:"handleApply",value:function(e,t,n){1===n?this.setState({reportStartDateSocket1:t.startDate,reportEndDateSocket1:t.endDate}):2===n&&this.setState({reportStartDateSocket2:t.startDate,reportEndDateSocket2:t.endDate})}},{key:"renderDeleteDeviceModal",value:function(e,t){var n=this;return f.default.createElement("div",{className:"modal fade",id:"deleteModal"+t,role:"dialog"},f.default.createElement("div",{className:"modal-dialog"},f.default.createElement("div",{className:"modal-content"},f.default.createElement("div",{className:"modal-header"},f.default.createElement("button",{type:"button",className:"close","data-dismiss":"modal"},"×"),f.default.createElement("h4",{className:"modal-title"},"You will delete ",e.name)),f.default.createElement("div",{className:"modal-body"},f.default.createElement("p",null,"Are you sure you want to delete ",e.name,"?")),f.default.createElement("div",{className:"modal-footer"},f.default.createElement("button",{type:"button",onClick:function(){return n.changeDeviceStatus("Deleted",t)},className:"btn btn-danger pull-left","data-dismiss":"modal"},"Yes"),f.default.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Get me out of here!")))))}},{key:"renderGenerateReportModal",value:function(e,t,n,r,i,a){var o=this;return f.default.createElement("div",{className:"modal fade",id:"reportModal"+t,role:"dialog"},f.default.createElement("div",{className:"modal-dialog"},f.default.createElement("div",{className:"modal-content"},f.default.createElement("div",{className:"modal-header"},f.default.createElement("button",{type:"button",className:"close","data-dismiss":"modal"},"×"),f.default.createElement("h4",{className:"modal-title"},"Report for socket: ",e.name)),f.default.createElement("div",{className:"modal-body"},"Select a date range:",f.default.createElement(b.default,{timePicker:!0,timePicker24Hour:!0,showDropdowns:!0,timePickerSeconds:!0,startDate:n,endDate:r,onApply:function(e,n){return o.handleApply(e,n,t)}},f.default.createElement("button",{type:"button",className:"btn btn-default"},f.default.createElement("i",{className:"fa fa-calendar"})," ",f.default.createElement("span",null,n&&r?n.format("YYYY-MM-DD (HH:mm)")+" to "+r.format("YYYY-MM-DD (HH:mm)"):"Select date")," ",f.default.createElement("i",{className:"fa fa-angle-down"}))),f.default.createElement("br",null),f.default.createElement("span",null,"kWh price (R$): ",f.default.createElement("input",{type:"number",onChange:function(e){return o.onkWReaisHourChange(e.target.value,t)},value:a})),f.default.createElement("br",null),i?f.default.createElement("div",null,f.default.createElement("hr",null),f.default.createElement("p",null,"Consumption in kWh: ",i.data.consumptionkW),f.default.createElement("p",null,"Consumption in Reais: ",i.data.consumptionReais)):f.default.createElement("span",null)),f.default.createElement("div",{className:"modal-footer"},f.default.createElement("button",{type:"button",onClick:function(){return o.generateReport(t,n,r,a)},className:"btn btn-success pull-left"},"Generate report"),f.default.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Close")))))}},{key:"renderSocket",value:function(e,t,n,r,i,a,o,s,u,l,c){var d=this;return"Deleted"===e.state.status?f.default.createElement("span",null):f.default.createElement("div",null,f.default.createElement("span",null,"Name Socket ",t,": "),n,n===!1?f.default.createElement("b",null,r):f.default.createElement("span",null,f.default.createElement("input",{type:"text",onChange:function(e){return d.onInputChange(e.target.value,t)},value:r})),f.default.createElement("br",null),f.default.createElement("br",null),f.default.createElement("span",null,"Status: "),e&&"Active"==e.state.status?f.default.createElement("i",{className:"fa fa-bolt",style:{fontSize:"20px",color:"orange"}}):f.default.createElement("i",{className:"fa fa-bolt",style:{fontSize:"20px",color:"black"}})," ",e.state.status," ",f.default.createElement("br",null),f.default.createElement("br",null),n===!1?f.default.createElement("button",{type:"button",onClick:function(){return d.editDeviceName(!0,t)},className:"btn btn-primary pull-left"},"Edit Device Name"):f.default.createElement("span",null,f.default.createElement("button",{type:"button",onClick:function(){return d.changeDeviceName(t)},className:"btn btn-primary pull-left",style:{marginRight:"10px"}},"Save"),f.default.createElement("button",{type:"button",onClick:function(){return d.editDeviceName(!1,t)},className:"btn btn-default pull-left"},"Cancel")),f.default.createElement("button",{type:"button","data-toggle":"modal","data-target":"#reportModal"+t,className:"btn btn-success pull-right"},"Generate Report"),f.default.createElement("br",null),f.default.createElement("br",null),f.default.createElement("br",null),e&&"Active"===e.state.status?f.default.createElement("button",{type:"button",onClick:function(){return d.changeDeviceStatus("Inactive",t)},className:"btn btn-warning pull-left"},"Turn Off Device"):f.default.createElement("button",{type:"button",onClick:function(){return d.changeDeviceStatus("Active",t)},className:"btn btn-success pull-left"},"Turn On Device"),f.default.createElement("button",{type:"button","data-toggle":"modal","data-target":"#deleteModal"+t,className:"btn btn-danger pull-right"},"Delete Device"),f.default.createElement("br",null),f.default.createElement("br",null),f.default.createElement("br",null),f.default.createElement("br",null),f.default.createElement(g.default,{chart:c,fields:["current","tension","apparentPower"],data:i,initialData:a}),this.renderDeleteDeviceModal(e,t),this.renderGenerateReportModal(e,t,o,s,u,l))}},{key:"renderSocketDetails",value:function(e){var t=this.props.deviceMostRecentData?this.props.deviceMostRecentData:{},n=e&&e.pastData?e.pastData:[],r=1===t.socketNum?t:void 0,i=2===t.socketNum?t:void 0,a=n.filter(function(e){return 1===e.socketNum}),o=n.filter(function(e){return 2===e.socketNum}),s=this.props.report?this.props.report:{},u=1===s.socketNum?s:void 0,l=2===s.socketNum?s:void 0,c={data:{names:{current:"Current",tension:"Voltage",apparentPower:"Apparent Power"}}};return f.default.createElement("div",null,f.default.createElement("span",null,"Internal Id:")," ",e._id," ",f.default.createElement("br",null),f.default.createElement("br",null),f.default.createElement("span",null,"Device Id: "),e.photonId," ",f.default.createElement("br",null),f.default.createElement("br",null),f.default.createElement("span",null,"Claim Date: "),e.claimDate,f.default.createElement("hr",null),this.renderSocket(e.socket1,1,this.state.editDeviceNameSocket1,this.state.deviceNameSocket1,r,a,this.state.reportStartDateSocket1,this.state.reportEndDateSocket1,u,this.state.kWReaisHourSocket1,c),f.default.createElement("hr",null),this.renderSocket(e.socket2,2,this.state.editDeviceNameSocket2,this.state.deviceNameSocket2,i,o,this.state.reportStartDateSocket2,this.state.reportEndDateSocket2,l,this.state.kWReaisHourSocket2,c))}},{key:"renderDeviceDetails",value:function(){var e=this.props.device,t=this.props.error;return e?this.renderSocketDetails(e):t?f.default.createElement("div",null,f.default.createElement("span",null,"No device found")):f.default.createElement("div",null,f.default.createElement("span",null,"Loading..."))}},{key:"render",value:function(){return f.default.createElement("div",{className:"container-fluid"},f.default.createElement("div",{className:"row"},f.default.createElement("div",{className:"col-lg-12"},f.default.createElement("br",null),f.default.createElement("div",{className:"panel panel-default"},f.default.createElement("div",{className:"panel-heading"},f.default.createElement("h3",{className:"panel-title"},f.default.createElement("i",{className:"fa fa-power-off fa-fw"})," Device Details")),f.default.createElement("div",{className:"panel-body"},this.renderDeviceDetails())))))}}]),t}(d.Component);t.default=(0,h.connect)(l,m)(S)},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 i(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 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 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)}function u(e){return{devices:e.devices.list}}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(3),d=i(c),f=n(19),h=n(31),p=r(h),m=n(35),_=function(e){function t(){return a(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return s(t,e),l(t,[{key:"componentWillMount",value:function(){this.props.getDevices()}},{key:"renderDevicesList",value:function(){var e=this.props.devices;return e&&e.length>0?d.default.createElement("div",{className:"table-responsive"},d.default.createElement("table",{className:"table table-bordered table-hover table-striped"},d.default.createElement("thead",null,d.default.createElement("tr",null,d.default.createElement("th",null,"Status Socket 1"),d.default.createElement("th",null,"Status Socket 2"),d.default.createElement("th",null,"Internal Id"),d.default.createElement("th",null,"Name"),d.default.createElement("th",null,"Device Id"),d.default.createElement("th",null,"Claim Date"))),d.default.createElement("tbody",null,e.map(function(e){return d.default.createElement("tr",{key:e._id},d.default.createElement("td",null,e.socket1.state.status&&"Active"==e.socket1.state.status?d.default.createElement("i",{className:"fa fa-bolt",style:{fontSize:"20px",color:"orange"}}):d.default.createElement("i",{className:"fa fa-bolt",style:{fontSize:"20px",color:"black"}})," ",e.socket1.state.status),d.default.createElement("td",null,e.socket2.state.status&&"Active"==e.socket2.state.status?d.default.createElement("i",{className:"fa fa-bolt",style:{fontSize:"20px",color:"orange"}}):d.default.createElement("i",{className:"fa fa-bolt",style:{fontSize:"20px",color:"black"}})," ",e.socket2.state.status),d.default.createElement("td",null,d.default.createElement(m.Link,{to:"/device?id="+e._id},e._id)),d.default.createElement("td",null,e.socket1.name," and ",e.socket2.name),d.default.createElement("td",null,e.photonId),d.default.createElement("td",null,e.claimDate))})))):e&&0===e.length?d.default.createElement("div",null,d.default.createElement("span",null,"No devices")):d.default.createElement("div",null,d.default.createElement("span",null,"Loading..."))}},{key:"render",value:function(){return d.default.createElement("div",{className:"container-fluid"},d.default.createElement("div",{className:"row"},d.default.createElement("div",{className:"col-lg-12"},d.default.createElement("br",null),d.default.createElement("div",{className:"panel panel-default"},d.default.createElement("div",{className:"panel-heading"},d.default.createElement("h3",{className:"panel-title"},d.default.createElement("i",{className:"fa fa-power-off fa-fw"})," Devices Panel")),d.default.createElement("div",{className:"panel-body"},this.renderDevicesList())))))}}]),t}(c.Component);t.default=(0,f.connect)(u,p)(_)},function(e,t,n){"use strict";function r(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 o(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<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(3),l=r(u),c=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),s(t,[{key:"render",value:function(){return l.default.createElement("div",{className:"container-fluid"},l.default.createElement("div",{className:"row"},l.default.createElement("div",{className:"col-lg-12"},l.default.createElement("br",null),l.default.createElement("div",{className:"panel panel-default"},l.default.createElement("div",{className:"panel-body",style:{textAlign:"center"}},l.default.createElement("a",{href:"https://www.dropbox.com/s/k60nmhuovke3jmo/Windows10.zip?dl=1"},l.default.createElement("button",{type:"button",className:"btn btn-default button-marging"},l.default.createElement("img",{src:"images/windows.png",width:"100px",height:"100px",alt:"Windows 10 x64"}),l.default.createElement("br",null),"Windows 10",l.default.createElement("br",null),"64 bits")),l.default.createElement("a",{href:"https://www.dropbox.com/s/t6xu1l1sb53ev79/MacOSX.zip?dl=1"},l.default.createElement("button",{type:"button",className:"btn btn-default button-marging"},l.default.createElement("img",{src:"images/apple.png",width:"100px",height:"100px",alt:"Mac OSX"}),l.default.createElement("br",null),"Mac OSX")),l.default.createElement("hr",null),l.default.createElement("span",null,"MacOSX Setup:")," ",l.default.createElement("br",null),l.default.createElement("video",{width:"320",height:"240",controls:"controls"},l.default.createElement("source",{src:"https://www.dropbox.com/s/spugmyxqbx5y2ib/MacOSX-Setup.mov?dl=1",type:"video/mp4"})))))))}}]),t}(u.Component);t.default=c},function(e,t,n){"use strict";function r(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 o(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 s(e){return{authenticated:e.auth.authenticated}}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(3),c=r(l),d=n(19),f=n(35),h=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),u(t,[{key:"renderBasedOnAuthentication",value:function(){if(this.props.authenticated)return[c.default.createElement("ul",{key:1,className:"nav navbar-right top-nav"},c.default.createElement("li",{key:1.1},c.default.createElement(f.Link,{to:"/download",className:"navbar-brand"},c.default.createElement("i",{className:"fa fa-cloud-download","aria-hidden":"true"})," Download App")),c.default.createElement("li",{key:1.2},c.default.createElement(f.Link,{to:"/devices",className:"navbar-brand"},c.default.createElement("i",{className:"fa fa-plug","aria-hidden":"true"})," Devices")),c.default.createElement("li",{key:1.3,className:"dropdown navbar-brand-custom"},c.default.createElement("a",{href:"#",className:"dropdown-toggle","data-toggle":"dropdown"},c.default.createElement("i",{className:"fa fa-user"})," ",localStorage.getItem("email")," ",c.default.createElement("b",{className:"caret"})),c.default.createElement("ul",{className:"dropdown-menu"},c.default.createElement("li",{key:1.4},c.default.createElement(f.Link,{to:"/signout"},c.default.createElement("i",{className:"fa fa-fw fa-power-off"})," Log Out")))))]}},{key:"render",value:function(){return c.default.createElement("nav",{className:"navbar nav-bar-color navbar-fixed-top",role:"navigation"},c.default.createElement("div",{className:"navbar-header"},c.default.createElement(f.Link,{to:"/devices",className:"navbar-brand"},c.default.createElement("img",{src:"images/logo.png",width:"300px",height:"30px",alt:"Smart Power Socket logo"}))),this.renderBasedOnAuthentication())}}]),t}(l.Component);t.default=(0,d.connect)(s)(h)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),a=r(i),o=function(){return a.default.createElement("div",null,a.default.createElement("h3",null,"404 page not found"),a.default.createElement("p",null,"We are sorry but the page you are looking for does not exist."))};t.default=o},function(e,t,n){"use strict";function r(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 o(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 s(e){return{authenticated:e.auth.authenticated}}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(3),c=r(l),d=n(35),f=n(19),h=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),u(t,[{key:"componentWillMount",value:function(){this.props.authenticated&&this.context.router.push("/devices")}},{key:"render",value:function(){return c.default.createElement("div",{id:"page-wrapper"},c.default.createElement("div",{className:"container-fluid"},c.default.createElement("div",{className:"row"},c.default.createElement("div",{className:"col-lg-12"},c.default.createElement("h1",{className:"page-header text-center"},"Welcome to Smart Power Socket"))),c.default.createElement("div",{className:"row row-centered"},c.default.createElement("div",{className:"col-lg-12"},c.default.createElement("div",{className:"panel panel-primary"},c.default.createElement(d.Link,{to:"/signin"},c.default.createElement("div",{className:"panel-heading"},c.default.createElement("div",{className:"row"},c.default.createElement("div",{className:"col-xs-12 text-center"},c.default.createElement("i",{className:"fa fa-sign-in fa-5x"}),c.default.createElement("div",{className:"huge"},"Login"))))))),c.default.createElement("div",{className:"col-lg-12"},c.default.createElement("div",{className:"panel panel-green"},c.default.createElement(d.Link,{to:"/signup"},c.default.createElement("div",{className:"panel-heading"},c.default.createElement("div",{className:"row"},c.default.createElement("div",{className:"col-xs-12 text-center"},c.default.createElement("i",{className:"fa fa-pencil fa-5x"}),c.default.createElement("div",{className:"huge"},"Register"))))))))))}}]),t}(l.Component);h.contextTypes={router:c.default.PropTypes.object},t.default=(0,f.connect)(s)(h)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(3),a=r(i),o=n(219),s=r(o),u=n(19),l=n(55),c=n(35),d=n(479),f=r(d),h=n(291),p=r(h),m=n(301),_=r(m),g=n(293),y=r(g),v=n(294),x=r(v),b=n(295),M=r(b),L=n(297),S=r(L),w=n(296),T=r(w),k=n(298),D=r(k),Y=n(300),E=r(Y),P=n(292),A=r(P),C=n(305),O=r(C),j=n(40),R=(0,l.applyMiddleware)(f.default)(l.createStore),N=R(O.default),H=localStorage.getItem("token");H&&N.dispatch({type:j.AUTH_USER}),s.default.render(a.default.createElement(u.Provider,{store:N},a.default.createElement(c.Router,{history:c.browserHistory},a.default.createElement(c.Route,{path:"/",component:p.default},a.default.createElement(c.IndexRoute,{component:_.default}),a.default.createElement(c.Route,{path:"signin",component:y.default}),a.default.createElement(c.Route,{path:"signout",component:x.default}),a.default.createElement(c.Route,{path:"signup",component:M.default}),a.default.createElement(c.Route,{path:"devices",component:(0,A.default)(S.default)}),a.default.createElement(c.Route,{path:"device",component:(0,A.default)(T.default)}),a.default.createElement(c.Route,{path:"download",component:(0,A.default)(D.default)}),a.default.createElement(c.Route,{path:"*",component:E.default})))),document.querySelector("#wrapper"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case i.AUTH_USER:return r({},e,{authError:"",authenticated:!0});case i.UNAUTH_USER:return r({},e,{authError:"",authenticated:!1});case i.AUTH_ERROR:return r({},e,{authError:t.payload});case i.REGISTRATION_ERROR:return r({},e,{registrationError:t.payload})}return e};var i=n(40)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case i.FETCH_DEVICES:return r({},e,{error:null,list:t.payload});case i.FETCH_DEVICE_DETAILS:return r({},e,{error:null,device:t.payload});case i.FETCH_DEVICE_DETAILS_FAILED:return r({},e,{error:t.payload,device:null});case i.FETCH_DEVICE_DATA:return r({},e,{error:null,deviceMostRecentData:t.payload});case i.FETCH_DEVICE_DATA_FAILED:return r({},e,{error:t.payload,deviceMostRecentData:null});case i.UPDATE_DEVICE_DATA:return r({},e,{error:null,device:t.payload});case i.UPDATE_DEVICE_DATA_FAILED:return r({},e,{error:t.payload});case i.REPORT_DATA:return r({},e,{error:null,report:t.payload});case i.REPORT_DATA_FAILED:return r({},e,{error:t.payload})}return e};var i=n(40)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(55),a=n(86),o=n(303),s=r(o),u=n(304),l=r(u),c=(0,i.combineReducers)({form:a.reducer,auth:s.default,devices:l.default});t.default=c},function(e,t,n){var r,i;/**
* @version: 2.1.24
* @author: Dan Grossman http://www.dangrossman.info/
* @copyright: Copyright (c) 2012-2016 Dan Grossman. All rights reserved.
* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
* @website: https://www.improvely.com/
*/
!function(a,o){r=[n(1),n(102)],i=function(e,t){return a.daterangepicker=o(e,t)}.apply(t,r),!(void 0!==i&&(e.exports=i))}(this,function(e,t){var n=function(n,r,i){if(this.parentEl="body",this.element=t(n),this.startDate=e().startOf("day"),this.endDate=e().endOf("day"),this.minDate=!1,this.maxDate=!1,this.dateLimit=!1,this.autoApply=!1,this.singleDatePicker=!1,this.showDropdowns=!1,this.showWeekNumbers=!1,this.showISOWeekNumbers=!1,this.showCustomRangeLabel=!0,this.timePicker=!1,this.timePicker24Hour=!1,this.timePickerIncrement=1,this.timePickerSeconds=!1,this.linkedCalendars=!0,this.autoUpdateInput=!0,this.alwaysShowCalendars=!1,this.ranges={},this.opens="right",this.element.hasClass("pull-right")&&(this.opens="left"),this.drops="down",this.element.hasClass("dropup")&&(this.drops="up"),this.buttonClasses="btn btn-sm",this.applyClass="btn-success",this.cancelClass="btn-default",this.locale={direction:"ltr",format:"MM/DD/YYYY",separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:e.weekdaysMin(),monthNames:e.monthsShort(),firstDay:e.localeData().firstDayOfWeek()},this.callback=function(){},this.isShowing=!1,this.leftCalendar={},this.rightCalendar={},"object"==typeof r&&null!==r||(r={}),r=t.extend(this.element.data(),r),"string"==typeof r.template||r.template instanceof t||(r.template='<div class="daterangepicker dropdown-menu"><div class="calendar left"><div class="daterangepicker_input"><input class="input-mini form-control" type="text" name="daterangepicker_start" value="" /><i class="fa fa-calendar glyphicon glyphicon-calendar"></i><div class="calendar-time"><div></div><i class="fa fa-clock-o glyphicon glyphicon-time"></i></div></div><div class="calendar-table"></div></div><div class="calendar right"><div class="daterangepicker_input"><input class="input-mini form-control" type="text" name="daterangepicker_end" value="" /><i class="fa fa-calendar glyphicon glyphicon-calendar"></i><div class="calendar-time"><div></div><i class="fa fa-clock-o glyphicon glyphicon-time"></i></div></div><div class="calendar-table"></div></div><div class="ranges"><div class="range_inputs"><button class="applyBtn" disabled="disabled" type="button"></button> <button class="cancelBtn" type="button"></button></div></div></div>'),this.parentEl=t(r.parentEl&&t(r.parentEl).length?r.parentEl:this.parentEl),this.container=t(r.template).appendTo(this.parentEl),"object"==typeof r.locale&&("string"==typeof r.locale.direction&&(this.locale.direction=r.locale.direction),"string"==typeof r.locale.format&&(this.locale.format=r.locale.format),"string"==typeof r.locale.separator&&(this.locale.separator=r.locale.separator),"object"==typeof r.locale.daysOfWeek&&(this.locale.daysOfWeek=r.locale.daysOfWeek.slice()),"object"==typeof r.locale.monthNames&&(this.locale.monthNames=r.locale.monthNames.slice()),"number"==typeof r.locale.firstDay&&(this.locale.firstDay=r.locale.firstDay),"string"==typeof r.locale.applyLabel&&(this.locale.applyLabel=r.locale.applyLabel),"string"==typeof r.locale.cancelLabel&&(this.locale.cancelLabel=r.locale.cancelLabel),"string"==typeof r.locale.weekLabel&&(this.locale.weekLabel=r.locale.weekLabel),"string"==typeof r.locale.customRangeLabel&&(this.locale.customRangeLabel=r.locale.customRangeLabel)),this.container.addClass(this.locale.direction),"string"==typeof r.startDate&&(this.startDate=e(r.startDate,this.locale.format)),"string"==typeof r.endDate&&(this.endDate=e(r.endDate,this.locale.format)),"string"==typeof r.minDate&&(this.minDate=e(r.minDate,this.locale.format)),"string"==typeof r.maxDate&&(this.maxDate=e(r.maxDate,this.locale.format)),"object"==typeof r.startDate&&(this.startDate=e(r.startDate)),"object"==typeof r.endDate&&(this.endDate=e(r.endDate)),"object"==typeof r.minDate&&(this.minDate=e(r.minDate)),"object"==typeof r.maxDate&&(this.maxDate=e(r.maxDate)),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),"string"==typeof r.applyClass&&(this.applyClass=r.applyClass),"string"==typeof r.cancelClass&&(this.cancelClass=r.cancelClass),"object"==typeof r.dateLimit&&(this.dateLimit=r.dateLimit),"string"==typeof r.opens&&(this.opens=r.opens),"string"==typeof r.drops&&(this.drops=r.drops),"boolean"==typeof r.showWeekNumbers&&(this.showWeekNumbers=r.showWeekNumbers),"boolean"==typeof r.showISOWeekNumbers&&(this.showISOWeekNumbers=r.showISOWeekNumbers),"string"==typeof r.buttonClasses&&(this.buttonClasses=r.buttonClasses),"object"==typeof r.buttonClasses&&(this.buttonClasses=r.buttonClasses.join(" ")),"boolean"==typeof r.showDropdowns&&(this.showDropdowns=r.showDropdowns),"boolean"==typeof r.showCustomRangeLabel&&(this.showCustomRangeLabel=r.showCustomRangeLabel),"boolean"==typeof r.singleDatePicker&&(this.singleDatePicker=r.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),"boolean"==typeof r.timePicker&&(this.timePicker=r.timePicker),"boolean"==typeof r.timePickerSeconds&&(this.timePickerSeconds=r.timePickerSeconds),"number"==typeof r.timePickerIncrement&&(this.timePickerIncrement=r.timePickerIncrement),"boolean"==typeof r.timePicker24Hour&&(this.timePicker24Hour=r.timePicker24Hour),"boolean"==typeof r.autoApply&&(this.autoApply=r.autoApply),"boolean"==typeof r.autoUpdateInput&&(this.autoUpdateInput=r.autoUpdateInput),"boolean"==typeof r.linkedCalendars&&(this.linkedCalendars=r.linkedCalendars),"function"==typeof r.isInvalidDate&&(this.isInvalidDate=r.isInvalidDate),"function"==typeof r.isCustomDate&&(this.isCustomDate=r.isCustomDate),"boolean"==typeof r.alwaysShowCalendars&&(this.alwaysShowCalendars=r.alwaysShowCalendars),0!=this.locale.firstDay)for(var a=this.locale.firstDay;a>0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),a--;var o,s,u;if("undefined"==typeof r.startDate&&"undefined"==typeof r.endDate&&t(this.element).is("input[type=text]")){var l=t(this.element).val(),c=l.split(this.locale.separator);o=s=null,2==c.length?(o=e(c[0],this.locale.format),s=e(c[1],this.locale.format)):this.singleDatePicker&&""!==l&&(o=e(l,this.locale.format),s=e(l,this.locale.format)),null!==o&&null!==s&&(this.setStartDate(o),this.setEndDate(s))}if("object"==typeof r.ranges){for(u in r.ranges){o="string"==typeof r.ranges[u][0]?e(r.ranges[u][0],this.locale.format):e(r.ranges[u][0]),s="string"==typeof r.ranges[u][1]?e(r.ranges[u][1],this.locale.format):e(r.ranges[u][1]),this.minDate&&o.isBefore(this.minDate)&&(o=this.minDate.clone());var d=this.maxDate;if(this.dateLimit&&d&&o.clone().add(this.dateLimit).isAfter(d)&&(d=o.clone().add(this.dateLimit)),d&&s.isAfter(d)&&(s=d.clone()),!(this.minDate&&s.isBefore(this.minDate,this.timepicker?"minute":"day")||d&&o.isAfter(d,this.timepicker?"minute":"day"))){var f=document.createElement("textarea");f.innerHTML=u;var h=f.value;this.ranges[h]=[o,s]}}var p="<ul>";for(u in this.ranges)p+='<li data-range-key="'+u+'">'+u+"</li>";this.showCustomRangeLabel&&(p+='<li data-range-key="'+this.locale.customRangeLabel+'">'+this.locale.customRangeLabel+"</li>"),p+="</ul>",this.container.find(".ranges").prepend(p)}"function"==typeof i&&(this.callback=i),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day"),this.container.find(".calendar-time").hide()),this.timePicker&&this.autoApply&&(this.autoApply=!1),this.autoApply&&"object"!=typeof r.ranges?this.container.find(".ranges").hide():this.autoApply&&this.container.find(".applyBtn, .cancelBtn").addClass("hide"),this.singleDatePicker&&(this.container.addClass("single"),this.container.find(".calendar.left").addClass("single"),this.container.find(".calendar.left").show(),this.container.find(".calendar.right").hide(),this.container.find(".daterangepicker_input input, .daterangepicker_input > i").hide(),this.timePicker?this.container.find(".ranges ul").hide():this.container.find(".ranges").hide()),("undefined"==typeof r.ranges&&!this.singleDatePicker||this.alwaysShowCalendars)&&this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),"undefined"!=typeof r.ranges&&"right"==this.opens&&this.container.find(".ranges").prependTo(this.container.find(".calendar.left").parent()),this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses),this.applyClass.length&&this.container.find(".applyBtn").addClass(this.applyClass),this.cancelClass.length&&this.container.find(".cancelBtn").addClass(this.cancelClass),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".calendar").on("click.daterangepicker",".prev",t.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",t.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",t.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",t.proxy(this.hoverDate,this)).on("mouseleave.daterangepicker","td.available",t.proxy(this.updateFormInputs,this)).on("change.daterangepicker","select.yearselect",t.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",t.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",t.proxy(this.timeChanged,this)).on("click.daterangepicker",".daterangepicker_input input",t.proxy(this.showCalendars,this)).on("focus.daterangepicker",".daterangepicker_input input",t.proxy(this.formInputsFocused,this)).on("blur.daterangepicker",".daterangepicker_input input",t.proxy(this.formInputsBlurred,this)).on("change.daterangepicker",".daterangepicker_input input",t.proxy(this.formInputsChanged,this)),this.container.find(".ranges").on("click.daterangepicker","button.applyBtn",t.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",t.proxy(this.clickCancel,this)).on("click.daterangepicker","li",t.proxy(this.clickRange,this)).on("mouseenter.daterangepicker","li",t.proxy(this.hoverRange,this)).on("mouseleave.daterangepicker","li",t.proxy(this.updateFormInputs,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":t.proxy(this.show,this),"focus.daterangepicker":t.proxy(this.show,this),"keyup.daterangepicker":t.proxy(this.elementChanged,this),"keydown.daterangepicker":t.proxy(this.keydown,this)}):this.element.on("click.daterangepicker",t.proxy(this.toggle,this)),this.element.is("input")&&!this.singleDatePicker&&this.autoUpdateInput?(this.element.val(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.element.trigger("change")):this.element.is("input")&&this.autoUpdateInput&&(this.element.val(this.startDate.format(this.locale.format)),this.element.trigger("change"))};return n.prototype={constructor:n,setStartDate:function(t){"string"==typeof t&&(this.startDate=e(t,this.locale.format)),"object"==typeof t&&(this.startDate=e(t)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate,this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.maxDate&&this.startDate.isAfter(this.maxDate)&&(this.startDate=this.maxDate,this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.floor(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.isShowing||this.updateElement(),this.updateMonthsInView()},setEndDate:function(t){"string"==typeof t&&(this.endDate=e(t,this.locale.format)),"object"==typeof t&&(this.endDate=e(t)),this.timePicker||(this.endDate=this.endDate.endOf("day")),this.timePicker&&this.timePickerIncrement&&this.endDate.minute(Math.round(this.endDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.endDate.isBefore(this.startDate)&&(this.endDate=this.startDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate),this.dateLimit&&this.startDate.clone().add(this.dateLimit).isBefore(this.endDate)&&(this.endDate=this.startDate.clone().add(this.dateLimit)),this.previousRightTime=this.endDate.clone(),this.isShowing||this.updateElement(),this.updateMonthsInView()},isInvalidDate:function(){return!1},isCustomDate:function(){return!1},updateView:function(){this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"),this.endDate?this.container.find(".right .calendar-time select").removeAttr("disabled").removeClass("disabled"):this.container.find(".right .calendar-time select").attr("disabled","disabled").addClass("disabled")),this.endDate?(this.container.find('input[name="daterangepicker_end"]').removeClass("active"),this.container.find('input[name="daterangepicker_start"]').addClass("active")):(this.container.find('input[name="daterangepicker_end"]').addClass("active"),this.container.find('input[name="daterangepicker_start"]').removeClass("active")),this.updateMonthsInView(),this.updateCalendars(),this.updateFormInputs()},updateMonthsInView:function(){if(this.endDate){if(!this.singleDatePicker&&this.leftCalendar.month&&this.rightCalendar.month&&(this.startDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.startDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM"))&&(this.endDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.endDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM")))return;this.leftCalendar.month=this.startDate.clone().date(2),this.linkedCalendars||this.endDate.month()==this.startDate.month()&&this.endDate.year()==this.startDate.year()?this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"):this.rightCalendar.month=this.endDate.clone().date(2)}else this.leftCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&this.rightCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&(this.leftCalendar.month=this.startDate.clone().date(2),this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"));this.maxDate&&this.linkedCalendars&&!this.singleDatePicker&&this.rightCalendar.month>this.maxDate&&(this.rightCalendar.month=this.maxDate.clone().date(2),this.leftCalendar.month=this.maxDate.clone().date(2).subtract(1,"month"))},updateCalendars:function(){if(this.timePicker){var e,t,n;if(this.endDate){if(e=parseInt(this.container.find(".left .hourselect").val(),10),t=parseInt(this.container.find(".left .minuteselect").val(),10),n=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,!this.timePicker24Hour){var r=this.container.find(".left .ampmselect").val();"PM"===r&&e<12&&(e+=12),"AM"===r&&12===e&&(e=0)}}else if(e=parseInt(this.container.find(".right .hourselect").val(),10),t=parseInt(this.container.find(".right .minuteselect").val(),10),n=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,!this.timePicker24Hour){var r=this.container.find(".right .ampmselect").val();"PM"===r&&e<12&&(e+=12),"AM"===r&&12===e&&(e=0)}this.leftCalendar.month.hour(e).minute(t).second(n),this.rightCalendar.month.hour(e).minute(t).second(n)}this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),null!=this.endDate&&this.calculateChosenLabel()},renderCalendar:function(n){var r="left"==n?this.leftCalendar:this.rightCalendar,i=r.month.month(),a=r.month.year(),o=r.month.hour(),s=r.month.minute(),u=r.month.second(),l=e([a,i]).daysInMonth(),c=e([a,i,1]),d=e([a,i,l]),f=e(c).subtract(1,"month").month(),h=e(c).subtract(1,"month").year(),p=e([h,f]).daysInMonth(),m=c.day(),r=[];r.firstDay=c,r.lastDay=d;for(var _=0;_<6;_++)r[_]=[];var g=p-m+this.locale.firstDay+1;g>p&&(g-=7),m==this.locale.firstDay&&(g=p-6);for(var y,v,x=e([h,f,g,12,s,u]),_=0,y=0,v=0;_<42;_++,y++,x=e(x).add(24,"hour"))_>0&&y%7===0&&(y=0,v++),r[v][y]=x.clone().hour(o).minute(s).second(u),x.hour(12),this.minDate&&r[v][y].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&r[v][y].isBefore(this.minDate)&&"left"==n&&(r[v][y]=this.minDate.clone()),this.maxDate&&r[v][y].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&r[v][y].isAfter(this.maxDate)&&"right"==n&&(r[v][y]=this.maxDate.clone());"left"==n?this.leftCalendar.calendar=r:this.rightCalendar.calendar=r;var b="left"==n?this.minDate:this.startDate,M=this.maxDate,L=("left"==n?this.startDate:this.endDate,"ltr"==this.locale.direction?{left:"chevron-left",right:"chevron-right"}:{left:"chevron-right",right:"chevron-left"}),S='<table class="table-condensed">';S+="<thead>",S+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(S+="<th></th>"),S+=b&&!b.isBefore(r.firstDay)||this.linkedCalendars&&"left"!=n?"<th></th>":'<th class="prev available"><i class="fa fa-'+L.left+" glyphicon glyphicon-"+L.left+'"></i></th>';var w=this.locale.monthNames[r[1][1].month()]+r[1][1].format(" YYYY");if(this.showDropdowns){for(var T=r[1][1].month(),k=r[1][1].year(),D=M&&M.year()||k+5,Y=b&&b.year()||k-50,E=k==Y,P=k==D,A='<select class="monthselect">',C=0;C<12;C++)A+=(!E||C>=b.month())&&(!P||C<=M.month())?"<option value='"+C+"'"+(C===T?" selected='selected'":"")+">"+this.locale.monthNames[C]+"</option>":"<option value='"+C+"'"+(C===T?" selected='selected'":"")+" disabled='disabled'>"+this.locale.monthNames[C]+"</option>";A+="</select>";for(var O='<select class="yearselect">',j=Y;j<=D;j++)O+='<option value="'+j+'"'+(j===k?' selected="selected"':"")+">"+j+"</option>";O+="</select>",w=A+O}if(S+='<th colspan="5" class="month">'+w+"</th>",S+=M&&!M.isAfter(r.lastDay)||this.linkedCalendars&&"right"!=n&&!this.singleDatePicker?"<th></th>":'<th class="next available"><i class="fa fa-'+L.right+" glyphicon glyphicon-"+L.right+'"></i></th>',S+="</tr>",S+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(S+='<th class="week">'+this.locale.weekLabel+"</th>"),t.each(this.locale.daysOfWeek,function(e,t){S+="<th>"+t+"</th>"}),S+="</tr>",S+="</thead>",S+="<tbody>",null==this.endDate&&this.dateLimit){var R=this.startDate.clone().add(this.dateLimit).endOf("day");M&&!R.isBefore(M)||(M=R)}for(var v=0;v<6;v++){S+="<tr>",this.showWeekNumbers?S+='<td class="week">'+r[v][0].week()+"</td>":this.showISOWeekNumbers&&(S+='<td class="week">'+r[v][0].isoWeek()+"</td>");for(var y=0;y<7;y++){var N=[];r[v][y].isSame(new Date,"day")&&N.push("today"),r[v][y].isoWeekday()>5&&N.push("weekend"),r[v][y].month()!=r[1][1].month()&&N.push("off"),this.minDate&&r[v][y].isBefore(this.minDate,"day")&&N.push("off","disabled"),M&&r[v][y].isAfter(M,"day")&&N.push("off","disabled"),this.isInvalidDate(r[v][y])&&N.push("off","disabled"),r[v][y].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&N.push("active","start-date"),null!=this.endDate&&r[v][y].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&N.push("active","end-date"),null!=this.endDate&&r[v][y]>this.startDate&&r[v][y]<this.endDate&&N.push("in-range");var H=this.isCustomDate(r[v][y]);H!==!1&&("string"==typeof H?N.push(H):Array.prototype.push.apply(N,H));for(var I="",V=!1,_=0;_<N.length;_++)I+=N[_]+" ","disabled"==N[_]&&(V=!0);V||(I+="available"),S+='<td class="'+I.replace(/^\s+|\s+$/g,"")+'" data-title="r'+v+"c"+y+'">'+r[v][y].date()+"</td>"}S+="</tr>"}S+="</tbody>",S+="</table>",this.container.find(".calendar."+n+" .calendar-table").html(S)},renderTimePicker:function(e){if("right"!=e||this.endDate){var t,n,r,i=this.maxDate;if(!this.dateLimit||this.maxDate&&!this.startDate.clone().add(this.dateLimit).isAfter(this.maxDate)||(i=this.startDate.clone().add(this.dateLimit)),"left"==e)n=this.startDate.clone(),r=this.minDate;else if("right"==e){n=this.endDate.clone(),r=this.startDate;var a=this.container.find(".calendar.right .calendar-time div");if(!this.endDate&&""!=a.html()&&(n.hour(a.find(".hourselect option:selected").val()||n.hour()),n.minute(a.find(".minuteselect option:selected").val()||n.minute()),n.second(a.find(".secondselect option:selected").val()||n.second()),!this.timePicker24Hour)){var o=a.find(".ampmselect option:selected").val();"PM"===o&&n.hour()<12&&n.hour(n.hour()+12),"AM"===o&&12===n.hour()&&n.hour(0)}n.isBefore(this.startDate)&&(n=this.startDate.clone()),i&&n.isAfter(i)&&(n=i.clone())}t='<select class="hourselect">';for(var s=this.timePicker24Hour?0:1,u=this.timePicker24Hour?23:12,l=s;l<=u;l++){var c=l;this.timePicker24Hour||(c=n.hour()>=12?12==l?12:l+12:12==l?0:l);var d=n.clone().hour(c),f=!1;r&&d.minute(59).isBefore(r)&&(f=!0),i&&d.minute(0).isAfter(i)&&(f=!0),t+=c!=n.hour()||f?f?'<option value="'+l+'" disabled="disabled" class="disabled">'+l+"</option>":'<option value="'+l+'">'+l+"</option>":'<option value="'+l+'" selected="selected">'+l+"</option>"}t+="</select> ",t+=': <select class="minuteselect">';for(var l=0;l<60;l+=this.timePickerIncrement){var h=l<10?"0"+l:l,d=n.clone().minute(l),f=!1;r&&d.second(59).isBefore(r)&&(f=!0),i&&d.second(0).isAfter(i)&&(f=!0),t+=n.minute()!=l||f?f?'<option value="'+l+'" disabled="disabled" class="disabled">'+h+"</option>":'<option value="'+l+'">'+h+"</option>":'<option value="'+l+'" selected="selected">'+h+"</option>"}if(t+="</select> ",this.timePickerSeconds){t+=': <select class="secondselect">';for(var l=0;l<60;l++){var h=l<10?"0"+l:l,d=n.clone().second(l),f=!1;r&&d.isBefore(r)&&(f=!0),i&&d.isAfter(i)&&(f=!0),t+=n.second()!=l||f?f?'<option value="'+l+'" disabled="disabled" class="disabled">'+h+"</option>":'<option value="'+l+'">'+h+"</option>":'<option value="'+l+'" selected="selected">'+h+"</option>"}t+="</select> "}if(!this.timePicker24Hour){t+='<select class="ampmselect">';var p="",m="";r&&n.clone().hour(12).minute(0).second(0).isBefore(r)&&(p=' disabled="disabled" class="disabled"'),i&&n.clone().hour(0).minute(0).second(0).isAfter(i)&&(m=' disabled="disabled" class="disabled"'),t+=n.hour()>=12?'<option value="AM"'+p+'>AM</option><option value="PM" selected="selected"'+m+">PM</option>":'<option value="AM" selected="selected"'+p+'>AM</option><option value="PM"'+m+">PM</option>",t+="</select>"}this.container.find(".calendar."+e+" .calendar-time div").html(t)}},updateFormInputs:function(){this.container.find("input[name=daterangepicker_start]").is(":focus")||this.container.find("input[name=daterangepicker_end]").is(":focus")||(this.container.find("input[name=daterangepicker_start]").val(this.startDate.format(this.locale.format)),this.endDate&&this.container.find("input[name=daterangepicker_end]").val(this.endDate.format(this.locale.format)),this.singleDatePicker||this.endDate&&(this.startDate.isBefore(this.endDate)||this.startDate.isSame(this.endDate))?this.container.find("button.applyBtn").removeAttr("disabled"):this.container.find("button.applyBtn").attr("disabled","disabled"))},move:function(){var e,n={top:0,left:0},r=t(window).width();this.parentEl.is("body")||(n={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},r=this.parentEl[0].clientWidth+this.parentEl.offset().left),e="up"==this.drops?this.element.offset().top-this.container.outerHeight()-n.top:this.element.offset().top+this.element.outerHeight()-n.top,this.container["up"==this.drops?"addClass":"removeClass"]("dropup"),"left"==this.opens?(this.container.css({top:e,right:r-this.element.offset().left-this.element.outerWidth(),left:"auto"}),this.container.offset().left<0&&this.container.css({right:"auto",left:9})):"center"==this.opens?(this.container.css({top:e,left:this.element.offset().left-n.left+this.element.outerWidth()/2-this.container.outerWidth()/2,right:"auto"}),this.container.offset().left<0&&this.container.css({right:"auto",left:9})):(this.container.css({top:e,left:this.element.offset().left-n.left,right:"auto"}),this.container.offset().left+this.container.outerWidth()>t(window).width()&&this.container.css({left:"auto",right:0}))},show:function(e){this.isShowing||(this._outsideClickProxy=t.proxy(function(e){this.outsideClick(e)},this),t(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),t(window).on("resize.daterangepicker",t.proxy(function(e){this.move(e)},this)),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.previousRightTime=this.endDate.clone(),this.updateView(),this.container.show(),this.move(),this.element.trigger("show.daterangepicker",this),this.isShowing=!0)},hide:function(e){this.isShowing&&(this.endDate||(this.startDate=this.oldStartDate.clone(),this.endDate=this.oldEndDate.clone()),this.startDate.isSame(this.oldStartDate)&&this.endDate.isSame(this.oldEndDate)||this.callback(this.startDate,this.endDate,this.chosenLabel),this.updateElement(),t(document).off(".daterangepicker"),t(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(e){this.isShowing?this.hide():this.show()},outsideClick:function(e){var n=t(e.target);"focusin"==e.type||n.closest(this.element).length||n.closest(this.container).length||n.closest(".calendar-table").length||(this.hide(),this.element.trigger("outsideClick.daterangepicker",this))},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},hoverRange:function(e){if(!this.container.find("input[name=daterangepicker_start]").is(":focus")&&!this.container.find("input[name=daterangepicker_end]").is(":focus")){var t=e.target.getAttribute("data-range-key");if(t==this.locale.customRangeLabel)this.updateView();else{var n=this.ranges[t];this.container.find("input[name=daterangepicker_start]").val(n[0].format(this.locale.format)),this.container.find("input[name=daterangepicker_end]").val(n[1].format(this.locale.format))}}},clickRange:function(e){var t=e.target.getAttribute("data-range-key");if(this.chosenLabel=t,t==this.locale.customRangeLabel)this.showCalendars();else{var n=this.ranges[t];this.startDate=n[0],this.endDate=n[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply()}},clickPrev:function(e){var n=t(e.target).parents(".calendar");n.hasClass("left")?(this.leftCalendar.month.subtract(1,"month"),this.linkedCalendars&&this.rightCalendar.month.subtract(1,"month")):this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(e){var n=t(e.target).parents(".calendar");n.hasClass("left")?this.leftCalendar.month.add(1,"month"):(this.rightCalendar.month.add(1,"month"),this.linkedCalendars&&this.leftCalendar.month.add(1,"month")),this.updateCalendars()},hoverDate:function(e){if(t(e.target).hasClass("available")){var n=t(e.target).attr("data-title"),r=n.substr(1,1),i=n.substr(3,1),a=t(e.target).parents(".calendar"),o=a.hasClass("left")?this.leftCalendar.calendar[r][i]:this.rightCalendar.calendar[r][i];this.endDate&&!this.container.find("input[name=daterangepicker_start]").is(":focus")?this.container.find("input[name=daterangepicker_start]").val(o.format(this.locale.format)):this.endDate||this.container.find("input[name=daterangepicker_end]").is(":focus")||this.container.find("input[name=daterangepicker_end]").val(o.format(this.locale.format));var s=this.leftCalendar,u=this.rightCalendar,l=this.startDate;this.endDate||this.container.find(".calendar td").each(function(e,n){if(!t(n).hasClass("week")){var r=t(n).attr("data-title"),i=r.substr(1,1),a=r.substr(3,1),c=t(n).parents(".calendar"),d=c.hasClass("left")?s.calendar[i][a]:u.calendar[i][a];d.isAfter(l)&&d.isBefore(o)||d.isSame(o,"day")?t(n).addClass("in-range"):t(n).removeClass("in-range")}})}},clickDate:function(e){if(t(e.target).hasClass("available")){var n=t(e.target).attr("data-title"),r=n.substr(1,1),i=n.substr(3,1),a=t(e.target).parents(".calendar"),o=a.hasClass("left")?this.leftCalendar.calendar[r][i]:this.rightCalendar.calendar[r][i];if(this.endDate||o.isBefore(this.startDate,"day")){if(this.timePicker){var s=parseInt(this.container.find(".left .hourselect").val(),10);if(!this.timePicker24Hour){var u=this.container.find(".left .ampmselect").val();"PM"===u&&s<12&&(s+=12),"AM"===u&&12===s&&(s=0)}var l=parseInt(this.container.find(".left .minuteselect").val(),10),c=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0;o=o.clone().hour(s).minute(l).second(c)}this.endDate=null,this.setStartDate(o.clone())}else if(!this.endDate&&o.isBefore(this.startDate))this.setEndDate(this.startDate.clone());else{if(this.timePicker){var s=parseInt(this.container.find(".right .hourselect").val(),10);if(!this.timePicker24Hour){var u=this.container.find(".right .ampmselect").val();"PM"===u&&s<12&&(s+=12),"AM"===u&&12===s&&(s=0)}var l=parseInt(this.container.find(".right .minuteselect").val(),10),c=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0;o=o.clone().hour(s).minute(l).second(c)}this.setEndDate(o.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())}this.singleDatePicker&&(this.setEndDate(this.startDate),this.timePicker||this.clickApply()),this.updateView(),e.stopPropagation()}},calculateChosenLabel:function(){var e=!0,t=0;for(var n in this.ranges){if(this.timePicker){if(this.startDate.isSame(this.ranges[n][0])&&this.endDate.isSame(this.ranges[n][1])){e=!1,this.chosenLabel=this.container.find(".ranges li:eq("+t+")").addClass("active").html();break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[n][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[n][1].format("YYYY-MM-DD")){e=!1,this.chosenLabel=this.container.find(".ranges li:eq("+t+")").addClass("active").html();break}t++}e&&this.showCustomRangeLabel&&(this.chosenLabel=this.container.find(".ranges li:last").addClass("active").html(),this.showCalendars())},clickApply:function(e){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(e){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(e){var n=t(e.target).closest(".calendar").hasClass("left"),r=n?"left":"right",i=this.container.find(".calendar."+r),a=parseInt(i.find(".monthselect").val(),10),o=i.find(".yearselect").val();n||(o<this.startDate.year()||o==this.startDate.year()&&a<this.startDate.month())&&(a=this.startDate.month(),o=this.startDate.year()),this.minDate&&(o<this.minDate.year()||o==this.minDate.year()&&a<this.minDate.month())&&(a=this.minDate.month(),o=this.minDate.year()),this.maxDate&&(o>this.maxDate.year()||o==this.maxDate.year()&&a>this.maxDate.month())&&(a=this.maxDate.month(),o=this.maxDate.year()),n?(this.leftCalendar.month.month(a).year(o),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(a).year(o),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(e){var n=t(e.target).closest(".calendar"),r=n.hasClass("left"),i=parseInt(n.find(".hourselect").val(),10),a=parseInt(n.find(".minuteselect").val(),10),o=this.timePickerSeconds?parseInt(n.find(".secondselect").val(),10):0;if(!this.timePicker24Hour){var s=n.find(".ampmselect").val();"PM"===s&&i<12&&(i+=12),"AM"===s&&12===i&&(i=0)}if(r){var u=this.startDate.clone();u.hour(i),u.minute(a),u.second(o),this.setStartDate(u),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==u.format("YYYY-MM-DD")&&this.endDate.isBefore(u)&&this.setEndDate(u.clone());
}else if(this.endDate){var l=this.endDate.clone();l.hour(i),l.minute(a),l.second(o),this.setEndDate(l)}this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},formInputsChanged:function(n){var r=t(n.target).closest(".calendar").hasClass("right"),i=e(this.container.find('input[name="daterangepicker_start"]').val(),this.locale.format),a=e(this.container.find('input[name="daterangepicker_end"]').val(),this.locale.format);i.isValid()&&a.isValid()&&(r&&a.isBefore(i)&&(i=a.clone()),this.setStartDate(i),this.setEndDate(a),r?this.container.find('input[name="daterangepicker_start"]').val(this.startDate.format(this.locale.format)):this.container.find('input[name="daterangepicker_end"]').val(this.endDate.format(this.locale.format))),this.updateView()},formInputsFocused:function(e){this.container.find('input[name="daterangepicker_start"], input[name="daterangepicker_end"]').removeClass("active"),t(e.target).addClass("active");var n=t(e.target).closest(".calendar").hasClass("right");n&&(this.endDate=null,this.setStartDate(this.startDate.clone()),this.updateView())},formInputsBlurred:function(t){if(!this.endDate){var n=this.container.find('input[name="daterangepicker_end"]').val(),r=e(n,this.locale.format);r.isValid()&&(this.setEndDate(r),this.updateView())}},elementChanged:function(){if(this.element.is("input")&&this.element.val().length&&!(this.element.val().length<this.locale.format.length)){var t=this.element.val().split(this.locale.separator),n=null,r=null;2===t.length&&(n=e(t[0],this.locale.format),r=e(t[1],this.locale.format)),(this.singleDatePicker||null===n||null===r)&&(n=e(this.element.val(),this.locale.format),r=n),n.isValid()&&r.isValid()&&(this.setStartDate(n),this.setEndDate(r),this.updateView())}},keydown:function(e){9!==e.keyCode&&13!==e.keyCode||this.hide()},updateElement:function(){this.element.is("input")&&!this.singleDatePicker&&this.autoUpdateInput?(this.element.val(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.element.trigger("change")):this.element.is("input")&&this.autoUpdateInput&&(this.element.val(this.startDate.format(this.locale.format)),this.element.trigger("change"))},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},t.fn.daterangepicker=function(e,r){return this.each(function(){var i=t(this);i.data("daterangepicker")&&i.data("daterangepicker").remove(),i.data("daterangepicker",new n(i,e,r))}),this},n})},function(e,t,n){var r,i;!function(a){"use strict";function o(e){this.owner=e}function s(e,t){if(Object.create)t.prototype=Object.create(e.prototype);else{var n=function(){};n.prototype=e.prototype,t.prototype=new n}return t.prototype.constructor=t,t}function u(e){var t=this.internal=new l(this);t.loadConfig(e),t.beforeInit(e),t.init(),t.afterInit(e),function e(t,n,r){Object.keys(t).forEach(function(i){n[i]=t[i].bind(r),Object.keys(t[i]).length>0&&e(t[i],n[i],r)})}(f,this,this)}function l(e){var t=this;t.d3=a.d3?a.d3:n(90),t.api=e,t.config=t.getDefaultConfig(),t.data={},t.cache={},t.axes={}}function c(e){o.call(this,e)}function d(e,t){function n(e,t){e.attr("transform",function(e){return"translate("+Math.ceil(t(e)+x)+", 0)"})}function r(e,t){e.attr("transform",function(e){return"translate(0,"+Math.ceil(t(e))+")"})}function i(e){var t=e[0],n=e[e.length-1];return t<n?[t,n]:[n,t]}function a(e){var t,n,r=[];if(e.ticks)return e.ticks.apply(e,h);for(n=e.domain(),t=Math.ceil(n[0]);t<n[1];t++)r.push(t);return r.length>0&&r[0]>0&&r.unshift(r[0]-(r[1]-r[0])),r}function o(){var e,n=m.copy();return t.isCategory&&(e=m.domain(),n.domain([e[0],e[1]-1])),n}function s(e){var t=f?f(e):e;return"undefined"!=typeof t?t:""}function u(e){if(P)return P;var t={h:11.5,w:5.5};return e.select("text").text(s).each(function(e){var n=this.getBoundingClientRect(),r=s(e),i=n.height,a=r?n.width/r.length:void 0;i&&a&&(t.h=i,t.w=a)}).text(""),P=t,t}function l(n){return t.withoutTransition?n:e.transition(n)}function c(f){f.each(function(){function f(e,n){function r(e,t){a=void 0;for(var s=1;s<t.length;s++)if(" "===t.charAt(s)&&(a=s),i=t.substr(0,s+1),o=B.w*i.length,n<o)return r(e.concat(t.substr(0,a?a:s)),t.slice(a?a+1:s));return e.concat(t)}var i,a,o,u=s(e),l=[];return"[object Array]"===Object.prototype.toString.call(u)?u:((!n||n<=0)&&(n=K?95:t.isCategory?Math.ceil(P(A[1])-P(A[0]))-12:110),r(l,u+""))}function h(e,t){var n=B.h;return 0===t&&(n="left"===_||"right"===_?-((q[e.index]-1)*(B.h/2)-3):".71em"),n}function b(e){var t=m(e)+(p?0:x);return N[0]<t&&t<N[1]?g:0}function M(e){return e?e>0?"start":"end":"middle"}function L(e){return e?"rotate("+e+")":""}function S(e){return e?8*Math.sin(Math.PI*(e/180)):0}function w(e){return e?11.5-2.5*(e/15)*(e>0?1:-1):X}var T,k,D,Y=c.g=e.select(this),E=this.__chart__||m,P=this.__chart__=o(),A=v?v:a(P),C=Y.selectAll(".tick").data(A,P),O=C.enter().insert("g",".domain").attr("class","tick").style("opacity",1e-6),j=C.exit().remove(),R=l(C).style("opacity",1),N=m.rangeExtent?m.rangeExtent():i(m.range()),H=Y.selectAll(".domain").data([0]),I=(H.enter().append("path").attr("class","domain"),l(H));O.append("line"),O.append("text");var V=O.select("line"),F=R.select("line"),W=O.select("text"),G=R.select("text");t.isCategory?(x=Math.ceil((P(1)-P(0))/2),k=p?0:x,D=p?x:0):x=k=0;var U,z,B=u(Y.select(".tick")),q=[],X=Math.max(g,0)+y,K="left"===_||"right"===_;U=C.select("text"),z=U.selectAll("tspan").data(function(e,n){var r=t.tickMultiline?f(e,t.tickWidth):[].concat(s(e));return q[n]=r.length,r.map(function(e){return{index:n,splitted:e}})}),z.enter().append("tspan"),z.exit().remove(),z.text(function(e){return e.splitted});var J=t.tickTextRotate;switch(_){case"bottom":T=n,V.attr("y2",g),W.attr("y",X),F.attr("x1",k).attr("x2",k).attr("y2",b),G.attr("x",0).attr("y",w(J)).style("text-anchor",M(J)).attr("transform",L(J)),z.attr("x",0).attr("dy",h).attr("dx",S(J)),I.attr("d","M"+N[0]+","+d+"V0H"+N[1]+"V"+d);break;case"top":T=n,V.attr("y2",-g),W.attr("y",-X),F.attr("x2",0).attr("y2",-g),G.attr("x",0).attr("y",-X),U.style("text-anchor","middle"),z.attr("x",0).attr("dy","0em"),I.attr("d","M"+N[0]+","+-d+"V0H"+N[1]+"V"+-d);break;case"left":T=r,V.attr("x2",-g),W.attr("x",-X),F.attr("x2",-g).attr("y1",D).attr("y2",D),G.attr("x",-X).attr("y",x),U.style("text-anchor","end"),z.attr("x",-X).attr("dy",h),I.attr("d","M"+-d+","+N[0]+"H0V"+N[1]+"H"+-d);break;case"right":T=r,V.attr("x2",g),W.attr("x",X),F.attr("x2",g).attr("y2",0),G.attr("x",X).attr("y",0),U.style("text-anchor","start"),z.attr("x",X).attr("dy",h),I.attr("d","M"+d+","+N[0]+"H0V"+N[1]+"H"+d)}if(P.rangeBand){var $=P,Q=$.rangeBand()/2;E=P=function(e){return $(e)+Q}}else E.rangeBand?E=P:j.call(T,P);O.call(T,E),R.call(T,P)})}var d,f,h,p,m=e.scale.linear(),_="bottom",g=6,y=3,v=null,x=0,b=!0;return t=t||{},d=t.withOuterTick?6:0,c.scale=function(e){return arguments.length?(m=e,c):m},c.orient=function(e){return arguments.length?(_=e in{top:1,right:1,bottom:1,left:1}?e+"":"bottom",c):_},c.tickFormat=function(e){return arguments.length?(f=e,c):f},c.tickCentered=function(e){return arguments.length?(p=e,c):p},c.tickOffset=function(){return x},c.tickInterval=function(){var e,n;return t.isCategory?e=2*x:(n=c.g.select("path.domain").node().getTotalLength()-2*d,e=n/c.g.selectAll("line").size()),e===1/0?0:e},c.ticks=function(){return arguments.length?(h=arguments,c):h},c.tickCulling=function(e){return arguments.length?(b=e,c):b},c.tickValues=function(e){if("function"==typeof e)v=function(){return e(m.domain())};else{if(!arguments.length)return v;v=e}return c},c}var f,h,p,m={version:"0.4.11"};m.generate=function(e){return new u(e)},m.chart={fn:u.prototype,internal:{fn:l.prototype,axis:{fn:c.prototype}}},f=m.chart.fn,h=m.chart.internal.fn,p=m.chart.internal.axis.fn,h.beforeInit=function(){},h.afterInit=function(){},h.init=function(){var e=this,t=e.config;if(e.initParams(),t.data_url)e.convertUrlToData(t.data_url,t.data_mimeType,t.data_headers,t.data_keys,e.initWithData);else if(t.data_json)e.initWithData(e.convertJsonToData(t.data_json,t.data_keys));else if(t.data_rows)e.initWithData(e.convertRowsToData(t.data_rows));else{if(!t.data_columns)throw Error("url or json or rows or columns is required.");e.initWithData(e.convertColumnsToData(t.data_columns))}},h.initParams=function(){var e=this,t=e.d3,n=e.config;e.clipId="c3-"+ +new Date+"-clip",e.clipIdForXAxis=e.clipId+"-xaxis",e.clipIdForYAxis=e.clipId+"-yaxis",e.clipIdForGrid=e.clipId+"-grid",e.clipIdForSubchart=e.clipId+"-subchart",e.clipPath=e.getClipPath(e.clipId),e.clipPathForXAxis=e.getClipPath(e.clipIdForXAxis),e.clipPathForYAxis=e.getClipPath(e.clipIdForYAxis),e.clipPathForGrid=e.getClipPath(e.clipIdForGrid),e.clipPathForSubchart=e.getClipPath(e.clipIdForSubchart),e.dragStart=null,e.dragging=!1,e.flowing=!1,e.cancelClick=!1,e.mouseover=!1,e.transiting=!1,e.color=e.generateColor(),e.levelColor=e.generateLevelColor(),e.dataTimeFormat=n.data_xLocaltime?t.time.format:t.time.format.utc,e.axisTimeFormat=n.axis_x_localtime?t.time.format:t.time.format.utc,e.defaultAxisTimeFormat=e.axisTimeFormat.multi([[".%L",function(e){return e.getMilliseconds()}],[":%S",function(e){return e.getSeconds()}],["%I:%M",function(e){return e.getMinutes()}],["%I %p",function(e){return e.getHours()}],["%-m/%-d",function(e){return e.getDay()&&1!==e.getDate()}],["%-m/%-d",function(e){return 1!==e.getDate()}],["%-m/%-d",function(e){return e.getMonth()}],["%Y/%-m/%-d",function(){return!0}]]),e.hiddenTargetIds=[],e.hiddenLegendIds=[],e.focusedTargetIds=[],e.defocusedTargetIds=[],e.xOrient=n.axis_rotated?"left":"bottom",e.yOrient=n.axis_rotated?n.axis_y_inner?"top":"bottom":n.axis_y_inner?"right":"left",e.y2Orient=n.axis_rotated?n.axis_y2_inner?"bottom":"top":n.axis_y2_inner?"left":"right",e.subXOrient=n.axis_rotated?"left":"bottom",e.isLegendRight="right"===n.legend_position,e.isLegendInset="inset"===n.legend_position,e.isLegendTop="top-left"===n.legend_inset_anchor||"top-right"===n.legend_inset_anchor,e.isLegendLeft="top-left"===n.legend_inset_anchor||"bottom-left"===n.legend_inset_anchor,e.legendStep=0,e.legendItemWidth=0,e.legendItemHeight=0,e.currentMaxTickWidths={x:0,y:0,y2:0},e.rotated_padding_left=30,e.rotated_padding_right=n.axis_rotated&&!n.axis_x_show?0:30,e.rotated_padding_top=5,e.withoutFadeIn={},e.intervalForObserveInserted=void 0,e.axes.subx=t.selectAll([])},h.initChartElements=function(){this.initBar&&this.initBar(),this.initLine&&this.initLine(),this.initArc&&this.initArc(),this.initGauge&&this.initGauge(),this.initText&&this.initText()},h.initWithData=function(e){var t,n,r=this,i=r.d3,a=r.config,o=!0;r.axis=new c(r),r.initPie&&r.initPie(),r.initBrush&&r.initBrush(),r.initZoom&&r.initZoom(),a.bindto?"function"==typeof a.bindto.node?r.selectChart=a.bindto:r.selectChart=i.select(a.bindto):r.selectChart=i.selectAll([]),r.selectChart.empty()&&(r.selectChart=i.select(document.createElement("div")).style("opacity",0),r.observeInserted(r.selectChart),o=!1),r.selectChart.html("").classed("c3",!0),r.data.xs={},r.data.targets=r.convertDataToTargets(e),a.data_filter&&(r.data.targets=r.data.targets.filter(a.data_filter)),a.data_hide&&r.addHiddenTargetIds(a.data_hide===!0?r.mapToIds(r.data.targets):a.data_hide),a.legend_hide&&r.addHiddenLegendIds(a.legend_hide===!0?r.mapToIds(r.data.targets):a.legend_hide),r.hasType("gauge")&&(a.legend_show=!1),r.updateSizes(),r.updateScales(),r.x.domain(i.extent(r.getXDomain(r.data.targets))),r.y.domain(r.getYDomain(r.data.targets,"y")),r.y2.domain(r.getYDomain(r.data.targets,"y2")),r.subX.domain(r.x.domain()),r.subY.domain(r.y.domain()),r.subY2.domain(r.y2.domain()),r.orgXDomain=r.x.domain(),r.brush&&r.brush.scale(r.subX),a.zoom_enabled&&r.zoom.scale(r.x),r.svg=r.selectChart.append("svg").style("overflow","hidden").on("mouseenter",function(){return a.onmouseover.call(r)}).on("mouseleave",function(){return a.onmouseout.call(r)}),r.config.svg_classname&&r.svg.attr("class",r.config.svg_classname),t=r.svg.append("defs"),r.clipChart=r.appendClip(t,r.clipId),r.clipXAxis=r.appendClip(t,r.clipIdForXAxis),r.clipYAxis=r.appendClip(t,r.clipIdForYAxis),r.clipGrid=r.appendClip(t,r.clipIdForGrid),r.clipSubchart=r.appendClip(t,r.clipIdForSubchart),r.updateSvgSize(),n=r.main=r.svg.append("g").attr("transform",r.getTranslate("main")),r.initSubchart&&r.initSubchart(),r.initTooltip&&r.initTooltip(),r.initLegend&&r.initLegend(),r.initTitle&&r.initTitle(),n.append("text").attr("class",_.text+" "+_.empty).attr("text-anchor","middle").attr("dominant-baseline","middle"),r.initRegion(),r.initGrid(),n.append("g").attr("clip-path",r.clipPath).attr("class",_.chart),a.grid_lines_front&&r.initGridLines(),r.initEventRect(),r.initChartElements(),n.insert("rect",a.zoom_privileged?null:"g."+_.regions).attr("class",_.zoomRect).attr("width",r.width).attr("height",r.height).style("opacity",0).on("dblclick.zoom",null),a.axis_x_extent&&r.brush.extent(r.getDefaultExtent()),r.axis.init(),r.updateTargets(r.data.targets),o&&(r.updateDimension(),r.config.oninit.call(r),r.redraw({withTransition:!1,withTransform:!0,withUpdateXDomain:!0,withUpdateOrgXDomain:!0,withTransitionForAxis:!1})),r.bindResize(),r.api.element=r.selectChart.node()},h.smoothLines=function(e,t){var n=this;"grid"===t&&e.each(function(){var e=n.d3.select(this),t=e.attr("x1"),r=e.attr("x2"),i=e.attr("y1"),a=e.attr("y2");e.attr({x1:Math.ceil(t),x2:Math.ceil(r),y1:Math.ceil(i),y2:Math.ceil(a)})})},h.updateSizes=function(){var e=this,t=e.config,n=e.legend?e.getLegendHeight():0,r=e.legend?e.getLegendWidth():0,i=e.isLegendRight||e.isLegendInset?0:n,a=e.hasArcType(),o=t.axis_rotated||a?0:e.getHorizontalAxisHeight("x"),s=t.subchart_show&&!a?t.subchart_size_height+o:0;e.currentWidth=e.getCurrentWidth(),e.currentHeight=e.getCurrentHeight(),e.margin=t.axis_rotated?{top:e.getHorizontalAxisHeight("y2")+e.getCurrentPaddingTop(),right:a?0:e.getCurrentPaddingRight(),bottom:e.getHorizontalAxisHeight("y")+i+e.getCurrentPaddingBottom(),left:s+(a?0:e.getCurrentPaddingLeft())}:{top:4+e.getCurrentPaddingTop(),right:a?0:e.getCurrentPaddingRight(),bottom:o+s+i+e.getCurrentPaddingBottom(),left:a?0:e.getCurrentPaddingLeft()},e.margin2=t.axis_rotated?{top:e.margin.top,right:NaN,bottom:20+i,left:e.rotated_padding_left}:{top:e.currentHeight-s-i,right:NaN,bottom:o+i,left:e.margin.left},e.margin3={top:0,right:NaN,bottom:0,left:0},e.updateSizeForLegend&&e.updateSizeForLegend(n,r),e.width=e.currentWidth-e.margin.left-e.margin.right,e.height=e.currentHeight-e.margin.top-e.margin.bottom,e.width<0&&(e.width=0),e.height<0&&(e.height=0),e.width2=t.axis_rotated?e.margin.left-e.rotated_padding_left-e.rotated_padding_right:e.width,e.height2=t.axis_rotated?e.height:e.currentHeight-e.margin2.top-e.margin2.bottom,e.width2<0&&(e.width2=0),e.height2<0&&(e.height2=0),e.arcWidth=e.width-(e.isLegendRight?r+10:0),e.arcHeight=e.height-(e.isLegendRight?0:10),e.hasType("gauge")&&!t.gauge_fullCircle&&(e.arcHeight+=e.height-e.getGaugeLabelHeight()),e.updateRadius&&e.updateRadius(),e.isLegendRight&&a&&(e.margin3.left=e.arcWidth/2+1.1*e.radiusExpanded)},h.updateTargets=function(e){var t=this;t.updateTargetsForText(e),t.updateTargetsForBar(e),t.updateTargetsForLine(e),t.hasArcType()&&t.updateTargetsForArc&&t.updateTargetsForArc(e),t.updateTargetsForSubchart&&t.updateTargetsForSubchart(e),t.showTargets()},h.showTargets=function(){var e=this;e.svg.selectAll("."+_.target).filter(function(t){return e.isTargetToShow(t.id)}).transition().duration(e.config.transition_duration).style("opacity",1)},h.redraw=function(e,t){var n,r,i,a,o,s,u,l,c,d,f,h,p,m,g,y,v,x,b,M,L,S,w,T,D,Y,E,P,A,C=this,O=C.main,j=C.d3,R=C.config,N=C.getShapeIndices(C.isAreaType),H=C.getShapeIndices(C.isBarType),I=C.getShapeIndices(C.isLineType),V=C.hasArcType(),F=C.filterTargetsToShow(C.data.targets),W=C.xv.bind(C);if(e=e||{},n=k(e,"withY",!0),r=k(e,"withSubchart",!0),i=k(e,"withTransition",!0),s=k(e,"withTransform",!1),u=k(e,"withUpdateXDomain",!1),l=k(e,"withUpdateOrgXDomain",!1),c=k(e,"withTrimXDomain",!0),p=k(e,"withUpdateXAxis",u),d=k(e,"withLegend",!1),f=k(e,"withEventRect",!0),h=k(e,"withDimension",!0),a=k(e,"withTransitionForExit",i),o=k(e,"withTransitionForAxis",i),b=i?R.transition_duration:0,M=a?b:0,L=o?b:0,t=t||C.axis.generateTransitions(L),d&&R.legend_show?C.updateLegend(C.mapToIds(C.data.targets),e,t):h&&C.updateDimension(!0),C.isCategorized()&&0===F.length&&C.x.domain([0,C.axes.x.selectAll(".tick").size()]),F.length?(C.updateXDomain(F,u,l,c),R.axis_x_tick_values||(T=C.axis.updateXAxisTickValues(F))):(C.xAxis.tickValues([]),C.subXAxis.tickValues([])),R.zoom_rescale&&!e.flow&&(E=C.x.orgDomain()),C.y.domain(C.getYDomain(F,"y",E)),C.y2.domain(C.getYDomain(F,"y2",E)),!R.axis_y_tick_values&&R.axis_y_tick_count&&C.yAxis.tickValues(C.axis.generateTickValues(C.y.domain(),R.axis_y_tick_count)),!R.axis_y2_tick_values&&R.axis_y2_tick_count&&C.y2Axis.tickValues(C.axis.generateTickValues(C.y2.domain(),R.axis_y2_tick_count)),C.axis.redraw(t,V),C.axis.updateLabels(i),(u||p)&&F.length)if(R.axis_x_tick_culling&&T){for(D=1;D<T.length;D++)if(T.length/D<R.axis_x_tick_culling_max){Y=D;break}C.svg.selectAll("."+_.axisX+" .tick text").each(function(e){var t=T.indexOf(e);t>=0&&j.select(this).style("display",t%Y?"none":"block")})}else C.svg.selectAll("."+_.axisX+" .tick text").style("display","block");m=C.generateDrawArea?C.generateDrawArea(N,!1):void 0,g=C.generateDrawBar?C.generateDrawBar(H):void 0,y=C.generateDrawLine?C.generateDrawLine(I,!1):void 0,v=C.generateXYForText(N,H,I,!0),x=C.generateXYForText(N,H,I,!1),n&&(C.subY.domain(C.getYDomain(F,"y")),C.subY2.domain(C.getYDomain(F,"y2"))),C.updateXgridFocus(),O.select("text."+_.text+"."+_.empty).attr("x",C.width/2).attr("y",C.height/2).text(R.data_empty_label_text).transition().style("opacity",F.length?0:1),C.updateGrid(b),C.updateRegion(b),C.updateBar(M),C.updateLine(M),C.updateArea(M),C.updateCircle(),C.hasDataLabel()&&C.updateText(M),C.redrawTitle&&C.redrawTitle(),C.redrawArc&&C.redrawArc(b,M,s),C.redrawSubchart&&C.redrawSubchart(r,t,b,M,N,H,I),O.selectAll("."+_.selectedCircles).filter(C.isBarType.bind(C)).selectAll("circle").remove(),R.interaction_enabled&&!e.flow&&f&&(C.redrawEventRect(),C.updateZoom&&C.updateZoom()),C.updateCircleY(),P=(C.config.axis_rotated?C.circleY:C.circleX).bind(C),A=(C.config.axis_rotated?C.circleX:C.circleY).bind(C),e.flow&&(w=C.generateFlow({targets:F,flow:e.flow,duration:e.flow.duration,drawBar:g,drawLine:y,drawArea:m,cx:P,cy:A,xv:W,xForText:v,yForText:x})),(b||w)&&C.isTabVisible()?j.transition().duration(b).each(function(){var t=[];[C.redrawBar(g,!0),C.redrawLine(y,!0),C.redrawArea(m,!0),C.redrawCircle(P,A,!0),C.redrawText(v,x,e.flow,!0),C.redrawRegion(!0),C.redrawGrid(!0)].forEach(function(e){e.forEach(function(e){t.push(e)})}),S=C.generateWait(),t.forEach(function(e){S.add(e)})}).call(S,function(){w&&w(),R.onrendered&&R.onrendered.call(C)}):(C.redrawBar(g),C.redrawLine(y),C.redrawArea(m),C.redrawCircle(P,A),C.redrawText(v,x,e.flow),C.redrawRegion(),C.redrawGrid(),R.onrendered&&R.onrendered.call(C)),C.mapToIds(C.data.targets).forEach(function(e){C.withoutFadeIn[e]=!0})},h.updateAndRedraw=function(e){var t,n=this,r=n.config;e=e||{},e.withTransition=k(e,"withTransition",!0),e.withTransform=k(e,"withTransform",!1),e.withLegend=k(e,"withLegend",!1),e.withUpdateXDomain=!0,e.withUpdateOrgXDomain=!0,e.withTransitionForExit=!1,e.withTransitionForTransform=k(e,"withTransitionForTransform",e.withTransition),n.updateSizes(),e.withLegend&&r.legend_show||(t=n.axis.generateTransitions(e.withTransitionForAxis?r.transition_duration:0),n.updateScales(),n.updateSvgSize(),n.transformAll(e.withTransitionForTransform,t)),n.redraw(e,t)},h.redrawWithoutRescale=function(){this.redraw({withY:!1,withSubchart:!1,withEventRect:!1,withTransitionForAxis:!1})},h.isTimeSeries=function(){return"timeseries"===this.config.axis_x_type},h.isCategorized=function(){return this.config.axis_x_type.indexOf("categor")>=0},h.isCustomX=function(){var e=this,t=e.config;return!e.isTimeSeries()&&(t.data_x||T(t.data_xs))},h.isTimeSeriesY=function(){return"timeseries"===this.config.axis_y_type},h.getTranslate=function(e){var t,n,r=this,i=r.config;return"main"===e?(t=L(r.margin.left),n=L(r.margin.top)):"context"===e?(t=L(r.margin2.left),n=L(r.margin2.top)):"legend"===e?(t=r.margin3.left,n=r.margin3.top):"x"===e?(t=0,n=i.axis_rotated?0:r.height):"y"===e?(t=0,n=i.axis_rotated?r.height:0):"y2"===e?(t=i.axis_rotated?0:r.width,n=i.axis_rotated?1:0):"subx"===e?(t=0,n=i.axis_rotated?0:r.height2):"arc"===e&&(t=r.arcWidth/2,n=r.arcHeight/2),"translate("+t+","+n+")"},h.initialOpacity=function(e){return null!==e.value&&this.withoutFadeIn[e.id]?1:0},h.initialOpacityForCircle=function(e){return null!==e.value&&this.withoutFadeIn[e.id]?this.opacityForCircle(e):0},h.opacityForCircle=function(e){var t=this.config.point_show?1:0;return g(e.value)?this.isScatterType(e)?.5:t:0},h.opacityForText=function(){return this.hasDataLabel()?1:0},h.xx=function(e){return e?this.x(e.x):null},h.xv=function(e){var t=this,n=e.value;return t.isTimeSeries()?n=t.parseDate(e.value):t.isCategorized()&&"string"==typeof e.value&&(n=t.config.axis_x_categories.indexOf(e.value)),Math.ceil(t.x(n))},h.yv=function(e){var t=this,n=e.axis&&"y2"===e.axis?t.y2:t.y;return Math.ceil(n(e.value))},h.subxx=function(e){return e?this.subX(e.x):null},h.transformMain=function(e,t){var n,r,i,a=this;t&&t.axisX?n=t.axisX:(n=a.main.select("."+_.axisX),e&&(n=n.transition())),t&&t.axisY?r=t.axisY:(r=a.main.select("."+_.axisY),e&&(r=r.transition())),t&&t.axisY2?i=t.axisY2:(i=a.main.select("."+_.axisY2),e&&(i=i.transition())),(e?a.main.transition():a.main).attr("transform",a.getTranslate("main")),n.attr("transform",a.getTranslate("x")),r.attr("transform",a.getTranslate("y")),i.attr("transform",a.getTranslate("y2")),a.main.select("."+_.chartArcs).attr("transform",a.getTranslate("arc"))},h.transformAll=function(e,t){var n=this;n.transformMain(e,t),n.config.subchart_show&&n.transformContext(e,t),n.legend&&n.transformLegend(e)},h.updateSvgSize=function(){var e=this,t=e.svg.select(".c3-brush .background");e.svg.attr("width",e.currentWidth).attr("height",e.currentHeight),e.svg.selectAll(["#"+e.clipId,"#"+e.clipIdForGrid]).select("rect").attr("width",e.width).attr("height",e.height),e.svg.select("#"+e.clipIdForXAxis).select("rect").attr("x",e.getXAxisClipX.bind(e)).attr("y",e.getXAxisClipY.bind(e)).attr("width",e.getXAxisClipWidth.bind(e)).attr("height",e.getXAxisClipHeight.bind(e)),e.svg.select("#"+e.clipIdForYAxis).select("rect").attr("x",e.getYAxisClipX.bind(e)).attr("y",e.getYAxisClipY.bind(e)).attr("width",e.getYAxisClipWidth.bind(e)).attr("height",e.getYAxisClipHeight.bind(e)),e.svg.select("#"+e.clipIdForSubchart).select("rect").attr("width",e.width).attr("height",t.size()?t.attr("height"):0),e.svg.select("."+_.zoomRect).attr("width",e.width).attr("height",e.height),e.selectChart.style("max-height",e.currentHeight+"px")},h.updateDimension=function(e){var t=this;e||(t.config.axis_rotated?(t.axes.x.call(t.xAxis),t.axes.subx.call(t.subXAxis)):(t.axes.y.call(t.yAxis),t.axes.y2.call(t.y2Axis))),t.updateSizes(),t.updateScales(),t.updateSvgSize(),t.transformAll(!1)},h.observeInserted=function(e){var t,n=this;return"undefined"==typeof MutationObserver?void a.console.error("MutationObserver not defined."):(t=new MutationObserver(function(r){r.forEach(function(r){"childList"===r.type&&r.previousSibling&&(t.disconnect(),n.intervalForObserveInserted=a.setInterval(function(){e.node().parentNode&&(a.clearInterval(n.intervalForObserveInserted),n.updateDimension(),n.brush&&n.brush.update(),n.config.oninit.call(n),n.redraw({withTransform:!0,withUpdateXDomain:!0,withUpdateOrgXDomain:!0,withTransition:!1,withTransitionForTransform:!1,withLegend:!0}),e.transition().style("opacity",1))},10))})}),void t.observe(e.node(),{attributes:!0,childList:!0,characterData:!0}))},h.bindResize=function(){var e=this,t=e.config;if(e.resizeFunction=e.generateResize(),e.resizeFunction.add(function(){t.onresize.call(e)}),t.resize_auto&&e.resizeFunction.add(function(){void 0!==e.resizeTimeout&&a.clearTimeout(e.resizeTimeout),e.resizeTimeout=a.setTimeout(function(){delete e.resizeTimeout,e.api.flush()},100)}),e.resizeFunction.add(function(){t.onresized.call(e)}),a.attachEvent)a.attachEvent("onresize",e.resizeFunction);else if(a.addEventListener)a.addEventListener("resize",e.resizeFunction,!1);else{var n=a.onresize;n?n.add&&n.remove||(n=e.generateResize(),n.add(a.onresize)):n=e.generateResize(),n.add(e.resizeFunction),a.onresize=n}},h.generateResize=function(){function e(){t.forEach(function(e){e()})}var t=[];return e.add=function(e){t.push(e)},e.remove=function(e){for(var n=0;n<t.length;n++)if(t[n]===e){t.splice(n,1);break}},e},h.endall=function(e,t){var n=0;e.each(function(){++n}).each("end",function(){--n||t.apply(this,arguments)})},h.generateWait=function(){var e=[],t=function(t,n){var r=setInterval(function(){var t=0;e.forEach(function(e){if(e.empty())return void(t+=1);try{e.transition()}catch(e){t+=1}}),t===e.length&&(clearInterval(r),n&&n())},10)};return t.add=function(t){e.push(t)},t},h.parseDate=function(e){var t,n=this;return e instanceof Date?t=e:"string"==typeof e?t=n.dataTimeFormat(n.config.data_xFormat).parse(e):"number"!=typeof e||isNaN(e)||(t=new Date(+e)),t&&!isNaN(+t)||a.console.error("Failed to parse x '"+e+"' to Date object"),t},h.isTabVisible=function(){var e;return"undefined"!=typeof document.hidden?e="hidden":"undefined"!=typeof document.mozHidden?e="mozHidden":"undefined"!=typeof document.msHidden?e="msHidden":"undefined"!=typeof document.webkitHidden&&(e="webkitHidden"),!document[e]},h.getDefaultConfig=function(){var e={bindto:"#chart",svg_classname:void 0,size_width:void 0,size_height:void 0,padding_left:void 0,padding_right:void 0,padding_top:void 0,padding_bottom:void 0,resize_auto:!0,zoom_enabled:!1,zoom_extent:void 0,zoom_privileged:!1,zoom_rescale:!1,zoom_onzoom:function(){},zoom_onzoomstart:function(){},zoom_onzoomend:function(){},zoom_x_min:void 0,zoom_x_max:void 0,interaction_brighten:!0,interaction_enabled:!0,onmouseover:function(){},onmouseout:function(){},onresize:function(){},onresized:function(){},oninit:function(){},onrendered:function(){},transition_duration:350,data_x:void 0,data_xs:{},data_xFormat:"%Y-%m-%d",data_xLocaltime:!0,data_xSort:!0,data_idConverter:function(e){return e},data_names:{},data_classes:{},data_groups:[],data_axes:{},data_type:void 0,data_types:{},data_labels:{},data_order:"desc",data_regions:{},data_color:void 0,data_colors:{},data_hide:!1,data_filter:void 0,data_selection_enabled:!1,data_selection_grouped:!1,data_selection_isselectable:function(){return!0},data_selection_multiple:!0,data_selection_draggable:!1,data_onclick:function(){},data_onmouseover:function(){},data_onmouseout:function(){},data_onselected:function(){},data_onunselected:function(){},data_url:void 0,data_headers:void 0,data_json:void 0,data_rows:void 0,data_columns:void 0,data_mimeType:void 0,data_keys:void 0,data_empty_label_text:"",subchart_show:!1,subchart_size_height:60,subchart_axis_x_show:!0,subchart_onbrush:function(){},color_pattern:[],color_threshold:{},legend_show:!0,legend_hide:!1,legend_position:"bottom",legend_inset_anchor:"top-left",legend_inset_x:10,legend_inset_y:0,legend_inset_step:void 0,legend_item_onclick:void 0,legend_item_onmouseover:void 0,legend_item_onmouseout:void 0,legend_equally:!1,legend_padding:0,legend_item_tile_width:10,legend_item_tile_height:10,axis_rotated:!1,axis_x_show:!0,axis_x_type:"indexed",axis_x_localtime:!0,axis_x_categories:[],axis_x_tick_centered:!1,axis_x_tick_format:void 0,axis_x_tick_culling:{},axis_x_tick_culling_max:10,axis_x_tick_count:void 0,axis_x_tick_fit:!0,axis_x_tick_values:null,axis_x_tick_rotate:0,axis_x_tick_outer:!0,axis_x_tick_multiline:!0,axis_x_tick_width:null,axis_x_max:void 0,axis_x_min:void 0,axis_x_padding:{},axis_x_height:void 0,axis_x_extent:void 0,axis_x_label:{},axis_y_show:!0,axis_y_type:void 0,axis_y_max:void 0,axis_y_min:void 0,axis_y_inverted:!1,axis_y_center:void 0,axis_y_inner:void 0,axis_y_label:{},axis_y_tick_format:void 0,axis_y_tick_outer:!0,axis_y_tick_values:null,axis_y_tick_rotate:0,axis_y_tick_count:void 0,axis_y_tick_time_value:void 0,axis_y_tick_time_interval:void 0,axis_y_padding:{},axis_y_default:void 0,axis_y2_show:!1,axis_y2_max:void 0,axis_y2_min:void 0,axis_y2_inverted:!1,axis_y2_center:void 0,axis_y2_inner:void 0,axis_y2_label:{},axis_y2_tick_format:void 0,axis_y2_tick_outer:!0,axis_y2_tick_values:null,axis_y2_tick_count:void 0,axis_y2_padding:{},axis_y2_default:void 0,grid_x_show:!1,grid_x_type:"tick",grid_x_lines:[],grid_y_show:!1,grid_y_lines:[],grid_y_ticks:10,grid_focus_show:!0,grid_lines_front:!0,point_show:!0,point_r:2.5,point_sensitivity:10,point_focus_expand_enabled:!0,point_focus_expand_r:void 0,point_select_r:void 0,line_connectNull:!1,line_step_type:"step",bar_width:void 0,bar_width_ratio:.6,bar_width_max:void 0,bar_zerobased:!0,area_zerobased:!0,area_above:!1,pie_label_show:!0,pie_label_format:void 0,pie_label_threshold:.05,pie_label_ratio:void 0,pie_expand:{},pie_expand_duration:50,gauge_fullCircle:!1,gauge_label_show:!0,gauge_label_format:void 0,gauge_min:0,gauge_max:100,gauge_startingAngle:-1*Math.PI/2,gauge_units:void 0,gauge_width:void 0,gauge_expand:{},gauge_expand_duration:50,donut_label_show:!0,donut_label_format:void 0,donut_label_threshold:.05,donut_label_ratio:void 0,donut_width:void 0,donut_title:"",donut_expand:{},donut_expand_duration:50,spline_interpolation_type:"cardinal",regions:[],tooltip_show:!0,tooltip_grouped:!0,tooltip_format_title:void 0,tooltip_format_name:void 0,tooltip_format_value:void 0,tooltip_position:void 0,tooltip_contents:function(e,t,n,r){return this.getTooltipContent?this.getTooltipContent(e,t,n,r):""},tooltip_init_show:!1,tooltip_init_x:0,tooltip_init_position:{top:"0px",left:"50px"},tooltip_onshow:function(){},tooltip_onhide:function(){},title_text:void 0,title_padding:{top:0,right:0,bottom:0,left:0},title_position:"top-center"};return Object.keys(this.additionalConfig).forEach(function(t){e[t]=this.additionalConfig[t]},this),e},h.additionalConfig={},h.loadConfig=function(e){function t(){var e=r.shift();return e&&n&&"object"==typeof n&&e in n?(n=n[e],t()):e?void 0:n}var n,r,i,a=this.config;Object.keys(a).forEach(function(o){n=e,r=o.split("_"),i=t(),b(i)&&(a[o]=i)})},h.getScale=function(e,t,n){return(n?this.d3.time.scale():this.d3.scale.linear()).range([e,t])},h.getX=function(e,t,n,r){var i,a=this,o=a.getScale(e,t,a.isTimeSeries()),s=n?o.domain(n):o;a.isCategorized()?(r=r||function(){return 0},o=function(e,t){var n=s(e)+r(e);return t?n:Math.ceil(n)}):o=function(e,t){var n=s(e);return t?n:Math.ceil(n)};for(i in s)o[i]=s[i];return o.orgDomain=function(){return s.domain()},a.isCategorized()&&(o.domain=function(e){return arguments.length?(s.domain(e),o):(e=this.orgDomain(),[e[0],e[1]+1])}),o},h.getY=function(e,t,n){var r=this.getScale(e,t,this.isTimeSeriesY());return n&&r.domain(n),r},h.getYScale=function(e){return"y2"===this.axis.getId(e)?this.y2:this.y},h.getSubYScale=function(e){return"y2"===this.axis.getId(e)?this.subY2:this.subY},h.updateScales=function(){var e=this,t=e.config,n=!e.x;e.xMin=t.axis_rotated?1:0,e.xMax=t.axis_rotated?e.height:e.width,e.yMin=t.axis_rotated?0:e.height,e.yMax=t.axis_rotated?e.width:1,e.subXMin=e.xMin,e.subXMax=e.xMax,e.subYMin=t.axis_rotated?0:e.height2,e.subYMax=t.axis_rotated?e.width2:1,e.x=e.getX(e.xMin,e.xMax,n?void 0:e.x.orgDomain(),function(){return e.xAxis.tickOffset()}),e.y=e.getY(e.yMin,e.yMax,n?t.axis_y_default:e.y.domain()),e.y2=e.getY(e.yMin,e.yMax,n?t.axis_y2_default:e.y2.domain()),e.subX=e.getX(e.xMin,e.xMax,e.orgXDomain,function(t){return t%1?0:e.subXAxis.tickOffset()}),e.subY=e.getY(e.subYMin,e.subYMax,n?t.axis_y_default:e.subY.domain()),e.subY2=e.getY(e.subYMin,e.subYMax,n?t.axis_y2_default:e.subY2.domain()),e.xAxisTickFormat=e.axis.getXAxisTickFormat(),e.xAxisTickValues=e.axis.getXAxisTickValues(),e.yAxisTickValues=e.axis.getYAxisTickValues(),e.y2AxisTickValues=e.axis.getY2AxisTickValues(),
e.xAxis=e.axis.getXAxis(e.x,e.xOrient,e.xAxisTickFormat,e.xAxisTickValues,t.axis_x_tick_outer),e.subXAxis=e.axis.getXAxis(e.subX,e.subXOrient,e.xAxisTickFormat,e.xAxisTickValues,t.axis_x_tick_outer),e.yAxis=e.axis.getYAxis(e.y,e.yOrient,t.axis_y_tick_format,e.yAxisTickValues,t.axis_y_tick_outer),e.y2Axis=e.axis.getYAxis(e.y2,e.y2Orient,t.axis_y2_tick_format,e.y2AxisTickValues,t.axis_y2_tick_outer),n||(e.brush&&e.brush.scale(e.subX),t.zoom_enabled&&e.zoom.scale(e.x)),e.updateArc&&e.updateArc()},h.getYDomainMin=function(e){var t,n,r,i,a,o,s=this,u=s.config,l=s.mapToIds(e),c=s.getValuesAsIdKeyed(e);if(u.data_groups.length>0)for(o=s.hasNegativeValueInTargets(e),t=0;t<u.data_groups.length;t++)if(i=u.data_groups[t].filter(function(e){return l.indexOf(e)>=0}),0!==i.length)for(r=i[0],o&&c[r]&&c[r].forEach(function(e,t){c[r][t]=e<0?e:0}),n=1;n<i.length;n++)a=i[n],c[a]&&c[a].forEach(function(e,t){s.axis.getId(a)!==s.axis.getId(r)||!c[r]||o&&+e>0||(c[r][t]+=+e)});return s.d3.min(Object.keys(c).map(function(e){return s.d3.min(c[e])}))},h.getYDomainMax=function(e){var t,n,r,i,a,o,s=this,u=s.config,l=s.mapToIds(e),c=s.getValuesAsIdKeyed(e);if(u.data_groups.length>0)for(o=s.hasPositiveValueInTargets(e),t=0;t<u.data_groups.length;t++)if(i=u.data_groups[t].filter(function(e){return l.indexOf(e)>=0}),0!==i.length)for(r=i[0],o&&c[r]&&c[r].forEach(function(e,t){c[r][t]=e>0?e:0}),n=1;n<i.length;n++)a=i[n],c[a]&&c[a].forEach(function(e,t){s.axis.getId(a)!==s.axis.getId(r)||!c[r]||o&&+e<0||(c[r][t]+=+e)});return s.d3.max(Object.keys(c).map(function(e){return s.d3.max(c[e])}))},h.getYDomain=function(e,t,n){var r,i,a,o,s,u,l,c,d,f,h,p=this,m=p.config,_=e.filter(function(e){return p.axis.getId(e.id)===t}),y=n?p.filterByXDomain(_,n):_,v="y2"===t?m.axis_y2_min:m.axis_y_min,x="y2"===t?m.axis_y2_max:m.axis_y_max,b=p.getYDomainMin(y),M=p.getYDomainMax(y),L="y2"===t?m.axis_y2_center:m.axis_y_center,w=p.hasType("bar",y)&&m.bar_zerobased||p.hasType("area",y)&&m.area_zerobased,k="y2"===t?m.axis_y2_inverted:m.axis_y_inverted,D=p.hasDataLabel()&&m.axis_rotated,Y=p.hasDataLabel()&&!m.axis_rotated;return b=g(v)?v:g(x)?b<x?b:x-10:b,M=g(x)?x:g(v)?v<M?M:v+10:M,0===y.length?"y2"===t?p.y2.domain():p.y.domain():(isNaN(b)&&(b=0),isNaN(M)&&(M=b),b===M&&(b<0?M=0:b=0),f=b>=0&&M>=0,h=b<=0&&M<=0,(g(v)&&f||g(x)&&h)&&(w=!1),w&&(f&&(b=0),h&&(M=0)),i=Math.abs(M-b),a=o=s=.1*i,"undefined"!=typeof L&&(u=Math.max(Math.abs(b),Math.abs(M)),M=L+u,b=L-u),D?(l=p.getDataLabelLength(b,M,"width"),c=S(p.y.range()),d=[l[0]/c,l[1]/c],o+=i*(d[1]/(1-d[0]-d[1])),s+=i*(d[0]/(1-d[0]-d[1]))):Y&&(l=p.getDataLabelLength(b,M,"height"),o+=p.axis.convertPixelsToAxisPadding(l[1],i),s+=p.axis.convertPixelsToAxisPadding(l[0],i)),"y"===t&&T(m.axis_y_padding)&&(o=p.axis.getPadding(m.axis_y_padding,"top",o,i),s=p.axis.getPadding(m.axis_y_padding,"bottom",s,i)),"y2"===t&&T(m.axis_y2_padding)&&(o=p.axis.getPadding(m.axis_y2_padding,"top",o,i),s=p.axis.getPadding(m.axis_y2_padding,"bottom",s,i)),w&&(f&&(s=b),h&&(o=-M)),r=[b-s,M+o],k?r.reverse():r)},h.getXDomainMin=function(e){var t=this,n=t.config;return b(n.axis_x_min)?t.isTimeSeries()?this.parseDate(n.axis_x_min):n.axis_x_min:t.d3.min(e,function(e){return t.d3.min(e.values,function(e){return e.x})})},h.getXDomainMax=function(e){var t=this,n=t.config;return b(n.axis_x_max)?t.isTimeSeries()?this.parseDate(n.axis_x_max):n.axis_x_max:t.d3.max(e,function(e){return t.d3.max(e.values,function(e){return e.x})})},h.getXDomainPadding=function(e){var t,n,r,i,a=this,o=a.config,s=e[1]-e[0];return a.isCategorized()?n=0:a.hasType("bar")?(t=a.getMaxDataCount(),n=t>1?s/(t-1)/2:.5):n=.01*s,"object"==typeof o.axis_x_padding&&T(o.axis_x_padding)?(r=g(o.axis_x_padding.left)?o.axis_x_padding.left:n,i=g(o.axis_x_padding.right)?o.axis_x_padding.right:n):r=i="number"==typeof o.axis_x_padding?o.axis_x_padding:n,{left:r,right:i}},h.getXDomain=function(e){var t=this,n=[t.getXDomainMin(e),t.getXDomainMax(e)],r=n[0],i=n[1],a=t.getXDomainPadding(n),o=0,s=0;return r-i!==0||t.isCategorized()||(t.isTimeSeries()?(r=new Date(.5*r.getTime()),i=new Date(1.5*i.getTime())):(r=0===r?1:.5*r,i=0===i?-1:1.5*i)),(r||0===r)&&(o=t.isTimeSeries()?new Date(r.getTime()-a.left):r-a.left),(i||0===i)&&(s=t.isTimeSeries()?new Date(i.getTime()+a.right):i+a.right),[o,s]},h.updateXDomain=function(e,t,n,r,i){var a=this,o=a.config;return n&&(a.x.domain(i?i:a.d3.extent(a.getXDomain(e))),a.orgXDomain=a.x.domain(),o.zoom_enabled&&a.zoom.scale(a.x).updateScaleExtent(),a.subX.domain(a.x.domain()),a.brush&&a.brush.scale(a.subX)),t&&(a.x.domain(i?i:!a.brush||a.brush.empty()?a.orgXDomain:a.brush.extent()),o.zoom_enabled&&a.zoom.scale(a.x).updateScaleExtent()),r&&a.x.domain(a.trimXDomain(a.x.orgDomain())),a.x.domain()},h.trimXDomain=function(e){var t=this.getZoomDomain(),n=t[0],r=t[1];return e[0]<=n&&(e[1]=+e[1]+(n-e[0]),e[0]=n),r<=e[1]&&(e[0]=+e[0]-(e[1]-r),e[1]=r),e},h.isX=function(e){var t=this,n=t.config;return n.data_x&&e===n.data_x||T(n.data_xs)&&D(n.data_xs,e)},h.isNotX=function(e){return!this.isX(e)},h.getXKey=function(e){var t=this,n=t.config;return n.data_x?n.data_x:T(n.data_xs)?n.data_xs[e]:null},h.getXValuesOfXKey=function(e,t){var n,r=this,i=t&&T(t)?r.mapToIds(t):[];return i.forEach(function(t){r.getXKey(t)===e&&(n=r.data.xs[t])}),n},h.getIndexByX=function(e){var t=this,n=t.filterByX(t.data.targets,e);return n.length?n[0].index:null},h.getXValue=function(e,t){var n=this;return e in n.data.xs&&n.data.xs[e]&&g(n.data.xs[e][t])?n.data.xs[e][t]:t},h.getOtherTargetXs=function(){var e=this,t=Object.keys(e.data.xs);return t.length?e.data.xs[t[0]]:null},h.getOtherTargetX=function(e){var t=this.getOtherTargetXs();return t&&e<t.length?t[e]:null},h.addXs=function(e){var t=this;Object.keys(e).forEach(function(n){t.config.data_xs[n]=e[n]})},h.hasMultipleX=function(e){return this.d3.set(Object.keys(e).map(function(t){return e[t]})).size()>1},h.isMultipleX=function(){return T(this.config.data_xs)||!this.config.data_xSort||this.hasType("scatter")},h.addName=function(e){var t,n=this;return e&&(t=n.config.data_names[e.id],e.name=void 0!==t?t:e.id),e},h.getValueOnIndex=function(e,t){var n=e.filter(function(e){return e.index===t});return n.length?n[0]:null},h.updateTargetX=function(e,t){var n=this;e.forEach(function(e){e.values.forEach(function(r,i){r.x=n.generateTargetX(t[i],e.id,i)}),n.data.xs[e.id]=t})},h.updateTargetXs=function(e,t){var n=this;e.forEach(function(e){t[e.id]&&n.updateTargetX([e],t[e.id])})},h.generateTargetX=function(e,t,n){var r,i=this;return r=i.isTimeSeries()?e?i.parseDate(e):i.parseDate(i.getXValue(t,n)):i.isCustomX()&&!i.isCategorized()?g(e)?+e:i.getXValue(t,n):n},h.cloneTarget=function(e){return{id:e.id,id_org:e.id_org,values:e.values.map(function(e){return{x:e.x,value:e.value,id:e.id}})}},h.updateXs=function(){var e=this;e.data.targets.length&&(e.xs=[],e.data.targets[0].values.forEach(function(t){e.xs[t.index]=t.x}))},h.getPrevX=function(e){var t=this.xs[e-1];return"undefined"!=typeof t?t:null},h.getNextX=function(e){var t=this.xs[e+1];return"undefined"!=typeof t?t:null},h.getMaxDataCount=function(){var e=this;return e.d3.max(e.data.targets,function(e){return e.values.length})},h.getMaxDataCountTarget=function(e){var t,n=e.length,r=0;return n>1?e.forEach(function(e){e.values.length>r&&(t=e,r=e.values.length)}):t=n?e[0]:null,t},h.getEdgeX=function(e){var t=this;return e.length?[t.d3.min(e,function(e){return e.values[0].x}),t.d3.max(e,function(e){return e.values[e.values.length-1].x})]:[0,0]},h.mapToIds=function(e){return e.map(function(e){return e.id})},h.mapToTargetIds=function(e){var t=this;return e?[].concat(e):t.mapToIds(t.data.targets)},h.hasTarget=function(e,t){var n,r=this.mapToIds(e);for(n=0;n<r.length;n++)if(r[n]===t)return!0;return!1},h.isTargetToShow=function(e){return this.hiddenTargetIds.indexOf(e)<0},h.isLegendToShow=function(e){return this.hiddenLegendIds.indexOf(e)<0},h.filterTargetsToShow=function(e){var t=this;return e.filter(function(e){return t.isTargetToShow(e.id)})},h.mapTargetsToUniqueXs=function(e){var t=this,n=t.d3.set(t.d3.merge(e.map(function(e){return e.values.map(function(e){return+e.x})}))).values();return n=t.isTimeSeries()?n.map(function(e){return new Date(+e)}):n.map(function(e){return+e}),n.sort(function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN})},h.addHiddenTargetIds=function(e){this.hiddenTargetIds=this.hiddenTargetIds.concat(e)},h.removeHiddenTargetIds=function(e){this.hiddenTargetIds=this.hiddenTargetIds.filter(function(t){return e.indexOf(t)<0})},h.addHiddenLegendIds=function(e){this.hiddenLegendIds=this.hiddenLegendIds.concat(e)},h.removeHiddenLegendIds=function(e){this.hiddenLegendIds=this.hiddenLegendIds.filter(function(t){return e.indexOf(t)<0})},h.getValuesAsIdKeyed=function(e){var t={};return e.forEach(function(e){t[e.id]=[],e.values.forEach(function(n){t[e.id].push(n.value)})}),t},h.checkValueInTargets=function(e,t){var n,r,i,a=Object.keys(e);for(n=0;n<a.length;n++)for(i=e[a[n]].values,r=0;r<i.length;r++)if(t(i[r].value))return!0;return!1},h.hasNegativeValueInTargets=function(e){return this.checkValueInTargets(e,function(e){return e<0})},h.hasPositiveValueInTargets=function(e){return this.checkValueInTargets(e,function(e){return e>0})},h.isOrderDesc=function(){var e=this.config;return"string"==typeof e.data_order&&"desc"===e.data_order.toLowerCase()},h.isOrderAsc=function(){var e=this.config;return"string"==typeof e.data_order&&"asc"===e.data_order.toLowerCase()},h.orderTargets=function(e){var t=this,n=t.config,r=t.isOrderAsc(),i=t.isOrderDesc();return r||i?e.sort(function(e,t){var n=function(e,t){return e+Math.abs(t.value)},i=e.values.reduce(n,0),a=t.values.reduce(n,0);return r?a-i:i-a}):y(n.data_order)&&e.sort(n.data_order),e},h.filterByX=function(e,t){return this.d3.merge(e.map(function(e){return e.values})).filter(function(e){return e.x-t===0})},h.filterRemoveNull=function(e){return e.filter(function(e){return g(e.value)})},h.filterByXDomain=function(e,t){return e.map(function(e){return{id:e.id,id_org:e.id_org,values:e.values.filter(function(e){return t[0]<=e.x&&e.x<=t[1]})}})},h.hasDataLabel=function(){var e=this.config;return!("boolean"!=typeof e.data_labels||!e.data_labels)||!("object"!=typeof e.data_labels||!T(e.data_labels))},h.getDataLabelLength=function(e,t,n){var r=this,i=[0,0],a=1.3;return r.selectChart.select("svg").selectAll(".dummy").data([e,t]).enter().append("text").text(function(e){return r.dataLabelFormat(e.id)(e)}).each(function(e,t){i[t]=this.getBoundingClientRect()[n]*a}).remove(),i},h.isNoneArc=function(e){return this.hasTarget(this.data.targets,e.id)},h.isArc=function(e){return"data"in e&&this.hasTarget(this.data.targets,e.data.id)},h.findSameXOfValues=function(e,t){var n,r=e[t].x,i=[];for(n=t-1;n>=0&&r===e[n].x;n--)i.push(e[n]);for(n=t;n<e.length&&r===e[n].x;n++)i.push(e[n]);return i},h.findClosestFromTargets=function(e,t){var n,r=this;return n=e.map(function(e){return r.findClosest(e.values,t)}),r.findClosest(n,t)},h.findClosest=function(e,t){var n,r=this,i=r.config.point_sensitivity;return e.filter(function(e){return e&&r.isBarType(e.id)}).forEach(function(e){var t=r.main.select("."+_.bars+r.getTargetSelectorSuffix(e.id)+" ."+_.bar+"-"+e.index).node();!n&&r.isWithinBar(t)&&(n=e)}),e.filter(function(e){return e&&!r.isBarType(e.id)}).forEach(function(e){var a=r.dist(e,t);a<i&&(i=a,n=e)}),n},h.dist=function(e,t){var n=this,r=n.config,i=r.axis_rotated?1:0,a=r.axis_rotated?0:1,o=n.circleY(e,e.index),s=n.x(e.x);return Math.sqrt(Math.pow(s-t[i],2)+Math.pow(o-t[a],2))},h.convertValuesToStep=function(e){var t,n=[].concat(e);if(!this.isCategorized())return e;for(t=e.length+1;0<t;t--)n[t]=n[t-1];return n[0]={x:n[0].x-1,value:n[0].value,id:n[0].id},n[e.length+1]={x:n[e.length].x+1,value:n[e.length].value,id:n[e.length].id},n},h.updateDataAttributes=function(e,t){var n=this,r=n.config,i=r["data_"+e];return"undefined"==typeof t?i:(Object.keys(t).forEach(function(e){i[e]=t[e]}),n.redraw({withLegend:!0}),i)},h.convertUrlToData=function(e,t,n,r,i){var a=this,o=t?t:"csv",s=a.d3.xhr(e);n&&Object.keys(n).forEach(function(e){s.header(e,n[e])}),s.get(function(e,t){var n;if(!t)throw new Error(e.responseURL+" "+e.status+" ("+e.statusText+")");n="json"===o?a.convertJsonToData(JSON.parse(t.response),r):"tsv"===o?a.convertTsvToData(t.response):a.convertCsvToData(t.response),i.call(a,n)})},h.convertXsvToData=function(e,t){var n,r=t.parseRows(e);return 1===r.length?(n=[{}],r[0].forEach(function(e){n[0][e]=null})):n=t.parse(e),n},h.convertCsvToData=function(e){return this.convertXsvToData(e,this.d3.csv)},h.convertTsvToData=function(e){return this.convertXsvToData(e,this.d3.tsv)},h.convertJsonToData=function(e,t){var n,r,i=this,a=[];return t?(t.x?(n=t.value.concat(t.x),i.config.data_x=t.x):n=t.value,a.push(n),e.forEach(function(e){var t=[];n.forEach(function(n){var r=i.findValueInJson(e,n);x(r)&&(r=null),t.push(r)}),a.push(t)}),r=i.convertRowsToData(a)):(Object.keys(e).forEach(function(t){a.push([t].concat(e[t]))}),r=i.convertColumnsToData(a)),r},h.findValueInJson=function(e,t){t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var n=t.split("."),r=0;r<n.length;++r){var i=n[r];if(!(i in e))return;e=e[i]}return e},h.convertRowsToData=function(e){var t,n,r=e[0],i={},a=[];for(t=1;t<e.length;t++){for(i={},n=0;n<e[t].length;n++){if(x(e[t][n]))throw new Error("Source data is missing a component at ("+t+","+n+")!");i[r[n]]=e[t][n]}a.push(i)}return a},h.convertColumnsToData=function(e){var t,n,r,i=[];for(t=0;t<e.length;t++)for(r=e[t][0],n=1;n<e[t].length;n++){if(x(i[n-1])&&(i[n-1]={}),x(e[t][n]))throw new Error("Source data is missing a component at ("+t+","+n+")!");i[n-1][r]=e[t][n]}return i},h.convertDataToTargets=function(e,t){var n,r=this,i=r.config,a=r.d3.keys(e[0]).filter(r.isNotX,r),o=r.d3.keys(e[0]).filter(r.isX,r);return a.forEach(function(n){var a=r.getXKey(n);r.isCustomX()||r.isTimeSeries()?o.indexOf(a)>=0?r.data.xs[n]=(t&&r.data.xs[n]?r.data.xs[n]:[]).concat(e.map(function(e){return e[a]}).filter(g).map(function(e,t){return r.generateTargetX(e,n,t)})):i.data_x?r.data.xs[n]=r.getOtherTargetXs():T(i.data_xs)&&(r.data.xs[n]=r.getXValuesOfXKey(a,r.data.targets)):r.data.xs[n]=e.map(function(e,t){return t})}),a.forEach(function(e){if(!r.data.xs[e])throw new Error('x is not defined for id = "'+e+'".')}),n=a.map(function(t,n){var a=i.data_idConverter(t);return{id:a,id_org:t,values:e.map(function(e,o){var s,u=r.getXKey(t),l=e[u],c=null===e[t]||isNaN(e[t])?null:+e[t];return r.isCustomX()&&r.isCategorized()&&0===n&&!x(l)?(0===n&&0===o&&(i.axis_x_categories=[]),s=i.axis_x_categories.indexOf(l),s===-1&&(s=i.axis_x_categories.length,i.axis_x_categories.push(l))):s=r.generateTargetX(l,t,o),(x(e[t])||r.data.xs[t].length<=o)&&(s=void 0),{x:s,value:c,id:a}}).filter(function(e){return b(e.x)})}}),n.forEach(function(e){var t;i.data_xSort&&(e.values=e.values.sort(function(e,t){var n=e.x||0===e.x?e.x:1/0,r=t.x||0===t.x?t.x:1/0;return n-r})),t=0,e.values.forEach(function(e){e.index=t++}),r.data.xs[e.id].sort(function(e,t){return e-t})}),r.hasNegativeValue=r.hasNegativeValueInTargets(n),r.hasPositiveValue=r.hasPositiveValueInTargets(n),i.data_type&&r.setTargetType(r.mapToIds(n).filter(function(e){return!(e in i.data_types)}),i.data_type),n.forEach(function(e){r.addCache(e.id_org,e)}),n},h.load=function(e,t){var n=this;e&&(t.filter&&(e=e.filter(t.filter)),(t.type||t.types)&&e.forEach(function(e){var r=t.types&&t.types[e.id]?t.types[e.id]:t.type;n.setTargetType(e.id,r)}),n.data.targets.forEach(function(t){for(var n=0;n<e.length;n++)if(t.id===e[n].id){t.values=e[n].values,e.splice(n,1);break}}),n.data.targets=n.data.targets.concat(e)),n.updateTargets(n.data.targets),n.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),t.done&&t.done()},h.loadFromArgs=function(e){var t=this;e.data?t.load(t.convertDataToTargets(e.data),e):e.url?t.convertUrlToData(e.url,e.mimeType,e.headers,e.keys,function(n){t.load(t.convertDataToTargets(n),e)}):e.json?t.load(t.convertDataToTargets(t.convertJsonToData(e.json,e.keys)),e):e.rows?t.load(t.convertDataToTargets(t.convertRowsToData(e.rows)),e):e.columns?t.load(t.convertDataToTargets(t.convertColumnsToData(e.columns)),e):t.load(null,e)},h.unload=function(e,t){var n=this;return t||(t=function(){}),e=e.filter(function(e){return n.hasTarget(n.data.targets,e)}),e&&0!==e.length?(n.svg.selectAll(e.map(function(e){return n.selectorTarget(e)})).transition().style("opacity",0).remove().call(n.endall,t),void e.forEach(function(e){n.withoutFadeIn[e]=!1,n.legend&&n.legend.selectAll("."+_.legendItem+n.getTargetSelectorSuffix(e)).remove(),n.data.targets=n.data.targets.filter(function(t){return t.id!==e})})):void t()},h.categoryName=function(e){var t=this.config;return e<t.axis_x_categories.length?t.axis_x_categories[e]:e},h.initEventRect=function(){var e=this;e.main.select("."+_.chart).append("g").attr("class",_.eventRects).style("fill-opacity",0)},h.redrawEventRect=function(){var e,t,n=this,r=n.config,i=n.isMultipleX(),a=n.main.select("."+_.eventRects).style("cursor",r.zoom_enabled?r.axis_rotated?"ns-resize":"ew-resize":null).classed(_.eventRectsMultiple,i).classed(_.eventRectsSingle,!i);a.selectAll("."+_.eventRect).remove(),n.eventRect=a.selectAll("."+_.eventRect),i?(e=n.eventRect.data([0]),n.generateEventRectsForMultipleXs(e.enter()),n.updateEventRect(e)):(t=n.getMaxDataCountTarget(n.data.targets),a.datum(t?t.values:[]),n.eventRect=a.selectAll("."+_.eventRect),e=n.eventRect.data(function(e){return e}),n.generateEventRectsForSingleX(e.enter()),n.updateEventRect(e),e.exit().remove())},h.updateEventRect=function(e){var t,n,r,i,a,o,s=this,u=s.config;e=e||s.eventRect.data(function(e){return e}),s.isMultipleX()?(t=0,n=0,r=s.width,i=s.height):(!s.isCustomX()&&!s.isTimeSeries()||s.isCategorized()?(a=s.getEventRectWidth(),o=function(e){return s.x(e.x)-a/2}):(s.updateXs(),a=function(e){var t=s.getPrevX(e.index),n=s.getNextX(e.index);return null===t&&null===n?u.axis_rotated?s.height:s.width:(null===t&&(t=s.x.domain()[0]),null===n&&(n=s.x.domain()[1]),Math.max(0,(s.x(n)-s.x(t))/2))},o=function(e){var t=s.getPrevX(e.index),n=s.getNextX(e.index),r=s.data.xs[e.id][e.index];return null===t&&null===n?0:(null===t&&(t=s.x.domain()[0]),(s.x(r)+s.x(t))/2)}),t=u.axis_rotated?0:o,n=u.axis_rotated?o:0,r=u.axis_rotated?s.width:a,i=u.axis_rotated?a:s.height),e.attr("class",s.classEvent.bind(s)).attr("x",t).attr("y",n).attr("width",r).attr("height",i)},h.generateEventRectsForSingleX=function(e){var t=this,n=t.d3,r=t.config;e.append("rect").attr("class",t.classEvent.bind(t)).style("cursor",r.data_selection_enabled&&r.data_selection_grouped?"pointer":null).on("mouseover",function(e){var n=e.index;t.dragging||t.flowing||t.hasArcType()||(r.point_focus_expand_enabled&&t.expandCircles(n,null,!0),t.expandBars(n,null,!0),t.main.selectAll("."+_.shape+"-"+n).each(function(e){r.data_onmouseover.call(t.api,e)}))}).on("mouseout",function(e){var n=e.index;t.config&&(t.hasArcType()||(t.hideXGridFocus(),t.hideTooltip(),t.unexpandCircles(),t.unexpandBars(),t.main.selectAll("."+_.shape+"-"+n).each(function(e){r.data_onmouseout.call(t.api,e)})))}).on("mousemove",function(e){var i,a=e.index,o=t.svg.select("."+_.eventRect+"-"+a);t.dragging||t.flowing||t.hasArcType()||(t.isStepType(e)&&"step-after"===t.config.line_step_type&&n.mouse(this)[0]<t.x(t.getXValue(e.id,a))&&(a-=1),i=t.filterTargetsToShow(t.data.targets).map(function(e){return t.addName(t.getValueOnIndex(e.values,a))}),r.tooltip_grouped&&(t.showTooltip(i,this),t.showXGridFocus(i)),(!r.tooltip_grouped||r.data_selection_enabled&&!r.data_selection_grouped)&&t.main.selectAll("."+_.shape+"-"+a).each(function(){n.select(this).classed(_.EXPANDED,!0),r.data_selection_enabled&&o.style("cursor",r.data_selection_grouped?"pointer":null),r.tooltip_grouped||(t.hideXGridFocus(),t.hideTooltip(),r.data_selection_grouped||(t.unexpandCircles(a),t.unexpandBars(a)))}).filter(function(e){return t.isWithinShape(this,e)}).each(function(e){r.data_selection_enabled&&(r.data_selection_grouped||r.data_selection_isselectable(e))&&o.style("cursor","pointer"),r.tooltip_grouped||(t.showTooltip([e],this),t.showXGridFocus([e]),r.point_focus_expand_enabled&&t.expandCircles(a,e.id,!0),t.expandBars(a,e.id,!0))}))}).on("click",function(e){var i=e.index;if(!t.hasArcType()&&t.toggleShape){if(t.cancelClick)return void(t.cancelClick=!1);t.isStepType(e)&&"step-after"===r.line_step_type&&n.mouse(this)[0]<t.x(t.getXValue(e.id,i))&&(i-=1),t.main.selectAll("."+_.shape+"-"+i).each(function(e){(r.data_selection_grouped||t.isWithinShape(this,e))&&(t.toggleShape(this,e,i),t.config.data_onclick.call(t.api,e,this))})}}).call(r.data_selection_draggable&&t.drag?n.behavior.drag().origin(Object).on("drag",function(){t.drag(n.mouse(this))}).on("dragstart",function(){t.dragstart(n.mouse(this))}).on("dragend",function(){t.dragend()}):function(){})},h.generateEventRectsForMultipleXs=function(e){function t(){n.svg.select("."+_.eventRect).style("cursor",null),n.hideXGridFocus(),n.hideTooltip(),n.unexpandCircles(),n.unexpandBars()}var n=this,r=n.d3,i=n.config;e.append("rect").attr("x",0).attr("y",0).attr("width",n.width).attr("height",n.height).attr("class",_.eventRect).on("mouseout",function(){n.config&&(n.hasArcType()||t())}).on("mousemove",function(){var e,a,o,s,u=n.filterTargetsToShow(n.data.targets);if(!n.dragging&&!n.hasArcType(u)){if(e=r.mouse(this),a=n.findClosestFromTargets(u,e),!n.mouseover||a&&a.id===n.mouseover.id||(i.data_onmouseout.call(n.api,n.mouseover),n.mouseover=void 0),!a)return void t();o=n.isScatterType(a)||!i.tooltip_grouped?[a]:n.filterByX(u,a.x),s=o.map(function(e){return n.addName(e)}),n.showTooltip(s,this),i.point_focus_expand_enabled&&n.expandCircles(a.index,a.id,!0),n.expandBars(a.index,a.id,!0),n.showXGridFocus(s),(n.isBarType(a.id)||n.dist(a,e)<i.point_sensitivity)&&(n.svg.select("."+_.eventRect).style("cursor","pointer"),n.mouseover||(i.data_onmouseover.call(n.api,a),n.mouseover=a))}}).on("click",function(){var e,t,a=n.filterTargetsToShow(n.data.targets);n.hasArcType(a)||(e=r.mouse(this),t=n.findClosestFromTargets(a,e),t&&(n.isBarType(t.id)||n.dist(t,e)<i.point_sensitivity)&&n.main.selectAll("."+_.shapes+n.getTargetSelectorSuffix(t.id)).selectAll("."+_.shape+"-"+t.index).each(function(){(i.data_selection_grouped||n.isWithinShape(this,t))&&(n.toggleShape(this,t,t.index),n.config.data_onclick.call(n.api,t,this))}))}).call(i.data_selection_draggable&&n.drag?r.behavior.drag().origin(Object).on("drag",function(){n.drag(r.mouse(this))}).on("dragstart",function(){n.dragstart(r.mouse(this))}).on("dragend",function(){n.dragend()}):function(){})},h.dispatchEvent=function(e,t,n){var r=this,i="."+_.eventRect+(r.isMultipleX()?"":"-"+t),o=r.main.select(i).node(),s=o.getBoundingClientRect(),u=s.left+(n?n[0]:0),l=s.top+(n?n[1]:0),c=document.createEvent("MouseEvents");c.initMouseEvent(e,!0,!0,a,0,u,l,u,l,!1,!1,!1,!1,0,null),o.dispatchEvent(c)},h.getCurrentWidth=function(){var e=this,t=e.config;return t.size_width?t.size_width:e.getParentWidth()},h.getCurrentHeight=function(){var e=this,t=e.config,n=t.size_height?t.size_height:e.getParentHeight();return n>0?n:320/(e.hasType("gauge")&&!t.gauge_fullCircle?2:1)},h.getCurrentPaddingTop=function(){var e=this,t=e.config,n=g(t.padding_top)?t.padding_top:0;return e.title&&e.title.node()&&(n+=e.getTitlePadding()),n},h.getCurrentPaddingBottom=function(){var e=this.config;return g(e.padding_bottom)?e.padding_bottom:0},h.getCurrentPaddingLeft=function(e){var t=this,n=t.config;return g(n.padding_left)?n.padding_left:n.axis_rotated?n.axis_x_show?Math.max(M(t.getAxisWidthByAxisId("x",e)),40):1:!n.axis_y_show||n.axis_y_inner?t.axis.getYAxisLabelPosition().isOuter?30:1:M(t.getAxisWidthByAxisId("y",e))},h.getCurrentPaddingRight=function(){var e=this,t=e.config,n=10,r=e.isLegendRight?e.getLegendWidth()+20:0;return g(t.padding_right)?t.padding_right+1:t.axis_rotated?n+r:!t.axis_y2_show||t.axis_y2_inner?2+r+(e.axis.getY2AxisLabelPosition().isOuter?20:0):M(e.getAxisWidthByAxisId("y2"))+r},h.getParentRectValue=function(e){for(var t,n=this.selectChart.node();n&&"BODY"!==n.tagName;){try{t=n.getBoundingClientRect()[e]}catch(r){"width"===e&&(t=n.offsetWidth)}if(t)break;n=n.parentNode}return t},h.getParentWidth=function(){return this.getParentRectValue("width")},h.getParentHeight=function(){var e=this.selectChart.style("height");return e.indexOf("px")>0?+e.replace("px",""):0},h.getSvgLeft=function(e){var t=this,n=t.config,r=n.axis_rotated||!n.axis_rotated&&!n.axis_y_inner,i=n.axis_rotated?_.axisX:_.axisY,a=t.main.select("."+i).node(),o=a&&r?a.getBoundingClientRect():{right:0},s=t.selectChart.node().getBoundingClientRect(),u=t.hasArcType(),l=o.right-s.left-(u?0:t.getCurrentPaddingLeft(e));return l>0?l:0},h.getAxisWidthByAxisId=function(e,t){var n=this,r=n.axis.getLabelPositionById(e);return n.axis.getMaxTickWidth(e,t)+(r.isInner?20:40)},h.getHorizontalAxisHeight=function(e){var t=this,n=t.config,r=30;return"x"!==e||n.axis_x_show?"x"===e&&n.axis_x_height?n.axis_x_height:"y"!==e||n.axis_y_show?"y2"!==e||n.axis_y2_show?("x"===e&&!n.axis_rotated&&n.axis_x_tick_rotate&&(r=30+t.axis.getMaxTickWidth(e)*Math.cos(Math.PI*(90-n.axis_x_tick_rotate)/180)),"y"===e&&n.axis_rotated&&n.axis_y_tick_rotate&&(r=30+t.axis.getMaxTickWidth(e)*Math.cos(Math.PI*(90-n.axis_y_tick_rotate)/180)),r+(t.axis.getLabelPositionById(e).isInner?0:10)+("y2"===e?-10:0)):t.rotated_padding_top:!n.legend_show||t.isLegendRight||t.isLegendInset?1:10:8},h.getEventRectWidth=function(){return Math.max(0,this.xAxis.tickInterval())},h.getShapeIndices=function(e){var t,n,r=this,i=r.config,a={},o=0;return r.filterTargetsToShow(r.data.targets.filter(e,r)).forEach(function(e){for(t=0;t<i.data_groups.length;t++)if(!(i.data_groups[t].indexOf(e.id)<0))for(n=0;n<i.data_groups[t].length;n++)if(i.data_groups[t][n]in a){a[e.id]=a[i.data_groups[t][n]];break}x(a[e.id])&&(a[e.id]=o++)}),a.__max__=o-1,a},h.getShapeX=function(e,t,n,r){var i=this,a=r?i.subX:i.x;return function(r){var i=r.id in n?n[r.id]:0;return r.x||0===r.x?a(r.x)-e*(t/2-i):0}},h.getShapeY=function(e){var t=this;return function(n){var r=e?t.getSubYScale(n.id):t.getYScale(n.id);return r(n.value)}},h.getShapeOffset=function(e,t,n){var r=this,i=r.orderTargets(r.filterTargetsToShow(r.data.targets.filter(e,r))),a=i.map(function(e){return e.id});return function(e,o){var s=n?r.getSubYScale(e.id):r.getYScale(e.id),u=s(0),l=u;return i.forEach(function(n){var i=r.isStepType(e)?r.convertValuesToStep(n.values):n.values;n.id!==e.id&&t[n.id]===t[e.id]&&a.indexOf(n.id)<a.indexOf(e.id)&&("undefined"!=typeof i[o]&&+i[o].x===+e.x||(o=-1,i.forEach(function(t,n){t.x===e.x&&(o=n)})),o in i&&i[o].value*e.value>=0&&(l+=s(i[o].value)-u))}),l}},h.isWithinShape=function(e,t){var n,r=this,i=r.d3.select(e);return r.isTargetToShow(t.id)?"circle"===e.nodeName?n=r.isStepType(t)?r.isWithinStep(e,r.getYScale(t.id)(t.value)):r.isWithinCircle(e,1.5*r.pointSelectR(t)):"path"===e.nodeName&&(n=!i.classed(_.bar)||r.isWithinBar(e)):n=!1,n},h.getInterpolate=function(e){var t=this,n=t.isInterpolationType(t.config.spline_interpolation_type)?t.config.spline_interpolation_type:"cardinal";return t.isSplineType(e)?n:t.isStepType(e)?t.config.line_step_type:"linear"},h.initLine=function(){var e=this;e.main.select("."+_.chart).append("g").attr("class",_.chartLines)},h.updateTargetsForLine=function(e){var t,n,r=this,i=r.config,a=r.classChartLine.bind(r),o=r.classLines.bind(r),s=r.classAreas.bind(r),u=r.classCircles.bind(r),l=r.classFocus.bind(r);t=r.main.select("."+_.chartLines).selectAll("."+_.chartLine).data(e).attr("class",function(e){return a(e)+l(e)}),n=t.enter().append("g").attr("class",a).style("opacity",0).style("pointer-events","none"),n.append("g").attr("class",o),n.append("g").attr("class",s),n.append("g").attr("class",function(e){return r.generateClass(_.selectedCircles,e.id)}),n.append("g").attr("class",u).style("cursor",function(e){return i.data_selection_isselectable(e)?"pointer":null}),e.forEach(function(e){r.main.selectAll("."+_.selectedCircles+r.getTargetSelectorSuffix(e.id)).selectAll("."+_.selectedCircle).each(function(t){t.value=e.values[t.index].value})})},h.updateLine=function(e){var t=this;t.mainLine=t.main.selectAll("."+_.lines).selectAll("."+_.line).data(t.lineData.bind(t)),t.mainLine.enter().append("path").attr("class",t.classLine.bind(t)).style("stroke",t.color),t.mainLine.style("opacity",t.initialOpacity.bind(t)).style("shape-rendering",function(e){return t.isStepType(e)?"crispEdges":""}).attr("transform",null),t.mainLine.exit().transition().duration(e).style("opacity",0).remove()},h.redrawLine=function(e,t){return[(t?this.mainLine.transition(Math.random().toString()):this.mainLine).attr("d",e).style("stroke",this.color).style("opacity",1)]},h.generateDrawLine=function(e,t){var n=this,r=n.config,i=n.d3.svg.line(),a=n.generateGetLinePoints(e,t),o=t?n.getSubYScale:n.getYScale,s=function(e){return(t?n.subxx:n.xx).call(n,e)},u=function(e,t){return r.data_groups.length>0?a(e,t)[0][1]:o.call(n,e.id)(e.value)};return i=r.axis_rotated?i.x(u).y(s):i.x(s).y(u),r.line_connectNull||(i=i.defined(function(e){return null!=e.value})),function(e){var a,s=r.line_connectNull?n.filterRemoveNull(e.values):e.values,u=t?n.x:n.subX,l=o.call(n,e.id),c=0,d=0;return n.isLineType(e)?r.data_regions[e.id]?a=n.lineWithRegions(s,u,l,r.data_regions[e.id]):(n.isStepType(e)&&(s=n.convertValuesToStep(s)),a=i.interpolate(n.getInterpolate(e))(s)):(s[0]&&(c=u(s[0].x),d=l(s[0].value)),a=r.axis_rotated?"M "+d+" "+c:"M "+c+" "+d),a?a:"M 0 0"}},h.generateGetLinePoints=function(e,t){var n=this,r=n.config,i=e.__max__+1,a=n.getShapeX(0,i,e,!!t),o=n.getShapeY(!!t),s=n.getShapeOffset(n.isLineType,e,!!t),u=t?n.getSubYScale:n.getYScale;return function(e,t){var i=u.call(n,e.id)(0),l=s(e,t)||i,c=a(e),d=o(e);return r.axis_rotated&&(0<e.value&&d<i||e.value<0&&i<d)&&(d=i),[[c,d-(i-l)],[c,d-(i-l)],[c,d-(i-l)],[c,d-(i-l)]]}},h.lineWithRegions=function(e,t,n,r){function i(e,t){var n;for(n=0;n<t.length;n++)if(t[n].start<e&&e<=t[n].end)return!0;return!1}function a(e){return"M"+e[0][0]+" "+e[0][1]+" "+e[1][0]+" "+e[1][1]}var o,s,u,l,c,d,f,h,p,m,_,g,y=this,v=y.config,M=-1,L="M",S=y.isCategorized()?.5:0,w=[];if(b(r))for(o=0;o<r.length;o++)w[o]={},x(r[o].start)?w[o].start=e[0].x:w[o].start=y.isTimeSeries()?y.parseDate(r[o].start):r[o].start,x(r[o].end)?w[o].end=e[e.length-1].x:w[o].end=y.isTimeSeries()?y.parseDate(r[o].end):r[o].end;for(_=v.axis_rotated?function(e){return n(e.value)}:function(e){return t(e.x)},g=v.axis_rotated?function(e){return t(e.x)}:function(e){return n(e.value)},u=y.isTimeSeries()?function(e,r,i,o){var s,u=e.x.getTime(),l=r.x-e.x,d=new Date(u+l*i),f=new Date(u+l*(i+o));return s=v.axis_rotated?[[n(c(i)),t(d)],[n(c(i+o)),t(f)]]:[[t(d),n(c(i))],[t(f),n(c(i+o))]],a(s)}:function(e,r,i,o){var s;return s=v.axis_rotated?[[n(c(i),!0),t(l(i))],[n(c(i+o),!0),t(l(i+o))]]:[[t(l(i),!0),n(c(i))],[t(l(i+o),!0),n(c(i+o))]],a(s)},o=0;o<e.length;o++){if(x(w)||!i(e[o].x,w))L+=" "+_(e[o])+" "+g(e[o]);else for(l=y.getScale(e[o-1].x+S,e[o].x+S,y.isTimeSeries()),c=y.getScale(e[o-1].value,e[o].value),d=t(e[o].x)-t(e[o-1].x),f=n(e[o].value)-n(e[o-1].value),h=Math.sqrt(Math.pow(d,2)+Math.pow(f,2)),p=2/h,m=2*p,s=p;s<=1;s+=m)L+=u(e[o-1],e[o],s,p);M=e[o].x}return L},h.updateArea=function(e){var t=this,n=t.d3;t.mainArea=t.main.selectAll("."+_.areas).selectAll("."+_.area).data(t.lineData.bind(t)),t.mainArea.enter().append("path").attr("class",t.classArea.bind(t)).style("fill",t.color).style("opacity",function(){return t.orgAreaOpacity=+n.select(this).style("opacity"),0}),t.mainArea.style("opacity",t.orgAreaOpacity),t.mainArea.exit().transition().duration(e).style("opacity",0).remove()},h.redrawArea=function(e,t){return[(t?this.mainArea.transition(Math.random().toString()):this.mainArea).attr("d",e).style("fill",this.color).style("opacity",this.orgAreaOpacity)]},h.generateDrawArea=function(e,t){var n=this,r=n.config,i=n.d3.svg.area(),a=n.generateGetAreaPoints(e,t),o=t?n.getSubYScale:n.getYScale,s=function(e){return(t?n.subxx:n.xx).call(n,e)},u=function(e,t){return r.data_groups.length>0?a(e,t)[0][1]:o.call(n,e.id)(n.getAreaBaseValue(e.id));
},l=function(e,t){return r.data_groups.length>0?a(e,t)[1][1]:o.call(n,e.id)(e.value)};return i=r.axis_rotated?i.x0(u).x1(l).y(s):i.x(s).y0(r.area_above?0:u).y1(l),r.line_connectNull||(i=i.defined(function(e){return null!==e.value})),function(e){var t,a=r.line_connectNull?n.filterRemoveNull(e.values):e.values,o=0,s=0;return n.isAreaType(e)?(n.isStepType(e)&&(a=n.convertValuesToStep(a)),t=i.interpolate(n.getInterpolate(e))(a)):(a[0]&&(o=n.x(a[0].x),s=n.getYScale(e.id)(a[0].value)),t=r.axis_rotated?"M "+s+" "+o:"M "+o+" "+s),t?t:"M 0 0"}},h.getAreaBaseValue=function(){return 0},h.generateGetAreaPoints=function(e,t){var n=this,r=n.config,i=e.__max__+1,a=n.getShapeX(0,i,e,!!t),o=n.getShapeY(!!t),s=n.getShapeOffset(n.isAreaType,e,!!t),u=t?n.getSubYScale:n.getYScale;return function(e,t){var i=u.call(n,e.id)(0),l=s(e,t)||i,c=a(e),d=o(e);return r.axis_rotated&&(0<e.value&&d<i||e.value<0&&i<d)&&(d=i),[[c,l],[c,d-(i-l)],[c,d-(i-l)],[c,l]]}},h.updateCircle=function(){var e=this;e.mainCircle=e.main.selectAll("."+_.circles).selectAll("."+_.circle).data(e.lineOrScatterData.bind(e)),e.mainCircle.enter().append("circle").attr("class",e.classCircle.bind(e)).attr("r",e.pointR.bind(e)).style("fill",e.color),e.mainCircle.style("opacity",e.initialOpacityForCircle.bind(e)),e.mainCircle.exit().remove()},h.redrawCircle=function(e,t,n){var r=this.main.selectAll("."+_.selectedCircle);return[(n?this.mainCircle.transition(Math.random().toString()):this.mainCircle).style("opacity",this.opacityForCircle.bind(this)).style("fill",this.color).attr("cx",e).attr("cy",t),(n?r.transition(Math.random().toString()):r).attr("cx",e).attr("cy",t)]},h.circleX=function(e){return e.x||0===e.x?this.x(e.x):null},h.updateCircleY=function(){var e,t,n=this;n.config.data_groups.length>0?(e=n.getShapeIndices(n.isLineType),t=n.generateGetLinePoints(e),n.circleY=function(e,n){return t(e,n)[0][1]}):n.circleY=function(e){return n.getYScale(e.id)(e.value)}},h.getCircles=function(e,t){var n=this;return(t?n.main.selectAll("."+_.circles+n.getTargetSelectorSuffix(t)):n.main).selectAll("."+_.circle+(g(e)?"-"+e:""))},h.expandCircles=function(e,t,n){var r=this,i=r.pointExpandedR.bind(r);n&&r.unexpandCircles(),r.getCircles(e,t).classed(_.EXPANDED,!0).attr("r",i)},h.unexpandCircles=function(e){var t=this,n=t.pointR.bind(t);t.getCircles(e).filter(function(){return t.d3.select(this).classed(_.EXPANDED)}).classed(_.EXPANDED,!1).attr("r",n)},h.pointR=function(e){var t=this,n=t.config;return t.isStepType(e)?0:y(n.point_r)?n.point_r(e):n.point_r},h.pointExpandedR=function(e){var t=this,n=t.config;return n.point_focus_expand_enabled?n.point_focus_expand_r?n.point_focus_expand_r:1.75*t.pointR(e):t.pointR(e)},h.pointSelectR=function(e){var t=this,n=t.config;return y(n.point_select_r)?n.point_select_r(e):n.point_select_r?n.point_select_r:4*t.pointR(e)},h.isWithinCircle=function(e,t){var n=this.d3,r=n.mouse(e),i=n.select(e),a=+i.attr("cx"),o=+i.attr("cy");return Math.sqrt(Math.pow(a-r[0],2)+Math.pow(o-r[1],2))<t},h.isWithinStep=function(e,t){return Math.abs(t-this.d3.mouse(e)[1])<30},h.initBar=function(){var e=this;e.main.select("."+_.chart).append("g").attr("class",_.chartBars)},h.updateTargetsForBar=function(e){var t,n,r=this,i=r.config,a=r.classChartBar.bind(r),o=r.classBars.bind(r),s=r.classFocus.bind(r);t=r.main.select("."+_.chartBars).selectAll("."+_.chartBar).data(e).attr("class",function(e){return a(e)+s(e)}),n=t.enter().append("g").attr("class",a).style("opacity",0).style("pointer-events","none"),n.append("g").attr("class",o).style("cursor",function(e){return i.data_selection_isselectable(e)?"pointer":null})},h.updateBar=function(e){var t=this,n=t.barData.bind(t),r=t.classBar.bind(t),i=t.initialOpacity.bind(t),a=function(e){return t.color(e.id)};t.mainBar=t.main.selectAll("."+_.bars).selectAll("."+_.bar).data(n),t.mainBar.enter().append("path").attr("class",r).style("stroke",a).style("fill",a),t.mainBar.style("opacity",i),t.mainBar.exit().transition().duration(e).style("opacity",0).remove()},h.redrawBar=function(e,t){return[(t?this.mainBar.transition(Math.random().toString()):this.mainBar).attr("d",e).style("fill",this.color).style("opacity",1)]},h.getBarW=function(e,t){var n=this,r=n.config,i="number"==typeof r.bar_width?r.bar_width:t?e.tickInterval()*r.bar_width_ratio/t:0;return r.bar_width_max&&i>r.bar_width_max?r.bar_width_max:i},h.getBars=function(e,t){var n=this;return(t?n.main.selectAll("."+_.bars+n.getTargetSelectorSuffix(t)):n.main).selectAll("."+_.bar+(g(e)?"-"+e:""))},h.expandBars=function(e,t,n){var r=this;n&&r.unexpandBars(),r.getBars(e,t).classed(_.EXPANDED,!0)},h.unexpandBars=function(e){var t=this;t.getBars(e).classed(_.EXPANDED,!1)},h.generateDrawBar=function(e,t){var n=this,r=n.config,i=n.generateGetBarPoints(e,t);return function(e,t){var n=i(e,t),a=r.axis_rotated?1:0,o=r.axis_rotated?0:1,s="M "+n[0][a]+","+n[0][o]+" L"+n[1][a]+","+n[1][o]+" L"+n[2][a]+","+n[2][o]+" L"+n[3][a]+","+n[3][o]+" z";return s}},h.generateGetBarPoints=function(e,t){var n=this,r=t?n.subXAxis:n.xAxis,i=e.__max__+1,a=n.getBarW(r,i),o=n.getShapeX(a,i,e,!!t),s=n.getShapeY(!!t),u=n.getShapeOffset(n.isBarType,e,!!t),l=t?n.getSubYScale:n.getYScale;return function(e,t){var r=l.call(n,e.id)(0),i=u(e,t)||r,c=o(e),d=s(e);return n.config.axis_rotated&&(0<e.value&&d<r||e.value<0&&r<d)&&(d=r),[[c,i],[c,d-(r-i)],[c+a,d-(r-i)],[c+a,i]]}},h.isWithinBar=function(e){var t=this.d3.mouse(e),n=e.getBoundingClientRect(),r=e.pathSegList.getItem(0),i=e.pathSegList.getItem(1),a=Math.min(r.x,i.x),o=Math.min(r.y,i.y),s=n.width,u=n.height,l=2,c=a-l,d=a+s+l,f=o+u+l,h=o-l;return c<t[0]&&t[0]<d&&h<t[1]&&t[1]<f},h.initText=function(){var e=this;e.main.select("."+_.chart).append("g").attr("class",_.chartTexts),e.mainText=e.d3.selectAll([])},h.updateTargetsForText=function(e){var t,n,r=this,i=r.classChartText.bind(r),a=r.classTexts.bind(r),o=r.classFocus.bind(r);t=r.main.select("."+_.chartTexts).selectAll("."+_.chartText).data(e).attr("class",function(e){return i(e)+o(e)}),n=t.enter().append("g").attr("class",i).style("opacity",0).style("pointer-events","none"),n.append("g").attr("class",a)},h.updateText=function(e){var t=this,n=t.config,r=t.barOrLineData.bind(t),i=t.classText.bind(t);t.mainText=t.main.selectAll("."+_.texts).selectAll("."+_.text).data(r),t.mainText.enter().append("text").attr("class",i).attr("text-anchor",function(e){return n.axis_rotated?e.value<0?"end":"start":"middle"}).style("stroke","none").style("fill",function(e){return t.color(e)}).style("fill-opacity",0),t.mainText.text(function(e,n,r){return t.dataLabelFormat(e.id)(e.value,e.id,n,r)}),t.mainText.exit().transition().duration(e).style("fill-opacity",0).remove()},h.redrawText=function(e,t,n,r){return[(r?this.mainText.transition():this.mainText).attr("x",e).attr("y",t).style("fill",this.color).style("fill-opacity",n?0:this.opacityForText.bind(this))]},h.getTextRect=function(e,t,n){var r,i=this.d3.select("body").append("div").classed("c3",!0),a=i.append("svg").style("visibility","hidden").style("position","fixed").style("top",0).style("left",0),o=this.d3.select(n).style("font");return a.selectAll(".dummy").data([e]).enter().append("text").classed(t?t:"",!0).style("font",o).text(e).each(function(){r=this.getBoundingClientRect()}),i.remove(),r},h.generateXYForText=function(e,t,n,r){var i=this,a=i.generateGetAreaPoints(e,!1),o=i.generateGetBarPoints(t,!1),s=i.generateGetLinePoints(n,!1),u=r?i.getXForText:i.getYForText;return function(e,t){var n=i.isAreaType(e)?a:i.isBarType(e)?o:s;return u.call(i,n(e,t),e,this)}},h.getXForText=function(e,t,n){var r,i,a=this,o=n.getBoundingClientRect();return a.config.axis_rotated?(i=a.isBarType(t)?4:6,r=e[2][1]+i*(t.value<0?-1:1)):r=a.hasType("bar")?(e[2][0]+e[0][0])/2:e[0][0],null===t.value&&(r>a.width?r=a.width-o.width:r<0&&(r=4)),r},h.getYForText=function(e,t,n){var r,i=this,a=n.getBoundingClientRect();return i.config.axis_rotated?r=(e[0][0]+e[2][0]+.6*a.height)/2:(r=e[2][1],t.value<0||0===t.value&&!i.hasPositiveValue?(r+=a.height,i.isBarType(t)&&i.isSafari()?r-=3:!i.isBarType(t)&&i.isChrome()&&(r+=3)):r+=i.isBarType(t)?-3:-6),null!==t.value||i.config.axis_rotated||(r<a.height?r=a.height:r>this.height&&(r=this.height-4)),r},h.setTargetType=function(e,t){var n=this,r=n.config;n.mapToTargetIds(e).forEach(function(e){n.withoutFadeIn[e]=t===r.data_types[e],r.data_types[e]=t}),e||(r.data_type=t)},h.hasType=function(e,t){var n=this,r=n.config.data_types,i=!1;return t=t||n.data.targets,t&&t.length?t.forEach(function(t){var n=r[t.id];(n&&n.indexOf(e)>=0||!n&&"line"===e)&&(i=!0)}):Object.keys(r).length?Object.keys(r).forEach(function(t){r[t]===e&&(i=!0)}):i=n.config.data_type===e,i},h.hasArcType=function(e){return this.hasType("pie",e)||this.hasType("donut",e)||this.hasType("gauge",e)},h.isLineType=function(e){var t=this.config,n=v(e)?e:e.id;return!t.data_types[n]||["line","spline","area","area-spline","step","area-step"].indexOf(t.data_types[n])>=0},h.isStepType=function(e){var t=v(e)?e:e.id;return["step","area-step"].indexOf(this.config.data_types[t])>=0},h.isSplineType=function(e){var t=v(e)?e:e.id;return["spline","area-spline"].indexOf(this.config.data_types[t])>=0},h.isAreaType=function(e){var t=v(e)?e:e.id;return["area","area-spline","area-step"].indexOf(this.config.data_types[t])>=0},h.isBarType=function(e){var t=v(e)?e:e.id;return"bar"===this.config.data_types[t]},h.isScatterType=function(e){var t=v(e)?e:e.id;return"scatter"===this.config.data_types[t]},h.isPieType=function(e){var t=v(e)?e:e.id;return"pie"===this.config.data_types[t]},h.isGaugeType=function(e){var t=v(e)?e:e.id;return"gauge"===this.config.data_types[t]},h.isDonutType=function(e){var t=v(e)?e:e.id;return"donut"===this.config.data_types[t]},h.isArcType=function(e){return this.isPieType(e)||this.isDonutType(e)||this.isGaugeType(e)},h.lineData=function(e){return this.isLineType(e)?[e]:[]},h.arcData=function(e){return this.isArcType(e.data)?[e]:[]},h.barData=function(e){return this.isBarType(e)?e.values:[]},h.lineOrScatterData=function(e){return this.isLineType(e)||this.isScatterType(e)?e.values:[]},h.barOrLineData=function(e){return this.isBarType(e)||this.isLineType(e)?e.values:[]},h.isInterpolationType=function(e){return["linear","linear-closed","basis","basis-open","basis-closed","bundle","cardinal","cardinal-open","cardinal-closed","monotone"].indexOf(e)>=0},h.initGrid=function(){var e=this,t=e.config,n=e.d3;e.grid=e.main.append("g").attr("clip-path",e.clipPathForGrid).attr("class",_.grid),t.grid_x_show&&e.grid.append("g").attr("class",_.xgrids),t.grid_y_show&&e.grid.append("g").attr("class",_.ygrids),t.grid_focus_show&&e.grid.append("g").attr("class",_.xgridFocus).append("line").attr("class",_.xgridFocus),e.xgrid=n.selectAll([]),t.grid_lines_front||e.initGridLines()},h.initGridLines=function(){var e=this,t=e.d3;e.gridLines=e.main.append("g").attr("clip-path",e.clipPathForGrid).attr("class",_.grid+" "+_.gridLines),e.gridLines.append("g").attr("class",_.xgridLines),e.gridLines.append("g").attr("class",_.ygridLines),e.xgridLines=t.selectAll([])},h.updateXGrid=function(e){var t=this,n=t.config,r=t.d3,i=t.generateGridData(n.grid_x_type,t.x),a=t.isCategorized()?t.xAxis.tickOffset():0;t.xgridAttr=n.axis_rotated?{x1:0,x2:t.width,y1:function(e){return t.x(e)-a},y2:function(e){return t.x(e)-a}}:{x1:function(e){return t.x(e)+a},x2:function(e){return t.x(e)+a},y1:0,y2:t.height},t.xgrid=t.main.select("."+_.xgrids).selectAll("."+_.xgrid).data(i),t.xgrid.enter().append("line").attr("class",_.xgrid),e||t.xgrid.attr(t.xgridAttr).style("opacity",function(){return+r.select(this).attr(n.axis_rotated?"y1":"x1")===(n.axis_rotated?t.height:0)?0:1}),t.xgrid.exit().remove()},h.updateYGrid=function(){var e=this,t=e.config,n=e.yAxis.tickValues()||e.y.ticks(t.grid_y_ticks);e.ygrid=e.main.select("."+_.ygrids).selectAll("."+_.ygrid).data(n),e.ygrid.enter().append("line").attr("class",_.ygrid),e.ygrid.attr("x1",t.axis_rotated?e.y:0).attr("x2",t.axis_rotated?e.y:e.width).attr("y1",t.axis_rotated?0:e.y).attr("y2",t.axis_rotated?e.height:e.y),e.ygrid.exit().remove(),e.smoothLines(e.ygrid,"grid")},h.gridTextAnchor=function(e){return e.position?e.position:"end"},h.gridTextDx=function(e){return"start"===e.position?4:"middle"===e.position?0:-4},h.xGridTextX=function(e){return"start"===e.position?-this.height:"middle"===e.position?-this.height/2:0},h.yGridTextX=function(e){return"start"===e.position?0:"middle"===e.position?this.width/2:this.width},h.updateGrid=function(e){var t,n,r,i=this,a=i.main,o=i.config;i.grid.style("visibility",i.hasArcType()?"hidden":"visible"),a.select("line."+_.xgridFocus).style("visibility","hidden"),o.grid_x_show&&i.updateXGrid(),i.xgridLines=a.select("."+_.xgridLines).selectAll("."+_.xgridLine).data(o.grid_x_lines),t=i.xgridLines.enter().append("g").attr("class",function(e){return _.xgridLine+(e.class?" "+e.class:"")}),t.append("line").style("opacity",0),t.append("text").attr("text-anchor",i.gridTextAnchor).attr("transform",o.axis_rotated?"":"rotate(-90)").attr("dx",i.gridTextDx).attr("dy",-5).style("opacity",0),i.xgridLines.exit().transition().duration(e).style("opacity",0).remove(),o.grid_y_show&&i.updateYGrid(),i.ygridLines=a.select("."+_.ygridLines).selectAll("."+_.ygridLine).data(o.grid_y_lines),n=i.ygridLines.enter().append("g").attr("class",function(e){return _.ygridLine+(e.class?" "+e.class:"")}),n.append("line").style("opacity",0),n.append("text").attr("text-anchor",i.gridTextAnchor).attr("transform",o.axis_rotated?"rotate(-90)":"").attr("dx",i.gridTextDx).attr("dy",-5).style("opacity",0),r=i.yv.bind(i),i.ygridLines.select("line").transition().duration(e).attr("x1",o.axis_rotated?r:0).attr("x2",o.axis_rotated?r:i.width).attr("y1",o.axis_rotated?0:r).attr("y2",o.axis_rotated?i.height:r).style("opacity",1),i.ygridLines.select("text").transition().duration(e).attr("x",o.axis_rotated?i.xGridTextX.bind(i):i.yGridTextX.bind(i)).attr("y",r).text(function(e){return e.text}).style("opacity",1),i.ygridLines.exit().transition().duration(e).style("opacity",0).remove()},h.redrawGrid=function(e){var t=this,n=t.config,r=t.xv.bind(t),i=t.xgridLines.select("line"),a=t.xgridLines.select("text");return[(e?i.transition():i).attr("x1",n.axis_rotated?0:r).attr("x2",n.axis_rotated?t.width:r).attr("y1",n.axis_rotated?r:0).attr("y2",n.axis_rotated?r:t.height).style("opacity",1),(e?a.transition():a).attr("x",n.axis_rotated?t.yGridTextX.bind(t):t.xGridTextX.bind(t)).attr("y",r).text(function(e){return e.text}).style("opacity",1)]},h.showXGridFocus=function(e){var t=this,n=t.config,r=e.filter(function(e){return e&&g(e.value)}),i=t.main.selectAll("line."+_.xgridFocus),a=t.xx.bind(t);n.tooltip_show&&(t.hasType("scatter")||t.hasArcType()||(i.style("visibility","visible").data([r[0]]).attr(n.axis_rotated?"y1":"x1",a).attr(n.axis_rotated?"y2":"x2",a),t.smoothLines(i,"grid")))},h.hideXGridFocus=function(){this.main.select("line."+_.xgridFocus).style("visibility","hidden")},h.updateXgridFocus=function(){var e=this,t=e.config;e.main.select("line."+_.xgridFocus).attr("x1",t.axis_rotated?0:-10).attr("x2",t.axis_rotated?e.width:-10).attr("y1",t.axis_rotated?-10:0).attr("y2",t.axis_rotated?-10:e.height)},h.generateGridData=function(e,t){var n,r,i,a,o=this,s=[],u=o.main.select("."+_.axisX).selectAll(".tick").size();if("year"===e)for(n=o.getXDomain(),r=n[0].getFullYear(),i=n[1].getFullYear(),a=r;a<=i;a++)s.push(new Date(a+"-01-01 00:00:00"));else s=t.ticks(10),s.length>u&&(s=s.filter(function(e){return(""+e).indexOf(".")<0}));return s},h.getGridFilterToRemove=function(e){return e?function(t){var n=!1;return[].concat(e).forEach(function(e){("value"in e&&t.value===e.value||"class"in e&&t.class===e.class)&&(n=!0)}),n}:function(){return!0}},h.removeGridLines=function(e,t){var n=this,r=n.config,i=n.getGridFilterToRemove(e),a=function(e){return!i(e)},o=t?_.xgridLines:_.ygridLines,s=t?_.xgridLine:_.ygridLine;n.main.select("."+o).selectAll("."+s).filter(i).transition().duration(r.transition_duration).style("opacity",0).remove(),t?r.grid_x_lines=r.grid_x_lines.filter(a):r.grid_y_lines=r.grid_y_lines.filter(a)},h.initTooltip=function(){var e,t=this,n=t.config;if(t.tooltip=t.selectChart.style("position","relative").append("div").attr("class",_.tooltipContainer).style("position","absolute").style("pointer-events","none").style("display","none"),n.tooltip_init_show){if(t.isTimeSeries()&&v(n.tooltip_init_x)){for(n.tooltip_init_x=t.parseDate(n.tooltip_init_x),e=0;e<t.data.targets[0].values.length&&t.data.targets[0].values[e].x-n.tooltip_init_x!==0;e++);n.tooltip_init_x=e}t.tooltip.html(n.tooltip_contents.call(t,t.data.targets.map(function(e){return t.addName(e.values[n.tooltip_init_x])}),t.axis.getXAxisTickFormat(),t.getYFormat(t.hasArcType()),t.color)),t.tooltip.style("top",n.tooltip_init_position.top).style("left",n.tooltip_init_position.left).style("display","block")}},h.getTooltipContent=function(e,t,n,r){var i,a,o,s,u,l,c=this,d=c.config,f=d.tooltip_format_title||t,h=d.tooltip_format_name||function(e){return e},p=d.tooltip_format_value||n,m=c.isOrderAsc();if(0===d.data_groups.length)e.sort(function(e,t){var n=e?e.value:null,r=t?t.value:null;return m?n-r:r-n});else{var _=c.orderTargets(c.data.targets).map(function(e){return e.id});e.sort(function(e,t){var n=e?e.value:null,r=t?t.value:null;return n>0&&r>0&&(n=e?_.indexOf(e.id):null,r=t?_.indexOf(t.id):null),m?n-r:r-n})}for(a=0;a<e.length;a++)if(e[a]&&(e[a].value||0===e[a].value)&&(i||(o=Y(f?f(e[a].x):e[a].x),i="<table class='"+c.CLASS.tooltip+"'>"+(o||0===o?"<tr><th colspan='2'>"+o+"</th></tr>":"")),s=Y(p(e[a].value,e[a].ratio,e[a].id,e[a].index,e)),void 0!==s)){if(null===e[a].name)continue;u=Y(h(e[a].name,e[a].ratio,e[a].id,e[a].index)),l=c.levelColor?c.levelColor(e[a].value):r(e[a].id),i+="<tr class='"+c.CLASS.tooltipName+"-"+c.getTargetSelectorSuffix(e[a].id)+"'>",i+="<td class='name'><span style='background-color:"+l+"'></span>"+u+"</td>",i+="<td class='value'>"+s+"</td>",i+="</tr>"}return i+"</table>"},h.tooltipPosition=function(e,t,n,r){var i,a,o,s,u,l=this,c=l.config,d=l.d3,f=l.hasArcType(),h=d.mouse(r);return f?(a=(l.width-(l.isLegendRight?l.getLegendWidth():0))/2+h[0],s=l.height/2+h[1]+20):(i=l.getSvgLeft(!0),c.axis_rotated?(a=i+h[0]+100,o=a+t,u=l.currentWidth-l.getCurrentPaddingRight(),s=l.x(e[0].x)+20):(a=i+l.getCurrentPaddingLeft(!0)+l.x(e[0].x)+20,o=a+t,u=i+l.currentWidth-l.getCurrentPaddingRight(),s=h[1]+15),o>u&&(a-=o-u+20),s+n>l.currentHeight&&(s-=n+30)),s<0&&(s=0),{top:s,left:a}},h.showTooltip=function(e,t){var n,r,i,a=this,o=a.config,s=a.hasArcType(),u=e.filter(function(e){return e&&g(e.value)}),l=o.tooltip_position||h.tooltipPosition;0!==u.length&&o.tooltip_show&&(a.tooltip.html(o.tooltip_contents.call(a,e,a.axis.getXAxisTickFormat(),a.getYFormat(s),a.color)).style("display","block"),n=a.tooltip.property("offsetWidth"),r=a.tooltip.property("offsetHeight"),i=l.call(this,u,n,r,t),a.tooltip.style("top",i.top+"px").style("left",i.left+"px"))},h.hideTooltip=function(){this.tooltip.style("display","none")},h.initLegend=function(){var e=this;return e.legendItemTextBox={},e.legendHasRendered=!1,e.legend=e.svg.append("g").attr("transform",e.getTranslate("legend")),e.config.legend_show?void e.updateLegendWithDefaults():(e.legend.style("visibility","hidden"),void(e.hiddenLegendIds=e.mapToIds(e.data.targets)))},h.updateLegendWithDefaults=function(){var e=this;e.updateLegend(e.mapToIds(e.data.targets),{withTransform:!1,withTransitionForTransform:!1,withTransition:!1})},h.updateSizeForLegend=function(e,t){var n=this,r=n.config,i={top:n.isLegendTop?n.getCurrentPaddingTop()+r.legend_inset_y+5.5:n.currentHeight-e-n.getCurrentPaddingBottom()-r.legend_inset_y,left:n.isLegendLeft?n.getCurrentPaddingLeft()+r.legend_inset_x+.5:n.currentWidth-t-n.getCurrentPaddingRight()-r.legend_inset_x+.5};n.margin3={top:n.isLegendRight?0:n.isLegendInset?i.top:n.currentHeight-e,right:NaN,bottom:0,left:n.isLegendRight?n.currentWidth-t:n.isLegendInset?i.left:0}},h.transformLegend=function(e){var t=this;(e?t.legend.transition():t.legend).attr("transform",t.getTranslate("legend"))},h.updateLegendStep=function(e){this.legendStep=e},h.updateLegendItemWidth=function(e){this.legendItemWidth=e},h.updateLegendItemHeight=function(e){this.legendItemHeight=e},h.getLegendWidth=function(){var e=this;return e.config.legend_show?e.isLegendRight||e.isLegendInset?e.legendItemWidth*(e.legendStep+1):e.currentWidth:0},h.getLegendHeight=function(){var e=this,t=0;return e.config.legend_show&&(t=e.isLegendRight?e.currentHeight:Math.max(20,e.legendItemHeight)*(e.legendStep+1)),t},h.opacityForLegend=function(e){return e.classed(_.legendItemHidden)?null:1},h.opacityForUnfocusedLegend=function(e){return e.classed(_.legendItemHidden)?null:.3},h.toggleFocusLegend=function(e,t){var n=this;e=n.mapToTargetIds(e),n.legend.selectAll("."+_.legendItem).filter(function(t){return e.indexOf(t)>=0}).classed(_.legendItemFocused,t).transition().duration(100).style("opacity",function(){var e=t?n.opacityForLegend:n.opacityForUnfocusedLegend;return e.call(n,n.d3.select(this))})},h.revertLegend=function(){var e=this,t=e.d3;e.legend.selectAll("."+_.legendItem).classed(_.legendItemFocused,!1).transition().duration(100).style("opacity",function(){return e.opacityForLegend(t.select(this))})},h.showLegend=function(e){var t=this,n=t.config;n.legend_show||(n.legend_show=!0,t.legend.style("visibility","visible"),t.legendHasRendered||t.updateLegendWithDefaults()),t.removeHiddenLegendIds(e),t.legend.selectAll(t.selectorLegends(e)).style("visibility","visible").transition().style("opacity",function(){return t.opacityForLegend(t.d3.select(this))})},h.hideLegend=function(e){var t=this,n=t.config;n.legend_show&&w(e)&&(n.legend_show=!1,t.legend.style("visibility","hidden")),t.addHiddenLegendIds(e),t.legend.selectAll(t.selectorLegends(e)).style("opacity",0).style("visibility","hidden")},h.clearLegendItemTextBoxCache=function(){this.legendItemTextBox={}},h.updateLegend=function(e,t,n){function r(e,t){return L.legendItemTextBox[t]||(L.legendItemTextBox[t]=L.getTextRect(e.textContent,_.legendItem,e)),L.legendItemTextBox[t]}function i(t,n,i){function a(e,t){t||(o=(p-A-h)/2,o<E&&(o=(p-h)/2,A=0,H++)),N[e]=H,R[H]=L.isLegendInset?10:o,C[e]=A,A+=h}var o,s,u=0===i,l=i===e.length-1,c=r(t,n),d=c.width+P+(!l||L.isLegendRight||L.isLegendInset?T:0)+S.legend_padding,f=c.height+w,h=L.isLegendRight||L.isLegendInset?f:d,p=L.isLegendRight||L.isLegendInset?L.getLegendHeight():L.getLegendWidth();return u&&(A=0,H=0,D=0,Y=0),S.legend_show&&!L.isLegendToShow(n)?void(O[n]=j[n]=N[n]=C[n]=0):(O[n]=d,j[n]=f,(!D||d>=D)&&(D=d),(!Y||f>=Y)&&(Y=f),s=L.isLegendRight||L.isLegendInset?Y:D,void(S.legend_equally?(Object.keys(O).forEach(function(e){O[e]=D}),Object.keys(j).forEach(function(e){j[e]=Y}),o=(p-s*e.length)/2,o<E?(A=0,H=0,e.forEach(function(e){a(e)})):a(n,!0)):a(n)))}var a,o,s,u,l,c,d,f,h,p,m,g,y,v,x,M,L=this,S=L.config,w=4,T=10,D=0,Y=0,E=10,P=S.legend_item_tile_width+5,A=0,C={},O={},j={},R=[0],N={},H=0;e=e.filter(function(e){return!b(S.data_names[e])||null!==S.data_names[e]}),t=t||{},m=k(t,"withTransition",!0),g=k(t,"withTransitionForTransform",!0),L.isLegendInset&&(H=S.legend_inset_step?S.legend_inset_step:e.length,L.updateLegendStep(H)),L.isLegendRight?(a=function(e){return D*N[e]},u=function(e){return R[N[e]]+C[e]}):L.isLegendInset?(a=function(e){return D*N[e]+10},u=function(e){return R[N[e]]+C[e]}):(a=function(e){return R[N[e]]+C[e]},u=function(e){return Y*N[e]}),o=function(e,t){return a(e,t)+4+S.legend_item_tile_width},l=function(e,t){return u(e,t)+9},s=function(e,t){return a(e,t)},c=function(e,t){return u(e,t)-5},d=function(e,t){return a(e,t)-2},f=function(e,t){return a(e,t)-2+S.legend_item_tile_width},h=function(e,t){return u(e,t)+4},p=L.legend.selectAll("."+_.legendItem).data(e).enter().append("g").attr("class",function(e){return L.generateClass(_.legendItem,e)}).style("visibility",function(e){return L.isLegendToShow(e)?"visible":"hidden"}).style("cursor","pointer").on("click",function(e){S.legend_item_onclick?S.legend_item_onclick.call(L,e):L.d3.event.altKey?(L.api.hide(),L.api.show(e)):(L.api.toggle(e),L.isTargetToShow(e)?L.api.focus(e):L.api.revert())}).on("mouseover",function(e){S.legend_item_onmouseover?S.legend_item_onmouseover.call(L,e):(L.d3.select(this).classed(_.legendItemFocused,!0),!L.transiting&&L.isTargetToShow(e)&&L.api.focus(e))}).on("mouseout",function(e){S.legend_item_onmouseout?S.legend_item_onmouseout.call(L,e):(L.d3.select(this).classed(_.legendItemFocused,!1),L.api.revert())}),p.append("text").text(function(e){return b(S.data_names[e])?S.data_names[e]:e}).each(function(e,t){i(this,e,t)}).style("pointer-events","none").attr("x",L.isLegendRight||L.isLegendInset?o:-200).attr("y",L.isLegendRight||L.isLegendInset?-200:l),p.append("rect").attr("class",_.legendItemEvent).style("fill-opacity",0).attr("x",L.isLegendRight||L.isLegendInset?s:-200).attr("y",L.isLegendRight||L.isLegendInset?-200:c),p.append("line").attr("class",_.legendItemTile).style("stroke",L.color).style("pointer-events","none").attr("x1",L.isLegendRight||L.isLegendInset?d:-200).attr("y1",L.isLegendRight||L.isLegendInset?-200:h).attr("x2",L.isLegendRight||L.isLegendInset?f:-200).attr("y2",L.isLegendRight||L.isLegendInset?-200:h).attr("stroke-width",S.legend_item_tile_height),M=L.legend.select("."+_.legendBackground+" rect"),L.isLegendInset&&D>0&&0===M.size()&&(M=L.legend.insert("g","."+_.legendItem).attr("class",_.legendBackground).append("rect")),y=L.legend.selectAll("text").data(e).text(function(e){return b(S.data_names[e])?S.data_names[e]:e}).each(function(e,t){i(this,e,t)}),(m?y.transition():y).attr("x",o).attr("y",l),v=L.legend.selectAll("rect."+_.legendItemEvent).data(e),(m?v.transition():v).attr("width",function(e){return O[e]}).attr("height",function(e){return j[e]}).attr("x",s).attr("y",c),x=L.legend.selectAll("line."+_.legendItemTile).data(e),(m?x.transition():x).style("stroke",L.color).attr("x1",d).attr("y1",h).attr("x2",f).attr("y2",h),M&&(m?M.transition():M).attr("height",L.getLegendHeight()-12).attr("width",D*(H+1)+10),L.legend.selectAll("."+_.legendItem).classed(_.legendItemHidden,function(e){return!L.isTargetToShow(e)}),L.updateLegendItemWidth(D),L.updateLegendItemHeight(Y),L.updateLegendStep(H),L.updateSizes(),L.updateScales(),L.updateSvgSize(),L.transformAll(g,n),L.legendHasRendered=!0},h.initTitle=function(){var e=this;e.title=e.svg.append("text").text(e.config.title_text).attr("class",e.CLASS.title)},h.redrawTitle=function(){var e=this;e.title.attr("x",e.xForTitle.bind(e)).attr("y",e.yForTitle.bind(e))},h.xForTitle=function(){var e,t=this,n=t.config,r=n.title_position||"left";return e=r.indexOf("right")>=0?t.currentWidth-t.getTextRect(t.title.node().textContent,t.CLASS.title,t.title.node()).width-n.title_padding.right:r.indexOf("center")>=0?(t.currentWidth-t.getTextRect(t.title.node().textContent,t.CLASS.title,t.title.node()).width)/2:n.title_padding.left},h.yForTitle=function(){var e=this;return e.config.title_padding.top+e.getTextRect(e.title.node().textContent,e.CLASS.title,e.title.node()).height},h.getTitlePadding=function(){var e=this;return e.yForTitle()+e.config.title_padding.bottom},s(o,c),c.prototype.init=function(){var e=this.owner,t=e.config,n=e.main;e.axes.x=n.append("g").attr("class",_.axis+" "+_.axisX).attr("clip-path",e.clipPathForXAxis).attr("transform",e.getTranslate("x")).style("visibility",t.axis_x_show?"visible":"hidden"),e.axes.x.append("text").attr("class",_.axisXLabel).attr("transform",t.axis_rotated?"rotate(-90)":"").style("text-anchor",this.textAnchorForXAxisLabel.bind(this)),e.axes.y=n.append("g").attr("class",_.axis+" "+_.axisY).attr("clip-path",t.axis_y_inner?"":e.clipPathForYAxis).attr("transform",e.getTranslate("y")).style("visibility",t.axis_y_show?"visible":"hidden"),e.axes.y.append("text").attr("class",_.axisYLabel).attr("transform",t.axis_rotated?"":"rotate(-90)").style("text-anchor",this.textAnchorForYAxisLabel.bind(this)),e.axes.y2=n.append("g").attr("class",_.axis+" "+_.axisY2).attr("transform",e.getTranslate("y2")).style("visibility",t.axis_y2_show?"visible":"hidden"),e.axes.y2.append("text").attr("class",_.axisY2Label).attr("transform",t.axis_rotated?"":"rotate(-90)").style("text-anchor",this.textAnchorForY2AxisLabel.bind(this))},c.prototype.getXAxis=function(e,t,n,r,i,a,o){var s=this.owner,u=s.config,l={isCategory:s.isCategorized(),withOuterTick:i,tickMultiline:u.axis_x_tick_multiline,tickWidth:u.axis_x_tick_width,tickTextRotate:o?0:u.axis_x_tick_rotate,withoutTransition:a},c=d(s.d3,l).scale(e).orient(t);return s.isTimeSeries()&&r&&"function"!=typeof r&&(r=r.map(function(e){return s.parseDate(e)})),c.tickFormat(n).tickValues(r),s.isCategorized()&&(c.tickCentered(u.axis_x_tick_centered),w(u.axis_x_tick_culling)&&(u.axis_x_tick_culling=!1)),c},c.prototype.updateXAxisTickValues=function(e,t){var n,r=this.owner,i=r.config;return(i.axis_x_tick_fit||i.axis_x_tick_count)&&(n=this.generateTickValues(r.mapTargetsToUniqueXs(e),i.axis_x_tick_count,r.isTimeSeries())),t?t.tickValues(n):(r.xAxis.tickValues(n),r.subXAxis.tickValues(n)),n},c.prototype.getYAxis=function(e,t,n,r,i,a,o){var s=this.owner,u=s.config,l={withOuterTick:i,withoutTransition:a,tickTextRotate:o?0:u.axis_y_tick_rotate},c=d(s.d3,l).scale(e).orient(t).tickFormat(n);return s.isTimeSeriesY()?c.ticks(s.d3.time[u.axis_y_tick_time_value],u.axis_y_tick_time_interval):c.tickValues(r),c},c.prototype.getId=function(e){var t=this.owner.config;return e in t.data_axes?t.data_axes[e]:"y"},c.prototype.getXAxisTickFormat=function(){var e=this.owner,t=e.config,n=e.isTimeSeries()?e.defaultAxisTimeFormat:e.isCategorized()?e.categoryName:function(e){return e<0?e.toFixed(0):e};return t.axis_x_tick_format&&(y(t.axis_x_tick_format)?n=t.axis_x_tick_format:e.isTimeSeries()&&(n=function(n){return n?e.axisTimeFormat(t.axis_x_tick_format)(n):""})),y(n)?function(t){return n.call(e,t)}:n},c.prototype.getTickValues=function(e,t){return e?e:t?t.tickValues():void 0},c.prototype.getXAxisTickValues=function(){return this.getTickValues(this.owner.config.axis_x_tick_values,this.owner.xAxis)},c.prototype.getYAxisTickValues=function(){return this.getTickValues(this.owner.config.axis_y_tick_values,this.owner.yAxis)},c.prototype.getY2AxisTickValues=function(){return this.getTickValues(this.owner.config.axis_y2_tick_values,this.owner.y2Axis)},c.prototype.getLabelOptionByAxisId=function(e){var t,n=this.owner,r=n.config;return"y"===e?t=r.axis_y_label:"y2"===e?t=r.axis_y2_label:"x"===e&&(t=r.axis_x_label),t},c.prototype.getLabelText=function(e){var t=this.getLabelOptionByAxisId(e);return v(t)?t:t?t.text:null},c.prototype.setLabelText=function(e,t){var n=this.owner,r=n.config,i=this.getLabelOptionByAxisId(e);v(i)?"y"===e?r.axis_y_label=t:"y2"===e?r.axis_y2_label=t:"x"===e&&(r.axis_x_label=t):i&&(i.text=t)},c.prototype.getLabelPosition=function(e,t){var n=this.getLabelOptionByAxisId(e),r=n&&"object"==typeof n&&n.position?n.position:t;return{isInner:r.indexOf("inner")>=0,isOuter:r.indexOf("outer")>=0,isLeft:r.indexOf("left")>=0,isCenter:r.indexOf("center")>=0,isRight:r.indexOf("right")>=0,isTop:r.indexOf("top")>=0,isMiddle:r.indexOf("middle")>=0,isBottom:r.indexOf("bottom")>=0}},c.prototype.getXAxisLabelPosition=function(){return this.getLabelPosition("x",this.owner.config.axis_rotated?"inner-top":"inner-right")},c.prototype.getYAxisLabelPosition=function(){return this.getLabelPosition("y",this.owner.config.axis_rotated?"inner-right":"inner-top")},c.prototype.getY2AxisLabelPosition=function(){return this.getLabelPosition("y2",this.owner.config.axis_rotated?"inner-right":"inner-top")},c.prototype.getLabelPositionById=function(e){return"y2"===e?this.getY2AxisLabelPosition():"y"===e?this.getYAxisLabelPosition():this.getXAxisLabelPosition()},c.prototype.textForXAxisLabel=function(){return this.getLabelText("x")},c.prototype.textForYAxisLabel=function(){return this.getLabelText("y")},c.prototype.textForY2AxisLabel=function(){return this.getLabelText("y2")},c.prototype.xForAxisLabel=function(e,t){var n=this.owner;return e?t.isLeft?0:t.isCenter?n.width/2:n.width:t.isBottom?-n.height:t.isMiddle?-n.height/2:0;
},c.prototype.dxForAxisLabel=function(e,t){return e?t.isLeft?"0.5em":t.isRight?"-0.5em":"0":t.isTop?"-0.5em":t.isBottom?"0.5em":"0"},c.prototype.textAnchorForAxisLabel=function(e,t){return e?t.isLeft?"start":t.isCenter?"middle":"end":t.isBottom?"start":t.isMiddle?"middle":"end"},c.prototype.xForXAxisLabel=function(){return this.xForAxisLabel(!this.owner.config.axis_rotated,this.getXAxisLabelPosition())},c.prototype.xForYAxisLabel=function(){return this.xForAxisLabel(this.owner.config.axis_rotated,this.getYAxisLabelPosition())},c.prototype.xForY2AxisLabel=function(){return this.xForAxisLabel(this.owner.config.axis_rotated,this.getY2AxisLabelPosition())},c.prototype.dxForXAxisLabel=function(){return this.dxForAxisLabel(!this.owner.config.axis_rotated,this.getXAxisLabelPosition())},c.prototype.dxForYAxisLabel=function(){return this.dxForAxisLabel(this.owner.config.axis_rotated,this.getYAxisLabelPosition())},c.prototype.dxForY2AxisLabel=function(){return this.dxForAxisLabel(this.owner.config.axis_rotated,this.getY2AxisLabelPosition())},c.prototype.dyForXAxisLabel=function(){var e=this.owner,t=e.config,n=this.getXAxisLabelPosition();return t.axis_rotated?n.isInner?"1.2em":-25-this.getMaxTickWidth("x"):n.isInner?"-0.5em":t.axis_x_height?t.axis_x_height-10:"3em"},c.prototype.dyForYAxisLabel=function(){var e=this.owner,t=this.getYAxisLabelPosition();return e.config.axis_rotated?t.isInner?"-0.5em":"3em":t.isInner?"1.2em":-10-(e.config.axis_y_inner?0:this.getMaxTickWidth("y")+10)},c.prototype.dyForY2AxisLabel=function(){var e=this.owner,t=this.getY2AxisLabelPosition();return e.config.axis_rotated?t.isInner?"1.2em":"-2.2em":t.isInner?"-0.5em":15+(e.config.axis_y2_inner?0:this.getMaxTickWidth("y2")+15)},c.prototype.textAnchorForXAxisLabel=function(){var e=this.owner;return this.textAnchorForAxisLabel(!e.config.axis_rotated,this.getXAxisLabelPosition())},c.prototype.textAnchorForYAxisLabel=function(){var e=this.owner;return this.textAnchorForAxisLabel(e.config.axis_rotated,this.getYAxisLabelPosition())},c.prototype.textAnchorForY2AxisLabel=function(){var e=this.owner;return this.textAnchorForAxisLabel(e.config.axis_rotated,this.getY2AxisLabelPosition())},c.prototype.getMaxTickWidth=function(e,t){var n,r,i,a,o,s=this.owner,u=s.config,l=0;return t&&s.currentMaxTickWidths[e]?s.currentMaxTickWidths[e]:(s.svg&&(n=s.filterTargetsToShow(s.data.targets),"y"===e?(r=s.y.copy().domain(s.getYDomain(n,"y")),i=this.getYAxis(r,s.yOrient,u.axis_y_tick_format,s.yAxisTickValues,!1,!0,!0)):"y2"===e?(r=s.y2.copy().domain(s.getYDomain(n,"y2")),i=this.getYAxis(r,s.y2Orient,u.axis_y2_tick_format,s.y2AxisTickValues,!1,!0,!0)):(r=s.x.copy().domain(s.getXDomain(n)),i=this.getXAxis(r,s.xOrient,s.xAxisTickFormat,s.xAxisTickValues,!1,!0,!0),this.updateXAxisTickValues(n,i)),a=s.d3.select("body").append("div").classed("c3",!0),o=a.append("svg").style("visibility","hidden").style("position","fixed").style("top",0).style("left",0),o.append("g").call(i).each(function(){s.d3.select(this).selectAll("text").each(function(){var e=this.getBoundingClientRect();l<e.width&&(l=e.width)}),a.remove()})),s.currentMaxTickWidths[e]=l<=0?s.currentMaxTickWidths[e]:l,s.currentMaxTickWidths[e])},c.prototype.updateLabels=function(e){var t=this.owner,n=t.main.select("."+_.axisX+" ."+_.axisXLabel),r=t.main.select("."+_.axisY+" ."+_.axisYLabel),i=t.main.select("."+_.axisY2+" ."+_.axisY2Label);(e?n.transition():n).attr("x",this.xForXAxisLabel.bind(this)).attr("dx",this.dxForXAxisLabel.bind(this)).attr("dy",this.dyForXAxisLabel.bind(this)).text(this.textForXAxisLabel.bind(this)),(e?r.transition():r).attr("x",this.xForYAxisLabel.bind(this)).attr("dx",this.dxForYAxisLabel.bind(this)).attr("dy",this.dyForYAxisLabel.bind(this)).text(this.textForYAxisLabel.bind(this)),(e?i.transition():i).attr("x",this.xForY2AxisLabel.bind(this)).attr("dx",this.dxForY2AxisLabel.bind(this)).attr("dy",this.dyForY2AxisLabel.bind(this)).text(this.textForY2AxisLabel.bind(this))},c.prototype.getPadding=function(e,t,n,r){var i="number"==typeof e?e:e[t];return g(i)?"ratio"===e.unit?e[t]*r:this.convertPixelsToAxisPadding(i,r):n},c.prototype.convertPixelsToAxisPadding=function(e,t){var n=this.owner,r=n.config.axis_rotated?n.width:n.height;return t*(e/r)},c.prototype.generateTickValues=function(e,t,n){var r,i,a,o,s,u,l,c=e;if(t)if(r=y(t)?t():t,1===r)c=[e[0]];else if(2===r)c=[e[0],e[e.length-1]];else if(r>2){for(o=r-2,i=e[0],a=e[e.length-1],s=(a-i)/(o+1),c=[i],u=0;u<o;u++)l=+i+s*(u+1),c.push(n?new Date(l):l);c.push(a)}return n||(c=c.sort(function(e,t){return e-t})),c},c.prototype.generateTransitions=function(e){var t=this.owner,n=t.axes;return{axisX:e?n.x.transition().duration(e):n.x,axisY:e?n.y.transition().duration(e):n.y,axisY2:e?n.y2.transition().duration(e):n.y2,axisSubX:e?n.subx.transition().duration(e):n.subx}},c.prototype.redraw=function(e,t){var n=this.owner;n.axes.x.style("opacity",t?0:1),n.axes.y.style("opacity",t?0:1),n.axes.y2.style("opacity",t?0:1),n.axes.subx.style("opacity",t?0:1),e.axisX.call(n.xAxis),e.axisY.call(n.yAxis),e.axisY2.call(n.y2Axis),e.axisSubX.call(n.subXAxis)},h.getClipPath=function(e){var t=a.navigator.appVersion.toLowerCase().indexOf("msie 9.")>=0;return"url("+(t?"":document.URL.split("#")[0])+"#"+e+")"},h.appendClip=function(e,t){return e.append("clipPath").attr("id",t).append("rect")},h.getAxisClipX=function(e){var t=Math.max(30,this.margin.left);return e?-(1+t):-(t-1)},h.getAxisClipY=function(e){return e?-20:-this.margin.top},h.getXAxisClipX=function(){var e=this;return e.getAxisClipX(!e.config.axis_rotated)},h.getXAxisClipY=function(){var e=this;return e.getAxisClipY(!e.config.axis_rotated)},h.getYAxisClipX=function(){var e=this;return e.config.axis_y_inner?-1:e.getAxisClipX(e.config.axis_rotated)},h.getYAxisClipY=function(){var e=this;return e.getAxisClipY(e.config.axis_rotated)},h.getAxisClipWidth=function(e){var t=this,n=Math.max(30,t.margin.left),r=Math.max(30,t.margin.right);return e?t.width+2+n+r:t.margin.left+20},h.getAxisClipHeight=function(e){return(e?this.margin.bottom:this.margin.top+this.height)+20},h.getXAxisClipWidth=function(){var e=this;return e.getAxisClipWidth(!e.config.axis_rotated)},h.getXAxisClipHeight=function(){var e=this;return e.getAxisClipHeight(!e.config.axis_rotated)},h.getYAxisClipWidth=function(){var e=this;return e.getAxisClipWidth(e.config.axis_rotated)+(e.config.axis_y_inner?20:0)},h.getYAxisClipHeight=function(){var e=this;return e.getAxisClipHeight(e.config.axis_rotated)},h.initPie=function(){var e=this,t=e.d3,n=e.config;e.pie=t.layout.pie().value(function(e){return e.values.reduce(function(e,t){return e+t.value},0)}),n.data_order||e.pie.sort(null)},h.updateRadius=function(){var e=this,t=e.config,n=t.gauge_width||t.donut_width;e.radiusExpanded=Math.min(e.arcWidth,e.arcHeight)/2,e.radius=.95*e.radiusExpanded,e.innerRadiusRatio=n?(e.radius-n)/e.radius:.6,e.innerRadius=e.hasType("donut")||e.hasType("gauge")?e.radius*e.innerRadiusRatio:0},h.updateArc=function(){var e=this;e.svgArc=e.getSvgArc(),e.svgArcExpanded=e.getSvgArcExpanded(),e.svgArcExpandedSub=e.getSvgArcExpanded(.98)},h.updateAngle=function(e){var t,n,r,i,a=this,o=a.config,s=!1,u=0;return o?(a.pie(a.filterTargetsToShow(a.data.targets)).forEach(function(t){s||t.data.id!==e.data.id||(s=!0,e=t,e.index=u),u++}),isNaN(e.startAngle)&&(e.startAngle=0),isNaN(e.endAngle)&&(e.endAngle=e.startAngle),a.isGaugeType(e.data)&&(t=o.gauge_min,n=o.gauge_max,r=Math.PI*(o.gauge_fullCircle?2:1)/(n-t),i=e.value<t?0:e.value<n?e.value-t:n-t,e.startAngle=o.gauge_startingAngle,e.endAngle=e.startAngle+r*i),s?e:null):null},h.getSvgArc=function(){var e=this,t=e.d3.svg.arc().outerRadius(e.radius).innerRadius(e.innerRadius),n=function(n,r){var i;return r?t(n):(i=e.updateAngle(n),i?t(i):"M 0 0")};return n.centroid=t.centroid,n},h.getSvgArcExpanded=function(e){var t=this,n=t.d3.svg.arc().outerRadius(t.radiusExpanded*(e?e:1)).innerRadius(t.innerRadius);return function(e){var r=t.updateAngle(e);return r?n(r):"M 0 0"}},h.getArc=function(e,t,n){return n||this.isArcType(e.data)?this.svgArc(e,t):"M 0 0"},h.transformForArcLabel=function(e){var t,n,r,i,a,o=this,s=o.config,u=o.updateAngle(e),l="";return u&&!o.hasType("gauge")&&(t=this.svgArc.centroid(u),n=isNaN(t[0])?0:t[0],r=isNaN(t[1])?0:t[1],i=Math.sqrt(n*n+r*r),a=o.hasType("donut")&&s.donut_label_ratio?y(s.donut_label_ratio)?s.donut_label_ratio(e,o.radius,i):s.donut_label_ratio:o.hasType("pie")&&s.pie_label_ratio?y(s.pie_label_ratio)?s.pie_label_ratio(e,o.radius,i):s.pie_label_ratio:o.radius&&i?(36/o.radius>.375?1.175-36/o.radius:.8)*o.radius/i:0,l="translate("+n*a+","+r*a+")"),l},h.getArcRatio=function(e){var t=this,n=t.config,r=Math.PI*(t.hasType("gauge")&&!n.gauge_fullCircle?1:2);return e?(e.endAngle-e.startAngle)/r:null},h.convertToArcData=function(e){return this.addName({id:e.data.id,value:e.value,ratio:this.getArcRatio(e),index:e.index})},h.textForArcLabel=function(e){var t,n,r,i,a,o=this;return o.shouldShowArcLabel()?(t=o.updateAngle(e),n=t?t.value:null,r=o.getArcRatio(t),i=e.data.id,o.hasType("gauge")||o.meetsArcLabelThreshold(r)?(a=o.getArcLabelFormat(),a?a(n,r,i):o.defaultArcValueFormat(n,r)):""):""},h.expandArc=function(e){var t,n=this;return n.transiting?void(t=a.setInterval(function(){n.transiting||(a.clearInterval(t),n.legend.selectAll(".c3-legend-item-focused").size()>0&&n.expandArc(e))},10)):(e=n.mapToTargetIds(e),void n.svg.selectAll(n.selectorTargets(e,"."+_.chartArc)).each(function(e){n.shouldExpand(e.data.id)&&n.d3.select(this).selectAll("path").transition().duration(n.expandDuration(e.data.id)).attr("d",n.svgArcExpanded).transition().duration(2*n.expandDuration(e.data.id)).attr("d",n.svgArcExpandedSub).each(function(e){n.isDonutType(e.data)})}))},h.unexpandArc=function(e){var t=this;t.transiting||(e=t.mapToTargetIds(e),t.svg.selectAll(t.selectorTargets(e,"."+_.chartArc)).selectAll("path").transition().duration(function(e){return t.expandDuration(e.data.id)}).attr("d",t.svgArc),t.svg.selectAll("."+_.arc).style("opacity",1))},h.expandDuration=function(e){var t=this,n=t.config;return t.isDonutType(e)?n.donut_expand_duration:t.isGaugeType(e)?n.gauge_expand_duration:t.isPieType(e)?n.pie_expand_duration:50},h.shouldExpand=function(e){var t=this,n=t.config;return t.isDonutType(e)&&n.donut_expand||t.isGaugeType(e)&&n.gauge_expand||t.isPieType(e)&&n.pie_expand},h.shouldShowArcLabel=function(){var e=this,t=e.config,n=!0;return e.hasType("donut")?n=t.donut_label_show:e.hasType("pie")&&(n=t.pie_label_show),n},h.meetsArcLabelThreshold=function(e){var t=this,n=t.config,r=t.hasType("donut")?n.donut_label_threshold:n.pie_label_threshold;return e>=r},h.getArcLabelFormat=function(){var e=this,t=e.config,n=t.pie_label_format;return e.hasType("gauge")?n=t.gauge_label_format:e.hasType("donut")&&(n=t.donut_label_format),n},h.getArcTitle=function(){var e=this;return e.hasType("donut")?e.config.donut_title:""},h.updateTargetsForArc=function(e){var t,n,r=this,i=r.main,a=r.classChartArc.bind(r),o=r.classArcs.bind(r),s=r.classFocus.bind(r);t=i.select("."+_.chartArcs).selectAll("."+_.chartArc).data(r.pie(e)).attr("class",function(e){return a(e)+s(e.data)}),n=t.enter().append("g").attr("class",a),n.append("g").attr("class",o),n.append("text").attr("dy",r.hasType("gauge")?"-.1em":".35em").style("opacity",0).style("text-anchor","middle").style("pointer-events","none")},h.initArc=function(){var e=this;e.arcs=e.main.select("."+_.chart).append("g").attr("class",_.chartArcs).attr("transform",e.getTranslate("arc")),e.arcs.append("text").attr("class",_.chartArcsTitle).style("text-anchor","middle").text(e.getArcTitle())},h.redrawArc=function(e,t,n){var r,i=this,a=i.d3,o=i.config,s=i.main;r=s.selectAll("."+_.arcs).selectAll("."+_.arc).data(i.arcData.bind(i)),r.enter().append("path").attr("class",i.classArc.bind(i)).style("fill",function(e){return i.color(e.data)}).style("cursor",function(e){return o.interaction_enabled&&o.data_selection_isselectable(e)?"pointer":null}).style("opacity",0).each(function(e){i.isGaugeType(e.data)&&(e.startAngle=e.endAngle=o.gauge_startingAngle),this._current=e}),r.attr("transform",function(e){return!i.isGaugeType(e.data)&&n?"scale(0)":""}).style("opacity",function(e){return e===this._current?0:1}).on("mouseover",o.interaction_enabled?function(e){var t,n;i.transiting||(t=i.updateAngle(e),t&&(n=i.convertToArcData(t),i.expandArc(t.data.id),i.api.focus(t.data.id),i.toggleFocusLegend(t.data.id,!0),i.config.data_onmouseover(n,this)))}:null).on("mousemove",o.interaction_enabled?function(e){var t,n,r=i.updateAngle(e);r&&(t=i.convertToArcData(r),n=[t],i.showTooltip(n,this))}:null).on("mouseout",o.interaction_enabled?function(e){var t,n;i.transiting||(t=i.updateAngle(e),t&&(n=i.convertToArcData(t),i.unexpandArc(t.data.id),i.api.revert(),i.revertLegend(),i.hideTooltip(),i.config.data_onmouseout(n,this)))}:null).on("click",o.interaction_enabled?function(e,t){var n,r=i.updateAngle(e);r&&(n=i.convertToArcData(r),i.toggleShape&&i.toggleShape(this,n,t),i.config.data_onclick.call(i.api,n,this))}:null).each(function(){i.transiting=!0}).transition().duration(e).attrTween("d",function(e){var t,n=i.updateAngle(e);return n?(isNaN(this._current.startAngle)&&(this._current.startAngle=0),isNaN(this._current.endAngle)&&(this._current.endAngle=this._current.startAngle),t=a.interpolate(this._current,n),this._current=t(0),function(n){var r=t(n);return r.data=e.data,i.getArc(r,!0)}):function(){return"M 0 0"}}).attr("transform",n?"scale(1)":"").style("fill",function(e){return i.levelColor?i.levelColor(e.data.values[0].value):i.color(e.data.id)}).style("opacity",1).call(i.endall,function(){i.transiting=!1}),r.exit().transition().duration(t).style("opacity",0).remove(),s.selectAll("."+_.chartArc).select("text").style("opacity",0).attr("class",function(e){return i.isGaugeType(e.data)?_.gaugeValue:""}).text(i.textForArcLabel.bind(i)).attr("transform",i.transformForArcLabel.bind(i)).style("font-size",function(e){return i.isGaugeType(e.data)?Math.round(i.radius/5)+"px":""}).transition().duration(e).style("opacity",function(e){return i.isTargetToShow(e.data.id)&&i.isArcType(e.data)?1:0}),s.select("."+_.chartArcsTitle).style("opacity",i.hasType("donut")||i.hasType("gauge")?1:0),i.hasType("gauge")&&(i.arcs.select("."+_.chartArcsBackground).attr("d",function(){var e={data:[{value:o.gauge_max}],startAngle:o.gauge_startingAngle,endAngle:-1*o.gauge_startingAngle};return i.getArc(e,!0,!0)}),i.arcs.select("."+_.chartArcsGaugeUnit).attr("dy",".75em").text(o.gauge_label_show?o.gauge_units:""),i.arcs.select("."+_.chartArcsGaugeMin).attr("dx",-1*(i.innerRadius+(i.radius-i.innerRadius)/(o.gauge_fullCircle?1:2))+"px").attr("dy","1.2em").text(o.gauge_label_show?o.gauge_min:""),i.arcs.select("."+_.chartArcsGaugeMax).attr("dx",i.innerRadius+(i.radius-i.innerRadius)/(o.gauge_fullCircle?1:2)+"px").attr("dy","1.2em").text(o.gauge_label_show?o.gauge_max:""))},h.initGauge=function(){var e=this.arcs;this.hasType("gauge")&&(e.append("path").attr("class",_.chartArcsBackground),e.append("text").attr("class",_.chartArcsGaugeUnit).style("text-anchor","middle").style("pointer-events","none"),e.append("text").attr("class",_.chartArcsGaugeMin).style("text-anchor","middle").style("pointer-events","none"),e.append("text").attr("class",_.chartArcsGaugeMax).style("text-anchor","middle").style("pointer-events","none"))},h.getGaugeLabelHeight=function(){return this.config.gauge_label_show?20:0},h.initRegion=function(){var e=this;e.region=e.main.append("g").attr("clip-path",e.clipPath).attr("class",_.regions)},h.updateRegion=function(e){var t=this,n=t.config;t.region.style("visibility",t.hasArcType()?"hidden":"visible"),t.mainRegion=t.main.select("."+_.regions).selectAll("."+_.region).data(n.regions),t.mainRegion.enter().append("g").append("rect").style("fill-opacity",0),t.mainRegion.attr("class",t.classRegion.bind(t)),t.mainRegion.exit().transition().duration(e).style("opacity",0).remove()},h.redrawRegion=function(e){var t=this,n=t.mainRegion.selectAll("rect").each(function(){var e=t.d3.select(this.parentNode).datum();t.d3.select(this).datum(e)}),r=t.regionX.bind(t),i=t.regionY.bind(t),a=t.regionWidth.bind(t),o=t.regionHeight.bind(t);return[(e?n.transition():n).attr("x",r).attr("y",i).attr("width",a).attr("height",o).style("fill-opacity",function(e){return g(e.opacity)?e.opacity:.1})]},h.regionX=function(e){var t,n=this,r=n.config,i="y"===e.axis?n.y:n.y2;return t="y"===e.axis||"y2"===e.axis?r.axis_rotated&&"start"in e?i(e.start):0:r.axis_rotated?0:"start"in e?n.x(n.isTimeSeries()?n.parseDate(e.start):e.start):0},h.regionY=function(e){var t,n=this,r=n.config,i="y"===e.axis?n.y:n.y2;return t="y"===e.axis||"y2"===e.axis?r.axis_rotated?0:"end"in e?i(e.end):0:r.axis_rotated&&"start"in e?n.x(n.isTimeSeries()?n.parseDate(e.start):e.start):0},h.regionWidth=function(e){var t,n=this,r=n.config,i=n.regionX(e),a="y"===e.axis?n.y:n.y2;return t="y"===e.axis||"y2"===e.axis?r.axis_rotated&&"end"in e?a(e.end):n.width:r.axis_rotated?n.width:"end"in e?n.x(n.isTimeSeries()?n.parseDate(e.end):e.end):n.width,t<i?0:t-i},h.regionHeight=function(e){var t,n=this,r=n.config,i=this.regionY(e),a="y"===e.axis?n.y:n.y2;return t="y"===e.axis||"y2"===e.axis?r.axis_rotated?n.height:"start"in e?a(e.start):n.height:r.axis_rotated&&"end"in e?n.x(n.isTimeSeries()?n.parseDate(e.end):e.end):n.height,t<i?0:t-i},h.isRegionOnX=function(e){return!e.axis||"x"===e.axis},h.drag=function(e){var t,n,r,i,a,o,s,u,l=this,c=l.config,d=l.main,f=l.d3;l.hasArcType()||c.data_selection_enabled&&(c.zoom_enabled&&!l.zoom.altDomain||c.data_selection_multiple&&(t=l.dragStart[0],n=l.dragStart[1],r=e[0],i=e[1],a=Math.min(t,r),o=Math.max(t,r),s=c.data_selection_grouped?l.margin.top:Math.min(n,i),u=c.data_selection_grouped?l.height:Math.max(n,i),d.select("."+_.dragarea).attr("x",a).attr("y",s).attr("width",o-a).attr("height",u-s),d.selectAll("."+_.shapes).selectAll("."+_.shape).filter(function(e){return c.data_selection_isselectable(e)}).each(function(e,t){var n,r,i,c,d,h,p=f.select(this),m=p.classed(_.SELECTED),g=p.classed(_.INCLUDED),y=!1;if(p.classed(_.circle))n=1*p.attr("cx"),r=1*p.attr("cy"),d=l.togglePoint,y=a<n&&n<o&&s<r&&r<u;else{if(!p.classed(_.bar))return;h=E(this),n=h.x,r=h.y,i=h.width,c=h.height,d=l.togglePath,y=!(o<n||n+i<a||u<r||r+c<s)}y^g&&(p.classed(_.INCLUDED,!g),p.classed(_.SELECTED,!m),d.call(l,!m,p,e,t))})))},h.dragstart=function(e){var t=this,n=t.config;t.hasArcType()||n.data_selection_enabled&&(t.dragStart=e,t.main.select("."+_.chart).append("rect").attr("class",_.dragarea).style("opacity",.1),t.dragging=!0)},h.dragend=function(){var e=this,t=e.config;e.hasArcType()||t.data_selection_enabled&&(e.main.select("."+_.dragarea).transition().duration(100).style("opacity",0).remove(),e.main.selectAll("."+_.shape).classed(_.INCLUDED,!1),e.dragging=!1)},h.selectPoint=function(e,t,n){var r=this,i=r.config,a=(i.axis_rotated?r.circleY:r.circleX).bind(r),o=(i.axis_rotated?r.circleX:r.circleY).bind(r),s=r.pointSelectR.bind(r);i.data_onselected.call(r.api,t,e.node()),r.main.select("."+_.selectedCircles+r.getTargetSelectorSuffix(t.id)).selectAll("."+_.selectedCircle+"-"+n).data([t]).enter().append("circle").attr("class",function(){return r.generateClass(_.selectedCircle,n)}).attr("cx",a).attr("cy",o).attr("stroke",function(){return r.color(t)}).attr("r",function(e){return 1.4*r.pointSelectR(e)}).transition().duration(100).attr("r",s)},h.unselectPoint=function(e,t,n){var r=this;r.config.data_onunselected.call(r.api,t,e.node()),r.main.select("."+_.selectedCircles+r.getTargetSelectorSuffix(t.id)).selectAll("."+_.selectedCircle+"-"+n).transition().duration(100).attr("r",0).remove()},h.togglePoint=function(e,t,n,r){e?this.selectPoint(t,n,r):this.unselectPoint(t,n,r)},h.selectPath=function(e,t){var n=this;n.config.data_onselected.call(n,t,e.node()),n.config.interaction_brighten&&e.transition().duration(100).style("fill",function(){return n.d3.rgb(n.color(t)).brighter(.75)})},h.unselectPath=function(e,t){var n=this;n.config.data_onunselected.call(n,t,e.node()),n.config.interaction_brighten&&e.transition().duration(100).style("fill",function(){return n.color(t)})},h.togglePath=function(e,t,n,r){e?this.selectPath(t,n,r):this.unselectPath(t,n,r)},h.getToggle=function(e,t){var n,r=this;return"circle"===e.nodeName?n=r.isStepType(t)?function(){}:r.togglePoint:"path"===e.nodeName&&(n=r.togglePath),n},h.toggleShape=function(e,t,n){var r=this,i=r.d3,a=r.config,o=i.select(e),s=o.classed(_.SELECTED),u=r.getToggle(e,t).bind(r);a.data_selection_enabled&&a.data_selection_isselectable(t)&&(a.data_selection_multiple||r.main.selectAll("."+_.shapes+(a.data_selection_grouped?r.getTargetSelectorSuffix(t.id):"")).selectAll("."+_.shape).each(function(e,t){var n=i.select(this);n.classed(_.SELECTED)&&u(!1,n.classed(_.SELECTED,!1),e,t)}),o.classed(_.SELECTED,!s),u(!s,o,t,n))},h.initBrush=function(){var e=this,t=e.d3;e.brush=t.svg.brush().on("brush",function(){e.redrawForBrush()}),e.brush.update=function(){return e.context&&e.context.select("."+_.brush).call(this),this},e.brush.scale=function(t){return e.config.axis_rotated?this.y(t):this.x(t)}},h.initSubchart=function(){var e=this,t=e.config,n=e.context=e.svg.append("g").attr("transform",e.getTranslate("context")),r=t.subchart_show?"visible":"hidden";n.style("visibility",r),n.append("g").attr("clip-path",e.clipPathForSubchart).attr("class",_.chart),n.select("."+_.chart).append("g").attr("class",_.chartBars),n.select("."+_.chart).append("g").attr("class",_.chartLines),n.append("g").attr("clip-path",e.clipPath).attr("class",_.brush).call(e.brush),e.axes.subx=n.append("g").attr("class",_.axisX).attr("transform",e.getTranslate("subx")).attr("clip-path",t.axis_rotated?"":e.clipPathForXAxis).style("visibility",t.subchart_axis_x_show?r:"hidden")},h.updateTargetsForSubchart=function(e){var t,n,r,i,a=this,o=a.context,s=a.config,u=a.classChartBar.bind(a),l=a.classBars.bind(a),c=a.classChartLine.bind(a),d=a.classLines.bind(a),f=a.classAreas.bind(a);s.subchart_show&&(i=o.select("."+_.chartBars).selectAll("."+_.chartBar).data(e).attr("class",u),r=i.enter().append("g").style("opacity",0).attr("class",u),r.append("g").attr("class",l),n=o.select("."+_.chartLines).selectAll("."+_.chartLine).data(e).attr("class",c),t=n.enter().append("g").style("opacity",0).attr("class",c),t.append("g").attr("class",d),t.append("g").attr("class",f),o.selectAll("."+_.brush+" rect").attr(s.axis_rotated?"width":"height",s.axis_rotated?a.width2:a.height2))},h.updateBarForSubchart=function(e){var t=this;t.contextBar=t.context.selectAll("."+_.bars).selectAll("."+_.bar).data(t.barData.bind(t)),t.contextBar.enter().append("path").attr("class",t.classBar.bind(t)).style("stroke","none").style("fill",t.color),t.contextBar.style("opacity",t.initialOpacity.bind(t)),t.contextBar.exit().transition().duration(e).style("opacity",0).remove()},h.redrawBarForSubchart=function(e,t,n){(t?this.contextBar.transition(Math.random().toString()).duration(n):this.contextBar).attr("d",e).style("opacity",1)},h.updateLineForSubchart=function(e){var t=this;t.contextLine=t.context.selectAll("."+_.lines).selectAll("."+_.line).data(t.lineData.bind(t)),t.contextLine.enter().append("path").attr("class",t.classLine.bind(t)).style("stroke",t.color),t.contextLine.style("opacity",t.initialOpacity.bind(t)),t.contextLine.exit().transition().duration(e).style("opacity",0).remove()},h.redrawLineForSubchart=function(e,t,n){(t?this.contextLine.transition(Math.random().toString()).duration(n):this.contextLine).attr("d",e).style("opacity",1)},h.updateAreaForSubchart=function(e){var t=this,n=t.d3;t.contextArea=t.context.selectAll("."+_.areas).selectAll("."+_.area).data(t.lineData.bind(t)),t.contextArea.enter().append("path").attr("class",t.classArea.bind(t)).style("fill",t.color).style("opacity",function(){return t.orgAreaOpacity=+n.select(this).style("opacity"),0}),t.contextArea.style("opacity",0),t.contextArea.exit().transition().duration(e).style("opacity",0).remove()},h.redrawAreaForSubchart=function(e,t,n){(t?this.contextArea.transition(Math.random().toString()).duration(n):this.contextArea).attr("d",e).style("fill",this.color).style("opacity",this.orgAreaOpacity)},h.redrawSubchart=function(e,t,n,r,i,a,o){var s,u,l,c=this,d=c.d3,f=c.config;c.context.style("visibility",f.subchart_show?"visible":"hidden"),f.subchart_show&&(d.event&&"zoom"===d.event.type&&c.brush.extent(c.x.orgDomain()).update(),e&&(c.brush.empty()||c.brush.extent(c.x.orgDomain()).update(),s=c.generateDrawArea(i,!0),u=c.generateDrawBar(a,!0),l=c.generateDrawLine(o,!0),c.updateBarForSubchart(n),c.updateLineForSubchart(n),c.updateAreaForSubchart(n),c.redrawBarForSubchart(u,n,n),c.redrawLineForSubchart(l,n,n),c.redrawAreaForSubchart(s,n,n)))},h.redrawForBrush=function(){var e=this,t=e.x;e.redraw({withTransition:!1,withY:e.config.zoom_rescale,withSubchart:!1,withUpdateXDomain:!0,withDimension:!1}),e.config.subchart_onbrush.call(e.api,t.orgDomain())},h.transformContext=function(e,t){var n,r=this;t&&t.axisSubX?n=t.axisSubX:(n=r.context.select("."+_.axisX),e&&(n=n.transition())),r.context.attr("transform",r.getTranslate("context")),n.attr("transform",r.getTranslate("subx"))},h.getDefaultExtent=function(){var e=this,t=e.config,n=y(t.axis_x_extent)?t.axis_x_extent(e.getXDomain(e.data.targets)):t.axis_x_extent;return e.isTimeSeries()&&(n=[e.parseDate(n[0]),e.parseDate(n[1])]),n},h.initZoom=function(){var e,t=this,n=t.d3,r=t.config;t.zoom=n.behavior.zoom().on("zoomstart",function(){e=n.event.sourceEvent,t.zoom.altDomain=n.event.sourceEvent.altKey?t.x.orgDomain():null,r.zoom_onzoomstart.call(t.api,n.event.sourceEvent)}).on("zoom",function(){t.redrawForZoom.call(t)}).on("zoomend",function(){var i=n.event.sourceEvent;i&&e.clientX===i.clientX&&e.clientY===i.clientY||(t.redrawEventRect(),t.updateZoom(),r.zoom_onzoomend.call(t.api,t.x.orgDomain()))}),t.zoom.scale=function(e){return r.axis_rotated?this.y(e):this.x(e)},t.zoom.orgScaleExtent=function(){var e=r.zoom_extent?r.zoom_extent:[1,10];return[e[0],Math.max(t.getMaxDataCount()/e[1],e[1])]},t.zoom.updateScaleExtent=function(){var e=S(t.x.orgDomain())/S(t.getZoomDomain()),n=this.orgScaleExtent();return this.scaleExtent([n[0]*e,n[1]*e]),this}},h.getZoomDomain=function(){var e=this,t=e.config,n=e.d3,r=n.min([e.orgXDomain[0],t.zoom_x_min]),i=n.max([e.orgXDomain[1],t.zoom_x_max]);return[r,i]},h.updateZoom=function(){var e=this,t=e.config.zoom_enabled?e.zoom:function(){};e.main.select("."+_.zoomRect).call(t).on("dblclick.zoom",null),e.main.selectAll("."+_.eventRect).call(t).on("dblclick.zoom",null)},h.redrawForZoom=function(){var e=this,t=e.d3,n=e.config,r=e.zoom,i=e.x;if(n.zoom_enabled&&0!==e.filterTargetsToShow(e.data.targets).length){if("mousemove"===t.event.sourceEvent.type&&r.altDomain)return i.domain(r.altDomain),void r.scale(i).updateScaleExtent();e.isCategorized()&&i.orgDomain()[0]===e.orgXDomain[0]&&i.domain([e.orgXDomain[0]-1e-10,i.orgDomain()[1]]),e.redraw({withTransition:!1,withY:n.zoom_rescale,withSubchart:!1,withEventRect:!1,withDimension:!1}),"mousemove"===t.event.sourceEvent.type&&(e.cancelClick=!0),n.zoom_onzoom.call(e.api,i.orgDomain())}},h.generateColor=function(){var e=this,t=e.config,n=e.d3,r=t.data_colors,i=T(t.color_pattern)?t.color_pattern:n.scale.category10().range(),a=t.data_color,o=[];return function(e){var t,n=e.id||e.data&&e.data.id||e;return r[n]instanceof Function?t=r[n](e):r[n]?t=r[n]:(o.indexOf(n)<0&&o.push(n),t=i[o.indexOf(n)%i.length],r[n]=t),a instanceof Function?a(t,e):t}},h.generateLevelColor=function(){var e=this,t=e.config,n=t.color_pattern,r=t.color_threshold,i="value"===r.unit,a=r.values&&r.values.length?r.values:[],o=r.max||100;return T(t.color_threshold)?function(e){var t,r,s=n[n.length-1];for(t=0;t<a.length;t++)if(r=i?e:100*e/o,r<a[t]){s=n[t];break}return s}:null},h.getYFormat=function(e){var t=this,n=e&&!t.hasType("gauge")?t.defaultArcValueFormat:t.yFormat,r=e&&!t.hasType("gauge")?t.defaultArcValueFormat:t.y2Format;return function(e,i,a){var o="y2"===t.axis.getId(a)?r:n;return o.call(t,e,i)}},h.yFormat=function(e){var t=this,n=t.config,r=n.axis_y_tick_format?n.axis_y_tick_format:t.defaultValueFormat;return r(e)},h.y2Format=function(e){var t=this,n=t.config,r=n.axis_y2_tick_format?n.axis_y2_tick_format:t.defaultValueFormat;return r(e)},h.defaultValueFormat=function(e){return g(e)?+e:""},h.defaultArcValueFormat=function(e,t){return(100*t).toFixed(1)+"%"},h.dataLabelFormat=function(e){var t,n=this,r=n.config.data_labels,i=function(e){return g(e)?+e:""};return t="function"==typeof r.format?r.format:"object"==typeof r.format?r.format[e]?r.format[e]===!0?i:r.format[e]:function(){return""}:i},h.hasCaches=function(e){for(var t=0;t<e.length;t++)if(!(e[t]in this.cache))return!1;return!0},h.addCache=function(e,t){this.cache[e]=this.cloneTarget(t)},h.getCaches=function(e){var t,n=[];for(t=0;t<e.length;t++)e[t]in this.cache&&n.push(this.cloneTarget(this.cache[e[t]]));return n};var _=h.CLASS={target:"c3-target",chart:"c3-chart",chartLine:"c3-chart-line",chartLines:"c3-chart-lines",chartBar:"c3-chart-bar",chartBars:"c3-chart-bars",chartText:"c3-chart-text",chartTexts:"c3-chart-texts",chartArc:"c3-chart-arc",chartArcs:"c3-chart-arcs",chartArcsTitle:"c3-chart-arcs-title",chartArcsBackground:"c3-chart-arcs-background",chartArcsGaugeUnit:"c3-chart-arcs-gauge-unit",chartArcsGaugeMax:"c3-chart-arcs-gauge-max",chartArcsGaugeMin:"c3-chart-arcs-gauge-min",selectedCircle:"c3-selected-circle",selectedCircles:"c3-selected-circles",eventRect:"c3-event-rect",eventRects:"c3-event-rects",eventRectsSingle:"c3-event-rects-single",eventRectsMultiple:"c3-event-rects-multiple",zoomRect:"c3-zoom-rect",brush:"c3-brush",focused:"c3-focused",defocused:"c3-defocused",region:"c3-region",regions:"c3-regions",title:"c3-title",tooltipContainer:"c3-tooltip-container",tooltip:"c3-tooltip",tooltipName:"c3-tooltip-name",shape:"c3-shape",shapes:"c3-shapes",line:"c3-line",lines:"c3-lines",bar:"c3-bar",bars:"c3-bars",circle:"c3-circle",circles:"c3-circles",arc:"c3-arc",arcs:"c3-arcs",area:"c3-area",areas:"c3-areas",empty:"c3-empty",text:"c3-text",texts:"c3-texts",gaugeValue:"c3-gauge-value",grid:"c3-grid",gridLines:"c3-grid-lines",xgrid:"c3-xgrid",xgrids:"c3-xgrids",xgridLine:"c3-xgrid-line",xgridLines:"c3-xgrid-lines",xgridFocus:"c3-xgrid-focus",ygrid:"c3-ygrid",ygrids:"c3-ygrids",ygridLine:"c3-ygrid-line",ygridLines:"c3-ygrid-lines",axis:"c3-axis",axisX:"c3-axis-x",axisXLabel:"c3-axis-x-label",axisY:"c3-axis-y",axisYLabel:"c3-axis-y-label",axisY2:"c3-axis-y2",axisY2Label:"c3-axis-y2-label",legendBackground:"c3-legend-background",legendItem:"c3-legend-item",legendItemEvent:"c3-legend-item-event",legendItemTile:"c3-legend-item-tile",legendItemHidden:"c3-legend-item-hidden",legendItemFocused:"c3-legend-item-focused",dragarea:"c3-dragarea",EXPANDED:"_expanded_",SELECTED:"_selected_",INCLUDED:"_included_"};h.generateClass=function(e,t){return" "+e+" "+e+this.getTargetSelectorSuffix(t)},h.classText=function(e){return this.generateClass(_.text,e.index)},h.classTexts=function(e){return this.generateClass(_.texts,e.id)},h.classShape=function(e){return this.generateClass(_.shape,e.index)},h.classShapes=function(e){return this.generateClass(_.shapes,e.id)},h.classLine=function(e){return this.classShape(e)+this.generateClass(_.line,e.id)},h.classLines=function(e){return this.classShapes(e)+this.generateClass(_.lines,e.id)},h.classCircle=function(e){return this.classShape(e)+this.generateClass(_.circle,e.index)},h.classCircles=function(e){return this.classShapes(e)+this.generateClass(_.circles,e.id)},h.classBar=function(e){return this.classShape(e)+this.generateClass(_.bar,e.index)},h.classBars=function(e){return this.classShapes(e)+this.generateClass(_.bars,e.id)},h.classArc=function(e){return this.classShape(e.data)+this.generateClass(_.arc,e.data.id)},h.classArcs=function(e){return this.classShapes(e.data)+this.generateClass(_.arcs,e.data.id)},h.classArea=function(e){return this.classShape(e)+this.generateClass(_.area,e.id)},h.classAreas=function(e){return this.classShapes(e)+this.generateClass(_.areas,e.id)},h.classRegion=function(e,t){return this.generateClass(_.region,t)+" "+("class"in e?e.class:"");
},h.classEvent=function(e){return this.generateClass(_.eventRect,e.index)},h.classTarget=function(e){var t=this,n=t.config.data_classes[e],r="";return n&&(r=" "+_.target+"-"+n),t.generateClass(_.target,e)+r},h.classFocus=function(e){return this.classFocused(e)+this.classDefocused(e)},h.classFocused=function(e){return" "+(this.focusedTargetIds.indexOf(e.id)>=0?_.focused:"")},h.classDefocused=function(e){return" "+(this.defocusedTargetIds.indexOf(e.id)>=0?_.defocused:"")},h.classChartText=function(e){return _.chartText+this.classTarget(e.id)},h.classChartLine=function(e){return _.chartLine+this.classTarget(e.id)},h.classChartBar=function(e){return _.chartBar+this.classTarget(e.id)},h.classChartArc=function(e){return _.chartArc+this.classTarget(e.data.id)},h.getTargetSelectorSuffix=function(e){return e||0===e?("-"+e).replace(/[\s?!@#$%^&*()_=+,.<>'":;\[\]\/|~`{}\\]/g,"-"):""},h.selectorTarget=function(e,t){return(t||"")+"."+_.target+this.getTargetSelectorSuffix(e)},h.selectorTargets=function(e,t){var n=this;return e=e||[],e.length?e.map(function(e){return n.selectorTarget(e,t)}):null},h.selectorLegend=function(e){return"."+_.legendItem+this.getTargetSelectorSuffix(e)},h.selectorLegends=function(e){var t=this;return e&&e.length?e.map(function(e){return t.selectorLegend(e)}):null};var g=h.isValue=function(e){return e||0===e},y=h.isFunction=function(e){return"function"==typeof e},v=h.isString=function(e){return"string"==typeof e},x=h.isUndefined=function(e){return"undefined"==typeof e},b=h.isDefined=function(e){return"undefined"!=typeof e},M=h.ceil10=function(e){return 10*Math.ceil(e/10)},L=h.asHalfPixel=function(e){return Math.ceil(e)+.5},S=h.diffDomain=function(e){return e[1]-e[0]},w=h.isEmpty=function(e){return"undefined"==typeof e||null===e||v(e)&&0===e.length||"object"==typeof e&&0===Object.keys(e).length},T=h.notEmpty=function(e){return!h.isEmpty(e)},k=h.getOption=function(e,t,n){return b(e[t])?e[t]:n},D=h.hasValue=function(e,t){var n=!1;return Object.keys(e).forEach(function(r){e[r]===t&&(n=!0)}),n},Y=h.sanitise=function(e){return"string"==typeof e?e.replace(/</g,"<").replace(/>/g,">"):e},E=h.getPathBox=function(e){var t=e.getBoundingClientRect(),n=[e.pathSegList.getItem(0),e.pathSegList.getItem(1)],r=n[0].x,i=Math.min(n[0].y,n[1].y);return{x:r,y:i,width:t.width,height:t.height}};f.focus=function(e){var t,n=this.internal;e=n.mapToTargetIds(e),t=n.svg.selectAll(n.selectorTargets(e.filter(n.isTargetToShow,n))),this.revert(),this.defocus(),t.classed(_.focused,!0).classed(_.defocused,!1),n.hasArcType()&&n.expandArc(e),n.toggleFocusLegend(e,!0),n.focusedTargetIds=e,n.defocusedTargetIds=n.defocusedTargetIds.filter(function(t){return e.indexOf(t)<0})},f.defocus=function(e){var t,n=this.internal;e=n.mapToTargetIds(e),t=n.svg.selectAll(n.selectorTargets(e.filter(n.isTargetToShow,n))),t.classed(_.focused,!1).classed(_.defocused,!0),n.hasArcType()&&n.unexpandArc(e),n.toggleFocusLegend(e,!1),n.focusedTargetIds=n.focusedTargetIds.filter(function(t){return e.indexOf(t)<0}),n.defocusedTargetIds=e},f.revert=function(e){var t,n=this.internal;e=n.mapToTargetIds(e),t=n.svg.selectAll(n.selectorTargets(e)),t.classed(_.focused,!1).classed(_.defocused,!1),n.hasArcType()&&n.unexpandArc(e),n.config.legend_show&&(n.showLegend(e.filter(n.isLegendToShow.bind(n))),n.legend.selectAll(n.selectorLegends(e)).filter(function(){return n.d3.select(this).classed(_.legendItemFocused)}).classed(_.legendItemFocused,!1)),n.focusedTargetIds=[],n.defocusedTargetIds=[]},f.show=function(e,t){var n,r=this.internal;e=r.mapToTargetIds(e),t=t||{},r.removeHiddenTargetIds(e),n=r.svg.selectAll(r.selectorTargets(e)),n.transition().style("opacity",1,"important").call(r.endall,function(){n.style("opacity",null).style("opacity",1)}),t.withLegend&&r.showLegend(e),r.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0})},f.hide=function(e,t){var n,r=this.internal;e=r.mapToTargetIds(e),t=t||{},r.addHiddenTargetIds(e),n=r.svg.selectAll(r.selectorTargets(e)),n.transition().style("opacity",0,"important").call(r.endall,function(){n.style("opacity",null).style("opacity",0)}),t.withLegend&&r.hideLegend(e),r.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0})},f.toggle=function(e,t){var n=this,r=this.internal;r.mapToTargetIds(e).forEach(function(e){r.isTargetToShow(e)?n.hide(e,t):n.show(e,t)})},f.zoom=function(e){var t=this.internal;return e&&(t.isTimeSeries()&&(e=e.map(function(e){return t.parseDate(e)})),t.brush.extent(e),t.redraw({withUpdateXDomain:!0,withY:t.config.zoom_rescale}),t.config.zoom_onzoom.call(this,t.x.orgDomain())),t.brush.extent()},f.zoom.enable=function(e){var t=this.internal;t.config.zoom_enabled=e,t.updateAndRedraw()},f.unzoom=function(){var e=this.internal;e.brush.clear().update(),e.redraw({withUpdateXDomain:!0})},f.zoom.max=function(e){var t=this.internal,n=t.config,r=t.d3;return 0===e||e?void(n.zoom_x_max=r.max([t.orgXDomain[1],e])):n.zoom_x_max},f.zoom.min=function(e){var t=this.internal,n=t.config,r=t.d3;return 0===e||e?void(n.zoom_x_min=r.min([t.orgXDomain[0],e])):n.zoom_x_min},f.zoom.range=function(e){return arguments.length?(b(e.max)&&this.domain.max(e.max),void(b(e.min)&&this.domain.min(e.min))):{max:this.domain.max(),min:this.domain.min()}},f.load=function(e){var t=this.internal,n=t.config;return e.xs&&t.addXs(e.xs),"names"in e&&f.data.names.bind(this)(e.names),"classes"in e&&Object.keys(e.classes).forEach(function(t){n.data_classes[t]=e.classes[t]}),"categories"in e&&t.isCategorized()&&(n.axis_x_categories=e.categories),"axes"in e&&Object.keys(e.axes).forEach(function(t){n.data_axes[t]=e.axes[t]}),"colors"in e&&Object.keys(e.colors).forEach(function(t){n.data_colors[t]=e.colors[t]}),"cacheIds"in e&&t.hasCaches(e.cacheIds)?void t.load(t.getCaches(e.cacheIds),e.done):void("unload"in e?t.unload(t.mapToTargetIds("boolean"==typeof e.unload&&e.unload?null:e.unload),function(){t.loadFromArgs(e)}):t.loadFromArgs(e))},f.unload=function(e){var t=this.internal;e=e||{},e instanceof Array?e={ids:e}:"string"==typeof e&&(e={ids:[e]}),t.unload(t.mapToTargetIds(e.ids),function(){t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),e.done&&e.done()})},f.flow=function(e){var t,n,r,i,a,o,s,u,l=this.internal,c=[],d=l.getMaxDataCount(),f=0,h=0;if(e.json)n=l.convertJsonToData(e.json,e.keys);else if(e.rows)n=l.convertRowsToData(e.rows);else{if(!e.columns)return;n=l.convertColumnsToData(e.columns)}t=l.convertDataToTargets(n,!0),l.data.targets.forEach(function(e){var n,r,i=!1;for(n=0;n<t.length;n++)if(e.id===t[n].id){for(i=!0,e.values[e.values.length-1]&&(h=e.values[e.values.length-1].index+1),f=t[n].values.length,r=0;r<f;r++)t[n].values[r].index=h+r,l.isTimeSeries()||(t[n].values[r].x=h+r);e.values=e.values.concat(t[n].values),t.splice(n,1);break}i||c.push(e.id)}),l.data.targets.forEach(function(e){var t,n;for(t=0;t<c.length;t++)if(e.id===c[t])for(h=e.values[e.values.length-1].index+1,n=0;n<f;n++)e.values.push({id:e.id,index:h+n,x:l.isTimeSeries()?l.getOtherTargetX(h+n):h+n,value:null})}),l.data.targets.length&&t.forEach(function(e){var t,n=[];for(t=l.data.targets[0].values[0].index;t<h;t++)n.push({id:e.id,index:t,x:l.isTimeSeries()?l.getOtherTargetX(t):t,value:null});e.values.forEach(function(e){e.index+=h,l.isTimeSeries()||(e.x+=h)}),e.values=n.concat(e.values)}),l.data.targets=l.data.targets.concat(t),r=l.getMaxDataCount(),a=l.data.targets[0],o=a.values[0],b(e.to)?(f=0,u=l.isTimeSeries()?l.parseDate(e.to):e.to,a.values.forEach(function(e){e.x<u&&f++})):b(e.length)&&(f=e.length),d?1===d&&l.isTimeSeries()&&(s=(a.values[a.values.length-1].x-o.x)/2,i=[new Date(+o.x-s),new Date(+o.x+s)],l.updateXDomain(null,!0,!0,!1,i)):(s=l.isTimeSeries()?a.values.length>1?a.values[a.values.length-1].x-o.x:o.x-l.getXDomain(l.data.targets)[0]:1,i=[o.x-s,o.x],l.updateXDomain(null,!0,!0,!1,i)),l.updateTargets(l.data.targets),l.redraw({flow:{index:o.index,length:f,duration:g(e.duration)?e.duration:l.config.transition_duration,done:e.done,orgDataCount:d},withLegend:!0,withTransition:d>1,withTrimXDomain:!1,withUpdateXAxis:!0})},h.generateFlow=function(e){var t=this,n=t.config,r=t.d3;return function(){var i,a,o,s=e.targets,u=e.flow,l=e.drawBar,c=e.drawLine,d=e.drawArea,f=e.cx,h=e.cy,p=e.xv,m=e.xForText,g=e.yForText,y=e.duration,v=1,x=u.index,b=u.length,M=t.getValueOnIndex(t.data.targets[0].values,x),L=t.getValueOnIndex(t.data.targets[0].values,x+b),w=t.x.domain(),T=u.duration||y,k=u.done||function(){},D=t.generateWait(),Y=t.xgrid||r.selectAll([]),E=t.xgridLines||r.selectAll([]),P=t.mainRegion||r.selectAll([]),A=t.mainText||r.selectAll([]),C=t.mainBar||r.selectAll([]),O=t.mainLine||r.selectAll([]),j=t.mainArea||r.selectAll([]),R=t.mainCircle||r.selectAll([]);t.flowing=!0,t.data.targets.forEach(function(e){e.values.splice(0,b)}),o=t.updateXDomain(s,!0,!0),t.updateXGrid&&t.updateXGrid(!0),u.orgDataCount?i=1===u.orgDataCount||(M&&M.x)===(L&&L.x)?t.x(w[0])-t.x(o[0]):t.isTimeSeries()?t.x(w[0])-t.x(o[0]):t.x(M.x)-t.x(L.x):1!==t.data.targets[0].values.length?i=t.x(w[0])-t.x(o[0]):t.isTimeSeries()?(M=t.getValueOnIndex(t.data.targets[0].values,0),L=t.getValueOnIndex(t.data.targets[0].values,t.data.targets[0].values.length-1),i=t.x(M.x)-t.x(L.x)):i=S(o)/2,v=S(w)/S(o),a="translate("+i+",0) scale("+v+",1)",t.hideXGridFocus(),r.transition().ease("linear").duration(T).each(function(){D.add(t.axes.x.transition().call(t.xAxis)),D.add(C.transition().attr("transform",a)),D.add(O.transition().attr("transform",a)),D.add(j.transition().attr("transform",a)),D.add(R.transition().attr("transform",a)),D.add(A.transition().attr("transform",a)),D.add(P.filter(t.isRegionOnX).transition().attr("transform",a)),D.add(Y.transition().attr("transform",a)),D.add(E.transition().attr("transform",a))}).call(D,function(){var e,r=[],i=[],a=[];if(b){for(e=0;e<b;e++)r.push("."+_.shape+"-"+(x+e)),i.push("."+_.text+"-"+(x+e)),a.push("."+_.eventRect+"-"+(x+e));t.svg.selectAll("."+_.shapes).selectAll(r).remove(),t.svg.selectAll("."+_.texts).selectAll(i).remove(),t.svg.selectAll("."+_.eventRects).selectAll(a).remove(),t.svg.select("."+_.xgrid).remove()}Y.attr("transform",null).attr(t.xgridAttr),E.attr("transform",null),E.select("line").attr("x1",n.axis_rotated?0:p).attr("x2",n.axis_rotated?t.width:p),E.select("text").attr("x",n.axis_rotated?t.width:0).attr("y",p),C.attr("transform",null).attr("d",l),O.attr("transform",null).attr("d",c),j.attr("transform",null).attr("d",d),R.attr("transform",null).attr("cx",f).attr("cy",h),A.attr("transform",null).attr("x",m).attr("y",g).style("fill-opacity",t.opacityForText.bind(t)),P.attr("transform",null),P.select("rect").filter(t.isRegionOnX).attr("x",t.regionX.bind(t)).attr("width",t.regionWidth.bind(t)),n.interaction_enabled&&t.redrawEventRect(),k(),t.flowing=!1})}},f.selected=function(e){var t=this.internal,n=t.d3;return n.merge(t.main.selectAll("."+_.shapes+t.getTargetSelectorSuffix(e)).selectAll("."+_.shape).filter(function(){return n.select(this).classed(_.SELECTED)}).map(function(e){return e.map(function(e){var t=e.__data__;return t.data?t.data:t})}))},f.select=function(e,t,n){var r=this.internal,i=r.d3,a=r.config;a.data_selection_enabled&&r.main.selectAll("."+_.shapes).selectAll("."+_.shape).each(function(o,s){var u=i.select(this),l=o.data?o.data.id:o.id,c=r.getToggle(this,o).bind(r),d=a.data_selection_grouped||!e||e.indexOf(l)>=0,f=!t||t.indexOf(s)>=0,h=u.classed(_.SELECTED);u.classed(_.line)||u.classed(_.area)||(d&&f?a.data_selection_isselectable(o)&&!h&&c(!0,u.classed(_.SELECTED,!0),o,s):b(n)&&n&&h&&c(!1,u.classed(_.SELECTED,!1),o,s))})},f.unselect=function(e,t){var n=this.internal,r=n.d3,i=n.config;i.data_selection_enabled&&n.main.selectAll("."+_.shapes).selectAll("."+_.shape).each(function(a,o){var s=r.select(this),u=a.data?a.data.id:a.id,l=n.getToggle(this,a).bind(n),c=i.data_selection_grouped||!e||e.indexOf(u)>=0,d=!t||t.indexOf(o)>=0,f=s.classed(_.SELECTED);s.classed(_.line)||s.classed(_.area)||c&&d&&i.data_selection_isselectable(a)&&f&&l(!1,s.classed(_.SELECTED,!1),a,o)})},f.transform=function(e,t){var n=this.internal,r=["pie","donut"].indexOf(e)>=0?{withTransform:!0}:null;n.transformTo(t,e,r)},h.transformTo=function(e,t,n){var r=this,i=!r.hasArcType(),a=n||{withTransitionForAxis:i};a.withTransitionForTransform=!1,r.transiting=!1,r.setTargetType(e,t),r.updateTargets(r.data.targets),r.updateAndRedraw(a)},f.groups=function(e){var t=this.internal,n=t.config;return x(e)?n.data_groups:(n.data_groups=e,t.redraw(),n.data_groups)},f.xgrids=function(e){var t=this.internal,n=t.config;return e?(n.grid_x_lines=e,t.redrawWithoutRescale(),n.grid_x_lines):n.grid_x_lines},f.xgrids.add=function(e){var t=this.internal;return this.xgrids(t.config.grid_x_lines.concat(e?e:[]))},f.xgrids.remove=function(e){var t=this.internal;t.removeGridLines(e,!0)},f.ygrids=function(e){var t=this.internal,n=t.config;return e?(n.grid_y_lines=e,t.redrawWithoutRescale(),n.grid_y_lines):n.grid_y_lines},f.ygrids.add=function(e){var t=this.internal;return this.ygrids(t.config.grid_y_lines.concat(e?e:[]))},f.ygrids.remove=function(e){var t=this.internal;t.removeGridLines(e,!1)},f.regions=function(e){var t=this.internal,n=t.config;return e?(n.regions=e,t.redrawWithoutRescale(),n.regions):n.regions},f.regions.add=function(e){var t=this.internal,n=t.config;return e?(n.regions=n.regions.concat(e),t.redrawWithoutRescale(),n.regions):n.regions},f.regions.remove=function(e){var t,n,r,i=this.internal,a=i.config;return e=e||{},t=i.getOption(e,"duration",a.transition_duration),n=i.getOption(e,"classes",[_.region]),r=i.main.select("."+_.regions).selectAll(n.map(function(e){return"."+e})),(t?r.transition().duration(t):r).style("opacity",0).remove(),a.regions=a.regions.filter(function(e){var t=!1;return!e.class||(e.class.split(" ").forEach(function(e){n.indexOf(e)>=0&&(t=!0)}),!t)}),a.regions},f.data=function(e){var t=this.internal.data.targets;return"undefined"==typeof e?t:t.filter(function(t){return[].concat(e).indexOf(t.id)>=0})},f.data.shown=function(e){return this.internal.filterTargetsToShow(this.data(e))},f.data.values=function(e){var t,n=null;return e&&(t=this.data(e),n=t[0]?t[0].values.map(function(e){return e.value}):null),n},f.data.names=function(e){return this.internal.clearLegendItemTextBoxCache(),this.internal.updateDataAttributes("names",e)},f.data.colors=function(e){return this.internal.updateDataAttributes("colors",e)},f.data.axes=function(e){return this.internal.updateDataAttributes("axes",e)},f.category=function(e,t){var n=this.internal,r=n.config;return arguments.length>1&&(r.axis_x_categories[e]=t,n.redraw()),r.axis_x_categories[e]},f.categories=function(e){var t=this.internal,n=t.config;return arguments.length?(n.axis_x_categories=e,t.redraw(),n.axis_x_categories):n.axis_x_categories},f.color=function(e){var t=this.internal;return t.color(e)},f.x=function(e){var t=this.internal;return arguments.length&&(t.updateTargetX(t.data.targets,e),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),t.data.xs},f.xs=function(e){var t=this.internal;return arguments.length&&(t.updateTargetXs(t.data.targets,e),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),t.data.xs},f.axis=function(){},f.axis.labels=function(e){var t=this.internal;arguments.length&&(Object.keys(e).forEach(function(n){t.axis.setLabelText(n,e[n])}),t.axis.updateLabels())},f.axis.max=function(e){var t=this.internal,n=t.config;return arguments.length?("object"==typeof e?(g(e.x)&&(n.axis_x_max=e.x),g(e.y)&&(n.axis_y_max=e.y),g(e.y2)&&(n.axis_y2_max=e.y2)):n.axis_y_max=n.axis_y2_max=e,void t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})):{x:n.axis_x_max,y:n.axis_y_max,y2:n.axis_y2_max}},f.axis.min=function(e){var t=this.internal,n=t.config;return arguments.length?("object"==typeof e?(g(e.x)&&(n.axis_x_min=e.x),g(e.y)&&(n.axis_y_min=e.y),g(e.y2)&&(n.axis_y2_min=e.y2)):n.axis_y_min=n.axis_y2_min=e,void t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})):{x:n.axis_x_min,y:n.axis_y_min,y2:n.axis_y2_min}},f.axis.range=function(e){return arguments.length?(b(e.max)&&this.axis.max(e.max),void(b(e.min)&&this.axis.min(e.min))):{max:this.axis.max(),min:this.axis.min()}},f.legend=function(){},f.legend.show=function(e){var t=this.internal;t.showLegend(t.mapToTargetIds(e)),t.updateAndRedraw({withLegend:!0})},f.legend.hide=function(e){var t=this.internal;t.hideLegend(t.mapToTargetIds(e)),t.updateAndRedraw({withLegend:!0})},f.resize=function(e){var t=this.internal,n=t.config;n.size_width=e?e.width:null,n.size_height=e?e.height:null,this.flush()},f.flush=function(){var e=this.internal;e.updateAndRedraw({withLegend:!0,withTransition:!1,withTransitionForTransform:!1})},f.destroy=function(){var e=this.internal;if(a.clearInterval(e.intervalForObserveInserted),void 0!==e.resizeTimeout&&a.clearTimeout(e.resizeTimeout),a.detachEvent)a.detachEvent("onresize",e.resizeFunction);else if(a.removeEventListener)a.removeEventListener("resize",e.resizeFunction);else{var t=a.onresize;t&&t.add&&t.remove&&t.remove(e.resizeFunction)}return e.selectChart.classed("c3",!1).html(""),Object.keys(e).forEach(function(t){e[t]=null}),null},f.tooltip=function(){},f.tooltip.show=function(e){var t,n,r=this.internal;e.mouse&&(n=e.mouse),e.data?r.isMultipleX()?(n=[r.x(e.data.x),r.getYScale(e.data.id)(e.data.value)],t=null):t=g(e.data.index)?e.data.index:r.getIndexByX(e.data.x):"undefined"!=typeof e.x?t=r.getIndexByX(e.x):"undefined"!=typeof e.index&&(t=e.index),r.dispatchEvent("mouseover",t,n),r.dispatchEvent("mousemove",t,n),r.config.tooltip_onshow.call(r,e.data)},f.tooltip.hide=function(){this.internal.dispatchEvent("mouseout",0),this.internal.config.tooltip_onhide.call(this)};var P;h.isSafari=function(){var e=a.navigator.userAgent;return e.indexOf("Safari")>=0&&e.indexOf("Chrome")<0},h.isChrome=function(){var e=a.navigator.userAgent;return e.indexOf("Chrome")>=0},Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),n=this,r=function(){},i=function(){return n.apply(this instanceof r?this:e,t.concat(Array.prototype.slice.call(arguments)))};return r.prototype=this.prototype,i.prototype=new r,i}),function(){"SVGPathSeg"in a||(a.SVGPathSeg=function(e,t,n){this.pathSegType=e,this.pathSegTypeAsLetter=t,this._owningPathSegList=n},SVGPathSeg.PATHSEG_UNKNOWN=0,SVGPathSeg.PATHSEG_CLOSEPATH=1,SVGPathSeg.PATHSEG_MOVETO_ABS=2,SVGPathSeg.PATHSEG_MOVETO_REL=3,SVGPathSeg.PATHSEG_LINETO_ABS=4,SVGPathSeg.PATHSEG_LINETO_REL=5,SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS=6,SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL=7,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS=8,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL=9,SVGPathSeg.PATHSEG_ARC_ABS=10,SVGPathSeg.PATHSEG_ARC_REL=11,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS=12,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL=13,SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS=14,SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL=15,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS=16,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL=17,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS=18,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL=19,SVGPathSeg.prototype._segmentChanged=function(){this._owningPathSegList&&this._owningPathSegList.segmentChanged(this)},a.SVGPathSegClosePath=function(e){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CLOSEPATH,"z",e)},SVGPathSegClosePath.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegClosePath.prototype.toString=function(){return"[object SVGPathSegClosePath]"},SVGPathSegClosePath.prototype._asPathString=function(){return this.pathSegTypeAsLetter},SVGPathSegClosePath.prototype.clone=function(){return new SVGPathSegClosePath(void 0)},a.SVGPathSegMovetoAbs=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_MOVETO_ABS,"M",e),this._x=t,this._y=n},SVGPathSegMovetoAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegMovetoAbs.prototype.toString=function(){return"[object SVGPathSegMovetoAbs]"},SVGPathSegMovetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegMovetoAbs.prototype.clone=function(){return new SVGPathSegMovetoAbs(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegMovetoAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegMovetoAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),a.SVGPathSegMovetoRel=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_MOVETO_REL,"m",e),this._x=t,this._y=n},SVGPathSegMovetoRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegMovetoRel.prototype.toString=function(){return"[object SVGPathSegMovetoRel]"},SVGPathSegMovetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegMovetoRel.prototype.clone=function(){return new SVGPathSegMovetoRel(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegMovetoRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegMovetoRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),a.SVGPathSegLinetoAbs=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_ABS,"L",e),this._x=t,this._y=n},SVGPathSegLinetoAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoAbs.prototype.toString=function(){return"[object SVGPathSegLinetoAbs]"},SVGPathSegLinetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegLinetoAbs.prototype.clone=function(){return new SVGPathSegLinetoAbs(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegLinetoAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegLinetoAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),a.SVGPathSegLinetoRel=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_REL,"l",e),this._x=t,this._y=n},SVGPathSegLinetoRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoRel.prototype.toString=function(){return"[object SVGPathSegLinetoRel]"},SVGPathSegLinetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegLinetoRel.prototype.clone=function(){return new SVGPathSegLinetoRel(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegLinetoRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegLinetoRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),a.SVGPathSegCurvetoCubicAbs=function(e,t,n,r,i,a,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS,"C",e),this._x=t,this._y=n,this._x1=r,this._y1=i,this._x2=a,this._y2=o},SVGPathSegCurvetoCubicAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicAbs]"},SVGPathSegCurvetoCubicAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicAbs.prototype.clone=function(){return new SVGPathSegCurvetoCubicAbs(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),a.SVGPathSegCurvetoCubicRel=function(e,t,n,r,i,a,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL,"c",e),this._x=t,this._y=n,this._x1=r,this._y1=i,this._x2=a,this._y2=o},SVGPathSegCurvetoCubicRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicRel]"},SVGPathSegCurvetoCubicRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicRel.prototype.clone=function(){return new SVGPathSegCurvetoCubicRel(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),a.SVGPathSegCurvetoQuadraticAbs=function(e,t,n,r,i){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS,"Q",e),this._x=t,this._y=n,this._x1=r,this._y1=i},SVGPathSegCurvetoQuadraticAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticAbs]"},SVGPathSegCurvetoQuadraticAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticAbs.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticAbs(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),a.SVGPathSegCurvetoQuadraticRel=function(e,t,n,r,i){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL,"q",e),this._x=t,this._y=n,this._x1=r,this._y1=i},SVGPathSegCurvetoQuadraticRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticRel]"},SVGPathSegCurvetoQuadraticRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticRel.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticRel(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),a.SVGPathSegArcAbs=function(e,t,n,r,i,a,o,s){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_ARC_ABS,"A",e),this._x=t,this._y=n,this._r1=r,this._r2=i,this._angle=a,this._largeArcFlag=o,this._sweepFlag=s},SVGPathSegArcAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegArcAbs.prototype.toString=function(){return"[object SVGPathSegArcAbs]"},SVGPathSegArcAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},SVGPathSegArcAbs.prototype.clone=function(){return new SVGPathSegArcAbs(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(SVGPathSegArcAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"r1",{get:function(){return this._r1},set:function(e){this._r1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"r2",{get:function(){return this._r2},set:function(e){this._r2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(e){this._largeArcFlag=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(e){this._sweepFlag=e,this._segmentChanged()},enumerable:!0}),a.SVGPathSegArcRel=function(e,t,n,r,i,a,o,s){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_ARC_REL,"a",e),this._x=t,this._y=n,this._r1=r,this._r2=i,this._angle=a,this._largeArcFlag=o,this._sweepFlag=s},SVGPathSegArcRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegArcRel.prototype.toString=function(){return"[object SVGPathSegArcRel]"},SVGPathSegArcRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},SVGPathSegArcRel.prototype.clone=function(){return new SVGPathSegArcRel(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(SVGPathSegArcRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"r1",{get:function(){return this._r1},set:function(e){this._r1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"r2",{get:function(){return this._r2},set:function(e){this._r2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e,
this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(e){this._largeArcFlag=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(e){this._sweepFlag=e,this._segmentChanged()},enumerable:!0}),a.SVGPathSegLinetoHorizontalAbs=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS,"H",e),this._x=t},SVGPathSegLinetoHorizontalAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoHorizontalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalAbs]"},SVGPathSegLinetoHorizontalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},SVGPathSegLinetoHorizontalAbs.prototype.clone=function(){return new SVGPathSegLinetoHorizontalAbs(void 0,this._x)},Object.defineProperty(SVGPathSegLinetoHorizontalAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),a.SVGPathSegLinetoHorizontalRel=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL,"h",e),this._x=t},SVGPathSegLinetoHorizontalRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoHorizontalRel.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalRel]"},SVGPathSegLinetoHorizontalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},SVGPathSegLinetoHorizontalRel.prototype.clone=function(){return new SVGPathSegLinetoHorizontalRel(void 0,this._x)},Object.defineProperty(SVGPathSegLinetoHorizontalRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),a.SVGPathSegLinetoVerticalAbs=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS,"V",e),this._y=t},SVGPathSegLinetoVerticalAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoVerticalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalAbs]"},SVGPathSegLinetoVerticalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},SVGPathSegLinetoVerticalAbs.prototype.clone=function(){return new SVGPathSegLinetoVerticalAbs(void 0,this._y)},Object.defineProperty(SVGPathSegLinetoVerticalAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),a.SVGPathSegLinetoVerticalRel=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL,"v",e),this._y=t},SVGPathSegLinetoVerticalRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoVerticalRel.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalRel]"},SVGPathSegLinetoVerticalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},SVGPathSegLinetoVerticalRel.prototype.clone=function(){return new SVGPathSegLinetoVerticalRel(void 0,this._y)},Object.defineProperty(SVGPathSegLinetoVerticalRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),a.SVGPathSegCurvetoCubicSmoothAbs=function(e,t,n,r,i){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS,"S",e),this._x=t,this._y=n,this._x2=r,this._y2=i},SVGPathSegCurvetoCubicSmoothAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothAbs]"},SVGPathSegCurvetoCubicSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicSmoothAbs.prototype.clone=function(){return new SVGPathSegCurvetoCubicSmoothAbs(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),a.SVGPathSegCurvetoCubicSmoothRel=function(e,t,n,r,i){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL,"s",e),this._x=t,this._y=n,this._x2=r,this._y2=i},SVGPathSegCurvetoCubicSmoothRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothRel]"},SVGPathSegCurvetoCubicSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicSmoothRel.prototype.clone=function(){return new SVGPathSegCurvetoCubicSmoothRel(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),a.SVGPathSegCurvetoQuadraticSmoothAbs=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS,"T",e),this._x=t,this._y=n},SVGPathSegCurvetoQuadraticSmoothAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothAbs]"},SVGPathSegCurvetoQuadraticSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticSmoothAbs.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticSmoothAbs(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),a.SVGPathSegCurvetoQuadraticSmoothRel=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL,"t",e),this._x=t,this._y=n},SVGPathSegCurvetoQuadraticSmoothRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothRel]"},SVGPathSegCurvetoQuadraticSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticSmoothRel.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticSmoothRel(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),SVGPathElement.prototype.createSVGPathSegClosePath=function(){return new SVGPathSegClosePath(void 0)},SVGPathElement.prototype.createSVGPathSegMovetoAbs=function(e,t){return new SVGPathSegMovetoAbs(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegMovetoRel=function(e,t){return new SVGPathSegMovetoRel(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegLinetoAbs=function(e,t){return new SVGPathSegLinetoAbs(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegLinetoRel=function(e,t){return new SVGPathSegLinetoRel(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicAbs=function(e,t,n,r,i,a){return new SVGPathSegCurvetoCubicAbs(void 0,e,t,n,r,i,a)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicRel=function(e,t,n,r,i,a){return new SVGPathSegCurvetoCubicRel(void 0,e,t,n,r,i,a)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticAbs=function(e,t,n,r){return new SVGPathSegCurvetoQuadraticAbs(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticRel=function(e,t,n,r){return new SVGPathSegCurvetoQuadraticRel(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegArcAbs=function(e,t,n,r,i,a,o){return new SVGPathSegArcAbs(void 0,e,t,n,r,i,a,o)},SVGPathElement.prototype.createSVGPathSegArcRel=function(e,t,n,r,i,a,o){return new SVGPathSegArcRel(void 0,e,t,n,r,i,a,o)},SVGPathElement.prototype.createSVGPathSegLinetoHorizontalAbs=function(e){return new SVGPathSegLinetoHorizontalAbs(void 0,e)},SVGPathElement.prototype.createSVGPathSegLinetoHorizontalRel=function(e){return new SVGPathSegLinetoHorizontalRel(void 0,e)},SVGPathElement.prototype.createSVGPathSegLinetoVerticalAbs=function(e){return new SVGPathSegLinetoVerticalAbs(void 0,e)},SVGPathElement.prototype.createSVGPathSegLinetoVerticalRel=function(e){return new SVGPathSegLinetoVerticalRel(void 0,e)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothAbs=function(e,t,n,r){return new SVGPathSegCurvetoCubicSmoothAbs(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothRel=function(e,t,n,r){return new SVGPathSegCurvetoCubicSmoothRel(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothAbs=function(e,t){return new SVGPathSegCurvetoQuadraticSmoothAbs(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothRel=function(e,t){return new SVGPathSegCurvetoQuadraticSmoothRel(void 0,e,t)}),"SVGPathSegList"in a||(a.SVGPathSegList=function(e){this._pathElement=e,this._list=this._parsePath(this._pathElement.getAttribute("d")),this._mutationObserverConfig={attributes:!0,attributeFilter:["d"]},this._pathElementMutationObserver=new MutationObserver(this._updateListFromPathMutations.bind(this)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},Object.defineProperty(SVGPathSegList.prototype,"numberOfItems",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"pathSegList",{get:function(){return this._pathSegList||(this._pathSegList=new SVGPathSegList(this)),this._pathSegList},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"normalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"animatedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"animatedNormalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),SVGPathSegList.prototype._checkPathSynchronizedToList=function(){this._updateListFromPathMutations(this._pathElementMutationObserver.takeRecords())},SVGPathSegList.prototype._updateListFromPathMutations=function(e){if(this._pathElement){var t=!1;e.forEach(function(e){"d"==e.attributeName&&(t=!0)}),t&&(this._list=this._parsePath(this._pathElement.getAttribute("d")))}},SVGPathSegList.prototype._writeListToPath=function(){this._pathElementMutationObserver.disconnect(),this._pathElement.setAttribute("d",SVGPathSegList._pathSegArrayAsString(this._list)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},SVGPathSegList.prototype.segmentChanged=function(e){this._writeListToPath()},SVGPathSegList.prototype.clear=function(){this._checkPathSynchronizedToList(),this._list.forEach(function(e){e._owningPathSegList=null}),this._list=[],this._writeListToPath()},SVGPathSegList.prototype.initialize=function(e){return this._checkPathSynchronizedToList(),this._list=[e],e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList.prototype._checkValidIndex=function(e){if(isNaN(e)||e<0||e>=this.numberOfItems)throw"INDEX_SIZE_ERR"},SVGPathSegList.prototype.getItem=function(e){return this._checkPathSynchronizedToList(),this._checkValidIndex(e),this._list[e]},SVGPathSegList.prototype.insertItemBefore=function(e,t){return this._checkPathSynchronizedToList(),t>this.numberOfItems&&(t=this.numberOfItems),e._owningPathSegList&&(e=e.clone()),this._list.splice(t,0,e),e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList.prototype.replaceItem=function(e,t){return this._checkPathSynchronizedToList(),e._owningPathSegList&&(e=e.clone()),this._checkValidIndex(t),this._list[t]=e,e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList.prototype.removeItem=function(e){this._checkPathSynchronizedToList(),this._checkValidIndex(e);var t=this._list[e];return this._list.splice(e,1),this._writeListToPath(),t},SVGPathSegList.prototype.appendItem=function(e){return this._checkPathSynchronizedToList(),e._owningPathSegList&&(e=e.clone()),this._list.push(e),e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList._pathSegArrayAsString=function(e){var t="",n=!0;return e.forEach(function(e){n?(n=!1,t+=e._asPathString()):t+=" "+e._asPathString()}),t},SVGPathSegList.prototype._parsePath=function(e){if(!e||0==e.length)return[];var t=this,n=function(){this.pathSegList=[]};n.prototype.appendSegment=function(e){this.pathSegList.push(e)};var r=function(e){this._string=e,this._currentIndex=0,this._endIndex=this._string.length,this._previousCommand=SVGPathSeg.PATHSEG_UNKNOWN,this._skipOptionalSpaces()};r.prototype._isCurrentSpace=function(){var e=this._string[this._currentIndex];return e<=" "&&(" "==e||"\n"==e||"\t"==e||"\r"==e||"\f"==e)},r.prototype._skipOptionalSpaces=function(){for(;this._currentIndex<this._endIndex&&this._isCurrentSpace();)this._currentIndex++;return this._currentIndex<this._endIndex},r.prototype._skipOptionalSpacesOrDelimiter=function(){return!(this._currentIndex<this._endIndex&&!this._isCurrentSpace()&&","!=this._string.charAt(this._currentIndex))&&(this._skipOptionalSpaces()&&this._currentIndex<this._endIndex&&","==this._string.charAt(this._currentIndex)&&(this._currentIndex++,this._skipOptionalSpaces()),this._currentIndex<this._endIndex)},r.prototype.hasMoreData=function(){return this._currentIndex<this._endIndex},r.prototype.peekSegmentType=function(){var e=this._string[this._currentIndex];return this._pathSegTypeFromChar(e)},r.prototype._pathSegTypeFromChar=function(e){switch(e){case"Z":case"z":return SVGPathSeg.PATHSEG_CLOSEPATH;case"M":return SVGPathSeg.PATHSEG_MOVETO_ABS;case"m":return SVGPathSeg.PATHSEG_MOVETO_REL;case"L":return SVGPathSeg.PATHSEG_LINETO_ABS;case"l":return SVGPathSeg.PATHSEG_LINETO_REL;case"C":return SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS;case"c":return SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL;case"Q":return SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS;case"q":return SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL;case"A":return SVGPathSeg.PATHSEG_ARC_ABS;case"a":return SVGPathSeg.PATHSEG_ARC_REL;case"H":return SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS;case"h":return SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL;case"V":return SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS;case"v":return SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL;case"S":return SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS;case"s":return SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL;case"T":return SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS;case"t":return SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL;default:return SVGPathSeg.PATHSEG_UNKNOWN}},r.prototype._nextCommandHelper=function(e,t){return("+"==e||"-"==e||"."==e||e>="0"&&e<="9")&&t!=SVGPathSeg.PATHSEG_CLOSEPATH?t==SVGPathSeg.PATHSEG_MOVETO_ABS?SVGPathSeg.PATHSEG_LINETO_ABS:t==SVGPathSeg.PATHSEG_MOVETO_REL?SVGPathSeg.PATHSEG_LINETO_REL:t:SVGPathSeg.PATHSEG_UNKNOWN},r.prototype.initialCommandIsMoveTo=function(){if(!this.hasMoreData())return!0;var e=this.peekSegmentType();return e==SVGPathSeg.PATHSEG_MOVETO_ABS||e==SVGPathSeg.PATHSEG_MOVETO_REL},r.prototype._parseNumber=function(){var e=0,t=0,n=1,r=0,i=1,a=1,o=this._currentIndex;if(this._skipOptionalSpaces(),this._currentIndex<this._endIndex&&"+"==this._string.charAt(this._currentIndex)?this._currentIndex++:this._currentIndex<this._endIndex&&"-"==this._string.charAt(this._currentIndex)&&(this._currentIndex++,i=-1),!(this._currentIndex==this._endIndex||(this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")&&"."!=this._string.charAt(this._currentIndex))){for(var s=this._currentIndex;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&this._string.charAt(this._currentIndex)<="9";)this._currentIndex++;if(this._currentIndex!=s)for(var u=this._currentIndex-1,l=1;u>=s;)t+=l*(this._string.charAt(u--)-"0"),l*=10;if(this._currentIndex<this._endIndex&&"."==this._string.charAt(this._currentIndex)){if(this._currentIndex++,this._currentIndex>=this._endIndex||this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&this._string.charAt(this._currentIndex)<="9";)r+=(this._string.charAt(this._currentIndex++)-"0")*(n*=.1)}if(this._currentIndex!=o&&this._currentIndex+1<this._endIndex&&("e"==this._string.charAt(this._currentIndex)||"E"==this._string.charAt(this._currentIndex))&&"x"!=this._string.charAt(this._currentIndex+1)&&"m"!=this._string.charAt(this._currentIndex+1)){if(this._currentIndex++,"+"==this._string.charAt(this._currentIndex)?this._currentIndex++:"-"==this._string.charAt(this._currentIndex)&&(this._currentIndex++,a=-1),this._currentIndex>=this._endIndex||this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&this._string.charAt(this._currentIndex)<="9";)e*=10,e+=this._string.charAt(this._currentIndex)-"0",this._currentIndex++}var c=t+r;if(c*=i,e&&(c*=Math.pow(10,a*e)),o!=this._currentIndex)return this._skipOptionalSpacesOrDelimiter(),c}},r.prototype._parseArcFlag=function(){if(!(this._currentIndex>=this._endIndex)){var e=!1,t=this._string.charAt(this._currentIndex++);if("0"==t)e=!1;else{if("1"!=t)return;e=!0}return this._skipOptionalSpacesOrDelimiter(),e}},r.prototype.parseSegment=function(){var e=this._string[this._currentIndex],n=this._pathSegTypeFromChar(e);if(n==SVGPathSeg.PATHSEG_UNKNOWN){if(this._previousCommand==SVGPathSeg.PATHSEG_UNKNOWN)return null;if(n=this._nextCommandHelper(e,this._previousCommand),n==SVGPathSeg.PATHSEG_UNKNOWN)return null}else this._currentIndex++;switch(this._previousCommand=n,n){case SVGPathSeg.PATHSEG_MOVETO_REL:return new SVGPathSegMovetoRel(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_MOVETO_ABS:return new SVGPathSegMovetoAbs(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_REL:return new SVGPathSegLinetoRel(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_ABS:return new SVGPathSegLinetoAbs(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL:return new SVGPathSegLinetoHorizontalRel(t,this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS:return new SVGPathSegLinetoHorizontalAbs(t,this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL:return new SVGPathSegLinetoVerticalRel(t,this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS:return new SVGPathSegLinetoVerticalAbs(t,this._parseNumber());case SVGPathSeg.PATHSEG_CLOSEPATH:return this._skipOptionalSpaces(),new SVGPathSegClosePath(t);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL:var r={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicRel(t,r.x,r.y,r.x1,r.y1,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS:var r={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicAbs(t,r.x,r.y,r.x1,r.y1,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:var r={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicSmoothRel(t,r.x,r.y,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:var r={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicSmoothAbs(t,r.x,r.y,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL:var r={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoQuadraticRel(t,r.x,r.y,r.x1,r.y1);case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS:var r={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoQuadraticAbs(t,r.x,r.y,r.x1,r.y1);case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:return new SVGPathSegCurvetoQuadraticSmoothRel(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:return new SVGPathSegCurvetoQuadraticSmoothAbs(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_ARC_REL:var r={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegArcRel(t,r.x,r.y,r.x1,r.y1,r.arcAngle,r.arcLarge,r.arcSweep);case SVGPathSeg.PATHSEG_ARC_ABS:var r={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegArcAbs(t,r.x,r.y,r.x1,r.y1,r.arcAngle,r.arcLarge,r.arcSweep);default:throw"Unknown path seg type."}};var i=new n,a=new r(e);if(!a.initialCommandIsMoveTo())return[];for(;a.hasMoreData();){var o=a.parseSegment();if(!o)return[];i.appendSegment(o)}return i.pathSegList})}(),r=[n(90)],i=function(){return m}.apply(t,r),!(void 0!==i&&(e.exports=i))}(window)},function(e,t){function n(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}var i="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();t=e.exports=i?n:r,t.supported=n,t.unsupported=r},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}t=e.exports="function"==typeof Object.keys?Object.keys:n,t.shim=n},function(e,t,n){var r,i;!function(a,o){r=o,i="function"==typeof r?r.call(t,n,t,e):r,!(void 0!==i&&(e.exports=i))}(this,function(){return function e(t,n){var r=Array.isArray(n),i=r&&[]||{};return r?(t=t||[],i=i.concat(t),n.forEach(function(n,r){"undefined"==typeof i[r]?i[r]=n:"object"==typeof n?i[r]=e(t[r],n):t.indexOf(n)===-1&&i.push(n)})):(t&&"object"==typeof t&&Object.keys(t).forEach(function(e){i[e]=t[e]}),Object.keys(n).forEach(function(r){"object"==typeof n[r]&&n[r]&&t[r]?i[r]=e(t[r],n[r]):i[r]=n[r]})),i}})},function(e,t){"use strict";function n(e){return e.replace(r,function(e,t){return t.toUpperCase()})}var r=/-(.)/g;e.exports=n},function(e,t,n){"use strict";function r(e){return i(e.replace(a,"ms-"))}var i=n(311),a=/^-ms-/;e.exports=r},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 i(e){return r(e)?Array.isArray(e)?e.slice():a(e):[e]}var a=n(322);e.exports=i},function(e,t,n){"use strict";function r(e){var t=e.match(c);return t&&t[1].toLowerCase()}function i(e,t){var n=l;l?void 0:u(!1);var i=r(e),a=i&&s(i);if(a){n.innerHTML=a[1]+e+a[2];for(var c=a[0];c--;)n=n.lastChild}else n.innerHTML=e;var d=n.getElementsByTagName("script");d.length&&(t?void 0:u(!1),o(d).forEach(t));for(var f=o(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return f}var a=n(8),o=n(313),s=n(95),u=n(2),l=a.canUseDOM?document.createElement("div"):null,c=/^\s*<(\w+)/;e.exports=i},function(e,t){"use strict";function n(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=n},function(e,t){"use strict";function n(e){return e.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;e.exports=n},function(e,t,n){"use strict";function r(e){return i(e).replace(a,"-ms-")}var i=n(316),a=/^ms-/;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,n){"use strict";function r(e){return i(e)&&3==e.nodeType}var i=n(318);e.exports=r},function(e,t){"use strict";function n(e,t,n){if(!e)return null;var i={};for(var a in e)r.call(e,a)&&(i[a]=t.call(n,e[a],a,e));return i}var r=Object.prototype.hasOwnProperty;e.exports=n},function(e,t){"use strict";function n(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=n},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),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}var i=n(2);e.exports=r},function(e,t){"use strict";function n(e,t,n){function i(){return s=!0,u?void(c=[].concat(r.call(arguments))):void n.apply(this,arguments)}function a(){if(!s&&(l=!0,!u)){for(u=!0;!s&&o<e&&l;)l=!1,t.call(this,o++,a,i);return u=!1,s?void n.apply(this,c):void(o>=e&&l&&(s=!0,n()))}}var o=0,s=!1,u=!1,l=!1,c=void 0;a()}t.__esModule=!0;var r=Array.prototype.slice;t.loopAsync=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){function e(e){try{e=e||window.history.state||{}}catch(t){e={}}var t=d.getWindowPath(),n=e,r=n.key,i=void 0;r?i=f.readState(r):(i=null,r=v.createKey(),g&&window.history.replaceState(a({},e,{key:r}),null));var o=l.parsePath(t);return v.createLocation(a({},o,{state:i}),void 0,r)}function t(t){function n(t){void 0!==t.state&&r(e(t.state))}var r=t.transitionTo;return d.addEventListener(window,"popstate",n),function(){d.removeEventListener(window,"popstate",n)}}function n(e){var t=e.basename,n=e.pathname,r=e.search,i=e.hash,a=e.state,o=e.action,s=e.key;if(o!==u.POP){f.saveState(s,a);var l=(t||"")+n+r+i,c={key:s};if(o===u.PUSH){if(y)return window.location.href=l,!1;window.history.pushState(c,null,l)}else{if(y)return window.location.replace(l),!1;window.history.replaceState(c,null,l)}}}function r(e){1===++x&&(b=t(v));var n=v.listenBefore(e);return function(){n(),0===--x&&b()}}function i(e){1===++x&&(b=t(v));var n=v.listen(e);return function(){n(),0===--x&&b()}}function o(e){1===++x&&(b=t(v)),v.registerTransitionHook(e)}function h(e){v.unregisterTransitionHook(e),0===--x&&b()}var m=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];c.canUseDOM?void 0:s.default(!1);var _=m.forceRefresh,g=d.supportsHistory(),y=!g||_,v=p.default(a({},m,{getCurrentLocation:e,finishTransition:n,saveState:f.saveState})),x=0,b=void 0;return a({},v,{listenBefore:r,listen:i,registerTransitionHook:o,unregisterTransitionHook:h})}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(7),s=r(o),u=n(26),l=n(22),c=n(42),d=n(57),f=n(97),h=n(98),p=r(h);t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){var e=arguments.length<=0||void 0===arguments[0]?"/":arguments[0],t=arguments.length<=1||void 0===arguments[1]?s.POP:arguments[1],n=arguments.length<=2||void 0===arguments[2]?null:arguments[2],r=arguments.length<=3||void 0===arguments[3]?null:arguments[3];"string"==typeof e&&(e=u.parsePath(e)),"object"==typeof t&&(e=a({},e,{state:t}),t=n||s.POP,n=r);var i=e.pathname||"/",o=e.search||"",l=e.hash||"",c=e.state||null;return{pathname:i,search:o,hash:l,state:c,action:t,key:n}}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(14),s=(r(o),n(26)),u=n(22);t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return e.filter(function(e){return e.state}).reduce(function(e,t){return e[t.key]=t.state,e},{})}function a(){function e(e,t){g[e]=t}function t(e){return g[e]}function n(){var e=m[_],n=e.basename,r=e.pathname,i=e.search,a=(n||"")+r+(i||""),s=void 0,u=void 0;e.key?(s=e.key,u=t(s)):(s=f.createKey(),u=null,e.key=s);var l=c.parsePath(a);return f.createLocation(o({},l,{state:u}),void 0,s)}function r(e){var t=_+e;return t>=0&&t<m.length}function a(e){if(e){if(!r(e))return;_+=e;var t=n();f.transitionTo(o({},t,{action:d.POP}))}}function s(t){switch(t.action){case d.PUSH:_+=1,_<m.length&&m.splice(_),m.push(t),e(t.key,t.state);break;case d.REPLACE:m[_]=t,e(t.key,t.state)}}var u=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];Array.isArray(u)?u={entries:u}:"string"==typeof u&&(u={entries:[u]});var f=h.default(o({},u,{getCurrentLocation:n,finishTransition:s,saveState:e,go:a})),p=u,m=p.entries,_=p.current;"string"==typeof m?m=[m]:Array.isArray(m)||(m=["/"]),m=m.map(function(e){var t=f.createKey();return"string"==typeof e?{pathname:e,key:t}:"object"==typeof e&&e?o({},e,{key:t}):void l.default(!1)}),null==_?_=m.length-1:_>=0&&_<m.length?void 0:l.default(!1);var g=i(m);return f}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(14),u=(r(s),n(7)),l=r(u),c=n(22),d=n(26),f=n(100),h=r(f);t.default=a,e.exports=t.default},function(e,t,n){function r(e){return n(i(e))}function i(e){return a[e]||function(){throw new Error("Cannot find module '"+e+"'.")}()}var a={"./af":103,"./af.js":103,"./ar":109,"./ar-dz":104,"./ar-dz.js":104,"./ar-ly":105,"./ar-ly.js":105,"./ar-ma":106,"./ar-ma.js":106,"./ar-sa":107,"./ar-sa.js":107,"./ar-tn":108,"./ar-tn.js":108,"./ar.js":109,"./az":110,"./az.js":110,"./be":111,"./be.js":111,"./bg":113,"./bg-x":112,"./bg-x.js":112,"./bg.js":113,"./bn":114,"./bn.js":114,"./bo":115,"./bo.js":115,"./br":116,"./br.js":116,"./bs":117,"./bs.js":117,"./ca":118,"./ca.js":118,"./cs":119,"./cs.js":119,"./cv":120,"./cv.js":120,"./cy":121,"./cy.js":121,"./da":122,"./da.js":122,"./de":124,"./de-at":123,"./de-at.js":123,"./de.js":124,"./dv":125,"./dv.js":125,"./el":126,"./el.js":126,"./en-au":127,"./en-au.js":127,"./en-ca":128,"./en-ca.js":128,"./en-gb":129,"./en-gb.js":129,"./en-ie":130,"./en-ie.js":130,"./en-nz":131,"./en-nz.js":131,"./eo":132,"./eo.js":132,"./es":134,"./es-do":133,"./es-do.js":133,"./es.js":134,"./et":135,"./et.js":135,"./eu":136,"./eu.js":136,"./fa":137,"./fa.js":137,"./fi":138,"./fi.js":138,"./fo":139,"./fo.js":139,"./fr":142,"./fr-ca":140,"./fr-ca.js":140,"./fr-ch":141,"./fr-ch.js":141,"./fr.js":142,"./fy":143,"./fy.js":143,"./gd":144,"./gd.js":144,"./gl":145,"./gl.js":145,"./he":146,"./he.js":146,"./hi":147,"./hi.js":147,"./hr":148,"./hr.js":148,"./hu":149,"./hu.js":149,"./hy-am":150,"./hy-am.js":150,"./id":151,"./id.js":151,"./is":152,"./is.js":152,
"./it":153,"./it.js":153,"./ja":154,"./ja.js":154,"./jv":155,"./jv.js":155,"./ka":156,"./ka.js":156,"./kk":157,"./kk.js":157,"./km":158,"./km.js":158,"./ko":159,"./ko.js":159,"./ky":160,"./ky.js":160,"./lb":161,"./lb.js":161,"./lo":162,"./lo.js":162,"./lt":163,"./lt.js":163,"./lv":164,"./lv.js":164,"./me":165,"./me.js":165,"./mi":166,"./mi.js":166,"./mk":167,"./mk.js":167,"./ml":168,"./ml.js":168,"./mr":169,"./mr.js":169,"./ms":171,"./ms-my":170,"./ms-my.js":170,"./ms.js":171,"./my":172,"./my.js":172,"./nb":173,"./nb.js":173,"./ne":174,"./ne.js":174,"./nl":176,"./nl-be":175,"./nl-be.js":175,"./nl.js":176,"./nn":177,"./nn.js":177,"./pa-in":178,"./pa-in.js":178,"./pl":179,"./pl.js":179,"./pt":181,"./pt-br":180,"./pt-br.js":180,"./pt.js":181,"./ro":182,"./ro.js":182,"./ru":183,"./ru.js":183,"./se":184,"./se.js":184,"./si":185,"./si.js":185,"./sk":186,"./sk.js":186,"./sl":187,"./sl.js":187,"./sq":188,"./sq.js":188,"./sr":190,"./sr-cyrl":189,"./sr-cyrl.js":189,"./sr.js":190,"./ss":191,"./ss.js":191,"./sv":192,"./sv.js":192,"./sw":193,"./sw.js":193,"./ta":194,"./ta.js":194,"./te":195,"./te.js":195,"./tet":196,"./tet.js":196,"./th":197,"./th.js":197,"./tl-ph":198,"./tl-ph.js":198,"./tlh":199,"./tlh.js":199,"./tr":200,"./tr.js":200,"./tzl":201,"./tzl.js":201,"./tzm":203,"./tzm-latn":202,"./tzm-latn.js":202,"./tzm.js":203,"./uk":204,"./uk.js":204,"./uz":205,"./uz.js":205,"./vi":206,"./vi.js":206,"./x-pseudo":207,"./x-pseudo.js":207,"./yo":208,"./yo.js":208,"./zh-cn":209,"./zh-cn.js":209,"./zh-hk":210,"./zh-hk.js":210,"./zh-tw":211,"./zh-tw.js":211};r.keys=function(){return Object.keys(a)},r.resolve=i,e.exports=r,r.id=327},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(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(d===clearTimeout)return clearTimeout(e);if((d===r||!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 o(){m&&h&&(m=!1,h.length?p=h.concat(p):_=-1,p.length&&s())}function s(){if(!m){var e=i(o);m=!0;for(var t=p.length;t;){for(h=p,p=[];++_<t;)h&&h[_].run();_=-1,t=p.length}h=null,m=!1,a(e)}}function u(e,t){this.fun=e,this.array=t}function l(){}var c,d,f=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{d="function"==typeof clearTimeout?clearTimeout:r}catch(e){d=r}}();var h,p=[],m=!1,_=-1;f.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new u(e,t)),1!==p.length||m||i(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=l,f.addListener=l,f.once=l,f.off=l,f.removeListener=l,f.removeAllListeners=l,f.emit=l,f.binding=function(e){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(e){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(491);t.extract=function(e){return e.split("?")[1]||""},t.parse=function(e){return"string"!=typeof e?{}:(e=e.trim().replace(/^(\?|#|&)/,""),e?e.split("&").reduce(function(e,t){var n=t.replace(/\+/g," ").split("="),r=n.shift(),i=n.length>0?n.join("="):void 0;return r=decodeURIComponent(r),i=void 0===i?null:decodeURIComponent(i),e.hasOwnProperty(r)?Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]:e[r]=i,e},{}):{})},t.stringify=function(e){return e?Object.keys(e).sort().map(function(t){var n=e[t];return void 0===n?"":null===n?t:Array.isArray(n)?n.slice().sort().map(function(e){return r(t)+"="+r(e)}).join("&"):r(t)+"="+r(n)}).filter(function(e){return e.length>0}).join("&"):""}},function(e,t){"use strict";function n(){return["<input>","applyClass","autoApply","autoUpdateInput","alwaysShowCalendars","buttonClasses","cancelClass","dateLimit","drops","endDate","isInvalidDate","linkedCalendars","locale","maxDate","minDate","opens","parentEl","ranges","showDropdowns","showWeekNumbers","singleDatePicker","startDate","template","timePicker","timePicker24Hour","timePickerIncrement","timePickerSeconds","timeZone"]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t,n){"use strict";var r=n(341).default,i=n(342).default,a=n(339).default,o=n(338).default,s=n(340).default,u=n(336).default,l=n(343).default;Object.defineProperty(t,"__esModule",{value:!0});var c=n(3),d=l(c),f=n(102),h=l(f);n(306);var p=n(330),m=l(p),_=["Show","Hide","ShowCalendar","HideCalendar","Apply","Cancel"],g=function(e){function t(e){o(this,t),r(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={},this.$picker=void 0,this.picker=void 0,this.options=(0,m.default)(),this.handleCallback=this.handleCallback.bind(this)}return i(t,e),a(t,null,[{key:"propTypes",value:{startDate:d.default.PropTypes.any,children:d.default.PropTypes.any,callback:d.default.PropTypes.func,onEvent:d.default.PropTypes.func,onShow:d.default.PropTypes.func,onHide:d.default.PropTypes.func,onShowCalendar:d.default.PropTypes.func,onHideCalendar:d.default.PropTypes.func,onApply:d.default.PropTypes.func,onCancel:d.default.PropTypes.func},enumerable:!0},{key:"defaultProps",value:{},enumerable:!0}]),a(t,[{key:"componentDidMount",value:function(){var e=this;this.$picker=(0,h.default)(this.refs.picker),this.$picker.daterangepicker(this.getOptionsFromProps(),this.handleCallback),_.forEach(function(t){var n=t.toLowerCase();e.$picker.on(n+".daterangepicker",e.makeEventHandler("on"+t))})}},{key:"componentWillUnmount",value:function(){this.getPicker().remove()}},{key:"setOptionsFromProps",value:function(){var e=this,t=this.getOptionsFromProps(),n=u(t);this.$picker&&t&&n.forEach(function(n){e.applyOptionToPicker(n,t[n])})}},{key:"getPicker",value:function(){return this.$picker&&this.$picker.data("daterangepicker")}},{key:"getOptionsFromProps",value:function(){var e=this,t={},n=this.props,r=void 0;return this.options.forEach(function(i){if(n.hasOwnProperty(i))switch(r=n[i],i){case"startDate":case"endDate":r&&(t[i]=r);break;case"locale":if(r&&"object"==typeof r){var a=e.getPicker();a&&(r=h.default.extend({},r,a.locale))}t[i]=r;break;default:t[i]=r}}),t}},{key:"applyOptionToPicker",value:function(e,t){this.$picker&&(this.$picker.data("daterangepicker")[e]=t)}},{key:"handleCallback",value:function(e,t){"function"==typeof this.props.callback&&this.props.callback(e,t)}},{key:"makeEventHandler",value:function(e){var t=this;return function(n,r){t.props.onEvent&&t.props.onEvent(n,r),"function"==typeof t.props[e]&&t.props[e](n,r)}}},{key:"render",value:function(){return this.setOptionsFromProps(),d.default.createElement("div",s({ref:"picker"},this.props),this.props.children)}}]),t}(d.default.Component);t.default=g,e.exports=t.default},function(e,t,n){e.exports={default:n(344),__esModule:!0}},function(e,t,n){e.exports={default:n(345),__esModule:!0}},function(e,t,n){e.exports={default:n(346),__esModule:!0}},function(e,t,n){e.exports={default:n(347),__esModule:!0}},function(e,t,n){e.exports={default:n(348),__esModule:!0}},function(e,t,n){e.exports={default:n(349),__esModule:!0}},function(e,t){"use strict";t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.__esModule=!0},function(e,t,n){"use strict";var r=n(334).default;t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),r(e,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),t.__esModule=!0},function(e,t,n){"use strict";var r=n(332).default;t.default=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.__esModule=!0},function(e,t,n){"use strict";var r=n(335).default;t.default=function(e,t,n){for(var i=!0;i;){var a=e,o=t,s=n;i=!1,null===a&&(a=Function.prototype);var u=r(a,o);if(void 0!==u){if("value"in u)return u.value;var l=u.get;if(void 0===l)return;return l.call(s)}var c=Object.getPrototypeOf(a);if(null===c)return;e=c,t=o,n=s,i=!0,u=c=void 0}},t.__esModule=!0},function(e,t,n){"use strict";var r=n(333).default,i=n(337).default;t.default=function(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=r(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i?i(e,t):e.__proto__=t)},t.__esModule=!0},function(e,t){"use strict";t.default=function(e){return e&&e.__esModule?e:{default:e}},t.__esModule=!0},function(e,t,n){n(357),e.exports=n(33).Object.assign},function(e,t,n){var r=n(34);e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(34);e.exports=function(e,t,n){return r.setDesc(e,t,n)}},function(e,t,n){var r=n(34);n(358),e.exports=function(e,t){return r.getDesc(e,t)}},function(e,t,n){n(359),e.exports=n(33).Object.keys},function(e,t,n){n(360),e.exports=n(33).Object.setPrototypeOf},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(216);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},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)},function(e,t,n){var r=n(34),i=n(218),a=n(215);e.exports=n(214)(function(){var e=Object.assign,t={},n={},r=Symbol(),i="abcdefghijklmnopqrst";return t[r]=7,i.split("").forEach(function(e){n[e]=e}),7!=e({},t)[r]||Object.keys(e({},n)).join("")!=i})?function(e,t){for(var n=i(e),o=arguments,s=o.length,u=1,l=r.getKeys,c=r.getSymbols,d=r.isEnum;s>u;)for(var f,h=a(o[u++]),p=c?l(h).concat(c(h)):l(h),m=p.length,_=0;m>_;)d.call(h,f=p[_++])&&(n[f]=h[f]);return n}:Object.assign},function(e,t,n){var r=n(34).getDesc,i=n(216),a=n(351),o=function(e,t){if(a(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{i=n(212)(Function.call,r(Object.prototype,"__proto__").set,2),i(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){var r=n(215),i=n(213);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(62);r(r.S+r.F,"Object",{assign:n(354)})},function(e,t,n){var r=n(356);n(217)("getOwnPropertyDescriptor",function(e){return function(t,n){return e(r(t),n)}})},function(e,t,n){var r=n(218);n(217)("keys",function(e){return function(t){return e(r(t))}})},function(e,t,n){var r=n(62);r(r.S,"Object",{setPrototypeOf:n(355).set})},function(e,t,n){"use strict";function r(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){return!!(e&&t&&e.some(function(e){return~t.indexOf(e)}))}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(56),u=r(s),l=function(){function e(t,n){var r=this;i(this,e),this.component=t,this.allProps=[],this.cache=Object.keys(n).reduce(function(e,t){var i,a=n[t],s=a.fn,u=a.params;return u.forEach(function(e){~r.allProps.indexOf(e)||r.allProps.push(e)}),o({},e,(i={},i[t]={value:void 0,props:u,fn:s},i))},{})}return e.prototype.get=function(e){var t=this.component,n=this.cache[e],r=n.value,i=n.fn,a=n.props;if(void 0!==r)return r;var o=a.map(function(e){return t.props[e]}),s=i.apply(void 0,o);return this.cache[e].value=s,s},e.prototype.componentWillReceiveProps=function(e){var t=this,n=this.component,r=[];this.allProps.forEach(function(t){u.default(n.props[t],e[t])||r.push(t)}),r.length&&Object.keys(this.cache).forEach(function(e){a(r,t.cache[e].props)&&delete t.cache[e].value})},e}();t.default=l,e.exports=t.default},function(e,t,n){e.exports=n(361)},function(e,t,n){"use strict";function r(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 o(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,t.default=void 0;var s=n(3),u=n(220),l=r(u),c=n(221),d=(r(c),function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.store=n.store,o}return o(t,e),t.prototype.getChildContext=function(){return{store:this.store}},t.prototype.render=function(){return s.Children.only(this.props.children)},t}(s.Component));t.default=d,d.propTypes={store:l.default.isRequired,children:s.PropTypes.element.isRequired},d.childContextTypes={store:l.default.isRequired}},function(e,t,n){"use strict";function r(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 o(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 s(e){return e.displayName||e.name||"Component"}function u(e,t){try{return e.apply(t)}catch(e){return k.value=e,k}}function l(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=Boolean(e),f=e||S,p=void 0;p="function"==typeof t?t:t?(0,g.default)(t):w;var _=n||T,y=r.pure,v=void 0===y||y,x=r.withRef,M=void 0!==x&&x,Y=v&&_!==T,E=D++;return function(e){function t(e,t,n){var r=_(e,t,n);return r}var n="Connect("+s(e)+")",r=function(r){function s(e,t){i(this,s);var o=a(this,r.call(this,e,t));o.version=E,o.store=e.store||t.store,(0,L.default)(o.store,'Could not find "store" in either the context or '+('props of "'+n+'". ')+"Either wrap the root component in a <Provider>, "+('or explicitly pass "store" as a prop to "'+n+'".'));var u=o.store.getState();return o.state={storeState:u},o.clearCache(),o}return o(s,r),s.prototype.shouldComponentUpdate=function(){return!v||this.haveOwnPropsChanged||this.hasStoreStateChanged},s.prototype.computeStateProps=function(e,t){if(!this.finalMapStateToProps)return this.configureFinalMapState(e,t);var n=e.getState(),r=this.doStatePropsDependOnOwnProps?this.finalMapStateToProps(n,t):this.finalMapStateToProps(n);return r},s.prototype.configureFinalMapState=function(e,t){var n=f(e.getState(),t),r="function"==typeof n;return this.finalMapStateToProps=r?n:f,this.doStatePropsDependOnOwnProps=1!==this.finalMapStateToProps.length,r?this.computeStateProps(e,t):n},s.prototype.computeDispatchProps=function(e,t){if(!this.finalMapDispatchToProps)return this.configureFinalMapDispatch(e,t);var n=e.dispatch,r=this.doDispatchPropsDependOnOwnProps?this.finalMapDispatchToProps(n,t):this.finalMapDispatchToProps(n);return r},s.prototype.configureFinalMapDispatch=function(e,t){var n=p(e.dispatch,t),r="function"==typeof n;return this.finalMapDispatchToProps=r?n:p,this.doDispatchPropsDependOnOwnProps=1!==this.finalMapDispatchToProps.length,r?this.computeDispatchProps(e,t):n},s.prototype.updateStatePropsIfNeeded=function(){var e=this.computeStateProps(this.store,this.props);return(!this.stateProps||!(0,m.default)(e,this.stateProps))&&(this.stateProps=e,!0)},s.prototype.updateDispatchPropsIfNeeded=function(){var e=this.computeDispatchProps(this.store,this.props);return(!this.dispatchProps||!(0,m.default)(e,this.dispatchProps))&&(this.dispatchProps=e,!0)},s.prototype.updateMergedPropsIfNeeded=function(){var e=t(this.stateProps,this.dispatchProps,this.props);return!(this.mergedProps&&Y&&(0,m.default)(e,this.mergedProps))&&(this.mergedProps=e,!0)},s.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},s.prototype.trySubscribe=function(){l&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},s.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},s.prototype.componentDidMount=function(){this.trySubscribe()},s.prototype.componentWillReceiveProps=function(e){v&&(0,m.default)(e,this.props)||(this.haveOwnPropsChanged=!0)},s.prototype.componentWillUnmount=function(){this.tryUnsubscribe(),this.clearCache()},s.prototype.clearCache=function(){this.dispatchProps=null,this.stateProps=null,this.mergedProps=null,this.haveOwnPropsChanged=!0,this.hasStoreStateChanged=!0,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,this.renderedElement=null,this.finalMapDispatchToProps=null,this.finalMapStateToProps=null},s.prototype.handleChange=function(){if(this.unsubscribe){var e=this.store.getState(),t=this.state.storeState;if(!v||t!==e){if(v&&!this.doStatePropsDependOnOwnProps){var n=u(this.updateStatePropsIfNeeded,this);if(!n)return;n===k&&(this.statePropsPrecalculationError=k.value),this.haveStatePropsBeenPrecalculated=!0}this.hasStoreStateChanged=!0,this.setState({storeState:e})}}},s.prototype.getWrappedInstance=function(){return(0,L.default)(M,"To access the wrapped instance, you need to specify { withRef: true } as the fourth argument of the connect() call."),this.refs.wrappedInstance},s.prototype.render=function(){var t=this.haveOwnPropsChanged,n=this.hasStoreStateChanged,r=this.haveStatePropsBeenPrecalculated,i=this.statePropsPrecalculationError,a=this.renderedElement;if(this.haveOwnPropsChanged=!1,this.hasStoreStateChanged=!1,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,i)throw i;var o=!0,s=!0;v&&a&&(o=n||t&&this.doStatePropsDependOnOwnProps,s=t&&this.doDispatchPropsDependOnOwnProps);var u=!1,l=!1;r?u=!0:o&&(u=this.updateStatePropsIfNeeded()),s&&(l=this.updateDispatchPropsIfNeeded());var f=!0;return f=!!(u||l||t)&&this.updateMergedPropsIfNeeded(),!f&&a?a:(M?this.renderedElement=(0,d.createElement)(e,c({},this.mergedProps,{ref:"wrappedInstance"})):this.renderedElement=(0,d.createElement)(e,this.mergedProps),this.renderedElement)},s}(d.Component);return r.displayName=n,r.WrappedComponent=e,r.contextTypes={store:h.default},r.propTypes={store:h.default},(0,b.default)(r,e)}}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=l;var d=n(3),f=n(220),h=r(f),p=n(365),m=r(p),_=n(366),g=r(_),y=n(221),v=(r(y),n(375)),x=(r(v),n(60)),b=r(x),M=n(7),L=r(M),S=function(e){return{}},w=function(e){return{dispatch:e}},T=function(e,t,n){return c({},n,e,t)},k={value:null},D=0},function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=Object.prototype.hasOwnProperty,a=0;a<n.length;a++)if(!i.call(t,n[a])||e[n[a]]!==t[n[a]])return!1;return!0}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";function r(e){return function(t){return(0,i.bindActionCreators)(e,t)}}t.__esModule=!0,t.default=r;var i=n(55)},function(e,t,n){function r(e){return null==e?void 0===e?u:s:(e=Object(e),l&&l in e?a(e):o(e))}var i=n(222),a=n(370),o=n(371),s="[object Null]",u="[object Undefined]",l=i?i.toStringTag:void 0;e.exports=r},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){var r=n(372),i=r(Object.getPrototypeOf,Object);e.exports=i},function(e,t,n){function r(e){var t=o.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(e){}var i=s.call(e);return r&&(t?e[u]=n:delete e[u]),i}var i=n(222),a=Object.prototype,o=a.hasOwnProperty,s=a.toString,u=i?i.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return i.call(e)}var r=Object.prototype,i=r.toString;e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){var r=n(368),i="object"==typeof self&&self&&self.Object===Object&&self,a=r||i||Function("return this")();e.exports=a},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){function r(e){if(!o(e)||i(e)!=s)return!1;var t=a(e);if(null===t)return!0;var n=d.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}var i=n(367),a=n(369),o=n(374),s="[object Object]",u=Function.prototype,l=Object.prototype,c=u.toString,d=l.hasOwnProperty,f=c.call(Object);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(6),a=(r(i),n(23)),o={contextTypes:{history:a.history},componentWillMount:function(){this.history=this.context.history}};t.default=o,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(3),o=r(a),s=n(223),u=r(s),l=o.default.createClass({displayName:"IndexLink",render:function(){return o.default.createElement(u.default,i({},this.props,{onlyActiveOnIndex:!0}))}});t.default=l,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(3),a=r(i),o=n(6),s=(r(o),n(7)),u=r(s),l=n(224),c=r(l),d=n(23),f=a.default.PropTypes,h=f.string,p=f.object,m=a.default.createClass({displayName:"IndexRedirect",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=c.default.createRouteFromReactElement(e))}},propTypes:{to:h.isRequired,query:p,state:p,onEnter:d.falsy,children:d.falsy},render:function(){(0,u.default)(!1)}});t.default=m,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(3),a=r(i),o=n(6),s=(r(o),n(7)),u=r(s),l=n(20),c=n(23),d=a.default.PropTypes.func,f=a.default.createClass({displayName:"IndexRoute",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=(0,l.createRouteFromReactElement)(e))}},propTypes:{path:c.falsy,component:c.component,components:c.components,getComponent:d,getComponents:d},render:function(){(0,u.default)(!1)}});t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(6),a=(r(i),n(3)),o=r(a),s=n(7),u=r(s),l=o.default.PropTypes.object,c={contextTypes:{history:l.isRequired,route:l},propTypes:{route:l},componentDidMount:function(){this.routerWillLeave?void 0:(0,u.default)(!1);var e=this.props.route||this.context.route;e?void 0:(0,u.default)(!1),this._unlistenBeforeLeavingRoute=this.context.history.listenBeforeLeavingRoute(e,this.routerWillLeave)},componentWillUnmount:function(){this._unlistenBeforeLeavingRoute&&this._unlistenBeforeLeavingRoute()}};t.default=c,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(3),a=r(i),o=n(7),s=r(o),u=n(20),l=n(23),c=a.default.PropTypes,d=c.string,f=c.func,h=a.default.createClass({displayName:"Route",statics:{createRouteFromReactElement:u.createRouteFromReactElement},propTypes:{path:d,component:l.component,components:l.components,getComponent:f,getComponents:f},render:function(){(0,s.default)(!1)}});t.default=h,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(6),a=(r(i),n(3)),o=r(a),s=o.default.PropTypes.object,u={propTypes:{route:s.isRequired},childContextTypes:{route:s.isRequired},getChildContext:function(){return{route:this.props.route}},componentWillMount:function(){}};t.default=u,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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){return!e||!e.__v2_compatible__}function o(e){return e&&e.getCurrentLocation}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(99),l=r(u),c=n(43),d=r(c),f=n(7),h=r(f),p=n(3),m=r(p),_=n(65),g=r(_),y=n(23),v=n(44),x=r(v),b=n(20),M=n(225),L=n(6),S=(r(L),m.default.PropTypes),w=S.func,T=S.object,k=m.default.createClass({displayName:"Router",propTypes:{history:T,children:y.routes,routes:y.routes,render:w,createElement:w,onError:w,onUpdate:w,parseQueryString:w,stringifyQuery:w,matchContext:T},getDefaultProps:function(){return{render:function(e){return m.default.createElement(x.default,e)}}},getInitialState:function(){return{location:null,routes:null,params:null,components:null}},handleError:function(e){if(!this.props.onError)throw e;this.props.onError.call(this,e)},componentWillMount:function(){var e=this,t=this.props,n=(t.parseQueryString,t.stringifyQuery,this.createRouterObjects()),r=n.history,i=n.transitionManager,a=n.router;this._unlisten=i.listen(function(t,n){t?e.handleError(t):e.setState(n,e.props.onUpdate)}),this.history=r,this.router=a},createRouterObjects:function(){var e=this.props.matchContext;if(e)return e;var t=this.props.history,n=this.props,r=n.routes,i=n.children;o(t)?(0,h.default)(!1):void 0,a(t)&&(t=this.wrapDeprecatedHistory(t));var s=(0,g.default)(t,(0,b.createRoutes)(r||i)),u=(0,M.createRouterObject)(t,s),l=(0,M.createRoutingHistory)(t,s);return{history:l,transitionManager:s,router:u}},wrapDeprecatedHistory:function(e){var t=this.props,n=t.parseQueryString,r=t.stringifyQuery,i=void 0;return i=e?function(){return e}:l.default,(0,d.default)(i)({parseQueryString:n,stringifyQuery:r})},componentWillReceiveProps:function(e){},componentWillUnmount:function(){this._unlisten&&this._unlisten()},render:function e(){var t=this.state,n=t.location,r=t.routes,a=t.params,o=t.components,u=this.props,l=u.createElement,e=u.render,c=i(u,["createElement","render"]);return null==n?null:(Object.keys(k.propTypes).forEach(function(e){return delete c[e]}),e(s({},c,{history:this.history,router:this.router,location:n,routes:r,params:a,components:o,createElement:l})))}});t.default=k,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(3),a=r(i),o=n(44),s=r(o),u=n(6),l=(r(u),a.default.createClass({displayName:"RoutingContext",componentWillMount:function(){},render:function(){return a.default.createElement(s.default,this.props)}}));t.default=l,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return function(){for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];if(e.apply(t,i),e.length<n){var o=i[i.length-1];o()}}}function a(e){return e.reduce(function(e,t){return t.onEnter&&e.push(i(t.onEnter,t,3)),e},[])}function o(e){return e.reduce(function(e,t){return t.onChange&&e.push(i(t.onChange,t,4)),e},[])}function s(e,t,n){function r(e,t,n){return t?void(i={pathname:t,query:n,state:e}):void(i=e)}if(!e)return void n();var i=void 0;(0,d.loopAsync)(e,function(e,n,a){t(e,r,function(e){e||i?a(e,i):n()})},n)}function u(e,t,n){var r=a(e);return s(r.length,function(e,n,i){r[e](t,n,i)},n)}function l(e,t,n,r){var i=o(e);return s(i.length,function(e,r,a){i[e](t,n,r,a)},r)}function c(e,t){for(var n=0,r=e.length;n<r;++n)e[n].onLeave&&e[n].onLeave.call(e[n],t)}t.__esModule=!0,t.runEnterHooks=u,t.runChangeHooks=l,t.runLeaveHooks=c;var d=n(63),f=n(6);r(f)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(3),o=r(a),s=n(44),u=r(s),l=n(6);r(l);t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map(function(e){return e.renderRouterContext}).filter(Boolean),s=t.map(function(e){return e.renderRouteComponent}).filter(Boolean),l=function(){var e=arguments.length<=0||void 0===arguments[0]?a.createElement:arguments[0];return function(t,n){return s.reduceRight(function(e,t){return t(e,n)},e(t,n))}};return function(e){return r.reduceRight(function(t,n){return n(t,e)},o.default.createElement(u.default,i({},e,{createElement:l(e.createElement)})))}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(324),a=r(i),o=n(227),s=r(o);t.default=(0,s.default)(a.default),e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){if(!e.path)return!1;var r=(0,a.getParamNames)(e.path);return r.some(function(e){return t.params[e]!==n.params[e]})}function i(e,t){var n=e&&e.routes,i=t.routes,a=void 0,o=void 0,s=void 0;return n?!function(){var u=!1;a=n.filter(function(n){if(u)return!0;var a=i.indexOf(n)===-1||r(n,e,t);return a&&(u=!0),a}),a.reverse(),s=[],o=[],i.forEach(function(e){var t=n.indexOf(e)===-1,r=a.indexOf(e)!==-1;t||r?s.push(e):o.push(e)})}():(a=[],o=[],s=i),{leaveRoutes:a,changeRoutes:o,enterRoutes:s}}t.__esModule=!0;var a=n(27);t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){if(t.component||t.components)return void n(null,t.component||t.components);var r=t.getComponent||t.getComponents;if(!r)return void n();var i=e.location,a=(0,u.default)(e,i);r.call(t,a,n)}function a(e,t){(0,o.mapAsync)(e.routes,function(t,n,r){i(e,t,r)},t)}t.__esModule=!0;var o=n(63),s=n(228),u=r(s);t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n={};return e.path?((0,i.getParamNames)(e.path).forEach(function(e){Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}),n):n}t.__esModule=!0;var i=n(27);t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(99),a=r(i),o=n(227),s=r(o);t.default=(0,s.default)(a.default),e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(e==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(e,n){return r(e,t[n])});if("object"===("undefined"==typeof e?"undefined":u(e))){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))if(void 0===e[n]){if(void 0!==t[n])return!1}else{if(!Object.prototype.hasOwnProperty.call(t,n))return!1;if(!r(e[n],t[n]))return!1}return!0}return String(e)===String(t)}function i(e,t){return"/"!==t.charAt(0)&&(t="/"+t),"/"!==e.charAt(e.length-1)&&(e+="/"),"/"!==t.charAt(t.length-1)&&(t+="/"),t===e}function a(e,t,n){for(var r=e,i=[],a=[],o=0,s=t.length;o<s;++o){var u=t[o],c=u.path||"";if("/"===c.charAt(0)&&(r=e,i=[],a=[]),null!==r&&c){var d=(0,l.matchPattern)(c,r);if(d?(r=d.remainingPathname,i=[].concat(i,d.paramNames),a=[].concat(a,d.paramValues)):r=null,""===r)return i.every(function(e,t){return String(a[t])===String(n[e])})}}return!1}function o(e,t){return null==t?null==e:null==e||r(e,t)}function s(e,t,n,r,s){var u=e.pathname,l=e.query;return null!=n&&("/"!==u.charAt(0)&&(u="/"+u),!!(i(u,n.pathname)||!t&&a(u,r,s))&&o(l,n.query));
}t.__esModule=!0;var u="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=s;var l=n(27);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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,t){var n=e.history,r=e.routes,a=e.location,u=i(e,["history","routes","location"]);n||a?void 0:(0,l.default)(!1),n=n?n:(0,d.default)(u);var c=(0,h.default)(n,(0,p.createRoutes)(r)),f=void 0;a?a=n.createLocation(a):f=n.listen(function(e){a=e});var _=(0,m.createRouterObject)(n,c);n=(0,m.createRoutingHistory)(n,c),c.match(a,function(e,r,i){t(e,r&&_.createLocation(r,s.REPLACE),i&&o({},i,{history:n,router:_,matchContext:{history:n,transitionManager:c,router:_}})),f&&f()})}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(26),u=n(7),l=r(u),c=n(226),d=r(c),f=n(65),h=r(f),p=n(20),m=n(225);t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n,r,i){if(e.childRoutes)return[null,e.childRoutes];if(!e.getChildRoutes)return[];var a=!0,o=void 0,u={location:t,params:s(n,r)},l=(0,p.default)(u,t);return e.getChildRoutes(l,function(e,t){return t=!e&&(0,g.createRoutes)(t),a?void(o=[e,t]):void i(e,t)}),a=!1,o}function a(e,t,n,r,i){if(e.indexRoute)i(null,e.indexRoute);else if(e.getIndexRoute){var o={location:t,params:s(n,r)},u=(0,p.default)(o,t);e.getIndexRoute(u,function(e,t){i(e,!e&&(0,g.createRoutes)(t)[0])})}else e.childRoutes?!function(){var o=e.childRoutes.filter(function(e){return!e.path});(0,f.loopAsync)(o.length,function(e,i,s){a(o[e],t,n,r,function(t,n){if(t||n){var r=[o[e]].concat(Array.isArray(n)?n:[n]);s(t,r)}else i()})},function(e,t){i(null,t)})}():i()}function o(e,t,n){return t.reduce(function(e,t,r){var i=n&&n[r];return Array.isArray(e[t])?e[t].push(i):t in e?e[t]=[e[t],i]:e[t]=i,e},e)}function s(e,t){return o({},e,t)}function u(e,t,n,r,o,u){var c=e.path||"";if("/"===c.charAt(0)&&(n=t.pathname,r=[],o=[]),null!==n&&c){try{var f=(0,m.matchPattern)(c,n);f?(n=f.remainingPathname,r=[].concat(r,f.paramNames),o=[].concat(o,f.paramValues)):n=null}catch(e){u(e)}if(""===n){var h=function(){var n={routes:[e],params:s(r,o)};return a(e,t,r,o,function(e,t){if(e)u(e);else{if(Array.isArray(t)){var r;(r=n.routes).push.apply(r,t)}else t&&n.routes.push(t);u(null,n)}}),{v:void 0}}();if("object"===("undefined"==typeof h?"undefined":d(h)))return h.v}}if(null!=n||e.childRoutes){var p=function(i,a){i?u(i):a?l(a,t,function(t,n){t?u(t):n?(n.routes.unshift(e),u(null,n)):u()},n,r,o):u()},_=i(e,t,r,o,p);_&&p.apply(void 0,_)}else u()}function l(e,t,n,r){var i=arguments.length<=4||void 0===arguments[4]?[]:arguments[4],a=arguments.length<=5||void 0===arguments[5]?[]:arguments[5];void 0===r&&("/"!==t.pathname.charAt(0)&&(t=c({},t,{pathname:"/"+t.pathname})),r=t.pathname),(0,f.loopAsync)(e.length,function(n,o,s){u(e[n],t,r,i,a,function(e,t){e||t?s(e,t):o()})},n)}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d="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=l;var f=n(63),h=n(228),p=r(h),m=n(27),_=n(6),g=(r(_),n(20));e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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){return function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=t.routes,r=i(t,["routes"]),a=(0,u.default)(e)(r),s=(0,c.default)(a,n);return o({},a,s)}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(43),u=r(s),l=n(65),c=r(l),d=n(6);r(d);t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return e.displayName||e.name||"Component"}function a(e,t){var n=t&&t.withRef,r=c.default.createClass({displayName:"WithRouter",contextTypes:{router:h.routerShape},propTypes:{router:h.routerShape},getWrappedInstance:function(){return n?void 0:(0,u.default)(!1),this.wrappedInstance},render:function(){var t=this,r=this.props.router||this.context.router,i=o({},this.props,{router:r});return n&&(i.ref=function(e){t.wrappedInstance=e}),c.default.createElement(e,i)}});return r.displayName="withRouter("+i(e)+")",r.WrappedComponent=e,(0,f.default)(r,e)}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=a;var s=n(7),u=r(s),l=n(3),c=r(l),d=n(60),f=r(d),h=n(64);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(3),a=r(i),o=n(219),s=(r(o),n(307)),u=r(s),l=n(310),c=r(l),d=n(398),f=r(d),h=function(e){return e&&e.length},p=function(e){return!h(e)||0==e.length},m=function(e,t){var n=e.initialData,r=t.initialData;return!(!n&&!r)&&(!p(r)&&(!(!p(n)||p(r))||r.length!=n.length))},_=a.default.createClass({displayName:"RTChart",componentDidMount:function(){var e=this.props,t=e.initialData,n=e.maxValues;this.limit=n||30,this.count=h(t)?t.length:0,this.initChart(this.props)},getInitialState:function(){return{chart:null}},unload:function(){this.state.chart.unload({ids:this.props.fields})},resetChart:function(){this.unload(),this.initChart(this.props)},componentWillReceiveProps:function(e){if(m(this.props,e))return void this.initChart(e);if(this.state.chart&&e.data){Object.keys(e.data).length<this.props.fields.length&&console.warn("Values has a length of "+e.values.length+" but must be the same as fields: "+this.props.fields.length),e.reset&&this.resetChart(e);var t=(0,f.default)([e.data],e.fields,this.limit),n=(0,c.default)({columns:t,duration:400},this.props.flow||{});this.count<=this.limit&&this.count++,this.count<this.limit&&(n.length=0),this.state.chart.flow(n)}},render:function(){return a.default.createElement("div",{style:this.props.style,ref:"chart"})},initChart:function(e){if(!e.fields)throw new Error("prop type fields are missing. fields={['field',..]}");this.state.chart&&this.unload();var t=e.initialData,n=e.chart,r=e.fields,i=[["x"]];e.fields.forEach(function(e){return i.push([e])});var a=(0,c.default)({axis:{x:{type:"timeseries",tick:{format:"%H:%M:%S"}}}},n||{}),o=p(t)?i:(0,f.default)(t,r,this.limit),a=(0,c.default)({axis:{x:{type:"timeseries",tick:{format:"%H:%M:%S"}}},data:{x:"x",columns:o}},n||{});a.axis.x.type="timeseries",a.bindto=this.refs.chart;var n=u.default.generate(a);this.setState({chart:n,initialData:t})},propTypes:{dateFormat:a.default.PropTypes.string,chart:a.default.PropTypes.object,fields:a.default.PropTypes.array.isRequired,maxValues:a.default.PropTypes.number}});e.exports=_},function(e,t){"use strict";var n=function(e){return"date"===e};e.exports=function(e,t,r){e.length>r&&(e=e.slice(e.length-r));var i={date:[]};t.forEach(function(e){return i[e]=[]}),e.forEach(function(e){var t=!0,r=!1,a=void 0;try{for(var o,s=Object.keys(e)[Symbol.iterator]();!(t=(o=s.next()).done);t=!0){var u=o.value;i[u]&&i[u].push(n(u)?new Date(e[u]):e[u])}}catch(e){r=!0,a=e}finally{try{!t&&s.return&&s.return()}finally{if(r)throw a}}});var a=[],o=!0,s=!1,u=void 0;try{for(var l,c=Object.keys(i)[Symbol.iterator]();!(o=(l=c.next()).done);o=!0){var d=l.value;n(d)?a.push(["x"].concat(i[d])):a.push([d].concat(i[d]))}}catch(e){s=!0,u=e}finally{try{!o&&c.return&&c.return()}finally{if(s)throw u}}return a}},function(e,t){(function(t){"use strict";var n="undefined"==typeof window?t:window,r=function(e,t,n){return function(r,i){var a=e(function(){t.call(this,a),r.apply(this,arguments)}.bind(this),i);return this[n]?this[n].push(a):this[n]=[a],a}},i=function(e,t){return function(n){if(this[t]){var r=this[t].indexOf(n);r!==-1&&this[t].splice(r,1)}e(n)}},a="TimerMixin_timeouts",o=i(n.clearTimeout,a),s=r(n.setTimeout,o,a),u="TimerMixin_intervals",l=i(n.clearInterval,u),c=r(n.setInterval,function(){},u),d="TimerMixin_immediates",f=i(n.clearImmediate,d),h=r(n.setImmediate,f,d),p="TimerMixin_rafs",m=i(n.cancelAnimationFrame,p),_=r(n.requestAnimationFrame,m,p),g={componentWillUnmount:function(){this[a]&&this[a].forEach(function(e){n.clearTimeout(e)}),this[a]=null,this[u]&&this[u].forEach(function(e){n.clearInterval(e)}),this[u]=null,this[d]&&this[d].forEach(function(e){n.clearImmediate(e)}),this[d]=null,this[p]&&this[p].forEach(function(e){n.cancelAnimationFrame(e)}),this[p]=null},setTimeout:s,clearTimeout:o,setInterval:c,clearInterval:l,setImmediate:h,clearImmediate:f,requestAnimationFrame:_,cancelAnimationFrame:m};e.exports=g}).call(t,function(){return this}())},function(e,t,n){"use strict";var r=n(9),i=n(74),a=n(93),o={componentDidMount:function(){this.props.autoFocus&&a(i(this))}},s={Mixin:o,focusDOMComponent:function(){a(r.getNode(this._rootNodeID))}};e.exports=s},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 i(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function a(e){switch(e){case D.topCompositionStart:return Y.compositionStart;case D.topCompositionEnd:return Y.compositionEnd;case D.topCompositionUpdate:return Y.compositionUpdate}}function o(e,t){return e===D.topKeyDown&&t.keyCode===b}function s(e,t){switch(e){case D.topKeyUp:return x.indexOf(t.keyCode)!==-1;case D.topKeyDown:return t.keyCode!==b;case D.topKeyPress:case D.topMouseDown:case D.topBlur:return!0;default:return!1}}function u(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function l(e,t,n,r,i){var l,c;if(M?l=a(e):P?s(e,r)&&(l=Y.compositionEnd):o(e,r)&&(l=Y.compositionStart),!l)return null;w&&(P||l!==Y.compositionStart?l===Y.compositionEnd&&P&&(c=P.getData()):P=_.getPooled(t));var d=g.getPooled(l,n,r,i);if(c)d.data=c;else{var f=u(r);null!==f&&(d.data=f)}return p.accumulateTwoPhaseDispatches(d),d}function c(e,t){switch(e){case D.topCompositionEnd:return u(t);case D.topKeyPress:var n=t.which;return n!==T?null:(E=!0,k);case D.topTextInput:var r=t.data;return r===k&&E?null:r;default:return null}}function d(e,t){if(P){if(e===D.topCompositionEnd||s(e,t)){var n=P.getData();return _.release(P),P=null,n}return null}switch(e){case D.topPaste:return null;case D.topKeyPress:return t.which&&!i(t)?String.fromCharCode(t.which):null;case D.topCompositionEnd:return w?null:t.data;default:return null}}function f(e,t,n,r,i){var a;if(a=S?c(e,r):d(e,r),!a)return null;var o=y.getPooled(Y.beforeInput,n,r,i);return o.data=a,p.accumulateTwoPhaseDispatches(o),o}var h=n(16),p=n(37),m=n(8),_=n(409),g=n(439),y=n(442),v=n(18),x=[9,13,27,32],b=229,M=m.canUseDOM&&"CompositionEvent"in window,L=null;m.canUseDOM&&"documentMode"in document&&(L=document.documentMode);var S=m.canUseDOM&&"TextEvent"in window&&!L&&!r(),w=m.canUseDOM&&(!M||L&&L>8&&L<=11),T=32,k=String.fromCharCode(T),D=h.topLevelTypes,Y={beforeInput:{phasedRegistrationNames:{bubbled:v({onBeforeInput:null}),captured:v({onBeforeInputCapture:null})},dependencies:[D.topCompositionEnd,D.topKeyPress,D.topTextInput,D.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:v({onCompositionEnd:null}),captured:v({onCompositionEndCapture:null})},dependencies:[D.topBlur,D.topCompositionEnd,D.topKeyDown,D.topKeyPress,D.topKeyUp,D.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:v({onCompositionStart:null}),captured:v({onCompositionStartCapture:null})},dependencies:[D.topBlur,D.topCompositionStart,D.topKeyDown,D.topKeyPress,D.topKeyUp,D.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:v({onCompositionUpdate:null}),captured:v({onCompositionUpdateCapture:null})},dependencies:[D.topBlur,D.topCompositionUpdate,D.topKeyDown,D.topKeyPress,D.topKeyUp,D.topMouseDown]}},E=!1,P=null,A={eventTypes:Y,extractEvents:function(e,t,n,r,i){return[l(e,t,n,r,i),f(e,t,n,r,i)]}};e.exports=A},function(e,t,n){"use strict";var r=n(230),i=n(8),a=n(11),o=(n(312),n(447)),s=n(317),u=n(321),l=(n(4),u(function(e){return s(e)})),c=!1,d="cssFloat";if(i.canUseDOM){var f=document.createElement("div").style;try{f.font=""}catch(e){c=!0}void 0===document.documentElement.style.cssFloat&&(d="styleFloat")}var h={createMarkupForStyles:function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];null!=r&&(t+=l(n)+":",t+=o(n,r)+";")}return t||null},setValueForStyles:function(e,t){var n=e.style;for(var i in t)if(t.hasOwnProperty(i)){var a=o(i,t[i]);if("float"===i&&(i=d),a)n[i]=a;else{var s=c&&r.shorthandPropertyExpansions[i];if(s)for(var u in s)n[u]="";else n[i]=""}}}};a.measureMethods(h,"CSSPropertyOperations",{setValueForStyles:"setValueForStyles"}),e.exports=h},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 i(e){var t=L.getPooled(Y.change,P,e,S(e));x.accumulateTwoPhaseDispatches(t),M.batchedUpdates(a,t)}function a(e){v.enqueueEvents(e),v.processEventQueue(!1)}function o(e,t){E=e,P=t,E.attachEvent("onchange",i)}function s(){E&&(E.detachEvent("onchange",i),E=null,P=null)}function u(e,t,n){if(e===D.topChange)return n}function l(e,t,n){e===D.topFocus?(s(),o(t,n)):e===D.topBlur&&s()}function c(e,t){E=e,P=t,A=e.value,C=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(E,"value",R),E.attachEvent("onpropertychange",f)}function d(){E&&(delete E.value,E.detachEvent("onpropertychange",f),E=null,P=null,A=null,C=null)}function f(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==A&&(A=t,i(e))}}function h(e,t,n){if(e===D.topInput)return n}function p(e,t,n){e===D.topFocus?(d(),c(t,n)):e===D.topBlur&&d()}function m(e,t,n){if((e===D.topSelectionChange||e===D.topKeyUp||e===D.topKeyDown)&&E&&E.value!==A)return A=E.value,P}function _(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function g(e,t,n){if(e===D.topClick)return n}var y=n(16),v=n(36),x=n(37),b=n(8),M=n(12),L=n(25),S=n(77),w=n(80),T=n(257),k=n(18),D=y.topLevelTypes,Y={change:{phasedRegistrationNames:{bubbled:k({onChange:null}),captured:k({onChangeCapture:null})},dependencies:[D.topBlur,D.topChange,D.topClick,D.topFocus,D.topInput,D.topKeyDown,D.topKeyUp,D.topSelectionChange]}},E=null,P=null,A=null,C=null,O=!1;b.canUseDOM&&(O=w("change")&&(!("documentMode"in document)||document.documentMode>8));var j=!1;b.canUseDOM&&(j=w("input")&&(!("documentMode"in document)||document.documentMode>9));var R={get:function(){return C.get.call(this)},set:function(e){A=""+e,C.set.call(this,e)}},N={eventTypes:Y,extractEvents:function(e,t,n,i,a){var o,s;if(r(t)?O?o=u:s=l:T(t)?j?o=h:(o=m,s=p):_(t)&&(o=g),o){var c=o(e,t,n);if(c){var d=L.getPooled(Y.change,c,i,a);return d.type="change",x.accumulateTwoPhaseDispatches(d),d}}s&&s(e,t,n)}};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";function r(e){return e.substring(1,e.indexOf(" "))}var i=n(8),a=n(314),o=n(13),s=n(95),u=n(2),l=/^(<[^ \/>]+)/,c="data-danger-index",d={dangerouslyRenderMarkup:function(e){i.canUseDOM?void 0:u(!1);for(var t,n={},d=0;d<e.length;d++)e[d]?void 0:u(!1),t=r(e[d]),t=s(t)?t:"*",n[t]=n[t]||[],n[t][d]=e[d];var f=[],h=0;for(t in n)if(n.hasOwnProperty(t)){var p,m=n[t];for(p in m)if(m.hasOwnProperty(p)){var _=m[p];m[p]=_.replace(l,"$1 "+c+'="'+p+'" ')}for(var g=a(m.join(""),o),y=0;y<g.length;++y){var v=g[y];v.hasAttribute&&v.hasAttribute(c)&&(p=+v.getAttribute(c),v.removeAttribute(c),f.hasOwnProperty(p)?u(!1):void 0,f[p]=v,h+=1)}}return h!==f.length?u(!1):void 0,f.length!==e.length?u(!1):void 0,f},dangerouslyReplaceNodeWithMarkup:function(e,t){i.canUseDOM?void 0:u(!1),t?void 0:u(!1),"html"===e.tagName.toLowerCase()?u(!1):void 0;var n;n="string"==typeof t?a(t,o)[0]:t,e.parentNode.replaceChild(n,e)}};e.exports=d},function(e,t,n){"use strict";var r=n(18),i=[r({ResponderEventPlugin:null}),r({SimpleEventPlugin:null}),r({TapEventPlugin:null}),r({EnterLeaveEventPlugin:null}),r({ChangeEventPlugin:null}),r({SelectEventPlugin:null}),r({BeforeInputEventPlugin:null})];e.exports=i},function(e,t,n){"use strict";var r=n(16),i=n(37),a=n(49),o=n(9),s=n(18),u=r.topLevelTypes,l=o.getFirstReactDOM,c={mouseEnter:{registrationName:s({onMouseEnter:null}),dependencies:[u.topMouseOut,u.topMouseOver]},mouseLeave:{registrationName:s({onMouseLeave:null}),dependencies:[u.topMouseOut,u.topMouseOver]}},d=[null,null],f={eventTypes:c,extractEvents:function(e,t,n,r,s){if(e===u.topMouseOver&&(r.relatedTarget||r.fromElement))return null;if(e!==u.topMouseOut&&e!==u.topMouseOver)return null;var f;if(t.window===t)f=t;else{var h=t.ownerDocument;f=h?h.defaultView||h.parentWindow:window}var p,m,_="",g="";if(e===u.topMouseOut?(p=t,_=n,m=l(r.relatedTarget||r.toElement),m?g=o.getID(m):m=f,m=m||f):(p=f,m=t,g=n),p===m)return null;var y=a.getPooled(c.mouseLeave,_,r,s);y.type="mouseleave",y.target=p,y.relatedTarget=m;var v=a.getPooled(c.mouseEnter,g,r,s);return v.type="mouseenter",v.target=m,v.relatedTarget=p,i.accumulateEnterLeaveDispatches(y,v,_,g),d[0]=y,d[1]=v,d}};e.exports=f},function(e,t,n){"use strict";function r(e){return e===_.topMouseUp||e===_.topTouchEnd||e===_.topTouchCancel}function i(e){return e===_.topMouseMove||e===_.topTouchMove}function a(e){return e===_.topMouseDown||e===_.topTouchStart}function o(e,t,n,r){var i=e.type||"unknown-event";e.currentTarget=m.Mount.getNode(r),t?h.invokeGuardedCallbackWithCatch(i,n,e,r):h.invokeGuardedCallback(i,n,e,r),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchIDs;if(Array.isArray(n))for(var i=0;i<n.length&&!e.isPropagationStopped();i++)o(e,t,n[i],r[i]);else n&&o(e,t,n,r);e._dispatchListeners=null,e._dispatchIDs=null}function u(e){var t=e._dispatchListeners,n=e._dispatchIDs;if(Array.isArray(t)){for(var r=0;r<t.length&&!e.isPropagationStopped();r++)if(t[r](e,n[r]))return n[r]}else if(t&&t(e,n))return n;return null}function l(e){var t=u(e);return e._dispatchIDs=null,e._dispatchListeners=null,t}function c(e){var t=e._dispatchListeners,n=e._dispatchIDs;Array.isArray(t)?p(!1):void 0;var r=t?t(e,n):null;return e._dispatchListeners=null,e._dispatchIDs=null,r}function d(e){return!!e._dispatchListeners}var f=n(16),h=n(245),p=n(2),m=(n(4),{Mount:null,injectMount:function(e){m.Mount=e}}),_=f.topLevelTypes,g={isEndish:r,isMoveish:i,isStartish:a,executeDirectDispatch:c,executeDispatchesInOrder:s,executeDispatchesInOrderStopAtTrue:l,hasDispatches:d,getNode:function(e){return m.Mount.getNode(e)},getID:function(e){return m.Mount.getID(e)},injection:m};e.exports=g},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var i=n(21),a=n(5),o=n(256);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[o()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,i=this.getText(),a=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[a-t];t++);var s=t>1?1-t:void 0;return this._fallbackText=i.slice(e,s),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";var r,i=n(28),a=n(8),o=i.injection.MUST_USE_ATTRIBUTE,s=i.injection.MUST_USE_PROPERTY,u=i.injection.HAS_BOOLEAN_VALUE,l=i.injection.HAS_SIDE_EFFECTS,c=i.injection.HAS_NUMERIC_VALUE,d=i.injection.HAS_POSITIVE_NUMERIC_VALUE,f=i.injection.HAS_OVERLOADED_BOOLEAN_VALUE;if(a.canUseDOM){var h=document.implementation;r=h&&h.hasFeature&&h.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}var p={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),Properties:{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:o|u,allowTransparency:o,alt:null,async:u,autoComplete:null,autoPlay:u,capture:o|u,cellPadding:null,cellSpacing:null,charSet:o,challenge:o,checked:s|u,classID:o,className:r?o:s,cols:o|d,colSpan:null,content:null,contentEditable:null,contextMenu:o,controls:s|u,coords:null,crossOrigin:null,data:null,dateTime:o,default:u,defer:u,dir:null,disabled:o|u,download:f,draggable:null,encType:null,form:o,formAction:o,formEncType:o,formMethod:o,formNoValidate:u,formTarget:o,frameBorder:o,headers:null,height:o,hidden:o|u,high:null,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:s,inputMode:o,integrity:null,is:o,keyParams:o,keyType:o,kind:null,label:null,lang:null,list:o,loop:s|u,low:null,manifest:o,marginHeight:null,marginWidth:null,max:null,maxLength:o,media:o,mediaGroup:null,method:null,min:null,minLength:o,multiple:s|u,muted:s|u,name:null,nonce:o,noValidate:u,open:u,optimum:null,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:s|u,rel:null,required:u,reversed:u,role:o,rows:o|d,rowSpan:null,sandbox:null,scope:null,scoped:u,scrolling:null,seamless:o|u,selected:s|u,shape:null,size:o|d,sizes:o,span:d,spellCheck:null,src:null,srcDoc:s,srcLang:null,srcSet:o,start:c,step:null,style:null,summary:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:s|l,width:o,wmode:o,wrap:null,about:o,datatype:o,inlist:o,prefix:o,property:o,resource:o,typeof:o,vocab:o,autoCapitalize:o,autoCorrect:o,autoSave:null,color:null,itemProp:o,itemScope:o|u,itemType:o,itemID:o,itemRef:o,results:null,security:o,unselectable:o},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=p},function(e,t,n){"use strict";var r=n(236),i=n(421),a=n(426),o=n(5),s=n(448),u={};o(u,a),o(u,{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",i,i.renderToString),renderToStaticMarkup:s("renderToStaticMarkup","ReactDOMServer","react-dom/server",i,i.renderToStaticMarkup)}),u.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=r,u.__SECRET_DOM_SERVER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=i,e.exports=u},function(e,t,n){"use strict";var r=(n(38),n(74)),i=(n(4),"_getDOMNodeDidWarn"),a={getDOMNode:function(){return this.constructor[i]=!0,r(this)}};e.exports=a},function(e,t,n){"use strict";function r(e,t,n){var r=void 0===e[n];null!=t&&r&&(e[n]=a(t,null))}var i=n(24),a=n(79),o=n(82),s=n(83),u=(n(4),{instantiateChildren:function(e,t,n){if(null==e)return null;var i={};return s(e,r,i),i},updateChildren:function(e,t,n,r){if(!t&&!e)return null;var s;for(s in t)if(t.hasOwnProperty(s)){var u=e&&e[s],l=u&&u._currentElement,c=t[s];if(null!=u&&o(l,c))i.receiveComponent(u,c,n,r),t[s]=u;else{u&&i.unmountComponent(u,s);var d=a(c,null);t[s]=d}}for(s in e)!e.hasOwnProperty(s)||t&&t.hasOwnProperty(s)||i.unmountComponent(e[s]);return t},unmountChildren:function(e){for(var t in e)if(e.hasOwnProperty(t)){var n=e[t];i.unmountComponent(n)}}});e.exports=u},function(e,t,n){"use strict";function r(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" Check the render method of `"+n+"`."}return""}function i(e){}var a=n(70),o=n(17),s=n(10),u=n(38),l=n(11),c=n(48),d=(n(47),n(24)),f=n(72),h=n(5),p=n(32),m=n(2),_=n(82);n(4);i.prototype.render=function(){var e=u.get(this)._currentElement.type;return e(this.props,this.context,this.updater)};var g=1,y={construct:function(e){this._currentElement=e,this._rootNodeID=null,this._instance=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null},mountComponent:function(e,t,n){this._context=n,this._mountOrder=g++,this._rootNodeID=e;var r,a,o=this._processProps(this._currentElement.props),l=this._processContext(n),c=this._currentElement.type,h="prototype"in c;h&&(r=new c(o,l,f)),h&&null!==r&&r!==!1&&!s.isValidElement(r)||(a=r,r=new i(c)),r.props=o,r.context=l,r.refs=p,r.updater=f,this._instance=r,u.set(r,this);var _=r.state;void 0===_&&(r.state=_=null),"object"!=typeof _||Array.isArray(_)?m(!1):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,r.componentWillMount&&(r.componentWillMount(),this._pendingStateQueue&&(r.state=this._processPendingState(r.props,r.context))),void 0===a&&(a=this._renderValidatedComponent()),this._renderedComponent=this._instantiateReactComponent(a);var y=d.mountComponent(this._renderedComponent,e,t,this._processChildContext(n));return r.componentDidMount&&t.getReactMountReady().enqueue(r.componentDidMount,r),y},unmountComponent:function(){var e=this._instance;e.componentWillUnmount&&e.componentWillUnmount(),d.unmountComponent(this._renderedComponent),this._renderedComponent=null,this._instance=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=null,this._topLevelWrapper=null,u.remove(e)},_maskContext:function(e){var t=null,n=this._currentElement.type,r=n.contextTypes;if(!r)return p;t={};for(var i in r)t[i]=e[i];return t},_processContext:function(e){var t=this._maskContext(e);return t},_processChildContext:function(e){var t=this._currentElement.type,n=this._instance,r=n.getChildContext&&n.getChildContext();if(r){"object"!=typeof t.childContextTypes?m(!1):void 0;for(var i in r)i in t.childContextTypes?void 0:m(!1);return h({},e,r)}return e},_processProps:function(e){return e},_checkPropTypes:function(e,t,n){var i=this.getName();for(var a in e)if(e.hasOwnProperty(a)){var o;try{"function"!=typeof e[a]?m(!1):void 0,o=e[a](t,a,i,n)}catch(e){o=e}if(o instanceof Error){r(this);n===c.prop}}},receiveComponent:function(e,t,n){var r=this._currentElement,i=this._context;this._pendingElement=null,this.updateComponent(t,r,e,i,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement&&d.receiveComponent(this,this._pendingElement||this._currentElement,e,this._context),(null!==this._pendingStateQueue||this._pendingForceUpdate)&&this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context)},updateComponent:function(e,t,n,r,i){var a,o=this._instance,s=this._context===i?o.context:this._processContext(i);t===n?a=n.props:(a=this._processProps(n.props),o.componentWillReceiveProps&&o.componentWillReceiveProps(a,s));var u=this._processPendingState(a,s),l=this._pendingForceUpdate||!o.shouldComponentUpdate||o.shouldComponentUpdate(a,u,s);l?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,a,u,s,e,i)):(this._currentElement=n,this._context=i,o.props=a,o.state=u,o.context=s)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,i=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(i&&1===r.length)return r[0];for(var a=h({},i?r[0]:n.state),o=i?1:0;o<r.length;o++){var s=r[o];h(a,"function"==typeof s?s.call(n,a,e,t):s)}return a},_performComponentUpdate:function(e,t,n,r,i,a){var o,s,u,l=this._instance,c=Boolean(l.componentDidUpdate);c&&(o=l.props,s=l.state,u=l.context),l.componentWillUpdate&&l.componentWillUpdate(t,n,r),this._currentElement=e,this._context=a,l.props=t,l.state=n,l.context=r,this._updateRenderedComponent(i,a),c&&i.getReactMountReady().enqueue(l.componentDidUpdate.bind(l,o,s,u),l)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,i=this._renderValidatedComponent();if(_(r,i))d.receiveComponent(n,i,e,this._processChildContext(t));else{var a=this._rootNodeID,o=n._rootNodeID;d.unmountComponent(n),this._renderedComponent=this._instantiateReactComponent(i);var s=d.mountComponent(this._renderedComponent,a,e,this._processChildContext(t));this._replaceNodeWithMarkupByID(o,s)}},_replaceNodeWithMarkupByID:function(e,t){a.replaceNodeWithMarkupByID(e,t)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e=this._instance,t=e.render();return t},_renderValidatedComponent:function(){var e;o.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{o.current=null}return null===e||e===!1||s.isValidElement(e)?void 0:m(!1),e},attachRef:function(e,t){var n=this.getPublicInstance();null==n?m(!1):void 0;var r=t.getPublicInstance(),i=n.refs===p?n.refs={}:n.refs;i[e]=r},detachRef:function(e){var t=this.getPublicInstance().refs;delete t[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){var e=this._instance;return e instanceof i?null:e},_instantiateReactComponent:null};l.measureMethods(y,"ReactCompositeComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent",_renderValidatedComponent:"_renderValidatedComponent"});var v={Mixin:y};e.exports=v},function(e,t){"use strict";var n={onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMouseMoveCapture:!0,onMouseUpCapture:!0},r={getNativeProps:function(e,t,r){if(!t.disabled)return t;var i={};for(var a in t)t.hasOwnProperty(a)&&!n[a]&&(i[a]=t[a]);return i}};e.exports=r},function(e,t,n){"use strict";function r(){return this}function i(){var e=this._reactInternalComponent;return!!e}function a(){}function o(e,t){var n=this._reactInternalComponent;n&&(A.enqueueSetPropsInternal(n,e),t&&A.enqueueCallbackInternal(n,t))}function s(e,t){var n=this._reactInternalComponent;n&&(A.enqueueReplacePropsInternal(n,e),t&&A.enqueueCallbackInternal(n,t))}function u(e,t){t&&(null!=t.dangerouslySetInnerHTML&&(null!=t.children?R(!1):void 0,"object"==typeof t.dangerouslySetInnerHTML&&B in t.dangerouslySetInnerHTML?void 0:R(!1)),null!=t.style&&"object"!=typeof t.style?R(!1):void 0)}function l(e,t,n,r){var i=Y.findReactContainerForID(e);if(i){var a=i.nodeType===q?i.ownerDocument:i;F(t,a)}r.getReactMountReady().enqueue(c,{id:e,registrationName:t,listener:n})}function c(){var e=this;M.putListener(e.id,e.registrationName,e.listener)}function d(){var e=this;e._rootNodeID?void 0:R(!1);var t=Y.getNode(e._rootNodeID);switch(t?void 0:R(!1),e._tag){case"iframe":e._wrapperState.listeners=[M.trapBubbledEvent(b.topLevelTypes.topLoad,"load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in X)X.hasOwnProperty(n)&&e._wrapperState.listeners.push(M.trapBubbledEvent(b.topLevelTypes[n],X[n],t));break;case"img":e._wrapperState.listeners=[M.trapBubbledEvent(b.topLevelTypes.topError,"error",t),M.trapBubbledEvent(b.topLevelTypes.topLoad,"load",t)];break;case"form":e._wrapperState.listeners=[M.trapBubbledEvent(b.topLevelTypes.topReset,"reset",t),M.trapBubbledEvent(b.topLevelTypes.topSubmit,"submit",t)]}}function f(){w.mountReadyWrapper(this)}function h(){k.postUpdateWrapper(this)}function p(e){Z.call(Q,e)||($.test(e)?void 0:R(!1),Q[e]=!0)}function m(e,t){return e.indexOf("-")>=0||null!=t.is}function _(e){p(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 g=n(400),y=n(402),v=n(28),x=n(67),b=n(16),M=n(46),L=n(69),S=n(415),w=n(418),T=n(419),k=n(238),D=n(422),Y=n(9),E=n(427),P=n(11),A=n(72),C=n(5),O=n(51),j=n(52),R=n(2),N=(n(80),n(18)),H=n(53),I=n(81),V=(n(96),n(84),n(4),M.deleteListener),F=M.listenTo,W=M.registrationNameModules,G={string:!0,number:!0},U=N({children:null}),z=N({style:null}),B=N({__html:null}),q=1,X={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"},K={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},J={listing:!0,pre:!0,textarea:!0},$=(C({menuitem:!0},K),/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/),Q={},Z={}.hasOwnProperty;_.displayName="ReactDOMComponent",_.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=S.getNativeProps(this,r,n);break;case"input":w.mountWrapper(this,r,n),r=w.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":D.mountWrapper(this,r,n),r=D.getNativeProps(this,r,n)}u(this,r);var i;if(t.useCreateElement){var a=n[Y.ownerDocumentContextKey],o=a.createElement(this._currentElement.type);x.setAttributeForID(o,this._rootNodeID),Y.getID(o),this._updateDOMProperties({},r,t,o),this._createInitialChildren(t,r,n,o),i=o}else{var s=this._createOpenTagMarkupAndPutListeners(t,r),l=this._createContentMarkup(t,r,n);i=!l&&K[this._tag]?s+"/>":s+">"+l+"</"+this._currentElement.type+">"}switch(this._tag){case"input":t.getReactMountReady().enqueue(f,this);case"button":case"select":case"textarea":r.autoFocus&&t.getReactMountReady().enqueue(g.focusDOMComponent,this)}return i},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];if(null!=i)if(W.hasOwnProperty(r))i&&l(this._rootNodeID,r,i,e);else{r===z&&(i&&(i=this._previousStyleCopy=C({},t.style)),i=y.createMarkupForStyles(i));var a=null;null!=this._tag&&m(this._tag,t)?r!==U&&(a=x.createMarkupForCustomAttribute(r,i)):a=x.createMarkupForProperty(r,i),a&&(n+=" "+a)}}if(e.renderToStaticMarkup)return n;var o=x.createMarkupForID(this._rootNodeID);return n+" "+o},_createContentMarkup:function(e,t,n){var r="",i=t.dangerouslySetInnerHTML;if(null!=i)null!=i.__html&&(r=i.__html);else{var a=G[typeof t.children]?t.children:null,o=null!=a?null:t.children;if(null!=a)r=j(a);else if(null!=o){var s=this.mountChildren(o,e,n);r=s.join("")}}return J[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var i=t.dangerouslySetInnerHTML;if(null!=i)null!=i.__html&&H(r,i.__html);else{var a=G[typeof t.children]?t.children:null,o=null!=a?null:t.children;if(null!=a)I(r,a);else if(null!=o)for(var s=this.mountChildren(o,e,n),u=0;u<s.length;u++)r.appendChild(s[u])}},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,r){var i=t.props,a=this._currentElement.props;switch(this._tag){case"button":i=S.getNativeProps(this,i),a=S.getNativeProps(this,a);break;case"input":w.updateWrapper(this),i=w.getNativeProps(this,i),a=w.getNativeProps(this,a);break;case"option":i=T.getNativeProps(this,i),a=T.getNativeProps(this,a);break;case"select":i=k.getNativeProps(this,i),a=k.getNativeProps(this,a);break;case"textarea":D.updateWrapper(this),i=D.getNativeProps(this,i),a=D.getNativeProps(this,a)}u(this,a),this._updateDOMProperties(i,a,e,null),this._updateDOMChildren(i,a,e,r),!O&&this._nodeWithLegacyProperties&&(this._nodeWithLegacyProperties.props=a),"select"===this._tag&&e.getReactMountReady().enqueue(h,this)},_updateDOMProperties:function(e,t,n,r){var i,a,o;for(i in e)if(!t.hasOwnProperty(i)&&e.hasOwnProperty(i))if(i===z){var s=this._previousStyleCopy;for(a in s)s.hasOwnProperty(a)&&(o=o||{},o[a]="");this._previousStyleCopy=null}else W.hasOwnProperty(i)?e[i]&&V(this._rootNodeID,i):(v.properties[i]||v.isCustomAttribute(i))&&(r||(r=Y.getNode(this._rootNodeID)),x.deleteValueForProperty(r,i));for(i in t){var u=t[i],c=i===z?this._previousStyleCopy:e[i];if(t.hasOwnProperty(i)&&u!==c)if(i===z)if(u?u=this._previousStyleCopy=C({},u):this._previousStyleCopy=null,c){for(a in c)!c.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(o=o||{},o[a]="");for(a in u)u.hasOwnProperty(a)&&c[a]!==u[a]&&(o=o||{},o[a]=u[a])}else o=u;else W.hasOwnProperty(i)?u?l(this._rootNodeID,i,u,n):c&&V(this._rootNodeID,i):m(this._tag,t)?(r||(r=Y.getNode(this._rootNodeID)),i===U&&(u=null),x.setValueForAttribute(r,i,u)):(v.properties[i]||v.isCustomAttribute(i))&&(r||(r=Y.getNode(this._rootNodeID)),null!=u?x.setValueForProperty(r,i,u):x.deleteValueForProperty(r,i))}o&&(r||(r=Y.getNode(this._rootNodeID)),y.setValueForStyles(r,o))},_updateDOMChildren:function(e,t,n,r){var i=G[typeof e.children]?e.children:null,a=G[typeof t.children]?t.children:null,o=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,s=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,u=null!=i?null:e.children,l=null!=a?null:t.children,c=null!=i||null!=o,d=null!=a||null!=s;null!=u&&null==l?this.updateChildren(null,n,r):c&&!d&&this.updateTextContent(""),null!=a?i!==a&&this.updateTextContent(""+a):null!=s?o!==s&&this.updateMarkup(""+s):null!=l&&this.updateChildren(l,n,r)},unmountComponent:function(){switch(this._tag){case"iframe":case"img":case"form":case"video":case"audio":var e=this._wrapperState.listeners;if(e)for(var t=0;t<e.length;t++)e[t].remove();break;case"input":w.unmountWrapper(this);break;case"html":case"head":case"body":R(!1)}if(this.unmountChildren(),M.deleteAllListeners(this._rootNodeID),L.unmountIDFromEnvironment(this._rootNodeID),this._rootNodeID=null,this._wrapperState=null,this._nodeWithLegacyProperties){var n=this._nodeWithLegacyProperties;n._reactInternalComponent=null,this._nodeWithLegacyProperties=null}},getPublicInstance:function(){if(!this._nodeWithLegacyProperties){var e=Y.getNode(this._rootNodeID);e._reactInternalComponent=this,e.getDOMNode=r,e.isMounted=i,e.setState=a,e.replaceState=a,e.forceUpdate=a,e.setProps=o,e.replaceProps=s,e.props=this._currentElement.props,this._nodeWithLegacyProperties=e}return this._nodeWithLegacyProperties}},P.measureMethods(_,"ReactDOMComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent"}),C(_.prototype,_.Mixin,E.Mixin),e.exports=_},function(e,t,n){"use strict";function r(e){return i.createFactory(e)}var i=n(10),a=(n(242),n(320)),o=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=o},function(e,t,n){"use strict";function r(){this._rootNodeID&&f.updateWrapper(this)}function i(e){var t=this._currentElement.props,n=o.executeOnChange(t,e);u.asap(r,this);var i=t.name;if("radio"===t.type&&null!=i){for(var a=s.getNode(this._rootNodeID),l=a;l.parentNode;)l=l.parentNode;for(var f=l.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),h=0;h<f.length;h++){var p=f[h];if(p!==a&&p.form===a.form){var m=s.getID(p);m?void 0:c(!1);var _=d[m];_?void 0:c(!1),u.asap(r,_)}}}return n}var a=n(71),o=n(68),s=n(9),u=n(12),l=n(5),c=n(2),d={},f={getNativeProps:function(e,t,n){var r=o.getValue(t),i=o.getChecked(t),a=l({},t,{defaultChecked:void 0,defaultValue:void 0,value:null!=r?r:e._wrapperState.initialValue,checked:null!=i?i:e._wrapperState.initialChecked,onChange:e._wrapperState.onChange});return a},mountWrapper:function(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:t.defaultChecked||!1,initialValue:null!=n?n:null,onChange:i.bind(e)}},mountReadyWrapper:function(e){d[e._rootNodeID]=e},unmountWrapper:function(e){delete d[e._rootNodeID]},updateWrapper:function(e){var t=e._currentElement.props,n=t.checked;null!=n&&a.updatePropertyByID(e._rootNodeID,"checked",n||!1);var r=o.getValue(t);null!=r&&a.updatePropertyByID(e._rootNodeID,"value",""+r)}};e.exports=f},function(e,t,n){"use strict";var r=n(233),i=n(238),a=n(5),o=(n(4),i.valueContextKey),s={mountWrapper:function(e,t,n){var r=n[o],i=null;if(null!=r)if(i=!1,Array.isArray(r)){for(var a=0;a<r.length;a++)if(""+r[a]==""+t.value){i=!0;break}}else i=""+r==""+t.value;e._wrapperState={selected:i}},getNativeProps:function(e,t,n){var i=a({selected:void 0,children:void 0},t);null!=e._wrapperState.selected&&(i.selected=e._wrapperState.selected);var o="";return r.forEach(t.children,function(e){null!=e&&("string"!=typeof e&&"number"!=typeof e||(o+=e))}),o&&(i.children=o),i}};e.exports=s},function(e,t,n){"use strict";function r(e,t,n,r){return e===n&&t===r}function i(e){var t=document.selection,n=t.createRange(),r=n.text.length,i=n.duplicate();i.moveToElementText(e),i.setEndPoint("EndToStart",n);var a=i.text.length,o=a+r;return{start:a,end:o}}function a(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,i=t.anchorOffset,a=t.focusNode,o=t.focusOffset,s=t.getRangeAt(0);try{s.startContainer.nodeType,s.endContainer.nodeType}catch(e){return null}var u=r(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),l=u?0:s.toString().length,c=s.cloneRange();c.selectNodeContents(e),c.setEnd(s.startContainer,s.startOffset);var d=r(c.startContainer,c.startOffset,c.endContainer,c.endOffset),f=d?0:c.toString().length,h=f+l,p=document.createRange();p.setStart(n,i),p.setEnd(a,o);var m=p.collapsed;return{start:m?h:f,end:m?f:h}}function o(e,t){var n,r,i=document.selection.createRange().duplicate();"undefined"==typeof t.end?(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),i.moveToElementText(e),i.moveStart("character",n),i.setEndPoint("EndToStart",i),i.moveEnd("character",r-n),i.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,i=Math.min(t.start,r),a="undefined"==typeof t.end?i:Math.min(t.end,r);if(!n.extend&&i>a){var o=a;a=i,i=o}var s=l(e,i),u=l(e,a);if(s&&u){var d=document.createRange();d.setStart(s.node,s.offset),n.removeAllRanges(),i>a?(n.addRange(d),n.extend(u.node,u.offset)):(d.setEnd(u.node,u.offset),n.addRange(d))}}}var u=n(8),l=n(451),c=n(256),d=u.canUseDOM&&"selection"in document&&!("getSelection"in window),f={getOffsets:d?i:a,setOffsets:d?o:s};e.exports=f},function(e,t,n){"use strict";var r=n(241),i=n(432),a=n(73);r.inject();var o={renderToString:i.renderToString,renderToStaticMarkup:i.renderToStaticMarkup,version:a};e.exports=o},function(e,t,n){"use strict";function r(){this._rootNodeID&&c.updateWrapper(this)}function i(e){var t=this._currentElement.props,n=a.executeOnChange(t,e);return s.asap(r,this),n}var a=n(68),o=n(71),s=n(12),u=n(5),l=n(2),c=(n(4),{getNativeProps:function(e,t,n){null!=t.dangerouslySetInnerHTML?l(!1):void 0;var r=u({},t,{defaultValue:void 0,value:void 0,children:e._wrapperState.initialValue,onChange:e._wrapperState.onChange});return r},mountWrapper:function(e,t){var n=t.defaultValue,r=t.children;null!=r&&(null!=n?l(!1):void 0,Array.isArray(r)&&(r.length<=1?void 0:l(!1),r=r[0]),n=""+r),null==n&&(n="");var o=a.getValue(t);e._wrapperState={initialValue:""+(null!=o?o:n),onChange:i.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=a.getValue(t);null!=n&&o.updatePropertyByID(e._rootNodeID,"value",""+n)}});e.exports=c},function(e,t,n){"use strict";function r(e){i.enqueueEvents(e),i.processEventQueue(!1)}var i=n(36),a={handleTopLevel:function(e,t,n,a,o){var s=i.extractEvents(e,t,n,a,o);r(s)}};e.exports=a},function(e,t,n){"use strict";function r(e){var t=f.getID(e),n=d.getReactRootIDFromNodeID(t),r=f.findReactContainerForID(n),i=f.getFirstReactDOM(r);return i}function i(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function a(e){o(e)}function o(e){for(var t=f.getFirstReactDOM(m(e.nativeEvent))||window,n=t;n;)e.ancestors.push(n),n=r(n);for(var i=0;i<e.ancestors.length;i++){t=e.ancestors[i];var a=f.getID(t)||"";g._handleTopLevel(e.topLevelType,t,a,e.nativeEvent,m(e.nativeEvent))}}function s(e){var t=_(window);e(t)}var u=n(91),l=n(8),c=n(21),d=n(29),f=n(9),h=n(12),p=n(5),m=n(77),_=n(315);p(i.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),c.addPoolingTo(i,c.twoArgumentPooler);var g={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:l.canUseDOM?window:null,setHandleTopLevel:function(e){g._handleTopLevel=e},setEnabled:function(e){g._enabled=!!e},isEnabled:function(){return g._enabled},trapBubbledEvent:function(e,t,n){var r=n;return r?u.listen(r,t,g.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){var r=n;return r?u.capture(r,t,g.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=s.bind(null,e);u.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(g._enabled){var n=i.getPooled(e,t);try{h.batchedUpdates(a,n)}finally{i.release(n)}}}};e.exports=g},function(e,t,n){"use strict";var r=n(28),i=n(36),a=n(70),o=n(234),s=n(243),u=n(46),l=n(249),c=n(11),d=n(252),f=n(12),h={Component:a.injection,Class:o.injection,DOMProperty:r.injection,EmptyComponent:s.injection,EventPluginHub:i.injection,EventEmitter:u.injection,NativeComponent:l.injection,Perf:c.injection,RootIndex:d.injection,Updates:f.injection};e.exports=h},function(e,t,n){"use strict";var r=n(233),i=n(235),a=n(234),o=n(417),s=n(10),u=(n(242),n(251)),l=n(73),c=n(5),d=n(452),f=s.createElement,h=s.createFactory,p=s.cloneElement,m={Children:{map:r.map,forEach:r.forEach,count:r.count,toArray:r.toArray,only:d},Component:i,createElement:f,cloneElement:p,isValidElement:s.isValidElement,PropTypes:u,createClass:a.createClass,createFactory:h,createMixin:function(e){return e},DOM:o,version:l,__spread:c};e.exports=m},function(e,t,n){"use strict";function r(e,t,n){_.push({parentID:e,parentNode:null,type:d.INSERT_MARKUP,markupIndex:g.push(t)-1,content:null,fromIndex:null,toIndex:n})}function i(e,t,n){_.push({parentID:e,parentNode:null,type:d.MOVE_EXISTING,markupIndex:null,content:null,fromIndex:t,toIndex:n})}function a(e,t){_.push({parentID:e,parentNode:null,type:d.REMOVE_NODE,markupIndex:null,content:null,fromIndex:t,toIndex:null})}function o(e,t){_.push({parentID:e,parentNode:null,type:d.SET_MARKUP,markupIndex:null,content:t,fromIndex:null,toIndex:null})}function s(e,t){_.push({parentID:e,parentNode:null,type:d.TEXT_CONTENT,markupIndex:null,content:t,fromIndex:null,toIndex:null})}function u(){_.length&&(c.processChildrenUpdates(_,g),l())}function l(){_.length=0,g.length=0}var c=n(70),d=n(248),f=(n(17),n(24)),h=n(413),p=n(449),m=0,_=[],g=[],y={Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return h.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r){var i;return i=p(t),h.updateChildren(e,i,n,r)},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var i=[],a=0;for(var o in r)if(r.hasOwnProperty(o)){var s=r[o],u=this._rootNodeID+o,l=f.mountComponent(s,u,t,n);s._mountIndex=a++,i.push(l)}return i},updateTextContent:function(e){m++;var t=!0;try{var n=this._renderedChildren;h.unmountChildren(n);for(var r in n)n.hasOwnProperty(r)&&this._unmountChild(n[r]);this.setTextContent(e),t=!1}finally{m--,m||(t?l():u())}},updateMarkup:function(e){m++;var t=!0;try{var n=this._renderedChildren;h.unmountChildren(n);for(var r in n)n.hasOwnProperty(r)&&this._unmountChildByName(n[r],r);this.setMarkup(e),t=!1}finally{m--,m||(t?l():u())}},updateChildren:function(e,t,n){m++;var r=!0;try{this._updateChildren(e,t,n),r=!1}finally{m--,m||(r?l():u())}},_updateChildren:function(e,t,n){var r=this._renderedChildren,i=this._reconcilerUpdateChildren(r,e,t,n);if(this._renderedChildren=i,i||r){var a,o=0,s=0;for(a in i)if(i.hasOwnProperty(a)){var u=r&&r[a],l=i[a];u===l?(this.moveChild(u,s,o),o=Math.max(u._mountIndex,o),u._mountIndex=s):(u&&(o=Math.max(u._mountIndex,o),this._unmountChild(u)),this._mountChildByNameAtIndex(l,a,s,t,n)),s++}for(a in r)!r.hasOwnProperty(a)||i&&i.hasOwnProperty(a)||this._unmountChild(r[a])}},unmountChildren:function(){var e=this._renderedChildren;h.unmountChildren(e),this._renderedChildren=null},moveChild:function(e,t,n){e._mountIndex<n&&i(this._rootNodeID,e._mountIndex,t)},createChild:function(e,t){r(this._rootNodeID,t,e._mountIndex)},removeChild:function(e){a(this._rootNodeID,e._mountIndex)},setTextContent:function(e){s(this._rootNodeID,e)},setMarkup:function(e){o(this._rootNodeID,e)},_mountChildByNameAtIndex:function(e,t,n,r,i){var a=this._rootNodeID+t,o=f.mountComponent(e,a,r,i);e._mountIndex=n,this.createChild(e,o)},_unmountChild:function(e){this.removeChild(e),e._mountIndex=null}}};e.exports=y},function(e,t,n){"use strict";var r=n(2),i={isValidOwner:function(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)},addComponentAsRefTo:function(e,t,n){i.isValidOwner(n)?void 0:r(!1),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){i.isValidOwner(n)?void 0:r(!1),n.getPublicInstance().refs[t]===e.getPublicInstance()&&n.detachRef(t)}};e.exports=i},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=i.getPooled(null),this.useCreateElement=!e&&s.useCreateElement}var i=n(66),a=n(21),o=n(46),s=n(237),u=n(246),l=n(50),c=n(5),d={initialize:u.getSelectionInformation,close:u.restoreSelection},f={initialize:function(){var e=o.isEnabled();return o.setEnabled(!1),e},close:function(e){o.setEnabled(e)}},h={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},p=[d,f,h],m={getTransactionWrappers:function(){return p},getReactMountReady:function(){return this.reactMountReady},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null}};c(r.prototype,l.Mixin,m),a.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):a.addComponentAsRefTo(t,e,n)}function i(e,t,n){"function"==typeof e?e(null):a.removeComponentAsRefFrom(t,e,n)}var a=n(428),o={};o.attachRefs=function(e,t){if(null!==t&&t!==!1){var n=t.ref;null!=n&&r(n,e,t._owner)}},o.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},o.detachRefs=function(e,t){if(null!==t&&t!==!1){var n=t.ref;null!=n&&i(n,e,t._owner)}},e.exports=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){o.isValidElement(e)?void 0:p(!1);var t;try{d.injection.injectBatchingStrategy(l);var n=s.createReactRootID();return t=c.getPooled(!1),t.perform(function(){var r=h(e,null),i=r.mountComponent(n,t,f);return u.addChecksumToMarkup(i)},null)}finally{c.release(t),d.injection.injectBatchingStrategy(a)}}function i(e){o.isValidElement(e)?void 0:p(!1);var t;try{d.injection.injectBatchingStrategy(l);var n=s.createReactRootID();return t=c.getPooled(!0),t.perform(function(){var r=h(e,null);return r.mountComponent(n,t,f)},null)}finally{c.release(t),d.injection.injectBatchingStrategy(a)}}var a=n(240),o=n(10),s=n(29),u=n(247),l=n(431),c=n(433),d=n(12),f=n(32),h=n(79),p=n(2);e.exports={renderToString:r,renderToStaticMarkup:i}},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.reactMountReady=a.getPooled(null),this.useCreateElement=!1}var i=n(21),a=n(66),o=n(50),s=n(5),u=n(13),l={initialize:function(){this.reactMountReady.reset()},close:u},c=[l],d={getTransactionWrappers:function(){return c},getReactMountReady:function(){return this.reactMountReady},destructor:function(){a.release(this.reactMountReady),this.reactMountReady=null}};s(r.prototype,o.Mixin,d),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";var r=n(28),i=r.injection.MUST_USE_ATTRIBUTE,a={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},o={Properties:{clipPath:i,cx:i,cy:i,d:i,dx:i,dy:i,fill:i,fillOpacity:i,fontFamily:i,fontSize:i,fx:i,fy:i,gradientTransform:i,gradientUnits:i,markerEnd:i,markerMid:i,markerStart:i,offset:i,opacity:i,patternContentUnits:i,patternUnits:i,points:i,preserveAspectRatio:i,r:i,rx:i,ry:i,spreadMethod:i,stopColor:i,stopOpacity:i,stroke:i,strokeDasharray:i,strokeLinecap:i,strokeOpacity:i,strokeWidth:i,textAnchor:i,transform:i,version:i,viewBox:i,x1:i,x2:i,x:i,xlinkActuate:i,xlinkArcrole:i,xlinkHref:i,xlinkRole:i,xlinkShow:i,xlinkTitle:i,xlinkType:i,xmlBase:i,xmlLang:i,xmlSpace:i,y1:i,y2:i,y:i},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=o},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&u.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 i(e,t){if(x||null==g||g!==c())return null;var n=r(g);if(!v||!h(v,n)){v=n;var i=l.getPooled(_.select,y,e,t);return i.type="select",i.target=g,o.accumulateTwoPhaseDispatches(i),i}return null}var a=n(16),o=n(37),s=n(8),u=n(246),l=n(25),c=n(94),d=n(257),f=n(18),h=n(96),p=a.topLevelTypes,m=s.canUseDOM&&"documentMode"in document&&document.documentMode<=11,_={select:{phasedRegistrationNames:{bubbled:f({onSelect:null}),captured:f({onSelectCapture:null})},dependencies:[p.topBlur,p.topContextMenu,p.topFocus,p.topKeyDown,p.topMouseDown,p.topMouseUp,p.topSelectionChange]}},g=null,y=null,v=null,x=!1,b=!1,M=f({onSelect:null}),L={eventTypes:_,extractEvents:function(e,t,n,r,a){if(!b)return null;switch(e){case p.topFocus:(d(t)||"true"===t.contentEditable)&&(g=t,y=n,v=null);break;case p.topBlur:g=null,y=null,v=null;break;case p.topMouseDown:x=!0;break;case p.topContextMenu:case p.topMouseUp:return x=!1,i(r,a);case p.topSelectionChange:if(m)break;case p.topKeyDown:case p.topKeyUp:return i(r,a)}return null},didPutListener:function(e,t,n){t===M&&(b=!0)}};e.exports=L},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(16),i=n(91),a=n(37),o=n(9),s=n(438),u=n(25),l=n(441),c=n(443),d=n(49),f=n(440),h=n(444),p=n(39),m=n(445),_=n(13),g=n(75),y=n(2),v=n(18),x=r.topLevelTypes,b={abort:{phasedRegistrationNames:{bubbled:v({onAbort:!0}),captured:v({onAbortCapture:!0})}},blur:{phasedRegistrationNames:{bubbled:v({onBlur:!0}),captured:v({onBlurCapture:!0})}},canPlay:{phasedRegistrationNames:{bubbled:v({onCanPlay:!0}),captured:v({onCanPlayCapture:!0})}},canPlayThrough:{phasedRegistrationNames:{bubbled:v({onCanPlayThrough:!0}),captured:v({onCanPlayThroughCapture:!0})}},click:{phasedRegistrationNames:{bubbled:v({onClick:!0}),captured:v({onClickCapture:!0})}},contextMenu:{phasedRegistrationNames:{bubbled:v({onContextMenu:!0}),captured:v({onContextMenuCapture:!0})}},copy:{phasedRegistrationNames:{bubbled:v({onCopy:!0}),captured:v({onCopyCapture:!0})}},cut:{phasedRegistrationNames:{bubbled:v({onCut:!0}),captured:v({onCutCapture:!0})}},doubleClick:{phasedRegistrationNames:{bubbled:v({onDoubleClick:!0}),captured:v({onDoubleClickCapture:!0})}},drag:{phasedRegistrationNames:{bubbled:v({onDrag:!0}),captured:v({onDragCapture:!0})}},dragEnd:{phasedRegistrationNames:{bubbled:v({onDragEnd:!0}),captured:v({onDragEndCapture:!0})}},dragEnter:{phasedRegistrationNames:{bubbled:v({onDragEnter:!0}),captured:v({onDragEnterCapture:!0})}},dragExit:{phasedRegistrationNames:{bubbled:v({onDragExit:!0}),captured:v({onDragExitCapture:!0})}},dragLeave:{phasedRegistrationNames:{bubbled:v({onDragLeave:!0}),captured:v({onDragLeaveCapture:!0})}},dragOver:{phasedRegistrationNames:{bubbled:v({onDragOver:!0}),captured:v({onDragOverCapture:!0})}},dragStart:{phasedRegistrationNames:{bubbled:v({onDragStart:!0}),captured:v({onDragStartCapture:!0})}},drop:{phasedRegistrationNames:{bubbled:v({onDrop:!0}),captured:v({onDropCapture:!0})}},durationChange:{phasedRegistrationNames:{bubbled:v({onDurationChange:!0}),captured:v({onDurationChangeCapture:!0})}},emptied:{phasedRegistrationNames:{bubbled:v({onEmptied:!0}),captured:v({onEmptiedCapture:!0})}},encrypted:{phasedRegistrationNames:{bubbled:v({onEncrypted:!0}),captured:v({onEncryptedCapture:!0})}},ended:{phasedRegistrationNames:{bubbled:v({onEnded:!0}),captured:v({onEndedCapture:!0})}},error:{phasedRegistrationNames:{bubbled:v({onError:!0}),captured:v({onErrorCapture:!0})}},focus:{phasedRegistrationNames:{bubbled:v({onFocus:!0}),captured:v({onFocusCapture:!0})}},input:{phasedRegistrationNames:{bubbled:v({onInput:!0}),captured:v({onInputCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:v({onKeyDown:!0}),captured:v({onKeyDownCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbled:v({onKeyPress:!0}),captured:v({onKeyPressCapture:!0})}},keyUp:{phasedRegistrationNames:{bubbled:v({onKeyUp:!0}),captured:v({onKeyUpCapture:!0})}},load:{phasedRegistrationNames:{bubbled:v({onLoad:!0}),captured:v({onLoadCapture:!0})}},loadedData:{phasedRegistrationNames:{bubbled:v({onLoadedData:!0}),captured:v({onLoadedDataCapture:!0})}},loadedMetadata:{phasedRegistrationNames:{bubbled:v({onLoadedMetadata:!0}),captured:v({onLoadedMetadataCapture:!0})}},loadStart:{phasedRegistrationNames:{bubbled:v({onLoadStart:!0}),captured:v({onLoadStartCapture:!0})}},mouseDown:{phasedRegistrationNames:{bubbled:v({onMouseDown:!0}),captured:v({onMouseDownCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:v({onMouseMove:!0}),captured:v({onMouseMoveCapture:!0})}},mouseOut:{phasedRegistrationNames:{bubbled:v({onMouseOut:!0}),captured:v({onMouseOutCapture:!0})}},mouseOver:{phasedRegistrationNames:{bubbled:v({onMouseOver:!0}),captured:v({onMouseOverCapture:!0})}},mouseUp:{phasedRegistrationNames:{bubbled:v({onMouseUp:!0}),captured:v({onMouseUpCapture:!0})}},paste:{phasedRegistrationNames:{bubbled:v({onPaste:!0}),captured:v({onPasteCapture:!0})}},pause:{phasedRegistrationNames:{bubbled:v({onPause:!0}),captured:v({onPauseCapture:!0})}},play:{phasedRegistrationNames:{bubbled:v({onPlay:!0}),captured:v({onPlayCapture:!0})}},playing:{phasedRegistrationNames:{bubbled:v({onPlaying:!0}),captured:v({onPlayingCapture:!0})}},progress:{phasedRegistrationNames:{bubbled:v({onProgress:!0}),captured:v({onProgressCapture:!0})}},rateChange:{phasedRegistrationNames:{bubbled:v({onRateChange:!0}),captured:v({onRateChangeCapture:!0})}},reset:{phasedRegistrationNames:{bubbled:v({onReset:!0}),captured:v({onResetCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:v({onScroll:!0}),captured:v({onScrollCapture:!0})}},seeked:{phasedRegistrationNames:{bubbled:v({onSeeked:!0}),captured:v({onSeekedCapture:!0})}},seeking:{phasedRegistrationNames:{bubbled:v({onSeeking:!0}),captured:v({onSeekingCapture:!0})}},stalled:{phasedRegistrationNames:{bubbled:v({onStalled:!0}),captured:v({onStalledCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:v({onSubmit:!0}),captured:v({onSubmitCapture:!0})}},suspend:{phasedRegistrationNames:{bubbled:v({onSuspend:!0}),captured:v({onSuspendCapture:!0})}},timeUpdate:{phasedRegistrationNames:{bubbled:v({onTimeUpdate:!0}),captured:v({onTimeUpdateCapture:!0})}},touchCancel:{phasedRegistrationNames:{bubbled:v({onTouchCancel:!0}),captured:v({onTouchCancelCapture:!0})}},touchEnd:{phasedRegistrationNames:{bubbled:v({onTouchEnd:!0}),captured:v({onTouchEndCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled:v({onTouchMove:!0}),captured:v({onTouchMoveCapture:!0})}},touchStart:{phasedRegistrationNames:{bubbled:v({onTouchStart:!0}),captured:v({onTouchStartCapture:!0})}},volumeChange:{phasedRegistrationNames:{bubbled:v({onVolumeChange:!0}),captured:v({onVolumeChangeCapture:!0})}},waiting:{phasedRegistrationNames:{bubbled:v({onWaiting:!0}),captured:v({onWaitingCapture:!0})}},wheel:{phasedRegistrationNames:{bubbled:v({onWheel:!0}),captured:v({onWheelCapture:!0})}}},M={topAbort:b.abort,topBlur:b.blur,topCanPlay:b.canPlay,topCanPlayThrough:b.canPlayThrough,topClick:b.click,topContextMenu:b.contextMenu,topCopy:b.copy,topCut:b.cut,topDoubleClick:b.doubleClick,topDrag:b.drag,topDragEnd:b.dragEnd,topDragEnter:b.dragEnter,topDragExit:b.dragExit,topDragLeave:b.dragLeave,topDragOver:b.dragOver,topDragStart:b.dragStart,topDrop:b.drop,topDurationChange:b.durationChange,topEmptied:b.emptied,topEncrypted:b.encrypted,topEnded:b.ended,topError:b.error,topFocus:b.focus,topInput:b.input,topKeyDown:b.keyDown,topKeyPress:b.keyPress,topKeyUp:b.keyUp,topLoad:b.load,topLoadedData:b.loadedData,topLoadedMetadata:b.loadedMetadata,topLoadStart:b.loadStart,topMouseDown:b.mouseDown,topMouseMove:b.mouseMove,topMouseOut:b.mouseOut,topMouseOver:b.mouseOver,topMouseUp:b.mouseUp,
topPaste:b.paste,topPause:b.pause,topPlay:b.play,topPlaying:b.playing,topProgress:b.progress,topRateChange:b.rateChange,topReset:b.reset,topScroll:b.scroll,topSeeked:b.seeked,topSeeking:b.seeking,topStalled:b.stalled,topSubmit:b.submit,topSuspend:b.suspend,topTimeUpdate:b.timeUpdate,topTouchCancel:b.touchCancel,topTouchEnd:b.touchEnd,topTouchMove:b.touchMove,topTouchStart:b.touchStart,topVolumeChange:b.volumeChange,topWaiting:b.waiting,topWheel:b.wheel};for(var L in M)M[L].dependencies=[L];var S=v({onClick:null}),w={},T={eventTypes:b,extractEvents:function(e,t,n,r,i){var o=M[e];if(!o)return null;var _;switch(e){case x.topAbort:case x.topCanPlay:case x.topCanPlayThrough:case x.topDurationChange:case x.topEmptied:case x.topEncrypted:case x.topEnded:case x.topError:case x.topInput:case x.topLoad:case x.topLoadedData:case x.topLoadedMetadata:case x.topLoadStart:case x.topPause:case x.topPlay:case x.topPlaying:case x.topProgress:case x.topRateChange:case x.topReset:case x.topSeeked:case x.topSeeking:case x.topStalled:case x.topSubmit:case x.topSuspend:case x.topTimeUpdate:case x.topVolumeChange:case x.topWaiting:_=u;break;case x.topKeyPress:if(0===g(r))return null;case x.topKeyDown:case x.topKeyUp:_=c;break;case x.topBlur:case x.topFocus:_=l;break;case x.topClick:if(2===r.button)return null;case x.topContextMenu:case x.topDoubleClick:case x.topMouseDown:case x.topMouseMove:case x.topMouseOut:case x.topMouseOver:case x.topMouseUp:_=d;break;case x.topDrag:case x.topDragEnd:case x.topDragEnter:case x.topDragExit:case x.topDragLeave:case x.topDragOver:case x.topDragStart:case x.topDrop:_=f;break;case x.topTouchCancel:case x.topTouchEnd:case x.topTouchMove:case x.topTouchStart:_=h;break;case x.topScroll:_=p;break;case x.topWheel:_=m;break;case x.topCopy:case x.topCut:case x.topPaste:_=s}_?void 0:y(!1);var v=_.getPooled(o,n,r,i);return a.accumulateTwoPhaseDispatches(v),v},didPutListener:function(e,t,n){if(t===S){var r=o.getNode(e);w[e]||(w[e]=i.listen(r,"click",_))}},willDeleteListener:function(e,t){t===S&&(w[e].remove(),delete w[e])}};e.exports=T},function(e,t,n){"use strict";function r(e,t,n,r){i.call(this,e,t,n,r)}var i=n(25),a={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};i.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){i.call(this,e,t,n,r)}var i=n(25),a={data:null};i.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){i.call(this,e,t,n,r)}var i=n(49),a={dataTransfer:null};i.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){i.call(this,e,t,n,r)}var i=n(39),a={relatedTarget:null};i.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){i.call(this,e,t,n,r)}var i=n(25),a={data:null};i.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){i.call(this,e,t,n,r)}var i=n(39),a=n(75),o=n(450),s=n(76),u={key:o,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}};i.augmentClass(r,u),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){i.call(this,e,t,n,r)}var i=n(39),a=n(76),o={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:a};i.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){i.call(this,e,t,n,r)}var i=n(49),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};i.augmentClass(r,a),e.exports=r},function(e,t){"use strict";function n(e){for(var t=1,n=0,i=0,a=e.length,o=a&-4;i<o;){for(;i<Math.min(i+4096,o);i+=4)n+=(t+=e.charCodeAt(i))+(t+=e.charCodeAt(i+1))+(t+=e.charCodeAt(i+2))+(t+=e.charCodeAt(i+3));t%=r,n%=r}for(;i<a;i++)n+=t+=e.charCodeAt(i);return t%=r,n%=r,t|n<<16}var r=65521;e.exports=n},function(e,t,n){"use strict";function r(e,t){var n=null==t||"boolean"==typeof t||""===t;if(n)return"";var r=isNaN(t);return r||0===t||a.hasOwnProperty(e)&&a[e]?""+t:("string"==typeof t&&(t=t.trim()),t+"px")}var i=n(230),a=i.isUnitlessNumber;e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r,i){return i}n(5),n(4);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=e,i=void 0===r[n];i&&null!=t&&(r[n]=t)}function i(e){if(null==e)return e;var t={};return a(e,r,t),t}var a=n(83);n(4);e.exports=i},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=i(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?o[e.keyCode]||"Unidentified":""}var i=n(75),a={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},o={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){"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 i(e,t){for(var i=n(e),a=0,o=0;i;){if(3===i.nodeType){if(o=a+i.textContent.length,a<=t&&o>=t)return{node:i,offset:t-a};a=o}i=n(r(i))}}e.exports=i},function(e,t,n){"use strict";function r(e){return i.isValidElement(e)?void 0:a(!1),e}var i=n(10),a=n(2);e.exports=r},function(e,t,n){"use strict";function r(e){return'"'+i(e)+'"'}var i=n(52);e.exports=r},function(e,t,n){"use strict";var r=n(9);e.exports=r.renderSubtreeIntoContainer},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(61),a=r(i),o=n(54),s=r(o),u=function(e,t,n,r){t(r);var i=e();if(!(0,a.default)(i))throw new Error("asyncValidate function passed to reduxForm must return a promise");var o=function(e){return function(t){if(!(0,s.default)(t))return n(t),Promise.reject();if(e)throw n(),new Error("Asynchronous validation promise was rejected without errors.");return n(),Promise.resolve()}};return i.then(o(!1),o(!0))};t.default=u},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 i(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){return{actionTypes:y,addArrayValue:S,autofill:w,autofillWithKey:T,blur:k,change:D,changeWithKey:Y,destroy:E,focus:P,getValues:M.default,initialize:A,initializeWithKey:C,propTypes:(0,x.default)(t),reduxForm:(0,c.default)(e,t,n),reducer:u.default,removeArrayValue:O,reset:j,startAsyncValidation:R,startSubmit:N,stopAsyncValidation:H,stopSubmit:I,submitFailed:V,swapArrayValues:F,touch:W,touchWithKey:G,untouch:U,untouchWithKey:z}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=a;var s=n(269),u=i(s),l=n(459),c=i(l),d=n(87),f=i(d),h=n(259),p=i(h),m=n(258),_=r(m),g=n(85),y=r(g),v=n(458),x=i(v),b=n(266),M=i(b),L=o({},(0,f.default)(o({},_,{autofillWithKey:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return(0,p.default)(_.autofill,{key:e}).apply(void 0,n)},changeWithKey:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return(0,p.default)(_.change,{key:e}).apply(void 0,n)},initializeWithKey:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return(0,p.default)(_.initialize,{key:e}).apply(void 0,n)},reset:function(e){return(0,p.default)(_.reset,{key:e})()},touchWithKey:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return(0,p.default)(_.touch,{key:e}).apply(void 0,n)},untouchWithKey:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return(0,p.default)(_.untouch,{key:e}).apply(void 0,n)},destroy:function(e){return(0,p.default)(_.destroy,{key:e})()}}),function(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(0,p.default)(e,{form:t}).apply(void 0,r)}})),S=L.addArrayValue,w=L.autofill,T=L.autofillWithKey,k=L.blur,D=L.change,Y=L.changeWithKey,E=L.destroy,P=L.focus,A=L.initialize,C=L.initializeWithKey,O=L.removeArrayValue,j=L.reset,R=L.startAsyncValidation,N=L.startSubmit,H=L.stopAsyncValidation,I=L.stopSubmit,V=L.submitFailed,F=L.swapArrayValues,W=L.touch,G=L.touchWithKey,U=L.untouch,z=L.untouchWithKey},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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}function o(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 u(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<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(258),d=i(c),f=n(264),h=r(f),p=n(269),m=n(56),_=r(m),g=n(259),y=r(g),v=n(265),x=r(v),b=n(54),M=r(b),L=n(471),S=r(L),w=n(466),T=r(w),k=n(455),D=r(k),Y=n(465),E=r(Y),P=n(263),A=r(P),C=n(477),O=r(C),j=n(478),R=r(j),N=function(e,t,n,r,i,c,f,m,g){var v=n.Component,b=n.PropTypes;return function(L,w,k,Y){var P=function(r){function c(e){o(this,c);var n=s(this,r.call(this,e));n.asyncValidate=n.asyncValidate.bind(n),n.handleSubmit=n.handleSubmit.bind(n),n.fields=(0,S.default)(e,{},{},n.asyncValidate,t);var i=n.props.submitPassback;return i(function(){return n.handleSubmit()}),n}return u(c,r),c.prototype.componentWillMount=function(){var e=this.props,t=e.fields,n=e.form,r=e.initialize,i=e.initialValues;i&&!n._initialized&&r(i,t)},c.prototype.componentWillReceiveProps=function(e){(0,_.default)(this.props.fields,e.fields)&&(0,_.default)(this.props.form,e.form,{strict:!0})||(this.fields=(0,S.default)(e,this.props,this.fields,this.asyncValidate,t)),(0,_.default)(this.props.initialValues,e.initialValues)||this.props.initialize(e.initialValues,e.fields,this.props.overwriteOnInitialValuesChange||!this.props.form._initialized)},c.prototype.componentWillUnmount=function(){e.destroyOnUnmount&&this.props.destroy()},c.prototype.asyncValidate=function e(t,n){var r=this,i=this.props,a=i.alwaysAsyncValidate,e=i.asyncValidate,o=i.dispatch,s=i.fields,u=i.form,l=i.startAsyncValidation,c=i.stopAsyncValidation,d=i.validate,f=!t;if(e){var h=function(){var i=(0,x.default)(s,u);t&&(i[t]=n);var h=d(i,r.props),p=r.fields._meta.allPristine,m=u._initialized,_=f||(0,M.default)(h[t]);if(a||_&&(f||!p||!m))return{v:(0,D.default)(function(){return e(i,o,r.props)},l,c,t)}}();if("object"==typeof h)return h.v}},c.prototype.handleSubmit=function(e){var t=this,n=this.props,r=n.onSubmit,i=n.fields,a=n.form,o=function(e){if(!e||"function"!=typeof e)throw new Error("You must either pass handleSubmit() an onSubmit function or pass onSubmit as a prop");return e};return!e||(0,A.default)(e)?(0,T.default)(o(r),(0,x.default)(i,a),this.props,this.asyncValidate):(0,E.default)(function(){return(0,T.default)(o(e),(0,x.default)(i,a),t.props,t.asyncValidate)})},c.prototype.render=function(){var e,t=this,r=this.fields,o=this.props,s=(o.addArrayValue,o.asyncBlurFields,o.autofill,o.blur,o.change,o.destroy),u=(o.focus,o.fields),c=o.form,d=(o.initialValues,o.initialize),f=(o.onSubmit,o.propNamespace),h=o.reset,p=(o.removeArrayValue,o.returnRejectedSubmitPromise,o.startAsyncValidation,o.startSubmit,o.stopAsyncValidation,o.stopSubmit,o.submitFailed,o.swapArrayValues,o.touch),m=o.untouch,_=(o.validate,a(o,["addArrayValue","asyncBlurFields","autofill","blur","change","destroy","focus","fields","form","initialValues","initialize","onSubmit","propNamespace","reset","removeArrayValue","returnRejectedSubmitPromise","startAsyncValidation","startSubmit","stopAsyncValidation","stopSubmit","submitFailed","swapArrayValues","touch","untouch","validate"])),g=r._meta,y=g.allPristine,v=g.allValid,x=g.errors,b=g.formError,M=g.values,L={active:c._active,asyncValidating:c._asyncValidating,dirty:!y,error:b,errors:x,fields:r,formKey:k,invalid:!v,pristine:y,submitting:c._submitting,submitFailed:c._submitFailed,valid:v,values:M,asyncValidate:(0,E.default)(function(){return t.asyncValidate()}),destroyForm:(0,E.default)(s),handleSubmit:this.handleSubmit,initializeForm:(0,E.default)(function(e){return d(e,u)}),resetForm:(0,E.default)(h),touch:(0,E.default)(function(){return p.apply(void 0,arguments)}),touchAll:(0,E.default)(function(){return p.apply(void 0,u)}),untouch:(0,E.default)(function(){return m.apply(void 0,arguments)}),untouchAll:(0,E.default)(function(){return m.apply(void 0,u)})},S=f?(e={},e[f]=L,e):L;return n.createElement(i,l({},_,S))},c}(v);P.displayName="ReduxForm("+(0,h.default)(i)+")",P.WrappedComponent=i,P.propTypes={alwaysAsyncValidate:b.bool,asyncBlurFields:b.arrayOf(b.string),asyncValidate:b.func,dispatch:b.func.isRequired,fields:b.arrayOf(b.string).isRequired,form:b.object,initialValues:b.any,onSubmit:b.func,onSubmitSuccess:b.func,onSubmitFail:b.func,overwriteOnInitialValuesChange:b.bool.isRequired,propNamespace:b.string,readonly:b.bool,returnRejectedSubmitPromise:b.bool,submitPassback:b.func.isRequired,validate:b.func,addArrayValue:b.func.isRequired,autofill:b.func.isRequired,blur:b.func.isRequired,change:b.func.isRequired,destroy:b.func.isRequired,focus:b.func.isRequired,initialize:b.func.isRequired,removeArrayValue:b.func.isRequired,reset:b.func.isRequired,startAsyncValidation:b.func.isRequired,startSubmit:b.func.isRequired,stopAsyncValidation:b.func.isRequired,stopSubmit:b.func.isRequired,submitFailed:b.func.isRequired,swapArrayValues:b.func.isRequired,touch:b.func.isRequired,untouch:b.func.isRequired},P.defaultProps={asyncBlurFields:[],form:p.initialState,readonly:!1,returnRejectedSubmitPromise:!1,validate:function(){return{}}};var C=l({},d,{blur:(0,y.default)(d.blur,{touch:!!e.touchOnBlur}),change:(0,y.default)(d.change,{touch:!!e.touchOnChange})}),j=void 0!==k&&null!==k?r((0,R.default)(c,function(e){var t=Y(e,L);if(!t)throw new Error('You need to mount the redux-form reducer at "'+L+'"');return t&&t[w]&&t[w][k]}),(0,O.default)(f,(0,y.default)(C,{form:w,key:k})),m,g):r((0,R.default)(c,function(e){var t=Y(e,L);if(!t)throw new Error('You need to mount the redux-form reducer at "'+L+'"');return t&&t[w]}),(0,O.default)(f,(0,y.default)(C,{form:w})),m,g);return j(P)}};t.default=N},function(e,t){"use strict";t.__esModule=!0;var n=function(e){var t=e.PropTypes,n=t.any,r=t.bool,i=t.string,a=t.func,o=t.object;return{active:i,asyncValidating:r.isRequired,autofilled:r,dirty:r.isRequired,error:n,errors:o,fields:o.isRequired,formKey:n,invalid:r.isRequired,pristine:r.isRequired,submitting:r.isRequired,submitFailed:r.isRequired,valid:r.isRequired,values:o.isRequired,asyncValidate:a.isRequired,destroyForm:a.isRequired,handleSubmit:a.isRequired,initializeForm:a.isRequired,resetForm:a.isRequired,touch:a.isRequired,touchAll:a.isRequired,untouch:a.isRequired,untouchAll:a.isRequired}};t.default=n},function(e,t,n){"use strict";function r(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 o(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=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(460),l=r(u),c=n(60),d=r(c),f=function(e,t,n){var r=t.Component,u=(0,l.default)(e,t,n);return function(e,n,l,c,f){return function(h){var p=u(h,n,l,c,f),m=s({overwriteOnInitialValuesChange:!0,touchOnBlur:!0,touchOnChange:!1,destroyOnUnmount:!0},e),_=function(e){function n(t){i(this,n);var r=a(this,e.call(this,t));return r.handleSubmitPassback=r.handleSubmitPassback.bind(r),r}return o(n,e),n.prototype.handleSubmitPassback=function(e){this.submit=e},n.prototype.render=function(){return t.createElement(p,s({},m,this.props,{submitPassback:this.handleSubmitPassback}))},n}(r);return(0,d.default)(_,h)}}};t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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,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 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 u=n(362),l=r(u),c=n(264),d=r(c),f=n(457),h=r(f),p=function(e,t,n){return function(r,u,c,f,p){var m=t.Component,_=t.PropTypes,g=function(d){function m(i){a(this,m);var s=o(this,d.call(this,i));return s.cache=new l.default(s,{ReduxForm:{params:["reduxMountPoint","form","formKey","getFormState"],fn:(0,h.default)(i,e,t,n,r,u,c,f,p)}}),s}return s(m,d),m.prototype.componentWillReceiveProps=function(e){this.cache.componentWillReceiveProps(e)},m.prototype.render=function(){var e=this.cache.get("ReduxForm"),n=this.props,r=(n.reduxMountPoint,n.destroyOnUnmount,n.form,n.getFormState,n.touchOnBlur,n.touchOnChange,i(n,["reduxMountPoint","destroyOnUnmount","form","getFormState","touchOnBlur","touchOnChange"]));return t.createElement(e,r)},m}(m);return g.displayName="ReduxFormConnector("+(0,d.default)(r)+")",g.WrappedComponent=r,g.propTypes={destroyOnUnmount:_.bool,reduxMountPoint:_.string,form:_.string.isRequired,formKey:_.string,getFormState:_.func,touchOnBlur:_.bool,touchOnChange:_.bool},g.defaultProps={reduxMountPoint:"form",getFormState:function(e,t){return e[t]}},g}};t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(261),a=r(i),o=function(e,t,n,r){return function(i){var o=(0,a.default)(i,n);t(e,o),r&&r(e,o)}};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(261),a=r(i),o=function(e,t,n){return function(r){return t(e,(0,a.default)(r,n))}};t.default=o},function(e,t,n){"use strict";t.__esModule=!0;var r=n(260),i=function(e,t){return function(n){t(e,n.dataTransfer.getData(r.dataKey))}};t.default=i},function(e,t){"use strict";t.__esModule=!0;var n=function(e,t){return function(){return t(e)}};t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(263),a=r(i),o=function(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(0,a.default)(t)?e.apply(void 0,r):e.apply(void 0,[t].concat(r))}};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(61),a=r(i),o=n(54),s=r(o),u=function(e,t,n,r){var i=n.dispatch,o=n.fields,u=n.onSubmitSuccess,l=n.onSubmitFail,c=n.startSubmit,d=n.stopSubmit,f=n.submitFailed,h=n.returnRejectedSubmitPromise,p=n.touch,m=n.validate,_=m(t,n);if(p.apply(void 0,o),(0,s.default)(_)){var g=function(){var r=e(t,i,n);return(0,a.default)(r)?(c(),r.then(function(e){return d(),u&&u(e),e},function(e){if(d(e),l&&l(e),h)return Promise.reject(e)})):(u&&u(r),r)},y=r();return(0,a.default)(y)?y.then(g,function(){return f(),l&&l(),h?Promise.reject():Promise.resolve()}):g()}if(f(),l&&l(_),h)return Promise.reject(_)};t.default=u},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(30),a=function(e,t,n){return void 0===e&&void 0===t?(0,i.makeFieldValue)({}):(0,i.makeFieldValue)({initial:e,value:n?e:t})},o=function(e,t){var n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],i=arguments.length<=3||void 0===arguments[3]||arguments[3];if(!t)throw new Error("fields must be passed when initializing state");if(!e||!t.length)return n;var o=function e(t,n,o){var s=t.indexOf(".");if(0===s)return e(t.substring(1),n,o);var u=t.indexOf("["),l=t.indexOf("]"),c=r({},o)||{};if(s>=0&&(u<0||s<u)){var d=t.substring(0,s);c[d]=n[d]&&e(t.substring(s+1),n[d],c[d]||{})}else u>=0&&(s<0||u<s)?!function(){if(l<0)throw new Error("found '[' but no ']': '"+t+"'");var r=t.substring(0,u),o=n[r],s=c[r],d=t.substring(l+1);Array.isArray(o)?d.length?c[r]=o.map(function(t,n){return e(d,t,s&&s[n])}):c[r]=o.map(function(e,t){return a(e,s&&s[t]&&s[t].value,i)}):c[r]=[]}():c[t]=a(n&&n[t],o&&o[t]&&o[t].value,i);return c};return t.reduce(function(t,n){return o(n,e,t)},r({},n))};t.default=o},function(e,t){"use strict";function n(e,t){if(e===t)return!0;if("boolean"==typeof e||"boolean"==typeof t)return e===t;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(e&&"object"==typeof e){if(!t||"object"!=typeof t)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(var a=0;a<i.length;a++){var o=i[a];if(!n(e[o],t[o]))return!1}}else if(e||t)return e===t;return!0}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";function r(e){var t=e.indexOf("."),n=e.indexOf("["),r=e.indexOf("]");if(n>0&&r!==n+1)throw new Error("found [ not followed by ]");var i=n>0&&(t<0||n<t),a=void 0,o=void 0;return i?(a=e.substring(0,n),o=e.substring(r+1),"."===o[0]&&(o=o.substring(1))):t>0?(a=e.substring(0,t),o=e.substring(t+1)):a=e,{isArray:i,key:a,nestedPath:o}}function i(e,t,n,a,o,u,l){if(e.isArray){if(e.nestedPath){var c=function(){var s=n&&n[e.key]||[],c=a&&a[e.key]||[],d=r(e.nestedPath);return{v:s.map(function(e,n){return e[d.key]=i(d,t,e,c[n],o,u,l),e})}}();if("object"==typeof c)return c.v}var d=l[t],f=d(n&&n[e.key],a&&a[e.key],o,u);return e.isArray?f&&f.map(s.makeFieldValue):f}if(e.nestedPath){var h=n&&n[e.key]||{},p=r(e.nestedPath);return h[p.key]=i(p,t,h,a&&a[e.key],o,u,l),h}var m=n&&Object.assign({},n[e.key]||{}),_=l[t];return m.value=_(m.value,a&&a[e.key]&&a[e.key].value,o,u),(0,s.makeFieldValue)(m)}function a(e,t,n,a,s){var u=Object.keys(e).reduce(function(o,u){var l=r(u);return o[l.key]=i(l,u,t,n,a,s,e),o},{});return o({},t,u)}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=a;var s=n(30)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=e.substring(t+1);return"."===n[0]&&(n=n.substring(1)),n}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(461),s=r(o),u=n(462),l=r(u),c=n(260),d=r(c),f=n(463),h=r(f),p=n(464),m=r(p),_=n(475),g=r(_),y=n(268),v=r(y),x=n(476),b=r(x),M=n(267),L=r(M),S=function(e){var t=e.indexOf("."),n=e.indexOf("[");return n>0&&(t<0||n<t)?e.substring(0,n):t>0?e.substring(0,t):e},w=function(e,t){return~t.indexOf(e.replace(/\[[0-9]+\]/g,"[]"))},T=function e(t,n){var r=arguments.length<=2||void 0===arguments[2]?"":arguments[2],o=arguments[3],u=arguments[4],c=arguments[5],f=arguments[6],p=arguments[7],_=arguments.length<=8||void 0===arguments[8]?function(){return null}:arguments[8],y=arguments.length<=9||void 0===arguments[9]?"":arguments[9],x=p.asyncBlurFields,M=p.autofill,T=p.blur,k=p.change,D=p.focus,Y=p.form,E=p.initialValues,P=p.readonly,A=p.addArrayValue,C=p.removeArrayValue,O=p.swapArrayValues,j=n.indexOf("."),R=n.indexOf("["),N=n.indexOf("]");if(R>0&&N!==R+1)throw new Error("found [ not followed by ]");if(R>0&&(j<0||R<j)){var H=function(){var a=n.substring(0,R),s=i(n,N),l=t&&t[a]||[],d=y+n.substring(0,N+1),h=p.fields.reduce(function(e,t){return 0===t.indexOf(d)&&e.push(t),e},[]).map(function(e){return i(e,y.length+N)}),m=function(e){return Object.defineProperty(e,"addField",{value:function(e,t){return A(r+a,e,t,h)}}),Object.defineProperty(e,"removeField",{value:function(e){return C(r+a,e)}}),Object.defineProperty(e,"swapFields",{value:function(e,t){return O(r+a,e,t)}}),e};o[a]&&o[a].length===l.length||(o[a]=o[a]?[].concat(o[a]):[],m(o[a]));var g=o[a],v=!1;return l.forEach(function(t,n){s&&!g[n]&&(g[n]={},v=!0);var i=s?g[n]:{},o=""+r+a+"["+n+"]"+(s?".":""),l=""+y+a+"[]"+(s?".":""),d=e(t,s,o,i,u,c,f,p,_,l);s||g[n]===d||(g[n]=d,v=!0)}),g.length>l.length&&g.splice(l.length,g.length-l.length),{v:v?m([].concat(g)):g}}();if("object"==typeof H)return H.v}if(j>0){var I=n.substring(0,j),V=n.substring(j+1),F=o[I]||{},W=r+I+".",G=S(V),U=y+I+".",z=F[G],B=e(t[I]||{},V,W,F,u,c,f,p,_,U);if(B!==z){var q;F=a({},F,(q={},q[G]=B,q))}return o[I]=F,F}var X=r+n,K=o[n]||{};if(K.name!==X){var J=(0,l.default)(X,k,f),$=(0,v.default)(X+".initial",Y),Q=$||(0,v.default)(X,E);Q=void 0===Q?"":Q,K.name=X,K.checked=(0,L.default)(Q),K.value=Q,K.initialValue=Q,P||(K.autofill=function(e){return M(X,e)},K.onBlur=(0,s.default)(X,T,f,w(X,x)&&function(e,t){return(0,g.default)(c(e,t))}),K.onChange=J,K.onDragStart=(0,d.default)(X,function(){return K.value}),K.onDrop=(0,h.default)(X,k),K.onFocus=(0,m.default)(X,D),K.onUpdate=J),K.valid=!0,K.invalid=!1,Object.defineProperty(K,"_isField",{value:!0})}var Z={initial:K.value,value:K.value},ee=(n?t[n]:t)||Z,te=(0,v.default)(X,u),ne=(0,b.default)(K,ee,X===Y._active,te);return(n||o[n]!==ne)&&(o[n]=ne),_(ne),ne};t.default=T},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(470),o=r(a),s=n(270),u=r(s),l=n(265),c=r(l),d=n(472),f=r(d),h=function(e,t,n,r,a){var s=e.fields,l=e.form,d=e.validate,h=t.fields,p=(0,c.default)(s,l),m=d(p,e)||{},_={},g=m._error||l._error,y=!g,v=!0,x=function(e){e.error&&(_=(0,u.default)(e.name,e.error,_),y=!1),e.dirty&&(v=!1)},b=h?h.reduce(function(e,t){return~s.indexOf(t)?e:(0,f.default)(e,t)},i({},n)):i({},n);return s.forEach(function(t){(0,o.default)(l,t,void 0,b,m,r,a,e,x)}),Object.defineProperty(b,"_meta",{value:{allPristine:v,allValid:y,values:p,errors:_,formError:g}}),b};t.default=h},function(e,t){"use strict";t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=function(e,t){var r=n({},e);return delete r[t],r},i=function e(t,i){var a=i.indexOf("."),o=i.indexOf("["),s=i.indexOf("]");if(o>0&&s!==o+1)throw new Error("found [ not followed by ]");if(o>0&&(a<0||o<a)){var u=function(){var a=i.substring(0,o);if(!Array.isArray(t[a]))return{v:r(t,a)};var u=i.substring(s+1);if("."===u[0]&&(u=u.substring(1)),u){var l=function(){var i,o=[];return t[a].forEach(function(t,n){var r=e(t,u);Object.keys(r).length&&(o[n]=r)}),{v:{v:o.length?n({},t,(i={},i[a]=o,i)):r(t,a)}}}();if("object"==typeof l)return l.v}return{v:r(t,a)}}();if("object"==typeof u)return u.v}if(a>0){var l,c=i.substring(0,a),d=i.substring(a+1);if(!t[c])return t;var f=e(t[c],d);return Object.keys(f).length?n({},t,(l={},l[c]=e(t[c],d),l)):r(t,c)}return r(t,i)};t.default=i},function(e,t,n){"use strict";t.__esModule=!0;var r=n(30),i=function(e){return(0,r.makeFieldValue)(void 0===e||e&&void 0===e.initial?{}:{initial:e.initial,value:e.initial})},a=function e(t){return t?Object.keys(t).reduce(function(n,a){var o=t[a];return Array.isArray(o)?n[a]=o.map(function(t){return(0,r.isFieldValue)(t)?i(t):e(t)}):o&&((0,r.isFieldValue)(o)?n[a]=i(o):"object"==typeof o&&null!==o?n[a]=e(o):n[a]=o),n},{}):t};t.default=a},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(30),a=function(e){return"_"===e[0]},o=function e(t,n,o){var s=function(){if(Array.isArray(t))return t.map(function(t,r){return e(t,n&&n[r],o)});if(t&&"object"==typeof t){var s=Object.keys(t).reduce(function(i,s){var u;return a(s)?i:r({},i,(u={},u[s]=e(t[s],n&&n[s],o),u))},t);return(0,i.isFieldValue)(t)&&(0,i.makeFieldValue)(s),s}return(0,i.makeFieldValue)(t)};if("undefined"!=typeof File&&t instanceof File)return t;if(!n){if(!t)return t;if(t[o]){var u=r({},t);return delete u[o],(0,i.makeFieldValue)(u)}return s()}if("string"==typeof n){var l;return(0,i.makeFieldValue)(r({},t,(l={},l[o]=n,l)))}if(Array.isArray(n)){if(!t||Array.isArray(t)){var c=function(){var r=(t||[]).map(function(t,r){return e(t,n[r],o)});return n.forEach(function(t,n){return r[n]=e(r[n],t,o)}),{v:r}}();if("object"==typeof c)return c.v}return e(t,n[0],o)}if((0,i.isFieldValue)(t)){var d;return(0,i.makeFieldValue)(r({},t,(d={},d[o]=n,d)))}var f=Object.keys(n);return f.length||t?f.reduce(function(i,s){var u;return a(s)?i:r({},i,(u={},u[s]=e(t&&t[s],n[s],o),u))},s()||{}):t};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(61),a=r(i),o=function(){},s=function(e){return(0,a.default)(e)?e.then(o,o):e};t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(468),o=r(a),s=n(54),u=r(s),l=n(267),c=r(l),d=function(e,t,n,r){var a={},s=void 0===t.value?"":t.value;e.value!==s&&(a.value=s,a.checked=(0,c.default)(s));var l=(0,o.default)(s,t.initial);e.pristine!==l&&(a.dirty=!l,a.pristine=l);var d=r||t.submitError||t.asyncError;d!==e.error&&(a.error=d);var f=(0,u.default)(d);e.valid!==f&&(a.invalid=!f,a.valid=f),n!==e.active&&(a.active=n);var h=!!t.touched;h!==e.touched&&(a.touched=h);var p=!!t.visited;p!==e.visited&&(a.visited=p);var m=!!t.autofilled;return m!==e.autofilled&&(a.autofilled=m),"initial"in t&&t.initial!==e.initialValue&&(e.initialValue=t.initial),Object.keys(a).length?i({},e,a):e};t.default=d},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){
for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(55),a=function(e,t){return e?"function"==typeof e?e.length>1?function(n,a){return r({dispatch:n},e(n,a),(0,i.bindActionCreators)(t,n))}:function(n){return r({dispatch:n},e(n),(0,i.bindActionCreators)(t,n))}:function(n){return r({dispatch:n},(0,i.bindActionCreators)(e,n),(0,i.bindActionCreators)(t,n))}:function(e){return r({dispatch:e},(0,i.bindActionCreators)(t,e))}};t.default=a},function(e,t){"use strict";t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=function(e,t){if(e){if("function"!=typeof e)throw new Error("mapStateToProps must be a function");return e.length>1?function(r,i){return n({},e(r,i),{form:t(r)})}:function(r){return n({},e(r),{form:t(r)})}}return function(e){return{form:t(e)}}};t.default=r},function(e,t){"use strict";function n(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"==typeof i?i(n,r,e):t(i)}}}}t.__esModule=!0;var r=n();r.withExtraArgument=n,t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r,i){var o=e(n,r,i),u=o.dispatch,l=[],c={getState:o.getState,dispatch:function(e){return u(e)}};return l=t.map(function(e){return e(c)}),u=s.default.apply(void 0,l)(o.dispatch),a({},o,{dispatch:u})}}}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=i;var o=n(271),s=r(o)},function(e,t){"use strict";function n(e,t){return function(){return t(e.apply(void 0,arguments))}}function r(e,t){if("function"==typeof e)return n(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var r=Object.keys(e),i={},a=0;a<r.length;a++){var o=r[a],s=e[o];"function"==typeof s&&(i[o]=n(s,t))}return i}t.__esModule=!0,t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=t&&t.type,r=n&&'"'+n.toString()+'"'||"an action";return"Given action "+r+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state.'}function a(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:s.ActionTypes.INIT});if("undefined"==typeof r)throw new Error('Reducer "'+t+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var i="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof n(void 0,{type:i}))throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+s.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function o(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];"function"==typeof e[o]&&(n[o]=e[o])}var s,u=Object.keys(n);try{a(n)}catch(e){s=e}return function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=arguments[1];if(s)throw s;for(var r=!1,a={},o=0;o<u.length;o++){var l=u[o],c=n[l],d=e[l],f=c(d,t);if("undefined"==typeof f){var h=i(l,t);throw new Error(h)}a[l]=f,r=r||f!==d}return r?a:e}}t.__esModule=!0,t.default=o;var s=n(272),u=n(275),l=(r(u),n(273));r(l)},function(e,t,n){function r(e){return null==e?void 0===e?u:s:(e=Object(e),l&&l in e?a(e):o(e))}var i=n(274),a=n(486),o=n(487),s="[object Null]",u="[object Undefined]",l=i?i.toStringTag:void 0;e.exports=r},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){var r=n(488),i=r(Object.getPrototypeOf,Object);e.exports=i},function(e,t,n){function r(e){var t=o.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(e){}var i=s.call(e);return r&&(t?e[u]=n:delete e[u]),i}var i=n(274),a=Object.prototype,o=a.hasOwnProperty,s=a.toString,u=i?i.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return i.call(e)}var r=Object.prototype,i=r.toString;e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){var r=n(484),i="object"==typeof self&&self&&self.Object===Object&&self,a=r||i||Function("return this")();e.exports=a},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}},function(e,t,n){e.exports=n(493)},function(e,t,n){(function(e,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a,o=n(494),s=i(o);a="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof e?e:r;var u=(0,s.default)(a);t.default=u}).call(t,function(){return this}(),n(276)(e))},function(e,t){"use strict";function n(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,n){"use strict";var r=function(){};e.exports=r}]);