!function(t,e){for(var n in e)t[n]=e[n]}(this,function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n=window.webpackJsonp;window.webpackJsonp=function(r,o,s){for(var a,u,l,c=0,h=[];c>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?f(t)+e:e}function m(){return!0}function g(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function y(t,e){return x(t,e,0)}function b(t,e){return x(t,e,e)}function x(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function _(t){this.next=t}function w(t,e,n,r){var i=0===t?e:1===t?n:[e,n];return r?r.value=i:r={value:i,done:!1},r}function S(){return{value:void 0,done:!0}}function M(t){return!!E(t)}function k(t){return t&&"function"==typeof t.next}function C(t){var e=E(t);return e&&e.call(t)}function E(t){var e=t&&(wn&&t[wn]||t[Sn]);if("function"==typeof e)return e}function O(t){return t&&"number"==typeof t.length}function D(t){return null===t||void 0===t?z():o(t)?t.toSeq():F(t)}function T(t){return null===t||void 0===t?z().toKeyedSeq():o(t)?s(t)?t.toSeq():t.fromEntrySeq():U(t)}function P(t){return null===t||void 0===t?z():o(t)?s(t)?t.entrySeq():t.toIndexedSeq():B(t)}function A(t){return(null===t||void 0===t?z():o(t)?s(t)?t.entrySeq():t:B(t)).toSetSeq()}function I(t){this._array=t,this.size=t.length}function R(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function N(t){this._iterable=t,this.size=t.length||t.size}function L(t){this._iterator=t,this._iteratorCache=[]}function j(t){return!(!t||!t[kn])}function z(){return Cn||(Cn=new I([]))}function U(t){var e=Array.isArray(t)?new I(t).fromEntrySeq():k(t)?new L(t).fromEntrySeq():M(t)?new N(t).fromEntrySeq():"object"==typeof t?new R(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function B(t){var e=W(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function F(t){var e=W(t)||"object"==typeof t&&new R(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function W(t){return O(t)?new I(t):k(t)?new L(t):M(t)?new N(t):void 0}function Y(t,e,n,r){var i=t._cache;if(i){for(var o=i.length-1,s=0;s<=o;s++){var a=i[n?o-s:s];if(!1===e(a[1],r?a[0]:s,t))return s+1}return s}return t.__iterateUncached(e,n)}function H(t,e,n,r){var i=t._cache;if(i){var o=i.length-1,s=0;return new _(function(){var t=i[n?o-s:s];return s++>o?S():w(e,r?t[0]:s-1,t[1])})}return t.__iteratorUncached(e,n)}function V(t,e){return e?G(e,t,"",{"":t}):q(t)}function G(t,e,n,r){return Array.isArray(e)?t.call(r,n,P(e).map(function(n,r){return G(t,n,r,e)})):X(e)?t.call(r,n,T(e).map(function(n,r){return G(t,n,r,e)})):e}function q(t){return Array.isArray(t)?P(t).map(q).toList():X(t)?T(t).map(q).toMap():t}function X(t){return t&&(t.constructor===Object||void 0===t.constructor)}function K(t,e){if(t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function Z(t,e){if(t===e)return!0;if(!o(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||a(t)!==a(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(l(t)){var r=t.entries();return e.every(function(t,e){var i=r.next().value;return i&&K(i[1],t)&&(n||K(i[0],e))})&&r.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var c=t;t=e,e=c}var h=!0,p=e.__iterate(function(e,r){if(n?!t.has(e):i?!K(e,t.get(r,mn)):!K(t.get(r,mn),e))return h=!1,!1});return h&&t.size===p}function $(t,e){if(!(this instanceof $))return new $(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(En)return En;En=this}}function J(t,e){if(!t)throw new Error(e)}function Q(t,e,n){if(!(this instanceof Q))return new Q(t,e,n);if(J(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e>>1&1073741824|3221225471&t}function ot(t){if(!1===t||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null===t||void 0===t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){if(t!==t||t===1/0)return 0;var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)t/=4294967295,n^=t;return it(n)}if("string"===e)return t.length>Ln?st(t):at(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return ut(t);if("function"==typeof t.toString)return at(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function st(t){var e=Un[t];return void 0===e&&(e=at(t),zn===jn&&(zn=0,Un={}),zn++,Un[t]=e),e}function at(t){for(var e=0,n=0;n0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function ct(t){J(t!==1/0,"Cannot perform this action with an infinite size.")}function ht(t){return null===t||void 0===t?wt():pt(t)&&!l(t)?t:wt().withMutations(function(e){var r=n(t);ct(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function pt(t){return!(!t||!t[Bn])}function dt(t,e){this.ownerID=t,this.entries=e}function ft(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function vt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function mt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function gt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function yt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&xt(t._root)}function bt(t,e){return w(t,e[0],e[1])}function xt(t,e){return{node:t,index:0,__prev:e}}function _t(t,e,n,r){var i=Object.create(Fn);return i.size=t,i._root=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function wt(){return Wn||(Wn=_t(0))}function St(t,e,n){var r,i;if(t._root){var o=c(gn),s=c(yn);if(r=Mt(t._root,t.__ownerID,0,void 0,e,n,o,s),!s.value)return t;i=t.size+(o.value?n===mn?-1:1:0)}else{if(n===mn)return t;i=1,r=new dt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=i,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?_t(i,r):wt()}function Mt(t,e,n,r,i,o,s,a){return t?t.update(e,n,r,i,o,s,a):o===mn?t:(h(a),h(s),new gt(e,r,[i,o]))}function kt(t){return t.constructor===gt||t.constructor===mt}function Ct(t,e,n,r,i){if(t.keyHash===r)return new mt(e,r,[t.entry,i]);var o,s=(0===n?t.keyHash:t.keyHash>>>n)&vn,a=(0===n?r:r>>>n)&vn;return new ft(e,1<>>=1)s[a]=1&n?e[o++]:void 0;return s[r]=i,new vt(t,o+1,s)}function Tt(t,e,r){for(var i=[],s=0;s>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function Lt(t,e,n,r){var i=r?t:d(t);return i[e]=n,i}function jt(t,e,n,r){var i=t.length+1;if(r&&e+1===i)return t[e]=n,t;for(var o=new Array(i),s=0,a=0;a0&&io?0:o-n,l=s-n;return l>fn&&(l=fn),function(){if(i===l)return Kn;var t=e?--l:i++;return r&&r[t]}}function i(t,r,i){var a,u=t&&t.array,l=i>o?0:o-i>>r,c=1+(s-i>>r);return c>fn&&(c=fn),function(){for(;;){if(a){var t=a();if(t!==Kn)return t;a=null}if(l===c)return Kn;var o=e?--c:l++;a=n(u&&u[o],r-dn,i+(o<=t.size||e<0)return t.withMutations(function(t){e<0?Kt(t,e).set(0,n):Kt(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,i=t._root,o=c(yn);return e>=$t(t._capacity)?r=Gt(r,t.__ownerID,0,e,n,o):i=Gt(i,t.__ownerID,t._level,e,n,o),o.value?t.__ownerID?(t._root=i,t._tail=r,t.__hash=void 0,t.__altered=!0,t):Yt(t._origin,t._capacity,t._level,i,r):t}function Gt(t,e,n,r,i,o){var s=r>>>n&vn,a=t&&s0){var l=t&&t.array[s],c=Gt(l,e,n-dn,r,i,o);return c===l?t:(u=qt(t,e),u.array[s]=c,u)}return a&&t.array[s]===i?t:(h(o),u=qt(t,e),void 0===i&&s===u.array.length-1?u.array.pop():u.array[s]=i,u)}function qt(t,e){return e&&t&&e===t.ownerID?t:new Ft(t?t.array.slice():[],e)}function Xt(t,e){if(e>=$t(t._capacity))return t._tail;if(e<1<0;)n=n.array[e>>>r&vn],r-=dn;return n}}function Kt(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new p,i=t._origin,o=t._capacity,s=i+e,a=void 0===n?o:n<0?o+n:i+n;if(s===i&&a===o)return t;if(s>=a)return t.clear();for(var u=t._level,l=t._root,c=0;s+c<0;)l=new Ft(l&&l.array.length?[void 0,l]:[],r),u+=dn,c+=1<=1<h?new Ft([],r):f;if(f&&d>h&&sdn;g-=dn){var y=h>>>g&vn;m=m.array[y]=qt(m.array[y],r)}m.array[h>>>dn&vn]=f}if(a=d)s-=d,a-=d,u=dn,l=null,v=v&&v.removeBefore(r,0,s);else if(s>i||d>>u&vn;if(b!==d>>>u&vn)break;b&&(c+=(1<i&&(l=l.removeBefore(r,u,s-c)),l&&ds&&(s=l.size),o(u)||(l=l.map(function(t){return V(t)})),i.push(l)}return s>t.size&&(t=t.setSize(s)),It(t,e,i)}function $t(t){return t>>dn<=fn&&s.size>=2*o.size?(i=s.filter(function(t,e){return void 0!==t&&a!==e}),r=i.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(r.__ownerID=i.__ownerID=t.__ownerID)):(r=o.remove(e),i=a===s.size-1?s.pop():s.set(a,void 0))}else if(u){if(n===s.get(a)[1])return t;r=o,i=s.set(a,[e,n])}else r=o.set(e,s.size),i=s.set(s.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=i,t.__hash=void 0,t):te(r,i)}function re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function oe(t){this._iter=t,this.size=t.size}function se(t){this._iter=t,this.size=t.size}function ae(t){var e=Oe(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=De,e.__iterateUncached=function(e,n){var r=this;return t.__iterate(function(t,n){return!1!==e(n,t,r)},n)},e.__iteratorUncached=function(e,n){if(e===_n){var r=t.__iterator(e,n);return new _(function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===xn?bn:xn,n)},e}function ue(t,e,n){var r=Oe(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,i){var o=t.get(r,mn);return o===mn?i:e.call(n,o,r,t)},r.__iterateUncached=function(r,i){var o=this;return t.__iterate(function(t,i,s){return!1!==r(e.call(n,t,i,s),i,o)},i)},r.__iteratorUncached=function(r,i){var o=t.__iterator(_n,i);return new _(function(){var i=o.next();if(i.done)return i;var s=i.value,a=s[0];return w(r,a,e.call(n,s[1],a,t),i)})},r}function le(t,e){var n=Oe(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=ae(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=De,n.__iterate=function(e,n){var r=this;return t.__iterate(function(t,n){return e(t,n,r)},!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function ce(t,e,n,r){var i=Oe(t);return r&&(i.has=function(r){var i=t.get(r,mn);return i!==mn&&!!e.call(n,i,r,t)},i.get=function(r,i){var o=t.get(r,mn);return o!==mn&&e.call(n,o,r,t)?o:i}),i.__iterateUncached=function(i,o){var s=this,a=0;return t.__iterate(function(t,o,u){if(e.call(n,t,o,u))return a++,i(t,r?o:a-1,s)},o),a},i.__iteratorUncached=function(i,o){var s=t.__iterator(_n,o),a=0;return new _(function(){for(;;){var o=s.next();if(o.done)return o;var u=o.value,l=u[0],c=u[1];if(e.call(n,c,l,t))return w(i,r?l:a++,c,o)}})},i}function he(t,e,n){var r=ht().asMutable();return t.__iterate(function(i,o){r.update(e.call(n,i,o,t),0,function(t){return t+1})}),r.asImmutable()}function pe(t,e,n){var r=s(t),i=(l(t)?Jt():ht()).asMutable();t.__iterate(function(o,s){i.update(e.call(n,o,s,t),function(t){return t=t||[],t.push(r?[s,o]:o),t})});var o=Ee(t);return i.map(function(e){return Me(t,o(e))})}function de(t,e,n,r){var i=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n===1/0?n=i:n|=0),g(e,n,i))return t;var o=y(e,i),s=b(n,i);if(o!==o||s!==s)return de(t.toSeq().cacheResult(),e,n,r);var a,u=s-o;u===u&&(a=u<0?0:u);var l=Oe(t);return l.size=0===a?a:t.size&&a||void 0,!r&&j(t)&&a>=0&&(l.get=function(e,n){return e=v(this,e),e>=0&&ea)return S();var t=i.next();return r||e===xn?t:e===bn?w(e,u-1,void 0,t):w(e,u-1,t.value[1],t)})},l}function fe(t,e,n){var r=Oe(t);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var s=0;return t.__iterate(function(t,i,a){return e.call(n,t,i,a)&&++s&&r(t,i,o)}),s},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var s=t.__iterator(_n,i),a=!0;return new _(function(){if(!a)return S();var t=s.next();if(t.done)return t;var i=t.value,u=i[0],l=i[1];return e.call(n,l,u,o)?r===_n?t:w(r,u,l,t):(a=!1,S())})},r}function ve(t,e,n,r){var i=Oe(t);return i.__iterateUncached=function(i,o){var s=this;if(o)return this.cacheResult().__iterate(i,o);var a=!0,u=0;return t.__iterate(function(t,o,l){if(!a||!(a=e.call(n,t,o,l)))return u++,i(t,r?o:u-1,s)}),u},i.__iteratorUncached=function(i,o){var s=this;if(o)return this.cacheResult().__iterator(i,o);var a=t.__iterator(_n,o),u=!0,l=0;return new _(function(){var t,o,c;do{if(t=a.next(),t.done)return r||i===xn?t:i===bn?w(i,l++,void 0,t):w(i,l++,t.value[1],t);var h=t.value;o=h[0],c=h[1],u&&(u=e.call(n,c,o,s))}while(u);return i===_n?t:w(i,o,c,t)})},i}function me(t,e){var r=s(t),i=[t].concat(e).map(function(t){return o(t)?r&&(t=n(t)):t=r?U(t):B(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===i.length)return t;if(1===i.length){var u=i[0];if(u===t||r&&s(u)||a(t)&&a(u))return u}var l=new I(i);return r?l=l.toKeyedSeq():a(t)||(l=l.toSetSeq()),l=l.flatten(!0),l.size=i.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),l}function ge(t,e,n){var r=Oe(t);return r.__iterateUncached=function(r,i){function s(t,l){var c=this;t.__iterate(function(t,i){return(!e||l0}function Se(t,n,r){var i=Oe(t);return i.size=new I(r).map(function(t){return t.size}).min(),i.__iterate=function(t,e){for(var n,r=this.__iterator(xn,e),i=0;!(n=r.next()).done&&!1!==t(n.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=r.map(function(t){return t=e(t),C(i?t.reverse():t)}),s=0,a=!1;return new _(function(){var e;return a||(e=o.map(function(t){return t.next()}),a=e.some(function(t){return t.done})),a?S():w(t,s++,n.apply(null,e.map(function(t){return t.value})))})},i}function Me(t,e){return j(t)?e:t.constructor(e)}function ke(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Ce(t){return ct(t.size),f(t)}function Ee(t){return s(t)?n:a(t)?r:i}function Oe(t){return Object.create((s(t)?T:a(t)?P:A).prototype)}function De(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):D.prototype.cacheResult.call(this)}function Te(t,e){return t>e?1:te?-1:0}function on(t){if(t.size===1/0)return 0;var e=l(t),n=s(t),r=e?1:0;return sn(t.__iterate(n?e?function(t,e){r=31*r+an(ot(t),ot(e))|0}:function(t,e){r=r+an(ot(t),ot(e))|0}:e?function(t){r=31*r+ot(t)|0}:function(t){r=r+ot(t)|0}),r)}function sn(t,e){return e=Tn(e,3432918353),e=Tn(e<<15|e>>>-15,461845907),e=Tn(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=Tn(e^e>>>16,2246822507),e=Tn(e^e>>>13,3266489909),e=it(e^e>>>16)}function an(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var un=Array.prototype.slice;t(n,e),t(r,e),t(i,e),e.isIterable=o,e.isKeyed=s,e.isIndexed=a,e.isAssociative=u,e.isOrdered=l,e.Keyed=n,e.Indexed=r,e.Set=i;var ln="@@__IMMUTABLE_ITERABLE__@@",cn="@@__IMMUTABLE_KEYED__@@",hn="@@__IMMUTABLE_INDEXED__@@",pn="@@__IMMUTABLE_ORDERED__@@",dn=5,fn=1<r?S():w(t,i,n[e?r-i++:i++])})},t(R,T),R.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},R.prototype.has=function(t){return this._object.hasOwnProperty(t)},R.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var s=r[e?i-o:o];if(!1===t(n[s],s,this))return o+1}return o},R.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,i=r.length-1,o=0;return new _(function(){var s=r[e?i-o:o];return o++>i?S():w(t,s,n[s])})},R.prototype[pn]=!0,t(N,P),N.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=C(n),i=0;if(k(r))for(var o;!(o=r.next()).done&&!1!==t(o.value,i++,this););return i},N.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=C(n);if(!k(r))return new _(S);var i=0;return new _(function(){var e=r.next();return e.done?e:w(t,i++,e.value)})},t(L,P),L.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n=this._iterator,r=this._iteratorCache,i=0;i=r.length){var e=n.next();if(e.done)return e;r[i]=e.value}return w(t,i,r[i++])})};var Cn;t($,P),$.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},$.prototype.get=function(t,e){return this.has(t)?this._value:e},$.prototype.includes=function(t){return K(this._value,t)},$.prototype.slice=function(t,e){var n=this.size;return g(t,e,n)?this:new $(this._value,b(e,n)-y(t,n))},$.prototype.reverse=function(){return this},$.prototype.indexOf=function(t){return K(this._value,t)?0:-1},$.prototype.lastIndexOf=function(t){return K(this._value,t)?this.size:-1},$.prototype.__iterate=function(t,e){for(var n=0;n=0&&e=0&&nn?S():w(t,o++,s)})},Q.prototype.equals=function(t){return t instanceof Q?this._start===t._start&&this._end===t._end&&this._step===t._step:Z(this,t)};var On;t(tt,e),t(et,tt),t(nt,tt),t(rt,tt),tt.Keyed=et,tt.Indexed=nt,tt.Set=rt;var Dn,Tn="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){t|=0,e|=0;var n=65535&t,r=65535&e;return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},Pn=Object.isExtensible,An=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),In="function"==typeof WeakMap;In&&(Dn=new WeakMap);var Rn=0,Nn="__immutablehash__";"function"==typeof Symbol&&(Nn=Symbol(Nn));var Ln=16,jn=255,zn=0,Un={};t(ht,et),ht.of=function(){var t=un.call(arguments,0);return wt().withMutations(function(e){for(var n=0;n=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}})},ht.prototype.toString=function(){return this.__toString("Map {","}")},ht.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},ht.prototype.set=function(t,e){return St(this,t,e)},ht.prototype.setIn=function(t,e){return this.updateIn(t,mn,function(){return e})},ht.prototype.remove=function(t){return St(this,t,mn)},ht.prototype.deleteIn=function(t){return this.updateIn(t,function(){return mn})},ht.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},ht.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=Rt(this,Pe(t),e,n);return r===mn?void 0:r},ht.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):wt()},ht.prototype.merge=function(){return Tt(this,void 0,arguments)},ht.prototype.mergeWith=function(t){return Tt(this,t,un.call(arguments,1))},ht.prototype.mergeIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,wt(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},ht.prototype.mergeDeep=function(){return Tt(this,Pt,arguments)},ht.prototype.mergeDeepWith=function(t){var e=un.call(arguments,1);return Tt(this,At(t),e)},ht.prototype.mergeDeepIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,wt(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},ht.prototype.sort=function(t){return Jt(xe(this,t))},ht.prototype.sortBy=function(t,e){return Jt(xe(this,e,t))},ht.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},ht.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new p)},ht.prototype.asImmutable=function(){return this.__ensureOwner()},ht.prototype.wasAltered=function(){return this.__altered},ht.prototype.__iterator=function(t,e){return new yt(this,t,e)},ht.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate(function(e){return r++,t(e[1],e[0],n)},e),r},ht.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?_t(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},ht.isMap=pt;var Bn="@@__IMMUTABLE_MAP__@@",Fn=ht.prototype;Fn[Bn]=!0,Fn.delete=Fn.remove,Fn.removeIn=Fn.deleteIn,dt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,s=i.length;o=Yn)return Et(t,u,r,i);var f=t&&t===this.ownerID,v=f?u:d(u);return p?a?l===c-1?v.pop():v[l]=v.pop():v[l]=[r,i]:v.push([r,i]),f?(this.entries=v,this):new dt(t,v)}},ft.prototype.get=function(t,e,n,r){void 0===e&&(e=ot(n));var i=1<<((0===t?e:e>>>t)&vn),o=this.bitmap;return 0==(o&i)?r:this.nodes[Nt(o&i-1)].get(t+dn,e,n,r)},ft.prototype.update=function(t,e,n,r,i,o,s){void 0===n&&(n=ot(r));var a=(0===e?n:n>>>e)&vn,u=1<=Hn)return Dt(t,p,l,a,f);if(c&&!f&&2===p.length&&kt(p[1^h]))return p[1^h];if(c&&f&&1===p.length&&kt(f))return f;var v=t&&t===this.ownerID,m=c?f?l:l^u:l|u,g=c?f?Lt(p,h,f,v):zt(p,h,v):jt(p,h,f,v);return v?(this.bitmap=m,this.nodes=g,this):new ft(t,m,g)},vt.prototype.get=function(t,e,n,r){void 0===e&&(e=ot(n));var i=(0===t?e:e>>>t)&vn,o=this.nodes[i];return o?o.get(t+dn,e,n,r):r},vt.prototype.update=function(t,e,n,r,i,o,s){void 0===n&&(n=ot(r));var a=(0===e?n:n>>>e)&vn,u=i===mn,l=this.nodes,c=l[a];if(u&&!c)return this;var h=Mt(c,t,e+dn,n,r,i,o,s);if(h===c)return this;var p=this.count;if(c){if(!h&&--p=0&&t>>e&vn;if(r>=this.array.length)return new Ft([],t);var i,o=0===r;if(e>0){var s=this.array[r];if((i=s&&s.removeBefore(t,e-dn,n))===s&&o)return this}if(o&&!i)return this;var a=qt(this,t);if(!o)for(var u=0;u>>e&vn;if(r>=this.array.length)return this;var i;if(e>0){var o=this.array[r];if((i=o&&o.removeAfter(t,e-dn,n))===o&&r===this.array.length-1)return this}var s=qt(this,t);return s.array.splice(r+1),i&&(s.array[r]=i),s};var Xn,Kn={};t(Jt,ht),Jt.of=function(){return this(arguments)},Jt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Jt.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Jt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ee()},Jt.prototype.set=function(t,e){return ne(this,t,e)},Jt.prototype.remove=function(t){return ne(this,t,mn)},Jt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Jt.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},Jt.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Jt.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?te(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Jt.isOrderedMap=Qt,Jt.prototype[pn]=!0,Jt.prototype.delete=Jt.prototype.remove;var Zn;t(re,T),re.prototype.get=function(t,e){return this._iter.get(t,e)},re.prototype.has=function(t){return this._iter.has(t)},re.prototype.valueSeq=function(){return this._iter.valueSeq()},re.prototype.reverse=function(){var t=this,e=le(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},re.prototype.map=function(t,e){var n=this,r=ue(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},re.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?Ce(this):0,function(i){return t(i,e?--n:n++,r)}),e)},re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(xn,e),r=e?Ce(this):0;return new _(function(){var i=n.next();return i.done?i:w(t,e?--r:r++,i.value,i)})},re.prototype[pn]=!0,t(ie,P),ie.prototype.includes=function(t){return this._iter.includes(t)},ie.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},ie.prototype.__iterator=function(t,e){var n=this._iter.__iterator(xn,e),r=0;return new _(function(){var e=n.next();return e.done?e:w(t,r++,e.value,e)})},t(oe,A),oe.prototype.has=function(t){return this._iter.includes(t)},oe.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},oe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(xn,e);return new _(function(){var e=n.next();return e.done?e:w(t,e.value,e.value,e)})},t(se,T),se.prototype.entrySeq=function(){return this._iter.toSeq()},se.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){ke(e);var r=o(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},se.prototype.__iterator=function(t,e){var n=this._iter.__iterator(xn,e);return new _(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){ke(r);var i=o(r);return w(t,i?r.get(0):r[0],i?r.get(1):r[1],e)}}})},ie.prototype.cacheResult=re.prototype.cacheResult=oe.prototype.cacheResult=se.prototype.cacheResult=De,t(Ae,et),Ae.prototype.toString=function(){return this.__toString(Re(this)+" {","}")},Ae.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Ae.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},Ae.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Ie(this,wt()))},Ae.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Re(this));if(this._map&&!this._map.has(t)){if(e===this._defaultValues[t])return this}var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:Ie(this,n)},Ae.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:Ie(this,e)},Ae.prototype.wasAltered=function(){return this._map.wasAltered()},Ae.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},Ae.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},Ae.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Ie(this,e,t):(this.__ownerID=t,this._map=e,this)};var $n=Ae.prototype;$n.delete=$n.remove,$n.deleteIn=$n.removeIn=Fn.removeIn,$n.merge=Fn.merge,$n.mergeWith=Fn.mergeWith,$n.mergeIn=Fn.mergeIn,$n.mergeDeep=Fn.mergeDeep,$n.mergeDeepWith=Fn.mergeDeepWith,$n.mergeDeepIn=Fn.mergeDeepIn,$n.setIn=Fn.setIn,$n.update=Fn.update,$n.updateIn=Fn.updateIn,$n.withMutations=Fn.withMutations,$n.asMutable=Fn.asMutable,$n.asImmutable=Fn.asImmutable,t(je,rt),je.of=function(){return this(arguments)},je.fromKeys=function(t){return this(n(t).keySeq())},je.prototype.toString=function(){return this.__toString("Set {","}")},je.prototype.has=function(t){return this._map.has(t)},je.prototype.add=function(t){return Ue(this,this._map.set(t,!0))},je.prototype.remove=function(t){return Ue(this,this._map.remove(t))},je.prototype.clear=function(){return Ue(this,this._map.clear())},je.prototype.union=function(){var t=un.call(arguments,0);return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Xe(t,e)},Ge.prototype.pushAll=function(t){if(t=r(t),0===t.size)return this;ct(t.size);var e=this.size,n=this._head;return t.reverse().forEach(function(t){e++,n={value:t,next:n}}),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Xe(e,n)},Ge.prototype.pop=function(){return this.slice(1)},Ge.prototype.unshift=function(){return this.push.apply(this,arguments)},Ge.prototype.unshiftAll=function(t){return this.pushAll(t)},Ge.prototype.shift=function(){return this.pop.apply(this,arguments)},Ge.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Ke()},Ge.prototype.slice=function(t,e){if(g(t,e,this.size))return this;var n=y(t,this.size);if(b(e,this.size)!==this.size)return nt.prototype.slice.call(this,t,e);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Xe(r,i)},Ge.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Xe(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Ge.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},Ge.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new _(function(){if(r){var e=r.value;return r=r.next,w(t,n++,e)}return S()})},Ge.isStack=qe;var rr="@@__IMMUTABLE_STACK__@@",ir=Ge.prototype;ir[rr]=!0,ir.withMutations=Fn.withMutations,ir.asMutable=Fn.asMutable,ir.asImmutable=Fn.asImmutable,ir.wasAltered=Fn.wasAltered;var or;e.Iterator=_,Ze(e,{toArray:function(){ct(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new ie(this)},toJS:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJS?t.toJS():t}).__toJS()},toJSON:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t}).__toJS()},toKeyedSeq:function(){return new re(this,!0)},toMap:function(){return ht(this.toKeyedSeq())},toObject:function(){ct(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return Jt(this.toKeyedSeq())},toOrderedSet:function(){return We(s(this)?this.valueSeq():this)},toSet:function(){return je(s(this)?this.valueSeq():this)},toSetSeq:function(){return new oe(this)},toSeq:function(){return a(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Ge(s(this)?this.valueSeq():this)},toList:function(){return Ut(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Me(this,me(this,un.call(arguments,0)))},includes:function(t){return this.some(function(e){return K(e,t)})},entries:function(){return this.__iterator(_n)},every:function(t,e){ct(this.size);var n=!0;return this.__iterate(function(r,i,o){if(!t.call(e,r,i,o))return n=!1,!1}),n},filter:function(t,e){return Me(this,ce(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},forEach:function(t,e){return ct(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){ct(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!==r&&void 0!==r?r.toString():""}),e},keys:function(){return this.__iterator(bn)},map:function(t,e){return Me(this,ue(this,t,e))},reduce:function(t,e,n){ct(this.size);var r,i;return arguments.length<2?i=!0:r=e,this.__iterate(function(e,o,s){i?(i=!1,r=e):r=t.call(n,r,e,o,s)}),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Me(this,le(this,!0))},slice:function(t,e){return Me(this,de(this,t,e,!0))},some:function(t,e){return!this.every(Qe(t),e)},sort:function(t){return Me(this,xe(this,t))},values:function(){return this.__iterator(xn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(t,e){return f(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return he(this,t,e)},equals:function(t){return Z(this,t)},entrySeq:function(){var t=this;if(t._cache)return new I(t._cache);var e=t.toSeq().map(Je).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Qe(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate(function(n,i,o){if(t.call(e,n,i,o))return r=[i,n],!1}),r},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(m)},flatMap:function(t,e){return Me(this,ye(this,t,e))},flatten:function(t){return Me(this,ge(this,t,!0))},fromEntrySeq:function(){return new se(this)},get:function(t,e){return this.find(function(e,n){return K(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,i=Pe(t);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,mn):mn)===mn)return e}return r},groupBy:function(t,e){return pe(this,t,e)},has:function(t){return this.get(t,mn)!==mn},hasIn:function(t){return this.getIn(t,mn)!==mn},isSubset:function(t){return t="function"==typeof t.includes?t:e(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return t="function"==typeof t.isSubset?t:e(t),t.isSubset(this)},keyOf:function(t){return this.findKey(function(e){return K(e,t)})},keySeq:function(){return this.toSeq().map($e).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return _e(this,t)},maxBy:function(t,e){return _e(this,e,t)},min:function(t){return _e(this,t?tn(t):rn)},minBy:function(t,e){return _e(this,e?tn(e):rn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Me(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Me(this,ve(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Qe(t),e)},sortBy:function(t,e){return Me(this,xe(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Me(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Me(this,fe(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Qe(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var sr=e.prototype;sr[ln]=!0,sr[Mn]=sr.values,sr.__toJS=sr.toArray,sr.__toStringMapper=en,sr.inspect=sr.toSource=function(){return this.toString()},sr.chain=sr.flatMap,sr.contains=sr.includes,Ze(n,{flip:function(){return Me(this,ae(this))},mapEntries:function(t,e){var n=this,r=0;return Me(this,this.toSeq().map(function(i,o){return t.call(e,[o,i],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Me(this,this.toSeq().flip().map(function(r,i){return t.call(e,r,i,n)}).flip())}});var ar=n.prototype;return ar[cn]=!0,ar[Mn]=sr.entries,ar.__toJS=sr.toObject,ar.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+en(t)},Ze(r,{toKeyedSeq:function(){return new re(this,!1)},filter:function(t,e){return Me(this,ce(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Me(this,le(this,!1))},slice:function(t,e){return Me(this,de(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=y(t,t<0?this.count():this.size);var r=this.slice(0,t);return Me(this,1===n?r:r.concat(d(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(t){return Me(this,ge(this,t,!1))},get:function(t,e){return t=v(this,t),t<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,n){return n===t},void 0,e)},has:function(t){return(t=v(this,t))>=0&&(void 0!==this.size?this.size===1/0||t0)for(n in yr)r=yr[n],i=e[r],v(i)||(t[r]=i);return t}function g(t){m(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===br&&(br=!0,e.updateOffset(this),br=!1)}function y(t){return t instanceof g||null!=t&&null!=t._isAMomentObject}function b(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function x(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=b(e)),n}function _(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),s=0;for(r=0;r0?"future":"past"];return k(n)?n(e):n.replace(/%s/i,e)}function N(t,e){var n=t.toLowerCase();Or[n]=Or[n+"s"]=Or[e]=t}function L(t){return"string"==typeof t?Or[t]||Or[t.toLowerCase()]:void 0}function j(t){var e,n,r={};for(n in t)u(t,n)&&(e=L(n))&&(r[e]=t[n]);return r}function z(t,e){Dr[t]=e}function U(t){var e=[];for(var n in t)e.push({unit:n,priority:Dr[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function B(t,n){return function(r){return null!=r?(W(this,t,r),e.updateOffset(this,n),this):F(this,t)}}function F(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function W(t,e,n){t.isValid()&&t._d["set"+(t._isUTC?"UTC":"")+e](n)}function Y(t){return t=L(t),k(this[t])?this[t]():this}function H(t,e){if("object"==typeof t){t=j(t);for(var n=U(t),r=0;r=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function G(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(Ir[t]=i),e&&(Ir[e[0]]=function(){return V(i.apply(this,arguments),e[1],e[2])}),n&&(Ir[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function q(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function X(t){var e,n,r=t.match(Tr);for(e=0,n=r.length;e=0&&Pr.test(t);)t=t.replace(Pr,n),Pr.lastIndex=0,r-=1;return t}function $(t,e,n){$r[t]=k(e)?e:function(t,r){return t&&n?n:e}}function J(t,e){return u($r,t)?$r[t](e._strict,e._locale):new RegExp(Q(t))}function Q(t){return tt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i}))}function tt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function et(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),o(e)&&(r=function(t,n){n[e]=x(t)}),n=0;n=0&&isFinite(a.getFullYear())&&a.setFullYear(t),a}function bt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function xt(t,e,n){var r=7+e-n;return-(7+bt(t,0,r).getUTCDay()-e)%7+r-1}function _t(t,e,n,r,i){var o,s,a=(7+n-r)%7,u=xt(t,r,i),l=1+7*(e-1)+a+u;return l<=0?(o=t-1,s=vt(o)+l):l>vt(t)?(o=t+1,s=l-vt(t)):(o=t,s=l),{year:o,dayOfYear:s}}function wt(t,e,n){var r,i,o=xt(t.year(),e,n),s=Math.floor((t.dayOfYear()-o-1)/7)+1;return s<1?(i=t.year()-1,r=s+St(i,e,n)):s>St(t.year(),e,n)?(r=s-St(t.year(),e,n),i=t.year()+1):(i=t.year(),r=s),{week:r,year:i}}function St(t,e,n){var r=xt(t,e,n),i=xt(t+1,e,n);return(vt(t)-r+i)/7}function Mt(t){return wt(t,this._week.dow,this._week.doy).week}function kt(){return this._week.dow}function Ct(){return this._week.doy}function Et(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Ot(t){var e=wt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Dt(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function Tt(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Pt(t,e){return t?n(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:this._weekdays}function At(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort}function It(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Rt(t,e,n){var r,i,o,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?(i=ui.call(this._weekdaysParse,s),-1!==i?i:null):"ddd"===e?(i=ui.call(this._shortWeekdaysParse,s),-1!==i?i:null):(i=ui.call(this._minWeekdaysParse,s),-1!==i?i:null):"dddd"===e?(i=ui.call(this._weekdaysParse,s),-1!==i?i:(i=ui.call(this._shortWeekdaysParse,s),-1!==i?i:(i=ui.call(this._minWeekdaysParse,s),-1!==i?i:null))):"ddd"===e?(i=ui.call(this._shortWeekdaysParse,s),-1!==i?i:(i=ui.call(this._weekdaysParse,s),-1!==i?i:(i=ui.call(this._minWeekdaysParse,s),-1!==i?i:null))):(i=ui.call(this._minWeekdaysParse,s),-1!==i?i:(i=ui.call(this._weekdaysParse,s),-1!==i?i:(i=ui.call(this._shortWeekdaysParse,s),-1!==i?i:null)))}function Nt(t,e,n){var r,i,o;if(this._weekdaysParseExact)return Rt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=c([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]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function Lt(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Dt(t,this.localeData()),this.add(t-e,"d")):e}function jt(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function zt(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Tt(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Ut(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Wt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=bi),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Bt(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Wt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=xi),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ft(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Wt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=_i),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Wt(){function t(t,e){return e.length-t.length}var e,n,r,i,o,s=[],a=[],u=[],l=[];for(e=0;e<7;e++)n=c([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),s.push(r),a.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(s.sort(t),a.sort(t),u.sort(t),l.sort(t),e=0;e<7;e++)a[e]=tt(a[e]),u[e]=tt(u[e]),l[e]=tt(l[e]);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("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Yt(){return this.hours()%12||12}function Ht(){return this.hours()||24}function Vt(t,e){G(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Gt(t,e){return e._meridiemParse}function qt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Xt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Kt(t){return t?t.toLowerCase().replace("_","-"):t}function Zt(t){for(var e,n,r,i,o=0;o0;){if(r=$t(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&_(i,n,!0)>=e-1)break;e--}o++}return null}function $t(e){var n=null;if(!Ci[e]&&void 0!==t&&t&&t.exports)try{n=wi._abbr,function(){var t=new Error('Cannot find module "./locale"');throw t.code="MODULE_NOT_FOUND",t}(),Jt(n)}catch(e){}return Ci[e]}function Jt(t,e){var n;return t&&(n=v(e)?ee(t):Qt(t,e))&&(wi=n),wi._abbr}function Qt(t,e){if(null!==e){var n=ki;if(e.abbr=t,null!=Ci[t])M("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=Ci[t]._config;else if(null!=e.parentLocale){if(null==Ci[e.parentLocale])return Ei[e.parentLocale]||(Ei[e.parentLocale]=[]),Ei[e.parentLocale].push({name:t,config:e}),null;n=Ci[e.parentLocale]._config}return Ci[t]=new O(E(n,e)),Ei[t]&&Ei[t].forEach(function(t){Qt(t.name,t.config)}),Jt(t),Ci[t]}return delete Ci[t],null}function te(t,e){if(null!=e){var n,r=ki;null!=Ci[t]&&(r=Ci[t]._config),e=E(r,e),n=new O(e),n.parentLocale=Ci[t],Ci[t]=n,Jt(t)}else null!=Ci[t]&&(null!=Ci[t].parentLocale?Ci[t]=Ci[t].parentLocale:null!=Ci[t]&&delete Ci[t]);return Ci[t]}function ee(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return wi;if(!n(t)){if(e=$t(t))return e;t=[t]}return Zt(t)}function ne(){return Sr(Ci)}function re(t){var e,n=t._a;return n&&-2===p(t).overflow&&(e=n[ti]<0||n[ti]>11?ti:n[ei]<1||n[ei]>it(n[Qr],n[ti])?ei:n[ni]<0||n[ni]>24||24===n[ni]&&(0!==n[ri]||0!==n[ii]||0!==n[oi])?ni:n[ri]<0||n[ri]>59?ri:n[ii]<0||n[ii]>59?ii:n[oi]<0||n[oi]>999?oi:-1,p(t)._overflowDayOfYear&&(eei)&&(e=ei),p(t)._overflowWeeks&&-1===e&&(e=si),p(t)._overflowWeekday&&-1===e&&(e=ai),p(t).overflow=e),t}function ie(t){var e,n,r,i,o,s,a=t._i,u=Oi.exec(a)||Di.exec(a);if(u){for(p(t).iso=!0,e=0,n=Pi.length;evt(i)&&(p(t)._overflowDayOfYear=!0),n=bt(i,0,t._dayOfYear),t._a[ti]=n.getUTCMonth(),t._a[ei]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=r[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[ni]&&0===t._a[ri]&&0===t._a[ii]&&0===t._a[oi]&&(t._nextDay=!0,t._a[ni]=0),t._d=(t._useUTC?bt:yt).apply(null,o),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ni]=24)}}function le(t){var e,n,r,i,o,s,a,u;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)o=1,s=4,n=se(e.GG,t._a[Qr],wt(ye(),1,4).year),r=se(e.W,1),((i=se(e.E,1))<1||i>7)&&(u=!0);else{o=t._locale._week.dow,s=t._locale._week.doy;var l=wt(ye(),o,s);n=se(e.gg,t._a[Qr],l.year),r=se(e.w,l.week),null!=e.d?((i=e.d)<0||i>6)&&(u=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(u=!0)):i=o}r<1||r>St(n,o,s)?p(t)._overflowWeeks=!0:null!=u?p(t)._overflowWeekday=!0:(a=_t(n,r,i,o,s),t._a[Qr]=a.year,t._dayOfYear=a.dayOfYear)}function ce(t){if(t._f===e.ISO_8601)return void ie(t);t._a=[],p(t).empty=!0;var n,r,i,o,s,a=""+t._i,u=a.length,l=0;for(i=Z(t._f,t._locale).match(Tr)||[],n=0;n0&&p(t).unusedInput.push(s),a=a.slice(a.indexOf(r)+r.length),l+=r.length),Ir[o]?(r?p(t).empty=!1:p(t).unusedTokens.push(o),rt(o,r,t)):t._strict&&!r&&p(t).unusedTokens.push(o);p(t).charsLeftOver=u-l,a.length>0&&p(t).unusedInput.push(a),t._a[ni]<=12&&!0===p(t).bigHour&&t._a[ni]>0&&(p(t).bigHour=void 0),p(t).parsedDateParts=t._a.slice(0),p(t).meridiem=t._meridiem,t._a[ni]=he(t._locale,t._a[ni],t._meridiem),ue(t),re(t)}function he(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function pe(t){var e,n,r,i,o;if(0===t._f.length)return p(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Le(){if(!v(this._isDSTShifted))return this._isDSTShifted;var t={};if(m(t,this),t=ve(t),t._a){var e=t._isUTC?c(t._a):ye(t._a);this._isDSTShifted=this.isValid()&&_(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function je(){return!!this.isValid()&&!this._isUTC}function ze(){return!!this.isValid()&&this._isUTC}function Ue(){return!!this.isValid()&&this._isUTC&&0===this._offset}function Be(t,e){var n,r,i,s=t,a=null;return Se(t)?s={ms:t._milliseconds,d:t._days,M:t._months}:o(t)?(s={},e?s[e]=t:s.milliseconds=t):(a=zi.exec(t))?(n="-"===a[1]?-1:1,s={y:0,d:x(a[ei])*n,h:x(a[ni])*n,m:x(a[ri])*n,s:x(a[ii])*n,ms:x(Me(1e3*a[oi]))*n}):(a=Ui.exec(t))?(n="-"===a[1]?-1:1,s={y:Fe(a[2],n),M:Fe(a[3],n),w:Fe(a[4],n),d:Fe(a[5],n),h:Fe(a[6],n),m:Fe(a[7],n),s:Fe(a[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(i=Ye(ye(s.from),ye(s.to)),s={},s.ms=i.milliseconds,s.M=i.months),r=new we(s),Se(t)&&u(t,"_locale")&&(r._locale=t._locale),r}function Fe(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function We(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Ye(t,e){var n;return t.isValid()&&e.isValid()?(e=Ee(e,t),t.isBefore(e)?n=We(t,e):(n=We(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function He(t,e){return function(n,r){var i,o;return null===r||isNaN(+r)||(M(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Be(n,r),Ve(this,i,t),this}}function Ve(t,n,r,i){var o=n._milliseconds,s=Me(n._days),a=Me(n._months);t.isValid()&&(i=null==i||i,o&&t._d.setTime(t._d.valueOf()+o*r),s&&W(t,"Date",F(t,"Date")+s*r),a&<(t,F(t,"Month")+a*r),i&&e.updateOffset(t,s||a))}function Ge(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function qe(t,n){var r=t||ye(),i=Ee(r,this).startOf("day"),o=e.calendarFormat(this,i)||"sameElse",s=n&&(k(n[o])?n[o].call(this,r):n[o]);return this.format(s||this.localeData().calendar(o,this,ye(r)))}function Xe(){return new g(this)}function Ke(t,e){var n=y(t)?t:ye(t);return!(!this.isValid()||!n.isValid())&&(e=L(v(e)?"millisecond":e),"millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()o&&(e=o),An.call(this,t,e,n,r,i))}function An(t,e,n,r,i){var o=_t(t,e,n,r,i),s=bt(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function In(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Rn(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function Nn(t,e){e[oi]=x(1e3*("0."+t))}function Ln(){return this._isUTC?"UTC":""}function jn(){return this._isUTC?"Coordinated Universal Time":""}function zn(t){return ye(1e3*t)}function Un(){return ye.apply(null,arguments).parseZone()}function Bn(t){return t}function Fn(t,e,n,r){var i=ee(),o=c().set(r,e);return i[n](o,t)}function Wn(t,e,n){if(o(t)&&(e=t,t=void 0),t=t||"",null!=e)return Fn(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Fn(t,r,n,"month");return i}function Yn(t,e,n,r){"boolean"==typeof t?(o(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,o(e)&&(n=e,e=void 0),e=e||"");var i=ee(),s=t?i._week.dow:0;if(null!=n)return Fn(e,(n+s)%7,r,"day");var a,u=[];for(a=0;a<7;a++)u[a]=Fn(e,(a+s)%7,r,"day");return u}function Hn(t,e){return Wn(t,e,"months")}function Vn(t,e){return Wn(t,e,"monthsShort")}function Gn(t,e,n){return Yn(t,e,n,"weekdays")}function qn(t,e,n){return Yn(t,e,n,"weekdaysShort")}function Xn(t,e,n){return Yn(t,e,n,"weekdaysMin")}function Kn(){var t=this._data;return this._milliseconds=Zi(this._milliseconds),this._days=Zi(this._days),this._months=Zi(this._months),t.milliseconds=Zi(t.milliseconds),t.seconds=Zi(t.seconds),t.minutes=Zi(t.minutes),t.hours=Zi(t.hours),t.months=Zi(t.months),t.years=Zi(t.years),this}function Zn(t,e,n,r){var i=Be(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function $n(t,e){return Zn(this,t,e,1)}function Jn(t,e){return Zn(this,t,e,-1)}function Qn(t){return t<0?Math.floor(t):Math.ceil(t)}function tr(){var t,e,n,r,i,o=this._milliseconds,s=this._days,a=this._months,u=this._data;return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*Qn(nr(a)+s),s=0,a=0),u.milliseconds=o%1e3,t=b(o/1e3),u.seconds=t%60,e=b(t/60),u.minutes=e%60,n=b(e/60),u.hours=n%24,s+=b(n/24),i=b(er(s)),a+=i,s-=Qn(nr(i)),r=b(a/12),a%=12,u.days=s,u.months=a,u.years=r,this}function er(t){return 4800*t/146097}function nr(t){return 146097*t/4800}function rr(t){var e,n,r=this._milliseconds;if("month"===(t=L(t))||"year"===t)return e=this._days+r/864e5,n=this._months+er(e),"month"===t?n:n/12;switch(e=this._days+Math.round(nr(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function ir(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12)}function or(t){return function(){return this.as(t)}}function sr(t){return t=L(t),this[t+"s"]()}function ar(t){return function(){return this._data[t]}}function ur(){return b(this.days()/7)}function lr(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function cr(t,e,n){var r=Be(t).abs(),i=po(r.as("s")),o=po(r.as("m")),s=po(r.as("h")),a=po(r.as("d")),u=po(r.as("M")),l=po(r.as("y")),c=i0,c[4]=n,lr.apply(null,c)}function hr(t){return void 0===t?po:"function"==typeof t&&(po=t,!0)}function pr(t,e){return void 0!==fo[t]&&(void 0===e?fo[t]:(fo[t]=e,!0))}function dr(t){var e=this.localeData(),n=cr(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function fr(){var t,e,n,r=vo(this._milliseconds)/1e3,i=vo(this._days),o=vo(this._months);t=b(r/60),e=b(t/60),r%=60,t%=60,n=b(o/12),o%=12;var s=n,a=o,u=i,l=e,c=t,h=r,p=this.asSeconds();return p?(p<0?"-":"")+"P"+(s?s+"Y":"")+(a?a+"M":"")+(u?u+"D":"")+(l||c||h?"T":"")+(l?l+"H":"")+(c?c+"M":"")+(h?h+"S":""):"P0D"}var vr,mr;mr=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r68?1900:2e3)};var fi=B("FullYear",!0);G("w",["ww",2],"wo","week"),G("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),z("week",5),z("isoWeek",5),$("w",Ur),$("ww",Ur,Nr),$("W",Ur),$("WW",Ur,Nr),nt(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=x(t)});var vi={dow:0,doy:6};G("d",0,"do","day"),G("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),G("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),G("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),G("e",0,0,"weekday"),G("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),z("day",11),z("weekday",11),z("isoWeekday",11),$("d",Ur),$("e",Ur),$("E",Ur),$("dd",function(t,e){return e.weekdaysMinRegex(t)}),$("ddd",function(t,e){return e.weekdaysShortRegex(t)}),$("dddd",function(t,e){return e.weekdaysRegex(t)}),nt(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:p(n).invalidWeekday=t}),nt(["d","e","E"],function(t,e,n,r){e[r]=x(t)});var mi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),gi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),yi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),bi=Zr,xi=Zr,_i=Zr;G("H",["HH",2],0,"hour"),G("h",["hh",2],0,Yt),G("k",["kk",2],0,Ht),G("hmm",0,0,function(){return""+Yt.apply(this)+V(this.minutes(),2)}),G("hmmss",0,0,function(){return""+Yt.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)}),G("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)}),G("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)}),Vt("a",!0),Vt("A",!1),N("hour","h"),z("hour",13),$("a",Gt),$("A",Gt),$("H",Ur),$("h",Ur),$("HH",Ur,Nr),$("hh",Ur,Nr),$("hmm",Br),$("hmmss",Fr),$("Hmm",Br),$("Hmmss",Fr),et(["H","HH"],ni),et(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),et(["h","hh"],function(t,e,n){e[ni]=x(t),p(n).bigHour=!0}),et("hmm",function(t,e,n){var r=t.length-2;e[ni]=x(t.substr(0,r)),e[ri]=x(t.substr(r)),p(n).bigHour=!0}),et("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[ni]=x(t.substr(0,r)),e[ri]=x(t.substr(r,2)),e[ii]=x(t.substr(i)),p(n).bigHour=!0}),et("Hmm",function(t,e,n){var r=t.length-2;e[ni]=x(t.substr(0,r)),e[ri]=x(t.substr(r))}),et("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[ni]=x(t.substr(0,r)),e[ri]=x(t.substr(r,2)),e[ii]=x(t.substr(i))});var wi,Si=/[ap]\.?m?\.?/i,Mi=B("Hours",!0),ki={calendar:Mr,longDateFormat:kr,invalidDate:"Invalid date",ordinal:"%d",ordinalParse:Cr,relativeTime:Er,months:ci,monthsShort:hi,week:vi,weekdays:mi,weekdaysMin:yi,weekdaysShort:gi,meridiemParse:Si},Ci={},Ei={},Oi=/^\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)?)?$/,Di=/^\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)?)?$/,Ti=/Z|[+-]\d\d(?::?\d\d)?/,Pi=[["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}/]],Ai=[["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/]],Ii=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=S("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){};var Ri=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ye.apply(null,arguments);return this.isValid()&&t.isValid()?tthis?this:t:f()}),Li=function(){return Date.now?Date.now():+new Date};ke("Z",":"),ke("ZZ",""),$("Z",Xr),$("ZZ",Xr),et(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ce(Xr,t)});var ji=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var zi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ui=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Be.fn=we.prototype;var Bi=He(1,"add"),Fi=He(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Wi=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});G(0,["gg",2],0,function(){return this.weekYear()%100}),G(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Cn("gggg","weekYear"),Cn("ggggg","weekYear"),Cn("GGGG","isoWeekYear"),Cn("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),z("weekYear",1),z("isoWeekYear",1),$("G",Gr),$("g",Gr),$("GG",Ur,Nr),$("gg",Ur,Nr),$("GGGG",Yr,jr),$("gggg",Yr,jr),$("GGGGG",Hr,zr),$("ggggg",Hr,zr),nt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=x(t)}),nt(["gg","GG"],function(t,n,r,i){n[i]=e.parseTwoDigitYear(t)}),G("Q",0,"Qo","quarter"),N("quarter","Q"),z("quarter",7),$("Q",Rr),et("Q",function(t,e){e[ti]=3*(x(t)-1)}),G("D",["DD",2],"Do","date"),N("date","D"),z("date",9),$("D",Ur),$("DD",Ur,Nr),$("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),et(["D","DD"],ei),et("Do",function(t,e){e[ei]=x(t.match(Ur)[0],10)});var Yi=B("Date",!0);G("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),z("dayOfYear",4),$("DDD",Wr),$("DDDD",Lr),et(["DDD","DDDD"],function(t,e,n){n._dayOfYear=x(t)}),G("m",["mm",2],0,"minute"),N("minute","m"),z("minute",14),$("m",Ur),$("mm",Ur,Nr),et(["m","mm"],ri);var Hi=B("Minutes",!1);G("s",["ss",2],0,"second"),N("second","s"),z("second",15),$("s",Ur),$("ss",Ur,Nr),et(["s","ss"],ii);var Vi=B("Seconds",!1);G("S",0,0,function(){return~~(this.millisecond()/100)}),G(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),G(0,["SSS",3],0,"millisecond"),G(0,["SSSS",4],0,function(){return 10*this.millisecond()}),G(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),G(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),G(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),G(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),G(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),N("millisecond","ms"),z("millisecond",16),$("S",Wr,Rr),$("SS",Wr,Nr),$("SSS",Wr,Lr);var Gi;for(Gi="SSSS";Gi.length<=9;Gi+="S")$(Gi,Vr);for(Gi="S";Gi.length<=9;Gi+="S")et(Gi,Nn);var qi=B("Milliseconds",!1);G("z",0,0,"zoneAbbr"),G("zz",0,0,"zoneName");var Xi=g.prototype;Xi.add=Bi,Xi.calendar=qe,Xi.clone=Xe,Xi.diff=en,Xi.endOf=vn,Xi.format=an,Xi.from=un,Xi.fromNow=ln,Xi.to=cn,Xi.toNow=hn,Xi.get=Y,Xi.invalidAt=Mn,Xi.isAfter=Ke,Xi.isBefore=Ze,Xi.isBetween=$e,Xi.isSame=Je,Xi.isSameOrAfter=Qe,Xi.isSameOrBefore=tn,Xi.isValid=wn,Xi.lang=Wi,Xi.locale=pn,Xi.localeData=dn,Xi.max=Ni,Xi.min=Ri,Xi.parsingFlags=Sn,Xi.set=H,Xi.startOf=fn,Xi.subtract=Fi,Xi.toArray=bn,Xi.toObject=xn,Xi.toDate=yn,Xi.toISOString=on,Xi.inspect=sn,Xi.toJSON=_n,Xi.toString=rn,Xi.unix=gn,Xi.valueOf=mn,Xi.creationData=kn,Xi.year=fi,Xi.isLeapYear=gt,Xi.weekYear=En,Xi.isoWeekYear=On,Xi.quarter=Xi.quarters=In,Xi.month=ct,Xi.daysInMonth=ht,Xi.week=Xi.weeks=Et,Xi.isoWeek=Xi.isoWeeks=Ot,Xi.weeksInYear=Tn,Xi.isoWeeksInYear=Dn,Xi.date=Yi,Xi.day=Xi.days=Lt,Xi.weekday=jt,Xi.isoWeekday=zt,Xi.dayOfYear=Rn,Xi.hour=Xi.hours=Mi,Xi.minute=Xi.minutes=Hi,Xi.second=Xi.seconds=Vi,Xi.millisecond=Xi.milliseconds=qi,Xi.utcOffset=De,Xi.utc=Pe,Xi.local=Ae,Xi.parseZone=Ie,Xi.hasAlignedHourOffset=Re,Xi.isDST=Ne,Xi.isLocal=je,Xi.isUtcOffset=ze,Xi.isUtc=Ue,Xi.isUTC=Ue,Xi.zoneAbbr=Ln,Xi.zoneName=jn,Xi.dates=S("dates accessor is deprecated. Use date instead.",Yi),Xi.months=S("months accessor is deprecated. Use month instead",ct),Xi.years=S("years accessor is deprecated. Use year instead",fi),Xi.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Te),Xi.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Le);var Ki=O.prototype;Ki.calendar=D,Ki.longDateFormat=T,Ki.invalidDate=P,Ki.ordinal=A,Ki.preparse=Bn,Ki.postformat=Bn,Ki.relativeTime=I,Ki.pastFuture=R,Ki.set=C,Ki.months=ot,Ki.monthsShort=st,Ki.monthsParse=ut,Ki.monthsRegex=dt,Ki.monthsShortRegex=pt,Ki.week=Mt,Ki.firstDayOfYear=Ct,Ki.firstDayOfWeek=kt,Ki.weekdays=Pt,Ki.weekdaysMin=It,Ki.weekdaysShort=At,Ki.weekdaysParse=Nt,Ki.weekdaysRegex=Ut,Ki.weekdaysShortRegex=Bt,Ki.weekdaysMinRegex=Ft,Ki.isPM=qt,Ki.meridiem=Xt,Jt("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===x(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=S("moment.lang is deprecated. Use moment.locale instead.",Jt),e.langData=S("moment.langData is deprecated. Use moment.localeData instead.",ee);var Zi=Math.abs,$i=or("ms"),Ji=or("s"),Qi=or("m"),to=or("h"),eo=or("d"),no=or("w"),ro=or("M"),io=or("y"),oo=ar("milliseconds"),so=ar("seconds"),ao=ar("minutes"),uo=ar("hours"),lo=ar("days"),co=ar("months"),ho=ar("years"),po=Math.round,fo={s:45,m:45,h:22,d:26,M:11},vo=Math.abs,mo=we.prototype;return mo.abs=Kn,mo.add=$n,mo.subtract=Jn,mo.as=rr,mo.asMilliseconds=$i,mo.asSeconds=Ji,mo.asMinutes=Qi,mo.asHours=to,mo.asDays=eo,mo.asWeeks=no,mo.asMonths=ro,mo.asYears=io,mo.valueOf=ir,mo._bubble=tr,mo.get=sr,mo.milliseconds=oo,mo.seconds=so,mo.minutes=ao,mo.hours=uo,mo.days=lo,mo.weeks=ur,mo.months=co,mo.years=ho,mo.humanize=dr,mo.toISOString=fr,mo.toString=fr,mo.toJSON=fr,mo.locale=pn,mo.localeData=dn,mo.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",fr),mo.lang=Wi,G("X",0,0,"unix"),G("x",0,0,"valueOf"),$("x",Gr),$("X",Kr),et("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),et("x",function(t,e,n){n._d=new Date(x(t))}),e.version="2.17.1",function(t){vr=t}(ye),e.fn=Xi,e.min=xe,e.max=_e,e.now=Li,e.utc=c,e.unix=zn,e.months=Hn,e.isDate=s,e.locale=Jt,e.invalid=f,e.duration=Be,e.isMoment=y,e.weekdays=Gn,e.parseZone=Un,e.localeData=ee,e.isDuration=Se,e.monthsShort=Vn,e.weekdaysMin=Xn,e.defineLocale=Qt,e.updateLocale=te,e.locales=ne,e.weekdaysShort=qn,e.normalizeUnits=L,e.relativeTimeRounding=hr,e.relativeTimeThreshold=pr,e.calendarFormat=Ge,e.prototype=Xi,e})}).call(e,n(248)(t))},function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){if(!t){var u;if(void 0===e)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,o,s,a],c=0;u=new Error(e.replace(/%s/g,function(){return l[c++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}t.exports=r},,,,,function(t,e,n){"use strict";var r=n(46),i=r;t.exports=i},function(t,e,n){"use strict";function r(t,e){if(null==t)throw new TypeError("Object.assign target cannot be null or undefined");for(var n=Object(t),r=Object.prototype.hasOwnProperty,i=1;i1){for(var h=Array(c),p=0;p1){for(var d=Array(p),f=0;f1)for(var n=1;n1?e-1:0),r=1;r2?r-2:0),o=2;o1?a-1:0),c=1;c",'"',"`"," ","\r","\n","\t"],f=["{","}","|","\\","^","`"].concat(d),v=["'"].concat(f),m=["%","/","?",";","#"].concat(v),g=["/","?","#"],y=/^[+a-z0-9A-Z_-]{0,63}$/,b=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,x={javascript:!0,"javascript:":!0},_={javascript:!0,"javascript:":!0},w={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},S=n(388);r.prototype.parse=function(t,e,n){if(!l.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var r=t.indexOf("?"),i=-1!==r&&r127?R+="x":R+=I[N];if(!R.match(y)){var j=P.slice(0,C),z=P.slice(C+1),U=I.match(b);U&&(j.push(U[1]),z.unshift(U[2])),z.length&&(a="/"+z.join(".")+a),this.hostname=j.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=u.toASCII(this.hostname));var B=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+B,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==a[0]&&(a="/"+a))}if(!x[f])for(var C=0,A=v.length;C0)&&n.host.split("@");k&&(n.auth=k.shift(),n.host=n.hostname=k.shift())}return n.search=t.search,n.query=t.query,l.isNull(n.pathname)&&l.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!S.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=S.slice(-1)[0],E=(n.host||t.host||S.length>1)&&("."===C||".."===C)||""===C,O=0,D=S.length;D>=0;D--)C=S[D],"."===C?S.splice(D,1):".."===C?(S.splice(D,1),O++):O&&(S.splice(D,1),O--);if(!b&&!x)for(;O--;O)S.unshift("..");!b||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),E&&"/"!==S.join("/").substr(-1)&&S.push("");var T=""===S[0]||S[0]&&"/"===S[0].charAt(0);if(M){n.hostname=n.host=T?"":S.length?S.shift():"";var k=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");k&&(n.auth=k.shift(),n.host=n.hostname=k.shift())}return b=b||n.host&&S.length,b&&!T&&S.unshift(""),S.length?n.pathname=S.join("/"):(n.pathname=null,n.path=null),l.isNull(n.pathname)&&l.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var t=this.host,e=h.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},,,function(t,e,n){var r=n(608),i=n(406),o=n(613),s=r(i,o);t.exports=s},,,,,,,,function(t,e,n){"use strict";function r(){i.attachRefs(this,this._currentElement)}var i=n(435),o={mountComponent:function(t,e,n,i){var o=t.mountComponent(e,n,i);return t._currentElement&&null!=t._currentElement.ref&&n.getReactMountReady().enqueue(r,t),o},unmountComponent:function(t){i.detachRefs(t,t._currentElement),t.unmountComponent()},receiveComponent:function(t,e,n,o){var s=t._currentElement;if(e!==s||o!==t._context){var a=i.shouldUpdateRefs(s,e);a&&i.detachRefs(t,s),t.receiveComponent(e,n,o),a&&t._currentElement&&null!=t._currentElement.ref&&n.getReactMountReady().enqueue(r,t)}},performUpdateIfNecessary:function(t,e){t.performUpdateIfNecessary(e)}};t.exports=o},function(t,e,n){"use strict";function r(t,e,n,r){this.dispatchConfig=t,this.dispatchMarker=e,this.nativeEvent=n;var i=this.constructor.Interface;for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];a?this[o]=a(n):"target"===o?this.target=r:this[o]=n[o]}var u=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;this.isDefaultPrevented=u?s.thatReturnsTrue:s.thatReturnsFalse,this.isPropagationStopped=s.thatReturnsFalse}var i=n(67),o=n(12),s=n(46),a=(n(11),{type:null,target:null,currentTarget:s.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null});o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():t.returnValue=!1,this.isDefaultPrevented=s.thatReturnsTrue)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():t.cancelBubble=!0,this.isPropagationStopped=s.thatReturnsTrue)},persist:function(){this.isPersistent=s.thatReturnsTrue},isPersistent:s.thatReturnsFalse,destructor:function(){var t=this.constructor.Interface;for(var e in t)this[e]=null;this.dispatchConfig=null,this.dispatchMarker=null,this.nativeEvent=null}}),r.Interface=a,r.augmentClass=function(t,e){var n=this,r=Object.create(n.prototype);o(r,t.prototype),t.prototype=r,t.prototype.constructor=t,t.Interface=o({},n.Interface,e),t.augmentClass=n.augmentClass,i.addPoolingTo(t,i.fourArgumentPooler)},i.addPoolingTo(r,i.fourArgumentPooler),t.exports=r},,function(t,e,n){"use strict";var r=n(498),i=n(499),o=n(365);t.exports={formats:o,parse:i,stringify:r}},function(t,e,n){var r=n(126),i=n(87),o=n(31),s=n(502),a=r(Object,"keys"),u=a?function(t){var e=null==t?void 0:t.constructor;return"function"==typeof e&&e.prototype===t||"function"!=typeof t&&i(t)?s(t):o(t)?a(t):[]}:s;t.exports=u},function(t,e,n){function r(t){return null!=t&&o(i(t))}var i=n(367),o=n(107);t.exports=r},,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";function r(t,e){return(t&e)===e}var i=n(6),o={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(t){var e=o,n=t.Properties||{},s=t.DOMAttributeNamespaces||{},u=t.DOMAttributeNames||{},l=t.DOMPropertyNames||{},c=t.DOMMutationMethods||{};t.isCustomAttribute&&a._isCustomAttributeFunctions.push(t.isCustomAttribute);for(var h in n){a.properties.hasOwnProperty(h)&&i(!1);var p=h.toLowerCase(),d=n[h],f={attributeName:p,attributeNamespace:null,propertyName:h,mutationMethod:null,mustUseAttribute:r(d,e.MUST_USE_ATTRIBUTE),mustUseProperty:r(d,e.MUST_USE_PROPERTY),hasSideEffects:r(d,e.HAS_SIDE_EFFECTS),hasBooleanValue:r(d,e.HAS_BOOLEAN_VALUE),hasNumericValue:r(d,e.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(d,e.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(d,e.HAS_OVERLOADED_BOOLEAN_VALUE)};if(f.mustUseAttribute&&f.mustUseProperty&&i(!1),!f.mustUseProperty&&f.hasSideEffects&&i(!1),f.hasBooleanValue+f.hasNumericValue+f.hasOverloadedBooleanValue<=1||i(!1),u.hasOwnProperty(h)){var v=u[h];f.attributeName=v}s.hasOwnProperty(h)&&(f.attributeNamespace=s[h]),l.hasOwnProperty(h)&&(f.propertyName=l[h]),c.hasOwnProperty(h)&&(f.mutationMethod=c[h]),a.properties[h]=f}}},s={},a={ID_ATTRIBUTE_NAME:"data-reactid",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(t){for(var e=0;e1){var e=t.indexOf(d,1);return e>-1?t.substr(0,e):t}return null},traverseEnterLeave:function(t,e,n,r,i){var o=l(t,e);o!==t&&c(t,o,n,r,!1,!0),o!==e&&c(o,e,n,i,!0,!1)},traverseTwoPhase:function(t,e,n){t&&(c("",t,e,n,!0,!1),c(t,"",e,n,!1,!0))},traverseTwoPhaseSkipTarget:function(t,e,n){t&&(c("",t,e,n,!0,!0),c(t,"",e,n,!0,!0))},traverseAncestors:function(t,e,n){c("",t,e,n,!0,!1)},getFirstCommonAncestorID:l,_getNextDescendantID:u,isAncestorIDOf:s,SEPARATOR:d};t.exports=m},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e,n){function r(t){return o(t)&&i(t)&&a.call(t,"callee")&&!u.call(t,"callee")}var i=n(87),o=n(47),s=Object.prototype,a=s.hasOwnProperty,u=s.propertyIsEnumerable;t.exports=r},function(t,e,n){function r(t,e,n){if("function"!=typeof t)return i;if(void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,o){return t.call(e,n,r,i,o)};case 5:return function(n,r,i,o,s){return t.call(e,n,r,i,o,s)}}return function(){return t.apply(e,arguments)}}var i=n(372);t.exports=r},,function(t,e,n){function r(t,e,n,r){return(t?t.length:0)?(null!=e&&"boolean"!=typeof e&&(r=n,n=s(t,e,r)?void 0:e,e=!1),n=null==n?n:i(n,r,3),e?a(t,n):o(t,n)):[]}var i=n(379),o=n(524),s=n(127),a=n(528);t.exports=r},function(t,e,n){var r=n(535),i=n(536),o=n(374),s=n(109),a=n(168),u=n(375),l=n(376),c=n(128),h=c(function(t,e){if(null==t)return{};if("function"!=typeof e[0]){var e=r(o(e),String);return u(t,i(a(t),e))}var n=s(e[0],e[1],3);return l(t,function(t,e,r){return!n(t,e,r)})});t.exports=h},,,,,function(t,e,n){var r=n(187),i=n(414);t.exports=n(151)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(188);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},,function(t,e,n){"use strict";var r=n(335),i=n(432),o=n(336),s=n(337),a=n(338),u=n(6),l=(n(11),{}),c=null,h=function(t,e){t&&(i.executeDispatchesInOrder(t,e),t.isPersistent()||t.constructor.release(t))},p=function(t){return h(t,!0)},d=function(t){return h(t,!1)},f=null,v={injection:{injectMount:i.injection.injectMount,injectInstanceHandle:function(t){f=t},getInstanceHandle:function(){return f},injectEventPluginOrder:r.injectEventPluginOrder,injectEventPluginsByName:r.injectEventPluginsByName},eventNameDispatchConfigs:r.eventNameDispatchConfigs,registrationNameModules:r.registrationNameModules,putListener:function(t,e,n){"function"!=typeof n&&u(!1),(l[e]||(l[e]={}))[t]=n;var i=r.registrationNameModules[e];i&&i.didPutListener&&i.didPutListener(t,e,n)},getListener:function(t,e){var n=l[e];return n&&n[t]},deleteListener:function(t,e){var n=r.registrationNameModules[e];n&&n.willDeleteListener&&n.willDeleteListener(t,e);var i=l[e];i&&delete i[t]},deleteAllListeners:function(t){for(var e in l)if(l[e][t]){var n=r.registrationNameModules[e];n&&n.willDeleteListener&&n.willDeleteListener(t,e),delete l[e][t]}},extractEvents:function(t,e,n,i,o){for(var a,u=r.plugins,l=0;l]/,s=function(t,e){t.innerHTML=e};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(s=function(t,e){MSApp.execUnsafeLocalFunction(function(){t.innerHTML=e})}),r.canUseDOM){var a=document.createElement("div");a.innerHTML=" ",""===a.innerHTML&&(s=function(t,e){if(t.parentNode&&t.parentNode.replaceChild(t,t),i.test(e)||"<"===e[0]&&o.test(e)){t.innerHTML=String.fromCharCode(65279)+e;var n=t.firstChild;1===n.data.length?t.removeChild(n):n.deleteData(0,1)}else t.innerHTML=e})}t.exports=s},function(t,e,n){"use strict";function r(t){return o[t]}function i(t){return(""+t).replace(s,r)}var o={"&":"&",">":">","<":"<",'"':""","'":"'"},s=/[&><"']/g;t.exports=i},function(t,e,n){"use strict";function r(t){return Object.prototype.hasOwnProperty.call(t,m)||(t[m]=f++,p[t[m]]={}),p[t[m]]}var i=n(55),o=n(120),s=n(335),a=n(433),u=n(40),l=n(339),c=n(12),h=n(233),p={},d=!1,f=0,v={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"},m="_reactListenersID"+String(Math.random()).slice(2),g=c({},a,{ReactEventListener:null,injection:{injectReactEventListener:function(t){t.setHandleTopLevel(g.handleTopLevel),g.ReactEventListener=t}},setEnabled:function(t){g.ReactEventListener&&g.ReactEventListener.setEnabled(t)},isEnabled:function(){return!(!g.ReactEventListener||!g.ReactEventListener.isEnabled())},listenTo:function(t,e){for(var n=e,o=r(n),a=s.registrationNameDependencies[t],u=i.topLevelTypes,l=0;l-1?e:t}function d(t,e){e=e||{};var n=e.body;if(t instanceof d){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new i(t.headers)),this.method=t.method,this.mode=t.mode,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new i(e.headers)),this.method=p(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function f(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}}),e}function v(t){var e=new i;return t.split(/\r?\n/).forEach(function(t){var n=t.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();e.append(r,i)}}),e}function m(t,e){e||(e={}),this.type="default",this.status="status"in e?e.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new i(e.headers),this.url=e.url||"",this._initBody(t)}if(!t.fetch){var g={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(g.arrayBuffer)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(t){return t&&DataView.prototype.isPrototypeOf(t)},x=ArrayBuffer.isView||function(t){return t&&y.indexOf(Object.prototype.toString.call(t))>-1};i.prototype.append=function(t,r){t=e(t),r=n(r);var i=this.map[t];this.map[t]=i?i+","+r:r},i.prototype.delete=function(t){delete this.map[e(t)]},i.prototype.get=function(t){return t=e(t),this.has(t)?this.map[t]:null},i.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},i.prototype.set=function(t,r){this.map[e(t)]=n(r)},i.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},i.prototype.keys=function(){var t=[];return this.forEach(function(e,n){t.push(n)}),r(t)},i.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),r(t)},i.prototype.entries=function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),r(t)},g.iterable&&(i.prototype[Symbol.iterator]=i.prototype.entries);var _=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];d.prototype.clone=function(){return new d(this,{body:this._bodyInit})},h.call(d.prototype),h.call(m.prototype),m.prototype.clone=function(){return new m(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},m.error=function(){var t=new m(null,{status:0,statusText:""});return t.type="error",t};var w=[301,302,303,307,308];m.redirect=function(t,e){if(-1===w.indexOf(e))throw new RangeError("Invalid status code");return new m(null,{status:e,headers:{location:t}})},t.Headers=i,t.Request=d,t.Response=m,t.fetch=function(t,e){return new Promise(function(n,r){var i=new d(t,e),o=new XMLHttpRequest;o.onload=function(){var t={status:o.status,statusText:o.statusText,headers:v(o.getAllResponseHeaders()||"")};t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL");var e="response"in o?o.response:o.responseText;n(new m(e,t))},o.onerror=function(){r(new TypeError("Network request failed"))},o.ontimeout=function(){r(new TypeError("Network request failed"))},o.open(i.method,i.url,!0),"include"===i.credentials&&(o.withCredentials=!0),"responseType"in o&&g.blob&&(o.responseType="blob"),i.headers.forEach(function(t,e){o.setRequestHeader(e,t)}),o.send(void 0===i._bodyInit?null:i._bodyInit)})},t.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(t,e){function n(t,e){return t="number"==typeof t||r.test(t)?+t:-1,e=null==e?i:e,t>-1&&t%1==0&&t0;++r-1&&t%1==0&&t<=v}function i(t){return o(t)&&p.call(t)==a}function o(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function s(t){return null!=t&&(i(t)?d.test(c.call(t)):n(t)&&u.test(t))}var a="[object Function]",u=/^\[object .+?Constructor\]$/,l=Object.prototype,c=Function.prototype.toString,h=l.hasOwnProperty,p=l.toString,d=RegExp("^"+c.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),f=function(t,e){var n=null==t?void 0:t[e];return s(n)?n:void 0}(Array,"isArray"),v=9007199254740991,m=f||function(t){return n(t)&&r(t.length)&&"[object Array]"==p.call(t)};t.exports=m},,,,,,,function(t,e,n){var r=n(257),i=n(407),o=n(615),s=o(r,i);t.exports=s},,,function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(118),i=n(931),o=n(932),s=Object.defineProperty;e.f=n(151)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(324);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(27),i=n(159),o=n(158),s=function(t,e){t.textContent=e};r.canUseDOM&&("textContent"in document.documentElement||(s=function(t,e){o(t,i(e))})),t.exports=s},function(t,e,n){"use strict";function r(t){return!!c.hasOwnProperty(t)||!l.hasOwnProperty(t)&&(u.test(t)?(c[t]=!0,!0):(l[t]=!0,!1))}function i(t,e){return null==e||t.hasBooleanValue&&!e||t.hasNumericValue&&isNaN(e)||t.hasPositiveNumericValue&&e<1||t.hasOverloadedBooleanValue&&!1===e}var o=n(105),s=n(40),a=n(431),u=(n(11),/^[a-zA-Z_][\w\.\-]*$/),l={},c={},h={createMarkupForID:function(t){return o.ID_ATTRIBUTE_NAME+"="+a(t)},setAttributeForID:function(t,e){t.setAttribute(o.ID_ATTRIBUTE_NAME,e)},createMarkupForProperty:function(t,e){var n=o.properties.hasOwnProperty(t)?o.properties[t]:null;if(n){if(i(n,e))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&!0===e?r+'=""':r+"="+a(e)}return o.isCustomAttribute(t)?null==e?"":t+"="+a(e):null},createMarkupForCustomAttribute:function(t,e){return r(t)&&null!=e?t+"="+a(e):""},setValueForProperty:function(t,e,n){var r=o.properties.hasOwnProperty(e)?o.properties[e]:null;if(r){var s=r.mutationMethod;if(s)s(t,n);else if(i(r,n))this.deleteValueForProperty(t,e);else if(r.mustUseAttribute){var a=r.attributeName,u=r.attributeNamespace;u?t.setAttributeNS(u,a,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&!0===n?t.setAttribute(a,""):t.setAttribute(a,""+n)}else{var l=r.propertyName;r.hasSideEffects&&""+t[l]==""+n||(t[l]=n)}}else o.isCustomAttribute(e)&&h.setValueForAttribute(t,e,n)},setValueForAttribute:function(t,e,n){r(e)&&(null==n?t.removeAttribute(e):t.setAttribute(e,""+n))},deleteValueForProperty:function(t,e){var n=o.properties.hasOwnProperty(e)?o.properties[e]:null;if(n){var r=n.mutationMethod;if(r)r(t,void 0);else if(n.mustUseAttribute)t.removeAttribute(n.attributeName);else{var i=n.propertyName,s=o.getDefaultValueForProperty(t.nodeName,i);n.hasSideEffects&&""+t[i]===s||(t[i]=s)}}else o.isCustomAttribute(e)&&t.removeAttribute(e)}};s.measureMethods(h,"DOMPropertyOperations",{setValueForProperty:"setValueForProperty",setValueForAttribute:"setValueForAttribute",deleteValueForProperty:"deleteValueForProperty"}),t.exports=h},function(t,e,n){"use strict";var r=n(232),i=n(30),o={processChildrenUpdates:r.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkupByID:r.dangerouslyReplaceNodeWithMarkupByID,unmountIDFromEnvironment:function(t){i.purgeID(t)}};t.exports=o},function(t,e,n){"use strict";var r=n(332),i=n(230),o=n(30),s=n(40),a=n(6),u={dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},l={updatePropertyByID:function(t,e,n){var r=o.getNode(t);u.hasOwnProperty(e)&&a(!1),null!=n?i.setValueForProperty(r,e,n):i.deleteValueForProperty(r,e)},dangerouslyReplaceNodeWithMarkupByID:function(t,e){var n=o.getNode(t);r.dangerouslyReplaceNodeWithMarkup(n,e)},dangerouslyProcessChildrenUpdates:function(t,e){for(var n=0;n=32||13===e?e:0}t.exports=r},function(t,e,n){"use strict";t.exports="0.14.9"},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},,function(t,e,n){function r(t,e,n){var r=null==t?void 0:i(t,o(e),e+"");return void 0===r?n:r}var i=n(251),o=n(174);t.exports=r},function(t,e,n){function r(t,e,n){if(null!=t){void 0!==n&&n in i(t)&&(e=[n]);for(var r=0,o=e.length;null!=t&&r-1&&t%1==0&&t-1&&t%1==0&&t<=m}function s(t){for(var e=u(t),n=e.length,r=n&&t.length,s=!!r&&o(r)&&(h(t)||c(t)),a=-1,l=[];++a0;++r-1&&t%1==0&&t<=l}function a(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function u(t){return!!t&&"object"==typeof t}var l=9007199254740991,c="[object Arguments]",h="[object Function]",p="[object GeneratorFunction]",d=Object.prototype,f=d.hasOwnProperty,v=d.toString,m=d.propertyIsEnumerable;t.exports=n},function(t,e){function n(t,e,n){if("function"!=typeof t)return r;if(void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,o){return t.call(e,n,r,i,o)};case 5:return function(n,r,i,o,s){return t.call(e,n,r,i,o,s)}}return function(){return t.apply(e,arguments)}}function r(t){return t}t.exports=n},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){var r=n(616),i=n(407),o=n(617),s=o(r,i);t.exports=s},,,,,,,,,,,,function(t,e,n){var r=n(186),i=n(35)("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(188),i=n(43).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(940),i=n(323);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(412)("keys"),i=n(320);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(187).f,i=n(152),o=n(35)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},,function(t,e,n){function r(t,e,n,r){var s=t?t.length:0;return s?(n&&"number"!=typeof n&&o(t,e,n)&&(n=0,r=s),i(t,e,n,r)):[]}var i=n(619),o=n(127);t.exports=r},function(t,e,n){"use strict";var r=n(54),i=n(331),o=n(347),s=n(106),a=n(30),u=n(40),l=n(82),c=n(41),h=n(247),p=n(242),d=n(483);n(11);o.inject();var f=u.measure("React","render",a.render),v={findDOMNode:p,render:f,unmountComponentAtNode:a.unmountComponentAtNode,version:h,unstable_batchedUpdates:c.batchedUpdates,unstable_renderSubtreeIntoContainer:d};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:r,InstanceHandles:s,Mount:a,Reconciler:l,TextComponent:i});t.exports=v},function(t,e,n){"use strict";var r=n(332),i=n(230),o=n(231),s=n(30),a=n(12),u=n(159),l=n(229),c=(n(239),function(t){});a(c.prototype,{construct:function(t){this._currentElement=t,this._stringText=""+t,this._rootNodeID=null,this._mountIndex=0},mountComponent:function(t,e,n){if(this._rootNodeID=t,e.useCreateElement){var r=n[s.ownerDocumentContextKey],o=r.createElement("span");return i.setAttributeForID(o,t),s.getID(o),l(o,this._stringText),o}var a=u(this._stringText);return e.renderToStaticMarkup?a:""+a+""},receiveComponent:function(t,e){if(t!==this._currentElement){this._currentElement=t;var n=""+t;if(n!==this._stringText){this._stringText=n;var i=s.getNode(this._rootNodeID);r.updateTextContent(i,n)}}},unmountComponent:function(){o.unmountIDFromEnvironment(this._rootNodeID)}}),t.exports=c},function(t,e,n){"use strict";function r(t,e,n){var r=n>=t.childNodes.length?null:t.childNodes.item(n);t.insertBefore(e,r)}var i=n(427),o=n(334),s=n(40),a=n(158),u=n(229),l=n(6),c={dangerouslyReplaceNodeWithMarkup:i.dangerouslyReplaceNodeWithMarkup,updateTextContent:u,processUpdates:function(t,e){for(var n,s=null,c=null,h=0;h":"<"+t+">",a[t]=!s.firstChild),a[t]?p[t]:null}var i=n(27),o=n(6),s=i.canUseDOM?document.createElement("div"):null,a={},u=[1,'"],l=[1,"","
"],c=[3,"","
"],h=[1,'',""],p={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:u,option:u,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:c,th:c};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(t){p[t]=h,a[t]=!0}),t.exports=r},function(t,e,n){"use strict";var r=n(157),i=r({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});t.exports=i},function(t,e,n){"use strict";function r(){if(a)for(var t in u){var e=u[t],n=a.indexOf(t);if(n>-1||s(!1),!l.plugins[n]){e.extractEvents||s(!1),l.plugins[n]=e;var r=e.eventTypes;for(var o in r)i(r[o],e,o)||s(!1)}}}function i(t,e,n){l.eventNameDispatchConfigs.hasOwnProperty(n)&&s(!1),l.eventNameDispatchConfigs[n]=t;var r=t.phasedRegistrationNames;if(r){for(var i in r)if(r.hasOwnProperty(i)){var a=r[i];o(a,e,n)}return!0}return!!t.registrationName&&(o(t.registrationName,e,n),!0)}function o(t,e,n){l.registrationNameModules[t]&&s(!1),l.registrationNameModules[t]=e,l.registrationNameDependencies[t]=e.eventTypes[n].dependencies}var s=n(6),a=null,u={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(t){a&&s(!1),a=Array.prototype.slice.call(t),r()},injectEventPluginsByName:function(t){var e=!1;for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];u.hasOwnProperty(n)&&u[n]===i||(u[n]&&s(!1),u[n]=i,e=!0)}e&&r()},getPluginModuleForEvent:function(t){var e=t.dispatchConfig;if(e.registrationName)return l.registrationNameModules[e.registrationName]||null;for(var n in e.phasedRegistrationNames)if(e.phasedRegistrationNames.hasOwnProperty(n)){var r=l.registrationNameModules[e.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){a=null;for(var t in u)u.hasOwnProperty(t)&&delete u[t];l.plugins.length=0;var e=l.eventNameDispatchConfigs;for(var n in e)e.hasOwnProperty(n)&&delete e[n];var r=l.registrationNameModules;for(var i in r)r.hasOwnProperty(i)&&delete r[i]}};t.exports=l},function(t,e,n){"use strict";function r(t,e,n,r){try{return e(n,r)}catch(t){return void(null===i&&(i=t))}}var i=null,o={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(i){var t=i;throw i=null,t}}};t.exports=o},function(t,e,n){"use strict";function r(t,e){if(null==e&&i(!1),null==t)return e;var n=Array.isArray(t),r=Array.isArray(e);return n&&r?(t.push.apply(t,e),t):n?(t.push(e),t):r?[t].concat(e):[t,e]}var i=n(6);t.exports=r},function(t,e,n){"use strict";var r=function(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)};t.exports=r},function(t,e,n){"use strict";var r={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(t){r.currentScrollLeft=t.x,r.currentScrollTop=t.y}};t.exports=r},function(t,e,n){"use strict";var r={useCreateElement:!1};t.exports=r},function(t,e,n){"use strict";function r(t){return!!s[t]}function i(t){s[t]=!0}function o(t){delete s[t]}var s={},a={isNullComponentID:r,registerNullComponentID:i,deregisterNullComponentID:o};t.exports=a},function(t,e,n){"use strict";var r={injectCreateReactRootIndex:function(t){i.createReactRootIndex=t}},i={createReactRootIndex:null,injection:r};t.exports=i},function(t,e,n){"use strict";var r=n(434),i=/\/?>/,o={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(t){var e=r(t);return t.replace(i," "+o.CHECKSUM_ATTR_NAME+'="'+e+'"$&')},canReuseMarkup:function(t,e){var n=e.getAttribute(o.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(t)===n}};t.exports=o},function(t,e,n){"use strict";function r(t,e){var n=!0;t:for(;n;){var r=t,o=e;if(n=!1,r&&o){if(r===o)return!0;if(i(r))return!1;if(i(o)){t=r,e=o.parentNode,n=!0;continue t}return r.contains?r.contains(o):!!r.compareDocumentPosition&&!!(16&r.compareDocumentPosition(o))}return!1}}var i=n(437);t.exports=r},function(t,e,n){"use strict";function r(){s.registerNullComponentID(this._rootNodeID)}var i,o=n(32),s=n(341),a=n(82),u=n(12),l={injectEmptyComponent:function(t){i=o.createElement(t)}},c=function(t){this._currentElement=null,this._rootNodeID=null,this._renderedComponent=t(i)};u(c.prototype,{construct:function(t){},mountComponent:function(t,e,n){return e.getReactMountReady().enqueue(r,this),this._rootNodeID=t,a.mountComponent(this._renderedComponent,t,e,n)},receiveComponent:function(){},unmountComponent:function(t,e,n){a.unmountComponent(this._renderedComponent),s.deregisterNullComponentID(this._rootNodeID),this._rootNodeID=null,this._renderedComponent=null}}),c.injection=l,t.exports=c},function(t,e,n){"use strict";function r(t){if("function"==typeof t.type)return t.type;var e=t.type,n=h[e];return null==n&&(h[e]=n=l(e)),n}function i(t){return c||u(!1),new c(t.type,t.props)}function o(t){return new p(t)}function s(t){return t instanceof p}var a=n(12),u=n(6),l=null,c=null,h={},p=null,d={injectGenericComponentClass:function(t){c=t},injectTextComponentClass:function(t){p=t},injectComponentClasses:function(t){a(h,t)}},f={getComponentClassForElement:r,createInternalComponent:i,createInstanceForText:o,isTextComponent:s,injection:d};t.exports=f},function(t,e,n){"use strict";function r(){if(!k){k=!0,g.EventEmitter.injectReactEventListener(m),g.EventPluginHub.injectEventPluginOrder(a),g.EventPluginHub.injectInstanceHandle(y),g.EventPluginHub.injectMount(b),g.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:S,EnterLeaveEventPlugin:u,ChangeEventPlugin:o,SelectEventPlugin:_,BeforeInputEventPlugin:i}),g.NativeComponent.injectGenericComponentClass(f),g.NativeComponent.injectTextComponentClass(v),g.Class.injectMixin(h),g.DOMProperty.injectDOMPropertyConfig(c),g.DOMProperty.injectDOMPropertyConfig(M),g.EmptyComponent.injectEmptyComponent("noscript"),g.Updates.injectReconcileTransaction(x),g.Updates.injectBatchingStrategy(d),g.RootIndex.injectCreateReactRootIndex(l.canUseDOM?s.createReactRootIndex:w.createReactRootIndex),g.Component.injectEnvironment(p)}}var i=n(440),o=n(444),s=n(445),a=n(446),u=n(447),l=n(27),c=n(448),h=n(449),p=n(231),d=n(350),f=n(450),v=n(331),m=n(466),g=n(468),y=n(106),b=n(30),x=n(469),_=n(472),w=n(473),S=n(474),M=n(482),k=!1;t.exports={inject:r}},function(t,e,n){"use strict";function r(){return!o&&i.canUseDOM&&(o="textContent"in document.documentElement?"textContent":"innerText"),o}var i=n(27),o=null;t.exports=r},function(t,e,n){"use strict";function r(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&i[t.type]||"textarea"===e)}var i={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};t.exports=r},function(t,e,n){"use strict";function r(){this.reinitializeTransaction()}var i=n(41),o=n(162),s=n(12),a=n(46),u={initialize:a,close:function(){p.isBatchingUpdates=!1}},l={initialize:a,close:i.flushBatchedUpdates.bind(i)},c=[l,u];s(r.prototype,o.Mixin,{getTransactionWrappers:function(){return c}});var h=new r,p={isBatchingUpdates:!1,batchedUpdates:function(t,e,n,r,i,o){var s=p.isBatchingUpdates;p.isBatchingUpdates=!0,s?t(e,n,r,i,o):h.perform(t,null,e,n,r,i,o)}};t.exports=p},function(t,e,n){"use strict";function r(t){try{t.focus()}catch(t){}}t.exports=r},function(t,e,n){"use strict";function r(t,e){return t+e.charAt(0).toUpperCase()+e.substring(1)}var i={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},o=["Webkit","ms","Moz","O"];Object.keys(i).forEach(function(t){o.forEach(function(e){i[r(e,t)]=i[t]})});var s={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}},a={isUnitlessNumber:i,shorthandPropertyExpansions:s};t.exports=a},function(t,e,n){"use strict";function r(t){function e(e,n,r,i,o,s){if(i=i||b,s=s||r,null==n[r]){var a=m[o];return e?new Error("Required "+a+" `"+s+"` was not specified in `"+i+"`."):null}return t(n,r,i,o,s)}var n=e.bind(null,!1);return n.isRequired=e.bind(null,!0),n}function i(t){function e(e,n,r,i,o){var s=e[n];if(p(s)!==t){var a=m[i],u=d(s);return new Error("Invalid "+a+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `"+t+"`.")}return null}return r(e)}function o(t){function e(e,n,r,i,o){var s=e[n];if(!Array.isArray(s)){var a=m[i],u=p(s);return new Error("Invalid "+a+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected an array.")}for(var l=0;l>"}var v=n(32),m=n(164),g=n(46),y=n(244),b="<>",x={array:i("array"),bool:i("boolean"),func:i("function"),number:i("number"),object:i("object"),string:i("string"),any:function(){return r(g.thatReturns(null))}(),arrayOf:o,element:function(){function t(t,e,n,r,i){if(!v.isValidElement(t[e])){var o=m[r];return new Error("Invalid "+o+" `"+i+"` supplied to `"+n+"`, expected a single ReactElement.")}return null}return r(t)}(),instanceOf:s,node:function(){function t(t,e,n,r,i){if(!h(t[e])){var o=m[r];return new Error("Invalid "+o+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")}return null}return r(t)}(),objectOf:u,oneOf:a,oneOfType:l,shape:c};t.exports=x},function(t,e,n){"use strict";function r(t){return(""+t).replace(x,"//")}function i(t,e){this.func=t,this.context=e,this.count=0}function o(t,e,n){var r=t.func,i=t.context;r.call(i,e,t.count++)}function s(t,e,n){if(null==t)return t;var r=i.getPooled(e,n);g(t,o,r),i.release(r)}function a(t,e,n,r){this.result=t,this.keyPrefix=e,this.func=n,this.context=r,this.count=0}function u(t,e,n){var i=t.result,o=t.keyPrefix,s=t.func,a=t.context,u=s.call(a,e,t.count++);Array.isArray(u)?l(u,i,n,m.thatReturnsArgument):null!=u&&(v.isValidElement(u)&&(u=v.cloneAndReplaceKey(u,o+(u!==e?r(u.key||"")+"/":"")+n)),i.push(u))}function l(t,e,n,i,o){var s="";null!=n&&(s=r(n)+"/");var l=a.getPooled(e,s,i,o);g(t,u,l),a.release(l)}function c(t,e,n){if(null==t)return t;var r=[];return l(t,r,null,e,n),r}function h(t,e,n){return null}function p(t,e){return g(t,h,null)}function d(t){var e=[];return l(t,e,null,m.thatReturnsArgument),e}var f=n(67),v=n(32),m=n(46),g=n(245),y=f.twoArgumentPooler,b=f.fourArgumentPooler,x=/\/(?!\/)/g;i.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},f.addPoolingTo(i,y),a.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},f.addPoolingTo(a,b);var _={forEach:s,map:c,mapIntoWithKeyPrefixInternal:l,count:p,toArray:d};t.exports=_},function(t,e,n){"use strict";function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var t=this._currentElement.props,e=s.getValue(t);null!=e&&i(this,Boolean(t.multiple),e)}}function i(t,e,n){var r,i,o=a.getNode(t._rootNodeID).options;if(e){for(r={},i=0;i.")}var s=f[t]||(f[t]={});if(s[i])return null;s[i]=!0;var a={parentOrOwner:i,url:" See https://fb.me/react-warning-keys for more information.",childOwner:null};return e&&e._owner&&e._owner!==h.current&&(a.childOwner=" It was passed a child from "+e._owner.getName()+"."),a}function s(t,e){if("object"==typeof t)if(Array.isArray(t))for(var n=0;n=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?n+=e.charAt(r):o<128?n+=i[o]:o<2048?n+=i[192|o>>6]+i[128|63&o]:o<55296||o>=57344?n+=i[224|o>>12]+i[128|o>>6&63]+i[128|63&o]:(r+=1,o=65536+((1023&o)<<10|1023&e.charCodeAt(r)),n+=i[240|o>>18]+i[128|o>>12&63]+i[128|o>>6&63]+i[128|63&o])}return n},e.compact=function(t,n){if("object"!=typeof t||null===t)return t;var r=n||[],i=r.indexOf(t);if(-1!==i)return r[i];if(r.push(t),Array.isArray(t)){for(var o=[],s=0;s2?n[s-2]:void 0,u=s>2?n[2]:void 0,l=s>1?n[s-1]:void 0;for("function"==typeof a?(a=i(a,l,5),s-=2):(a="function"==typeof l?l:void 0,s-=a?1:0),u&&o(n[0],n[1],u)&&(a=s<3?void 0:a,s=1);++ri?0:i+e),n=void 0===n||n>i?i:+n||0,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r false (equal input)"),!1;if(!x(this.state,e))return g&&g.call(this,"shouldComponentUpdate => true (state has changed)"),!0;var n=d(t,k),r=d(this.props,k);return _(r,n)?(g&&g.call(this,"shouldComponentUpdate => false"),!1):(g&&g.call(this,"shouldComponentUpdate => true (props have changed)"),!0)}function n(t,e){return f(t,e,function(t,e){return t===e||i(t,e,w,o)})}function r(t,e){if(t===e)return!0;var n=i(t,e,y,b);if(void 0!==n)return n;var r=i(t,e,w,o);return void 0!==r?r:f(t,e,function(t,e){if(t===e)return!0;var n=i(t,e,y,b);return void 0!==n?n:i(t,e,w,o)})}function v(t,e){return M(t)===M(e)}function m(t,e){"function"==typeof t&&(e=t,t=void 0);var n=e;!n&&console.debug&&(n=console.debug.bind(console)),!n&&console.info&&(n=console.info.bind(console));var r=new RegExp(t||".*");return g=function(t){var e=this._currentElement;this._reactInternalInstance&&this._reactInternalInstance._currentElement&&(e=this._reactInternalInstance._currentElement);var i=e&&e.key?" key="+e.key:"",o=this.constructor.displayName;i||o||(o="Unknown");var s=o+i;r.test(s)&&n("<"+s+">: "+t)}}var g;t=t||{};var y=t.isCursor||u,b=t.isEqualCursor||v,x=t.isEqualState||n,_=t.isEqualProps||r,w=t.isImmutable||s,S=t.isIgnorable||c,M=t.unCursor||a,k=l(p(S,h));return e.isCursor=y,e.isEqualState=x,e.isEqualProps=_,e.isEqualCursor=b,e.isImmutable=w,e.debug=m,e}function i(t,e,n,r){var i=n(t),o=n(e);return i&&o?r(t,e):!i&&!o&&void 0}function o(t,e){return t===e}function s(t){return!(!t||!t[v])}function a(t){return u(t)?t.deref():t}function u(t){return!(!t||"function"!=typeof t.deref)}function l(t){return function(){return!t.apply(t,arguments)}}function c(t,e){return!1}function h(t,e){return"children"===e}function p(t,e){return function(){return t.apply(null,arguments)||e.apply(null,arguments)}}var d=n(548),f=n(554);t.exports=r(),t.exports.withDefaults=r;var v="@@__IMMUTABLE_ITERABLE__@@"},,,,,,,,,,,,,,,,function(t,e,n){var r=n(609),i=n(371),o=i(r);t.exports=o},function(t,e,n){var r=n(387),i=n(614),o=i(r);t.exports=o},,,,,function(t,e,n){var r=n(43),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";var r=n(416),i=n(417),o=n(150),s=n(117),a=n(152),u=n(154),l=n(935),c=n(327),h=n(943),p=n(35)("iterator"),d=!([].keys&&"next"in[].keys()),f=function(){return this};t.exports=function(t,e,n,v,m,g,y){l(n,e,v);var b,x,_,w=function(t){if(!d&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},S=e+" Iterator",M="values"==m,k=!1,C=t.prototype,E=C[p]||C["@@iterator"]||m&&C[m],O=E||w(m),D=m?M?w("entries"):O:void 0,T="Array"==e?C.entries||E:E;if(T&&(_=h(T.call(new t)))!==Object.prototype&&(c(_,S,!0),r||a(_,p)||s(_,p,f)),M&&E&&"values"!==E.name&&(k=!0,O=function(){return E.call(this)}),r&&!y||!d&&!k&&C[p]||s(C,p,O),u[e]=O,u[S]=f,m)if(b={values:M?O:w("values"),keys:g?O:w("keys"),entries:D},y)for(x in b)x in C||o(C,x,b[x]);else i(i.P+i.F*(d||k),e,b);return b}},function(t,e){t.exports=!1},function(t,e,n){var r=n(43),i=n(153),o=n(117),s=n(150),a=n(189),u=function(t,e,n){var l,c,h,p,d=t&u.F,f=t&u.G,v=t&u.S,m=t&u.P,g=t&u.B,y=f?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,b=f?i:i[e]||(i[e]={}),x=b.prototype||(b.prototype={});f&&(n=e);for(l in n)c=!d&&y&&void 0!==y[l],h=(c?y:n)[l],p=g&&c?a(h,r):m&&"function"==typeof h?a(Function.call,h):h,y&&s(y,l,h,t&u.U),b[l]!=h&&o(b,l,p),m&&x[l]!=h&&(x[l]=h)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){var r=n(322),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){t.exports=n(43).document&&document.documentElement},function(t,e,n){var r,i,o,s=n(189),a=n(956),u=n(420),l=n(321),c=n(43),h=c.process,p=c.setImmediate,d=c.clearImmediate,f=c.MessageChannel,v=0,m={},g=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},y=function(t){g.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++v]=function(){a("function"==typeof t?t:Function(t),e)},r(v),v},d=function(t){delete m[t]},"process"==n(186)(h)?r=function(t){h.nextTick(s(g,t,1))}:f?(i=new f,o=i.port2,i.port1.onmessage=y,r=s(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(t){c.postMessage(t+"","*")},c.addEventListener("message",y,!1)):r="onreadystatechange"in l("script")?function(t){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),g.call(t)}}:function(t){setTimeout(s(g,t,1),0)}),t.exports={set:p,clear:d}},,,,,function(t,e,n){"use strict";var r=n(330),i=n(484),o=n(488),s=n(12),a=n(492),u={};s(u,o),s(u,{findDOMNode:a("findDOMNode","ReactDOM","react-dom",r,r.findDOMNode),render:a("render","ReactDOM","react-dom",r,r.render),unmountComponentAtNode:a("unmountComponentAtNode","ReactDOM","react-dom",r,r.unmountComponentAtNode),renderToString:a("renderToString","ReactDOMServer","react-dom/server",i,i.renderToString),renderToStaticMarkup:a("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,t.exports=u},function(t,e,n){"use strict";function r(t){return t.substring(1,t.indexOf(" "))}var i=n(27),o=n(428),s=n(46),a=n(333),u=n(6),l=/^(<[^ \/>]+)/,c={dangerouslyRenderMarkup:function(t){i.canUseDOM||u(!1);for(var e,n={},c=0;c8&&w<=11),k=32,C=String.fromCharCode(k),E=p.topLevelTypes,O={beforeInput:{phasedRegistrationNames:{bubbled:y({onBeforeInput:null}),captured:y({onBeforeInputCapture:null})},dependencies:[E.topCompositionEnd,E.topKeyPress,E.topTextInput,E.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:y({onCompositionEnd:null}),captured:y({onCompositionEndCapture:null})},dependencies:[E.topBlur,E.topCompositionEnd,E.topKeyDown,E.topKeyPress,E.topKeyUp,E.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:y({onCompositionStart:null}),captured:y({onCompositionStartCapture:null})},dependencies:[E.topBlur,E.topCompositionStart,E.topKeyDown,E.topKeyPress,E.topKeyUp,E.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:y({onCompositionUpdate:null}),captured:y({onCompositionUpdateCapture:null})},dependencies:[E.topBlur,E.topCompositionUpdate,E.topKeyDown,E.topKeyPress,E.topKeyUp,E.topMouseDown]}},D=!1,T=null,P={eventTypes:O,extractEvents:function(t,e,n,r,i){return[u(t,e,n,r,i),h(t,e,n,r,i)]}};t.exports=P},function(t,e,n){"use strict";function r(t){this._root=t,this._startText=this.getText(),this._fallbackText=null}var i=n(67),o=n(12),s=n(348);o(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[s()]},getData:function(){if(this._fallbackText)return this._fallbackText;var t,e,n=this._startText,r=n.length,i=this.getText(),o=i.length;for(t=0;t1?1-e:void 0;return this._fallbackText=i.slice(t,a),this._fallbackText}}),i.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){i.call(this,t,e,n,r)}var i=n(83),o={data:null};i.augmentClass(r,o),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){i.call(this,t,e,n,r)}var i=n(83),o={data:null};i.augmentClass(r,o),t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.nodeName&&t.nodeName.toLowerCase();return"select"===e||"input"===e&&"file"===t.type}function i(t){var e=S.getPooled(D.change,P,t,M(t));x.accumulateTwoPhaseDispatches(e),w.batchedUpdates(o,e)}function o(t){b.enqueueEvents(t),b.processEventQueue(!1)}function s(t,e){T=t,P=e,T.attachEvent("onchange",i)}function a(){T&&(T.detachEvent("onchange",i),T=null,P=null)}function u(t,e,n){if(t===O.topChange)return n}function l(t,e,n){t===O.topFocus?(a(),s(e,n)):t===O.topBlur&&a()}function c(t,e){T=t,P=e,A=t.value,I=Object.getOwnPropertyDescriptor(t.constructor.prototype,"value"),Object.defineProperty(T,"value",L),T.attachEvent("onpropertychange",p)}function h(){T&&(delete T.value,T.detachEvent("onpropertychange",p),T=null,P=null,A=null,I=null)}function p(t){if("value"===t.propertyName){var e=t.srcElement.value;e!==A&&(A=e,i(t))}}function d(t,e,n){if(t===O.topInput)return n}function f(t,e,n){t===O.topFocus?(h(),c(e,n)):t===O.topBlur&&h()}function v(t,e,n){if((t===O.topSelectionChange||t===O.topKeyUp||t===O.topKeyDown)&&T&&T.value!==A)return A=T.value,P}function m(t){return t.nodeName&&"input"===t.nodeName.toLowerCase()&&("checkbox"===t.type||"radio"===t.type)}function g(t,e,n){if(t===O.topClick)return n}var y=n(55),b=n(120),x=n(123),_=n(27),w=n(41),S=n(83),M=n(240),k=n(233),C=n(349),E=n(68),O=y.topLevelTypes,D={change:{phasedRegistrationNames:{bubbled:E({onChange:null}),captured:E({onChangeCapture:null})},dependencies:[O.topBlur,O.topChange,O.topClick,O.topFocus,O.topInput,O.topKeyDown,O.topKeyUp,O.topSelectionChange]}},T=null,P=null,A=null,I=null,R=!1;_.canUseDOM&&(R=k("change")&&(!("documentMode"in document)||document.documentMode>8));var N=!1;_.canUseDOM&&(N=k("input")&&(!("documentMode"in document)||document.documentMode>9));var L={get:function(){return I.get.call(this)},set:function(t){A=""+t,I.set.call(this,t)}},j={eventTypes:D,extractEvents:function(t,e,n,i,o){var s,a;if(r(e)?R?s=u:a=l:C(e)?N?s=d:(s=v,a=f):m(e)&&(s=g),s){var c=s(t,e,n);if(c){var h=S.getPooled(D.change,c,i,o);return h.type="change",x.accumulateTwoPhaseDispatches(h),h}}a&&a(t,e,n)}};t.exports=j},function(t,e,n){"use strict";var r=0,i={createReactRootIndex:function(){return r++}};t.exports=i},function(t,e,n){"use strict";var r=n(68),i=[r({ResponderEventPlugin:null}),r({SimpleEventPlugin:null}),r({TapEventPlugin:null}),r({EnterLeaveEventPlugin:null}),r({ChangeEventPlugin:null}),r({SelectEventPlugin:null}),r({BeforeInputEventPlugin:null})];t.exports=i},function(t,e,n){"use strict";var r=n(55),i=n(123),o=n(165),s=n(30),a=n(68),u=r.topLevelTypes,l=s.getFirstReactDOM,c={mouseEnter:{registrationName:a({onMouseEnter:null}),dependencies:[u.topMouseOut,u.topMouseOver]},mouseLeave:{registrationName:a({onMouseLeave:null}),dependencies:[u.topMouseOut,u.topMouseOver]}},h=[null,null],p={eventTypes:c,extractEvents:function(t,e,n,r,a){if(t===u.topMouseOver&&(r.relatedTarget||r.fromElement))return null;if(t!==u.topMouseOut&&t!==u.topMouseOver)return null;var p;if(e.window===e)p=e;else{var d=e.ownerDocument;p=d?d.defaultView||d.parentWindow:window}var f,v,m="",g="";if(t===u.topMouseOut?(f=e,m=n,v=l(r.relatedTarget||r.toElement),v?g=s.getID(v):v=p,v=v||p):(f=p,v=e,g=n),f===v)return null;var y=o.getPooled(c.mouseLeave,m,r,a);y.type="mouseleave",y.target=f,y.relatedTarget=v;var b=o.getPooled(c.mouseEnter,g,r,a);return b.type="mouseenter",b.target=v,b.relatedTarget=f,i.accumulateEnterLeaveDispatches(y,b,m,g),h[0]=y,h[1]=b,h}};t.exports=p},function(t,e,n){"use strict";var r,i=n(105),o=n(27),s=i.injection.MUST_USE_ATTRIBUTE,a=i.injection.MUST_USE_PROPERTY,u=i.injection.HAS_BOOLEAN_VALUE,l=i.injection.HAS_SIDE_EFFECTS,c=i.injection.HAS_NUMERIC_VALUE,h=i.injection.HAS_POSITIVE_NUMERIC_VALUE,p=i.injection.HAS_OVERLOADED_BOOLEAN_VALUE;if(o.canUseDOM){var d=document.implementation;r=d&&d.hasFeature&&d.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}var f={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),Properties:{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:s|u,allowTransparency:s,alt:null,async:u,autoComplete:null,autoPlay:u,capture:s|u,cellPadding:null,cellSpacing:null,charSet:s,challenge:s,checked:a|u,classID:s,className:r?s:a,cols:s|h,colSpan:null,content:null,contentEditable:null,contextMenu:s,controls:a|u,coords:null,crossOrigin:null,data:null,dateTime:s,default:u,defer:u,dir:null,disabled:s|u,download:p,draggable:null,encType:null,form:s,formAction:s,formEncType:s,formMethod:s,formNoValidate:u,formTarget:s,frameBorder:s,headers:null,height:s,hidden:s|u,high:null,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:a,inputMode:s,integrity:null,is:s,keyParams:s,keyType:s,kind:null,label:null,lang:null,list:s,loop:a|u,low:null,manifest:s,marginHeight:null,marginWidth:null,max:null,maxLength:s,media:s,mediaGroup:null,method:null,min:null,minLength:s,multiple:a|u,muted:a|u,name:null,nonce:s,noValidate:u,open:u,optimum:null,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:a|u,rel:null,required:u,reversed:u,role:s,rows:s|h,rowSpan:null,sandbox:null,scope:null,scoped:u,scrolling:null,seamless:s|u,selected:a|u,shape:null,size:s|h,sizes:s,span:h,spellCheck:null,src:null,srcDoc:a,srcLang:null,srcSet:s,start:c,step:null,style:null,summary:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:a|l,width:s,wmode:s,wrap:null,about:s,datatype:s,inlist:s,prefix:s,property:s,resource:s,typeof:s,vocab:s,autoCapitalize:s,autoCorrect:s,autoSave:null,color:null,itemProp:s,itemScope:s|u,itemType:s,itemID:s,itemRef:s,results:null,security:s,unselectable:s},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"}};t.exports=f},function(t,e,n){"use strict";var r=(n(121),n(242)),i=(n(11),{getDOMNode:function(){return this.constructor._getDOMNodeDidWarn=!0,r(this)}});t.exports=i},function(t,e,n){"use strict";function r(){return this}function i(){var t=this._reactInternalComponent;return!!t}function o(){}function s(t,e){var n=this._reactInternalComponent;n&&(A.enqueueSetPropsInternal(n,t),e&&A.enqueueCallbackInternal(n,e))}function a(t,e){var n=this._reactInternalComponent;n&&(A.enqueueReplacePropsInternal(n,t),e&&A.enqueueCallbackInternal(n,e))}function u(t,e){e&&(null!=e.dangerouslySetInnerHTML&&(null!=e.children&&L(!1),"object"==typeof e.dangerouslySetInnerHTML&&G in e.dangerouslySetInnerHTML||L(!1)),null!=e.style&&"object"!=typeof e.style&&L(!1))}function l(t,e,n,r){var i=D.findReactContainerForID(t);if(i){var o=i.nodeType===q?i.ownerDocument:i;F(e,o)}r.getReactMountReady().enqueue(c,{id:t,registrationName:e,listener:n})}function c(){var t=this;w.putListener(t.id,t.registrationName,t.listener)}function h(){var t=this;t._rootNodeID||L(!1);var e=D.getNode(t._rootNodeID);switch(e||L(!1),t._tag){case"iframe":t._wrapperState.listeners=[w.trapBubbledEvent(_.topLevelTypes.topLoad,"load",e)];break;case"video":case"audio":t._wrapperState.listeners=[];for(var n in X)X.hasOwnProperty(n)&&t._wrapperState.listeners.push(w.trapBubbledEvent(_.topLevelTypes[n],X[n],e));break;case"img":t._wrapperState.listeners=[w.trapBubbledEvent(_.topLevelTypes.topError,"error",e),w.trapBubbledEvent(_.topLevelTypes.topLoad,"load",e)];break;case"form":t._wrapperState.listeners=[w.trapBubbledEvent(_.topLevelTypes.topReset,"reset",e),w.trapBubbledEvent(_.topLevelTypes.topSubmit,"submit",e)]}}function p(){k.mountReadyWrapper(this)}function d(){E.postUpdateWrapper(this)}function f(t){Q.call(J,t)||($.test(t)||L(!1),J[t]=!0)}function v(t,e){return t.indexOf("-")>=0||null!=e.is}function m(t){f(t),this._tag=t.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(451),y=n(452),b=n(105),x=n(230),_=n(55),w=n(160),S=n(231),M=n(459),k=n(460),C=n(461),E=n(355),O=n(462),D=n(30),T=n(463),P=n(40),A=n(234),I=n(12),R=n(161),N=n(159),L=n(6),j=(n(233),n(68)),z=n(158),U=n(229),B=(n(356),n(239),n(11),w.deleteListener),F=w.listenTo,W=w.registrationNameModules,Y={string:!0,number:!0},H=j({children:null}),V=j({style:null}),G=j({__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},Z={listing:!0,pre:!0,textarea:!0},$=(I({menuitem:!0},K),/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/),J={},Q={}.hasOwnProperty;m.displayName="ReactDOMComponent",m.Mixin={construct:function(t){this._currentElement=t},mountComponent:function(t,e,n){this._rootNodeID=t;var r=this._currentElement.props;switch(this._tag){case"iframe":case"img":case"form":case"video":case"audio":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(h,this);break;case"button":r=M.getNativeProps(this,r,n);break;case"input":k.mountWrapper(this,r,n),r=k.getNativeProps(this,r,n);break;case"option":C.mountWrapper(this,r,n),r=C.getNativeProps(this,r,n);break;case"select":E.mountWrapper(this,r,n),r=E.getNativeProps(this,r,n),n=E.processChildContext(this,r,n);break;case"textarea":O.mountWrapper(this,r,n),r=O.getNativeProps(this,r,n)}u(this,r);var i;if(e.useCreateElement){var o=n[D.ownerDocumentContextKey],s=o.createElement(this._currentElement.type);x.setAttributeForID(s,this._rootNodeID),D.getID(s),this._updateDOMProperties({},r,e,s),this._createInitialChildren(e,r,n,s),i=s}else{var a=this._createOpenTagMarkupAndPutListeners(e,r),l=this._createContentMarkup(e,r,n);i=!l&&K[this._tag]?a+"/>":a+">"+l+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(p,this);case"button":case"select":case"textarea":r.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this)}return i},_createOpenTagMarkupAndPutListeners:function(t,e){var n="<"+this._currentElement.type;for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];if(null!=i)if(W.hasOwnProperty(r))i&&l(this._rootNodeID,r,i,t);else{r===V&&(i&&(i=this._previousStyleCopy=I({},e.style)),i=y.createMarkupForStyles(i));var o=null;null!=this._tag&&v(this._tag,e)?r!==H&&(o=x.createMarkupForCustomAttribute(r,i)):o=x.createMarkupForProperty(r,i),o&&(n+=" "+o)}}return t.renderToStaticMarkup?n:n+" "+x.createMarkupForID(this._rootNodeID)},_createContentMarkup:function(t,e,n){var r="",i=e.dangerouslySetInnerHTML;if(null!=i)null!=i.__html&&(r=i.__html);else{var o=Y[typeof e.children]?e.children:null,s=null!=o?null:e.children;if(null!=o)r=N(o);else if(null!=s){var a=this.mountChildren(s,t,n);r=a.join("")}}return Z[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(t,e,n,r){var i=e.dangerouslySetInnerHTML;if(null!=i)null!=i.__html&&z(r,i.__html);else{var o=Y[typeof e.children]?e.children:null,s=null!=o?null:e.children;if(null!=o)U(r,o);else if(null!=s)for(var a=this.mountChildren(s,t,n),u=0;ue.end?(n=e.end,r=e.start):(n=e.start,r=e.end),i.moveToElementText(t),i.moveStart("character",n),i.setEndPoint("EndToStart",i),i.moveEnd("character",r-n),i.select()}function a(t,e){if(window.getSelection){var n=window.getSelection(),r=t[c()].length,i=Math.min(e.start,r),o=void 0===e.end?i:Math.min(e.end,r);if(!n.extend&&i>o){var s=o;o=i,i=s}var a=l(t,i),u=l(t,o);if(a&&u){var h=document.createRange();h.setStart(a.node,a.offset),n.removeAllRanges(),i>o?(n.addRange(h),n.extend(u.node,u.offset)):(h.setEnd(u.node,u.offset),n.addRange(h))}}}var u=n(27),l=n(471),c=n(348),h=u.canUseDOM&&"selection"in document&&!("getSelection"in window),p={getOffsets:h?i:o,setOffsets:h?s:a};t.exports=p},function(t,e,n){"use strict";function r(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function i(t){for(;t;){if(t.nextSibling)return t.nextSibling;t=t.parentNode}}function o(t,e){for(var n=r(t),o=0,s=0;n;){if(3===n.nodeType){if(s=o+n.textContent.length,o<=e&&s>=e)return{node:n,offset:e-o};o=s}n=r(i(n))}}t.exports=o},function(t,e,n){"use strict";function r(t){if("selectionStart"in t&&u.hasSelectionCapabilities(t))return{start:t.selectionStart,end:t.selectionEnd};if(window.getSelection){var e=window.getSelection();return{anchorNode:e.anchorNode,anchorOffset:e.anchorOffset,focusNode:e.focusNode,focusOffset:e.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function i(t,e){if(x||null==g||g!==c())return null;var n=r(g);if(!b||!d(b,n)){b=n;var i=l.getPooled(m.select,y,t,e);return i.type="select",i.target=g,s.accumulateTwoPhaseDispatches(i),i}return null}var o=n(55),s=n(123),a=n(27),u=n(361),l=n(83),c=n(362),h=n(349),p=n(68),d=n(356),f=o.topLevelTypes,v=a.canUseDOM&&"documentMode"in document&&document.documentMode<=11,m={select:{phasedRegistrationNames:{bubbled:p({onSelect:null}),captured:p({onSelectCapture:null})},dependencies:[f.topBlur,f.topContextMenu,f.topFocus,f.topKeyDown,f.topMouseDown,f.topMouseUp,f.topSelectionChange]}},g=null,y=null,b=null,x=!1,_=!1,w=p({onSelect:null}),S={eventTypes:m,extractEvents:function(t,e,n,r,o){if(!_)return null;switch(t){case f.topFocus:(h(e)||"true"===e.contentEditable)&&(g=e,y=n,b=null);break;case f.topBlur:g=null,y=null,b=null;break;case f.topMouseDown:x=!0;break;case f.topContextMenu:case f.topMouseUp:return x=!1,i(r,o);case f.topSelectionChange:if(v)break;case f.topKeyDown:case f.topKeyUp:return i(r,o)}return null},didPutListener:function(t,e,n){e===w&&(_=!0)}};t.exports=S},function(t,e,n){"use strict";var r=Math.pow(2,53),i={createReactRootIndex:function(){return Math.ceil(Math.random()*r)}};t.exports=i},function(t,e,n){"use strict";var r=n(55),i=n(357),o=n(123),s=n(30),a=n(475),u=n(83),l=n(476),c=n(477),h=n(165),p=n(479),d=n(480),f=n(124),v=n(481),m=n(46),g=n(246),y=n(6),b=n(68),x=r.topLevelTypes,_={abort:{phasedRegistrationNames:{bubbled:b({onAbort:!0}),captured:b({onAbortCapture:!0})}},blur:{phasedRegistrationNames:{bubbled:b({onBlur:!0}),captured:b({onBlurCapture:!0})}},canPlay:{phasedRegistrationNames:{bubbled:b({onCanPlay:!0}),captured:b({onCanPlayCapture:!0})}},canPlayThrough:{phasedRegistrationNames:{bubbled:b({onCanPlayThrough:!0}),captured:b({onCanPlayThroughCapture:!0})}},click:{phasedRegistrationNames:{bubbled:b({onClick:!0}),captured:b({onClickCapture:!0})}},contextMenu:{phasedRegistrationNames:{bubbled:b({onContextMenu:!0}),captured:b({onContextMenuCapture:!0})}},copy:{phasedRegistrationNames:{bubbled:b({onCopy:!0}),captured:b({onCopyCapture:!0})}},cut:{phasedRegistrationNames:{bubbled:b({onCut:!0}),captured:b({onCutCapture:!0})}},doubleClick:{phasedRegistrationNames:{bubbled:b({onDoubleClick:!0}),captured:b({onDoubleClickCapture:!0})}},drag:{phasedRegistrationNames:{bubbled:b({onDrag:!0}),captured:b({onDragCapture:!0})}},dragEnd:{phasedRegistrationNames:{bubbled:b({onDragEnd:!0}),captured:b({onDragEndCapture:!0})}},dragEnter:{phasedRegistrationNames:{bubbled:b({onDragEnter:!0}),captured:b({onDragEnterCapture:!0})}},dragExit:{phasedRegistrationNames:{bubbled:b({onDragExit:!0}),captured:b({onDragExitCapture:!0})}},dragLeave:{phasedRegistrationNames:{bubbled:b({onDragLeave:!0}),captured:b({onDragLeaveCapture:!0})}},dragOver:{phasedRegistrationNames:{bubbled:b({onDragOver:!0}),captured:b({onDragOverCapture:!0})}},dragStart:{phasedRegistrationNames:{bubbled:b({onDragStart:!0}),captured:b({onDragStartCapture:!0})}},drop:{phasedRegistrationNames:{bubbled:b({onDrop:!0}),captured:b({onDropCapture:!0})}},durationChange:{phasedRegistrationNames:{bubbled:b({onDurationChange:!0}),captured:b({onDurationChangeCapture:!0})}},emptied:{phasedRegistrationNames:{bubbled:b({onEmptied:!0}),captured:b({onEmptiedCapture:!0})}},encrypted:{phasedRegistrationNames:{bubbled:b({onEncrypted:!0}),captured:b({onEncryptedCapture:!0})}},ended:{phasedRegistrationNames:{bubbled:b({onEnded:!0}),captured:b({onEndedCapture:!0})}},error:{phasedRegistrationNames:{bubbled:b({onError:!0}),captured:b({onErrorCapture:!0})}},focus:{phasedRegistrationNames:{bubbled:b({onFocus:!0}),captured:b({onFocusCapture:!0})}},input:{phasedRegistrationNames:{bubbled:b({onInput:!0}),captured:b({onInputCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:b({onKeyDown:!0}),captured:b({onKeyDownCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbled:b({onKeyPress:!0}),captured:b({onKeyPressCapture:!0})}},keyUp:{phasedRegistrationNames:{bubbled:b({onKeyUp:!0}),captured:b({onKeyUpCapture:!0})}},load:{phasedRegistrationNames:{bubbled:b({onLoad:!0}),captured:b({onLoadCapture:!0})}},loadedData:{phasedRegistrationNames:{bubbled:b({onLoadedData:!0}),captured:b({onLoadedDataCapture:!0})}},loadedMetadata:{phasedRegistrationNames:{bubbled:b({onLoadedMetadata:!0}),captured:b({onLoadedMetadataCapture:!0})}},loadStart:{phasedRegistrationNames:{bubbled:b({onLoadStart:!0}),captured:b({onLoadStartCapture:!0})}},mouseDown:{phasedRegistrationNames:{bubbled:b({onMouseDown:!0}),captured:b({onMouseDownCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:b({onMouseMove:!0}),captured:b({onMouseMoveCapture:!0})}},mouseOut:{phasedRegistrationNames:{bubbled:b({onMouseOut:!0}),captured:b({onMouseOutCapture:!0})}},mouseOver:{phasedRegistrationNames:{bubbled:b({onMouseOver:!0}),captured:b({onMouseOverCapture:!0})}},mouseUp:{phasedRegistrationNames:{bubbled:b({onMouseUp:!0}),captured:b({onMouseUpCapture:!0})}},paste:{phasedRegistrationNames:{bubbled:b({onPaste:!0}),captured:b({onPasteCapture:!0})}},pause:{phasedRegistrationNames:{bubbled:b({onPause:!0}),captured:b({onPauseCapture:!0})}},play:{phasedRegistrationNames:{bubbled:b({onPlay:!0}),captured:b({onPlayCapture:!0})}},playing:{phasedRegistrationNames:{bubbled:b({onPlaying:!0}),captured:b({onPlayingCapture:!0})}},progress:{phasedRegistrationNames:{bubbled:b({onProgress:!0}),captured:b({onProgressCapture:!0})}},rateChange:{phasedRegistrationNames:{bubbled:b({onRateChange:!0}),captured:b({onRateChangeCapture:!0})}},reset:{phasedRegistrationNames:{bubbled:b({onReset:!0}),captured:b({onResetCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:b({onScroll:!0}),captured:b({onScrollCapture:!0})}},seeked:{phasedRegistrationNames:{bubbled:b({onSeeked:!0}),captured:b({onSeekedCapture:!0})}},seeking:{phasedRegistrationNames:{bubbled:b({onSeeking:!0}),captured:b({onSeekingCapture:!0})}},stalled:{phasedRegistrationNames:{bubbled:b({onStalled:!0}),captured:b({onStalledCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:b({onSubmit:!0}),captured:b({onSubmitCapture:!0})}},suspend:{phasedRegistrationNames:{bubbled:b({onSuspend:!0}),captured:b({onSuspendCapture:!0})}},timeUpdate:{phasedRegistrationNames:{bubbled:b({onTimeUpdate:!0}),captured:b({onTimeUpdateCapture:!0})}},touchCancel:{phasedRegistrationNames:{bubbled:b({onTouchCancel:!0}),captured:b({onTouchCancelCapture:!0})}},touchEnd:{phasedRegistrationNames:{bubbled:b({onTouchEnd:!0}),captured:b({onTouchEndCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled:b({onTouchMove:!0}),captured:b({onTouchMoveCapture:!0})}},touchStart:{phasedRegistrationNames:{bubbled:b({onTouchStart:!0}),captured:b({onTouchStartCapture:!0})}},volumeChange:{phasedRegistrationNames:{bubbled:b({onVolumeChange:!0}),captured:b({onVolumeChangeCapture:!0})}},waiting:{phasedRegistrationNames:{bubbled:b({onWaiting:!0}),captured:b({onWaitingCapture:!0})}},wheel:{phasedRegistrationNames:{bubbled:b({onWheel:!0}),captured:b({onWheelCapture:!0})}}},w={topAbort:_.abort,topBlur:_.blur,topCanPlay:_.canPlay,topCanPlayThrough:_.canPlayThrough,topClick:_.click,topContextMenu:_.contextMenu,topCopy:_.copy,topCut:_.cut,topDoubleClick:_.doubleClick,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,topLoad:_.load,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,topReset:_.reset,topScroll:_.scroll,topSeeked:_.seeked,topSeeking:_.seeking,topStalled:_.stalled,topSubmit:_.submit,topSuspend:_.suspend,topTimeUpdate:_.timeUpdate,topTouchCancel:_.touchCancel,topTouchEnd:_.touchEnd,topTouchMove:_.touchMove,topTouchStart:_.touchStart,topVolumeChange:_.volumeChange,topWaiting:_.waiting,topWheel:_.wheel};for(var S in w)w[S].dependencies=[S];var M=b({onClick:null}),k={},C={eventTypes:_,extractEvents:function(t,e,n,r,i){var s=w[t];if(!s)return null;var m;switch(t){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:m=u;break;case x.topKeyPress:if(0===g(r))return null;case x.topKeyDown:case x.topKeyUp:m=c;break;case x.topBlur:case x.topFocus:m=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:m=h;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:m=p;break;case x.topTouchCancel:case x.topTouchEnd:case x.topTouchMove:case x.topTouchStart:m=d;break;case x.topScroll:m=f;break;case x.topWheel:m=v;break;case x.topCopy:case x.topCut:case x.topPaste:m=a}m||y(!1);var b=m.getPooled(s,n,r,i);return o.accumulateTwoPhaseDispatches(b),b},didPutListener:function(t,e,n){if(e===M){var r=s.getNode(t);k[t]||(k[t]=i.listen(r,"click",m))}},willDeleteListener:function(t,e){e===M&&(k[t].remove(),delete k[t])}};t.exports=C},function(t,e,n){"use strict";function r(t,e,n,r){i.call(this,t,e,n,r)}var i=n(83),o={clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}};i.augmentClass(r,o),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){i.call(this,t,e,n,r)}var i=n(124),o={relatedTarget:null};i.augmentClass(r,o),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){i.call(this,t,e,n,r)}var i=n(124),o=n(246),s=n(478),a=n(241),u={key:s,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:a,charCode:function(t){return"keypress"===t.type?o(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?o(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}};i.augmentClass(r,u),t.exports=r},function(t,e,n){"use strict";function r(t){if(t.key){var e=o[t.key]||t.key;if("Unidentified"!==e)return e}if("keypress"===t.type){var n=i(t);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===t.type||"keyup"===t.type?s[t.keyCode]||"Unidentified":""}var i=n(246),o={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},s={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"};t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){i.call(this,t,e,n,r)}var i=n(165),o={dataTransfer:null};i.augmentClass(r,o),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){i.call(this,t,e,n,r)}var i=n(124),o=n(241),s={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:o};i.augmentClass(r,s),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){i.call(this,t,e,n,r)}var i=n(165),o={deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:null,deltaMode:null};i.augmentClass(r,o),t.exports=r},function(t,e,n){"use strict";var r=n(105),i=r.injection.MUST_USE_ATTRIBUTE,o={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},s={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:o.xlink,xlinkArcrole:o.xlink,xlinkHref:o.xlink,xlinkRole:o.xlink,xlinkShow:o.xlink,xlinkTitle:o.xlink,xlinkType:o.xlink,xmlBase:o.xml,xmlLang:o.xml,xmlSpace:o.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"}};t.exports=s},function(t,e,n){"use strict";var r=n(30);t.exports=r.renderSubtreeIntoContainer},function(t,e,n){"use strict";var r=n(347),i=n(485),o=n(247);r.inject();var s={renderToString:i.renderToString,renderToStaticMarkup:i.renderToStaticMarkup,version:o};t.exports=s},function(t,e,n){"use strict";function r(t){s.isValidElement(t)||f(!1);var e;try{h.injection.injectBatchingStrategy(l);var n=a.createReactRootID();return e=c.getPooled(!1),e.perform(function(){var r=d(t,null),i=r.mountComponent(n,e,p);return u.addChecksumToMarkup(i)},null)}finally{c.release(e),h.injection.injectBatchingStrategy(o)}}function i(t){s.isValidElement(t)||f(!1);var e;try{h.injection.injectBatchingStrategy(l);var n=a.createReactRootID();return e=c.getPooled(!0),e.perform(function(){return d(t,null).mountComponent(n,e,p)},null)}finally{c.release(e),h.injection.injectBatchingStrategy(o)}}var o=n(350),s=n(32),a=n(106),u=n(343),l=n(486),c=n(487),h=n(41),p=n(122),d=n(236),f=n(6);t.exports={renderToString:r,renderToStaticMarkup:i}},function(t,e,n){"use strict";var r={isBatchingUpdates:!1,batchedUpdates:function(t){}};t.exports=r},function(t,e,n){"use strict";function r(t){this.reinitializeTransaction(),this.renderToStaticMarkup=t,this.reactMountReady=o.getPooled(null),this.useCreateElement=!1}var i=n(67),o=n(235),s=n(162),a=n(12),u=n(46),l={initialize:function(){this.reactMountReady.reset()},close:u},c=[l],h={getTransactionWrappers:function(){return c},getReactMountReady:function(){return this.reactMountReady},destructor:function(){o.release(this.reactMountReady),this.reactMountReady=null}};a(r.prototype,s.Mixin,h),i.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";var r=n(354),i=n(359),o=n(358),s=n(489),a=n(32),u=(n(363),n(353)),l=n(247),c=n(12),h=n(491),p=a.createElement,d=a.createFactory,f=a.cloneElement,v={Children:{map:r.map,forEach:r.forEach,count:r.count,toArray:r.toArray,only:h},Component:i,createElement:p,cloneElement:f,isValidElement:a.isValidElement,PropTypes:u,createClass:o.createClass,createFactory:d,createMixin:function(t){return t},DOM:s,version:l,__spread:c};t.exports=v},function(t,e,n){"use strict";function r(t){return i.createFactory(t)}var i=n(32),o=(n(363),n(490)),s=o({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);t.exports=s},function(t,e,n){"use strict";function r(t,e,n){if(!t)return null;var r={};for(var o in t)i.call(t,o)&&(r[o]=e.call(n,t[o],o,t));return r}var i=Object.prototype.hasOwnProperty;t.exports=r},function(t,e,n){"use strict";function r(t){return i.isValidElement(t)||o(!1),t}var i=n(32),o=n(6);t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r,i){return i}n(12),n(11);t.exports=r},function(t,e,n){"use strict";function r(t){var e=this;if(t=t||{},!(this instanceof r))return new r(t);this.key=t.key||w.generateRandomKey(),this._queuedChange=!1,this.current=t.data,m(this.current)&&this.current||(this.current=b.fromJS(this.current||{})),t.history&&(this.history=b.List.of(this.current),this._currentRevision=0,this._historyLimit="number"==typeof t.historyLimit?t.historyLimit:1/0),this._referencelisteners=b.Map(),this.on("swap",function(t,n,r){r=r||[];var o=[t,n,r];i(e._referencelisteners,t,n,r,o)}),_.call(this,arguments)}function i(t,e,n,r,o){if(t&&e!==n){if(t.get(S,[]).forEach(function(t){t.apply(null,o)}),r.length>0){var s=r[0],a=e&&e.get?e.get(s):void 0,u=n&&n.get?n.get(s):void 0;return i(t.get(s),a,u,r.slice(1),o)}t.forEach(function(t,r){if(r!==S){i(t,e&&e.get?e.get(r):void 0,n&&n.get?n.get(r):void 0,[],o)}})}}function o(t,e,n){return t.updateIn(e.concat(S),b.OrderedSet(),function(t){return t.add(n)})}function s(t,e,n){return t.updateIn(e.concat(S),b.OrderedSet(),function(t){return t.remove(n)})}function a(t,e){return function(n,r,i){var o=e.apply(e,arguments);return t.history&&n!==r?(t.history=t.history.take(++t._currentRevision).push(t.current),t.history.size>t._historyLimit&&(t.history=t.history.takeLast(t._historyLimit),t._currentRevision-=t.history.size-t._historyLimit),o):o}}function u(t,e,n,r){t._queuedChange||(t._queuedChange=!0,M(function(){t._queuedChange=!1,t.emit("next-animation-frame",e,n,r)}))}function l(t,e){return function(n,r,i){var o=t.current,s=e.apply(e,arguments);return n===o?s:(t.emit("swap",s,o,i),u(t,s,o,i),s)}}function c(t,e){return function(n,r,i){var o=t.current,s=e.apply(e,arguments);if(n===o)return s;var a=h(n,o,i);return a.eventName&&(t.emit.apply(t,[a.eventName].concat(a.args)),t.emit("any",a.newObject,a.oldObject,i)),s}}function h(t,e,n){var r,i,o=e&&e.getIn(n),s=t&&t.getIn(n),a=e&&p(e,n),u=t&&p(t,n);return a&&!u?(i="delete",r=[o,n]):a&&u?(i="change",r=[s,o,n]):!a&&u&&(i="add",r=[s,n]),{eventName:i,args:r,newObject:s,oldObject:o}}function p(t,e){return t.hasIn?t.hasIn(e):t.getIn(e,k)!==k}function d(t,e){return function(n,r,i){var o=h(n,r,i);if(o.eventName===t||"any"===t)return"any"===t?e.call(e,o.newObject,o.oldObject,i):e.apply(e,o.args)}}function f(t,e){return function(n,r,i){return e.call(this,n.getIn(t),r.getIn(t),i.slice(t.length))}}function v(t){return t&&"function"==typeof t.deref}function m(t){return C.some(function(e){return g(e.name,e.method,t)})}function g(t,e,n){return b[t]&&b[t][e]&&b[t][e](n)}function y(t){return void 0===t?t:Array.isArray(t)?t:g("Iterable","isIterable",t)?t.toArray():[t]}var b=n(2),x=n(494),_=n(495),w=n(496),S={};!function(t,e){var n={};Object.getOwnPropertyNames(t.prototype).forEach(function(e){n[e]=Object.getOwnPropertyDescriptor(t.prototype,e)}),t.prototype=Object.create(e.prototype,n),t.super=e}(r,_),t.exports=r,r.prototype.cursor=function(t){var e=this;if(t=y(t)||[],!this.current)throw new Error("No structure loaded.");var n=function(t,n,r){return e.current===n?e.current=t:p(t,r)?e.current=e.current.setIn(r,t.getIn(r)):e.current=e.current.removeIn(r),e.current};return n=a(this,n),n=l(this,n),n=c(this,n),x.from(e.current,t,n)},r.prototype.reference=function(t){function e(){a=i.cursor(t)}function n(t,e){i._referencelisteners=o(i._referencelisteners,t,e)}function r(t,e){i._referencelisteners=s(i._referencelisteners,t,e)}v(t)&&t._keyPath&&(t=t._keyPath),t=y(t)||[];var i=this,a=this.cursor(t),u=b.Set();return n(t,e),{observe:function(e,i){if("function"==typeof e&&(i=e,e=void 0),!this._dead&&"function"==typeof i)return i=e&&"swap"!==e?d(e,i):f(t,i),n(t,i),u=u.add(i),function(){r(t,i)}},cursor:function(t){if(!this._dead)return t=y(t),t?a.cursor(t):a},reference:function(t){return t=y(t),i.reference((a._keyPath||[]).concat(t))},unobserveAll:function(n){this._dead||(u.forEach(function(e){r(t,e)}),n&&r(t,e))},destroy:function(){a=void 0,this.unobserveAll(!0),this._dead=!0,this.observe=void 0,this.unobserveAll=void 0,this.cursor=void 0,this.destroy=void 0,e=void 0,r=void 0,n=void 0}}},r.prototype.forceHasSwapped=function(t,e,n){this.emit("swap",t||this.current,e,n),u(this,t||this.current,e,n)},r.prototype.undo=function(t){return this._currentRevision-=t||1,this._currentRevision<0&&(this._currentRevision=0),this.current=this.history.get(this._currentRevision),this.current},r.prototype.redo=function(t){return this._currentRevision+=t||1,this._currentRevision>this.history.count()-1&&(this._currentRevision=this.history.count()-1),this.current=this.history.get(this._currentRevision),this.current},r.prototype.undoUntil=function(t){return this._currentRevision=this.history.indexOf(t),this.current=t,t};var M="undefined"!=typeof window&&window.requestAnimationFrame||w.raf,k={},C=[{name:"Iterable",method:"isIterable"},{name:"Seq",method:"isSeq"},{name:"Map",method:"isMap"},{name:"OrderedMap",method:"isOrderedMap"},{name:"List",method:"isList"},{name:"Stack",method:"isStack"},{name:"Set",method:"isSet"}]},function(t,e,n){function r(t,e,n){return 1===arguments.length?e=[]:"function"==typeof e?(n=e,e=[]):e=f(e),s(t,e,n)}function i(t,e,n,r){this.size=r,this._rootData=t,this._keyPath=e,this._onChange=n}function o(t,e,n,r){this.size=r,this._rootData=t,this._keyPath=e,this._onChange=n}function s(t,e,n,r){arguments.length<4&&(r=t.getIn(e));var s=r&&r.size,u=m.isIndexed(r)?o:i,l=new u(t,e,n,s);return r instanceof x&&a(l,r),l}function a(t,e){try{e._keys.forEach(u.bind(void 0,t))}catch(t){}}function u(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){if(!this.__ownerID)throw new Error("Cannot set on an immutable record.")}})}function l(t,e,n){return m.isIterable(n)?c(t,e,n):n}function c(t,e,n){return arguments.length<3?s(t._rootData,p(t._keyPath,e),t._onChange):s(t._rootData,p(t._keyPath,e),t._onChange,n)}function h(t,e,n){var r=arguments.length>2,i=t._rootData.updateIn(t._keyPath,r?b():void 0,e),o=t._keyPath||[],a=t._onChange&&t._onChange.call(void 0,i,t._rootData,r?p(o,n):o);return void 0!==a&&(i=a),s(i,t._keyPath,t._onChange)}function p(t,e){return t.concat(d(e))}function d(t){return Array.isArray(t)?t:v.Iterable(t).toArray()}function f(t){return Array.isArray(t)?t:m.isIterable(t)?t.toArray():[t]}var v=n(2),m=v.Iterable,g=m.Iterator,y=v.Seq,b=v.Map,x=v.Record,_=Object.create(y.Keyed.prototype),w=Object.create(y.Indexed.prototype);_.constructor=i,w.constructor=o,_.toString=function(){return this.__toString("Cursor {","}")},w.toString=function(){return this.__toString("Cursor [","]")},_.deref=_.valueOf=w.deref=w.valueOf=function(t){return this._rootData.getIn(this._keyPath,t)},_.get=w.get=function(t,e){return this.getIn([t],e)},_.getIn=w.getIn=function(t,e){if(t=d(t),0===t.length)return this;var n=this._rootData.getIn(p(this._keyPath,t),S);return n===S?e:l(this,t,n)},w.set=_.set=function(t,e){return 1===arguments.length?h(this,function(){return t},[]):h(this,function(n){return n.set(t,e)},[t])},w.push=function(){var t=arguments;return h(this,function(e){return e.push.apply(e,t)})},w.pop=function(){return h(this,function(t){return t.pop()})},w.unshift=function(){var t=arguments;return h(this,function(e){return e.unshift.apply(e,t)})},w.shift=function(){return h(this,function(t){return t.shift()})},w.setIn=_.setIn=b.prototype.setIn,_.remove=_.delete=w.remove=w.delete=function(t){return h(this,function(e){return e.remove(t)},[t])},w.removeIn=w.deleteIn=_.removeIn=_.deleteIn=b.prototype.deleteIn,_.clear=w.clear=function(){return h(this,function(t){return t.clear()})},w.update=_.update=function(t,e,n){return 1===arguments.length?h(this,t):this.updateIn([t],e,n)},w.updateIn=_.updateIn=function(t,e,n){return h(this,function(r){return r.updateIn(t,e,n)},t)},w.merge=_.merge=function(){var t=arguments;return h(this,function(e){return e.merge.apply(e,t)})},w.mergeWith=_.mergeWith=function(t){var e=arguments;return h(this,function(t){return t.mergeWith.apply(t,e)})},w.mergeIn=_.mergeIn=b.prototype.mergeIn,w.mergeDeep=_.mergeDeep=function(){var t=arguments;return h(this,function(e){return e.mergeDeep.apply(e,t)})},w.mergeDeepWith=_.mergeDeepWith=function(t){var e=arguments;return h(this,function(t){return t.mergeDeepWith.apply(t,e)})},w.mergeDeepIn=_.mergeDeepIn=b.prototype.mergeDeepIn,_.withMutations=w.withMutations=function(t){return h(this,function(e){return(e||b()).withMutations(t)})},_.cursor=w.cursor=function(t){return t=f(t),0===t.length?this:c(this,t)},_.__iterate=w.__iterate=function(t,e){var n=this,r=n.deref();return r&&r.__iterate?r.__iterate(function(e,r){return t(l(n,[r],e),r,n)},e):0},_.__iterator=w.__iterator=function(t,e){var n=this.deref(),r=this,i=n&&n.__iterator&&n.__iterator(g.ENTRIES,e);return new g(function(){if(!i)return{value:void 0,done:!0};var e=i.next();if(e.done)return e;var n=e.value,o=n[0],s=l(r,[o],n[1]);return{value:t===g.KEYS?o:t===g.VALUES?s:[o,s],done:!1}})},i.prototype=_,o.prototype=w;var S={};e.from=r},function(t,e,n){"use strict";function r(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function i(){}var o=Object.prototype.hasOwnProperty,s="function"!=typeof Object.create&&"~";i.prototype._events=void 0,i.prototype.eventNames=function(){var t,e=this._events,n=[];if(!e)return n;for(t in e)o.call(e,t)&&n.push(s?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},i.prototype.listeners=function(t,e){var n=s?s+t:t,r=this._events&&this._events[n];if(e)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=new Array(o);i0?E+C:""}},function(t,e,n){"use strict";var r=n(364),i=Object.prototype.hasOwnProperty,o={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:r.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},s=function(t,e){for(var n={},r=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,s=e.parameterLimit===1/0?void 0:e.parameterLimit,a=r.split(e.delimiter,s),u=0;u=0&&n.parseArrays&&s<=n.arrayLimit?(r=[],r[s]=a(t,e,n)):r[o]=a(t,e,n)}return r},u=function(t,e,n){if(t){var r=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,u=o.exec(r),l=u?r.slice(0,u.index):r,c=[];if(l){if(!n.plainObjects&&i.call(Object.prototype,l)&&!n.allowPrototypes)return;c.push(l)}for(var h=0;null!==(u=s.exec(r))&&he?u(y,d):g=setTimeout(l,t)}function c(){u(_,g)}function h(){if(p=arguments,v=o(),m=this,y=_&&(g||!w),!1===x)var n=w&&!g;else{d||w||(b=v);var r=x-(v-b),i=r<=0||r>x;i?(d&&(d=clearTimeout(d)),b=v,f=t.apply(m,p)):d||(d=setTimeout(c,r))}return i&&g?g=clearTimeout(g):g||e===x||(g=setTimeout(l,e)),n&&(i=!0,f=t.apply(m,p)),!i||g||d||(p=m=void 0),f}var p,d,f,v,m,g,y,b=0,x=!1,_=!0;if("function"!=typeof t)throw new TypeError(s);if(e=e<0?0:+e||0,!0===n){var w=!0;_=!1}else i(n)&&(w=!!n.leading,x="maxWait"in n&&a(+n.maxWait||0,e),_="trailing"in n?!!n.trailing:_);return h.cancel=r,h}var i=n(31),o=n(504),s="Expected a function",a=Math.max;t.exports=r},function(t,e,n){var r=n(126),i=r(Date,"now"),o=i||function(){return(new Date).getTime()};t.exports=o},function(t,e,n){function r(t){return"string"==typeof t||i(t)&&a.call(t)==o}var i=n(47),o="[object String]",s=Object.prototype,a=s.toString;t.exports=r},function(t,e){function n(t){return null==t?"":t+""}t.exports=n},,,function(t,e){function n(t,e){for(var n=-1,r=e.length,i=t.length;++nl))return!1;for(;++u=a,h=c?s():null,p=[];h?(r=o,l=!1):(c=!1,h=e?[]:p);t:for(;++n=a?s(e):null,p=e.length;h&&(l=o,c=!1,e=h);t:for(;++u1&&(r=n[0]+"@",t=n[1]),t=t.replace(P,"."),r+a(t.split("."),e).join(".")}function l(t){for(var e,n,r=[],i=0,o=t.length;i=55296&&e<=56319&&i65535&&(t-=65536,e+=N(t>>>10&1023|55296),t=56320|1023&t),e+=N(t)}).join("")}function h(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:_}function p(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function d(t,e,n){var r=0;for(t=n?R(t/k):t>>1,t+=R(t/e);t>I*S>>1;r+=_)t=R(t/I);return R(r+(I+1)*t/(t+M))}function f(t){var e,n,r,i,o,a,u,l,p,f,v=[],m=t.length,g=0,y=E,b=C;for(n=t.lastIndexOf(O),n<0&&(n=0),r=0;r=128&&s("not-basic"),v.push(t.charCodeAt(r));for(i=n>0?n+1:0;i=m&&s("invalid-input"),l=h(t.charCodeAt(i++)),(l>=_||l>R((x-g)/a))&&s("overflow"),g+=l*a,p=u<=b?w:u>=b+S?S:u-b,!(lR(x/f)&&s("overflow"),a*=f;e=v.length+1,b=d(g-o,e,0==o),R(g/e)>x-y&&s("overflow"),y+=R(g/e),g%=e,v.splice(g++,0,y)}return c(v)}function v(t){var e,n,r,i,o,a,u,c,h,f,v,m,g,y,b,M=[];for(t=l(t),m=t.length,e=E,n=0,o=C,a=0;a=e&&vR((x-n)/g)&&s("overflow"),n+=(u-e)*g,e=u,a=0;ax&&s("overflow"),v==e){for(c=n,h=_;f=h<=o?w:h>=o+S?S:h-o,!(c= 0x80 (not a basic code point)","invalid-input":"Invalid input"},I=_-w,R=Math.floor,N=String.fromCharCode;b={version:"1.4.1",ucs2:{decode:l,encode:c},decode:f,encode:v,toASCII:g,toUnicode:m},void 0!==(i=function(){return b}.call(e,n,e,t))&&(t.exports=i)}()}).call(e,n(248)(t),n(175))},function(t,e,n){"use strict";t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},function(t,e,n){"use strict";function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,n,o){e=e||"&",n=n||"=";var s={};if("string"!=typeof t||0===t.length)return s;var a=/\+/g;t=t.split(e);var u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var l=t.length;u>0&&l>u&&(l=u);for(var c=0;c=0?(h=v.substr(0,m),p=v.substr(m+1)):(h=v,p=""),d=decodeURIComponent(h),f=decodeURIComponent(p),r(s,d)?i(s[d])?s[d].push(f):s[d]=[s[d],f]:s[d]=f}return s};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,n){"use strict";function r(t,e){if(t.map)return t.map(e);for(var n=[],r=0;r2?n[s-2]:void 0,u=s>2?n[2]:void 0,l=s>1?n[s-1]:void 0;for("function"==typeof a?(a=i(a,l,5),s-=2):(a="function"==typeof l?l:void 0,s-=a?1:0),u&&o(n[0],n[1],u)&&(a=s<3?void 0:a,s=1);++r-1&&t%1==0&&t-1&&t%1==0&&t<=u}function s(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var a=/^\d+$/,u=9007199254740991,l=function(t){return function(e){return null==e?void 0:e[t]}}("length");t.exports=i},function(t,e,n){var r=n(549),i=n(261),o=n(550),s=n(551),a=n(389),u=a(function(t,e){return null==t?{}:"function"==typeof e[0]?s(t,i(e[0],e[1],3)):o(t,r(e))});t.exports=u},function(t,e,n){function r(t){return!!t&&"object"==typeof t}function i(t,e){for(var n=-1,r=e.length,i=t.length;++n-1&&t%1==0&&t<=c}var u=n(260),l=n(176),c=9007199254740991,h=function(t){return function(e){return null==e?void 0:e[t]}}("length");t.exports=o},function(t,e){function n(t,e){t=r(t);for(var n=-1,i=e.length,o={};++n-1&&t%1==0&&t-1&&t%1==0&&t<=p}function o(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function s(t){if(null==t)return[];o(t)||(t=Object(t));var e=t.length;e=e&&i(e)&&(u(t)||a(t))&&e||0;for(var n=t.constructor,s=-1,l="function"==typeof n&&n.prototype===t,c=Array(e),p=e>0;++sl))return!1;for(;++u-1&&t%1==0&&t<=o}function r(t){return!!t&&"object"==typeof t}function i(t){return r(t)&&n(t.length)&&!!s[u.call(t)]}var o=9007199254740991,s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1;var a=Object.prototype,u=a.toString;t.exports=i},function(t,e,n){"use strict";function r(t){var e=t&&t.isEqualProps||i.isEqualProps;return function(t){var n,r;return function(){return e(arguments,n)||(r=t.apply(this,arguments)),n=arguments,r}}}var i=n(390);t.exports=r(),t.exports.withDefaults=r},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){!function(e,n){"object"==typeof t&&t.exports?t.exports=e.document?n(e):n:e.Highcharts=n(e)}("undefined"!=typeof window?window:this,function(t){t=function(){var t=window,e=t.document,n=t.navigator&&t.navigator.userAgent||"",r=e&&e.createElementNS&&!!e.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,i=/(edge|msie|trident)/i.test(n)&&!window.opera,o=!r,s=/Firefox/.test(n),a=s&&4>parseInt(n.split("Firefox/")[1],10);return t.Highcharts?t.Highcharts.error(16,!0):{product:"Highcharts",version:"5.0.12",deg2rad:2*Math.PI/360,doc:e,hasBidiBug:a,hasTouch:e&&void 0!==e.documentElement.ontouchstart,isMS:i,isWebKit:/AppleWebKit/.test(n),isFirefox:s,isTouchDevice:/(Mobile|Android|Windows Phone)/.test(n),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},symbolSizes:{},svg:r,vml:o,win:t,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:function(){},charts:[]}}(),function(t){var e=[],n=t.charts,r=t.doc,i=t.win;t.error=function(e,n){if(e=t.isNumber(e)?"Highcharts error #"+e+": www.highcharts.com/errors/"+e:e,n)throw Error(e);i.console&&console.log(e)},t.Fx=function(t,e,n){this.options=e,this.elem=t,this.prop=n},t.Fx.prototype={dSetter:function(){var t,e=this.paths[0],n=this.paths[1],r=[],i=this.now,o=e.length;if(1===i)r=this.toD;else if(o===n.length&&1>i)for(;o--;)t=parseFloat(e[o]),r[o]=isNaN(t)?e[o]:i*parseFloat(n[o]-t)+t;else r=n;this.elem.attr("d",r,null,!0)},update:function(){var t=this.elem,e=this.prop,n=this.now,r=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,n,null,!0):t.style[e]=n+this.unit,r&&r.call(t,n,this)},run:function(t,n,r){var i,o=this,s=function(t){return!s.stopped&&o.step(t)};this.startTime=+new Date,this.start=t,this.end=n,this.unit=r,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===e.push(s)&&(s.timerId=setInterval(function(){for(i=0;i=a+this.startTime?(this.now=this.end,this.pos=1,this.update(),n=u[this.prop]=!0,t.objectEach(u,function(t){!0!==t&&(n=!1)}),n&&s&&s.call(o),e=!1):(this.pos=i.easing((r-this.startTime)/a),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0),e},initPath:function(e,n,r){function i(t){var e,n;for(c=t.length;c--;)e="M"===t[c]||"L"===t[c],n=/[a-zA-Z]/.test(t[c+3]),e&&n&&t.splice(c+1,0,t[c+1],t[c+2],t[c+1],t[c+2])}function o(t,e){for(;t.lengths?"AM":"PM",P:12>s?"am":"pm",S:f(o.getSeconds()),L:f(Math.round(n%1e3),3)},t.dateFormats);return t.objectEach(i,function(t,r){for(;-1!==e.indexOf("%"+r);)e=e.replace("%"+r,"function"==typeof t?t(n):t)}),r?e.substr(0,1).toUpperCase()+e.substr(1):e},t.formatSingle=function(e,n){var r=/\.([0-9])/,i=t.defaultOptions.lang;return/f$/.test(e)?(r=(r=e.match(r))?r[1]:-1,null!==n&&(n=t.numberFormat(n,r,i.decimalPoint,-1=r&&(n=[1/r]))),i=0;i=e||!o&&s<=(n[i]+(n[i+1]||n[i]))/2));i++);return a=t.correctFloat(a*r,-Math.round(Math.log(.001)/Math.LN10))},t.stableSort=function(t,e){var n,r,i=t.length;for(r=0;rn&&(n=t[e]);return n},t.destroyObjectProperties=function(e,n){t.objectEach(e,function(t,r){t&&t!==n&&t.destroy&&t.destroy(),delete e[r]})},t.discardElement=function(e){var n=t.garbageBin;n||(n=t.createElement("div")),e&&n.appendChild(e),n.innerHTML=""},t.correctFloat=function(t,e){return parseFloat(t.toPrecision(e||14))},t.setAnimation=function(e,n){n.renderer.globalAnimation=t.pick(e,n.options.chart.animation,!0)},t.animObject=function(e){return t.isObject(e)?t.merge(e):{duration:e?500:0}},t.timeUnits={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},t.numberFormat=function(e,n,r,i){e=+e||0,n=+n;var o,s,a=t.defaultOptions.lang,u=(e.toString().split(".")[1]||"").length;return-1===n?n=Math.min(u,20):t.isNumber(n)||(n=2),s=(Math.abs(e)+Math.pow(10,-Math.max(n,u)-1)).toFixed(n),u=String(t.pInt(s)),o=3e?"-":"")+(o?u.substr(0,o)+i:""),e+=u.substr(o).replace(/(\d{3})(?=\d)/g,"$1"+i),n&&(e+=r+s.slice(-n)),e},Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)},t.getStyle=function(e,n,r){return"width"===n?Math.min(e.offsetWidth,e.scrollWidth)-t.getStyle(e,"padding-left")-t.getStyle(e,"padding-right"):"height"===n?Math.min(e.offsetHeight,e.scrollHeight)-t.getStyle(e,"padding-top")-t.getStyle(e,"padding-bottom"):((e=i.getComputedStyle(e,void 0))&&(e=e.getPropertyValue(n),t.pick(r,!0)&&(e=t.pInt(e))),e)},t.inArray=function(t,e){return e.indexOf?e.indexOf(t):[].indexOf.call(e,t)},t.grep=function(t,e){return[].filter.call(t,e)},t.find=function(t,e){return[].find.call(t,e)},t.map=function(t,e){for(var n=[],r=0,i=t.length;r>16,(65280&e)>>8,255&e,1]:4===n&&(i=[(3840&e)>>4|(3840&e)>>8,(240&e)>>4|240&e,(15&e)<<4|15&e,1])),!i)for(o=this.parsers.length;o--&&!i;)s=this.parsers[o],(n=s.regex.exec(e))&&(i=s.parse(n));this.rgba=i||[]},get:function(t){var r,o=this.input,s=this.rgba;return this.stops?(r=i(o),r.stops=[].concat(r.stops),e(this.stops,function(e,n){r.stops[n]=[r.stops[n][0],e.get(t)]})):r=s&&n(s[0])?"rgb"===t||!t&&1===s[3]?"rgb("+s[0]+","+s[1]+","+s[2]+")":"a"===t?s[3]:"rgba("+s.join(",")+")":o,r},brighten:function(t){var r,i=this.rgba;if(this.stops)e(this.stops,function(e){e.brighten(t)});else if(n(t)&&0!==t)for(r=0;3>r;r++)i[r]+=o(255*t),0>i[r]&&(i[r]=0),255n.width)&&(n={width:0,height:0})}else n=this.htmlGetBBox();if(a.isSVG&&(t=n.width,a=n.height,l&&"11px"===l.fontSize&&17===Math.round(a)&&(n.height=a=14),e&&(n.width=Math.abs(a*Math.sin(r))+Math.abs(t*Math.cos(r)),n.height=Math.abs(a*Math.cos(r))+Math.abs(t*Math.sin(r)))),s&&0]*>/g,"")))},textSetter:function(t){t!==this.textStr&&(delete this.bBox,this.textStr=t,this.added&&this.renderer.buildText(this))},fillSetter:function(t,e,n){"string"==typeof t?n.setAttribute(e,t):t&&this.colorGradient(t,e,n)},visibilitySetter:function(t,e,n){"inherit"===t?n.removeAttribute(e):n.setAttribute(e,t)},zIndexSetter:function(t,e){var n,r,i=this.renderer,o=this.parentGroup,s=(o||i).element||i.box,a=this.element;n=this.added;var u;if(c(t)&&(a.zIndex=t,t=+t,this[e]===t&&(n=!1),this[e]=t),n){for((t=this.zIndex)&&o&&(o.handleZ=!0),e=s.childNodes,u=0;ut||!c(t)&&c(n)||0>t&&!c(n)&&s!==i.box)&&(s.insertBefore(a,o),r=!0);r||s.appendChild(a)}return r},_defaultSetter:function(t,e,n){n.setAttribute(e,t)}}),e.prototype.yGetter=e.prototype.xGetter,e.prototype.translateXSetter=e.prototype.translateYSetter=e.prototype.rotationSetter=e.prototype.verticalAlignSetter=e.prototype.scaleXSetter=e.prototype.scaleYSetter=function(t,e){this[e]=t,this.doTransform=!0},e.prototype["stroke-widthSetter"]=e.prototype.strokeSetter=function(t,n,r){this[n]=t,this.stroke&&this["stroke-width"]?(e.prototype.fillSetter.call(this,this.stroke,"stroke",r),r.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===n&&0===t&&this.hasStroke&&(r.removeAttribute("stroke"),this.hasStroke=!1)},n=t.SVGRenderer=function(){this.init.apply(this,arguments)},v(n.prototype,{Element:e,SVG_NS:R,init:function(t,e,n,i,s,a){var l;i=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}).css(this.getStyle(i)),l=i.element,t.appendChild(l),-1===t.innerHTML.indexOf("xmlns")&&o(l,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=l,this.boxWrapper=i,this.alignedObjects=[],this.url=(_||k)&&d.getElementsByTagName("base").length?L.location.href.replace(/#.*?$/,"").replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",this.createElement("desc").add().element.appendChild(d.createTextNode("Created with Highcharts 5.0.12")),this.defs=this.createElement("defs").add(),this.allowHTML=a,this.forExport=s,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1);var c;_&&t.getBoundingClientRect&&(e=function(){u(t,{left:0,top:0}),c=t.getBoundingClientRect(),u(t,{left:Math.ceil(c.left)-c.left+"px",top:Math.ceil(c.top)-c.top+"px"})},e(),this.unSubPixelFix=r(L,"resize",e))},getStyle:function(t){return this.style=v({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},setStyle:function(t){this.boxWrapper.css(this.getStyle(t))},isHidden:function(){return!this.boxWrapper.getBBox().width},destroy:function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),p(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},createElement:function(t){var e=new this.Element;return e.init(this,t),e},draw:E,getRadialAttr:function(t,e){return{cx:t[0]-t[2]/2+e.cx*t[2],cy:t[1]-t[2]/2+e.cy*t[2],r:e.r*t[2]}},getSpanWidth:function(t,e){var n=t.getBBox(!0).width;return!I&&this.forExport&&(n=this.measureSpanWidth(e.firstChild.data,t.styles)),n},applyEllipsis:function(t,e,n,r){var i,o=this.getSpanWidth(t,e),s=o>r,o=n,a=0,u=n.length,l=function(t){e.removeChild(e.firstChild),t&&e.appendChild(d.createTextNode(t))};if(s){for(;a<=u;)i=Math.ceil((a+u)/2),o=n.substring(0,i)+"…",l(o),o=this.getSpanWidth(t,e),a===u?a=u+1:o>r?u=i-1:a=i;0===u&&l("")}return s},buildText:function(t){var e,n,r,i,s,a,l=t.element,c=this,h=c.forExport,p=D(t.textStr,"").toString(),v=-1!==p.indexOf("<"),m=l.childNodes,y=o(l,"x"),b=t.styles,x=t.textWidth,_=b&&b.lineHeight,w=b&&b.textOutline,S=b&&"ellipsis"===b.textOverflow,M=b&&"nowrap"===b.whiteSpace,k=b&&b.fontSize,C=m.length,b=x&&!t.added&&this.box,E=function(t){var e;return e=/(px|em)$/.test(t&&t.style.fontSize)?t.style.fontSize:k||c.style.fontSize||12,_?T(_):c.fontMetrics(e,t.getAttribute("style")?t:l).h};if((s=[p,S,M,_,w,k,x].join())!==t.textCache){for(t.textCache=s;C--;)l.removeChild(m[C]);v||w||S||x||-1!==p.indexOf(" ")?(e=/<.*class="([^"]+)".*>/,n=/<.*style="([^"]+)".*>/,r=/<.*href="([^"]+)".*>/,b&&b.appendChild(l),p=v?p.replace(/<(b|strong)>/g,'').replace(/<(i|em)>/g,'').replace(//g,"").split(//g):[p],p=g(p,function(t){return""!==t}),f(p,function(s,p){var v,m=0;s=s.replace(/^\s+|\s+$/g,"").replace(//g,"|||"),v=s.split("|||"),f(v,function(s){if(""!==s||1===v.length){var f,g,b={},_=d.createElementNS(c.SVG_NS,"tspan");if(e.test(s)&&(f=s.match(e)[1],o(_,"class",f)),n.test(s)&&(g=s.match(n)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),o(_,"style",g)),r.test(s)&&!h&&(o(_,"onclick",'location.href="'+s.match(r)[1]+'"'),u(_,{cursor:"pointer"}))," "!==(s=(s.replace(/<(.|\n)*?>/g,"")||" ").replace(/</g,"<").replace(/>/g,">"))){if(_.appendChild(d.createTextNode(s)),m?b.dx=0:p&&null!==y&&(b.x=y),o(_,b),l.appendChild(_),!m&&a&&(!I&&h&&u(_,{display:"block"}),o(_,"dy",E(_))),x){b=s.replace(/([^\^])-/g,"$1- ").split(" "),f=1x,void 0===i&&(i=s),s&&1!==b.length?(_.removeChild(_.firstChild),k.unshift(b.pop())):(b=k,k=[],b.length&&!M&&(_=d.createElementNS(R,"tspan"),o(_,{dy:C,x:y}),g&&o(_,"style",g),l.appendChild(_)),w>x&&(x=w)),b.length&&_.appendChild(d.createTextNode(b.join(" ").replace(/- /g,"-")));t.rotation=O}m++}}}),a=a||l.childNodes.length}),i&&t.attr("title",t.textStr),b&&b.removeChild(l),w&&t.applyTextOutline&&t.applyTextOutline(w)):l.appendChild(d.createTextNode(p.replace(/</g,"<").replace(/>/g,">")))}},getContrast:function(t){return t=a(t).rgba,510n?i>e+s&&ia?i>e+s&&ir&&a>t+s&&ai&&a>t+s&&at?t+3:Math.round(1.2*t),{h:e,b:Math.round(.8*e),f:t}},rotCorr:function(t,e,n){var r=t;return e&&n&&(r=Math.max(r*Math.cos(e*h),4)),{x:-t/3*Math.sin(e*h),y:r}},label:function(n,r,i,o,s,a,u,l,h){var p,d,m,g,y,b,x,_,w,S,M,k,E,O=this,D=O.g("button"!==h&&"label"),T=D.text=O.text("",0,0,u).attr({zIndex:1}),A=0,I=3,R=0,N={},L=/^url\((.*?)\)$/.test(o),j=L;h&&D.addClass("highcharts-"+h),j=L,S=function(){return(_||0)%2/2},M=function(){var t=T.element.style,e={};d=(void 0===m||void 0===g||x)&&c(T.textStr)&&T.getBBox(),D.width=(m||d.width||0)+2*I+R,D.height=(g||d.height||0)+2*I,w=I+O.fontMetrics(t&&t.fontSize,T).b,j&&(p||(D.box=p=O.symbols[o]||L?O.symbol(o):O.rect(),p.addClass(("button"===h?"":"highcharts-label-box")+(h?" highcharts-"+h+"-box":"")),p.add(D),t=S(),e.x=t,e.y=(l?-w:0)+t),e.width=Math.round(D.width),e.height=Math.round(D.height),p.attr(v(e,N)),N={})},k=function(){var t,e=R+I;t=l?0:w,c(m)&&d&&("center"===x||"right"===x)&&(e+={center:.5,right:1}[x]*(m-d.width)),e===T.x&&t===T.y||(T.attr("x",e),void 0!==t&&T.attr("y",t)),T.x=e,T.y=t},E=function(t,e){p?p.attr(t,e):N[t]=e},D.onAdd=function(){T.add(D),D.attr({text:n||0===n?n:"",x:r,y:i}),p&&c(s)&&D.attr({anchorX:s,anchorY:a})},D.widthSetter=function(e){m=t.isNumber(e)?e:null},D.heightSetter=function(t){g=t},D["text-alignSetter"]=function(t){x=t},D.paddingSetter=function(t){c(t)&&t!==I&&(I=D.padding=t,k())},D.paddingLeftSetter=function(t){c(t)&&t!==R&&(R=t,k())},D.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==A&&(A=t,d&&D.attr({x:y}))},D.textSetter=function(t){void 0!==t&&T.textSetter(t),M(),k()},D["stroke-widthSetter"]=function(t,e){t&&(j=!0),_=this["stroke-width"]=t,E(e,t)},D.strokeSetter=D.fillSetter=D.rSetter=function(t,e){"fill"===e&&t&&(j=!0),E(e,t)},D.anchorXSetter=function(t,e){s=D.anchorX=t,E(e,Math.round(t)-S()-y)},D.anchorYSetter=function(t,e){a=D.anchorY=t,E(e,t-b)},D.xSetter=function(t){D.x=t,A&&(t-=A*((m||d.width)+2*I)),y=Math.round(t),D.attr("translateX",y)},D.ySetter=function(t){b=D.y=Math.round(t),D.attr("translateY",b)};var z=D.css;return v(D,{css:function(t){if(t){var e={};t=C(t),f(D.textProps,function(n){void 0!==t[n]&&(e[n]=t[n],delete t[n])}),T.css(e)}return z.call(D,t)},getBBox:function(){return{width:d.width+2*I,height:d.height+2*I,x:d.x-I,y:d.y-I}},shadow:function(t){return t&&(M(),p&&p.shadow(t)),D},destroy:function(){P(D.element,"mouseenter"),P(D.element,"mouseleave"),T&&(T=T.destroy()),p&&(p=p.destroy()),e.prototype.destroy.call(D),D=O=M=k=E=null}})}}),t.Renderer=n}(t),function(t){var e=t.attr,n=t.createElement,r=t.css,i=t.defined,o=t.each,s=t.extend,a=t.isFirefox,u=t.isMS,l=t.isWebKit,c=t.pInt,h=t.SVGRenderer,p=t.win,d=t.wrap;s(t.SVGElement.prototype,{htmlCss:function(t){var e=this.element;return(e=t&&"SPAN"===e.tagName&&t.width)&&(delete t.width,this.textWidth=e,this.updateTransform()),t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=s(this.styles,t),r(this.element,t),this},htmlGetBBox:function(){var t=this.element;return"text"===t.nodeName&&(t.style.position="absolute"),{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var t=this.renderer,e=this.element,n=this.translateX||0,s=this.translateY||0,a=this.x||0,u=this.y||0,h=this.textAlign||"left",p={left:0,center:.5,right:1}[h],d=this.styles;if(r(e,{marginLeft:n,marginTop:s}),this.shadows&&o(this.shadows,function(t){r(t,{marginLeft:n+1,marginTop:s+1})}),this.inverted&&o(e.childNodes,function(n){t.invertChild(n,e)}),"SPAN"===e.tagName){var f=this.rotation,v=c(this.textWidth),m=d&&d.whiteSpace,g=[f,h,e.innerHTML,this.textWidth,this.textAlign].join();g!==this.cTT&&(d=t.fontMetrics(e.style.fontSize).b,i(f)&&this.setSpanRotation(f,p,d),r(e,{width:"",whiteSpace:m||"nowrap"}),e.offsetWidth>v&&/[ \-]/.test(e.textContent||e.innerText)&&r(e,{width:v+"px",display:"block",whiteSpace:m||"normal"}),this.getSpanCorrection(e.offsetWidth,d,p,f,h)),r(e,{left:a+(this.xCorr||0)+"px",top:u+(this.yCorr||0)+"px"}),l&&(d=e.offsetHeight),this.cTT=g}}else this.alignOnAdd=!0},setSpanRotation:function(t,e,n){var i={},o=u?"-ms-transform":l?"-webkit-transform":a?"MozTransform":p.opera?"-o-transform":"";i[o]=i.transform="rotate("+t+"deg)",i[o+(a?"Origin":"-origin")]=i.transformOrigin=100*e+"% "+n+"px",r(this.element,i)},getSpanCorrection:function(t,e,n){this.xCorr=-t*n,this.yCorr=-e}}),s(h.prototype,{html:function(t,r,i){var a=this.createElement("span"),u=a.element,l=a.renderer,c=l.isSVG,h=function(t,e){o(["opacity","visibility"],function(n){d(t,n+"Setter",function(t,n,r,i){t.call(this,n,r,i),e[r]=n})})};return a.textSetter=function(t){t!==u.innerHTML&&delete this.bBox,u.innerHTML=this.textStr=t,a.htmlUpdateTransform()},c&&h(a,a.element.style),a.xSetter=a.ySetter=a.alignSetter=a.rotationSetter=function(t,e){"align"===e&&(e="textAlign"),a[e]=t,a.htmlUpdateTransform()},a.attr({text:t,x:Math.round(r),y:Math.round(i)}).css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize,position:"absolute"}),u.style.whiteSpace="nowrap",a.css=a.htmlCss,c&&(a.add=function(t){var r,i=l.box.parentNode,c=[];if(this.parentGroup=t){if(!(r=t.div)){for(;t;)c.push(t),t=t.parentGroup;o(c.reverse(),function(t){var o,u=e(t.element,"class");u&&(u={className:u}),r=t.div=t.div||n("div",u,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,pointerEvents:t.styles&&t.styles.pointerEvents},r||i),o=r.style,s(t,{on:function(){return a.on.apply({element:c[0].div},arguments),t},translateXSetter:function(e,n){o.left=e+"px",t[n]=e,t.doTransform=!0},translateYSetter:function(e,n){o.top=e+"px",t[n]=e,t.doTransform=!0}}),h(t,o)})}}else r=i;return r.appendChild(u),a.added=!0,a.alignOnAdd&&a.htmlUpdateTransform(),a}),a}})}(t),function(t){var e,n,r=t.createElement,i=t.css,o=t.defined,s=t.deg2rad,a=t.discardElement,u=t.doc,l=t.each,c=t.erase,h=t.extend;e=t.extendClass;var p=t.isArray,d=t.isNumber,f=t.isObject,v=t.merge;n=t.noop;var m=t.pick,g=t.pInt,y=t.SVGElement,b=t.SVGRenderer,x=t.win;t.svg||(n={docMode8:u&&8===u.documentMode,init:function(t,e){var n=["<",e,' filled="f" stroked="f"'],i=["position: ","absolute",";"],o="div"===e;("shape"===e||o)&&i.push("left:0;top:0;width:1px;height:1px;"),i.push("visibility: ",o?"hidden":"visible"),n.push(' style="',i.join(""),'"/>'),e&&(n=o||"span"===e||"img"===e?n.join(""):t.prepVML(n),this.element=r(n)),this.renderer=t},add:function(t){var e=this.renderer,n=this.element,r=e.box,i=t&&t.inverted,r=t?t.element||t:r;return t&&(this.parentGroup=t),i&&e.invertChild(n,r),r.appendChild(n),this.added=!0,this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform(),this.onAdd&&this.onAdd(),this.className&&this.attr("class",this.className),this},updateTransform:y.prototype.htmlUpdateTransform,setSpanRotation:function(){var t=this.rotation,e=Math.cos(t*s),n=Math.sin(t*s);i(this.element,{filter:t?["progid:DXImageTransform.Microsoft.Matrix(M11=",e,", M12=",-n,", M21=",n,", M22=",e,", sizingMethod='auto expand')"].join(""):"none"})},getSpanCorrection:function(t,e,n,r,o){var a,u=r?Math.cos(r*s):1,l=r?Math.sin(r*s):0,c=m(this.elemHeight,this.element.offsetHeight);this.xCorr=0>u&&-t,this.yCorr=0>l&&-c,a=0>u*l,this.xCorr+=l*e*(a?1-n:n),this.yCorr-=u*e*(r?a?n:1-n:1),o&&"left"!==o&&(this.xCorr-=t*n*(0>u?-1:1),r&&(this.yCorr-=c*n*(0>l?-1:1)),i(this.element,{textAlign:o}))},pathToVML:function(t){for(var e=t.length,n=[];e--;)d(t[e])?n[e]=Math.round(10*t[e])-5:"Z"===t[e]?n[e]="x":(n[e]=t[e],!t.isArc||"wa"!==t[e]&&"at"!==t[e]||(n[e+5]===n[e+7]&&(n[e+7]+=t[e+7]>t[e+5]?1:-1),n[e+6]===n[e+8]&&(n[e+8]+=t[e+8]>t[e+6]?1:-1)));return n.join(" ")||"x"},clip:function(t){var e,n=this;return t?(e=t.members,c(e,n),e.push(n),n.destroyClip=function(){c(e,n)},t=t.getCSS(n)):(n.destroyClip&&n.destroyClip(),t={clip:n.docMode8?"inherit":"rect(auto)"}),n.css(t)},css:y.prototype.htmlCss,safeRemoveChild:function(t){t.parentNode&&a(t)},destroy:function(){return this.destroyClip&&this.destroyClip(),y.prototype.destroy.apply(this)},on:function(t,e){return this.element["on"+t]=function(){var t=x.event;t.target=t.srcElement,e(t)},this},cutOffPath:function(t,e){var n;return t=t.split(/[ ,]/),n=t.length,9!==n&&11!==n||(t[n-4]=t[n-2]=g(t[n-2])-10*e),t.join(" ")},shadow:function(t,e,n){var i,o,s,a,u,l,c,h=[],p=this.element,d=this.renderer,f=p.style,v=p.path;if(v&&"string"!=typeof v.value&&(v="x"),u=v,t){for(l=m(t.width,3),c=(t.opacity||.15)/l,i=1;3>=i;i++)a=2*l+1-2*i,n&&(u=this.cutOffPath(v.value,a+.5)),s=[''],o=r(d.prepVML(s),null,{left:g(f.left)+m(t.offsetX,1),top:g(f.top)+m(t.offsetY,1)}),n&&(o.cutOff=a+1),s=[''],r(d.prepVML(s),null,null,o),e?e.element.appendChild(o):p.parentNode.insertBefore(o,p),h.push(o);this.shadows=h}return this},updateShadows:n,setAttr:function(t,e){this.docMode8?this.element[t]=e:this.element.setAttribute(t,e)},classSetter:function(t){(this.added?this.element:this).className=t},dashstyleSetter:function(t,e,n){(n.getElementsByTagName("stroke")[0]||r(this.renderer.prepVML([""]),null,null,n))[e]=t||"solid",this[e]=t},dSetter:function(t,e,n){var r=this.shadows;if(t=t||[],this.d=t.join&&t.join(" "),n.path=t=this.pathToVML(t),r)for(n=r.length;n--;)r[n].path=r[n].cutOff?this.cutOffPath(t,r[n].cutOff):t;this.setAttr(e,t)},fillSetter:function(t,e,n){var r=n.nodeName;"SPAN"===r?n.style.color=t:"IMG"!==r&&(n.filled="none"!==t,this.setAttr("fillcolor",this.renderer.color(t,n,e,this)))},"fill-opacitySetter":function(t,e,n){r(this.renderer.prepVML(["<",e.split("-")[0],' opacity="',t,'"/>']),null,null,n)},opacitySetter:n,rotationSetter:function(t,e,n){n=n.style,this[e]=n[e]=t,n.left=-Math.round(Math.sin(t*s)+1)+"px",n.top=Math.round(Math.cos(t*s))+"px"},strokeSetter:function(t,e,n){this.setAttr("strokecolor",this.renderer.color(t,n,e,this))},"stroke-widthSetter":function(t,e,n){n.stroked=!!t,this[e]=t,d(t)&&(t+="px"),this.setAttr("strokeweight",t)},titleSetter:function(t,e){this.setAttr(e,t)},visibilitySetter:function(t,e,n){"inherit"===t&&(t="visible"),this.shadows&&l(this.shadows,function(n){n.style[e]=t}),"DIV"===n.nodeName&&(t="hidden"===t?"-999em":0,this.docMode8||(n.style[e]=t?"visible":"hidden"),e="top"),n.style[e]=t},xSetter:function(t,e,n){this[e]=t,"x"===e?e="left":"y"===e&&(e="top"),this.updateClipping?(this[e]=t,this.updateClipping()):n.style[e]=t},zIndexSetter:function(t,e,n){n.style[e]=t}},n["stroke-opacitySetter"]=n["fill-opacitySetter"],t.VMLElement=n=e(y,n),n.prototype.ySetter=n.prototype.widthSetter=n.prototype.heightSetter=n.prototype.xSetter,n={Element:n,isIE8:-1'],r(c.prepVML(a),null,null,n)};if(v=e[0],w=e[e.length-1],0w[0]&&e.push([1,w[1]]),l(e,function(e,n){h.test(e[1])?(s=t.color(e[1]),d=s.get("rgb"),f=s.get("a")):(d=e[1],f=1),S.push(100*e[0]+"% "+d),n?(g=f,y=d):(m=f,b=d)}),"fill"===i)if("gradient"===u)i=x.x1||x[0]||0,e=x.y1||x[1]||0,v=x.x2||x[2]||0,x=x.y2||x[3]||0,_='angle="'+(90-180*Math.atan((x-e)/(v-i))/Math.PI)+'"',M();else{var k,p=x.r,C=2*p,E=2*p,O=x.cx,D=x.cy,T=n.radialReference,p=function(){T&&(k=o.getBBox(),O+=(T[0]-k.x)/k.width-.5,D+=(T[1]-k.y)/k.height-.5,C*=T[2]/k.width,E*=T[2]/k.height),_='src="'+t.getOptions().global.VMLRadialGradientURL+'" size="'+C+","+E+'" origin="0.5,0.5" position="'+O+","+D+'" color2="'+b+'" ',M()};o.added?p():o.onAdd=p,p=y}else p=d}else h.test(e)&&"IMG"!==n.tagName?(s=t.color(e),o[i+"-opacitySetter"](s.get("a"),i,n),p=s.get("rgb")):(p=n.getElementsByTagName(i),p.length&&(p[0].opacity=1,p[0].type="solid"),p=e);return p},prepVML:function(t){var e=this.isIE8;return t=t.join(""),e?(t=t.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />'),t=-1===t.indexOf('style="')?t.replace("/>",' style="display:inline-block;behavior:url(#default#VML);" />'):t.replace('style="','style="display:inline-block;behavior:url(#default#VML);')):t=t.replace("<","{point.key}
',pointFormat:' {series.name}: {point.y}
',shadow:!0,style:{color:"#333333",cursor:"default",fontSize:"12px",pointerEvents:"none",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"http://www.highcharts.com",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}},t.setOptions=function(e){return t.defaultOptions=s(!0,t.defaultOptions,e),n(),t.defaultOptions},t.getOptions=function(){return t.defaultOptions},t.defaultPlotOptions=t.defaultOptions.plotOptions,n()}(t),function(t){var e=t.correctFloat,n=t.defined,r=t.destroyObjectProperties,i=t.isNumber,o=t.merge,s=t.pick,a=t.deg2rad;t.Tick=function(t,e,n,r){this.axis=t,this.pos=e,this.type=n||"",this.isNewLabel=this.isNew=!0,n||r||this.addLabel()},t.Tick.prototype={addLabel:function(){var t,r=this.axis,i=r.options,a=r.chart,u=r.categories,l=r.names,c=this.pos,h=i.labels,p=r.tickPositions,d=c===p[0],f=c===p[p.length-1],l=u?s(u[c],l[c],c):c,u=this.label,p=p.info;r.isDatetimeAxis&&p&&(t=i.dateTimeLabelFormats[p.higherRanks[c]||p.unitName]),this.isFirst=d,this.isLast=f,i=r.labelFormatter.call({axis:r,chart:a,isFirst:d,isLast:f,dateTimeLabelFormat:t,value:r.isLog?e(r.lin2log(l)):l}),n(u)?u&&u.attr({text:i}):(this.labelLength=(this.label=u=n(i)&&h.enabled?a.renderer.text(i,0,0,h.useHTML).css(o(h.style)).add(r.labelGroup):null)&&u.getBBox().width,this.rotation=0)},getLabelSize:function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},handleOverflow:function(t){var e,n=this.axis,r=t.x,i=n.chart.chartWidth,o=n.chart.spacing,u=s(n.labelLeft,Math.min(n.pos,o[3])),o=s(n.labelRight,Math.max(n.pos+n.len,i-o[1])),l=this.label,c=this.rotation,h={left:0,center:.5,right:1}[n.labelAlign],p=l.getBBox().width,d=n.getSlotWidth(),f=d,v=1,m={};c?0>c&&r-h*po&&(e=Math.round((i-r)/Math.cos(c*a))):(i=r+(1-h)*p,r-h*po&&(f=o-t.x+f*h,v=-1),f=Math.min(d,f),ff||n.autoRotation&&(l.styles||{}).width)&&(e=f)),e&&(m.width=e,(n.options.labels.style||{}).textOverflow||(m.textOverflow="ellipsis"),l.css(m))},getPosition:function(t,e,n,r){var i=this.axis,o=i.chart,s=r&&o.oldChartHeight||o.chartHeight;return{x:t?i.translate(e+n,null,null,r)+i.transB:i.left+i.offset+(i.opposite?(r&&o.oldChartWidth||o.chartWidth)-i.right-i.left:0),y:t?s-i.bottom+i.offset-(i.opposite?i.height:0):s-i.translate(e+n,null,null,r)-i.transB}},getLabelPosition:function(t,e,r,i,o,s,u,l){var c=this.axis,h=c.transA,p=c.reversed,d=c.staggerLines,f=c.tickRotCorr||{x:0,y:0},v=o.y;return n(v)||(v=0===c.side?r.rotation?-8:-r.getBBox().height:2===c.side?f.y+8:Math.cos(r.rotation*a)*(f.y-r.getBBox(!1,0).height/2)),t=t+o.x+f.x-(s&&i?s*h*(p?-1:1):0),e=e+v-(s&&!i?s*h*(p?1:-1):0),d&&(r=u/(l||1)%d,c.opposite&&(r=d-r-1),e+=c.labelOffset/d*r),{x:t,y:Math.round(e)}},getMarkPath:function(t,e,n,r,i,o){return o.crispLine(["M",t,e,"L",t+(i?0:-n),e+(i?n:0)],r)},renderGridLine:function(t,e,n){var r=this.axis,i=r.options,o=this.gridLine,s={},a=this.pos,u=this.type,l=r.tickmarkOffset,c=r.chart.renderer,h=u?u+"Grid":"grid",p=i[h+"LineWidth"],d=i[h+"LineColor"],i=i[h+"LineDashStyle"];o||(s.stroke=d,s["stroke-width"]=p,i&&(s.dashstyle=i),u||(s.zIndex=1),t&&(s.opacity=0),this.gridLine=o=c.path().attr(s).addClass("highcharts-"+(u?u+"-":"")+"grid-line").add(r.gridGroup)),!t&&o&&(t=r.getPlotLinePath(a+l,o.strokeWidth()*n,t,!0))&&o[this.isNew?"attr":"animate"]({d:t,opacity:e})},renderMark:function(t,e,n){var r=this.axis,i=r.options,o=r.chart.renderer,a=this.type,u=a?a+"Tick":"tick",l=r.tickSize(u),c=this.mark,h=!c,p=t.x;t=t.y;var d=s(i[u+"Width"],!a&&r.isXAxis?1:0),i=i[u+"Color"];l&&(r.opposite&&(l[0]=-l[0]),h&&(this.mark=c=o.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(r.axisGroup),c.attr({stroke:i,"stroke-width":d})),c[h?"attr":"animate"]({d:this.getMarkPath(p,t,l[0],c.strokeWidth()*n,r.horiz,o),opacity:e}))},renderLabel:function(t,e,n,r){var o=this.axis,a=o.horiz,u=o.options,l=this.label,c=u.labels,h=c.step,p=o.tickmarkOffset,d=!0,f=t.x;t=t.y,l&&i(f)&&(l.xy=t=this.getLabelPosition(f,t,l,a,c,p,r,h),this.isFirst&&!this.isLast&&!s(u.showFirstLabel,1)||this.isLast&&!this.isFirst&&!s(u.showLastLabel,1)?d=!1:!a||o.isRadial||c.step||c.rotation||e||0===n||this.handleOverflow(t),h&&r%h&&(d=!1),d&&i(t.y)?(t.opacity=n,l[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(l.attr("y",-9999),this.isNewLabel=!0),this.isNew=!1)},render:function(t,e,n){var r=this.axis,i=r.horiz,o=this.getPosition(i,this.pos,r.tickmarkOffset,e),a=o.x,u=o.y,r=i&&a===r.pos+r.len||!i&&u===r.pos?-1:1;n=s(n,1),this.isActive=!0,this.renderGridLine(e,n,r),this.renderMark(o,n,r),this.renderLabel(o,e,n,t)},destroy:function(){r(this,this.axis)}}}(t);var e=function(t){var e=t.addEvent,n=t.animObject,r=t.arrayMax,i=t.arrayMin,o=t.color,s=t.correctFloat,a=t.defaultOptions,u=t.defined,l=t.deg2rad,c=t.destroyObjectProperties,h=t.each,p=t.extend,d=t.fireEvent,f=t.format,v=t.getMagnitude,m=t.grep,g=t.inArray,y=t.isArray,b=t.isNumber,x=t.isString,_=t.merge,w=t.normalizeTickInterval,S=t.objectEach,M=t.pick,k=t.removeEvent,C=t.splat,E=t.syncTimeout,O=t.Tick,D=function(){this.init.apply(this,arguments)};return t.extend(D.prototype,{defaultOptions:{dateTimeLabelFormats:{millisecond:"%H:%M:%S.%L",second:"%H:%M:%S",minute:"%H:%M",hour:"%H:%M",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"},endOnTick:!1,labels:{enabled:!0,style:{color:"#666666",cursor:"default",fontSize:"11px"},x:0},minPadding:.01,maxPadding:.01,minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickLength:10,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",title:{align:"middle",style:{color:"#666666"}},type:"linear",minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",tickColor:"#ccd6eb"},defaultYAxisOptions:{endOnTick:!0,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},maxPadding:.05,minPadding:.05,startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{enabled:!1,formatter:function(){return t.numberFormat(this.total,-1)},style:{fontSize:"11px",fontWeight:"bold",color:"#000000",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},defaultLeftAxisOptions:{labels:{x:-15},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:15},title:{rotation:90}},defaultBottomAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},defaultTopAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},init:function(t,n){var r=n.isX,i=this;i.chart=t,i.horiz=t.inverted&&!i.isZAxis?!r:r,i.isXAxis=r,i.coll=i.coll||(r?"xAxis":"yAxis"),i.opposite=n.opposite,i.side=n.side||(i.horiz?i.opposite?0:2:i.opposite?1:3),i.setOptions(n);var o=this.options,s=o.type;i.labelFormatter=o.labels.formatter||i.defaultLabelFormatter,i.userOptions=n,i.minPixelPadding=0,i.reversed=o.reversed,i.visible=!1!==o.visible,i.zoomEnabled=!1!==o.zoomEnabled,i.hasNames="category"===s||!0===o.categories,i.categories=o.categories||i.hasNames,i.names=i.names||[],i.plotLinesAndBandsGroups={},i.isLog="logarithmic"===s,i.isDatetimeAxis="datetime"===s,i.positiveValuesOnly=i.isLog&&!i.allowNegativeLog,i.isLinked=u(o.linkedTo),i.ticks={},i.labelEdge=[],i.minorTicks={},i.plotLinesAndBands=[],i.alternateBands={},i.len=0,i.minRange=i.userMinRange=o.minRange||o.maxZoom,i.range=o.range,i.offset=o.offset||0,i.stacks={},i.oldStacks={},i.stacksTouched=0,i.max=null,i.min=null,i.crosshair=M(o.crosshair,C(t.options.tooltip.crosshairs)[r?0:1],!1),n=i.options.events,-1===g(i,t.axes)&&(r?t.axes.splice(t.xAxis.length,0,i):t.axes.push(i),t[i.coll].push(i)),i.series=i.series||[],t.inverted&&!i.isZAxis&&r&&void 0===i.reversed&&(i.reversed=!0),S(n,function(t,n){e(i,n,t)}),i.lin2log=o.linearToLogConverter||i.lin2log,i.isLog&&(i.val2lin=i.log2lin,i.lin2val=i.lin2log)},setOptions:function(t){this.options=_(this.defaultOptions,"yAxis"===this.coll&&this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],_(a[this.coll],t))},defaultLabelFormatter:function(){var e,n=this.axis,r=this.value,i=n.categories,o=this.dateTimeLabelFormat,s=a.lang,u=s.numericSymbols,s=s.numericSymbolMagnitude||1e3,l=u&&u.length,c=n.options.labels.format,n=n.isLog?Math.abs(r):n.tickInterval;if(c)e=f(c,this);else if(i)e=r;else if(o)e=t.dateFormat(o,r);else if(l&&1e3<=n)for(;l--&&void 0===e;)i=Math.pow(s,l+1),n>=i&&0==10*r%i&&null!==u[l]&&0!==r&&(e=t.numberFormat(r/i,-1)+u[l]);return void 0===e&&(e=1e4<=Math.abs(r)?t.numberFormat(r,-1):t.numberFormat(r,-1,void 0,"")),e},getSeriesExtremes:function(){var t=this,e=t.chart;t.hasVisibleSeries=!1,t.dataMin=t.dataMax=t.threshold=null,t.softThreshold=!t.isXAxis,t.buildStacks&&t.buildStacks(),h(t.series,function(n){if(n.visible||!e.options.chart.ignoreHiddenSeries){var o,s=n.options,a=s.threshold;t.hasVisibleSeries=!0,t.positiveValuesOnly&&0>=a&&(a=null),t.isXAxis?(s=n.xData,s.length&&(n=i(s),b(n)||n instanceof Date||(s=m(s,function(t){return b(t)}),n=i(s)),t.dataMin=Math.min(M(t.dataMin,s[0]),n),t.dataMax=Math.max(M(t.dataMax,s[0]),r(s)))):(n.getExtremes(),o=n.dataMax,n=n.dataMin,u(n)&&u(o)&&(t.dataMin=Math.min(M(t.dataMin,n),n),t.dataMax=Math.max(M(t.dataMax,o),o)),u(a)&&(t.threshold=a),(!s.softThreshold||t.positiveValuesOnly)&&(t.softThreshold=!1))}})},translate:function(t,e,n,r,i,o){var s=this.linkedParent||this,a=1,u=0,l=r?s.oldTransA:s.transA;r=r?s.oldMin:s.min;var c=s.minPixelPadding;return i=(s.isOrdinal||s.isBroken||s.isLog&&i)&&s.lin2val,l||(l=s.transA),n&&(a*=-1,u=s.len),s.reversed&&(a*=-1,u-=a*(s.sector||s.len)),e?(t=(t*a+u-c)/l+r,i&&(t=s.lin2val(t))):(i&&(t=s.val2lin(t)),t=a*(t-r)*l+u+a*c+(b(o)?l*o:0)),t},toPixels:function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},toValue:function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},getPlotLinePath:function(t,e,n,r,i){var o,s,a,u=this.chart,l=this.left,c=this.top,h=n&&u.oldChartHeight||u.chartHeight,p=n&&u.oldChartWidth||u.chartWidth;o=this.transB;var d=function(t,e,n){return(tn)&&(r?t=Math.min(Math.max(e,t),n):a=!0),t};return i=M(i,this.translate(t,null,null,n)),t=n=Math.round(i+o),o=s=Math.round(h-i-o),b(i)?this.horiz?(o=c,s=h-this.bottom,t=n=d(t,l,l+this.width)):(t=l,n=p-this.right,o=s=d(o,c,c+this.height)):a=!0,a&&!r?null:u.renderer.crispLine(["M",t,o,"L",n,s],e||1)},getLinearTickPositions:function(t,e,n){var r,i=s(Math.floor(e/t)*t);n=s(Math.ceil(n/t)*t);var o=[];if(this.single)return[e];for(e=i;e<=n&&(o.push(e),(e=s(e+t))!==r);)r=e;return o},getMinorTickPositions:function(){var t=this,e=t.options,n=t.tickPositions,r=t.minorTickInterval,i=[],o=t.pointRangePadding||0,s=t.min-o,o=t.max+o,a=o-s;if(a&&a/r=this.minRange,c=this.minRange,t=(c-f+d)/2,t=[d-t,M(p.min,d-t)],e&&(t[2]=this.isLog?this.log2lin(this.dataMin):this.dataMin),d=r(t),f=[d+c,M(p.max,d+c)],e&&(f[2]=this.isLog?this.log2lin(this.dataMax):this.dataMax),(f=i(f))-d=E?(n=E,_=0):a.dataMax<=E&&(r=E,x=0)),a.min=M(i,n,a.dataMin),a.max=M(o,r,a.dataMax)),p&&(a.positiveValuesOnly&&!e&&0>=Math.min(a.min,M(a.dataMin,a.min))&&t.error(10,1),a.min=s(f(a.min),15),a.max=s(f(a.max),15)),a.range&&u(a.max)&&(a.userMin=a.min=i=Math.max(a.min,a.minFromRange()),a.userMax=o=a.max,a.range=null),d(a,"foundExtremes"),a.beforePadding&&a.beforePadding(),a.adjustForMinRange(),!(C||a.axisPointRange||a.usePercentage||y)&&u(a.min)&&u(a.max)&&(f=a.max-a.min)&&(!u(i)&&_&&(a.min-=f*_),!u(o)&&x&&(a.max+=f*x)),b(c.softMin)&&(a.min=Math.min(a.min,c.softMin)),b(c.softMax)&&(a.max=Math.max(a.max,c.softMax)),b(c.floor)&&(a.min=Math.max(a.min,c.floor)),b(c.ceiling)&&(a.max=Math.min(a.max,c.ceiling)),O&&u(a.dataMin)&&(E=E||0,!u(i)&&a.min=E?a.min=E:!u(o)&&a.max>E&&a.dataMax<=E&&(a.max=E)),a.tickInterval=a.min===a.max||void 0===a.min||void 0===a.max?1:y&&!S&&k===a.linkedParent.options.tickPixelInterval?S=a.linkedParent.tickInterval:M(S,this.tickAmount?(a.max-a.min)/Math.max(this.tickAmount-1,1):void 0,C?1:(a.max-a.min)*k/Math.max(a.len,k)),g&&!e&&h(a.series,function(t){t.processData(a.min!==a.oldMin||a.max!==a.oldMax)}),a.setAxisTranslation(!0),a.beforeSetTickPositions&&a.beforeSetTickPositions(),a.postProcessTickInterval&&(a.tickInterval=a.postProcessTickInterval(a.tickInterval)),a.pointRange&&!S&&(a.tickInterval=Math.max(a.pointRange,a.tickInterval)),e=M(c.minTickInterval,a.isDatetimeAxis&&a.closestPointRange),!S&&a.tickIntervala.tickInterval&&1e3a.max)),!!this.tickAmount)),this.tickAmount||(a.tickInterval=a.unsquish()),this.setTickPositions()},setTickPositions:function(){var t,e=this.options,n=e.tickPositions,r=e.tickPositioner,i=e.startOnTick,o=e.endOnTick;this.tickmarkOffset=this.categories&&"between"===e.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===e.minorTickInterval&&this.tickInterval?this.tickInterval/5:e.minorTickInterval,this.single=this.min===this.max&&u(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==e.allowDecimals),this.tickPositions=t=n&&n.slice(),!t&&(t=this.isDatetimeAxis?this.getTimeTicks(this.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinalPositions,this.closestPointRange,!0):this.isLog?this.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max),t.length>this.len&&(t=[t[0],t.pop()]),this.tickPositions=t,r&&(r=r.apply(this,[this.min,this.max])))&&(this.tickPositions=t=r),this.paddedTicks=t.slice(0),this.trimTicks(t,i,o),this.isLinked||(this.single&&(this.min-=.5,this.max+=.5),n||r||this.adjustTickAmount())},trimTicks:function(t,e,n){var r=t[0],i=t[t.length-1],o=this.minPointOffset||0;if(!this.isLinked){if(e&&-1/0!==r)this.min=r;else for(;this.min-o>t[0];)t.shift();if(n)this.max=i;else for(;this.max+oe&&(this.finalTickAmt=e,e=5),this.tickAmount=e},adjustTickAmount:function(){var t=this.tickInterval,e=this.tickPositions,n=this.tickAmount,r=this.finalTickAmt,i=e&&e.length;if(in&&(this.tickInterval*=2,this.setTickPositions());if(u(r)){for(t=n=e.length;t--;)(3===r&&1==t%2||2>=r&&0i&&(t=i)),u(r)&&(ei&&(e=i))),this.displayBtn=void 0!==t||void 0!==e,this.setExtremes(t,e,!1,void 0,{trigger:"zoom"})),!0},setAxisSize:function(){var t=this.chart,e=this.options,n=e.offsets||[0,0,0,0],r=this.horiz,i=M(e.width,t.plotWidth-n[3]+n[1]),o=M(e.height,t.plotHeight-n[0]+n[2]),s=M(e.top,t.plotTop+n[0]),e=M(e.left,t.plotLeft+n[3]),n=/%$/;n.test(o)&&(o=Math.round(parseFloat(o)/100*t.plotHeight)),n.test(s)&&(s=Math.round(parseFloat(s)/100*t.plotHeight+t.plotTop)),this.left=e,this.top=s,this.width=i,this.height=o,this.bottom=t.chartHeight-o-s,this.right=t.chartWidth-i-e,this.len=Math.max(r?i:o,0),this.pos=r?e:s},getExtremes:function(){var t=this.isLog,e=this.lin2log;return{min:t?s(e(this.min)):this.min,max:t?s(e(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(t){var e=this.isLog,n=this.lin2log,r=e?n(this.min):this.min,e=e?n(this.max):this.max;return null===t?t=r:r>t?t=r:et?"right":195t?"left":"center"},tickSize:function(t){var e=this.options,n=e[t+"Length"],r=M(e[t+"Width"],"tick"===t&&this.isXAxis?1:0);if(r&&n)return"inside"===e[t+"Position"]&&(n=-n),[n,r]},labelMetrics:function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},unsquish:function(){var t,e,n,r=this.options.labels,i=this.horiz,o=this.tickInterval,s=o,a=this.len/(((this.categories?1:0)+this.max-this.min)/o),c=r.rotation,p=this.labelMetrics(),d=Number.MAX_VALUE,f=function(t){return t/=a||1,(t=1=n)&&(e=f(Math.abs(p.h/Math.sin(l*n))),(r=e+Math.abs(n/360))(n.step||0)&&!n.rotation&&(this.staggerLines||1)*this.len/r||!e&&(i&&i-t.spacing[3]||.33*t.chartWidth)},renderUnsquish:function(){var t,e,n,r=this.chart,i=r.renderer,o=this.tickPositions,s=this.ticks,a=this.options.labels,u=this.horiz,l=this.getSlotWidth(),c=Math.max(1,Math.round(l-2*(a.padding||5))),p={},d=this.labelMetrics(),f=a.style&&a.style.textOverflow,v=0;if(x(a.rotation)||(p.rotation=a.rotation||0),h(o,function(t){(t=s[t])&&t.labelLength>v&&(v=t.labelLength)}),this.maxLabelLength=v,this.autoRotation)v>c&&v>d.h?p.rotation=this.labelRotation:this.labelRotation=0;else if(l&&(t={width:c+"px"},!f))for(t.textOverflow="clip",e=o.length;!u&&e--;)n=o[e],(c=s[n].label)&&(c.styles&&"ellipsis"===c.styles.textOverflow?c.css({textOverflow:"clip"}):s[n].labelLength>l&&c.css({width:l+"px"}),c.getBBox().height>this.len/o.length-(d.h-d.f)&&(c.specCss={textOverflow:"ellipsis"}));p.rotation&&(t={width:(v>.5*r.chartHeight?.33*r.chartHeight:r.chartHeight)+"px"},f||(t.textOverflow="ellipsis")),(this.labelAlign=a.align||this.autoLabelAlign(this.labelRotation))&&(p.align=this.labelAlign),h(o,function(e){var n=(e=s[e])&&e.label;n&&(n.attr(p),t&&n.css(_(t,n.specCss)),delete n.specCss,e.rotation=p.rotation)}),this.tickRotCorr=i.rotCorr(d.b,this.labelRotation||0,0!==this.side)},hasData:function(){return this.hasVisibleSeries||u(this.min)&&u(this.max)&&!!this.tickPositions},addTitle:function(t){var e,n=this.chart.renderer,r=this.horiz,i=this.opposite,o=this.options.title;this.axisTitle||((e=o.textAlign)||(e=(r?{low:"left",middle:"center",high:"right"}:{low:i?"right":"left",middle:"center",high:i?"left":"right"})[o.align]),this.axisTitle=n.text(o.text,0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation||0,align:e}).addClass("highcharts-axis-title").css(o.style).add(this.axisGroup),this.axisTitle.isNew=!0),this.axisTitle[t?"show":"hide"](!0)},generateTick:function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new O(this,t)},getOffset:function(){var t,e,n,r=this,i=r.chart,o=i.renderer,s=r.options,a=r.tickPositions,l=r.ticks,c=r.horiz,p=r.side,d=i.inverted&&!r.isZAxis?[1,0,3,2][p]:p,f=0,v=0,m=s.title,g=s.labels,y=0,b=i.axisOffset,i=i.clipOffset,x=[-1,1,1,-1][p],_=s.className,w=r.axisParent,k=this.tickSize("tick");t=r.hasData(),r.showAxis=e=t||M(s.showEmpty,!0),r.staggerLines=r.horiz&&g.staggerLines,r.axisGroup||(r.gridGroup=o.g("grid").attr({zIndex:s.gridZIndex||1}).addClass("highcharts-"+this.coll.toLowerCase()+"-grid "+(_||"")).add(w),r.axisGroup=o.g("axis").attr({zIndex:s.zIndex||2}).addClass("highcharts-"+this.coll.toLowerCase()+" "+(_||"")).add(w),r.labelGroup=o.g("axis-labels").attr({zIndex:g.zIndex||7}).addClass("highcharts-"+r.coll.toLowerCase()+"-labels "+(_||"")).add(w)),t||r.isLinked?(h(a,function(t,e){r.generateTick(t,e)}),r.renderUnsquish(),!1===g.reserveSpace||0!==p&&2!==p&&{1:"left",3:"right"}[p]!==r.labelAlign&&"center"!==r.labelAlign||h(a,function(t){y=Math.max(l[t].getLabelSize(),y)}),r.staggerLines&&(y*=r.staggerLines,r.labelOffset=y*(r.opposite?-1:1))):S(l,function(t,e){t.destroy(),delete l[e]}),m&&m.text&&!1!==m.enabled&&(r.addTitle(e),e&&!1!==m.reserveSpace&&(r.titleOffset=f=r.axisTitle.getBBox()[c?"height":"width"],n=m.offset,v=u(n)?0:M(m.margin,c?5:10))),r.renderLine(),r.offset=x*M(s.offset,b[p]),r.tickRotCorr=r.tickRotCorr||{x:0,y:0},o=0===p?-r.labelMetrics().h:2===p?r.tickRotCorr.y:0,v=Math.abs(y)+v,y&&(v=v-o+x*(c?M(g.y,r.tickRotCorr.y+8*x):g.x)),r.axisTitleMargin=M(n,v),b[p]=Math.max(b[p],r.axisTitleMargin+f+x*r.offset,v,t&&a.length&&k?k[0]+x*r.offset:0),a=2*Math.floor(r.axisLine.strokeWidth()/2),0=this.min&&t<=this.max)&&(r[t]||(r[t]=new O(this,t)),i&&r[t].isNew&&r[t].render(e,!0,.1),r[t].render(e))},render:function(){var e,r,i=this,o=i.chart,s=i.options,a=i.isLog,u=i.lin2log,l=i.isLinked,c=i.tickPositions,p=i.axisTitle,d=i.ticks,f=i.minorTicks,v=i.alternateBands,m=s.stackLabels,g=s.alternateGridColor,y=i.tickmarkOffset,x=i.axisLine,_=i.showAxis,w=n(o.renderer.globalAnimation);i.labelEdge.length=0,i.overlap=!1,h([d,f,v],function(t){S(t,function(t){t.isActive=!1})}),(i.hasData()||l)&&(i.minorTickInterval&&!i.categories&&h(i.getMinorTickPositions(),function(t){i.renderMinorTick(t)}),c.length&&(h(c,function(t,e){i.renderTick(t,e)}),y&&(0===i.min||i.single)&&(d[-1]||(d[-1]=new O(i,-1,null,!0)),d[-1].render(-1))),g&&h(c,function(n,s){r=void 0!==c[s+1]?c[s+1]+y:i.max-y,0==s%2&&n=p.second?0:_*Math.floor(y.getMilliseconds()/_)),x>=p.second&&y[n.hcSetSeconds](x>=p.minute?0:_*Math.floor(y.getSeconds()/_)),x>=p.minute&&y[n.hcSetMinutes](x>=p.hour?0:_*Math.floor(y[n.hcGetMinutes]()/_)),x>=p.hour&&y[n.hcSetHours](x>=p.day?0:_*Math.floor(y[n.hcGetHours]()/_)),x>=p.day&&y[n.hcSetDate](x>=p.month?1:_*Math.floor(y[n.hcGetDate]()/_)),x>=p.month&&(y[n.hcSetMonth](x>=p.year?0:_*Math.floor(y[n.hcGetMonth]()/_)),d=y[n.hcGetFullYear]()),x>=p.year&&y[n.hcSetFullYear](d-d%_),x===p.week&&y[n.hcSetDate](y[n.hcGetDate]()-y[n.hcGetDay]()+h(c,1)),d=y[n.hcGetFullYear](),c=y[n.hcGetMonth]();var w=y[n.hcGetDate](),S=y[n.hcGetHours]();for((n.hcTimezoneOffset||n.hcGetTimezoneOffset)&&(f=(!g||!!n.hcGetTimezoneOffset)&&(u-e>4*p.month||l(e)!==l(u)),y=y.getTime(),y=new n(y+l(y))),g=y.getTime(),e=1;gv.length&&s(v,function(t){0==t%18e5&&"000000000"===r("%H%M%S%L",t)&&(m[t]="day")})}return v.info=a(t,{higherRanks:m,totalRange:x*_}),v},e.prototype.normalizeTimeTickInterval=function(t,e){var n=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=n[n.length-1];var r,i=p[e[0]],o=e[1];for(r=0;re&&(!a||m<=s)&&void 0!==m&&p.push(m),m>s&&(g=!0),m=v;else e=c(e),s=c(s),t=u[a?"minorTickInterval":"tickInterval"],t=o("auto"===t?null:t,this._minorAutoInterval,u.tickPixelInterval/(a?5:1)*(s-e)/((a?l/this.tickPositions.length:l)||1)),t=i(t,null,n(t)),p=r(this.getLinearTickPositions(t,e,s),h),a||(this._minorAutoInterval=t/5);return a||(this.tickInterval=t),p},e.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},e.prototype.lin2log=function(t){return Math.pow(10,t)}}(t),function(t,e){var n=t.arrayMax,r=t.arrayMin,i=t.defined,o=t.destroyObjectProperties,s=t.each,a=t.erase,u=t.merge,l=t.pick;t.PlotLineOrBand=function(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)},t.PlotLineOrBand.prototype={render:function(){var e=this,n=e.axis,r=n.horiz,o=e.options,s=o.label,a=e.label,c=o.to,h=o.from,p=o.value,d=i(h)&&i(c),f=i(p),v=e.svgElem,m=!v,g=[],y=o.color,b=l(o.zIndex,0),x=o.events,g={class:"highcharts-plot-"+(d?"band ":"line ")+(o.className||"")},_={},w=n.chart.renderer,S=d?"bands":"lines",M=n.log2lin;if(n.isLog&&(h=M(h),c=M(c),p=M(p)),f?(g={stroke:y,"stroke-width":o.width},o.dashStyle&&(g.dashstyle=o.dashStyle)):d&&(y&&(g.fill=y),o.borderWidth&&(g.stroke=o.borderColor,g["stroke-width"]=o.borderWidth)),_.zIndex=b,S+="-"+b,(y=n.plotLinesAndBandsGroups[S])||(n.plotLinesAndBandsGroups[S]=y=w.g("plot-"+S).attr(_).add()),m&&(e.svgElem=v=w.path().attr(g).add(y)),f)g=n.getPlotLinePath(p,v.strokeWidth());else{if(!d)return;g=n.getPlotBandPath(h,c,o)}return m&&g&&g.length?(v.attr({d:g}),x&&t.objectEach(x,function(t,n){v.on(n,function(t){x[n].apply(e,[t])})})):v&&(g?(v.show(),v.animate({d:g})):(v.hide(),a&&(e.label=a=a.destroy()))),s&&i(s.text)&&g&&g.length&&0this.max&&e>this.max,r&&n?(t&&(r.flat=r.toString()===n.toString(),o=0),r.push(i&&n[4]===r[4]?n[4]+o:n[4],i||n[5]!==r[5]?n[5]:n[5]+o,i&&n[1]===r[1]?n[1]+o:n[1],i||n[2]!==r[2]?n[2]:n[2]+o)):r=null,r},addPlotBand:function(t){return this.addPlotBandOrLine(t,"plotBands")},addPlotLine:function(t){return this.addPlotBandOrLine(t,"plotLines")},addPlotBandOrLine:function(e,n){var r=new t.PlotLineOrBand(this,e).render(),i=this.userOptions;return r&&(n&&(i[n]=i[n]||[],i[n].push(e)),this.plotLinesAndBands.push(r)),r},removePlotBandOrLine:function(t){for(var e=this.plotLinesAndBands,n=this.options,r=this.userOptions,i=e.length;i--;)e[i].id===t&&e[i].destroy();s([n.plotLines||[],r.plotLines||[],n.plotBands||[],r.plotBands||[]],function(e){for(i=e.length;i--;)e[i].id===t&&a(e,e[i])})},removePlotBand:function(t){this.removePlotBandOrLine(t)},removePlotLine:function(t){this.removePlotBandOrLine(t)}})}(t,e),function(t){var e=t.dateFormat,n=t.each,r=t.extend,i=t.format,o=t.isNumber,s=t.map,a=t.merge,u=t.pick,l=t.splat,c=t.syncTimeout,h=t.timeUnits;t.Tooltip=function(){this.init.apply(this,arguments)},t.Tooltip.prototype={init:function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted,this.shared=e.shared||this.split},cleanSplit:function(t){n(this.chart.series,function(e){var n=e&&e.tt;n&&(!n.isActive||t?e.tt=n.destroy():n.isActive=!1)})},getLabel:function(){var t=this.chart.renderer,e=this.options;return this.label||(this.split?this.label=t.g("tooltip"):(this.label=t.label("",0,0,e.shape||"callout",null,null,e.useHTML,null,"tooltip").attr({padding:e.padding,r:e.borderRadius}),this.label.attr({fill:e.backgroundColor,"stroke-width":e.borderWidth}).css(e.style).shadow(e.shadow)),this.label.attr({zIndex:8}).add()),this.label},update:function(t){this.destroy(),a(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,a(!0,this.options,t))},destroy:function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy()),clearTimeout(this.hideTimer),clearTimeout(this.tooltipTimeout)},move:function(t,e,n,i){var o=this,s=o.now,a=!1!==o.options.animation&&!o.isHidden&&(1p-a?p:p-a);else{if(!c)return!1;s[t]=Math.max(i,r+a+n>e?r:r+a)}},d=function(t,e,n,r){var i;return re-o?i=!1:s[t]=re-n/2?e-n-2:r-n/2,i},f=function(t){var e=l;l=c,c=e,r=t},v=function(){!1!==p.apply(0,l)?!1!==d.apply(0,c)||r||(f(!0),v()):r?s.x=s.y=0:(f(!0),v())};return(i.inverted||1f&&(c=!1),t=(e.series&&e.series.yAxis&&e.series.yAxis.pos)+(e.plotY||0),t-=a.plotTop,s.push({target:e.isHeader?a.plotHeight+i:t,rank:e.isHeader?1:0,size:n.tt.getBBox().height+1,point:e,x:f,tt:d})}),this.cleanSplit(),t.distribute(s,a.plotHeight+i),n(s,function(t){var e=t.point,n=e.series;t.tt.attr({visibility:void 0===t.pos?"hidden":"inherit",x:c||e.isHeader?t.x:e.plotX+a.plotLeft+u(h.distance,16),y:t.pos+a.plotTop,anchorX:e.isHeader?e.plotX+a.plotLeft:e.plotX+n.xAxis.pos,anchorY:e.isHeader?t.pos+a.plotTop-15:e.plotY+n.yAxis.pos})})},updatePosition:function(t){var e=this.chart,n=this.getLabel(),n=(this.options.positioner||this.getPosition).call(this,n.width,n.height,t);this.move(Math.round(n.x),Math.round(n.y||0),t.plotX+e.plotLeft,t.plotY+e.plotTop)},getDateFormat:function(t,n,r,i){var o,s,a=e("%m-%d %H:%M:%S.%L",n),u={millisecond:15,second:12,minute:9,hour:6,day:3},l="millisecond";for(s in h){if(t===h.week&&+e("%w",n)===r&&"00:00:00.000"===a.substr(6)){s="week";break}if(h[s]>t){s=l;break}if(u[s]&&a.substr(u[s])!=="01-01 00:00:00.000".substr(u[s]))break;"week"!==s&&(l=s)}return s&&(o=i[s]),o},getXDateFormat:function(t,e,n){e=e.dateTimeLabelFormats;var r=n&&n.closestPointRange;return(r?this.getDateFormat(r,t.x,n.options.startOfWeek,e):e.day)||e.year},tooltipFooterHeaderFormatter:function(t,e){var n=e?"footer":"header";e=t.series;var r=e.tooltipOptions,s=r.xDateFormat,a=e.xAxis,u=a&&"datetime"===a.options.type&&o(t.key),n=r[n+"Format"];return u&&!s&&(s=this.getXDateFormat(t,r,a)),u&&s&&(n=n.replace("{point.key}","{point.key:"+s+"}")),i(n,{point:t,series:e})},bodyFormatter:function(t){return s(t,function(t){var e=t.series.tooltipOptions;return(e.pointFormatter||t.point.tooltipFormatter).call(t.point,e.pointFormat)})}}}(t),function(t){var e=t.addEvent,n=t.attr,r=t.charts,i=t.color,o=t.css,s=t.defined,a=t.doc,u=t.each,l=t.extend,c=t.fireEvent,h=t.offset,p=t.pick,d=t.removeEvent,f=t.splat,v=t.Tooltip,m=t.win;t.Pointer=function(t,e){this.init(t,e)},t.Pointer.prototype={init:function(t,e){this.options=e,this.chart=t,this.runChartClick=e.chart.events&&!!e.chart.events.click,this.pinchDown=[],this.lastValidTouch={},v&&e.tooltip.enabled&&(t.tooltip=new v(t,e.tooltip),this.followTouchMove=p(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},zoomOption:function(t){var e=this.chart,n=e.options.chart,r=n.zoomType||"",e=e.inverted;/touch/.test(t.type)&&(r=p(n.pinchType,r)),this.zoomX=t=/x/.test(r),this.zoomY=r=/y/.test(r),this.zoomHor=t&&!e||r&&e,this.zoomVert=r&&!e||t&&e,this.hasZoom=t||r},normalize:function(t,e){var n,r;return t=t||m.event,t.target||(t.target=t.srcElement),r=t.touches?t.touches.length?t.touches.item(0):t.changedTouches[0]:t,e||(this.chartPosition=e=h(this.chart.container)),void 0===r.pageX?(n=Math.max(t.x,t.clientX-e.left),e=t.y):(n=r.pageX-e.left,e=r.pageY-e.top),l(t,{chartX:Math.round(n),chartY:Math.round(e)})},getCoordinates:function(t){var e={xAxis:[],yAxis:[]};return u(this.chart.axes,function(n){e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])})}),e},getKDPoints:function(t,e,n){var r,i,o,s=[];if(u(t,function(t){r=t.noSharedTooltip&&e,i=!e&&t.directTouch,t.visible&&!i&&p(t.options.enableMouseTracking,!0)&&(o=t.searchPoint(n,!r&&0>t.options.findNearestPointBy.indexOf("y")))&&o.series&&s.push(o)}),s.sort(function(t,n){var r=t.distX-n.distX,i=t.dist-n.dist,o=(n.series.group&&n.series.group.zIndex)-(t.series.group&&t.series.group.zIndex);return 0!==r&&e?r:0!==i?i:0!==o?o:t.series.index>n.series.index?-1:1}),e&&s[0]&&!s[0].series.noSharedTooltip)for(t=s.length;t--;)(s[t].x!==s[0].x||s[t].series.noSharedTooltip)&&s.splice(t,1);return s},getPointFromEvent:function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},getChartCoordinatesFromPoint:function(t,e){var n=t.series,r=n.xAxis,n=n.yAxis;if(r&&n)return e?{chartX:r.len+r.pos-t.clientX,chartY:n.len+n.pos-t.plotY}:{chartX:t.clientX+r.pos,chartY:t.plotY+n.pos}},getHoverData:function(e,n,r,i,o,s){var a=e,u=n,a=o?r:[u];i=!(!i||!e),n=u&&!u.stickyTracking;var l,c=function(t,e){return 0===e};return i?c=function(t){return t===e}:n?c=function(t){return t.series===u}:a=t.grep(r,function(t){return t.stickyTracking}),l=i&&!o?[e]:this.getKDPoints(a,o,s),u=(a=t.find(l,c))&&a.series,i||n||!o||(l=this.getKDPoints(r,o,s)),l.sort(function(t,e){return t.series.index-e.series.index}),{hoverPoint:a,hoverSeries:u,hoverPoints:l}},runPointActions:function(n,i){var o=this.chart,s=o.tooltip,l=!!s&&s.shared,c=i||o.hoverPoint,h=c&&c.series||o.hoverSeries;i=this.getHoverData(c,h,o.series,!!i||h&&h.directTouch&&this.isDirectTouch,l,n);var d,f,c=i.hoverPoint;d=(h=i.hoverSeries)&&h.tooltipOptions.followPointer,f=(l=l&&c&&!c.series.noSharedTooltip)?i.hoverPoints:c?[c]:[],c&&(c!==o.hoverPoint||s&&s.isHidden)?(u(o.hoverPoints||[],function(e){-1===t.inArray(e,f)&&e.setState()}),u(f||[],function(t){t.setState("hover")}),o.hoverSeries!==h&&h.onMouseOver(),o.hoverPoint&&o.hoverPoint.firePointEvent("mouseOut"),c.firePointEvent("mouseOver"),o.hoverPoints=f,o.hoverPoint=c,s&&s.refresh(l?f:c,n)):d&&s&&!s.isHidden&&(h=s.getAnchor([{}],n),s.updatePosition({plotX:h[0],plotY:h[1]})),this.unDocMouseMove||(this.unDocMouseMove=e(a,"mousemove",function(e){var n=r[t.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(e)})),u(o.axes,function(e){p(e.crosshair.snap,!0)?t.find(f,function(t){return t.series[e.coll]===e})?e.drawCrosshair(n,c):e.hideCrosshair():e.drawCrosshair(n)})},reset:function(t,e){var n=this.chart,r=n.hoverSeries,i=n.hoverPoint,o=n.hoverPoints,s=n.tooltip,a=s&&s.shared?o:i;t&&a&&u(f(a),function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)}),t?s&&a&&(s.refresh(a),i&&(i.setState(i.state,!0),u(n.axes,function(t){t.crosshair&&t.drawCrosshair(null,i)}))):(i&&i.onMouseOut(),o&&u(o,function(t){t.setState()}),r&&r.onMouseOut(),s&&s.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),u(n.axes,function(t){t.hideCrosshair()}),this.hoverX=n.hoverPoints=n.hoverPoint=null)},scaleGroups:function(t,e){var n,r=this.chart;u(r.series,function(i){n=t||i.getPlotBox(),i.xAxis&&i.xAxis.zoomEnabled&&i.group&&(i.group.attr(n),i.markerGroup&&(i.markerGroup.attr(n),i.markerGroup.clip(e?r.clipRect:null)),i.dataLabelsGroup&&i.dataLabelsGroup.attr(n))}),r.clipRect.attr(e||r.clipBox)},dragStart:function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},drag:function(t){var e,n=this.chart,r=n.options.chart,o=t.chartX,s=t.chartY,a=this.zoomHor,u=this.zoomVert,l=n.plotLeft,c=n.plotTop,h=n.plotWidth,p=n.plotHeight,d=this.selectionMarker,f=this.mouseDownX,v=this.mouseDownY,m=r.panKey&&t[r.panKey+"Key"];d&&d.touch||(ol+h&&(o=l+h),sc+p&&(s=c+p),this.hasDragged=Math.sqrt(Math.pow(f-o,2)+Math.pow(v-s,2)),10b.max&&(e=b.max-u,c=!0),c?(w-=.8*(w-s[p][0]),x||(M-=.8*(M-s[p][1])),n()):s[p]=[w,M],y||(o[p]=l-m,o[v]=u),o=y?1/g:g,i[v]=u,i[p]=e,r[y?t?"scaleY":"scaleX":"scale"+d]=g,r["translate"+d]=o*m+(w-o*_)},pinch:function(t){var e=this,a=e.chart,u=e.pinchDown,l=t.touches,c=l.length,h=e.lastValidTouch,p=e.hasZoom,d=e.selectionMarker,f={},v=1===c&&(e.inClass(t.target,"highcharts-tracker")&&a.runTrackerClick||e.runChartClick),m={};1e-6&&a(f||e.spacingBox.width-2*h-r.x)&&(this.itemX=h,this.itemY+=m+this.lastLineHeight+v,this.lastLineHeight=0),this.maxItemWidth=Math.max(this.maxItemWidth,a),this.lastItemY=m+this.itemY+v,this.lastLineHeight=Math.max(n,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],i?this.itemX+=a:(this.itemY+=m+n+v,this.lastLineHeight=n),this.offsetWidth=f||Math.max((i?this.itemX-h-p:a)+h,this.offsetWidth)},getAllItems:function(){var t=[];return o(this.chart.series,function(e){var n=e&&e.options;e&&l(n.showInLegend,!i(n.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===n.legendType?e.data:e)))}),t},adjustMargins:function(t,e){var n=this.chart,r=this.options,s=r.align.charAt(0)+r.verticalAlign.charAt(0)+r.layout.charAt(0);r.floating||o([/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/],function(o,u){o.test(s)&&!i(t[u])&&(n[a[u]]=Math.max(n[a[u]],n.legend[(u+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][u]*r[u%2?"x":"y"]+l(r.margin,12)+e[u]))})},render:function(){var t,e,n,r,i=this,s=i.chart,a=s.renderer,l=i.group,c=i.box,p=i.options,d=i.padding;i.itemX=d,i.itemY=i.initialItemY,i.offsetWidth=0,i.lastItemY=0,l||(i.group=l=a.g("legend").attr({zIndex:7}).add(),i.contentGroup=a.g().attr({zIndex:1}).add(l),i.scrollGroup=a.g().add(i.contentGroup)),i.renderTitle(),t=i.getAllItems(),h(t,function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)}),p.reversed&&t.reverse(),i.allItems=t,i.display=e=!!t.length,i.lastLineHeight=0,o(t,function(t){i.renderItem(t)}),n=(p.width||i.offsetWidth)+d,r=i.lastItemY+i.lastLineHeight+i.titleHeight,r=i.handleOverflow(r),r+=d,c||(i.box=c=a.rect().addClass("highcharts-legend-box").attr({r:p.borderRadius}).add(l),c.isNew=!0),c.attr({stroke:p.borderColor,"stroke-width":p.borderWidth||0,fill:p.backgroundColor||"none"}).shadow(p.shadow),0i&&!1!==p.enabled?(this.clipHeight=e=Math.max(i-20-this.titleHeight-c,0),this.currentPage=l(this.currentPage,1),this.fullHeight=t,o(g,function(t,r){var i=t._legendItemPos[1];t=Math.round(t.legendItem.getBBox().height);var o=m.length;(!o||i-m[o-1]>e&&(n||i)!==m[o-1])&&(m.push(n||i),o++),r===g.length-1&&i+t-m[o-1]>e&&m.push(i),i!==n&&(n=i)}),h||(h=r.clipRect=s.clipRect(0,c,9999,0),r.contentGroup.clip(h)),y(e),v||(this.nav=v=s.g().attr({zIndex:1}).add(this.group),this.up=s.symbol("triangle",0,0,f,f).on("click",function(){r.scroll(-1,d)}).add(v),this.pager=s.text("",15,10).addClass("highcharts-legend-navigation").css(p.style).add(v),this.down=s.symbol("triangle-down",0,0,f,f).on("click",function(){r.scroll(1,d)}).add(v)),r.scroll(0),t=i):v&&(y(),this.nav=v.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},scroll:function(t,e){var n=this.pages,r=n.length;t=this.currentPage+t;var i=this.clipHeight,o=this.options.navigation,s=this.pager,a=this.padding;t>r&&(t=r),0o&&(n=typeof t[0],"string"===n?e.name=t[0]:"number"===n&&(e.x=t[0]),s++);l=t.value;)t=n[++r];return t&&t.color&&!this.options.color&&(this.color=t.color),t},destroy:function(){var t,e=this.series.chart,n=e.hoverPoints;e.pointCount--,n&&(this.setState(),i(n,this),n.length||(e.hoverPoints=null)),this===e.hoverPoint&&this.onMouseOut(),(this.graphic||this.dataLabel)&&(c(this),this.destroyElements()),this.legendItem&&e.legend.destroyItem(this);for(t in this)this[t]=null},destroyElements:function(){for(var t,e=["graphic","dataLabel","dataLabelUpper","connector","shadowGroup"],n=6;n--;)t=e[n],this[t]&&(this[t]=this[t].destroy())},getLabelConfig:function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},tooltipFormatter:function(t){var e=this.series,r=e.tooltipOptions,i=l(r.valueDecimals,""),o=r.valuePrefix||"",a=r.valueSuffix||"";return n(e.pointArrayMap||["y"],function(e){e="{point."+e,(o||a)&&(t=t.replace(e+"}",o+e+"}"+a)),t=t.replace(e+"}",e+":,."+i+"f}")}),s(t,{point:this,series:this.series})},firePointEvent:function(t,e,n){var r=this,i=this.series.options;(i.point.events[t]||r.options&&r.options.events&&r.options.events[t])&&this.importEvents(),"click"===t&&i.allowPointSelect&&(n=function(t){r.select&&r.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),o(this,t,e,n)},visible:!0}}(t),function(t){var e=t.addEvent,n=t.animObject,r=t.arrayMax,i=t.arrayMin,o=t.correctFloat,s=t.Date,a=t.defaultOptions,u=t.defaultPlotOptions,l=t.defined,c=t.each,h=t.erase,p=t.extend,d=t.fireEvent,f=t.grep,v=t.isArray,m=t.isNumber,g=t.isString,y=t.merge,b=t.objectEach,x=t.pick,_=t.removeEvent,w=t.splat,S=t.SVGElement,M=t.syncTimeout,k=t.win;t.Series=t.seriesType("line",null,{lineWidth:2,allowPointSelect:!1,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{lineWidth:0,lineColor:"#ffffff",radius:4,states:{hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{align:"center",formatter:function(){return null===this.y?"":t.numberFormat(this.y,-1)},style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0,padding:5},cropThreshold:300,pointRange:0,softThreshold:!0,states:{hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{marker:{}}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},{isCartesian:!0,pointClass:t.Point,sorted:!0,requireSorting:!0,directTouch:!1,axisTypes:["xAxis","yAxis"],colorCounter:0,parallelArrays:["x","y"],coll:"series",init:function(t,n){var r,i,o=this,s=t.series;o.chart=t,o.options=n=o.setOptions(n),o.linkedSeries=[],o.bindAxes(),p(o,{name:n.name,state:"",visible:!1!==n.visible,selected:!0===n.selected}),r=n.events,b(r,function(t,n){e(o,n,t)}),(r&&r.click||n.point&&n.point.events&&n.point.events.click||n.allowPointSelect)&&(t.runTrackerClick=!0),o.getColor(),o.getSymbol(),c(o.parallelArrays,function(t){o[t+"Data"]=[]}),o.setData(n.data,!1),o.isCartesian&&(t.hasCartesianSeries=!0),s.length&&(i=s[s.length-1]),o._i=x(i&&i._i,-1)+1,t.orderSeries(this.insert(s))},insert:function(t){var e,n=this.options.index;if(m(n)){for(e=t.length;e--;)if(n>=x(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return x(e,t.length-1)},bindAxes:function(){var e,n=this,r=n.options,i=n.chart;c(n.axisTypes||[],function(o){c(i[o],function(t){e=t.options,(r[o]===e.index||void 0!==r[o]&&r[o]===e.id||void 0===r[o]&&0===e.index)&&(n.insert(t.series),n[o]=t,t.isDirty=!0)}),n[o]||n.optionalAxis===o||t.error(18,!0)})},updateParallelArrays:function(t,e){var n=t.series,r=arguments,i=m(e)?function(r){var i="y"===r&&n.toYData?n.toYData(t):t[r];n[r+"Data"][e]=i}:function(t){Array.prototype[e].apply(n[t+"Data"],Array.prototype.slice.call(r,2))};c(n.parallelArrays,i)},autoIncrement:function(){var t,e=this.options,n=this.xIncrement,r=e.pointIntervalUnit,n=x(n,e.pointStart,0);return this.pointInterval=t=x(this.pointInterval,e.pointInterval,1),r&&(e=new s(n),"day"===r?e=+e[s.hcSetDate](e[s.hcGetDate]()+t):"month"===r?e=+e[s.hcSetMonth](e[s.hcGetMonth]()+t):"year"===r&&(e=+e[s.hcSetFullYear](e[s.hcGetFullYear]()+t)),t=e-n),this.xIncrement=n+t,n},setOptions:function(t){var e=this.chart,n=e.options,r=n.plotOptions,i=(e.userOptions||{}).plotOptions||{},o=r[this.type];return this.userOptions=t,e=y(o,r.series,t),this.tooltipOptions=y(a.tooltip,a.plotOptions.series&&a.plotOptions.series.tooltip,a.plotOptions[this.type].tooltip,n.tooltip.userOptions,r.series&&r.series.tooltip,r[this.type].tooltip,t.tooltip),this.stickyTracking=x(t.stickyTracking,i[this.type]&&i[this.type].stickyTracking,i.series&&i.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||e.stickyTracking),null===o.marker&&delete e.marker,this.zoneAxis=e.zoneAxis,t=this.zones=(e.zones||[]).slice(),!e.negativeColor&&!e.negativeFillColor||e.zones||t.push({value:e[this.zoneAxis+"Threshold"]||e.threshold||0,className:"highcharts-negative",color:e.negativeColor,fillColor:e.negativeFillColor}),t.length&&l(t[t.length-1].value)&&t.push({color:this.color,fillColor:this.fillColor}),e},getCyclic:function(t,e,n){var r,i=this.chart,o=this.userOptions,s=t+"Index",a=t+"Counter",u=n?n.length:x(i.options.chart[t+"Count"],i[t+"Count"]);e||(r=x(o[s],o["_"+s]),l(r)||(i.series.length||(i[a]=0),o["_"+s]=r=i[a]%u,i[a]+=1),n&&(e=n[r])),void 0!==r&&(this[s]=r),this[t]=e},getColor:function(){this.options.colorByPoint?this.options.color=null:this.getCyclic("color",this.options.color||u[this.type].color,this.chart.options.colors)},getSymbol:function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},drawLegendSymbol:t.LegendSymbolMixin.drawLineMarker,setData:function(e,n,r,i){var o,s=this,a=s.points,u=a&&a.length||0,l=s.options,h=s.chart,p=null,d=s.xAxis,f=l.turboThreshold,y=this.xData,b=this.yData,_=(o=s.pointArrayMap)&&o.length;if(e=e||[],o=e.length,n=x(n,!0),!1!==i&&o&&u===o&&!s.cropped&&!s.hasGroupedData&&s.visible)c(e,function(t,e){a[e].update&&t!==l.data[e]&&a[e].update(t,!1,null,!1)});else{if(s.xIncrement=null,s.colorCounter=0,c(this.parallelArrays,function(t){s[t+"Data"].length=0}),f&&o>f){for(r=0;null===p&&ru||this.forceCrop)&&(r[o-1]p?(r=[],i=[]):(r[0]p)&&(n=this.cropData(this.xData,this.yData,h,p),r=n.xData,i=n.yData,n=n.start,s=!0)),u=r.length||1;--u;)o=v?c(r[u])-c(r[u-1]):r[u]-r[u-1],0o&&this.requireSorting&&t.error(15);this.cropped=s,this.cropStart=n,this.processedXData=r,this.processedYData=i,this.closestPointRange=a},cropData:function(t,e,n,r){var i,o=t.length,s=0,a=o,u=x(this.cropShoulder,1);for(i=0;i=n){s=Math.max(0,i-u);break}for(n=i;nr){a=n+u;break}return{xData:t.slice(s,a),yData:e.slice(s,a),start:s,end:a}},generatePoints:function(){var t,e,n,r,i=this.options,o=i.data,s=this.data,a=this.processedXData,u=this.processedYData,l=this.pointClass,c=a.length,h=this.cropStart||0,p=this.hasGroupedData,i=i.keys,d=[];for(s||p||(s=[],s.length=o.length,s=this.data=s),i&&p&&(this.options.keys=!1),r=0;r=p&&(o[h]||l)<=d,u&&l)if(u=c.length)for(;u--;)null!==c[u]&&(s[a++]=c[u]);else s[a++]=c;this.dataMin=i(s),this.dataMax=r(s)},translate:function(){this.processedXData||this.processData(),this.generatePoints();var t,e,n,r,i=this.options,s=i.stacking,a=this.xAxis,u=a.categories,c=this.yAxis,h=this.points,p=h.length,d=!!this.modifyValue,f=i.pointPlacement,v="between"===f||m(f),g=i.threshold,y=i.startFromThreshold?g:0,b=Number.MAX_VALUE;for("between"===f&&(f=.5),m(f)&&(f*=x(i.pointRange||a.pointRange)),i=0;i=S&&(_.isNull=!0),_.plotX=t=o(Math.min(Math.max(-1e5,a.translate(w,0,0,0,1,f,"flags"===this.type)),1e5)),s&&this.visible&&!_.isNull&&k&&k[w]&&(r=this.getStackIndicator(r,w,this.index),M=k[w],S=M.points[r.key],e=S[0],S=S[1],e===y&&r.key===k[w].base&&(e=x(g,c.min)),c.positiveValuesOnly&&0>=e&&(e=null),_.total=_.stackTotal=M.total,_.percentage=M.total&&_.y/M.total*100,_.stackY=S,M.setOffset(this.pointXOffset||0,this.barW||0)),_.yBottom=l(e)?c.translate(e,0,1,0,1):null,d&&(S=this.modifyValue(S,_)),_.plotY=e="number"==typeof S&&1/0!==S?Math.min(Math.max(-1e5,c.translate(S,0,1,0,1)),1e5):void 0,_.isInside=void 0!==e&&0<=e&&e<=c.len&&0<=t&&t<=a.len,_.clientX=v?o(a.translate(w,0,0,0,1,f)):t,_.negative=_.y<(g||0),_.category=u&&void 0!==u[_.x]?u[_.x]:_.x,_.isNull||(void 0!==n&&(b=Math.min(b,Math.abs(t-n))),n=t),_.zone=this.zones.length&&_.getZone()}this.closestPointRangePx=b},getValidPoints:function(t,e){var n=this.chart;return f(t||this.points||[],function(t){return!(e&&!n.isInsidePlot(t.plotX,t.plotY,n.inverted))&&!t.isNull})},setClip:function(t){var e=this.chart,n=this.options,r=e.renderer,i=e.inverted,o=this.clipBox,s=o||e.clipBox,a=this.sharedClipKey||["_sharedClip",t&&t.duration,t&&t.easing,s.height,n.xAxis,n.yAxis].join(),u=e[a],l=e[a+"m"];u||(t&&(s.width=0,e[a+"m"]=l=r.clipRect(-99,i?-e.plotLeft:-e.plotTop,99,i?e.chartWidth:e.chartHeight)),e[a]=u=r.clipRect(s),u.count={length:0}),t&&!u.count[this.index]&&(u.count[this.index]=!0,u.count.length+=1),!1!==n.clip&&(this.group.clip(t||o?u:e.clipRect),this.markerGroup.clip(l),this.sharedClipKey=a),t||(u.count[this.index]&&(delete u.count[this.index],--u.count.length),0===u.count.length&&a&&e[a]&&(o||(e[a]=e[a].destroy()),e[a+"m"]&&(e[a+"m"]=e[a+"m"].destroy())))},animate:function(t){var e,r=this.chart,i=n(this.options.animation);t?this.setClip(i):(e=this.sharedClipKey,(t=r[e])&&t.animate({width:r.plotSizeX},i),r[e+"m"]&&r[e+"m"].animate({width:r.plotSizeX+99},i),this.animate=null)},afterAnimate:function(){this.setClip(),d(this,"afterAnimate")},drawPoints:function(){var t,e,n,r,i,o,s,a,u=this.points,l=this.chart,c=this.options.marker,h=this[this.specialGroup]||this.markerGroup,p=x(c.enabled,!!this.xAxis.isRadial||null,this.closestPointRangePx>=2*c.radius);if(!1!==c.enabled||this._hasPointMarkers)for(e=0;ei&&e.shadow)),s&&(s.startX=n.xMap,s.isArea=n.isArea)})},applyZones:function(){var t,e,n,r,i,o,s,a,u,l=this,h=this.chart,p=h.renderer,d=this.zones,f=this.clips||[],v=this.graph,m=this.area,g=Math.max(h.chartWidth,h.chartHeight),y=this[(this.zoneAxis||"y")+"Axis"],b=h.inverted,_=!1;d.length&&(v||m)&&y&&void 0!==y.min&&(i=y.reversed,o=y.horiz,v&&v.hide(),m&&m.hide(),r=y.getExtremes(),c(d,function(c,d){t=i?o?h.plotWidth:0:o?0:y.toPixels(r.min),t=Math.min(Math.max(x(e,t),0),g),e=Math.min(Math.max(Math.round(y.toPixels(x(c.value,r.max),!0)),0),g),_&&(t=e=y.toPixels(r.max)),s=Math.abs(t-e),a=Math.min(t,e),u=Math.max(t,e),y.isXAxis?(n={x:b?u:a,y:0,width:s,height:g},o||(n.x=h.plotHeight-n.x)):(n={x:0,y:b?u:a,width:g,height:s},o&&(n.y=h.plotWidth-n.y)),b&&p.isVML&&(n=y.isXAxis?{x:0,y:i?a:u,height:n.width,width:h.chartWidth}:{x:n.y-h.plotLeft-h.spacingBox.x,y:0,width:n.height,height:h.chartHeight}),f[d]?f[d].animate(n):(f[d]=p.clipRect(n),v&&l["zone-graph-"+d].clip(f[d]),m&&l["zone-area-"+d].clip(f[d])),_=c.value>r.max}),this.clips=f)},invertGroups:function(t){function n(){c(["group","markerGroup"],function(e){i[e]&&(o.renderer.isVML&&i[e].attr({width:i.yAxis.len,height:i.xAxis.len}),i[e].width=i.yAxis.len,i[e].height=i.xAxis.len,i[e].invert(t))})}var r,i=this,o=i.chart;i.xAxis&&(r=e(o,"resize",n),e(i,"destroy",r),n(),i.invertGroups=n)},plotGroup:function(t,e,n,r,i){var o=this[t],s=!o;return s&&(this[t]=o=this.chart.renderer.g().attr({zIndex:r||.1}).add(i)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series highcharts-color-"+this.colorIndex+" "+(this.options.className||""),!0),o.attr({visibility:n})[s?"attr":"animate"](this.getPlotBox()),o},getPlotBox:function(){var t=this.chart,e=this.xAxis,n=this.yAxis;return t.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:n?n.top:t.plotTop,scaleX:1,scaleY:1}},render:function(){var t,e=this,r=e.chart,i=e.options,o=!!e.animate&&r.renderer.isSVG&&n(i.animation).duration,s=e.visible?"inherit":"hidden",a=i.zIndex,u=e.hasRendered,l=r.seriesGroup,c=r.inverted;t=e.plotGroup("group","series",s,a,l),e.markerGroup=e.plotGroup("markerGroup","markers",s,a,l),o&&e.animate(!0),t.inverted=!!e.isCartesian&&c,e.drawGraph&&(e.drawGraph(),e.applyZones()),e.drawDataLabels&&e.drawDataLabels(),e.visible&&e.drawPoints(),e.drawTracker&&!1!==e.options.enableMouseTracking&&e.drawTracker(),e.invertGroups(c),!1===i.clip||e.sharedClipKey||u||t.clip(r.clipRect),o&&e.animate(),u||(e.animationTimeout=M(function(){e.afterAnimate()},o)),e.isDirty=!1,e.hasRendered=!0},redraw:function(){var t=this.chart,e=this.isDirty||this.isDirtyData,n=this.group,r=this.xAxis,i=this.yAxis;n&&(t.inverted&&n.attr({width:t.plotWidth,height:t.plotHeight}),n.animate({translateX:x(r&&r.left,t.plotLeft),translateY:x(i&&i.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},kdAxisArray:["clientX","plotY"],searchPoint:function(t,e){var n=this.xAxis,r=this.yAxis,i=this.chart.inverted;return this.searchKDTree({clientX:i?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:i?r.len-t.chartX+r.pos:t.chartY-r.pos},e)},buildKDTree:function(){function t(n,r,i){var o,s;if(s=n&&n.length)return o=e.kdAxisArray[r%i],n.sort(function(t,e){return t[o]-e[o]}),s=Math.floor(s/2),{point:n[s],left:t(n.slice(0,s),r+1,i),right:t(n.slice(s+1),r+1,i)}}this.buildingKdTree=!0;var e=this,n=-1d?"left":"right",h=0>d?"right":"left",e[c]&&(c=n(t,e[c],a+1,u),f=c[s]a;)s--;this.updateParallelArrays(i,"splice",s,0,0),this.updateParallelArrays(i,s),h&&i.name&&(h[a]=i.name),p.splice(s,0,t),o&&(this.data.splice(s,0,null),this.processData()),"point"===u.legendType&&this.generatePoints(),n&&(l[0]&&l[0].remove?l[0].remove(!1):(l.shift(),this.updateParallelArrays(i,"shift"),p.shift())),this.isDirtyData=this.isDirty=!0,e&&c.redraw(r)},removePoint:function(t,e,n){var r=this,i=r.data,o=i[t],s=r.points,a=r.chart,u=function(){s&&s.length===i.length&&s.splice(t,1),i.splice(t,1),r.options.data.splice(t,1),r.updateParallelArrays(o||{series:r},"splice",t,1),o&&o.destroy(),r.isDirty=!0,r.isDirtyData=!0,e&&a.redraw()};_(n,a),e=g(e,!0),o?o.firePointEvent("remove",null,u):u()},remove:function(t,e,n){function r(){i.destroy(),o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(),g(t,!0)&&o.redraw(e)}var i=this,o=i.chart;!1!==n?c(i,"remove",null,r):r()},update:function(t,e){var n,r=this,i=r.chart,o=r.userOptions,s=r.oldType||r.type,u=t.type||o.type||i.options.chart.type,c=x[s].prototype,h=["group","markerGroup","dataLabelsGroup"];if(Object.keys&&"data"===Object.keys(t).toString())return this.setData(t.data,e);(u&&u!==s||void 0!==t.zIndex)&&(h.length=0),a(h,function(t){h[t]=r[t],delete r[t]}),t=v(o,{animation:!1,index:r.index,pointStart:r.xData[0]},{data:r.options.data},t),r.remove(!1,null,!1);for(n in c)r[n]=void 0;l(r,x[u||s].prototype),a(h,function(t){r[t]=h[t]}),r.init(i,t),r.oldType=s,i.linkSeries(),g(e,!0)&&i.redraw(!1)}}),l(r.prototype,{update:function(t,e){var n=this.chart;t=n.options[this.coll][this.options.index]=v(this.userOptions,t),this.destroy(!0),this.init(n,l(t,{events:void 0})),n.isDirtyBox=!0,g(e,!0)&&n.redraw()},remove:function(t){for(var e=this.chart,n=this.coll,r=this.series,i=r.length;i--;)r[i]&&r[i].remove(!1);u(e.axes,this),u(e[n],this),f(e.options[n])?e.options[n].splice(this.options.index,1):delete e.options[n],a(e[n],function(t,e){t.options.index=e}),this.destroy(),e.isDirtyBox=!0,g(t,!0)&&e.redraw()},setTitle:function(t,e){this.update({title:t},e)},setCategories:function(t,e){this.update({categories:t},e)}})}(t),function(t){var e=t.color,n=t.each,r=t.map,i=t.pick,o=t.Series;(0,t.seriesType)("area","line",{softThreshold:!1,threshold:0},{singleStacks:!1,getStackPoints:function(){var e,o,s=[],a=[],u=this.xAxis,l=this.yAxis,c=l.stacks[this.stackKey],h={},p=this.points,d=this.index,f=l.series,v=f.length,m=i(l.options.reversedStacks,!0)?1:-1;if(this.options.stacking){for(o=0;ot&&u>o?(u=Math.max(t,o),c=2*o-u):ur&&c>o?(c=Math.max(r,o),u=2*o-c):c=Math.abs(e)&&.5t.closestPointRange*t.xAxis.transA,i=t.borderWidth=a(n.borderWidth,i?0:1),o=t.yAxis,s=t.translatedThreshold=o.getThreshold(n.threshold),l=a(n.minPointLength,5),c=t.getColumnMetrics(),h=c.width,p=t.barW=Math.max(h,1+2*i),d=t.pointXOffset=c.offset;e.inverted&&(s-=.5),n.pointPadding&&(p=Math.ceil(p)),u.prototype.translate.apply(t),r(t.points,function(n){var r,i=a(n.yBottom,s),u=999+Math.abs(i),u=Math.min(Math.max(-u,n.plotY),o.len+u),c=n.plotX+d,f=p,v=Math.min(u,i),m=Math.max(u,i)-v;Math.abs(m)l?i-l:s-(r?l:0)),n.barX=c,n.pointWidth=h,n.tooltipPos=e.inverted?[o.len+o.pos-e.plotLeft-u,t.xAxis.len-c-f/2,m]:[c+f/2,u+o.pos-e.plotTop,m],n.shapeType="rect",n.shapeArgs=t.crispCol.apply(t,n.isNull?[c,s,f,0]:[c,v,f,m])})},getSymbol:t.noop,drawLegendSymbol:t.LegendSymbolMixin.drawRectangle,drawGraph:function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},pointAttribs:function(t,e){var r,i=this.options,o=this.pointAttrToOptions||{};r=o.stroke||"borderColor";var a=o["stroke-width"]||"borderWidth",u=t&&t.color||this.color,l=t[r]||i[r]||this.color||u,c=t[a]||i[a]||this[a]||0,o=i.dashStyle;return t&&this.zones.length&&(u=t.getZone(),u=t.options.color||u&&u.color||this.color),e&&(t=s(i.states[e],t.options.states&&t.options.states[e]||{}),e=t.brightness,u=t.color||void 0!==e&&n(u).brighten(t.brightness).get()||u,l=t[r]||l,c=t[a]||c,o=t.dashStyle||o),r={fill:u,stroke:l,"stroke-width":c},i.borderRadius&&(r.r=i.borderRadius),o&&(r.dashstyle=o),r},drawPoints:function(){var t,e=this,n=this.chart,i=e.options,a=n.renderer,u=i.animationLimit||250;r(e.points,function(r){var l=r.graphic;o(r.plotY)&&null!==r.y?(t=r.shapeArgs,l?l[n.pointCount {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}},{sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1,drawGraph:function(){this.options.lineWidth&&e.prototype.drawGraph.call(this)}})}(t),function(t){var e=t.pick,n=t.relativeLength;t.CenteredSeriesMixin={getCenter:function(){var t,r,i=this.options,o=this.chart,s=2*(i.slicedOffset||0),a=o.plotWidth-2*s,o=o.plotHeight-2*s,u=i.center,u=[e(u[0],"50%"),e(u[1],"50%"),i.size||"100%",i.innerSize||0],l=Math.min(a,o);for(t=0;4>t;++t)r=u[t],i=2>t||2===t&&/%$/.test(r),u[t]=n(r,[a,o,l,u[2]][t])+(i?s:0);return u[3]>u[2]&&(u[3]=u[2]),u}}}(t),function(t){var e=t.addEvent,n=t.defined,r=t.each,i=t.extend,o=t.inArray,s=t.noop,a=t.pick,u=t.Point,l=t.Series,c=t.seriesType,h=t.setAnimation;c("pie","line",{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},x:0},ignoreHiddenPoint:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,states:{hover:{brightness:.1,shadow:!1}}},{isCartesian:!1,requireSorting:!1,directTouch:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttribs:t.seriesTypes.column.prototype.pointAttribs,animate:function(t){var e=this,n=e.points,i=e.startAngleRad;t||(r(n,function(t){var n=t.graphic,r=t.shapeArgs;n&&(n.attr({r:t.startR||e.center[3]/2,start:i,end:i}),n.animate({r:r.r,start:r.start,end:r.end},e.options.animation))}),e.animate=null)},updateTotals:function(){var t,e,n=0,r=this.points,i=r.length,o=this.options.ignoreHiddenPoint;for(t=0;t1.5*Math.PI?r-=2*Math.PI:r<-Math.PI/2&&(r+=2*Math.PI),s.slicedTranslation={translateX:Math.round(Math.cos(r)*c),translateY:Math.round(Math.sin(r)*c)},n=Math.cos(r)*t[2]/2,i=Math.sin(r)*t[2]/2,s.tooltipPos=[t[0]+.7*n,t[1]+.7*i],s.half=r<-Math.PI/2||r>Math.PI/2?1:0,s.angle=r,e=Math.min(h,s.labelDistance/5),s.labelPos=[t[0]+n+Math.cos(r)*s.labelDistance,t[1]+i+Math.sin(r)*s.labelDistance,t[0]+n+Math.cos(r)*e,t[1]+i+Math.sin(r)*e,t[0]+n,t[1]+i,0>s.labelDistance?"center":s.half?"right":"left",r]},drawGraph:null,drawPoints:function(){var t,e,n,o,s=this,a=s.chart.renderer,u=s.options.shadow;u&&!s.shadowGroup&&(s.shadowGroup=a.g("shadow").add(s.group)),r(s.points,function(r){if(!r.isNull){e=r.graphic,o=r.shapeArgs,t=r.getTranslate();var l=r.shadowGroup;u&&!l&&(l=r.shadowGroup=a.g("shadow").add(s.shadowGroup)),l&&l.attr(t),n=s.pointAttribs(r,r.selected&&"select"),e?e.setRadialReference(s.center).attr(n).animate(i(o,t)):(r.graphic=e=a[r.shapeType](o).setRadialReference(s.center).attr(t).add(s.group),r.visible||e.attr({visibility:"hidden"}),e.attr(n).attr({"stroke-linejoin":"round"}).shadow(u,l)),e.addClass(r.getClassName())}})},searchPoint:s,sortByAngle:function(t,e){t.sort(function(t,n){return void 0!==t.angle&&(n.angle-t.angle)*e})},drawLegendSymbol:t.LegendSymbolMixin.drawRectangle,getCenter:t.CenteredSeriesMixin.getCenter,getSymbol:s},{init:function(){u.prototype.init.apply(this,arguments);var t,n=this;return n.name=a(n.name,"Slice"),t=function(t){n.slice("select"===t.type)},e(n,"select",t),e(n,"unselect",t),n},isValid:function(){return t.isNumber(this.y,!0)&&0<=this.y},setVisible:function(t,e){var n=this,i=n.series,s=i.chart,u=i.options.ignoreHiddenPoint;e=a(e,u),t!==n.visible&&(n.visible=n.options.visible=t=void 0===t?!n.visible:t,i.options.data[o(n,i.data)]=n.options,r(["graphic","dataLabel","connector","shadowGroup"],function(e){n[e]&&n[e][t?"show":"hide"](!0)}),n.legendItem&&s.legend.colorizeItem(n,t),t||"hover"!==n.state||n.setState(""),u&&(i.isDirty=!0),e&&s.redraw())},slice:function(t,e,r){var i=this.series;h(r,i.chart),a(e,!0),this.sliced=this.options.sliced=n(t)?t:!this.sliced,i.options.data[o(this,i.data)]=this.options,this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},getTranslate:function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},haloPath:function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:this.shapeArgs.r,start:e.start,end:e.end})}})}(t),function(t){var e=t.addEvent,n=t.arrayMax,r=t.defined,i=t.each,o=t.extend,s=t.format,a=t.map,u=t.merge,l=t.noop,c=t.pick,h=t.relativeLength,p=t.Series,d=t.seriesTypes,f=t.stableSort;t.distribute=function(t,e){function n(t,e){return t.target-e.target}var r,o,s=!0,u=t,l=[];for(o=0,r=t.length;r--;)o+=t[r].size;if(o>e){for(f(t,function(t,e){return(e.rank||0)-(t.rank||0)}),o=r=0;o<=e;)o+=t[r].size,r++;l=t.splice(r-1,t.length)}for(f(t,n),t=a(t,function(t){return{size:t.size,targets:[t.target]}});s;){for(r=t.length;r--;)s=t[r],o=(Math.min.apply(0,s.targets)+Math.max.apply(0,s.targets))/2,s.pos=Math.min(Math.max(0,o-s.size/2),e-s.size);for(r=t.length,s=!1;r--;)0t[r].pos&&(t[r-1].size+=t[r].size,t[r-1].targets=t[r-1].targets.concat(t[r].targets),t[r-1].pos+t[r-1].size>e&&(t[r-1].pos=e-t[r-1].size),t.splice(r,1),s=!0)}r=0,i(t,function(t){var e=0;i(t.targets,function(){u[r].pos=t.pos+e,e+=u[r].size,r++})}),u.push.apply(u,l),f(u,n)},p.prototype.drawDataLabels=function(){var n,o,a,l,h=this,p=h.options,d=p.dataLabels,f=h.points,v=h.hasRendered||0,m=c(d.defer,!!p.animation),g=h.chart.renderer;(d.enabled||h._hasPointLabels)&&(h.dlProcessOptions&&h.dlProcessOptions(d),l=h.plotGroup("dataLabelsGroup","data-labels",m&&!v?"hidden":"visible",d.zIndex||6),m&&(l.attr({opacity:+v}),v||e(h,"afterAnimate",function(){h.visible&&l.show(!0),l[p.animation?"animate":"attr"]({opacity:1},{duration:200})})),o=d,i(f,function(e){var i,f,v,m,y=e.dataLabel,b=e.connector,x=!y;n=e.dlOptions||e.options&&e.options.dataLabels,(i=c(n&&n.enabled,o.enabled)&&null!==e.y)&&(d=u(o,n),f=e.getLabelConfig(),a=d.format?s(d.format,f):d.formatter.call(f,d),m=d.style,f=d.rotation,m.color=c(d.color,m.color,h.color,"#000000"),"contrast"===m.color&&(e.contrastColor=g.getContrast(e.color||h.color),m.color=d.inside||0>c(e.labelDistance,d.distance)||p.stacking?e.contrastColor:"#000000"),p.cursor&&(m.cursor=p.cursor),v={fill:d.backgroundColor,stroke:d.borderColor,"stroke-width":d.borderWidth,r:d.borderRadius||0,rotation:f,padding:d.padding,zIndex:1},t.objectEach(v,function(t,e){void 0===t&&delete v[e]})),!y||i&&r(a)?i&&r(a)&&(y?v.text=a:(y=e.dataLabel=g[f?"text":"label"](a,0,-9999,d.shape,null,null,d.useHTML,null,"data-label"),y.addClass("highcharts-data-label-color-"+e.colorIndex+" "+(d.className||"")+(d.useHTML?"highcharts-tracker":""))),y.attr(v),y.css(m).shadow(d.shadow),y.added||y.add(l),h.alignDataLabel(e,y,d,null,x)):(e.dataLabel=y=y.destroy(),b&&(e.connector=b.destroy()))}))},p.prototype.alignDataLabel=function(t,e,n,r,i){var s,a=this.chart,u=a.inverted,l=c(t.plotX,-9999),h=c(t.plotY,-9999),p=e.getBBox(),d=n.rotation,f=n.align,v=this.visible&&(t.series.forceDL||a.isInsidePlot(l,Math.round(h),u)||r&&a.isInsidePlot(l,u?r.x+1:r.y+r.height-1,u)),m="justify"===c(n.overflow,"justify");v&&(s=n.style.fontSize,s=a.renderer.fontMetrics(s,e).b,r=o({x:u?a.plotWidth-h:l,y:Math.round(u?a.plotHeight-l:h),width:0,height:0},r),o(n,{width:p.width,height:p.height}),d?(m=!1,l=a.renderer.rotCorr(s,d),l={x:r.x+n.x+r.width/2+l.x,y:r.y+n.y+{top:0,middle:.5,bottom:1}[n.verticalAlign]*r.height},e[i?"attr":"animate"](l).attr({align:f}),h=(d+720)%360,h=180h,"left"===f?l.y-=h?p.height:0:"center"===f?(l.x-=p.width/2,l.y-=p.height/2):"right"===f&&(l.x-=p.width,l.y-=h?0:p.height)):(e.align(n,null,r),l=e.alignAttr),m?t.isLabelJustified=this.justifyDataLabel(e,n,l,p,r,i):c(n.crop,!0)&&(v=a.isInsidePlot(l.x,l.y)&&a.isInsidePlot(l.x+p.width,l.y+p.height)),n.shape&&!d)&&e[i?"attr":"animate"]({anchorX:u?a.plotWidth-t.plotY:t.plotX,anchorY:u?a.plotHeight-t.plotX:t.plotY}),v||(e.attr({y:-9999}),e.placed=!1)},p.prototype.justifyDataLabel=function(t,e,n,r,i,o){var s,a,u=this.chart,l=e.align,c=e.verticalAlign,h=t.box?0:t.padding||0;return s=n.x+h,0>s&&("right"===l?e.align="left":e.x=-s,a=!0),s=n.x+r.width-h,s>u.plotWidth&&("left"===l?e.align="right":e.x=u.plotWidth-s,a=!0),s=n.y+h,0>s&&("bottom"===c?e.verticalAlign="top":e.y=-s,a=!0),s=n.y+r.height-h,s>u.plotHeight&&("top"===c?e.verticalAlign="bottom":e.y=u.plotHeight-s,a=!0),a&&(t.placed=!o,t.align(e,null,i)),a},d.pie&&(d.pie.prototype.drawDataLabels=function(){var e,o,s,a,u,l,h,d,f,v,m=this,g=m.data,y=m.chart,b=m.options.dataLabels,x=c(b.connectorPadding,10),_=c(b.connectorWidth,1),w=y.plotWidth,S=y.plotHeight,M=m.center,k=M[2]/2,C=M[1],E=[[],[]],O=[0,0,0,0];m.visible&&(b.enabled||m._hasPointLabels)&&(i(g,function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)}),p.prototype.drawDataLabels.apply(m),i(g,function(t){t.dataLabel&&t.visible&&(E[t.half].push(t),t.dataLabel._pos=null)}),i(E,function(n,o){var c,p,g,_=n.length,E=[];if(_)for(m.sortByAngle(n,o-.5),0e.bottom-2?c:d,o,e),s._attr={visibility:f,align:u[6]},s._pos={x:h+b.x+({left:x,right:-x}[u[6]]||0),y:d+b.y-10},u.x=h,u.y=d,a=s.getBBox().width,c=null,h-aw-x&&(c=Math.round(h+a-w+x),O[1]=Math.max(c,O[1])),0>d-l/2?O[0]=Math.max(Math.round(l/2-d),O[0]):d+l/2>S&&(O[2]=Math.max(Math.round(d+l/2-S),O[2])),s.sideOverflow=c}),0===n(O)||this.verifyDataLabelOverflow(O))&&(this.placeDataLabels(),_&&i(this.points,function(t){var e;o=t.connector,(s=t.dataLabel)&&s._pos&&t.visible&&0c(this.translatedThreshold,s.yAxis.len)),h=c(n.inside,!!this.options.stacking);a&&(r=u(a),0>r.y&&(r.height+=r.y,r.y=0),a=r.y+r.height-s.yAxis.len,0t+n||i+se+r||o+athis.pointCount))},pan:function(t,e){var n,r=this,i=r.hoverPoints;i&&u(i,function(t){t.setState()}),u("xy"===e?[1,0]:[1],function(e){e=r[e?"xAxis":"yAxis"][0];var i,o=e.horiz,s=t[o?"chartX":"chartY"],o=o?"mouseDownX":"mouseDownY",a=r[o],u=(e.pointRange||0)/2,l=e.getExtremes(),c=e.toValue(a-s,!0)+u,u=e.toValue(a+e.len-s,!0)-u,h=u=s(n.minWidth,0)&&this.chartHeight>=s(n.minHeight,0)}).call(this)&&e.push(t._id)},e.prototype.currentOptions=function(e){function n(e,s,u,l){var c;t.objectEach(e,function(t,h){if(!l&&-1i?0:i+n),r=void 0===r||r>i?i:+r||0,r<0&&(r+=i),i=n>r?0:r>>>0,n>>>=0;n=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var r=n(322),i=n(323);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),u=r(n),l=a.length;return u<0||u>=l?t?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===l||(s=a.charCodeAt(u+1))<56320||s>57343?t?a.charAt(u):o:t?a.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},function(t,e,n){"use strict";var r=n(936),i=n(414),o=n(327),s={};n(117)(s,n(35)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(118),i=n(937),o=n(419),s=n(326)("IE_PROTO"),a=function(){},u=function(){var t,e=n(321)("iframe"),r=o.length;for(e.style.display="none",n(420).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("