!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,a){for(var s,l,u,c=0,h=[];c>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?p(t)+e:e}function v(){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 w(t){this.next=t}function _(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 k(){return{value:void 0,done:!0}}function S(t){return!!E(t)}function M(t){return t&&"function"==typeof t.next}function T(t){var e=E(t);return e&&e.call(t)}function E(t){var e=t&&(_n&&t[_n]||t[kn]);if("function"==typeof e)return e}function C(t){return t&&"number"==typeof t.length}function O(t){return null===t||void 0===t?R():o(t)?t.toSeq():Y(t)}function P(t){return null===t||void 0===t?R().toKeyedSeq():o(t)?a(t)?t.toSeq():t.fromEntrySeq():F(t)}function A(t){return null===t||void 0===t?R():o(t)?a(t)?t.entrySeq():t.toIndexedSeq():B(t)}function D(t){return(null===t||void 0===t?R():o(t)?a(t)?t.entrySeq():t:B(t)).toSetSeq()}function I(t){this._array=t,this.size=t.length}function L(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function z(t){this._iterable=t,this.size=t.length||t.size}function j(t){this._iterator=t,this._iteratorCache=[]}function N(t){return!(!t||!t[Mn])}function R(){return Tn||(Tn=new I([]))}function F(t){var e=Array.isArray(t)?new I(t).fromEntrySeq():M(t)?new j(t).fromEntrySeq():S(t)?new z(t).fromEntrySeq():"object"==typeof t?new L(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 Y(t){var e=W(t)||"object"==typeof t&&new L(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function W(t){return C(t)?new I(t):M(t)?new j(t):S(t)?new z(t):void 0}function U(t,e,n,r){var i=t._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function H(t,e,n,r){var i=t._cache;if(i){var o=i.length-1,a=0;return new w(function(){var t=i[n?o-a:a];return a++>o?k():_(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function G(t,e){return e?q(e,t,"",{"":t}):V(t)}function q(t,e,n,r){return Array.isArray(e)?t.call(r,n,A(e).map(function(n,r){return q(t,n,r,e)})):X(e)?t.call(r,n,P(e).map(function(n,r){return q(t,n,r,e)})):e}function V(t){return Array.isArray(t)?A(t).map(V).toList():X(t)?P(t).map(V).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 $(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||a(t)!==a(e)||s(t)!==s(e)||u(t)!==u(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!l(t);if(u(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,f=e.__iterate(function(e,r){if(n?!t.has(e):i?!K(e,t.get(r,vn)):!K(t.get(r,vn),e))return h=!1,!1});return h&&t.size===f}function Z(t,e){if(!(this instanceof Z))return new Z(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 Q(t,e){if(!t)throw new Error(e)}function J(t,e,n){if(!(this instanceof J))return new J(t,e,n);if(Q(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>jn?at(t):st(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return lt(t);if("function"==typeof t.toString)return st(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function at(t){var e=Fn[t];return void 0===e&&(e=st(t),Rn===Nn&&(Rn=0,Fn={}),Rn++,Fn[t]=e),e}function st(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){Q(t!==1/0,"Cannot perform this action with an infinite size.")}function ht(t){return null===t||void 0===t?_t():ft(t)&&!u(t)?t:_t().withMutations(function(e){var r=n(t);ct(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function ft(t){return!(!t||!t[Bn])}function dt(t,e){this.ownerID=t,this.entries=e}function pt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function mt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function vt(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 _(t,e[0],e[1])}function xt(t,e){return{node:t,index:0,__prev:e}}function wt(t,e,n,r){var i=Object.create(Yn);return i.size=t,i._root=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function _t(){return Wn||(Wn=wt(0))}function kt(t,e,n){var r,i;if(t._root){var o=c(gn),a=c(yn);if(r=St(t._root,t.__ownerID,0,void 0,e,n,o,a),!a.value)return t;i=t.size+(o.value?n===vn?-1:1:0)}else{if(n===vn)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?wt(i,r):_t()}function St(t,e,n,r,i,o,a,s){return t?t.update(e,n,r,i,o,a,s):o===vn?t:(h(s),h(a),new gt(e,r,[i,o]))}function Mt(t){return t.constructor===gt||t.constructor===vt}function Tt(t,e,n,r,i){if(t.keyHash===r)return new vt(e,r,[t.entry,i]);var o,a=(0===n?t.keyHash:t.keyHash>>>n)&mn,s=(0===n?r:r>>>n)&mn;return new pt(e,1<>>=1)a[s]=1&n?e[o++]:void 0;return a[r]=i,new mt(t,o+1,a)}function Pt(t,e,r){for(var i=[],a=0;a>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function jt(t,e,n,r){var i=r?t:d(t);return i[e]=n,i}function Nt(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),a=0,s=0;s0&&io?0:o-n,u=a-n;return u>pn&&(u=pn),function(){if(i===u)return Kn;var t=e?--u:i++;return r&&r[t]}}function i(t,r,i){var s,l=t&&t.array,u=i>o?0:o-i>>r,c=1+(a-i>>r);return c>pn&&(c=pn),function(){for(;;){if(s){var t=s();if(t!==Kn)return t;s=null}if(u===c)return Kn;var o=e?--c:u++;s=n(l&&l[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>=Zt(t._capacity)?r=qt(r,t.__ownerID,0,e,n,o):i=qt(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):Ut(t._origin,t._capacity,t._level,i,r):t}function qt(t,e,n,r,i,o){var a=r>>>n&mn,s=t&&a0){var u=t&&t.array[a],c=qt(u,e,n-dn,r,i,o);return c===u?t:(l=Vt(t,e),l.array[a]=c,l)}return s&&t.array[a]===i?t:(h(o),l=Vt(t,e),void 0===i&&a===l.array.length-1?l.array.pop():l.array[a]=i,l)}function Vt(t,e){return e&&t&&e===t.ownerID?t:new Yt(t?t.array.slice():[],e)}function Xt(t,e){if(e>=Zt(t._capacity))return t._tail;if(e<1<0;)n=n.array[e>>>r&mn],r-=dn;return n}}function Kt(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new f,i=t._origin,o=t._capacity,a=i+e,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return t;if(a>=s)return t.clear();for(var l=t._level,u=t._root,c=0;a+c<0;)u=new Yt(u&&u.array.length?[void 0,u]:[],r),l+=dn,c+=1<=1<h?new Yt([],r):p;if(p&&d>h&&adn;g-=dn){var y=h>>>g&mn;v=v.array[y]=Vt(v.array[y],r)}v.array[h>>>dn&mn]=p}if(s=d)a-=d,s-=d,l=dn,u=null,m=m&&m.removeBefore(r,0,a);else if(a>i||d>>l&mn;if(b!==d>>>l&mn)break;b&&(c+=(1<i&&(u=u.removeBefore(r,l,a-c)),u&&da&&(a=u.size),o(l)||(u=u.map(function(t){return G(t)})),i.push(u)}return a>t.size&&(t=t.setSize(a)),It(t,e,i)}function Zt(t){return t>>dn<=pn&&a.size>=2*o.size?(i=a.filter(function(t,e){return void 0!==t&&s!==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=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return t;r=o,i=a.set(s,[e,n])}else r=o.set(e,a.size),i=a.set(a.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 ae(t){this._iter=t,this.size=t.size}function se(t){var e=Ce(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=Oe,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===wn){var r=t.__iterator(e,n);return new w(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 le(t,e,n){var r=Ce(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,i){var o=t.get(r,vn);return o===vn?i:e.call(n,o,r,t)},r.__iterateUncached=function(r,i){var o=this;return t.__iterate(function(t,i,a){return!1!==r(e.call(n,t,i,a),i,o)},i)},r.__iteratorUncached=function(r,i){var o=t.__iterator(wn,i);return new w(function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return _(r,s,e.call(n,a[1],s,t),i)})},r}function ue(t,e){var n=Ce(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=se(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=Oe,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=Ce(t);return r&&(i.has=function(r){var i=t.get(r,vn);return i!==vn&&!!e.call(n,i,r,t)},i.get=function(r,i){var o=t.get(r,vn);return o!==vn&&e.call(n,o,r,t)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return t.__iterate(function(t,o,l){if(e.call(n,t,o,l))return s++,i(t,r?o:s-1,a)},o),s},i.__iteratorUncached=function(i,o){var a=t.__iterator(wn,o),s=0;return new w(function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(e.call(n,c,u,t))return _(i,r?u:s++,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 fe(t,e,n){var r=a(t),i=(u(t)?Qt():ht()).asMutable();t.__iterate(function(o,a){i.update(e.call(n,o,a,t),function(t){return t=t||[],t.push(r?[a,o]:o),t})});var o=Ee(t);return i.map(function(e){return Se(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),a=b(n,i);if(o!==o||a!==a)return de(t.toSeq().cacheResult(),e,n,r);var s,l=a-o;l===l&&(s=l<0?0:l);var u=Ce(t);return u.size=0===s?s:t.size&&s||void 0,!r&&N(t)&&s>=0&&(u.get=function(e,n){return e=m(this,e),e>=0&&es)return k();var t=i.next();return r||e===xn?t:e===bn?_(e,l-1,void 0,t):_(e,l-1,t.value[1],t)})},u}function pe(t,e,n){var r=Ce(t);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return t.__iterate(function(t,i,s){return e.call(n,t,i,s)&&++a&&r(t,i,o)}),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=t.__iterator(wn,i),s=!0;return new w(function(){if(!s)return k();var t=a.next();if(t.done)return t;var i=t.value,l=i[0],u=i[1];return e.call(n,u,l,o)?r===wn?t:_(r,l,u,t):(s=!1,k())})},r}function me(t,e,n,r){var i=Ce(t);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return t.__iterate(function(t,o,u){if(!s||!(s=e.call(n,t,o,u)))return l++,i(t,r?o:l-1,a)}),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=t.__iterator(wn,o),l=!0,u=0;return new w(function(){var t,o,c;do{if(t=s.next(),t.done)return r||i===xn?t:i===bn?_(i,u++,void 0,t):_(i,u++,t.value[1],t);var h=t.value;o=h[0],c=h[1],l&&(l=e.call(n,c,o,a))}while(l);return i===wn?t:_(i,o,c,t)})},i}function ve(t,e){var r=a(t),i=[t].concat(e).map(function(t){return o(t)?r&&(t=n(t)):t=r?F(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 l=i[0];if(l===t||r&&a(l)||s(t)&&s(l))return l}var u=new I(i);return r?u=u.toKeyedSeq():s(t)||(u=u.toSetSeq()),u=u.flatten(!0),u.size=i.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),u}function ge(t,e,n){var r=Ce(t);return r.__iterateUncached=function(r,i){function a(t,u){var c=this;t.__iterate(function(t,i){return(!e||u0}function ke(t,n,r){var i=Ce(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),T(i?t.reverse():t)}),a=0,s=!1;return new w(function(){var e;return s||(e=o.map(function(t){return t.next()}),s=e.some(function(t){return t.done})),s?k():_(t,a++,n.apply(null,e.map(function(t){return t.value})))})},i}function Se(t,e){return N(t)?e:t.constructor(e)}function Me(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Te(t){return ct(t.size),p(t)}function Ee(t){return a(t)?n:s(t)?r:i}function Ce(t){return Object.create((a(t)?P:s(t)?A:D).prototype)}function Oe(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):O.prototype.cacheResult.call(this)}function Pe(t,e){return t>e?1:te?-1:0}function on(t){if(t.size===1/0)return 0;var e=u(t),n=a(t),r=e?1:0;return an(t.__iterate(n?e?function(t,e){r=31*r+sn(ot(t),ot(e))|0}:function(t,e){r=r+sn(ot(t),ot(e))|0}:e?function(t){r=31*r+ot(t)|0}:function(t){r=r+ot(t)|0}),r)}function an(t,e){return e=Pn(e,3432918353),e=Pn(e<<15|e>>>-15,461845907),e=Pn(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=Pn(e^e>>>16,2246822507),e=Pn(e^e>>>13,3266489909),e=it(e^e>>>16)}function sn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var ln=Array.prototype.slice;t(n,e),t(r,e),t(i,e),e.isIterable=o,e.isKeyed=a,e.isIndexed=s,e.isAssociative=l,e.isOrdered=u,e.Keyed=n,e.Indexed=r,e.Set=i;var un="@@__IMMUTABLE_ITERABLE__@@",cn="@@__IMMUTABLE_KEYED__@@",hn="@@__IMMUTABLE_INDEXED__@@",fn="@@__IMMUTABLE_ORDERED__@@",dn=5,pn=1<r?k():_(t,i,n[e?r-i++:i++])})},t(L,P),L.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},L.prototype.has=function(t){return this._object.hasOwnProperty(t)},L.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[e?i-o:o];if(!1===t(n[a],a,this))return o+1}return o},L.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,i=r.length-1,o=0;return new w(function(){var a=r[e?i-o:o];return o++>i?k():_(t,a,n[a])})},L.prototype[fn]=!0,t(z,A),z.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=T(n),i=0;if(M(r))for(var o;!(o=r.next()).done&&!1!==t(o.value,i++,this););return i},z.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=T(n);if(!M(r))return new w(k);var i=0;return new w(function(){var e=r.next();return e.done?e:_(t,i++,e.value)})},t(j,A),j.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 _(t,i,r[i++])})};var Tn;t(Z,A),Z.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Z.prototype.get=function(t,e){return this.has(t)?this._value:e},Z.prototype.includes=function(t){return K(this._value,t)},Z.prototype.slice=function(t,e){var n=this.size;return g(t,e,n)?this:new Z(this._value,b(e,n)-y(t,n))},Z.prototype.reverse=function(){return this},Z.prototype.indexOf=function(t){return K(this._value,t)?0:-1},Z.prototype.lastIndexOf=function(t){return K(this._value,t)?this.size:-1},Z.prototype.__iterate=function(t,e){for(var n=0;n=0&&e=0&&nn?k():_(t,o++,a)})},J.prototype.equals=function(t){return t instanceof J?this._start===t._start&&this._end===t._end&&this._step===t._step:$(this,t)};var Cn;t(tt,e),t(et,tt),t(nt,tt),t(rt,tt),tt.Keyed=et,tt.Indexed=nt,tt.Set=rt;var On,Pn="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},An=Object.isExtensible,Dn=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),In="function"==typeof WeakMap;In&&(On=new WeakMap);var Ln=0,zn="__immutablehash__";"function"==typeof Symbol&&(zn=Symbol(zn));var jn=16,Nn=255,Rn=0,Fn={};t(ht,et),ht.of=function(){var t=ln.call(arguments,0);return _t().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 kt(this,t,e)},ht.prototype.setIn=function(t,e){return this.updateIn(t,vn,function(){return e})},ht.prototype.remove=function(t){return kt(this,t,vn)},ht.prototype.deleteIn=function(t){return this.updateIn(t,function(){return vn})},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=Lt(this,Ae(t),e,n);return r===vn?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):_t()},ht.prototype.merge=function(){return Pt(this,void 0,arguments)},ht.prototype.mergeWith=function(t){return Pt(this,t,ln.call(arguments,1))},ht.prototype.mergeIn=function(t){var e=ln.call(arguments,1);return this.updateIn(t,_t(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},ht.prototype.mergeDeep=function(){return Pt(this,At,arguments)},ht.prototype.mergeDeepWith=function(t){var e=ln.call(arguments,1);return Pt(this,Dt(t),e)},ht.prototype.mergeDeepIn=function(t){var e=ln.call(arguments,1);return this.updateIn(t,_t(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},ht.prototype.sort=function(t){return Qt(xe(this,t))},ht.prototype.sortBy=function(t,e){return Qt(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 f)},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?wt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},ht.isMap=ft;var Bn="@@__IMMUTABLE_MAP__@@",Yn=ht.prototype;Yn[Bn]=!0,Yn.delete=Yn.remove,Yn.removeIn=Yn.deleteIn,dt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,a=i.length;o=Un)return Et(t,l,r,i);var p=t&&t===this.ownerID,m=p?l:d(l);return f?s?u===c-1?m.pop():m[u]=m.pop():m[u]=[r,i]:m.push([r,i]),p?(this.entries=m,this):new dt(t,m)}},pt.prototype.get=function(t,e,n,r){void 0===e&&(e=ot(n));var i=1<<((0===t?e:e>>>t)&mn),o=this.bitmap;return 0==(o&i)?r:this.nodes[zt(o&i-1)].get(t+dn,e,n,r)},pt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=ot(r));var s=(0===e?n:n>>>e)&mn,l=1<=Hn)return Ot(t,f,u,s,p);if(c&&!p&&2===f.length&&Mt(f[1^h]))return f[1^h];if(c&&p&&1===f.length&&Mt(p))return p;var m=t&&t===this.ownerID,v=c?p?u:u^l:u|l,g=c?p?jt(f,h,p,m):Rt(f,h,m):Nt(f,h,p,m);return m?(this.bitmap=v,this.nodes=g,this):new pt(t,v,g)},mt.prototype.get=function(t,e,n,r){void 0===e&&(e=ot(n));var i=(0===t?e:e>>>t)&mn,o=this.nodes[i];return o?o.get(t+dn,e,n,r):r},mt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=ot(r));var s=(0===e?n:n>>>e)&mn,l=i===vn,u=this.nodes,c=u[s];if(l&&!c)return this;var h=St(c,t,e+dn,n,r,i,o,a);if(h===c)return this;var f=this.count;if(c){if(!h&&--f=0&&t>>e&mn;if(r>=this.array.length)return new Yt([],t);var i,o=0===r;if(e>0){var a=this.array[r];if((i=a&&a.removeBefore(t,e-dn,n))===a&&o)return this}if(o&&!i)return this;var s=Vt(this,t);if(!o)for(var l=0;l>>e&mn;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 a=Vt(this,t);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Xn,Kn={};t(Qt,ht),Qt.of=function(){return this(arguments)},Qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Qt.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ee()},Qt.prototype.set=function(t,e){return ne(this,t,e)},Qt.prototype.remove=function(t){return ne(this,t,vn)},Qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Qt.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},Qt.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Qt.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)},Qt.isOrderedMap=Jt,Qt.prototype[fn]=!0,Qt.prototype.delete=Qt.prototype.remove;var $n;t(re,P),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=ue(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},re.prototype.map=function(t,e){var n=this,r=le(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?Te(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?Te(this):0;return new w(function(){var i=n.next();return i.done?i:_(t,e?--r:r++,i.value,i)})},re.prototype[fn]=!0,t(ie,A),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 w(function(){var e=n.next();return e.done?e:_(t,r++,e.value,e)})},t(oe,D),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 w(function(){var e=n.next();return e.done?e:_(t,e.value,e.value,e)})},t(ae,P),ae.prototype.entrySeq=function(){return this._iter.toSeq()},ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){Me(e);var r=o(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(xn,e);return new w(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Me(r);var i=o(r);return _(t,i?r.get(0):r[0],i?r.get(1):r[1],e)}}})},ie.prototype.cacheResult=re.prototype.cacheResult=oe.prototype.cacheResult=ae.prototype.cacheResult=Oe,t(De,et),De.prototype.toString=function(){return this.__toString(Le(this)+" {","}")},De.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},De.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},De.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Ie(this,_t()))},De.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Le(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)},De.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)},De.prototype.wasAltered=function(){return this._map.wasAltered()},De.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},De.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},De.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 Zn=De.prototype;Zn.delete=Zn.remove,Zn.deleteIn=Zn.removeIn=Yn.removeIn,Zn.merge=Yn.merge,Zn.mergeWith=Yn.mergeWith,Zn.mergeIn=Yn.mergeIn,Zn.mergeDeep=Yn.mergeDeep,Zn.mergeDeepWith=Yn.mergeDeepWith,Zn.mergeDeepIn=Yn.mergeDeepIn,Zn.setIn=Yn.setIn,Zn.update=Yn.update,Zn.updateIn=Yn.updateIn,Zn.withMutations=Yn.withMutations,Zn.asMutable=Yn.asMutable,Zn.asImmutable=Yn.asImmutable,t(Ne,rt),Ne.of=function(){return this(arguments)},Ne.fromKeys=function(t){return this(n(t).keySeq())},Ne.prototype.toString=function(){return this.__toString("Set {","}")},Ne.prototype.has=function(t){return this._map.has(t)},Ne.prototype.add=function(t){return Fe(this,this._map.set(t,!0))},Ne.prototype.remove=function(t){return Fe(this,this._map.remove(t))},Ne.prototype.clear=function(){return Fe(this,this._map.clear())},Ne.prototype.union=function(){var t=ln.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)},qe.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)},qe.prototype.pop=function(){return this.slice(1)},qe.prototype.unshift=function(){return this.push.apply(this,arguments)},qe.prototype.unshiftAll=function(t){return this.pushAll(t)},qe.prototype.shift=function(){return this.pop.apply(this,arguments)},qe.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()},qe.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)},qe.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)},qe.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},qe.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new w(function(){if(r){var e=r.value;return r=r.next,_(t,n++,e)}return k()})},qe.isStack=Ve;var rr="@@__IMMUTABLE_STACK__@@",ir=qe.prototype;ir[rr]=!0,ir.withMutations=Yn.withMutations,ir.asMutable=Yn.asMutable,ir.asImmutable=Yn.asImmutable,ir.wasAltered=Yn.wasAltered;var or;e.Iterator=w,$e(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 Qt(this.toKeyedSeq())},toOrderedSet:function(){return We(a(this)?this.valueSeq():this)},toSet:function(){return Ne(a(this)?this.valueSeq():this)},toSetSeq:function(){return new oe(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qe(a(this)?this.valueSeq():this)},toList:function(){return Ft(a(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 Se(this,ve(this,ln.call(arguments,0)))},includes:function(t){return this.some(function(e){return K(e,t)})},entries:function(){return this.__iterator(wn)},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 Se(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 Se(this,le(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,a){i?(i=!1,r=e):r=t.call(n,r,e,o,a)}),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Se(this,ue(this,!0))},slice:function(t,e){return Se(this,de(this,t,e,!0))},some:function(t,e){return!this.every(Je(t),e)},sort:function(t){return Se(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 p(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return he(this,t,e)},equals:function(t){return $(this,t)},entrySeq:function(){var t=this;if(t._cache)return new I(t._cache);var e=t.toSeq().map(Qe).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Je(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(v)},flatMap:function(t,e){return Se(this,ye(this,t,e))},flatten:function(t){return Se(this,ge(this,t,!0))},fromEntrySeq:function(){return new ae(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=Ae(t);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,vn):vn)===vn)return e}return r},groupBy:function(t,e){return fe(this,t,e)},has:function(t){return this.get(t,vn)!==vn},hasIn:function(t){return this.getIn(t,vn)!==vn},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(Ze).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return we(this,t)},maxBy:function(t,e){return we(this,e,t)},min:function(t){return we(this,t?tn(t):rn)},minBy:function(t,e){return we(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 Se(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Se(this,me(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Je(t),e)},sortBy:function(t,e){return Se(this,xe(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Se(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Se(this,pe(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Je(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var ar=e.prototype;ar[un]=!0,ar[Sn]=ar.values,ar.__toJS=ar.toArray,ar.__toStringMapper=en,ar.inspect=ar.toSource=function(){return this.toString()},ar.chain=ar.flatMap,ar.contains=ar.includes,$e(n,{flip:function(){return Se(this,se(this))},mapEntries:function(t,e){var n=this,r=0;return Se(this,this.toSeq().map(function(i,o){return t.call(e,[o,i],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Se(this,this.toSeq().flip().map(function(r,i){return t.call(e,r,i,n)}).flip())}});var sr=n.prototype;return sr[cn]=!0,sr[Sn]=ar.entries,sr.__toJS=ar.toObject,sr.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+en(t)},$e(r,{toKeyedSeq:function(){return new re(this,!1)},filter:function(t,e){return Se(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 Se(this,ue(this,!1))},slice:function(t,e){return Se(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 Se(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 Se(this,ge(this,t,!1))},get:function(t,e){return t=m(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=m(this,t))>=0&&(void 0!==this.size?this.size===1/0||t0)for(n in yr)r=yr[n],i=e[r],m(i)||(t[r]=i);return t}function g(t){v(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 w(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(r=0;r0?"future":"past"];return M(n)?n(e):n.replace(/%s/i,e)}function z(t,e){var n=t.toLowerCase();Cr[n]=Cr[n+"s"]=Cr[e]=t}function j(t){return"string"==typeof t?Cr[t]||Cr[t.toLowerCase()]:void 0}function N(t){var e,n,r={};for(n in t)l(t,n)&&(e=j(n))&&(r[e]=t[n]);return r}function R(t,e){Or[t]=e}function F(t){var e=[];for(var n in t)e.push({unit:n,priority:Or[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):Y(this,t)}}function Y(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 U(t){return t=j(t),M(this[t])?this[t]():this}function H(t,e){if("object"==typeof t){t=N(t);for(var n=F(t),r=0;r=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function q(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 G(i.apply(this,arguments),e[1],e[2])}),n&&(Ir[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function V(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function X(t){var e,n,r=t.match(Pr);for(e=0,n=r.length;e=0&&Ar.test(t);)t=t.replace(Ar,n),Ar.lastIndex=0,r-=1;return t}function Z(t,e,n){Zr[t]=M(e)?e:function(t,r){return t&&n?n:e}}function Q(t,e){return l(Zr,t)?Zr[t](e._strict,e._locale):new RegExp(J(t))}function J(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(s.getFullYear())&&s.setFullYear(t),s}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 wt(t,e,n,r,i){var o,a,s=(7+n-r)%7,l=xt(t,r,i),u=1+7*(e-1)+s+l;return u<=0?(o=t-1,a=mt(o)+u):u>mt(t)?(o=t+1,a=u-mt(t)):(o=t,a=u),{year:o,dayOfYear:a}}function _t(t,e,n){var r,i,o=xt(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?(i=t.year()-1,r=a+kt(i,e,n)):a>kt(t.year(),e,n)?(r=a-kt(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function kt(t,e,n){var r=xt(t,e,n),i=xt(t+1,e,n);return(mt(t)-r+i)/7}function St(t){return _t(t,this._week.dow,this._week.doy).week}function Mt(){return this._week.dow}function Tt(){return this._week.doy}function Et(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Ct(t){var e=_t(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Ot(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function Pt(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function At(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 Dt(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort}function It(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Lt(t,e,n){var r,i,o,a=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=li.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===e?(i=li.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=li.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===e?(i=li.call(this._weekdaysParse,a),-1!==i?i:(i=li.call(this._shortWeekdaysParse,a),-1!==i?i:(i=li.call(this._minWeekdaysParse,a),-1!==i?i:null))):"ddd"===e?(i=li.call(this._shortWeekdaysParse,a),-1!==i?i:(i=li.call(this._weekdaysParse,a),-1!==i?i:(i=li.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=li.call(this._minWeekdaysParse,a),-1!==i?i:(i=li.call(this._weekdaysParse,a),-1!==i?i:(i=li.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function zt(t,e,n){var r,i,o;if(this._weekdaysParseExact)return Lt.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 jt(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Ot(t,this.localeData()),this.add(t-e,"d")):e}function Nt(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 Rt(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Pt(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Ft(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Wt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=bi),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Bt(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Wt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=xi),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Yt(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Wt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=wi),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Wt(){function t(t,e){return e.length-t.length}var e,n,r,i,o,a=[],s=[],l=[],u=[];for(e=0;e<7;e++)n=c([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),u.push(r),u.push(i),u.push(o);for(a.sort(t),s.sort(t),l.sort(t),u.sort(t),e=0;e<7;e++)s[e]=tt(s[e]),l[e]=tt(l[e]),u[e]=tt(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ut(){return this.hours()%12||12}function Ht(){return this.hours()||24}function Gt(t,e){q(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function qt(t,e){return e._meridiemParse}function Vt(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 $t(t){for(var e,n,r,i,o=0;o0;){if(r=Zt(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&w(i,n,!0)>=e-1)break;e--}o++}return null}function Zt(e){var n=null;if(!Ti[e]&&void 0!==t&&t&&t.exports)try{n=_i._abbr,function(){var t=new Error('Cannot find module "./locale"');throw t.code="MODULE_NOT_FOUND",t}(),Qt(n)}catch(e){}return Ti[e]}function Qt(t,e){var n;return t&&(n=m(e)?ee(t):Jt(t,e))&&(_i=n),_i._abbr}function Jt(t,e){if(null!==e){var n=Mi;if(e.abbr=t,null!=Ti[t])S("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=Ti[t]._config;else if(null!=e.parentLocale){if(null==Ti[e.parentLocale])return Ei[e.parentLocale]||(Ei[e.parentLocale]=[]),Ei[e.parentLocale].push({name:t,config:e}),null;n=Ti[e.parentLocale]._config}return Ti[t]=new C(E(n,e)),Ei[t]&&Ei[t].forEach(function(t){Jt(t.name,t.config)}),Qt(t),Ti[t]}return delete Ti[t],null}function te(t,e){if(null!=e){var n,r=Mi;null!=Ti[t]&&(r=Ti[t]._config),e=E(r,e),n=new C(e),n.parentLocale=Ti[t],Ti[t]=n,Qt(t)}else null!=Ti[t]&&(null!=Ti[t].parentLocale?Ti[t]=Ti[t].parentLocale:null!=Ti[t]&&delete Ti[t]);return Ti[t]}function ee(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return _i;if(!n(t)){if(e=Zt(t))return e;t=[t]}return $t(t)}function ne(){return kr(Ti)}function re(t){var e,n=t._a;return n&&-2===f(t).overflow&&(e=n[ti]<0||n[ti]>11?ti:n[ei]<1||n[ei]>it(n[Jr],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,f(t)._overflowDayOfYear&&(eei)&&(e=ei),f(t)._overflowWeeks&&-1===e&&(e=ai),f(t)._overflowWeekday&&-1===e&&(e=si),f(t).overflow=e),t}function ie(t){var e,n,r,i,o,a,s=t._i,l=Ci.exec(s)||Oi.exec(s);if(l){for(f(t).iso=!0,e=0,n=Ai.length;emt(i)&&(f(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 ue(t){var e,n,r,i,o,a,s,l;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)o=1,a=4,n=ae(e.GG,t._a[Jr],_t(ye(),1,4).year),r=ae(e.W,1),((i=ae(e.E,1))<1||i>7)&&(l=!0);else{o=t._locale._week.dow,a=t._locale._week.doy;var u=_t(ye(),o,a);n=ae(e.gg,t._a[Jr],u.year),r=ae(e.w,u.week),null!=e.d?((i=e.d)<0||i>6)&&(l=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(l=!0)):i=o}r<1||r>kt(n,o,a)?f(t)._overflowWeeks=!0:null!=l?f(t)._overflowWeekday=!0:(s=wt(n,r,i,o,a),t._a[Jr]=s.year,t._dayOfYear=s.dayOfYear)}function ce(t){if(t._f===e.ISO_8601)return void ie(t);t._a=[],f(t).empty=!0;var n,r,i,o,a,s=""+t._i,l=s.length,u=0;for(i=$(t._f,t._locale).match(Pr)||[],n=0;n0&&f(t).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),u+=r.length),Ir[o]?(r?f(t).empty=!1:f(t).unusedTokens.push(o),rt(o,r,t)):t._strict&&!r&&f(t).unusedTokens.push(o);f(t).charsLeftOver=l-u,s.length>0&&f(t).unusedInput.push(s),t._a[ni]<=12&&!0===f(t).bigHour&&t._a[ni]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[ni]=he(t._locale,t._a[ni],t._meridiem),le(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 fe(t){var e,n,r,i,o;if(0===t._f.length)return f(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 je(){if(!m(this._isDSTShifted))return this._isDSTShifted;var t={};if(v(t,this),t=me(t),t._a){var e=t._isUTC?c(t._a):ye(t._a);this._isDSTShifted=this.isValid()&&w(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Ne(){return!!this.isValid()&&!this._isUTC}function Re(){return!!this.isValid()&&this._isUTC}function Fe(){return!!this.isValid()&&this._isUTC&&0===this._offset}function Be(t,e){var n,r,i,a=t,s=null;return ke(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:o(t)?(a={},e?a[e]=t:a.milliseconds=t):(s=Ri.exec(t))?(n="-"===s[1]?-1:1,a={y:0,d:x(s[ei])*n,h:x(s[ni])*n,m:x(s[ri])*n,s:x(s[ii])*n,ms:x(Se(1e3*s[oi]))*n}):(s=Fi.exec(t))?(n="-"===s[1]?-1:1,a={y:Ye(s[2],n),M:Ye(s[3],n),w:Ye(s[4],n),d:Ye(s[5],n),h:Ye(s[6],n),m:Ye(s[7],n),s:Ye(s[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=Ue(ye(a.from),ye(a.to)),a={},a.ms=i.milliseconds,a.M=i.months),r=new _e(a),ke(t)&&l(t,"_locale")&&(r._locale=t._locale),r}function Ye(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 Ue(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)||(S(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),Ge(this,i,t),this}}function Ge(t,n,r,i){var o=n._milliseconds,a=Se(n._days),s=Se(n._months);t.isValid()&&(i=null==i||i,o&&t._d.setTime(t._d.valueOf()+o*r),a&&W(t,"Date",Y(t,"Date")+a*r),s&&ut(t,Y(t,"Month")+s*r),i&&e.updateOffset(t,a||s))}function qe(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 Ve(t,n){var r=t||ye(),i=Ee(r,this).startOf("day"),o=e.calendarFormat(this,i)||"sameElse",a=n&&(M(n[o])?n[o].call(this,r):n[o]);return this.format(a||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=j(m(e)?"millisecond":e),"millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()o&&(e=o),Dn.call(this,t,e,n,r,i))}function Dn(t,e,n,r,i){var o=wt(t,e,n,r,i),a=bt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function In(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Ln(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 zn(t,e){e[oi]=x(1e3*("0."+t))}function jn(){return this._isUTC?"UTC":""}function Nn(){return this._isUTC?"Coordinated Universal Time":""}function Rn(t){return ye(1e3*t)}function Fn(){return ye.apply(null,arguments).parseZone()}function Bn(t){return t}function Yn(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 Yn(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Yn(t,r,n,"month");return i}function Un(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(),a=t?i._week.dow:0;if(null!=n)return Yn(e,(n+a)%7,r,"day");var s,l=[];for(s=0;s<7;s++)l[s]=Yn(e,(s+a)%7,r,"day");return l}function Hn(t,e){return Wn(t,e,"months")}function Gn(t,e){return Wn(t,e,"monthsShort")}function qn(t,e,n){return Un(t,e,n,"weekdays")}function Vn(t,e,n){return Un(t,e,n,"weekdaysShort")}function Xn(t,e,n){return Un(t,e,n,"weekdaysMin")}function Kn(){var t=this._data;return this._milliseconds=$i(this._milliseconds),this._days=$i(this._days),this._months=$i(this._months),t.milliseconds=$i(t.milliseconds),t.seconds=$i(t.seconds),t.minutes=$i(t.minutes),t.hours=$i(t.hours),t.months=$i(t.months),t.years=$i(t.years),this}function $n(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 Zn(t,e){return $n(this,t,e,1)}function Qn(t,e){return $n(this,t,e,-1)}function Jn(t){return t<0?Math.floor(t):Math.ceil(t)}function tr(){var t,e,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Jn(nr(s)+a),a=0,s=0),l.milliseconds=o%1e3,t=b(o/1e3),l.seconds=t%60,e=b(t/60),l.minutes=e%60,n=b(e/60),l.hours=n%24,a+=b(n/24),i=b(er(a)),s+=i,a-=Jn(nr(i)),r=b(s/12),s%=12,l.days=a,l.months=s,l.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=j(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 ar(t){return t=j(t),this[t+"s"]()}function sr(t){return function(){return this._data[t]}}function lr(){return b(this.days()/7)}function ur(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function cr(t,e,n){var r=Be(t).abs(),i=fo(r.as("s")),o=fo(r.as("m")),a=fo(r.as("h")),s=fo(r.as("d")),l=fo(r.as("M")),u=fo(r.as("y")),c=i0,c[4]=n,ur.apply(null,c)}function hr(t){return void 0===t?fo:"function"==typeof t&&(fo=t,!0)}function fr(t,e){return void 0!==po[t]&&(void 0===e?po[t]:(po[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 pr(){var t,e,n,r=mo(this._milliseconds)/1e3,i=mo(this._days),o=mo(this._months);t=b(r/60),e=b(t/60),r%=60,t%=60,n=b(o/12),o%=12;var a=n,s=o,l=i,u=e,c=t,h=r,f=this.asSeconds();return f?(f<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(u||c||h?"T":"")+(u?u+"H":"")+(c?c+"M":"")+(h?h+"S":""):"P0D"}var mr,vr;vr=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r68?1900:2e3)};var pi=B("FullYear",!0);q("w",["ww",2],"wo","week"),q("W",["WW",2],"Wo","isoWeek"),z("week","w"),z("isoWeek","W"),R("week",5),R("isoWeek",5),Z("w",Fr),Z("ww",Fr,zr),Z("W",Fr),Z("WW",Fr,zr),nt(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=x(t)});var mi={dow:0,doy:6};q("d",0,"do","day"),q("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),q("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),q("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),q("e",0,0,"weekday"),q("E",0,0,"isoWeekday"),z("day","d"),z("weekday","e"),z("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),Z("d",Fr),Z("e",Fr),Z("E",Fr),Z("dd",function(t,e){return e.weekdaysMinRegex(t)}),Z("ddd",function(t,e){return e.weekdaysShortRegex(t)}),Z("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:f(n).invalidWeekday=t}),nt(["d","e","E"],function(t,e,n,r){e[r]=x(t)});var vi="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=$r,xi=$r,wi=$r;q("H",["HH",2],0,"hour"),q("h",["hh",2],0,Ut),q("k",["kk",2],0,Ht),q("hmm",0,0,function(){return""+Ut.apply(this)+G(this.minutes(),2)}),q("hmmss",0,0,function(){return""+Ut.apply(this)+G(this.minutes(),2)+G(this.seconds(),2)}),q("Hmm",0,0,function(){return""+this.hours()+G(this.minutes(),2)}),q("Hmmss",0,0,function(){return""+this.hours()+G(this.minutes(),2)+G(this.seconds(),2)}),Gt("a",!0),Gt("A",!1),z("hour","h"),R("hour",13),Z("a",qt),Z("A",qt),Z("H",Fr),Z("h",Fr),Z("HH",Fr,zr),Z("hh",Fr,zr),Z("hmm",Br),Z("hmmss",Yr),Z("Hmm",Br),Z("Hmmss",Yr),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),f(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)),f(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)),f(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 _i,ki=/[ap]\.?m?\.?/i,Si=B("Hours",!0),Mi={calendar:Sr,longDateFormat:Mr,invalidDate:"Invalid date",ordinal:"%d",ordinalParse:Tr,relativeTime:Er,months:ci,monthsShort:hi,week:mi,weekdays:vi,weekdaysMin:yi,weekdaysShort:gi,meridiemParse:ki},Ti={},Ei={},Ci=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Oi=/^\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)?)?$/,Pi=/Z|[+-]\d\d(?::?\d\d)?/,Ai=[["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}/]],Di=[["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=k("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 Li=k("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:p()}),ji=function(){return Date.now?Date.now():+new Date};Me("Z",":"),Me("ZZ",""),Z("Z",Xr),Z("ZZ",Xr),et(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Te(Xr,t)});var Ni=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Ri=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Fi=/^(-)?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=_e.prototype;var Bi=He(1,"add"),Yi=He(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Wi=k("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)});q(0,["gg",2],0,function(){return this.weekYear()%100}),q(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Tn("gggg","weekYear"),Tn("ggggg","weekYear"),Tn("GGGG","isoWeekYear"),Tn("GGGGG","isoWeekYear"),z("weekYear","gg"),z("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),Z("G",qr),Z("g",qr),Z("GG",Fr,zr),Z("gg",Fr,zr),Z("GGGG",Ur,Nr),Z("gggg",Ur,Nr),Z("GGGGG",Hr,Rr),Z("ggggg",Hr,Rr),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)}),q("Q",0,"Qo","quarter"),z("quarter","Q"),R("quarter",7),Z("Q",Lr),et("Q",function(t,e){e[ti]=3*(x(t)-1)}),q("D",["DD",2],"Do","date"),z("date","D"),R("date",9),Z("D",Fr),Z("DD",Fr,zr),Z("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),et(["D","DD"],ei),et("Do",function(t,e){e[ei]=x(t.match(Fr)[0],10)});var Ui=B("Date",!0);q("DDD",["DDDD",3],"DDDo","dayOfYear"),z("dayOfYear","DDD"),R("dayOfYear",4),Z("DDD",Wr),Z("DDDD",jr),et(["DDD","DDDD"],function(t,e,n){n._dayOfYear=x(t)}),q("m",["mm",2],0,"minute"),z("minute","m"),R("minute",14),Z("m",Fr),Z("mm",Fr,zr),et(["m","mm"],ri);var Hi=B("Minutes",!1);q("s",["ss",2],0,"second"),z("second","s"),R("second",15),Z("s",Fr),Z("ss",Fr,zr),et(["s","ss"],ii);var Gi=B("Seconds",!1);q("S",0,0,function(){return~~(this.millisecond()/100)}),q(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),q(0,["SSS",3],0,"millisecond"),q(0,["SSSS",4],0,function(){return 10*this.millisecond()}),q(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),q(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),q(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),q(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),q(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),z("millisecond","ms"),R("millisecond",16),Z("S",Wr,Lr),Z("SS",Wr,zr),Z("SSS",Wr,jr);var qi;for(qi="SSSS";qi.length<=9;qi+="S")Z(qi,Gr);for(qi="S";qi.length<=9;qi+="S")et(qi,zn);var Vi=B("Milliseconds",!1);q("z",0,0,"zoneAbbr"),q("zz",0,0,"zoneName");var Xi=g.prototype;Xi.add=Bi,Xi.calendar=Ve,Xi.clone=Xe,Xi.diff=en,Xi.endOf=mn,Xi.format=sn,Xi.from=ln,Xi.fromNow=un,Xi.to=cn,Xi.toNow=hn,Xi.get=U,Xi.invalidAt=Sn,Xi.isAfter=Ke,Xi.isBefore=$e,Xi.isBetween=Ze,Xi.isSame=Qe,Xi.isSameOrAfter=Je,Xi.isSameOrBefore=tn,Xi.isValid=_n,Xi.lang=Wi,Xi.locale=fn,Xi.localeData=dn,Xi.max=zi,Xi.min=Li,Xi.parsingFlags=kn,Xi.set=H,Xi.startOf=pn,Xi.subtract=Yi,Xi.toArray=bn,Xi.toObject=xn,Xi.toDate=yn,Xi.toISOString=on,Xi.inspect=an,Xi.toJSON=wn,Xi.toString=rn,Xi.unix=gn,Xi.valueOf=vn,Xi.creationData=Mn,Xi.year=pi,Xi.isLeapYear=gt,Xi.weekYear=En,Xi.isoWeekYear=Cn,Xi.quarter=Xi.quarters=In,Xi.month=ct,Xi.daysInMonth=ht,Xi.week=Xi.weeks=Et,Xi.isoWeek=Xi.isoWeeks=Ct,Xi.weeksInYear=Pn,Xi.isoWeeksInYear=On,Xi.date=Ui,Xi.day=Xi.days=jt,Xi.weekday=Nt,Xi.isoWeekday=Rt,Xi.dayOfYear=Ln,Xi.hour=Xi.hours=Si,Xi.minute=Xi.minutes=Hi,Xi.second=Xi.seconds=Gi,Xi.millisecond=Xi.milliseconds=Vi,Xi.utcOffset=Oe,Xi.utc=Ae,Xi.local=De,Xi.parseZone=Ie,Xi.hasAlignedHourOffset=Le,Xi.isDST=ze,Xi.isLocal=Ne,Xi.isUtcOffset=Re,Xi.isUtc=Fe,Xi.isUTC=Fe,Xi.zoneAbbr=jn,Xi.zoneName=Nn,Xi.dates=k("dates accessor is deprecated. Use date instead.",Ui),Xi.months=k("months accessor is deprecated. Use month instead",ct),Xi.years=k("years accessor is deprecated. Use year instead",pi),Xi.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Pe),Xi.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",je);var Ki=C.prototype;Ki.calendar=O,Ki.longDateFormat=P,Ki.invalidDate=A,Ki.ordinal=D,Ki.preparse=Bn,Ki.postformat=Bn,Ki.relativeTime=I,Ki.pastFuture=L,Ki.set=T,Ki.months=ot,Ki.monthsShort=at,Ki.monthsParse=lt,Ki.monthsRegex=dt,Ki.monthsShortRegex=ft,Ki.week=St,Ki.firstDayOfYear=Tt,Ki.firstDayOfWeek=Mt,Ki.weekdays=At,Ki.weekdaysMin=It,Ki.weekdaysShort=Dt,Ki.weekdaysParse=zt,Ki.weekdaysRegex=Ft,Ki.weekdaysShortRegex=Bt,Ki.weekdaysMinRegex=Yt,Ki.isPM=Vt,Ki.meridiem=Xt,Qt("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=k("moment.lang is deprecated. Use moment.locale instead.",Qt),e.langData=k("moment.langData is deprecated. Use moment.localeData instead.",ee);var $i=Math.abs,Zi=or("ms"),Qi=or("s"),Ji=or("m"),to=or("h"),eo=or("d"),no=or("w"),ro=or("M"),io=or("y"),oo=sr("milliseconds"),ao=sr("seconds"),so=sr("minutes"),lo=sr("hours"),uo=sr("days"),co=sr("months"),ho=sr("years"),fo=Math.round,po={s:45,m:45,h:22,d:26,M:11},mo=Math.abs,vo=_e.prototype;return vo.abs=Kn,vo.add=Zn,vo.subtract=Qn,vo.as=rr,vo.asMilliseconds=Zi,vo.asSeconds=Qi,vo.asMinutes=Ji,vo.asHours=to,vo.asDays=eo,vo.asWeeks=no,vo.asMonths=ro,vo.asYears=io,vo.valueOf=ir,vo._bubble=tr,vo.get=ar,vo.milliseconds=oo,vo.seconds=ao,vo.minutes=so,vo.hours=lo,vo.days=uo,vo.weeks=lr,vo.months=co,vo.years=ho,vo.humanize=dr,vo.toISOString=pr,vo.toString=pr,vo.toJSON=pr,vo.locale=fn,vo.localeData=dn,vo.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",pr),vo.lang=Wi,q("X",0,0,"unix"),q("x",0,0,"valueOf"),Z("x",qr),Z("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){mr=t}(ye),e.fn=Xi,e.min=xe,e.max=we,e.now=ji,e.utc=c,e.unix=Rn,e.months=Hn,e.isDate=a,e.locale=Qt,e.invalid=p,e.duration=Be,e.isMoment=y,e.weekdays=qn,e.parseZone=Fn,e.localeData=ee,e.isDuration=ke,e.monthsShort=Gn,e.weekdaysMin=Xn,e.defineLocale=Jt,e.updateLocale=te,e.locales=ne,e.weekdaysShort=Vn,e.normalizeUnits=j,e.relativeTimeRounding=hr,e.relativeTimeThreshold=fr,e.calendarFormat=qe,e.prototype=Xi,e})}).call(e,n(144)(t))},,,,,,,,function(t,e,n){"use strict";function r(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(t){console.error(t)}}r(),t.exports=n(364)},,,,,,function(t,e,n){var r=n(92),i=n(70),o=n(38),a=Object.prototype,s=a.toString,l=r(Array,"isArray"),u=l||function(t){return o(t)&&i(t.length)&&"[object Array]"==s.call(t)};t.exports=u},function(t,e){function n(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=n},,,,,,function(t,e,n){var r=n(203)("wks"),i=n(205),o=n(32).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},,function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},,,function(t,e,n){function r(t,e,n,r){return e&&"boolean"!=typeof e&&a(t,e,n)?e=!1:"function"==typeof e&&(r=n,n=e,e=!1),"function"==typeof n?i(t,e,o(n,r,3)):i(t,e)}var i=n(406),o=n(74),a=n(71);t.exports=r},,,function(t,e){function n(t){return!!t&&"object"==typeof t}t.exports=n},,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){var e=function(){var 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)&&!t.opera,o=/Firefox/.test(n),a=o&&4>parseInt(n.split("Firefox/")[1],10);return t.Highcharts?t.Highcharts.error(16,!0):{product:"Highcharts",version:"6.0.0",deg2rad:2*Math.PI/360,doc:e,hasBidiBug:a,hasTouch:e&&void 0!==e.documentElement.ontouchstart,isMS:i,isWebKit:/AppleWebKit/.test(n),isFirefox:o,isTouchDevice:/(Mobile|Android|Windows Phone)/.test(n),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},symbolSizes:{},svg:r,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 o=this,a=function(t){return!a.stopped&&o.step(t)},s=i.requestAnimationFrame||function(t){setTimeout(t,13)},l=function(){var t;for(t=0;t=s+this.startTime?(this.now=this.end,this.pos=1,this.update(),n=l[this.prop]=!0,t.objectEach(l,function(t){!0!==t&&(n=!1)}),n&&a&&a.call(o),e=!1):(this.pos=i.easing((r-this.startTime)/s),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.lengtha?"AM":"PM",P:12>a?"am":"pm",S:p(o.getSeconds()),L:p(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&&a<=(n[i]+(n[i+1]||n[i]))/2));i++);return s=t.correctFloat(s*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,a,s=t.defaultOptions.lang,l=(e.toString().split(".")[1]||"").split("e")[0].length,u=e.toString().split("e");return-1===n?n=Math.min(l,20):t.isNumber(n)||(n=2),a=(Math.abs(u[1]?u[0]:e)+Math.pow(10,-Math.max(n,l)-1)).toFixed(n),l=String(t.pInt(a)),o=3e?"-":"")+(o?l.substr(0,o)+i:""),e+=l.substr(o).replace(/(\d{3})(?=\d)/g,"$1"+i),n&&(e+=r+a.slice(-n)),u[1]&&(e+="e"+u[1]),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"):(i.getComputedStyle||t.error(27,!0),(e=i.getComputedStyle(e,void 0))&&(e=e.getPropertyValue(n),t.pick(r,"opacity"!==n)&&(e=t.pInt(e))),e)},t.inArray=function(e,n){return(t.indexOfPolyfill||Array.prototype.indexOf).call(n,e)},t.grep=function(e,n){return(t.filterPolyfill||Array.prototype.filter).call(e,n)},t.find=function(e,n){return(t.findPolyfill||Array.prototype.find).call(e,n)},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;)a=this.parsers[o],(n=a.regex.exec(e))&&(i=a.parse(n));this.rgba=i||[]},get:function(t){var r,o=this.input,a=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=a&&n(a[0])?"rgb"===t||!t&&1===a[3]?"rgb("+a[0]+","+a[1]+","+a[2]+")":"a"===t?a[3]:"rgba("+a.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(s.isSVG&&(t=n.width,s=n.height,u&&"11px"===u.fontSize&&17===Math.round(s)&&(n.height=s=14),e&&(n.width=Math.abs(s*Math.sin(r))+Math.abs(t*Math.cos(r)),n.height=Math.abs(s*Math.cos(r))+Math.abs(t*Math.sin(r)))),a&&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):this[e]!==t&&n.setAttribute(e,t),this[e]=t},zIndexSetter:function(t,e){var n,r,i,o=this.renderer,a=this.parentGroup,s=(a||o).element||o.box,l=this.element,o=s===o.box;n=this.added;var u;if(c(t)&&(l.zIndex=t,t=+t,this[e]===t&&(n=!1),this[e]=t),n){for((t=this.zIndex)&&a&&(a.handleZ=!0),e=s.childNodes,u=e.length-1;0<=u&&!r;u--)a=e[u],n=a.zIndex,i=!c(n),a!==l&&(0>t&&i&&!o&&!u?(s.insertBefore(l,e[u]),r=!0):(P(n)<=t||i&&(!c(t)||0<=t))&&(s.insertBefore(l,e[u+1]||null),r=!0));r||(s.insertBefore(l,e[o?3:0]||null),r=!0)}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.rotationOriginXSetter=e.prototype.rotationOriginYSetter=e.prototype.scaleXSetter=e.prototype.scaleYSetter=e.prototype.matrixSetter=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)},m(n.prototype,{Element:e,SVG_NS:L,init:function(t,e,n,i,a,s){var u;i=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}).css(this.getStyle(i)),u=i.element,t.appendChild(u),-1===t.innerHTML.indexOf("xmlns")&&o(u,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=u,this.boxWrapper=i,this.alignedObjects=[],this.url=(w||M)&&d.getElementsByTagName("base").length?j.location.href.replace(/#.*?$/,"").replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",this.createElement("desc").add().element.appendChild(d.createTextNode("Created with Highcharts 6.0.0")),this.defs=this.createElement("defs").add(),this.allowHTML=s,this.forExport=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1);var c;w&&t.getBoundingClientRect&&(e=function(){l(t,{left:0,top:0}),c=t.getBoundingClientRect(),l(t,{left:Math.ceil(c.left)-c.left+"px",top:Math.ceil(c.top)-c.top+"px"})},e(),this.unSubPixelFix=r(j,"resize",e))},getStyle:function(t){return this.style=m({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(),f(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,a=t.rotation,s=n,l=0,u=n.length,c=function(t){e.removeChild(e.firstChild),t&&e.appendChild(d.createTextNode(t))};if(t.rotation=0,s=this.getSpanWidth(t,e),o=s>r){for(;l<=u;)i=Math.ceil((l+u)/2),s=n.substring(0,i)+"…",c(s),s=this.getSpanWidth(t,e),l===u?l=u+1:s>r?u=i-1:l=i;0===u&&c("")}return t.rotation=a,o},escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},buildText:function(t){var e,n,r,i,a,s,u=t.element,c=this,h=c.forExport,f=O(t.textStr,"").toString(),m=-1!==f.indexOf("<"),v=u.childNodes,y=o(u,"x"),b=t.styles,x=t.textWidth,w=b&&b.lineHeight,_=b&&b.textOutline,k=b&&"ellipsis"===b.textOverflow,S=b&&"nowrap"===b.whiteSpace,M=b&&b.fontSize,T=v.length,b=x&&!t.added&&this.box,E=function(t){var e;return e=/(px|em)$/.test(t&&t.style.fontSize)?t.style.fontSize:M||c.style.fontSize||12,w?P(w):c.fontMetrics(e,t.getAttribute("style")?t:u).h},A=function(t){return C(c.escapes,function(e,n){t=t.replace(new RegExp(e,"g"),n)}),t};if((a=[f,k,S,w,_,M,x].join())!==t.textCache){for(t.textCache=a;T--;)u.removeChild(v[T]);m||_||k||x||-1!==f.indexOf(" ")?(e=/<.*class="([^"]+)".*>/,n=/<.*style="([^"]+)".*>/,r=/<.*href="([^"]+)".*>/,b&&b.appendChild(u),f=m?f.replace(/<(b|strong)>/g,'').replace(/<(i|em)>/g,'').replace(//g,"").split(//g):[f],f=g(f,function(t){return""!==t}),p(f,function(a,f){var m,v=0;a=a.replace(/^\s+|\s+$/g,"").replace(//g,"|||"),m=a.split("|||"),p(m,function(a){if(""!==a||1===m.length){var p,g,b={},w=d.createElementNS(c.SVG_NS,"tspan");if(e.test(a)&&(p=a.match(e)[1],o(w,"class",p)),n.test(a)&&(g=a.match(n)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),o(w,"style",g)),r.test(a)&&!h&&(o(w,"onclick",'location.href="'+a.match(r)[1]+'"'),o(w,"class","highcharts-anchor"),l(w,{cursor:"pointer"}))," "!==(a=A(a.replace(/<[a-zA-Z\/](.|\n)*?>/g,"")||" "))){if(w.appendChild(d.createTextNode(a)),v?b.dx=0:f&&null!==y&&(b.x=y),o(w,b),u.appendChild(w),!v&&s&&(!I&&h&&l(w,{display:"block"}),o(w,"dy",E(w))),x){b=a.replace(/([^\^])-/g,"$1- ").split(" "),p=1x,void 0===i&&(i=a),a&&1!==b.length?(w.removeChild(w.firstChild),M.unshift(b.pop())):(b=M,M=[],b.length&&!S&&(w=d.createElementNS(L,"tspan"),o(w,{dy:T,x:y}),g&&o(w,"style",g),u.appendChild(w)),_>x&&(x=_)),b.length&&w.appendChild(d.createTextNode(b.join(" ").replace(/- /g,"-")));t.rotation=C}v++}}}),s=s||u.childNodes.length}),i&&t.attr("title",t.textStr),b&&b.removeChild(u),_&&t.applyTextOutline&&t.applyTextOutline(_)):u.appendChild(d.createTextNode(A(f)))}},getContrast:function(t){return t=s(t).rgba,510Math.abs(i.end-i.start-2*Math.PI));var u=Math.cos(o),h=Math.sin(o),f=Math.cos(l),l=Math.sin(l);return i=.001>i.end-o-Math.PI?0:1,a=["M",t+a*u,e+s*h,"A",a,s,0,i,1,t+a*f,e+s*l],c(n)&&a.push(r?"M":"L",t+n*f,e+n*l,"A",n,n,0,i,0,t+n*u,e+n*h),a.push(r?"":"Z"),a},callout:function(t,e,n,r,i){var o=Math.min(i&&i.r||0,n,r),a=o+6,s=i&&i.anchorX;i=i&&i.anchorY;var l;return l=["M",t+o,e,"L",t+n-o,e,"C",t+n,e,t+n,e,t+n,e+o,"L",t+n,e+r-o,"C",t+n,e+r,t+n,e+r,t+n-o,e+r,"L",t+o,e+r,"C",t,e+r,t,e+r,t,e+r-o,"L",t,e+o,"C",t,e,t,e,t+o,e],s&&s>n?i>e+a&&is?i>e+a&&ir&&s>t+a&&si&&s>t+a&&st?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,a,s,l,u,h){var f,d,v,g,y,b,x,w,_,k,S,M,E,C=this,O=C.g("button"!==h&&"label"),P=O.text=C.text("",0,0,l).attr({zIndex:1}),D=0,I=3,L=0,z={},j=/^url\((.*?)\)$/.test(o),N=j;h&&O.addClass("highcharts-"+h),N=j,k=function(){return(w||0)%2/2},S=function(){var t=P.element.style,e={};d=(void 0===v||void 0===g||x)&&c(P.textStr)&&P.getBBox(),O.width=(v||d.width||0)+2*I+L,O.height=(g||d.height||0)+2*I,_=I+C.fontMetrics(t&&t.fontSize,P).b,N&&(f||(O.box=f=C.symbols[o]||j?C.symbol(o):C.rect(),f.addClass(("button"===h?"":"highcharts-label-box")+(h?" highcharts-"+h+"-box":"")),f.add(O),t=k(),e.x=t,e.y=(u?-_:0)+t),e.width=Math.round(O.width),e.height=Math.round(O.height),f.attr(m(e,z)),z={})},M=function(){var t,e=L+I;t=u?0:_,c(v)&&d&&("center"===x||"right"===x)&&(e+={center:.5,right:1}[x]*(v-d.width)),e===P.x&&t===P.y||(P.attr("x",e),void 0!==t&&P.attr("y",t)),P.x=e,P.y=t},E=function(t,e){f?f.attr(t,e):z[t]=e},O.onAdd=function(){P.add(O),O.attr({text:n||0===n?n:"",x:r,y:i}),f&&c(a)&&O.attr({anchorX:a,anchorY:s})},O.widthSetter=function(e){v=t.isNumber(e)?e:null},O.heightSetter=function(t){g=t},O["text-alignSetter"]=function(t){x=t},O.paddingSetter=function(t){c(t)&&t!==I&&(I=O.padding=t,M())},O.paddingLeftSetter=function(t){c(t)&&t!==L&&(L=t,M())},O.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==D&&(D=t,d&&O.attr({x:y}))},O.textSetter=function(t){void 0!==t&&P.textSetter(t),S(),M()},O["stroke-widthSetter"]=function(t,e){t&&(N=!0),w=this["stroke-width"]=t,E(e,t)},O.strokeSetter=O.fillSetter=O.rSetter=function(t,e){"r"!==e&&("fill"===e&&t&&(N=!0),O[e]=t),E(e,t)},O.anchorXSetter=function(t,e){a=O.anchorX=t,E(e,Math.round(t)-k()-y)},O.anchorYSetter=function(t,e){s=O.anchorY=t,E(e,t-b)},O.xSetter=function(t){O.x=t,D&&(t-=D*((v||d.width)+2*I)),y=Math.round(t),O.attr("translateX",y)},O.ySetter=function(t){b=O.y=Math.round(t),O.attr("translateY",b)};var R=O.css;return m(O,{css:function(t){if(t){var e={};t=T(t),p(O.textProps,function(n){void 0!==t[n]&&(e[n]=t[n],delete t[n])}),P.css(e)}return R.call(O,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&&(S(),f&&f.shadow(t)),O},destroy:function(){A(O.element,"mouseenter"),A(O.element,"mouseleave"),P&&(P=P.destroy()),f&&(f=f.destroy()),e.prototype.destroy.call(O),O=C=S=M=E=null}})}}),t.Renderer=n}(e),function(t){var e=t.attr,n=t.createElement,r=t.css,i=t.defined,o=t.each,a=t.extend,s=t.isFirefox,l=t.isMS,u=t.isWebKit,c=t.pInt,h=t.SVGRenderer,f=t.win,d=t.wrap;a(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=a(this.styles,t),r(this.element,t),this},htmlGetBBox:function(){var t=this.element;return{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,a=this.translateY||0,s=this.x||0,l=this.y||0,h=this.textAlign||"left",f={left:0,center:.5,right:1}[h],d=this.styles;if(r(e,{marginLeft:n,marginTop:a}),this.shadows&&o(this.shadows,function(t){r(t,{marginLeft:n+1,marginTop:a+1})}),this.inverted&&o(e.childNodes,function(n){t.invertChild(n,e)}),"SPAN"===e.tagName){var p=this.rotation,m=c(this.textWidth),v=d&&d.whiteSpace,g=[p,h,e.innerHTML,this.textWidth,this.textAlign].join();g!==this.cTT&&(d=t.fontMetrics(e.style.fontSize).b,i(p)&&this.setSpanRotation(p,f,d),r(e,{width:"",whiteSpace:v||"nowrap"}),e.offsetWidth>m&&/[ \-]/.test(e.textContent||e.innerText)&&r(e,{width:m+"px",display:"block",whiteSpace:v||"normal"}),this.getSpanCorrection(e.offsetWidth,d,f,p,h)),r(e,{left:s+(this.xCorr||0)+"px",top:l+(this.yCorr||0)+"px"}),u&&(d=e.offsetHeight),this.cTT=g}}else this.alignOnAdd=!0},setSpanRotation:function(t,e,n){var i={},o=this.renderer.getTransformKey();i[o]=i.transform="rotate("+t+"deg)",i[o+(s?"Origin":"-origin")]=i.transformOrigin=100*e+"% "+n+"px",r(this.element,i)},getSpanCorrection:function(t,e,n){this.xCorr=-t*n,this.yCorr=-e}}),a(h.prototype,{getTransformKey:function(){return l&&!/Edge/.test(f.navigator.userAgent)?"-ms-transform":u?"-webkit-transform":s?"MozTransform":f.opera?"-o-transform":""},html:function(t,r,i){var s=this.createElement("span"),l=s.element,u=s.renderer,c=u.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 s.textSetter=function(t){t!==l.innerHTML&&delete this.bBox,l.innerHTML=this.textStr=t,s.htmlUpdateTransform()},c&&h(s,s.element.style),s.xSetter=s.ySetter=s.alignSetter=s.rotationSetter=function(t,e){"align"===e&&(e="textAlign"),s[e]=t,s.htmlUpdateTransform()},s.attr({text:t,x:Math.round(r),y:Math.round(i)}).css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize,position:"absolute"}),l.style.whiteSpace="nowrap",s.css=s.htmlCss,c&&(s.add=function(t){var r,i=u.box.parentNode,c=[];if(this.parentGroup=t){if(!(r=t.div)){for(;t;)c.push(t),t=t.parentGroup;o(c.reverse(),function(t){function o(e,n){t[n]=e,l[u.getTransformKey()]="translate("+t.x+"px,"+t.y+"px)",t.doTransform=!0}var l,f=e(t.element,"class");f&&(f={className:f}),r=t.div=t.div||n("div",f,{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),l=r.style,a(t,{classSetter:function(t){this.element.setAttribute("class",t),r.className=t},on:function(){return c[0].div&&s.on.apply({element:c[0].div},arguments),t},translateXSetter:o,translateYSetter:o}),h(t,l)})}}else r=i;return r.appendChild(l),s.added=!0,s.alignOnAdd&&s.htmlUpdateTransform(),s}),s}})}(e),function(t){function e(){var e=t.defaultOptions.global,n=s.moment;if(e.timezone){if(n)return function(t){return-n.tz(t,e.timezone).utcOffset()};t.error(25)}return e.useUTC&&e.getTimezoneOffset}function n(){var n,r=t.defaultOptions.global,o=r.useUTC,l=o?"getUTC":"get",u=o?"setUTC":"set",c="Minutes Hours Day Date Month FullYear".split(" "),h=c.concat(["Milliseconds","Seconds"]);for(t.Date=n=r.Date||s.Date,n.hcTimezoneOffset=o&&r.timezoneOffset,n.hcGetTimezoneOffset=e(),n.hcMakeTime=function(t,e,r,s,l,u){var c;return o?(c=n.UTC.apply(0,arguments),c+=i(c)):c=new n(t,e,a(r,1),a(s,0),a(l,0),a(u,0)).getTime(),c},r=0;r{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=o(!0,t.defaultOptions,e),n(),t.defaultOptions},t.getOptions=function(){return t.defaultOptions},t.defaultPlotOptions=t.defaultOptions.plotOptions,n()}(e),function(t){var e=t.correctFloat,n=t.defined,r=t.destroyObjectProperties,i=t.isNumber,o=t.merge,a=t.pick,s=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,s=r.chart,l=r.categories,u=r.names,c=this.pos,h=i.labels,f=r.tickPositions,d=c===f[0],p=c===f[f.length-1],u=l?a(l[c],u[c],c):c,l=this.label,f=f.info;r.isDatetimeAxis&&f&&(t=i.dateTimeLabelFormats[f.higherRanks[c]||f.unitName]),this.isFirst=d,this.isLast=p,i=r.labelFormatter.call({axis:r,chart:s,isFirst:d,isLast:p,dateTimeLabelFormat:t,value:r.isLog?e(r.lin2log(u)):u,pos:c}),n(l)?l&&l.attr({text:i}):(this.labelLength=(this.label=l=n(i)&&h.enabled?s.renderer.text(i,0,0,h.useHTML).css(o(h.style)).add(r.labelGroup):null)&&l.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,l=a(n.labelLeft,Math.min(n.pos,o[3])),o=a(n.labelRight,Math.max(n.pos+n.len,i-o[1])),u=this.label,c=this.rotation,h={left:0,center:.5,right:1}[n.labelAlign],f=u.getBBox().width,d=n.getSlotWidth(),p=d,m=1,v={};c?0>c&&r-h*fo&&(e=Math.round((i-r)/Math.cos(c*s))):(i=r+(1-h)*f,r-h*fo&&(p=o-t.x+p*h,m=-1),p=Math.min(d,p),pp||n.autoRotation&&(u.styles||{}).width)&&(e=p)),e&&(v.width=e,(n.options.labels.style||{}).textOverflow||(v.textOverflow="ellipsis"),u.css(v))},getPosition:function(t,e,n,r){var i=this.axis,o=i.chart,a=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?a-i.bottom+i.offset-(i.opposite?i.height:0):a-i.translate(e+n,null,null,r)-i.transB}},getLabelPosition:function(t,e,r,i,o,a,l,u){var c=this.axis,h=c.transA,f=c.reversed,d=c.staggerLines,p=c.tickRotCorr||{x:0,y:0},m=o.y;return n(m)||(m=0===c.side?r.rotation?-8:-r.getBBox().height:2===c.side?p.y+8:Math.cos(r.rotation*s)*(p.y-r.getBBox(!1,0).height/2)),t=t+o.x+p.x-(a&&i?a*h*(f?-1:1):0),e=e+m-(a&&!i?a*h*(f?1:-1):0),d&&(r=l/(u||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,a={},s=this.pos,l=this.type,u=r.tickmarkOffset,c=r.chart.renderer,h=l?l+"Grid":"grid",f=i[h+"LineWidth"],d=i[h+"LineColor"],i=i[h+"LineDashStyle"];o||(a.stroke=d,a["stroke-width"]=f,i&&(a.dashstyle=i),l||(a.zIndex=1),t&&(a.opacity=0),this.gridLine=o=c.path().attr(a).addClass("highcharts-"+(l?l+"-":"")+"grid-line").add(r.gridGroup)),!t&&o&&(t=r.getPlotLinePath(s+u,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,s=this.type,l=s?s+"Tick":"tick",u=r.tickSize(l),c=this.mark,h=!c,f=t.x;t=t.y;var d=a(i[l+"Width"],!s&&r.isXAxis?1:0),i=i[l+"Color"];u&&(r.opposite&&(u[0]=-u[0]),h&&(this.mark=c=o.path().addClass("highcharts-"+(s?s+"-":"")+"tick").add(r.axisGroup),c.attr({stroke:i,"stroke-width":d})),c[h?"attr":"animate"]({d:this.getMarkPath(f,t,u[0],c.strokeWidth()*n,r.horiz,o),opacity:e}))},renderLabel:function(t,e,n,r){var o=this.axis,s=o.horiz,l=o.options,u=this.label,c=l.labels,h=c.step,f=o.tickmarkOffset,d=!0,p=t.x;t=t.y,u&&i(p)&&(u.xy=t=this.getLabelPosition(p,t,u,s,c,f,r,h),this.isFirst&&!this.isLast&&!a(l.showFirstLabel,1)||this.isLast&&!this.isFirst&&!a(l.showLastLabel,1)?d=!1:!s||o.isRadial||c.step||c.rotation||e||0===n||this.handleOverflow(t),h&&r%h&&(d=!1),d&&i(t.y)?(t.opacity=n,u[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(u.attr("y",-9999),this.isNewLabel=!0))},render:function(t,e,n){var r=this.axis,i=r.horiz,o=this.getPosition(i,this.pos,r.tickmarkOffset,e),s=o.x,l=o.y,r=i&&s===r.pos+r.len||!i&&l===r.pos?-1:1;n=a(n,1),this.isActive=!0,this.renderGridLine(e,n,r),this.renderMark(o,n,r),this.renderLabel(o,e,n,t),this.isNew=!1},destroy:function(){r(this,this.axis)}}}(e);var n=function(t){var e=t.addEvent,n=t.animObject,r=t.arrayMax,i=t.arrayMin,o=t.color,a=t.correctFloat,s=t.defaultOptions,l=t.defined,u=t.deg2rad,c=t.destroyObjectProperties,h=t.each,f=t.extend,d=t.fireEvent,p=t.format,m=t.getMagnitude,v=t.grep,g=t.inArray,y=t.isArray,b=t.isNumber,x=t.isString,w=t.merge,_=t.normalizeTickInterval,k=t.objectEach,S=t.pick,M=t.removeEvent,T=t.splat,E=t.syncTimeout,C=t.Tick,O=function(){this.init.apply(this,arguments)};return t.extend(O.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:{allowOverlap:!1,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,a=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"===a||!0===o.categories,i.categories=o.categories||i.hasNames,i.names=i.names||[],i.plotLinesAndBandsGroups={},i.isLog="logarithmic"===a,i.isDatetimeAxis="datetime"===a,i.positiveValuesOnly=i.isLog&&!i.allowNegativeLog,i.isLinked=l(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=S(o.crosshair,T(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),k(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=w(this.defaultOptions,"yAxis"===this.coll&&this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],w(s[this.coll],t))},defaultLabelFormatter:function(){var e,n=this.axis,r=this.value,i=n.categories,o=this.dateTimeLabelFormat,a=s.lang,l=a.numericSymbols,a=a.numericSymbolMagnitude||1e3,u=l&&l.length,c=n.options.labels.format,n=n.isLog?Math.abs(r):n.tickInterval;if(c)e=p(c,this);else if(i)e=r;else if(o)e=t.dateFormat(o,r);else if(u&&1e3<=n)for(;u--&&void 0===e;)i=Math.pow(a,u+1),n>=i&&0==10*r%i&&null!==l[u]&&0!==r&&(e=t.numberFormat(r/i,-1)+l[u]);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,a=n.options,s=a.threshold;t.hasVisibleSeries=!0,t.positiveValuesOnly&&0>=s&&(s=null),t.isXAxis?(a=n.xData,a.length&&(n=i(a),b(n)||n instanceof Date||(a=v(a,function(t){return b(t)}),n=i(a)),t.dataMin=Math.min(S(t.dataMin,a[0]),n),t.dataMax=Math.max(S(t.dataMax,a[0]),r(a)))):(n.getExtremes(),o=n.dataMax,n=n.dataMin,l(n)&&l(o)&&(t.dataMin=Math.min(S(t.dataMin,n),n),t.dataMax=Math.max(S(t.dataMax,o),o)),l(s)&&(t.threshold=s),(!a.softThreshold||t.positiveValuesOnly)&&(t.softThreshold=!1))}})},translate:function(t,e,n,r,i,o){var a=this.linkedParent||this,s=1,l=0,u=r?a.oldTransA:a.transA;r=r?a.oldMin:a.min;var c=a.minPixelPadding;return i=(a.isOrdinal||a.isBroken||a.isLog&&i)&&a.lin2val,u||(u=a.transA),n&&(s*=-1,l=a.len),a.reversed&&(s*=-1,l-=s*(a.sector||a.len)),e?(t=(t*s+l-c)/u+r,i&&(t=a.lin2val(t))):(i&&(t=a.val2lin(t)),t=b(r)?s*(t-r)*u+l+s*c+(b(o)?u*o:0):void 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,a,s,l=this.chart,u=this.left,c=this.top,h=n&&l.oldChartHeight||l.chartHeight,f=n&&l.oldChartWidth||l.chartWidth;o=this.transB;var d=function(t,e,n){return(tn)&&(r?t=Math.min(Math.max(e,t),n):s=!0),t};return i=S(i,this.translate(t,null,null,n)),t=n=Math.round(i+o),o=a=Math.round(h-i-o),b(i)?this.horiz?(o=c,a=h-this.bottom,t=n=d(t,u,u+this.width)):(t=u,n=f-this.right,o=a=d(o,c,c+this.height)):(s=!0,r=!1),s&&!r?null:l.renderer.crispLine(["M",t,o,"L",n,a],e||1)},getLinearTickPositions:function(t,e,n){var r,i=a(Math.floor(e/t)*t);n=a(Math.ceil(n/t)*t);var o=[];if(this.single)return[e];for(e=i;e<=n&&(o.push(e),(e=a(e+t))!==r);)r=e;return o},getMinorTickInterval:function(){var t=this.options;return!0===t.minorTicks?S(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},getMinorTickPositions:function(){var t=this,e=t.options,n=t.tickPositions,r=t.minorTickInterval,i=[],o=t.pointRangePadding||0,a=t.min-o,o=t.max+o,s=o-a;if(s&&s/r=this.minRange,c=this.minRange,t=(c-p+d)/2,t=[d-t,S(f.min,d-t)],e&&(t[2]=this.isLog?this.log2lin(this.dataMin):this.dataMin),d=r(t),p=[d+c,S(f.max,d+c)],e&&(p[2]=this.isLog?this.log2lin(this.dataMax):this.dataMax),(p=i(p))-d=E?(n=E,w=0):s.dataMax<=E&&(r=E,x=0)),s.min=S(i,n,s.dataMin),s.max=S(o,r,s.dataMax)),f&&(s.positiveValuesOnly&&!e&&0>=Math.min(s.min,S(s.dataMin,s.min))&&t.error(10,1),s.min=a(p(s.min),15),s.max=a(p(s.max),15)),s.range&&l(s.max)&&(s.userMin=s.min=i=Math.max(s.dataMin,s.minFromRange()),s.userMax=o=s.max,s.range=null),d(s,"foundExtremes"),s.beforePadding&&s.beforePadding(),s.adjustForMinRange(),!(T||s.axisPointRange||s.usePercentage||y)&&l(s.min)&&l(s.max)&&(p=s.max-s.min)&&(!l(i)&&w&&(s.min-=p*w),!l(o)&&x&&(s.max+=p*x)),b(c.softMin)&&(s.min=Math.min(s.min,c.softMin)),b(c.softMax)&&(s.max=Math.max(s.max,c.softMax)),b(c.floor)&&(s.min=Math.max(s.min,c.floor)),b(c.ceiling)&&(s.max=Math.min(s.max,c.ceiling)),C&&l(s.dataMin)&&(E=E||0,!l(i)&&s.min=E?s.min=E:!l(o)&&s.max>E&&s.dataMax<=E&&(s.max=E)),s.tickInterval=s.min===s.max||void 0===s.min||void 0===s.max?1:y&&!k&&M===s.linkedParent.options.tickPixelInterval?k=s.linkedParent.tickInterval:S(k,this.tickAmount?(s.max-s.min)/Math.max(this.tickAmount-1,1):void 0,T?1:(s.max-s.min)*M/Math.max(s.len,M)),g&&!e&&h(s.series,function(t){t.processData(s.min!==s.oldMin||s.max!==s.oldMax)}),s.setAxisTranslation(!0),s.beforeSetTickPositions&&s.beforeSetTickPositions(),s.postProcessTickInterval&&(s.tickInterval=s.postProcessTickInterval(s.tickInterval)),s.pointRange&&!k&&(s.tickInterval=Math.max(s.pointRange,s.tickInterval)),e=S(c.minTickInterval,s.isDatetimeAxis&&s.closestPointRange),!k&&s.tickIntervals.tickInterval&&1e3s.max)),!!this.tickAmount)),this.tickAmount||(s.tickInterval=s.unsquish()),this.setTickPositions()},setTickPositions:function(){var t,e=this.options,n=e.tickPositions;t=this.getMinorTickInterval();var r=e.tickPositioner,i=e.startOnTick,o=e.endOnTick;this.tickmarkOffset=this.categories&&"between"===e.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===t&&this.tickInterval?this.tickInterval/5:t,this.single=this.min===this.max&&l(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&&2>t.length&&(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(l(r)){for(t=n=e.length;t--;)(3===r&&1==t%2||2>=r&&0i&&(t=i)),l(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 e=this.chart,n=this.options,r=n.offsets||[0,0,0,0],i=this.horiz,o=this.width=Math.round(t.relativeLength(S(n.width,e.plotWidth-r[3]+r[1]),e.plotWidth)),a=this.height=Math.round(t.relativeLength(S(n.height,e.plotHeight-r[0]+r[2]),e.plotHeight)),s=this.top=Math.round(t.relativeLength(S(n.top,e.plotTop+r[0]),e.plotHeight,e.plotTop)),n=this.left=Math.round(t.relativeLength(S(n.left,e.plotLeft+r[3]),e.plotWidth,e.plotLeft));this.bottom=e.chartHeight-a-s,this.right=e.chartWidth-o-n,this.len=Math.max(i?o:a,0),this.pos=i?n:s},getExtremes:function(){var t=this.isLog,e=this.lin2log;return{min:t?a(e(this.min)):this.min,max:t?a(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=S(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,a=o,s=this.len/(((this.categories?1:0)+this.max-this.min)/o),c=r.rotation,f=this.labelMetrics(),d=Number.MAX_VALUE,p=function(t){return t/=s||1,(t=1=n)&&(e=p(Math.abs(f.h/Math.sin(u*n))),(r=e+Math.abs(n/360))(n.step||0)&&!n.rotation&&(this.staggerLines||1)*this.len/r||!e&&(n.style&&parseInt(n.style.width,10)||i&&i-t.spacing[3]||.33*t.chartWidth)},renderUnsquish:function(){var t,e,n,r=this.chart,i=r.renderer,o=this.tickPositions,a=this.ticks,s=this.options.labels,l=this.horiz,u=this.getSlotWidth(),c=Math.max(1,Math.round(u-2*(s.padding||5))),f={},d=this.labelMetrics(),p=s.style&&s.style.textOverflow,m=0;if(x(s.rotation)||(f.rotation=s.rotation||0),h(o,function(t){(t=a[t])&&t.labelLength>m&&(m=t.labelLength)}),this.maxLabelLength=m,this.autoRotation)m>c&&m>d.h?f.rotation=this.labelRotation:this.labelRotation=0;else if(u&&(t={width:c+"px"},!p))for(t.textOverflow="clip",e=o.length;!l&&e--;)n=o[e],(c=a[n].label)&&(c.styles&&"ellipsis"===c.styles.textOverflow?c.css({textOverflow:"clip"}):a[n].labelLength>u&&c.css({width:u+"px"}),c.getBBox().height>this.len/o.length-(d.h-d.f)&&(c.specCss={textOverflow:"ellipsis"}));f.rotation&&(t={width:(m>.5*r.chartHeight?.33*r.chartHeight:r.chartHeight)+"px"},p||(t.textOverflow="ellipsis")),(this.labelAlign=s.align||this.autoLabelAlign(this.labelRotation))&&(f.align=this.labelAlign),h(o,function(e){var n=(e=a[e])&&e.label;n&&(n.attr(f),t&&n.css(w(t,n.specCss)),delete n.specCss,e.rotation=f.rotation)}),this.tickRotCorr=i.rotCorr(d.b,this.labelRotation||0,0!==this.side)},hasData:function(){return this.hasVisibleSeries||l(this.min)&&l(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),o.style.width||this.isRadial||this.axisTitle.css({width:this.len}),this.axisTitle[t?"show":"hide"](!0)},generateTick:function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new C(this,t)},getOffset:function(){var t,e,n,r=this,i=r.chart,o=i.renderer,a=r.options,s=r.tickPositions,u=r.ticks,c=r.horiz,f=r.side,d=i.inverted&&!r.isZAxis?[1,0,3,2][f]:f,p=0,m=0,v=a.title,g=a.labels,y=0,b=i.axisOffset,i=i.clipOffset,x=[-1,1,1,-1][f],w=a.className,_=r.axisParent,M=this.tickSize("tick");t=r.hasData(),r.showAxis=e=t||S(a.showEmpty,!0),r.staggerLines=r.horiz&&g.staggerLines,r.axisGroup||(r.gridGroup=o.g("grid").attr({zIndex:a.gridZIndex||1}).addClass("highcharts-"+this.coll.toLowerCase()+"-grid "+(w||"")).add(_),r.axisGroup=o.g("axis").attr({zIndex:a.zIndex||2}).addClass("highcharts-"+this.coll.toLowerCase()+" "+(w||"")).add(_),r.labelGroup=o.g("axis-labels").attr({zIndex:g.zIndex||7}).addClass("highcharts-"+r.coll.toLowerCase()+"-labels "+(w||"")).add(_)),t||r.isLinked?(h(s,function(t,e){r.generateTick(t,e)}),r.renderUnsquish(),!1===g.reserveSpace||0!==f&&2!==f&&{1:"left",3:"right"}[f]!==r.labelAlign&&"center"!==r.labelAlign||h(s,function(t){y=Math.max(u[t].getLabelSize(),y)}),r.staggerLines&&(y*=r.staggerLines,r.labelOffset=y*(r.opposite?-1:1))):k(u,function(t,e){t.destroy(),delete u[e]}),v&&v.text&&!1!==v.enabled&&(r.addTitle(e),e&&!1!==v.reserveSpace&&(r.titleOffset=p=r.axisTitle.getBBox()[c?"height":"width"],n=v.offset,m=l(n)?0:S(v.margin,c?5:10))),r.renderLine(),r.offset=x*S(a.offset,b[f]),r.tickRotCorr=r.tickRotCorr||{x:0,y:0},o=0===f?-r.labelMetrics().h:2===f?r.tickRotCorr.y:0,m=Math.abs(y)+m,y&&(m=m-o+x*(c?S(g.y,r.tickRotCorr.y+8*x):g.x)),r.axisTitleMargin=S(n,m),b[f]=Math.max(b[f],r.axisTitleMargin+p+x*r.offset,m,t&&s.length&&M?M[0]+x*r.offset:0),a=a.offset?0:2*Math.floor(r.axisLine.strokeWidth()/2),i[d]=Math.max(i[d],a)},getLinePath:function(t){var e=this.chart,n=this.opposite,r=this.offset,i=this.horiz,o=this.left+(n?this.width:0)+r,r=e.chartHeight-this.bottom-(n?this.height:0)+r;return n&&(t*=-1),e.renderer.crispLine(["M",i?this.left:o,i?r:this.top,"L",i?e.chartWidth-this.right:o,i?r:e.chartHeight-this.bottom],t)},renderLine:function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},getTitlePosition:function(){var t=this.horiz,e=this.left,n=this.top,r=this.len,i=this.options.title,o=t?e:n,a=this.opposite,s=this.offset,l=i.x||0,u=i.y||0,c=this.axisTitle,h=this.chart.renderer.fontMetrics(i.style&&i.style.fontSize,c),c=Math.max(c.getBBox(null,0).height-h.h-1,0),r={low:o+(t?0:r),middle:o+r/2,high:o+(t?r:0)}[i.align],e=(t?n+this.height:e)+(t?1:-1)*(a?-1:1)*this.axisTitleMargin+[-c,c,h.f,-c][this.side];return{x:t?r+l:e+(a?this.width:0)+s+l,y:t?e+u-(a?this.height:0)+s:r+u}},renderMinorTick:function(t){var e=this.chart.hasRendered&&b(this.oldMin),n=this.minorTicks;n[t]||(n[t]=new C(this,t,"minor")),e&&n[t].isNew&&n[t].render(null,!0),n[t].render(null,!1,1)},renderTick:function(t,e){var n=this.isLinked,r=this.ticks,i=this.chart.hasRendered&&b(this.oldMin);(!n||t>=this.min&&t<=this.max)&&(r[t]||(r[t]=new C(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,a=i.options,s=i.isLog,l=i.lin2log,u=i.isLinked,c=i.tickPositions,f=i.axisTitle,d=i.ticks,p=i.minorTicks,m=i.alternateBands,v=a.stackLabels,g=a.alternateGridColor,y=i.tickmarkOffset,x=i.axisLine,w=i.showAxis,_=n(o.renderer.globalAnimation);i.labelEdge.length=0,i.overlap=!1,h([d,p,m],function(t){k(t,function(t){t.isActive=!1})}),(i.hasData()||u)&&(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 C(i,-1,null,!0)),d[-1].render(-1))),g&&h(c,function(n,a){r=void 0!==c[a+1]?c[a+1]+y:i.max-y,0==a%2&&n=f.second?0:_*Math.floor(b.getMilliseconds()/_)),w>=f.second&&b[n.hcSetSeconds](w>=f.minute?0:_*Math.floor(b.getSeconds()/_)),w>=f.minute&&b[n.hcSetMinutes](w>=f.hour?0:_*Math.floor(b[n.hcGetMinutes]()/_)),w>=f.hour&&b[n.hcSetHours](w>=f.day?0:_*Math.floor(b[n.hcGetHours]()/_)),w>=f.day&&b[n.hcSetDate](w>=f.month?1:_*Math.floor(b[n.hcGetDate]()/_)),w>=f.month&&(b[n.hcSetMonth](w>=f.year?0:_*Math.floor(b[n.hcGetMonth]()/_)),d=b[n.hcGetFullYear]()),w>=f.year&&b[n.hcSetFullYear](d-d%_),w===f.week&&b[n.hcSetDate](b[n.hcGetDate]()-b[n.hcGetDay]()+h(c,1)),d=b[n.hcGetFullYear](),c=b[n.hcGetMonth]();var k=b[n.hcGetDate](),S=b[n.hcGetHours]();for((n.hcTimezoneOffset||n.hcGetTimezoneOffset)&&(m=(!y||!!n.hcGetTimezoneOffset)&&(l-e>4*f.month||u(e)!==u(l)),b=b.getTime(),p=u(b),b=new n(b+p)),y=b.getTime(),e=1;yv.length&&a(v,function(t){0==t%18e5&&"000000000"===r("%H%M%S%L",t)&&(g[t]="day")})}return v.info=s(t,{higherRanks:g,totalRange:w*_}),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=f[e[0]],o=e[1];for(r=0;re&&(!s||v<=a)&&void 0!==v&&f.push(v),v>a&&(g=!0),v=m;else e=c(e),a=c(a),t=s?this.getMinorTickInterval():l.tickInterval,t=o("auto"===t?null:t,this._minorAutoInterval,l.tickPixelInterval/(s?5:1)*(a-e)/((s?u/this.tickPositions.length:u)||1)),t=i(t,null,n(t)),f=r(this.getLinearTickPositions(t,e,a),h),s||(this._minorAutoInterval=t/5);return s||(this.tickInterval=t),f},e.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},e.prototype.lin2log=function(t){return Math.pow(10,t)}}(e),function(t,e){var n=t.arrayMax,r=t.arrayMin,i=t.defined,o=t.destroyObjectProperties,a=t.each,s=t.erase,l=t.merge,u=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,a=o.label,s=e.label,c=o.to,h=o.from,f=o.value,d=i(h)&&i(c),p=i(f),m=e.svgElem,v=!m,g=[],y=o.color,b=u(o.zIndex,0),x=o.events,g={class:"highcharts-plot-"+(d?"band ":"line ")+(o.className||"")},w={},_=n.chart.renderer,k=d?"bands":"lines",S=n.log2lin;if(n.isLog&&(h=S(h),c=S(c),f=S(f)),p?(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)),w.zIndex=b,k+="-"+b,(y=n.plotLinesAndBandsGroups[k])||(n.plotLinesAndBandsGroups[k]=y=_.g("plot-"+k).attr(w).add()),v&&(e.svgElem=m=_.path().attr(g).add(y)),p)g=n.getPlotLinePath(f,m.strokeWidth());else{if(!d)return;g=n.getPlotBandPath(h,c,o)}return v&&g&&g.length?(m.attr({d:g}),x&&t.objectEach(x,function(t,n){m.on(n,function(t){x[n].apply(e,[t])})})):m&&(g?(m.show(),m.animate({d:g})):(m.hide(),s&&(e.label=s=s.destroy()))),a&&i(a.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,"z")):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();a([n.plotLines||[],r.plotLines||[],n.plotBands||[],r.plotBands||[]],function(e){for(i=e.length;i--;)e[i].id===t&&s(e,e[i])})},removePlotBand:function(t){this.removePlotBandOrLine(t)},removePlotLine:function(t){this.removePlotBandOrLine(t)}})}(e,n),function(t){var e=t.dateFormat,n=t.each,r=t.extend,i=t.format,o=t.isNumber,a=t.map,s=t.merge,l=t.pick,u=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(),s(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,s(!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,a=o.now,s=!1!==o.options.animation&&!o.isHidden&&(1f-s?f:f-s);else{if(!c)return!1;a[t]=Math.max(i,r+s+n>e?r:r+s)}},d=function(t,e,n,r){var i;return re-o?i=!1:a[t]=re-n/2?e-n-2:r-n/2,i},p=function(t){var e=u;u=c,c=e,r=t},m=function(){!1!==f.apply(0,u)?!1!==d.apply(0,c)||r||(p(!0),m()):r?a.x=a.y=0:(p(!0),m())};return(i.inverted||1p&&(u=!1),t=(e.series&&e.series.yAxis&&e.series.yAxis.pos)+(e.plotY||0),t-=a.plotTop,o.push({target:e.isHeader?a.plotHeight+h:t,rank:e.isHeader?1:0,size:n.tt.getBBox().height+1,point:e,x:p,tt:d})}}),this.cleanSplit(),t.distribute(o,a.plotHeight+h),n(o,function(t){var e=t.point,n=e.series;t.tt.attr({visibility:void 0===t.pos?"hidden":"inherit",x:u||e.isHeader?t.x:e.plotX+a.plotLeft+l(c.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,a,s=e("%m-%d %H:%M:%S.%L",n),l={millisecond:15,second:12,minute:9,hour:6,day:3},u="millisecond";for(a in h){if(t===h.week&&+e("%w",n)===r&&"00:00:00.000"===s.substr(6)){a="week";break}if(h[a]>t){a=u;break}if(l[a]&&s.substr(l[a])!=="01-01 00:00:00.000".substr(l[a]))break;"week"!==a&&(u=a)}return a&&(o=i[a]),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){e=e?"footer":"header";var r=t.series,a=r.tooltipOptions,s=a.xDateFormat,l=r.xAxis,u=l&&"datetime"===l.options.type&&o(t.key),c=a[e+"Format"];return u&&!s&&(s=this.getXDateFormat(t,a,l)),u&&s&&n(t.point&&t.point.tooltipDateKeys||["key"],function(t){c=c.replace("{point."+t+"}","{point."+t+":"+s+"}")}),i(c,{point:t,series:r})},bodyFormatter:function(t){return a(t,function(t){var e=t.series.tooltipOptions;return(e.pointFormatter||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"])})}}}(e),function(t){var e=t.addEvent,n=t.attr,r=t.charts,i=t.color,o=t.css,a=t.defined,s=t.each,l=t.extend,u=t.find,c=t.fireEvent,h=t.isObject,f=t.offset,d=t.pick,p=t.removeEvent,m=t.splat,v=t.Tooltip;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&&(t.tooltip=new v(t,e.tooltip),this.followTouchMove=d(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=d(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;return n=t.touches?t.touches.length?t.touches.item(0):t.changedTouches[0]:t,e||(this.chartPosition=e=f(this.chart.container)),l(t,{chartX:Math.round(n.pageX-e.left),chartY:Math.round(n.pageY-e.top)})},getCoordinates:function(t){var e={xAxis:[],yAxis:[]};return s(this.chart.axes,function(n){e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])})}),e},findNearestKDPoint:function(t,e,n){var r;return s(t,function(t){var i=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(n,i),(i=h(t,!0))&&!(i=!h(r,!0)))var i=r.distX-t.distX,o=r.dist-t.dist,a=(t.series.group&&t.series.group.zIndex)-(r.series.group&&r.series.group.zIndex),i=0<(0!==i&&e?i:0!==o?o:0!==a?a:r.series.index>t.series.index?-1:1);i&&(r=t)}),r},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,a,l){var c,f=[],p=l&&l.isBoosting;return i=!(!i||!e),l=n&&!n.stickyTracking?[n]:t.grep(r,function(t){return t.visible&&!(!o&&t.directTouch)&&d(t.options.enableMouseTracking,!0)&&t.stickyTracking}),n=(c=i?e:this.findNearestKDPoint(l,o,a))&&c.series,c&&(o&&!n.noSharedTooltip?(l=t.grep(r,function(t){return t.visible&&!(!o&&t.directTouch)&&d(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}),s(l,function(t){var e=u(t.points,function(t){return t.x===c.x&&!t.isNull});h(e)&&(p&&(e=t.getPoint(e)),f.push(e))})):f.push(c)),{hoverPoint:c,hoverSeries:n,hoverPoints:f}},runPointActions:function(n,i){var o,a=this.chart,l=a.tooltip&&a.tooltip.options.enabled?a.tooltip:void 0,u=!!l&&l.shared,c=i||a.hoverPoint,h=c&&c.series||a.hoverSeries,h=this.getHoverData(c,h,a.series,!!i||h&&h.directTouch&&this.isDirectTouch,u,n,{isBoosting:a.isBoosting}),c=h.hoverPoint;if(o=h.hoverPoints,i=(h=h.hoverSeries)&&h.tooltipOptions.followPointer,u=u&&h&&!h.noSharedTooltip,c&&(c!==a.hoverPoint||l&&l.isHidden)){if(s(a.hoverPoints||[],function(e){-1===t.inArray(e,o)&&e.setState()}),s(o||[],function(t){t.setState("hover")}),a.hoverSeries!==h&&h.onMouseOver(),a.hoverPoint&&a.hoverPoint.firePointEvent("mouseOut"),!c.series)return;c.firePointEvent("mouseOver"),a.hoverPoints=o,a.hoverPoint=c,l&&l.refresh(u?o:c,n)}else i&&l&&!l.isHidden&&(c=l.getAnchor([{}],n),l.updatePosition({plotX:c[0],plotY:c[1]}));this.unDocMouseMove||(this.unDocMouseMove=e(a.container.ownerDocument,"mousemove",function(e){var n=r[t.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(e)})),s(a.axes,function(e){var r=d(e.crosshair.snap,!0),i=r?t.find(o,function(t){return t.series[e.coll]===e}):void 0;i||!r?e.drawCrosshair(n,i):e.hideCrosshair()})},reset:function(t,e){var n=this.chart,r=n.hoverSeries,i=n.hoverPoint,o=n.hoverPoints,a=n.tooltip,l=a&&a.shared?o:i;t&&l&&s(m(l),function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)}),t?a&&l&&(a.refresh(l),i&&(i.setState(i.state,!0),s(n.axes,function(t){t.crosshair&&t.drawCrosshair(null,i)}))):(i&&i.onMouseOut(),o&&s(o,function(t){t.setState()}),r&&r.onMouseOut(),a&&a.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),s(n.axes,function(t){t.hideCrosshair()}),this.hoverX=n.hoverPoints=n.hoverPoint=null)},scaleGroups:function(t,e){var n,r=this.chart;s(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,a=t.chartY,s=this.zoomHor,l=this.zoomVert,u=n.plotLeft,c=n.plotTop,h=n.plotWidth,f=n.plotHeight,d=this.selectionMarker,p=this.mouseDownX,m=this.mouseDownY,v=r.panKey&&t[r.panKey+"Key"];d&&d.touch||(ou+h&&(o=u+h),ac+f&&(a=c+f),this.hasDragged=Math.sqrt(Math.pow(p-o,2)+Math.pow(m-a,2)),10b.max&&(e=b.max-l,c=!0),c?(_-=.8*(_-a[f][0]),x||(S-=.8*(S-a[f][1])),n()):a[f]=[_,S],y||(o[f]=u-v,o[m]=l),o=y?1/g:g,i[m]=l,i[f]=e,r[y?t?"scaleY":"scaleX":"scale"+d]=g,r["translate"+d]=o*v+(_-o*w)},pinch:function(t){var e=this,s=e.chart,l=e.pinchDown,u=t.touches,c=u.length,h=e.lastValidTouch,f=e.hasZoom,d=e.selectionMarker,p={},m=1===c&&(e.inClass(t.target,"highcharts-tracker")&&s.runTrackerClick||e.runChartClick),v={};1e-6&&s(p||e.spacingBox.width-2*h-r.x)&&(this.itemX=h,this.itemY+=v+this.lastLineHeight+m,this.lastLineHeight=0),this.maxItemWidth=Math.max(this.maxItemWidth,s),this.lastItemY=v+this.itemY+m,this.lastLineHeight=Math.max(n,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],i?this.itemX+=s:(this.itemY+=v+n+m,this.lastLineHeight=n),this.offsetWidth=p||Math.max((i?this.itemX-h-(t.checkbox?0:f):s)+h,this.offsetWidth)},getAllItems:function(){var t=[];return o(this.chart.series,function(e){var n=e&&e.options;e&&u(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,a=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,l){o.test(a)&&!i(t[l])&&(n[s[l]]=Math.max(n[s[l]],n.legend[(l+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][l]*r[l%2?"x":"y"]+u(r.margin,12)+e[l]))})},render:function(){var t,e,n,r,i=this,a=i.chart,s=a.renderer,u=i.group,c=i.box,f=i.options,d=i.padding;i.itemX=d,i.itemY=i.initialItemY,i.offsetWidth=0,i.lastItemY=0,u||(i.group=u=s.g("legend").attr({zIndex:7}).add(),i.contentGroup=s.g().attr({zIndex:1}).add(u),i.scrollGroup=s.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)}),f.reversed&&t.reverse(),i.allItems=t,i.display=e=!!t.length,i.lastLineHeight=0,o(t,function(t){i.renderItem(t)}),n=(f.width||i.offsetWidth)+d,r=i.lastItemY+i.lastLineHeight+i.titleHeight,r=i.handleOverflow(r),r+=d,c||(i.box=c=s.rect().addClass("highcharts-legend-box").attr({r:f.borderRadius}).add(u),c.isNew=!0),c.attr({stroke:f.borderColor,"stroke-width":f.borderWidth||0,fill:f.backgroundColor||"none"}).shadow(f.shadow),0i&&!1!==f.enabled?(this.clipHeight=e=Math.max(i-20-this.titleHeight-c,0),this.currentPage=u(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=v.length;(!o||i-v[o-1]>e&&(n||i)!==v[o-1])&&(v.push(n||i),o++),r===g.length-1&&i+t-v[o-1]>e&&v.push(i),i!==n&&(n=i)}),h||(h=r.clipRect=a.clipRect(0,c,9999,0),r.contentGroup.clip(h)),y(e),m||(this.nav=m=a.g().attr({zIndex:1}).add(this.group),this.up=a.symbol("triangle",0,0,p,p).on("click",function(){r.scroll(-1,d)}).add(m),this.pager=a.text("",15,10).addClass("highcharts-legend-navigation").css(f.style).add(m),this.down=a.symbol("triangle-down",0,0,p,p).on("click",function(){r.scroll(1,d)}).add(m)),r.scroll(0),t=i):m&&(y(),this.nav=m.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,a=this.pager,s=this.padding;t>r&&(t=r),0o&&(n=typeof t[0],"string"===n?e.name=t[0]:"number"===n&&(e.x=t[0]),a++);u=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=u(r.valueDecimals,""),o=r.valuePrefix||"",s=r.valueSuffix||"";return n(e.pointArrayMap||["y"],function(e){e="{point."+e,(o||s)&&(t=t.replace(e+"}",o+e+"}"+s)),t=t.replace(e+"}",e+":,."+i+"f}")}),a(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}}(e),function(t){var e=t.addEvent,n=t.animObject,r=t.arrayMax,i=t.arrayMin,o=t.correctFloat,a=t.Date,s=t.defaultOptions,l=t.defaultPlotOptions,u=t.defined,c=t.each,h=t.erase,f=t.extend,d=t.fireEvent,p=t.grep,m=t.isArray,v=t.isNumber,g=t.isString,y=t.merge,b=t.objectEach,x=t.pick,w=t.removeEvent,_=t.splat,k=t.SVGElement,S=t.syncTimeout,M=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,a=t.series;o.chart=t,o.options=n=o.setOptions(n),o.linkedSeries=[],o.bindAxes(),f(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),a.length&&(i=a[a.length-1]),o._i=x(i&&i._i,-1)+1,t.orderSeries(this.insert(a))},insert:function(t){var e,n=this.options.index;if(v(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=v(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 a(n),"day"===r?e=+e[a.hcSetDate](e[a.hcGetDate]()+t):"month"===r?e=+e[a.hcSetMonth](e[a.hcGetMonth]()+t):"year"===r&&(e=+e[a.hcSetFullYear](e[a.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(s.tooltip,s.plotOptions.series&&s.plotOptions.series.tooltip,s.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&&u(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,a=t+"Index",s=t+"Counter",l=n?n.length:x(i.options.chart[t+"Count"],i[t+"Count"]);e||(r=x(o[a],o["_"+a]),u(r)||(i.series.length||(i[s]=0),o["_"+a]=r=i[s]%l,i[s]+=1),n&&(e=n[r])),void 0!==r&&(this[a]=r),this[t]=e},getColor:function(){this.options.colorByPoint?this.options.color=null:this.getCyclic("color",this.options.color||l[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,a=this,s=a.points,l=s&&s.length||0,u=a.options,h=a.chart,f=null,d=a.xAxis,p=u.turboThreshold,y=this.xData,b=this.yData,w=(o=a.pointArrayMap)&&o.length;if(e=e||[],o=e.length,n=x(n,!0),!1!==i&&o&&l===o&&!a.cropped&&!a.hasGroupedData&&a.visible)c(e,function(t,e){s[e].update&&t!==u.data[e]&&s[e].update(t,!1,null,!1)});else{if(a.xIncrement=null,a.colorCounter=0,c(this.parallelArrays,function(t){a[t+"Data"].length=0}),p&&o>p){for(r=0;null===f&&rl||this.forceCrop)&&(r[o-1]f?(r=[],i=[]):(r[0]f)&&(n=this.cropData(this.xData,this.yData,h,f),r=n.xData,i=n.yData,n=n.start,a=!0)),l=r.length||1;--l;)o=m?c(r[l])-c(r[l-1]):r[l]-r[l-1],0o&&this.requireSorting&&t.error(15);this.cropped=a,this.cropStart=n,this.processedXData=r,this.processedYData=i,this.closestPointRange=s},cropData:function(t,e,n,r){var i,o=t.length,a=0,s=o,l=x(this.cropShoulder,1);for(i=0;i=n){a=Math.max(0,i-l);break}for(n=i;nr){s=n+l;break}return{xData:t.slice(a,s),yData:e.slice(a,s),start:a,end:s}},generatePoints:function(){var t,e,n,r,i=this.options,o=i.data,a=this.data,s=this.processedXData,l=this.processedYData,u=this.pointClass,c=s.length,h=this.cropStart||0,f=this.hasGroupedData,i=i.keys,d=[];for(a||f||(a=[],a.length=o.length,a=this.data=a),i&&f&&(this.options.keys=!1),r=0;r=f&&(o[h-1]||u)<=d,l&&u)if(l=c.length)for(;l--;)null!==c[l]&&(a[s++]=c[l]);else a[s++]=c;this.dataMin=i(a),this.dataMax=r(a)},translate:function(){this.processedXData||this.processData(),this.generatePoints();var t,e,n,r,i=this.options,a=i.stacking,s=this.xAxis,l=s.categories,c=this.yAxis,h=this.points,f=h.length,d=!!this.modifyValue,p=i.pointPlacement,m="between"===p||v(p),g=i.threshold,y=i.startFromThreshold?g:0,b=Number.MAX_VALUE;for("between"===p&&(p=.5),v(p)&&(p*=x(i.pointRange||s.pointRange)),i=0;i=k&&(w.isNull=!0),w.plotX=t=o(Math.min(Math.max(-1e5,s.translate(_,0,0,0,1,p,"flags"===this.type)),1e5)),a&&this.visible&&!w.isNull&&M&&M[_]&&(r=this.getStackIndicator(r,_,this.index),S=M[_],k=S.points[r.key],e=k[0],k=k[1],e===y&&r.key===M[_].base&&(e=x(g,c.min)),c.positiveValuesOnly&&0>=e&&(e=null),w.total=w.stackTotal=S.total,w.percentage=S.total&&w.y/S.total*100,w.stackY=k,S.setOffset(this.pointXOffset||0,this.barW||0)),w.yBottom=u(e)?c.translate(e,0,1,0,1):null,d&&(k=this.modifyValue(k,w)),w.plotY=e="number"==typeof k&&1/0!==k?Math.min(Math.max(-1e5,c.translate(k,0,1,0,1)),1e5):void 0,w.isInside=void 0!==e&&0<=e&&e<=c.len&&0<=t&&t<=s.len,w.clientX=m?o(s.translate(_,0,0,0,1,p)):t,w.negative=w.y<(g||0),w.category=l&&void 0!==l[w.x]?l[w.x]:w.x,w.isNull||(void 0!==n&&(b=Math.min(b,Math.abs(t-n))),n=t),w.zone=this.zones.length&&w.getZone()}this.closestPointRangePx=b},getValidPoints:function(t,e){var n=this.chart;return p(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,a=o||e.clipBox,s=this.sharedClipKey||["_sharedClip",t&&t.duration,t&&t.easing,a.height,n.xAxis,n.yAxis].join(),l=e[s],u=e[s+"m"];l||(t&&(a.width=0,i&&(a.x=e.plotSizeX),e[s+"m"]=u=r.clipRect(i?e.plotSizeX+99:-99,i?-e.plotLeft:-e.plotTop,99,i?e.chartWidth:e.chartHeight)),e[s]=l=r.clipRect(a),l.count={length:0}),t&&!l.count[this.index]&&(l.count[this.index]=!0,l.count.length+=1),!1!==n.clip&&(this.group.clip(t||o?l:e.clipRect),this.markerGroup.clip(u),this.sharedClipKey=s),t||(l.count[this.index]&&(delete l.count[this.index],--l.count.length),0===l.count.length&&s&&e[s]&&(o||(e[s]=e[s].destroy()),e[s+"m"]&&(e[s+"m"]=e[s+"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,x:0},i),r[e+"m"]&&r[e+"m"].animate({width:r.plotSizeX+99,x:0},i),this.animate=null)},afterAnimate:function(){this.setClip(),d(this,"afterAnimate"),this.finishedAnimating=!0},drawPoints:function(){var t,e,n,r,i,o,a,s,l=this.points,u=this.chart,c=this.options.marker,h=this[this.specialGroup]||this.markerGroup,f=x(c.enabled,!!this.xAxis.isRadial||null,this.closestPointRangePx>=2*c.radius);if(!1!==c.enabled||this._hasPointMarkers)for(e=0;ei&&e.shadow)),a&&(a.startX=n.xMap,a.isArea=n.isArea)})},applyZones:function(){var t,e,n,r,i,o,a,s,l,u=this,h=this.chart,f=h.renderer,d=this.zones,p=this.clips||[],m=this.graph,v=this.area,g=Math.max(h.chartWidth,h.chartHeight),y=this[(this.zoneAxis||"y")+"Axis"],b=h.inverted,w=!1;d.length&&(m||v)&&y&&void 0!==y.min&&(i=y.reversed,o=y.horiz,m&&m.hide(),v&&v.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),w&&(t=e=y.toPixels(r.max)),a=Math.abs(t-e),s=Math.min(t,e),l=Math.max(t,e),y.isXAxis?(n={x:b?l:s,y:0,width:a,height:g},o||(n.x=h.plotHeight-n.x)):(n={x:0,y:b?l:s,width:g,height:a},o&&(n.y=h.plotWidth-n.y)),b&&f.isVML&&(n=y.isXAxis?{x:0,y:i?s:l,height:n.width,width:h.chartWidth}:{x:n.y-h.plotLeft-h.spacingBox.x,y:0,width:n.height,height:h.chartHeight}),p[d]?p[d].animate(n):(p[d]=f.clipRect(n),m&&u["zone-graph-"+d].clip(p[d]),v&&u["zone-area-"+d].clip(p[d])),w=c.value>r.max}),this.clips=p)},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],a=!o;return a&&(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 "+(u(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr({visibility:n})[a?"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,a=e.visible?"inherit":"hidden",s=i.zIndex,l=e.hasRendered,u=r.seriesGroup,c=r.inverted;t=e.plotGroup("group","series",a,s,u),e.markerGroup=e.plotGroup("markerGroup","markers",a,s,u),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||l||t.clip(r.clipRect),o&&e.animate(),l||(e.animationTimeout=S(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,a;if(a=n&&n.length)return o=e.kdAxisArray[r%i],n.sort(function(t,e){return t[o]-e[o]}),a=Math.floor(a/2),{point:n[a],left:t(n.slice(0,a),r+1,i),right:t(n.slice(a+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],s+1,l),p=c[a]s;)a--;this.updateParallelArrays(i,"splice",a,0,0),this.updateParallelArrays(i,a),h&&i.name&&(h[s]=i.name),f.splice(a,0,t),o&&(this.data.splice(a,0,null),this.processData()),"point"===l.legendType&&this.generatePoints(),n&&(u[0]&&u[0].remove?u[0].remove(!1):(u.shift(),this.updateParallelArrays(i,"shift"),f.shift())),this.isDirtyData=this.isDirty=!0,e&&c.redraw(r)},removePoint:function(t,e,n){var r=this,i=r.data,o=i[t],a=r.points,s=r.chart,l=function(){a&&a.length===i.length&&a.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&&s.redraw()};w(n,s),e=g(e,!0),o?o.firePointEvent("remove",null,l):l()},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,a=r.oldType||r.type,l=t.type||o.type||i.options.chart.type,c=x[a].prototype,h=["group","markerGroup","dataLabelsGroup"],f=["navigatorSeries","baseSeries"],d=r.finishedAnimating&&{animation:!1};if(Object.keys&&"data"===Object.keys(t).toString())return this.setData(t.data,e);(l&&l!==a||void 0!==t.zIndex)&&(h.length=0),r.options.isInternal&&(f.length=0),f=h.concat(f),s(f,function(t){f[t]=r[t],delete r[t]}),t=m(o,d,{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;u(r,x[l||a].prototype),s(f,function(t){r[t]=f[t]}),r.init(i,t),r.oldType=a,i.linkSeries(),g(e,!0)&&i.redraw(!1)}}),u(r.prototype,{update:function(t,e){var n=this.chart;t=n.options[this.coll][this.options.index]=m(this.userOptions,t),this.destroy(!0),this.init(n,u(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);l(e.axes,this),l(e[n],this),p(e.options[n])?e.options[n].splice(this.options.index,1):delete e.options[n],s(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)}})}(e),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(e){var o,a,s=[],l=[],u=this.xAxis,c=this.yAxis,h=c.stacks[this.stackKey],f={},d=this.index,p=c.series,m=p.length,v=i(c.options.reversedStacks,!0)?1:-1;if(e=e||this.points,this.options.stacking){for(a=0;at&&l>o?(l=Math.max(t,o),c=2*o-l):lr&&c>o?(c=Math.max(r,o),l=2*o-c):c=Math.abs(e)&&.5t.closestPointRange*t.xAxis.transA,i=t.borderWidth=s(n.borderWidth,i?0:1),o=t.yAxis,a=t.translatedThreshold=o.getThreshold(n.threshold),u=s(n.minPointLength,5),c=t.getColumnMetrics(),h=c.width,f=t.barW=Math.max(h,1+2*i),d=t.pointXOffset=c.offset;e.inverted&&(a-=.5),n.pointPadding&&(f=Math.ceil(f)),l.prototype.translate.apply(t),r(t.points,function(n){var r,i=s(n.yBottom,a),l=999+Math.abs(i),l=Math.min(Math.max(-l,n.plotY),o.len+l),c=n.plotX+d,p=f,m=Math.min(l,i),v=Math.max(l,i)-m;u&&Math.abs(v)=t.dataMax&&(r=!r),m=Math.abs(m-a)>u?i-u:a-(r?u:0)),n.barX=c,n.pointWidth=h,n.tooltipPos=e.inverted?[o.len+o.pos-e.plotLeft-l,t.xAxis.len-c-p/2,v]:[c+p/2,l+o.pos-e.plotTop,v],n.shapeType="rect",n.shapeArgs=t.crispCol.apply(t,n.isNull?[c,a,p,0]:[c,m,p,v])})},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 s=o["stroke-width"]||"borderWidth",l=t&&t.color||this.color,u=t&&t[r]||i[r]||this.color||l,c=t&&t[s]||i[s]||this[s]||0,o=i.dashStyle;return t&&this.zones.length&&(l=t.getZone(),l=t.options.color||l&&l.color||this.color),e&&(t=a(i.states[e],t.options.states&&t.options.states[e]||{}),e=t.brightness,l=t.color||void 0!==e&&n(l).brighten(t.brightness).get()||l,u=t[r]||u,c=t[s]||c,o=t.dashStyle||o),r={fill:l,stroke:u,"stroke-width":c},o&&(r.dashstyle=o),r},drawPoints:function(){var t,e=this,n=this.chart,i=e.options,s=n.renderer,l=i.animationLimit||250;r(e.points,function(r){var u=r.graphic;o(r.plotY)&&null!==r.y?(t=r.shapeArgs,u?u[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)}})}(e),function(t){var e=t.deg2rad,n=t.isNumber,r=t.pick,i=t.relativeLength;t.CenteredSeriesMixin={getCenter:function(){var t,e,n=this.options,o=this.chart,a=2*(n.slicedOffset||0),s=o.plotWidth-2*a,o=o.plotHeight-2*a,l=n.center,l=[r(l[0],"50%"),r(l[1],"50%"),n.size||"100%",n.innerSize||0],u=Math.min(s,o);for(t=0;4>t;++t)e=l[t],n=2>t||2===t&&/%$/.test(e),l[t]=i(e,[s,o,u,l[2]][t])+(n?a:0);return l[3]>l[2]&&(l[3]=l[2]),l},getStartAndEndRadians:function(t,r){return t=n(t)?t:0,r=n(r)&&r>t&&360>r-t?r:t+360,{start:e*(t+-90),end:e*(r+-90)}}}}(e),function(t){var e=t.addEvent,n=t.CenteredSeriesMixin,r=t.defined,i=t.each,o=t.extend,a=n.getStartAndEndRadians,s=t.inArray,l=t.noop,u=t.pick,c=t.Point,h=t.Series,f=t.seriesType,d=t.setAnimation;f("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,r=e.startAngleRad;t||(i(n,function(t){var n=t.graphic,i=t.shapeArgs;n&&(n.attr({r:t.startR||e.center[3]/2,start:r,end:r}),n.animate({r:i.r,start:i.start,end:i.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)*h),translateY:Math.round(Math.sin(r)*h)},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(f,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,r,a=this,s=a.chart.renderer,l=a.options.shadow;l&&!a.shadowGroup&&(a.shadowGroup=s.g("shadow").add(a.group)),i(a.points,function(i){if(e=i.graphic,i.isNull)e&&(i.graphic=e.destroy());else{r=i.shapeArgs,t=i.getTranslate();var u=i.shadowGroup;l&&!u&&(u=i.shadowGroup=s.g("shadow").add(a.shadowGroup)),u&&u.attr(t),n=a.pointAttribs(i,i.selected&&"select"),e?e.setRadialReference(a.center).attr(n).animate(o(r,t)):(i.graphic=e=s[i.shapeType](r).setRadialReference(a.center).attr(t).add(a.group),i.visible||e.attr({visibility:"hidden"}),e.attr(n).attr({"stroke-linejoin":"round"}).shadow(l,u)),e.addClass(i.getClassName())}})},searchPoint:l,sortByAngle:function(t,e){t.sort(function(t,n){return void 0!==t.angle&&(n.angle-t.angle)*e})},drawLegendSymbol:t.LegendSymbolMixin.drawRectangle,getCenter:n.getCenter,getSymbol:l},{init:function(){c.prototype.init.apply(this,arguments);var t,n=this;return n.name=u(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,r=n.series,o=r.chart,a=r.options.ignoreHiddenPoint;e=u(e,a),t!==n.visible&&(n.visible=n.options.visible=t=void 0===t?!n.visible:t,r.options.data[s(n,r.data)]=n.options,i(["graphic","dataLabel","connector","shadowGroup"],function(e){n[e]&&n[e][t?"show":"hide"](!0)}),n.legendItem&&o.legend.colorizeItem(n,t),t||"hover"!==n.state||n.setState(""),a&&(r.isDirty=!0),e&&o.redraw())},slice:function(t,e,n){var i=this.series;d(n,i.chart),u(e,!0),this.sliced=this.options.sliced=r(t)?t:!this.sliced,i.options.data[s(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})}})}(e),function(t){var e=t.addEvent,n=t.arrayMax,r=t.defined,i=t.each,o=t.extend,a=t.format,s=t.map,l=t.merge,u=t.noop,c=t.pick,h=t.relativeLength,f=t.Series,d=t.seriesTypes,p=t.stableSort;t.distribute=function(t,e){function n(t,e){return t.target-e.target}var r,o,a=!0,l=t,u=[];for(o=0,r=t.length;r--;)o+=t[r].size;if(o>e){for(p(t,function(t,e){return(e.rank||0)-(t.rank||0)}),o=r=0;o<=e;)o+=t[r].size,r++;u=t.splice(r-1,t.length)}for(p(t,n),t=s(t,function(t){return{size:t.size,targets:[t.target]}});a;){for(r=t.length;r--;)a=t[r],o=(Math.min.apply(0,a.targets)+Math.max.apply(0,a.targets))/2,a.pos=Math.min(Math.max(0,o-a.size/2),e-a.size);for(r=t.length,a=!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),a=!0)}r=0,i(t,function(t){var e=0;i(t.targets,function(){l[r].pos=t.pos+e,e+=l[r].size,r++})}),l.push.apply(l,u),p(l,n)},f.prototype.drawDataLabels=function(){var n,o,s,u,h=this,f=h.options,d=f.dataLabels,p=h.points,m=h.hasRendered||0,v=c(d.defer,!!f.animation),g=h.chart.renderer;(d.enabled||h._hasPointLabels)&&(h.dlProcessOptions&&h.dlProcessOptions(d),u=h.plotGroup("dataLabelsGroup","data-labels",v&&!m?"hidden":"visible",d.zIndex||6),v&&(u.attr({opacity:+m}),m||e(h,"afterAnimate",function(){h.visible&&u.show(!0),u[f.animation?"animate":"attr"]({opacity:1},{duration:200})})),o=d,i(p,function(e){var i,p,m,v,y=e.dataLabel,b=e.connector,x=!y;n=e.dlOptions||e.options&&e.options.dataLabels,(i=c(n&&n.enabled,o.enabled)&&!e.isNull)&&(d=l(o,n),p=e.getLabelConfig(),v=d[e.formatPrefix+"Format"]||d.format,s=r(v)?a(v,p):d.formatter.call(p,d),v=d.style,p=d.rotation,v.color=c(d.color,v.color,h.color,"#000000"),"contrast"===v.color&&(e.contrastColor=g.getContrast(e.color||h.color),v.color=d.inside||0>c(e.labelDistance,d.distance)||f.stacking?e.contrastColor:"#000000"),f.cursor&&(v.cursor=f.cursor),m={fill:d.backgroundColor,stroke:d.borderColor,"stroke-width":d.borderWidth,r:d.borderRadius||0,rotation:p,padding:d.padding,zIndex:1},t.objectEach(m,function(t,e){void 0===t&&delete m[e]})),!y||i&&r(s)?i&&r(s)&&(y?m.text=s:(y=e.dataLabel=g[p?"text":"label"](s,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(m),y.css(v).shadow(d.shadow),y.added||y.add(u),h.alignDataLabel(e,y,d,null,x)):(e.dataLabel=y=y.destroy(),b&&(e.connector=b.destroy()))}))},f.prototype.alignDataLabel=function(t,e,n,r,i){var a,s=this.chart,l=s.inverted,u=c(t.plotX,-9999),h=c(t.plotY,-9999),f=e.getBBox(),d=n.rotation,p=n.align,m=this.visible&&(t.series.forceDL||s.isInsidePlot(u,Math.round(h),l)||r&&s.isInsidePlot(u,l?r.x+1:r.y+r.height-1,l)),v="justify"===c(n.overflow,"justify");m&&(a=n.style.fontSize,a=s.renderer.fontMetrics(a,e).b,r=o({x:l?this.yAxis.len-h:u,y:Math.round(l?this.xAxis.len-u:h),width:0,height:0},r),o(n,{width:f.width,height:f.height}),d?(v=!1,u=s.renderer.rotCorr(a,d),u={x:r.x+n.x+r.width/2+u.x,y:r.y+n.y+{top:0,middle:.5,bottom:1}[n.verticalAlign]*r.height},e[i?"attr":"animate"](u).attr({align:p}),h=(d+720)%360,h=180h,"left"===p?u.y-=h?f.height:0:"center"===p?(u.x-=f.width/2,u.y-=f.height/2):"right"===p&&(u.x-=f.width,u.y-=h?0:f.height)):(e.align(n,null,r),u=e.alignAttr),v?t.isLabelJustified=this.justifyDataLabel(e,n,u,f,r,i):c(n.crop,!0)&&(m=s.isInsidePlot(u.x,u.y)&&s.isInsidePlot(u.x+f.width,u.y+f.height)),n.shape&&!d)&&e[i?"attr":"animate"]({anchorX:l?s.plotWidth-t.plotY:t.plotX,anchorY:l?s.plotHeight-t.plotX:t.plotY}),m||(e.attr({y:-9999}),e.placed=!1)},f.prototype.justifyDataLabel=function(t,e,n,r,i,o){var a,s,l=this.chart,u=e.align,c=e.verticalAlign,h=t.box?0:t.padding||0;return a=n.x+h,0>a&&("right"===u?e.align="left":e.x=-a,s=!0),a=n.x+r.width-h,a>l.plotWidth&&("left"===u?e.align="right":e.x=l.plotWidth-a,s=!0),a=n.y+h,0>a&&("bottom"===c?e.verticalAlign="top":e.y=-a,s=!0),a=n.y+r.height-h,a>l.plotHeight&&("top"===c?e.verticalAlign="bottom":e.y=l.plotHeight-a,s=!0),s&&(t.placed=!o,t.align(e,null,i)),s},d.pie&&(d.pie.prototype.drawDataLabels=function(){var e,o,a,s,l,u,h,d,p,m,v=this,g=v.data,y=v.chart,b=v.options.dataLabels,x=c(b.connectorPadding,10),w=c(b.connectorWidth,1),_=y.plotWidth,k=y.plotHeight,S=v.center,M=S[2]/2,T=S[1],E=[[],[]],C=[0,0,0,0];v.visible&&(b.enabled||v._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)}),f.prototype.drawDataLabels.apply(v),i(g,function(t){t.dataLabel&&t.visible&&(E[t.half].push(t),t.dataLabel._pos=null)}),i(E,function(n,o){var f,g,w,E=n.length,O=[];if(E)for(v.sortByAngle(n,o-.5),0e.bottom-2?f:d,o,e),a._attr={visibility:p,align:l[6]},a._pos={x:h+b.x+({left:x,right:-x}[l[6]]||0),y:d+b.y-10},l.x=h,l.y=d,c(b.crop,!0)&&(s=a.getBBox().width,f=null,h-s_-x&&(f=Math.round(h+s-_+x),C[1]=Math.max(f,C[1])),0>d-u/2?C[0]=Math.max(Math.round(u/2-d),C[0]):d+u/2>k&&(C[2]=Math.max(Math.round(d+u/2-k),C[2])),a.sideOverflow=f)}),0===n(C)||this.verifyDataLabelOverflow(C))&&(this.placeDataLabels(),w&&i(this.points,function(t){var e;o=t.connector,(a=t.dataLabel)&&a._pos&&t.visible&&0c(this.translatedThreshold,a.yAxis.len)),h=c(n.inside,!!this.options.stacking);s&&(r=l(s),0>r.y&&(r.height+=r.y,r.y=0),s=r.y+r.height-a.yAxis.len,0t+n||i+ae+r||o+sthis.pointCount))},pan:function(t,e){var n,r=this,i=r.hoverPoints;i&&l(i,function(t){t.setState()}),l("xy"===e?[1,0]:[1],function(e){e=r[e?"xAxis":"yAxis"][0];var i,o=e.horiz,a=t[o?"chartX":"chartY"],o=o?"mouseDownX":"mouseDownY",s=r[o],l=(e.pointRange||0)/2,u=e.getExtremes(),c=e.toValue(s-a,!0)+l,l=e.toValue(s+e.len-a,!0)-l,h=l=a(n.minWidth,0)&&this.chartHeight>=a(n.minHeight,0)}).call(this)&&e.push(t._id)},e.prototype.currentOptions=function(e){function n(e,a,l,u){var c;t.objectEach(e,function(t,h){if(!u&&-1",'"',"`"," ","\r","\n","\t"],p=["{","}","|","\\","^","`"].concat(d),m=["'"].concat(p),v=["%","/","?",";","#"].concat(m),g=["/","?","#"],y=/^[+a-z0-9A-Z_-]{0,63}$/,b=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,x={javascript:!0,"javascript:":!0},w={javascript:!0,"javascript:":!0},_={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},k=n(237);r.prototype.parse=function(t,e,n){if(!u.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var r=t.indexOf("?"),i=-1!==r&&r127?L+="x":L+=I[z];if(!L.match(y)){var N=A.slice(0,T),R=A.slice(T+1),F=I.match(b);F&&(N.push(F[1]),R.unshift(F[2])),R.length&&(s="/"+R.join(".")+s),this.hostname=N.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=l.toASCII(this.hostname));var B=this.port?":"+this.port:"",Y=this.hostname||"";this.host=Y+B,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!x[p])for(var T=0,D=m.length;T0)&&n.host.split("@");M&&(n.auth=M.shift(),n.host=n.hostname=M.shift())}return n.search=t.search,n.query=t.query,u.isNull(n.pathname)&&u.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!k.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var T=k.slice(-1)[0],E=(n.host||t.host||k.length>1)&&("."===T||".."===T)||""===T,C=0,O=k.length;O>=0;O--)T=k[O],"."===T?k.splice(O,1):".."===T?(k.splice(O,1),C++):C&&(k.splice(O,1),C--);if(!b&&!x)for(;C--;C)k.unshift("..");!b||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),E&&"/"!==k.join("/").substr(-1)&&k.push("");var P=""===k[0]||k[0]&&"/"===k[0].charAt(0);if(S){n.hostname=n.host=P?"":k.length?k.shift():"";var M=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");M&&(n.auth=M.shift(),n.host=n.hostname=M.shift())}return b=b||n.host&&k.length,b&&!P&&k.unshift(""),k.length?n.pathname=k.join("/"):(n.pathname=null,n.path=null),u.isNull(n.pathname)&&u.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(92),i=n(56),o=n(24),a=n(376),s=r(Object,"keys"),l=s?function(t){var e=null==t?void 0:t.constructor;return"function"==typeof e&&e.prototype===t||"function"!=typeof t&&i(t)?a(t):o(t)?s(t):[]}:a;t.exports=l},,function(t,e,n){function r(t){return null!=t&&o(i(t))}var i=n(214),o=n(70);t.exports=r},,,,,function(t,e,n){var r=n(575),i=n(278),o=n(580),a=r(i,o);t.exports=a},,,,,,,function(t,e,n){var r=n(106);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},,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,e,n){if(!a(n))return!1;var r=typeof e;if("number"==r?i(n)&&o(e,n.length):"string"==r&&e in n){var s=n[e];return t===t?t===s:s!==s}return!1}var i=n(56),o=n(114),a=n(24);t.exports=r},function(t,e,n){"use strict";var r=n(372),i=n(373),o=n(217);t.exports={formats:o,parse:i,stringify:r}},function(t,e,n){function r(t){return o(t)&&i(t)&&s.call(t,"callee")&&!l.call(t,"callee")}var i=n(56),o=n(38),a=Object.prototype,s=a.hasOwnProperty,l=a.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,a){return t.call(e,n,r,i,o,a)}}return function(){return t.apply(e,arguments)}}var i=n(223);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=a(t,e,r)?void 0:e,e=!1),n=null==n?n:i(n,r,3),e?s(t,n):o(t,n)):[]}var i=n(167),o=n(400),a=n(71),s=n(404);t.exports=r},function(t,e,n){var r=n(411),i=n(412),o=n(225),a=n(74),s=n(115),l=n(226),u=n(227),c=n(93),h=c(function(t,e){if(null==t)return{};if("function"!=typeof e[0]){var e=r(o(e),String);return l(t,i(s(t),e))}var n=a(e[0],e[1],3);return u(t,function(t,e,r){return!n(t,e,r)})});t.exports=h},,,,,,,,,,,,function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(136),i=n(302);t.exports=n(107)?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){function r(t,e){var n=null==t?void 0:t[e];return i(n)?n:void 0}var i=n(375);t.exports=r},function(t,e){function n(t,e){if("function"!=typeof t)throw new TypeError(r);return e=i(void 0===e?t.length-1:+e||0,0),function(){for(var n=arguments,r=-1,o=i(n.length-e,0),a=Array(o);++r-1&&t%1==0&&t0;++r-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=f(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 p(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 m(t){var e=new i;return t.replace(/\r?\n[\t ]+/g," ").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 v(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,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 w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];d.prototype.clone=function(){return new d(this,{body:this._bodyInit})},h.call(d.prototype),h.call(v.prototype),v.prototype.clone=function(){return new v(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},v.error=function(){var t=new v(null,{status:0,statusText:""});return t.type="error",t};var _=[301,302,303,307,308];v.redirect=function(t,e){if(-1===_.indexOf(e))throw new RangeError("Invalid status code");return new v(null,{status:e,headers:{location:t}})},t.Headers=i,t.Request=d,t.Response=v,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:m(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 v(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:"omit"===i.credentials&&(o.withCredentials=!1),"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,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Array.isArray,o=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),a=function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(i(n)){for(var r=[],o=0;o=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?i+=r.charAt(a):s<128?i+=o[s]:s<2048?i+=o[192|s>>6]+o[128|63&s]:s<55296||s>=57344?i+=o[224|s>>12]+o[128|s>>6&63]+o[128|63&s]:(a+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(a)),i+=o[240|s>>18]+o[128|s>>12&63]+o[128|s>>6&63]+o[128|63&s])}return i},f=function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r0?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,n){var r=n(700),i=n(208);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(203)("keys"),i=n(205);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(136).f,i=n(137),o=n(30)("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){var r=n(219),i=r("length");t.exports=i},function(t,e,n){function r(t,e,n){if(e!==e)return i(t,n);for(var r=n-1,o=t.length;++r2?n[a-2]:void 0,l=a>2?n[2]:void 0,u=a>1?n[a-1]:void 0;for("function"==typeof s?(s=i(s,u,5),a-=2):(s="function"==typeof u?u:void 0,a-=s?1:0),l&&o(n[0],n[1],l)&&(s=a<3?void 0:s,a=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(!w(this.state,e))return g&&g.call(this,"shouldComponentUpdate => true (state has changed)"),!0;var n=c(t,T),r=c(this.props,T);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 p(t,e,function(t,e){return t===e||i(t,e,k,x)})}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,k,x);return void 0!==r?r:p(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,k,x)})}function m(t,e){return M(t)===M(e)}function v(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._reactInternalFiber?this._reactInternalFiber:this._reactInternalInstance?this._reactInternalInstance._currentElement:this._currentElement,i=e&&e.key?" key="+e.key:"",o=this.constructor.displayName;i||o||(o="Unknown");var a=o+i;r.test(a)&&n("<"+a+">: "+t)}}var g;t=t||{};var y=t.isCursor||l,b=t.isEqualCursor||m,x=t.isEqualImmutable||o,w=t.isEqualState||n,_=t.isEqualProps||r,k=t.isImmutable||a,S=t.isIgnorable||h,M=t.unCursor||s,T=u(d(S,f));return e.isCursor=y,e.isEqualState=w,e.isEqualProps=_,e.isEqualCursor=b,e.isEqualImmutable=x,e.isImmutable=k,e.debug=v,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 a(t){return!(!t||!t[m])}function s(t){return l(t)?t.deref():t}function l(t){return!(!t||"function"!=typeof t.deref)}function u(t){return function(){return!t.apply(t,arguments)}}function c(t,e){return Object.keys(t).reduce(function(n,r){return e(t[r],r)&&(n[r]=t[r]),n},{})}function h(t,e){return!1}function f(t,e){return"children"===e}function d(t,e){return function(){return t.apply(null,arguments)||e.apply(null,arguments)}}var p=n(422);t.exports=r(),t.exports.withDefaults=r;var m="@@__IMMUTABLE_ITERABLE__@@"},function(t,e){function n(t){return!!t&&"object"==typeof t}function r(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=m}function i(t){return o(t)&&f.call(t)==s}function o(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function a(t){return null!=t&&(i(t)?d.test(c.call(t)):n(t)&&l.test(t))}var s="[object Function]",l=/^\[object .+?Constructor\]$/,u=Object.prototype,c=Function.prototype.toString,h=u.hasOwnProperty,f=u.toString,d=RegExp("^"+c.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),p=function(t,e){var n=null==t?void 0:t[e];return a(n)?n:void 0}(Array,"isArray"),m=9007199254740991,v=p||function(t){return n(t)&&r(t.length)&&"[object Array]"==f.call(t)};t.exports=v},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){var n="z_hppm_iframe",r=!1;String.prototype.trim||function(){var t=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;String.prototype.trim=function(){return this.replace(t,"")}}(),Object.keys||(Object.keys=function(){var t=Object.prototype.hasOwnProperty,e=!{toString:null}.propertyIsEnumerable("toString"),n=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],r=n.length;return function(i){if("object"!=typeof i&&("function"!=typeof i||null===i))throw new TypeError("Object.keys called on non-object");var o,a,s=[];for(o in i)t.call(i,o)&&s.push(o);if(e)for(a=0;a0)return!0;if(n>0){t.indexOf("rv:");return!0}return!1},validatePCIParams:function(t){var e=m.length;for(index=0;index=0&&p.hasOwnProperty("customizeErrorRequired")&&"true"==p.customizeErrorRequired){var i=(JSON.stringify(t,function(t,e){if(""!=t){var r="setField("+t+":"+e+")";o.post(n,r)}return e}),"setField(key:"+h+")");o.post(n,i),o.post(n,"setField(style:"+p.style+")"),p.hasOwnProperty("customizeErrorRequired")&&"true"==p.customizeErrorRequired&&(o.post(n,"customizeErrorRequired"),p.customizeErrorRequired="false"),o.post(n,"resize"),l&&l()}l&&(l=null)}},contains:function(t,e){for(var n=0;n0?a.width=Number(i):a.width=Number(r)}catch(t){a.width=Number(r)}else a.width=Number(r);if(null!=o&&void 0!=o)try{!isNaN(o)&&o.length>0?a.height=Number(o):a.height=Number(n)}catch(t){a.height=Number(n)}else a.height=Number(n)}}}}();t.exports.default=o},,,,,,,,,,function(t,e,n){var r=n(576),i=n(222),o=i(r);t.exports=o},,,,,,,,,,,,,,,,,,,,,,,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(204),i=n(304),o=n(105),a=n(90),s=n(108),l=n(696),u=n(211),c=n(703),h=n(30)("iterator"),f=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,p,m,v,g){l(n,e,p);var y,b,x,w=function(t){if(!f&&t in M)return M[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=e+" Iterator",k="values"==m,S=!1,M=t.prototype,T=M[h]||M["@@iterator"]||m&&M[m],E=T||w(m),C=m?k?w("entries"):E:void 0,O="Array"==e?M.entries||T:T;if(O&&(x=c(O.call(new t)))!==Object.prototype&&x.next&&(u(x,_,!0),r||"function"==typeof x[h]||a(x,h,d)),k&&T&&"values"!==T.name&&(S=!0,E=function(){return T.call(this)}),r&&!g||!f&&!S&&M[h]||a(M,h,E),s[e]=E,s[_]=d,m)if(y={values:k?E:w("values"),keys:v?E:w("keys"),entries:C},g)for(b in y)b in M||o(M,b,y[b]);else i(i.P+i.F*(f||S),e,y);return y}},function(t,e,n){var r=n(32),i=n(89),o=n(90),a=n(105),s=n(138),l=function(t,e,n){var u,c,h,f,d=t&l.F,p=t&l.G,m=t&l.S,v=t&l.P,g=t&l.B,y=p?r:m?r[e]||(r[e]={}):(r[e]||{}).prototype,b=p?i:i[e]||(i[e]={}),x=b.prototype||(b.prototype={});p&&(n=e);for(u in n)c=!d&&y&&void 0!==y[u],h=(c?y:n)[u],f=g&&c?s(h,r):v&&"function"==typeof h?s(Function.call,h):h,y&&a(y,u,h,t&l.U),b[u]!=h&&o(b,u,f),v&&x[u]!=h&&(x[u]=h)};r.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e,n){var r=n(699),i=n(307);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(207),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){var r=n(32).document;t.exports=r&&r.documentElement},function(t,e,n){var r,i,o,a=n(138),s=n(716),l=n(308),u=n(206),c=n(32),h=c.process,f=c.setImmediate,d=c.clearImmediate,p=c.MessageChannel,m=c.Dispatch,v=0,g={},y=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},b=function(t){y.call(t.data)};f&&d||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return g[++v]=function(){s("function"==typeof t?t:Function(t),e)},r(v),v},d=function(t){delete g[t]},"process"==n(135)(h)?r=function(t){h.nextTick(a(y,t,1))}:m&&m.now?r=function(t){m.now(a(y,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=b,r=a(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(t){c.postMessage(t+"","*")},c.addEventListener("message",b,!1)):r="onreadystatechange"in u("script")?function(t){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:f,clear:d}},function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}var i=n(139);t.exports.f=function(t){return new r(t)}},,function(t,e,n){function r(t){return"string"==typeof t||i(t)&&s.call(t)==o}var i=n(38),o="[object String]",a=Object.prototype,s=a.toString;t.exports=r},,,,,,function(t,e,n){function r(t,e,n,r){var a=t?t.length:0;return a?(n&&"number"!=typeof n&&o(t,e,n)&&(n=0,r=a),i(t,e,n,r)):[]}var i=n(602),o=n(71);t.exports=r},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";function r(t){for(var e=t.message,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;rH.length&&H.push(t)}function d(t,e,n,i){var o=typeof t;"undefined"!==o&&"boolean"!==o||(t=null);var a=!1;if(null===t)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case _:case k:a=!0}}if(a)return n(i,t,""===e?"."+m(t,0):e),1;if(a=0,e=""===e?".":e+":",Array.isArray(t))for(var s=0;sthis.eventPool.length&&this.eventPool.push(t)}function I(t){t.eventPool=[],t.getPooled=A,t.release=D}function L(t,e){switch(t){case"keyup":return-1!==Bi.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function z(t){return t=t.detail,"object"==typeof t&&"data"in t?t.data:null}function j(t,e){switch(t){case"compositionend":return z(e);case"keypress":return 32!==e.which?null:(Vi=!0,Gi);case"textInput":return t=e.data,t===Gi&&Vi?null:t;default:return null}}function N(t,e){if(Xi)return"compositionend"===t||!Yi&&L(t,e)?(t=E(),Ni=ji=zi=null,Xi=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1e}return!1}function it(t,e,n,r,i,o){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o}function ot(t){return t[1].toUpperCase()}function at(t,e,n,r){var i=So.hasOwnProperty(e)?So[e]:null;(null!==i?0===i.type:!r&&(2ca.length&&ca.push(t)}}}function Bt(t){var e=fa.get(t);return void 0===e&&(e=new Set,fa.set(t,e)),e}function Yt(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}function Wt(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Ut(t,e){var n=Wt(t);t=0;for(var r;n;){if(3===n.nodeType){if(r=t+n.textContent.length,t<=e&&r>=e)return{node:n,offset:e-t};t=r}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Wt(n)}}function Ht(t,e){return!(!t||!e)&&(t===e||(!t||3!==t.nodeType)&&(e&&3===e.nodeType?Ht(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}function Gt(){for(var t=window,e=Yt();e instanceof t.HTMLIFrameElement;){try{var n="string"==typeof e.contentWindow.location.href}catch(t){n=!1}if(!n)break;t=e.contentWindow,e=Yt(t.document)}return e}function qt(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}function Vt(t,e){var n=e.window===e?e.document:9===e.nodeType?e:e.ownerDocument;return ya||null==ma||ma!==Yt(n)?null:(n=ma,"selectionStart"in n&&qt(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),ga&&Et(ga,n)?null:(ga=n,t=P.getPooled(pa.select,va,t,e),t.type="select",t.target=ma,S(t),t))}function Xt(t){var e="";return ii.Children.forEach(t,function(t){null!=t&&(e+=t)}),e}function Kt(t,e){return t=oi({children:void 0},e),(e=Xt(e.children))&&(t.children=e),t}function $t(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i=e.length))throw r(Error(93));e=e[0]}n=e}null==n&&(n="")}t._wrapperState={initialValue:st(n)}}function Jt(t,e){var n=st(e.value),r=st(e.defaultValue);null!=n&&(n=""+n,n!==t.value&&(t.value=n),null==e.defaultValue&&t.defaultValue!==n&&(t.defaultValue=n)),null!=r&&(t.defaultValue=""+r)}function te(t){var e=t.textContent;e===t._wrapperState.initialValue&&(t.value=e)}function ee(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ne(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?ee(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}function re(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e}function ie(t,e,n){return null==e||"boolean"==typeof e||""===e?"":n||"number"!=typeof e||0===e||ka.hasOwnProperty(t)&&ka[t]?(""+e).trim():e+"px"}function oe(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=ie(n,e[n],r);"float"===n&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}function ae(t,e){if(e){if(Ma[t]&&(null!=e.children||null!=e.dangerouslySetInnerHTML))throw r(Error(137),t,"");if(null!=e.dangerouslySetInnerHTML){if(null!=e.children)throw r(Error(60));if(!("object"==typeof e.dangerouslySetInnerHTML&&"__html"in e.dangerouslySetInnerHTML))throw r(Error(61))}if(null!=e.style&&"object"!=typeof e.style)throw r(Error(62),"")}}function se(t,e){if(-1===t.indexOf("-"))return"string"==typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function le(t,e){t=9===t.nodeType||11===t.nodeType?t:t.ownerDocument;var n=Bt(t);e=fi[e];for(var r=0;rAa||(t.current=Pa[Aa],Pa[Aa]=null,Aa--)}function pe(t,e){Aa++,Pa[Aa]=t.current,t.current=e}function me(t,e){var n=t.type.contextTypes;if(!n)return Da;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=e[i];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=o),o}function ve(t){return null!==(t=t.childContextTypes)&&void 0!==t}function ge(t){de(La,t),de(Ia,t)}function ye(t){de(La,t),de(Ia,t)}function be(t,e,n){if(Ia.current!==Da)throw r(Error(168));pe(Ia,e,t),pe(La,n,t)}function xe(t,e,n){var i=t.stateNode;if(t=e.childContextTypes,"function"!=typeof i.getChildContext)return n;i=i.getChildContext();for(var o in i)if(!(o in t))throw r(Error(108),J(e)||"Unknown",o);return oi({},n,i)}function we(t){var e=t.stateNode;return e=e&&e.__reactInternalMemoizedMergedChildContext||Da,za=Ia.current,pe(Ia,e,t),pe(La,La.current,t),!0}function _e(t,e,n){var i=t.stateNode;if(!i)throw r(Error(169));n?(e=xe(t,e,za),i.__reactInternalMemoizedMergedChildContext=e,de(La,t),de(Ia,t),pe(Ia,e,t)):de(La,t),pe(La,n,t)}function ke(){switch(Wa()){case Ua:return 99;case Ha:return 98;case Ga:return 97;case qa:return 96;case Va:return 95;default:throw r(Error(332))}}function Se(t){switch(t){case 99:return Ua;case 98:return Ha;case 97:return Ga;case 96:return qa;case 95:return Va;default:throw r(Error(332))}}function Me(t,e){return t=Se(t),ja(t,e)}function Te(t,e,n){return t=Se(t),Na(t,e,n)}function Ee(t){return null===$a?($a=[t],Za=Na(Ua,Oe)):$a.push(t),Xa}function Ce(){null!==Za&&Ra(Za),Oe()}function Oe(){if(!Qa&&null!==$a){Qa=!0;var t=0;try{var e=$a;Me(99,function(){for(;t=t?99:250>=t?98:5250>=t?97:95)}function Ae(t,e){if(t&&t.defaultProps){e=oi({},e),t=t.defaultProps;for(var n in t)void 0===e[n]&&(e[n]=t[n])}return e}function De(t){var e=t._result;switch(t._status){case 1:return e;case 2:case 0:throw e;default:switch(t._status=0,e=t._ctor,e=e(),e.then(function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)},function(e){0===t._status&&(t._status=2,t._result=e)}),t._status){case 1:return t._result;case 2:throw t._result}throw t._result=e,e}}function Ie(){is=rs=ns=null}function Le(t,e){var n=t.type._context;pe(es,n._currentValue,t),n._currentValue=e}function ze(t){var e=es.current;de(es,t),t.type._context._currentValue=e}function je(t,e){for(;null!==t;){var n=t.alternate;if(t.childExpirationTime=e&&(Ks=!0),t.firstContext=null)}function Re(t,e){if(is!==t&&!1!==e&&0!==e)if("number"==typeof e&&1073741823!==e||(is=t,e=1073741823),e={context:t,observedBits:e,next:null},null===rs){if(null===ns)throw r(Error(308));rs=e,ns.dependencies={expirationTime:0,firstContext:e,responders:null}}else rs=rs.next=e;return t._currentValue}function Fe(t){return{baseState:t,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Be(t){return{baseState:t.baseState,firstUpdate:t.firstUpdate,lastUpdate:t.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Ye(t,e){return{expirationTime:t,suspenseConfig:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function We(t,e){null===t.lastUpdate?t.firstUpdate=t.lastUpdate=e:(t.lastUpdate.next=e,t.lastUpdate=e)}function Ue(t,e){var n=t.alternate;if(null===n){var r=t.updateQueue,i=null;null===r&&(r=t.updateQueue=Fe(t.memoizedState))}else r=t.updateQueue,i=n.updateQueue,null===r?null===i?(r=t.updateQueue=Fe(t.memoizedState),i=n.updateQueue=Fe(n.memoizedState)):r=t.updateQueue=Be(i):null===i&&(i=n.updateQueue=Be(r));null===i||r===i?We(r,e):null===r.lastUpdate||null===i.lastUpdate?(We(r,e),We(i,e)):(We(r,e),i.lastUpdate=e)}function He(t,e){var n=t.updateQueue;n=null===n?t.updateQueue=Fe(t.memoizedState):Ge(t,n),null===n.lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=e:(n.lastCapturedUpdate.next=e,n.lastCapturedUpdate=e)}function Ge(t,e){var n=t.alternate;return null!==n&&e===n.updateQueue&&(e=t.updateQueue=Be(e)),e}function qe(t,e,n,r,i,o){switch(n.tag){case 1:return t=n.payload,"function"==typeof t?t.call(o,r,i):t;case 3:t.effectTag=-2049&t.effectTag|64;case 0:if(t=n.payload,null===(i="function"==typeof t?t.call(o,r,i):t)||void 0===i)break;return oi({},r,i);case 2:os=!0}return r}function Ve(t,e,n,r,i){os=!1,e=Ge(t,e);for(var o=e.baseState,a=null,s=0,l=e.firstUpdate,u=o;null!==l;){var c=l.expirationTime;cm?(v=h,h=null):v=h.sibling;var g=d(r,h,s[m],l);if(null===g){null===h&&(h=v);break}t&&h&&null===g.alternate&&e(r,h),o=a(g,o,m),null===c?u=g:c.sibling=g,c=g,h=v}if(m===s.length)return n(r,h),u;if(null===h){for(;mv?(g=m,m=null):g=m.sibling;var b=d(o,m,y.value,u);if(null===b){null===m&&(m=g);break}t&&m&&null===b.alternate&&e(o,m),s=a(b,s,v),null===h?c=b:h.sibling=b,h=b,m=g}if(y.done)return n(o,m),c;if(null===m){for(;!y.done;v++,y=l.next())null!==(y=f(o,y.value,u))&&(s=a(y,s,v),null===h?c=y:h.sibling=y,h=y);return c}for(m=i(o,m);!y.done;v++,y=l.next())null!==(y=p(m,o,v,y.value,u))&&(t&&null!==y.alternate&&m.delete(null===y.key?v:y.key),s=a(y,s,v),null===h?c=y:h.sibling=y,h=y);return t&&m.forEach(function(t){return e(o,t)}),c}return function(t,i,a,l){var u="object"==typeof a&&null!==a&&a.type===so&&null===a.key;u&&(a=a.props.children);var c="object"==typeof a&&null!==a;if(c)switch(a.$$typeof){case oo:t:{for(c=a.key,u=i;null!==u;){if(u.key===c){if(7===u.tag?a.type===so:u.elementType===a.type){n(t,u.sibling),i=o(u,a.type===so?a.props.children:a.props,l),i.ref=en(t,u,a),i.return=t,t=i;break t}n(t,u);break}e(t,u),u=u.sibling}a.type===so?(i=Fr(a.props.children,t.mode,l,a.key),i.return=t,t=i):(l=Rr(a.type,a.key,a.props,null,t.mode,l),l.ref=en(t,i,a),l.return=t,t=l)}return s(t);case ao:t:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(t,i.sibling),i=o(i,a.children||[],l),i.return=t,t=i;break t}n(t,i);break}e(t,i),i=i.sibling}i=Yr(a,t.mode,l),i.return=t,t=i}return s(t)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==i&&6===i.tag?(n(t,i.sibling),i=o(i,a,l),i.return=t,t=i):(n(t,i),i=Br(a,t.mode,l),i.return=t,t=i),s(t);if(us(a))return m(t,i,a,l);if(Q(a))return v(t,i,a,l);if(c&&nn(t,a),void 0===a&&!u)switch(t.tag){case 1:case 0:throw t=t.type,r(Error(152),t.displayName||t.name||"Component")}return n(t,i)}}function on(t){if(t===fs)throw r(Error(174));return t}function an(t,e){pe(ms,e,t),pe(ps,t,t),pe(ds,fs,t);var n=e.nodeType;switch(n){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:ne(null,"");break;default:n=8===n?e.parentNode:e,e=n.namespaceURI||null,n=n.tagName,e=ne(e,n)}de(ds,t),pe(ds,e,t)}function sn(t){de(ds,t),de(ps,t),de(ms,t)}function ln(t){on(ms.current);var e=on(ds.current),n=ne(e,t.type);e!==n&&(pe(ps,t,t),pe(ds,n,t))}function un(t){ps.current===t&&(de(ds,t),de(ps,t))}function cn(t){for(var e=t;null!==e;){if(13===e.tag){if(null!==e.memoizedState)return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!=(64&e.effectTag))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function hn(){throw r(Error(321))}function fn(t,e){if(null===e)return!1;for(var n=0;njs&&(js=h)):(wr(h,u.suspenseConfig),a=u.eagerReducer===t?u.eagerState:t(a,u.action)),s=u,u=u.next}while(null!==u&&u!==i);c||(l=s,o=a),Tt(a,e.memoizedState)||(Ks=!0),e.memoizedState=a,e.baseUpdate=l,e.baseState=o,n.lastRenderedState=a}return[e.memoizedState,n.dispatch]}function bn(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},null===Ns?(Ns={lastEffect:null},Ns.lastEffect=t.next=t):(e=Ns.lastEffect,null===e?Ns.lastEffect=t.next=t:(n=e.next,e.next=t,t.next=n,Ns.lastEffect=t)),t}function xn(t,e,n,r){var i=mn();Rs|=t,i.memoizedState=bn(e,n,void 0,void 0===r?null:r)}function wn(t,e,n,r){var i=vn();r=void 0===r?null:r;var o=void 0;if(null!==As){var a=As.memoizedState;if(o=a.destroy,null!==r&&fn(r,a.deps))return void bn(xs,n,o,r)}Rs|=t,i.memoizedState=bn(e,n,o,r)}function _n(t,e){return"function"==typeof e?(t=t(),e(t),function(){e(null)}):null!==e&&void 0!==e?(t=t(),e.current=t,function(){e.current=null}):void 0}function kn(){}function Sn(t,e,n){if(!(25>Ys))throw r(Error(301));var i=t.alternate;if(t===Ps||null!==i&&i===Ps)if(Fs=!0,t={expirationTime:Os,suspenseConfig:null,action:n,eagerReducer:null,eagerState:null,next:null},null===Bs&&(Bs=new Map),void 0===(n=Bs.get(e)))Bs.set(e,t);else{for(e=n;null!==e.next;)e=e.next;e.next=t}else{var o=sr(),a=as.suspense;o=lr(o,t,a),a={expirationTime:o,suspenseConfig:a,action:n,eagerReducer:null,eagerState:null,next:null};var s=e.last;if(null===s)a.next=a;else{var l=s.next;null!==l&&(a.next=l),s.next=a}if(e.last=a,0===t.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=e.lastRenderedReducer))try{var u=e.lastRenderedState,c=i(u,n);if(a.eagerReducer=i,a.eagerState=c,Tt(c,u))return}catch(t){}ur(t,o)}}function Mn(t,e){var n=Lr(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=e,n.return=t,n.effectTag=8,null!==t.lastEffect?(t.lastEffect.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n}function Tn(t,e){switch(t.tag){case 5:var n=t.type;return null!==(e=1!==e.nodeType||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e)&&(t.stateNode=e,!0);case 6:return null!==(e=""===t.pendingProps||3!==e.nodeType?null:e)&&(t.stateNode=e,!0);case 13:default:return!1}}function En(t){if(Vs){var e=qs;if(e){var n=e;if(!Tn(t,e)){if(!(e=fe(n.nextSibling))||!Tn(t,e))return t.effectTag|=2,Vs=!1,void(Gs=t);Mn(Gs,n)}Gs=t,qs=fe(e.firstChild)}else t.effectTag|=2,Vs=!1,Gs=t}}function Cn(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&18!==t.tag;)t=t.return;Gs=t}function On(t){if(t!==Gs)return!1;if(!Vs)return Cn(t),Vs=!0,!1;var e=t.type;if(5!==t.tag||"head"!==e&&"body"!==e&&!he(e,t.memoizedProps))for(e=qs;e;)Mn(t,e),e=fe(e.nextSibling);return Cn(t),qs=Gs?fe(t.stateNode.nextSibling):null,!0}function Pn(){qs=Gs=null,Vs=!1}function An(t,e,n,r){e.child=null===t?hs(e,null,n,r):cs(e,t.child,n,r)}function Dn(t,e,n,r,i){n=n.render;var o=e.ref;return Ne(e,i),r=dn(t,e,n,r,o,i),null===t||Ks?(e.effectTag|=1,An(t,e,r,i),e.child):(e.updateQueue=t.updateQueue,e.effectTag&=-517,t.expirationTime<=i&&(t.expirationTime=0),Un(t,e,i))}function In(t,e,n,r,i,o){if(null===t){var a=n.type;return"function"!=typeof a||zr(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?(t=Rr(n.type,null,r,null,e.mode,o),t.ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=a,Ln(t,e,a,r,i,o))}return a=t.child,ie)&&Ll.set(t,e))}}function cr(t,e){t.expirationTimei.firstPendingTime&&(i.firstPendingTime=e),0===(t=i.lastPendingTime)||e=e)&&(Te(97,function(){return n._onComplete(),null}),!0)}function mr(){if(null!==Ll){var t=Ll;Ll=null,t.forEach(function(t,e){Ee(xr.bind(null,e,t))}),Ce()}}function vr(t,e){var n=ml;ml|=1;try{return t(e)}finally{(ml=n)===al&&Ce()}}function gr(t,e,n,r){var i=ml;ml|=4;try{return Me(98,t.bind(null,e,n,r))}finally{(ml=i)===al&&Ce()}}function yr(t,e){var n=ml;ml&=-2,ml|=sl;try{return t(e)}finally{(ml=n)===al&&Ce()}}function br(t,e){t.finishedWork=null,t.finishedExpirationTime=0;var n=t.timeoutHandle;if(-1!==n&&(t.timeoutHandle=-1,Oa(n)),null!==gl)for(n=gl.return;null!==n;){var r=n;switch(r.tag){case 1:var i=r.type.childContextTypes;null!==i&&void 0!==i&&ge(r);break;case 3:sn(r),ye(r);break;case 5:un(r);break;case 4:sn(r);break;case 13:case 19:de(bs,r);break;case 10:ze(r)}n=n.return}vl=t,gl=Nr(t.current,null),yl=e,bl=cl,wl=xl=1073741823,_l=null,kl=!1}function xr(t,e,n){if((ml&(ll|ul))!==al)throw r(Error(327));if(t.firstPendingTime component higher in the tree to provide a loading indicator or placeholder to display."+tt(u))}bl!==pl&&(bl=hl),c=Vn(c,u),u=l;do{switch(u.tag){case 3:u.effectTag|=2048,u.expirationTime=h,h=or(u,c,h),He(u,h);break t;case 1:if(f=c,s=u.type,l=u.stateNode,0==(64&u.effectTag)&&("function"==typeof s.getDerivedStateFromError||null!==l&&"function"==typeof l.componentDidCatch&&(null===Ol||!Ol.has(l)))){u.effectTag|=2048,u.expirationTime=h,h=ar(u,f,h),He(u,h);break t}}u=u.return}while(null!==u)}gl=kr(a)}if(ml=i,Ie(),il.current=o,null!==gl)return xr.bind(null,t,e)}if(t.finishedWork=t.current.alternate,t.finishedExpirationTime=e,pr(t,e))return null;switch(vl=null,bl){case cl:throw r(Error(328));case hl:return i=t.lastPendingTime,in&&(n=0),n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*rl(n/1960))-n,e=e?e=0:(n=0|o.busyDelayMs,i=ts()-(10*(1073741821-i)-(0|o.timeoutMs||5e3)),e=i<=n?0:n+e-i),10<\/script>",c=u.removeChild(u.firstChild)):"string"==typeof n.is?c=c.createElement(u,{is:n.is}):(c=c.createElement(u),"select"===u&&(u=c,n.multiple?u.multiple=!0:n.size&&(u.size=n.size))):c=c.createElementNS(s,u),u=c,u[Si]=l,u[Mi]=n,n=u,Zs(n,e,!1,!1),l=n;var h=i,f=se(a,o);switch(a){case"iframe":case"object":case"embed":zt("load",l),i=o;break;case"video":case"audio":for(i=0;io.tailExpiration&&1n&&(n=a),l>n&&(n=l),o=o.sibling;i.childExpirationTime=n}if(null!==e)return e;null!==t&&0==(1024&t.effectTag)&&(null===t.firstEffect&&(t.firstEffect=gl.firstEffect),null!==gl.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=gl.firstEffect),t.lastEffect=gl.lastEffect),1o?a:o,t.firstPendingTime=o,ox&&(w=x,x=C,C=w),w=Ut(M,C),_=Ut(M,x),w&&_&&(1!==E.rangeCount||E.anchorNode!==w.node||E.anchorOffset!==w.offset||E.focusNode!==_.node||E.focusOffset!==_.offset)&&(T=T.createRange(),T.setStart(w.node,w.offset),E.removeAllRanges(),C>x?(E.addRange(T),E.extend(_.node,_.offset)):(T.setEnd(_.node,_.offset),E.addRange(T)))))),T=[];for(E=M;E=E.parentNode;)1===E.nodeType&&T.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof M.focus&&M.focus(),M=0;M=Wi),Gi=String.fromCharCode(32),qi={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Vi=!1,Xi=!1,Ki={eventTypes:qi,extractEvents:function(t,e,n,r){var i=void 0,o=void 0;if(Yi)t:{switch(t){case"compositionstart":i=qi.compositionStart;break t;case"compositionend":i=qi.compositionEnd;break t;case"compositionupdate":i=qi.compositionUpdate;break t}i=void 0}else Xi?L(t,n)&&(i=qi.compositionEnd):"keydown"===t&&229===n.keyCode&&(i=qi.compositionStart);return i?(Hi&&"ko"!==n.locale&&(Xi||i!==qi.compositionStart?i===qi.compositionEnd&&Xi&&(o=E()):(zi=r,ji="value"in zi?zi.value:zi.textContent,Xi=!0)),i=Ri.getPooled(i,e,n,r),o?i.data=o:null!==(o=z(n))&&(i.data=o),S(i),o=i):o=null,(t=Ui?j(t,n):N(t,n))?(e=Fi.getPooled(qi.beforeInput,e,n,r),e.data=t,S(e)):e=null,null===o?e:null===e?o:[o,e]}},$i=null,Zi=null,Qi=null,Ji=Y,to=!1,eo={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},no=ii.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;no.hasOwnProperty("ReactCurrentDispatcher")||(no.ReactCurrentDispatcher={current:null}),no.hasOwnProperty("ReactCurrentBatchConfig")||(no.ReactCurrentBatchConfig={suspense:null});var ro=/^(.*)[\\\/]/,io="function"==typeof Symbol&&Symbol.for,oo=io?Symbol.for("react.element"):60103,ao=io?Symbol.for("react.portal"):60106,so=io?Symbol.for("react.fragment"):60107,lo=io?Symbol.for("react.strict_mode"):60108,uo=io?Symbol.for("react.profiler"):60114,co=io?Symbol.for("react.provider"):60109,ho=io?Symbol.for("react.context"):60110,fo=io?Symbol.for("react.concurrent_mode"):60111,po=io?Symbol.for("react.forward_ref"):60112,mo=io?Symbol.for("react.suspense"):60113,vo=io?Symbol.for("react.suspense_list"):60120,go=io?Symbol.for("react.memo"):60115,yo=io?Symbol.for("react.lazy"):60116;io&&Symbol.for("react.fundamental"),io&&Symbol.for("react.responder");var bo="function"==typeof Symbol&&Symbol.iterator,xo=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,wo=Object.prototype.hasOwnProperty,_o={},ko={},So={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){So[t]=new it(t,0,!1,t,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];So[e]=new it(e,1,!1,t[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){So[t]=new it(t,2,!1,t.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){So[t]=new it(t,2,!1,t,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){So[t]=new it(t,3,!1,t.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(t){So[t]=new it(t,3,!0,t,null,!1)}),["capture","download"].forEach(function(t){So[t]=new it(t,4,!1,t,null,!1)}),["cols","rows","size","span"].forEach(function(t){So[t]=new it(t,6,!1,t,null,!1)}),["rowSpan","start"].forEach(function(t){So[t]=new it(t,5,!1,t.toLowerCase(),null,!1)});var Mo=/[\-:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace(Mo,ot);So[e]=new it(e,1,!1,t,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(Mo,ot);So[e]=new it(e,1,!1,t,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(Mo,ot);So[e]=new it(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(t){So[t]=new it(t,1,!1,t.toLowerCase(),null,!1)}),So.xlinkHref=new it("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(t){So[t]=new it(t,1,!1,t.toLowerCase(),null,!0)});var To={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},Eo=null,Co=null,Oo=!1;Ti&&(Oo=V("input")&&(!document.documentMode||9=document.documentMode,pa={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},ma=null,va=null,ga=null,ya=!1,ba={eventTypes:pa,extractEvents:function(t,e,n,r){var i,o=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(i=!o)){t:{o=Bt(o),i=fi.onSelect;for(var a=0;a"+e+"",e=wa.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}}),ka={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Sa=["Webkit","ms","Moz","O"];Object.keys(ka).forEach(function(t){Sa.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),ka[e]=ka[t]})});var Ma=oi({menuitem:!0},{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}),Ta=null,Ea=null,Ca="function"==typeof setTimeout?setTimeout:void 0,Oa="function"==typeof clearTimeout?clearTimeout:void 0;new Set;var Pa=[],Aa=-1,Da={},Ia={current:Da},La={current:!1},za=Da,ja=ai.unstable_runWithPriority,Na=ai.unstable_scheduleCallback,Ra=ai.unstable_cancelCallback,Fa=ai.unstable_shouldYield,Ba=ai.unstable_requestPaint,Ya=ai.unstable_now,Wa=ai.unstable_getCurrentPriorityLevel,Ua=ai.unstable_ImmediatePriority,Ha=ai.unstable_UserBlockingPriority,Ga=ai.unstable_NormalPriority,qa=ai.unstable_LowPriority,Va=ai.unstable_IdlePriority,Xa={},Ka=void 0!==Ba?Ba:function(){},$a=null,Za=null,Qa=!1,Ja=Ya(),ts=1e4>Ja?Ya:function(){return Ya()-Ja},es={current:null},ns=null,rs=null,is=null,os=!1,as=no.ReactCurrentBatchConfig,ss=(new ii.Component).refs,ls={isMounted:function(t){return!!(t=t._reactInternalFiber)&&2===Ot(t)},enqueueSetState:function(t,e,n){t=t._reactInternalFiber;var r=sr(),i=as.suspense;r=lr(r,t,i),i=Ye(r,i),i.payload=e,void 0!==n&&null!==n&&(i.callback=n),Ue(t,i),ur(t,r)},enqueueReplaceState:function(t,e,n){t=t._reactInternalFiber;var r=sr(),i=as.suspense;r=lr(r,t,i),i=Ye(r,i),i.tag=1,i.payload=e,void 0!==n&&null!==n&&(i.callback=n),Ue(t,i),ur(t,r)},enqueueForceUpdate:function(t,e){t=t._reactInternalFiber;var n=sr(),r=as.suspense;n=lr(n,t,r),r=Ye(n,r),r.tag=2,void 0!==e&&null!==e&&(r.callback=e),Ue(t,r),ur(t,n)}},us=Array.isArray,cs=rn(!0),hs=rn(!1),fs={},ds={current:fs},ps={current:fs},ms={current:fs},vs=1,gs=1,ys=2,bs={current:0},xs=0,ws=2,_s=4,ks=8,Ss=16,Ms=32,Ts=64,Es=128,Cs=no.ReactCurrentDispatcher,Os=0,Ps=null,As=null,Ds=null,Is=null,Ls=null,zs=null,js=0,Ns=null,Rs=0,Fs=!1,Bs=null,Ys=0,Ws={readContext:Re,useCallback:hn,useContext:hn,useEffect:hn,useImperativeHandle:hn,useLayoutEffect:hn,useMemo:hn,useReducer:hn,useRef:hn,useState:hn,useDebugValue:hn,useResponder:hn},Us={readContext:Re,useCallback:function(t,e){return mn().memoizedState=[t,void 0===e?null:e],t},useContext:Re,useEffect:function(t,e){return xn(516,Es|Ts,t,e)},useImperativeHandle:function(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,xn(4,_s|Ms,_n.bind(null,e,t),n)},useLayoutEffect:function(t,e){return xn(4,_s|Ms,t,e)},useMemo:function(t,e){var n=mn();return e=void 0===e?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=mn();return e=void 0!==n?n(e):e,r.memoizedState=r.baseState=e,t=r.queue={last:null,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},t=t.dispatch=Sn.bind(null,Ps,t),[r.memoizedState,t]},useRef:function(t){var e=mn();return t={current:t},e.memoizedState=t},useState:function(t){var e=mn();return"function"==typeof t&&(t=t()),e.memoizedState=e.baseState=t,t=e.queue={last:null,dispatch:null,lastRenderedReducer:gn,lastRenderedState:t},t=t.dispatch=Sn.bind(null,Ps,t),[e.memoizedState,t]},useDebugValue:kn,useResponder:Ct},Hs={readContext:Re,useCallback:function(t,e){var n=vn();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&fn(e,r[1])?r[0]:(n.memoizedState=[t,e],t)},useContext:Re,useEffect:function(t,e){return wn(516,Es|Ts,t,e)},useImperativeHandle:function(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,wn(4,_s|Ms,_n.bind(null,e,t),n)},useLayoutEffect:function(t,e){return wn(4,_s|Ms,t,e)},useMemo:function(t,e){var n=vn();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&fn(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)},useReducer:yn,useRef:function(){return vn().memoizedState},useState:function(t){return yn(gn)},useDebugValue:kn,useResponder:Ct},Gs=null,qs=null,Vs=!1,Xs=no.ReactCurrentOwner,Ks=!1,$s={},Zs=void 0,Qs=void 0,Js=void 0,tl=void 0;Zs=function(t,e){for(var n=e.child;null!==n;){if(5===n.tag||6===n.tag)t.appendChild(n.stateNode);else if(20===n.tag)t.appendChild(n.stateNode.instance);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Qs=function(){},Js=function(t,e,n,r,i){var o=t.memoizedProps;if(o!==r){var a=e.stateNode;switch(on(ds.current),t=null,n){case"input":o=lt(a,o),r=lt(a,r),t=[];break;case"option":o=Kt(a,o),r=Kt(a,r),t=[];break;case"select":o=oi({},o,{value:void 0}),r=oi({},r,{value:void 0}),t=[];break;case"textarea":o=Zt(a,o),r=Zt(a,r),t=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(a.onclick=ue)}ae(n,r),a=n=void 0;var s=null;for(n in o)if(!r.hasOwnProperty(n)&&o.hasOwnProperty(n)&&null!=o[n])if("style"===n){var l=o[n];for(a in l)l.hasOwnProperty(a)&&(s||(s={}),s[a]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(hi.hasOwnProperty(n)?t||(t=[]):(t=t||[]).push(n,null));for(n in r){var u=r[n];if(l=null!=o?o[n]:void 0,r.hasOwnProperty(n)&&u!==l&&(null!=u||null!=l))if("style"===n)if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(s||(s={}),s[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(s||(s={}),s[a]=u[a])}else s||(t||(t=[]),t.push(n,s)),s=u;else"dangerouslySetInnerHTML"===n?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(t=t||[]).push(n,""+u)):"children"===n?l===u||"string"!=typeof u&&"number"!=typeof u||(t=t||[]).push(n,""+u):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(hi.hasOwnProperty(n)?(null!=u&&le(i,n),t||l===u||(t=[])):(t=t||[]).push(n,u))}s&&(t=t||[]).push("style",s),i=t,(e.updateQueue=i)&&Hn(e)}},tl=function(t,e,n,r){n!==r&&Hn(e)};var el="function"==typeof WeakSet?WeakSet:Set,nl="function"==typeof WeakMap?WeakMap:Map,rl=Math.ceil,il=no.ReactCurrentDispatcher,ol=no.ReactCurrentOwner,al=0,sl=8,ll=16,ul=32,cl=0,hl=1,fl=2,dl=3,pl=4,ml=al,vl=null,gl=null,yl=0,bl=cl,xl=1073741823,wl=1073741823,_l=null,kl=!1,Sl=0,Ml=500,Tl=null,El=!1,Cl=null,Ol=null,Pl=!1,Al=null,Dl=90,Il=0,Ll=null,zl=0,jl=null,Nl=0,Rl=0,Fl=void 0;Fl=function(t,e,n){var i=e.expirationTime;if(null!==t){var o=e.pendingProps;if(t.memoizedProps!==o||La.current)Ks=!0;else if(i=n?Bn(t,e,n):(pe(bs,bs.current&vs,e),e=Un(t,e,n),null!==e?e.sibling:null);pe(bs,bs.current&vs,e);break;case 19:if(i=e.childExpirationTime>=n,0!=(64&t.effectTag)){if(i)return Wn(t,e,n);e.effectTag|=64}if(o=e.memoizedState,null!==o&&(o.rendering=null,o.tail=null),pe(bs,bs.current,e),!i)return null}return Un(t,e,n)}}else Ks=!1;switch(e.expirationTime=0,e.tag){case 2:if(i=e.type,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),t=e.pendingProps,o=me(e,Ia.current),Ne(e,n),o=dn(null,e,i,t,o,n),e.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(e.tag=1,pn(),ve(i)){var a=!0;we(e)}else a=!1;e.memoizedState=null!==o.state&&void 0!==o.state?o.state:null;var s=i.getDerivedStateFromProps;"function"==typeof s&&$e(e,i,s,t),o.updater=ls,e.stateNode=o,o._reactInternalFiber=e,tn(e,i,t,n),e=Rn(null,e,i,!0,a,n)}else e.tag=0,An(null,e,o,n),e=e.child;return e;case 16:switch(o=e.elementType,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),t=e.pendingProps,o=De(o),e.type=o,a=e.tag=jr(o),t=Ae(o,t),a){case 0:e=jn(null,e,o,t,n);break;case 1:e=Nn(null,e,o,t,n);break;case 11:e=Dn(null,e,o,t,n);break;case 14:e=In(null,e,o,Ae(o.type,t),i,n);break;default:throw r(Error(306),o,"")}return e;case 0:return i=e.type,o=e.pendingProps,o=e.elementType===i?o:Ae(i,o),jn(t,e,i,o,n);case 1:return i=e.type,o=e.pendingProps,o=e.elementType===i?o:Ae(i,o),Nn(t,e,i,o,n);case 3:if(Fn(e),null===(i=e.updateQueue))throw r(Error(282));return o=e.memoizedState,o=null!==o?o.element:null,Ve(e,i,e.pendingProps,null,n),i=e.memoizedState.element,i===o?(Pn(),e=Un(t,e,n)):(o=e.stateNode,(o=(null===t||null===t.child)&&o.hydrate)&&(qs=fe(e.stateNode.containerInfo.firstChild),Gs=e,o=Vs=!0),o?(e.effectTag|=2,e.child=hs(e,null,i,n)):(An(t,e,i,n),Pn()),e=e.child),e;case 5:return ln(e),null===t&&En(e),i=e.type,o=e.pendingProps,a=null!==t?t.memoizedProps:null,s=o.children,he(i,o)?s=null:null!==a&&he(i,a)&&(e.effectTag|=16),zn(t,e),4&e.mode&&1!==n&&o.hidden?(e.expirationTime=e.childExpirationTime=1,e=null):(An(t,e,s,n),e=e.child),e;case 6:return null===t&&En(e),null;case 13:return Bn(t,e,n);case 4:return an(e,e.stateNode.containerInfo),i=e.pendingProps,null===t?e.child=cs(e,null,i,n):An(t,e,i,n),e.child;case 11:return i=e.type,o=e.pendingProps,o=e.elementType===i?o:Ae(i,o),Dn(t,e,i,o,n);case 7:return An(t,e,e.pendingProps,n),e.child;case 8:case 12:return An(t,e,e.pendingProps.children,n),e.child;case 10:t:{if(i=e.type._context,o=e.pendingProps,s=e.memoizedProps,a=o.value,Le(e,a),null!==s){var l=s.value;if(0===(a=Tt(l,a)?0:0|("function"==typeof i._calculateChangedBits?i._calculateChangedBits(l,a):1073741823))){if(s.children===o.children&&!La.current){e=Un(t,e,n);break t}}else for(null!==(l=e.child)&&(l.return=e);null!==l;){var u=l.dependencies;if(null!==u){s=l.child;for(var c=u.firstContext;null!==c;){if(c.context===i&&0!=(c.observedBits&a)){1===l.tag&&(c=Ye(n,null),c.tag=2,Ue(l,c)),l.expirationTime=e;)n=r,r=r._next;t._next=r,null!==n&&(n._next=t)}return t},Y=vr,W=gr,U=dr,Ji=function(t,e){var n=ml;ml|=2;try{return t(e)}finally{(ml=n)===al&&Ce()}};var Wl={createPortal:ei,findDOMNode:function(t){if(null==t)t=null;else if(1!==t.nodeType){var e=t._reactInternalFiber;if(void 0===e){if("function"==typeof t.render)throw r(Error(188));throw r(Error(268),Object.keys(t))}t=Dt(e),t=null===t?null:t.stateNode}return t},hydrate:function(t,e,n){if(!Qr(e))throw r(Error(200));return ti(null,t,e,!0,n)},render:function(t,e,n){if(!Qr(e))throw r(Error(200));return ti(null,t,e,!1,n)},unstable_renderSubtreeIntoContainer:function(t,e,n,i){if(!Qr(n))throw r(Error(200));if(null==t||void 0===t._reactInternalFiber)throw r(Error(38));return ti(t,e,n,!1,i)},unmountComponentAtNode:function(t){if(!Qr(t))throw r(Error(40));return!!t._reactRootContainer&&(yr(function(){ti(null,null,t,!1,function(){t._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return ei.apply(void 0,arguments)},unstable_batchedUpdates:vr,unstable_interactiveUpdates:function(t,e,n,r){return dr(),gr(t,e,n,r)},unstable_discreteUpdates:gr,unstable_flushDiscreteUpdates:dr,flushSync:function(t,e){if((ml&(ll|ul))!==al)throw r(Error(187));var n=ml;ml|=1;try{return Me(99,t.bind(null,e))}finally{ml=n,Ce()}},unstable_createRoot:ni,unstable_createSyncRoot:ri,unstable_flushControlled:function(t){var e=ml;ml|=1;try{Me(99,t)}finally{(ml=e)===al&&Ce()}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[v,g,y,_i.injectEventPluginsByName,ci,S,function(t){h(t,k)},F,B,Ft,d,Tr,{current:!1}]}};!function(t){var e=t.findFiberByHostInstance;Dr(oi({},t,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:no.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=Dt(t),null===t?null:t.stateNode},findFiberByHostInstance:function(t){return e?e(t):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:m,bundleType:0,version:"16.9.0",rendererPackageName:"react-dom"});var Ul={default:Wl},Hl=Ul&&Wl||Ul;t.exports=Hl.default||Hl},function(t,e,n){"use strict";t.exports=n(366)},function(t,e,n){"use strict";function r(t,e){var n=t.next;if(n===t)j=null;else{t===j&&(j=n);var r=t.previous;r.next=n,n.previous=r}t.next=t.previous=null,n=t.callback,r=F;var i=R;F=t.priorityLevel,R=t;try{var o=t.expirationTime<=e;switch(F){case 1:var a=n(o);break;case 2:case 3:case 4:a=n(o);break;case 5:a=n(o)}}catch(t){throw t}finally{F=r,R=i}if("function"==typeof a)if(e=t.expirationTime,t.callback=a,null===j)j=t.next=t.previous=t;else{a=null,o=j;do{if(e<=o.expirationTime){a=o;break}o=o.next}while(o!==j);null===a?a=j:a===j&&(j=t),e=a.previous,e.next=a.previous=t,t.next=a,t.previous=e}}function i(t){if(null!==N&&N.startTime<=t)do{var e=N,n=e.next;if(e===n)N=null;else{N=n;var r=e.previous;r.next=n,n.previous=r}e.next=e.previous=null,l(e,e.expirationTime)}while(null!==N&&N.startTime<=t)}function o(t){W=!1,i(t),Y||(null!==j?(Y=!0,u(a)):null!==N&&c(o,N.startTime-t))}function a(t,n){Y=!1,W&&(W=!1,h()),i(n),B=!0;try{if(t){if(null!==j)do{r(j,n),n=e.unstable_now(),i(n)}while(null!==j&&!f())}else for(;null!==j&&j.expirationTime<=n;)r(j,n),n=e.unstable_now(),i(n);return null!==j||(null!==N&&c(o,N.startTime-n),!1)}finally{B=!1}}function s(t){switch(t){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}function l(t,e){if(null===j)j=t.next=t.previous=t;else{var n=null,r=j;do{if(e=P},d=function(){},e.unstable_forceFrameRate=function(t){0>t||125(E=ri){if(r=f,null===N)N=t.next=t.previous=t;else{n=null;var d=N;do{if(r0){var a=r[0],s=e&&e.get?e.get(a):void 0,l=n&&n.get?n.get(a):void 0;return i(t.get(a),s,l,r.slice(1),o)}t.forEach(function(t,r){if(r!==k){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(k),b.OrderedSet(),function(t){return t.add(n)})}function a(t,e,n){return t.updateIn(e.concat(k),b.OrderedSet(),function(t){return t.remove(n)})}function s(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 l(t,e,n,r){t._queuedChange||(t._queuedChange=!0,S(function(){t._queuedChange=!1,t.emit("next-animation-frame",e,n,r)}))}function u(t,e){return function(n,r,i){var o=t.current,a=e.apply(e,arguments);return n===o?a:(t.emit("swap",a,o,i),l(t,a,o,i),a)}}function c(t,e){return function(n,r,i){var o=t.current,a=e.apply(e,arguments);if(n===o)return a;var s=h(n,o,i);return s.eventName&&(t.emit.apply(t,[s.eventName].concat(s.args)),t.emit("any",s.newObject,s.oldObject,i)),a}}function h(t,e,n){var r,i,o=e&&e.getIn(n),a=t&&t.getIn(n),s=e&&f(e,n),l=t&&f(t,n);return s&&!l?(i="delete",r=[o,n]):s&&l?(i="change",r=[a,o,n]):!s&&l&&(i="add",r=[a,n]),{eventName:i,args:r,newObject:a,oldObject:o}}function f(t,e){return t.hasIn?t.hasIn(e):t.getIn(e,M)!==M}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 p(t,e){return function(n,r,i){return e.call(this,n.getIn(t),r.getIn(t),i.slice(t.length))}}function m(t){return t&&"function"==typeof t.deref}function v(t){return T.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(368),w=n(369),_=n(370),k={};!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,w),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:f(t,r)?e.current=e.current.setIn(r,t.getIn(r)):e.current=e.current.removeIn(r),e.current};return n=s(this,n),n=u(this,n),n=c(this,n),x.from(e.current,t,n)},r.prototype.reference=function(t){function e(){s=i.cursor(t)}function n(t,e){i._referencelisteners=o(i._referencelisteners,t,e)}function r(t,e){i._referencelisteners=a(i._referencelisteners,t,e)}m(t)&&t._keyPath&&(t=t._keyPath),t=y(t)||[];var i=this,s=this.cursor(t),l=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):p(t,i),n(t,i),l=l.add(i),function(){r(t,i)}},cursor:function(t){if(!this._dead)return t=y(t),t?s.cursor(t):s},reference:function(t){return t=y(t),i.reference((s._keyPath||[]).concat(t))},unobserveAll:function(n){this._dead||(l.forEach(function(e){r(t,e)}),n&&r(t,e))},destroy:function(){s=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),l(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 S="undefined"!=typeof window&&window.requestAnimationFrame||_.raf,M={},T=[{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=p(e),a(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 a(t,e,n,r){arguments.length<4&&(r=t.getIn(e));var a=r&&r.size,l=v.isIndexed(r)?o:i,u=new l(t,e,n,a);return r instanceof x&&s(u,r),u}function s(t,e){try{e._keys.forEach(l.bind(void 0,t))}catch(t){}}function l(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 u(t,e,n){return v.isIterable(n)?c(t,e,n):n}function c(t,e,n){return arguments.length<3?a(t._rootData,f(t._keyPath,e),t._onChange):a(t._rootData,f(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||[],s=t._onChange&&t._onChange.call(void 0,i,t._rootData,r?f(o,n):o);return void 0!==s&&(i=s),a(i,t._keyPath,t._onChange)}function f(t,e){return t.concat(d(e))}function d(t){return Array.isArray(t)?t:m.Iterable(t).toArray()}function p(t){return Array.isArray(t)?t:v.isIterable(t)?t.toArray():[t]}var m=n(2),v=m.Iterable,g=v.Iterator,y=m.Seq,b=m.Map,x=m.Record,w=Object.create(y.Keyed.prototype),_=Object.create(y.Indexed.prototype);w.constructor=i,_.constructor=o,w.toString=function(){return this.__toString("Cursor {","}")},_.toString=function(){return this.__toString("Cursor [","]")},w.deref=w.valueOf=_.deref=_.valueOf=function(t){return this._rootData.getIn(this._keyPath,t)},w.get=_.get=function(t,e){return this.getIn([t],e)},w.getIn=_.getIn=function(t,e){if(t=d(t),0===t.length)return this;var n=this._rootData.getIn(f(this._keyPath,t),k);return n===k?e:u(this,t,n)},_.set=w.set=function(t,e){return 1===arguments.length?h(this,function(){return t},[]):h(this,function(n){return n.set(t,e)},[t])},_.push=function(){var t=arguments;return h(this,function(e){return e.push.apply(e,t)})},_.pop=function(){return h(this,function(t){return t.pop()})},_.unshift=function(){var t=arguments;return h(this,function(e){return e.unshift.apply(e,t)})},_.shift=function(){return h(this,function(t){return t.shift()})},_.setIn=w.setIn=b.prototype.setIn,w.remove=w.delete=_.remove=_.delete=function(t){return h(this,function(e){return e.remove(t)},[t])},_.removeIn=_.deleteIn=w.removeIn=w.deleteIn=b.prototype.deleteIn,w.clear=_.clear=function(){return h(this,function(t){return t.clear()})},_.update=w.update=function(t,e,n){return 1===arguments.length?h(this,t):this.updateIn([t],e,n)},_.updateIn=w.updateIn=function(t,e,n){return h(this,function(r){return r.updateIn(t,e,n)},t)},_.merge=w.merge=function(){var t=arguments;return h(this,function(e){return e.merge.apply(e,t)})},_.mergeWith=w.mergeWith=function(t){var e=arguments;return h(this,function(t){return t.mergeWith.apply(t,e)})},_.mergeIn=w.mergeIn=b.prototype.mergeIn,_.mergeDeep=w.mergeDeep=function(){var t=arguments;return h(this,function(e){return e.mergeDeep.apply(e,t)})},_.mergeDeepWith=w.mergeDeepWith=function(t){var e=arguments;return h(this,function(t){return t.mergeDeepWith.apply(t,e)})},_.mergeDeepIn=w.mergeDeepIn=b.prototype.mergeDeepIn,w.withMutations=_.withMutations=function(t){return h(this,function(e){return(e||b()).withMutations(t)})},w.cursor=_.cursor=function(t){return t=p(t),0===t.length?this:c(this,t)},w.__iterate=_.__iterate=function(t,e){var n=this,r=n.deref();return r&&r.__iterate?r.__iterate(function(e,r){return t(u(n,[r],e),r,n)},e):0},w.__iterator=_.__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],a=u(r,[o],n[1]);return{value:t===g.KEYS?o:t===g.VALUES?a:[o,a],done:!1}})},i.prototype=w,o.prototype=_;var k={};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,a="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(a?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},i.prototype.listeners=function(t,e){var n=a?a+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,s=new Array(o);i0?g+v:""}},function(t,e,n){"use strict";var r=n(146),i=Object.prototype.hasOwnProperty,o={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(t){return t.replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(parseInt(e,10))})},s=function(t,e){var n,s={},l=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,u=e.parameterLimit===1/0?void 0:e.parameterLimit,c=l.split(e.delimiter,u),h=-1,f=e.charset;if(e.charsetSentinel)for(n=0;n-1&&(p=p.split(",")),i.call(s,d)?s[d]=r.combine(s[d],p):s[d]=p}return s},l=function(t,e,n){for(var r=e,i=t.length-1;i>=0;--i){var o,a=t[i];if("[]"===a&&n.parseArrays)o=[].concat(r);else{o=n.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,l=parseInt(s,10);n.parseArrays||""!==s?!isNaN(l)&&a!==s&&String(l)===s&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(o=[],o[l]=r):o[s]=r:o={0:r}}r=o}return r},u=function(t,e,n){if(t){var r=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,s=n.depth>0&&o.exec(r),u=s?r.slice(0,s.index):r,c=[];if(u){if(!n.plainObjects&&i.call(Object.prototype,u)&&!n.allowPrototypes)return;c.push(u)}for(var h=0;n.depth>0&&null!==(s=a.exec(r))&&he?l(y,d):g=setTimeout(u,t)}function c(){l(w,g)}function h(){if(f=arguments,m=o(),v=this,y=w&&(g||!_),!1===x)var n=_&&!g;else{d||_||(b=m);var r=x-(m-b),i=r<=0||r>x;i?(d&&(d=clearTimeout(d)),b=m,p=t.apply(v,f)):d||(d=setTimeout(c,r))}return i&&g?g=clearTimeout(g):g||e===x||(g=setTimeout(u,e)),n&&(i=!0,p=t.apply(v,f)),!i||g||d||(f=v=void 0),p}var f,d,p,m,v,g,y,b=0,x=!1,w=!0;if("function"!=typeof t)throw new TypeError(a);if(e=e<0?0:+e||0,!0===n){var _=!0;w=!1}else i(n)&&(_=!!n.leading,x="maxWait"in n&&s(+n.maxWait||0,e),w="trailing"in n?!!n.trailing:w);return h.cancel=r,h}var i=n(24),o=n(378),a="Expected a function",s=Math.max;t.exports=r},function(t,e,n){var r=n(92),i=r(Date,"now"),o=i||function(){return(new Date).getTime()};t.exports=o},,,function(t,e){function n(t,e){for(var n=-1,r=e.length,i=t.length;++nu))return!1;for(;++l=s,h=c?a():null,f=[];h?(r=o,u=!1):(c=!1,h=e?[]:f);t:for(;++n=s?a(e):null,f=e.length;h&&(u=o,c=!1,e=h);t:for(;++l1&&(r=n[0]+"@",t=n[1]),t=t.replace(A,"."),r+s(t.split("."),e).join(".")}function u(t){for(var e,n,r=[],i=0,o=t.length;i=55296&&e<=56319&&i65535&&(t-=65536,e+=z(t>>>10&1023|55296),t=56320|1023&t),e+=z(t)}).join("")}function h(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:w}function f(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function d(t,e,n){var r=0;for(t=n?L(t/M):t>>1,t+=L(t/e);t>I*k>>1;r+=w)t=L(t/I);return L(r+(I+1)*t/(t+S))}function p(t){var e,n,r,i,o,s,l,u,f,p,m=[],v=t.length,g=0,y=E,b=T;for(n=t.lastIndexOf(C),n<0&&(n=0),r=0;r=128&&a("not-basic"),m.push(t.charCodeAt(r));for(i=n>0?n+1:0;i=v&&a("invalid-input"),u=h(t.charCodeAt(i++)),(u>=w||u>L((x-g)/s))&&a("overflow"),g+=u*s,f=l<=b?_:l>=b+k?k:l-b,!(uL(x/p)&&a("overflow"),s*=p;e=m.length+1,b=d(g-o,e,0==o),L(g/e)>x-y&&a("overflow"),y+=L(g/e),g%=e,m.splice(g++,0,y)}return c(m)}function m(t){var e,n,r,i,o,s,l,c,h,p,m,v,g,y,b,S=[];for(t=u(t),v=t.length,e=E,n=0,o=T,s=0;s=e&&mL((x-n)/g)&&a("overflow"),n+=(l-e)*g,e=l,s=0;sx&&a("overflow"),m==e){for(c=n,h=w;p=h<=o?_:h>=o+k?k:h-o,!(c= 0x80 (not a basic code point)","invalid-input":"Invalid input"},I=w-_,L=Math.floor,z=String.fromCharCode;b={version:"1.4.1",ucs2:{decode:u,encode:c},decode:p,encode:m,toASCII:g,toUnicode:v},void 0!==(i=function(){return b}.call(e,n,e,t))&&(t.exports=i)}()}).call(e,n(144)(t),n(120))},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 a={};if("string"!=typeof t||0===t.length)return a;var s=/\+/g;t=t.split(e);var l=1e3;o&&"number"==typeof o.maxKeys&&(l=o.maxKeys);var u=t.length;l>0&&u>l&&(u=l);for(var c=0;c=0?(h=m.substr(0,v),f=m.substr(v+1)):(h=m,f=""),d=decodeURIComponent(h),p=decodeURIComponent(f),r(a,d)?i(a[d])?a[d].push(p):a[d]=[a[d],p]:a[d]=p}return a};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;ru))return!1;for(;++l-1&&t%1==0&&t<=o}function r(t){return!!t&&"object"==typeof t}function i(t){return r(t)&&n(t.length)&&!!a[l.call(t)]}var o=9007199254740991,a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=Object.prototype,l=s.toString;t.exports=i},function(t,e,n){function r(t){return null!=t&&o(g(t))}function i(t,e){return t="number"==typeof t||f.test(t)?+t:-1,e=null==e?v:e,t>-1&&t%1==0&&t-1&&t%1==0&&t<=v}function a(t){for(var e=l(t),n=e.length,r=n&&t.length,a=!!r&&o(r)&&(h(t)||c(t)),s=-1,u=[];++s0;++r-1&&t%1==0&&t<=u}function s(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function l(t){return!!t&&"object"==typeof t}var u=9007199254740991,c="[object Arguments]",h="[object Function]",f="[object GeneratorFunction]",d=Object.prototype,p=d.hasOwnProperty,m=d.toString,v=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,a){return t.call(e,n,r,i,o,a)}}return function(){return t.apply(e,arguments)}}function r(t){return t}t.exports=n},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(238);t.exports=r(),t.exports.withDefaults=r},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){function r(t,e){return i(function(n){var r=n[0];return null==r?r:(n.push(e),t.apply(void 0,n))})}var i=n(93);t.exports=r},function(t,e,n){function r(t,e,n,f,d){if(!l(t))return t;var p=s(e)&&(a(e)||c(e)),m=p?void 0:h(e);return i(m||e,function(i,a){if(m&&(a=i,i=e[a]),u(i))f||(f=[]),d||(d=[]),o(t,e,a,r,n,f,d);else{var s=t[a],l=n?n(s,i,a,t,e):void 0,c=void 0===l;c&&(l=i),void 0===l&&(!p||a in t)||!c&&(l===l?l===s:s!==s)||(t[a]=l)}}),t}var i=n(170),o=n(577),a=n(23),s=n(56),l=n(24),u=n(38),c=n(168),h=n(54);t.exports=r},function(t,e,n){function r(t,e,n,r,h,f,d){for(var p=f.length,m=e[n];p--;)if(f[p]==m)return void(t[n]=d[p]);var v=t[n],g=h?h(v,m,n,t,e):void 0,y=void 0===g;y&&(g=m,s(m)&&(a(m)||u(m))?g=a(v)?v:s(v)?i(v):[]:l(m)||o(m)?g=o(v)?c(v):l(v)?v:{}:y=!1),f.push(m),d.push(g),y?t[n]=r(g,m,h,f,d):(g===g?g!==v:v===v)&&(t[n]=g)}var i=n(236),o=n(73),a=n(23),s=n(56),l=n(578),u=n(168),c=n(579);t.exports=r},function(t,e,n){function r(t){var e;if(!a(t)||c.call(t)!=s||o(t)||!u.call(t,"constructor")&&"function"==typeof(e=t.constructor)&&!(e instanceof e))return!1;var n;return i(t,function(t,e){n=e}),void 0===n||u.call(t,n)}var i=n(228),o=n(73),a=n(38),s="[object Object]",l=Object.prototype,u=l.hasOwnProperty,c=l.toString;t.exports=r},function(t,e,n){function r(t){return i(t,o(t))}var i=n(221),o=n(115);t.exports=r},function(t,e,n){function r(t,e){return void 0===t?e:i(t,e,r)}var i=n(278);t.exports=r},function(t,e,n){function r(t,e){return function(n,r,a){return"function"==typeof r&&void 0===a&&o(n)?t(n,r):e(n,i(r,a,3))}}var i=n(74),o=n(23);t.exports=r},,,,,,,,,,,,,,,,,,,,,function(t,e){function n(t,e,n,r){var i=t.length;for(n=null==n?0:+n||0,n<0&&(n=-n>i?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(207),i=n(208);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),l=r(n),u=s.length;return l<0||l>=u?t?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},function(t,e,n){"use strict";var r=n(697),i=n(302),o=n(211),a={};n(90)(a,n(30)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(68),i=n(698),o=n(307),a=n(210)("IE_PROTO"),s=function(){},l=function(){var t,e=n(206)("iframe"),r=o.length;for(e.style.display="none",n(308).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("