text: (window.webpackJsonp=window.webpackJsonp||[]).push([[6],{"+6XX":function(t,e,n){var i=n("y1pI");t.exports=function(t){return i(this.__data__,t)>-1}},"+c4W":function(t,e,n){var i=n("711d"),r=n("4/ic"),a=n("9ggG"),o=n("9Nap");t.exports=function(t){return a(t)?i(o(t)):r(t)}},"/9aa":function(t,e,n){var i=n("NykK"),r=n("ExA7");t.exports=function(t){return"symbol"==typeof t||r(t)&&"[object Symbol]"==i(t)}},"03A+":function(t,e,n){var i=n("JTzB"),r=n("ExA7"),a=Object.prototype,o=a.hasOwnProperty,s=a.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(t){return r(t)&&o.call(t,"callee")&&!s.call(t,"callee")};t.exports=l},"0Cz8":function(t,e,n){var i=n("Xi7e"),r=n("ebwN"),a=n("e4Nc");t.exports=function(t,e){var n=this.__data__;if(n instanceof i){var o=n.__data__;if(!r||o.length<199)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new a(o)}return n.set(t,e),this.size=n.size,this}},"0ycA":function(t,e){t.exports=function(){return[]}},"19JU":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i}));var i="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,r="undefined"==typeof window?{document:i,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window},"1OyB":function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return i}))},"1hJj":function(t,e,n){var i=n("e4Nc"),r=n("ftKO"),a=n("3A9y");function o(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new i;++e<n;)this.add(t[e])}o.prototype.add=o.prototype.push=r,o.prototype.has=a,t.exports=o},"2gN3":function(t,e,n){var i=n("Kz5y")["__core-js_shared__"];t.exports=i},"3A9y":function(t,e){t.exports=function(t){return this.__data__.has(t)}},"3Fdi":function(t,e,n){n("a1Th"),n("h7Nl"),n("Btvt");var i=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return i.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},"3THW":function(t,e,n){t.exports=n.p+"static/img2-baff3221a857396a7aed598d0385a88a.png"},"4/ic":function(t,e,n){var i=n("ZWtO");t.exports=function(t){return function(e){return i(e,t)}}},"44Ds":function(t,e,n){var i=n("e4Nc");function r(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(r.Cache||i),n}r.Cache=i,t.exports=r},"4kuk":function(t,e,n){var i=n("SfRM"),r=n("Hvzi"),a=n("u8Dt"),o=n("ekgI"),s=n("JSQU");function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=o,l.prototype.set=s,t.exports=l},"4sDh":function(t,e,n){var i=n("4uTw"),r=n("03A+"),a=n("Z0cm"),o=n("wJg7"),s=n("shjB"),l=n("9Nap");t.exports=function(t,e,n){for(var u=-1,c=(e=i(e,t)).length,d=!1;++u<c;){var h=l(e[u]);if(!(d=null!=t&&n(t,h)))break;t=t[h]}return d||++u!=c?d:!!(c=null==t?0:t.length)&&s(c)&&o(h,c)&&(a(t)||r(t))}},"4uTw":function(t,e,n){var i=n("Z0cm"),r=n("9ggG"),a=n("GNiM"),o=n("dt0z");t.exports=function(t,e){return i(t)?t:r(t,e)?[t]:a(o(t))}},"6FJJ":function(t,e,n){t.exports=n.p+"static/img27-79ead98bb26fcbb7f070eebd2c42b91d.png"},"6sVZ":function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},"711d":function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},"77Zs":function(t,e,n){var i=n("Xi7e");t.exports=function(){this.__data__=new i,this.size=0}},"7GkX":function(t,e,n){var i=n("b80T"),r=n("A90E"),a=n("MMmD");t.exports=function(t){return a(t)?i(t):r(t)}},"7fqy":function(t,e,n){n("8+KV"),t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}},"7x8s":function(t,e,n){t.exports=n.p+"static/img19-3258993bd297dca6c6bb5dcdfe172dd0.png"},"9Nap":function(t,e,n){var i=n("/9aa");t.exports=function(t){if("string"==typeof t||i(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},"9Pxm":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return l})),n.d(e,"F",(function(){return u})),n.d(e,"n",(function(){return c})),n.d(e,"I",(function(){return d})),n.d(e,"e",(function(){return h})),n.d(e,"E",(function(){return f})),n.d(e,"i",(function(){return p})),n.d(e,"J",(function(){return g})),n.d(e,"K",(function(){return m})),n.d(e,"v",(function(){return v})),n.d(e,"t",(function(){return b})),n.d(e,"M",(function(){return y})),n.d(e,"L",(function(){return x})),n.d(e,"x",(function(){return w})),n.d(e,"w",(function(){return _})),n.d(e,"u",(function(){return M})),n.d(e,"G",(function(){return k})),n.d(e,"h",(function(){return S})),n.d(e,"j",(function(){return T})),n.d(e,"l",(function(){return C})),n.d(e,"o",(function(){return D})),n.d(e,"H",(function(){return P})),n.d(e,"q",(function(){return E})),n.d(e,"p",(function(){return A})),n.d(e,"k",(function(){return O})),n.d(e,"d",(function(){return I})),n.d(e,"A",(function(){return L})),n.d(e,"r",(function(){return F})),n.d(e,"s",(function(){return z})),n.d(e,"B",(function(){return N})),n.d(e,"C",(function(){return j})),n.d(e,"y",(function(){return R})),n.d(e,"z",(function(){return B})),n.d(e,"g",(function(){return Y})),n.d(e,"m",(function(){return W})),n.d(e,"f",(function(){return V})),n.d(e,"D",(function(){return H})),n.d(e,"b",(function(){return G}));n("2Spj"),n("rGqo"),n("yt8O"),n("Btvt"),n("RW0V"),n("8+KV"),n("91GP"),n("0l/t"),n("LK8F"),n("f3/d"),n("pIFo"),n("KKXr"),n("SRfc"),n("V+eJ"),n("Tze0");var i=n("1OyB"),r=n("19JU"),a=function t(e){Object(i.a)(this,t);for(var n=0;n<e.length;n+=1)this[n]=e[n];return this.length=e.length,this};function o(t,e){var n=[],i=0;if(t&&!e&&t instanceof a)return t;if(t)if("string"==typeof t){var o,s,l=t.trim();if(l.indexOf("<")>=0&&l.indexOf(">")>=0){var u="div";for(0===l.indexOf("<li")&&(u="ul"),0===l.indexOf("<tr")&&(u="tbody"),0!==l.indexOf("<td")&&0!==l.indexOf("<th")||(u="tr"),0===l.indexOf("<tbody")&&(u="table"),0===l.indexOf("<option")&&(u="select"),(s=r.a.createElement(u)).innerHTML=l,i=0;i<s.childNodes.length;i+=1)n.push(s.childNodes[i])}else for(o=e||"#"!==t[0]||t.match(/[ .<>:~]/)?(e||r.a).querySelectorAll(t.trim()):[r.a.getElementById(t.trim().split("#")[1])],i=0;i<o.length;i+=1)o[i]&&n.push(o[i])}else if(t.nodeType||t===r.b||t===r.a)n.push(t);else if(t.length>0&&t[0].nodeType)for(i=0;i<t.length;i+=1)n.push(t[i]);return new a(n)}function s(t){for(var e=[],n=0;n<t.length;n+=1)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function l(t){if(void 0===t)return this;for(var e=t.split(" "),n=0;n<e.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.add(e[n]);return this}function u(t){for(var e=t.split(" "),n=0;n<e.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.remove(e[n]);return this}function c(t){return!!this[0]&&this[0].classList.contains(t)}function d(t){for(var e=t.split(" "),n=0;n<e.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.toggle(e[n]);return this}function h(t,e){if(1===arguments.length&&"string"==typeof t)return this[0]?this[0].getAttribute(t):void 0;for(var n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(t,e);else for(var i in t)this[n][i]=t[i],this[n].setAttribute(i,t[i]);return this}function f(t){for(var e=0;e<this.length;e+=1)this[e].removeAttribute(t);return this}function p(t,e){var n;if(void 0!==e){for(var i=0;i<this.length;i+=1)(n=this[i]).dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[t]=e;return this}if(n=this[0]){if(n.dom7ElementDataStorage&&t in n.dom7ElementDataStorage)return n.dom7ElementDataStorage[t];var r=n.getAttribute("data-".concat(t));return r||void 0}}function g(t){for(var e=0;e<this.length;e+=1){var n=this[e].style;n.webkitTransform=t,n.transform=t}return this}function m(t){"string"!=typeof t&&(t="".concat(t,"ms"));for(var e=0;e<this.length;e+=1){var n=this[e].style;n.webkitTransitionDuration=t,n.transitionDuration=t}return this}function v(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=e[0],r=e[1],a=e[2],s=e[3];function l(t){var e=t.target;if(e){var n=t.target.dom7EventData||[];if(n.indexOf(t)<0&&n.unshift(t),o(e).is(r))a.apply(e,n);else for(var i=o(e).parents(),s=0;s<i.length;s+=1)o(i[s]).is(r)&&a.apply(i[s],n)}}function u(t){var e=t&&t.target&&t.target.dom7EventData||[];e.indexOf(t)<0&&e.unshift(t),a.apply(this,e)}"function"==typeof e[1]&&(i=e[0],a=e[1],s=e[2],r=void 0),s||(s=!1);for(var c,d=i.split(" "),h=0;h<this.length;h+=1){var f=this[h];if(r)for(c=0;c<d.length;c+=1){var p=d[c];f.dom7LiveListeners||(f.dom7LiveListeners={}),f.dom7LiveListeners[p]||(f.dom7LiveListeners[p]=[]),f.dom7LiveListeners[p].push({listener:a,proxyListener:l}),f.addEventListener(p,l,s)}else for(c=0;c<d.length;c+=1){var g=d[c];f.dom7Listeners||(f.dom7Listeners={}),f.dom7Listeners[g]||(f.dom7Listeners[g]=[]),f.dom7Listeners[g].push({listener:a,proxyListener:u}),f.addEventListener(g,u,s)}}return this}function b(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=e[0],r=e[1],a=e[2],o=e[3];"function"==typeof e[1]&&(i=e[0],a=e[1],o=e[2],r=void 0),o||(o=!1);for(var s=i.split(" "),l=0;l<s.length;l+=1)for(var u=s[l],c=0;c<this.length;c+=1){var d=this[c],h=void 0;if(!r&&d.dom7Listeners?h=d.dom7Listeners[u]:r&&d.dom7LiveListeners&&(h=d.dom7LiveListeners[u]),h&&h.length)for(var f=h.length-1;f>=0;f-=1){var p=h[f];a&&p.listener===a||a&&p.listener&&p.listener.dom7proxy&&p.listener.dom7proxy===a?(d.removeEventListener(u,p.proxyListener,o),h.splice(f,1)):a||(d.removeEventListener(u,p.proxyListener,o),h.splice(f,1))}}return this}function y(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(var i=e[0].split(" "),a=e[1],o=0;o<i.length;o+=1)for(var s=i[o],l=0;l<this.length;l+=1){var u=this[l],c=void 0;try{c=new r.b.CustomEvent(s,{detail:a,bubbles:!0,cancelable:!0})}catch(d){(c=r.a.createEvent("Event")).initEvent(s,!0,!0),c.detail=a}u.dom7EventData=e.filter((function(t,e){return e>0})),u.dispatchEvent(c),u.dom7EventData=[],delete u.dom7EventData}return this}function x(t){var e,n=["webkitTransitionEnd","transitionend"],i=this;function r(a){if(a.target===this)for(t.call(this,a),e=0;e<n.length;e+=1)i.off(n[e],r)}if(t)for(e=0;e<n.length;e+=1)i.on(n[e],r);return this}function w(t){if(this.length>0){if(t){var e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function _(t){if(this.length>0){if(t){var e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function M(){if(this.length>0){var t=this[0],e=t.getBoundingClientRect(),n=r.a.body,i=t.clientTop||n.clientTop||0,a=t.clientLeft||n.clientLeft||0,o=t===r.b?r.b.scrollY:t.scrollTop,s=t===r.b?r.b.scrollX:t.scrollLeft;return{top:e.top+o-i,left:e.left+s-a}}return null}function k(){return this[0]?r.b.getComputedStyle(this[0],null):{}}function S(t,e){var n;if(1===arguments.length){if("string"!=typeof t){for(n=0;n<this.length;n+=1)for(var i in t)this[n].style[i]=t[i];return this}if(this[0])return r.b.getComputedStyle(this[0],null).getPropertyValue(t)}if(2===arguments.length&&"string"==typeof t){for(n=0;n<this.length;n+=1)this[n].style[t]=e;return this}return this}function T(t){if(!t)return this;for(var e=0;e<this.length;e+=1)if(!1===t.call(this[e],e,this[e]))return this;return this}function C(t){for(var e=[],n=0;n<this.length;n+=1)t.call(this[n],n,this[n])&&e.push(this[n]);return new a(e)}function D(t){if(void 0===t)return this[0]?this[0].innerHTML:void 0;for(var e=0;e<this.length;e+=1)this[e].innerHTML=t;return this}function P(t){if(void 0===t)return this[0]?this[0].textContent.trim():null;for(var e=0;e<this.length;e+=1)this[e].textContent=t;return this}function E(t){var e,n,i=this[0];if(!i||void 0===t)return!1;if("string"==typeof t){if(i.matches)return i.matches(t);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(t);if(i.msMatchesSelector)return i.msMatchesSelector(t);for(e=o(t),n=0;n<e.length;n+=1)if(e[n]===i)return!0;return!1}if(t===r.a)return i===r.a;if(t===r.b)return i===r.b;if(t.nodeType||t instanceof a){for(e=t.nodeType?[t]:t,n=0;n<e.length;n+=1)if(e[n]===i)return!0;return!1}return!1}function A(){var t,e=this[0];if(e){for(t=0;null!==(e=e.previousSibling);)1===e.nodeType&&(t+=1);return t}}function O(t){if(void 0===t)return this;var e,n=this.length;return new a(t>n-1?[]:t<0?(e=n+t)<0?[]:[this[e]]:[this[t]])}function I(){for(var t,e=0;e<arguments.length;e+=1){t=e<0||arguments.length<=e?void 0:arguments[e];for(var n=0;n<this.length;n+=1)if("string"==typeof t){var i=r.a.createElement("div");for(i.innerHTML=t;i.firstChild;)this[n].appendChild(i.firstChild)}else if(t instanceof a)for(var o=0;o<t.length;o+=1)this[n].appendChild(t[o]);else this[n].appendChild(t)}return this}function L(t){var e,n;for(e=0;e<this.length;e+=1)if("string"==typeof t){var i=r.a.createElement("div");for(i.innerHTML=t,n=i.childNodes.length-1;n>=0;n-=1)this[e].insertBefore(i.childNodes[n],this[e].childNodes[0])}else if(t instanceof a)for(n=0;n<t.length;n+=1)this[e].insertBefore(t[n],this[e].childNodes[0]);else this[e].insertBefore(t,this[e].childNodes[0]);return this}function F(t){return this.length>0?t?this[0].nextElementSibling&&o(this[0].nextElementSibling).is(t)?new a([this[0].nextElementSibling]):new a([]):this[0].nextElementSibling?new a([this[0].nextElementSibling]):new a([]):new a([])}function z(t){var e=[],n=this[0];if(!n)return new a([]);for(;n.nextElementSibling;){var i=n.nextElementSibling;t?o(i).is(t)&&e.push(i):e.push(i),n=i}return new a(e)}function N(t){if(this.length>0){var e=this[0];return t?e.previousElementSibling&&o(e.previousElementSibling).is(t)?new a([e.previousElementSibling]):new a([]):e.previousElementSibling?new a([e.previousElementSibling]):new a([])}return new a([])}function j(t){var e=[],n=this[0];if(!n)return new a([]);for(;n.previousElementSibling;){var i=n.previousElementSibling;t?o(i).is(t)&&e.push(i):e.push(i),n=i}return new a(e)}function R(t){for(var e=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(t?o(this[n].parentNode).is(t)&&e.push(this[n].parentNode):e.push(this[n].parentNode));return o(s(e))}function B(t){for(var e=[],n=0;n<this.length;n+=1)for(var i=this[n].parentNode;i;)t?o(i).is(t)&&e.push(i):e.push(i),i=i.parentNode;return o(s(e))}function Y(t){var e=this;return void 0===t?new a([]):(e.is(t)||(e=e.parents(t).eq(0)),e)}function W(t){for(var e=[],n=0;n<this.length;n+=1)for(var i=this[n].querySelectorAll(t),r=0;r<i.length;r+=1)e.push(i[r]);return new a(e)}function V(t){for(var e=[],n=0;n<this.length;n+=1)for(var i=this[n].childNodes,r=0;r<i.length;r+=1)t?1===i[r].nodeType&&o(i[r]).is(t)&&e.push(i[r]):1===i[r].nodeType&&e.push(i[r]);return new a(s(e))}function H(){for(var t=0;t<this.length;t+=1)this[t].parentNode&&this[t].parentNode.removeChild(this[t]);return this}function G(){for(var t,e,n=this,i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];for(t=0;t<r.length;t+=1){var s=o(r[t]);for(e=0;e<s.length;e+=1)n[n.length]=s[e],n.length+=1}return n}o.fn=a.prototype,o.Class=a,o.Dom7=a;"resize scroll".split(" ")},"9ggG":function(t,e,n){var i=n("Z0cm"),r=n("/9aa"),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;t.exports=function(t,e){if(i(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!r(t))||(o.test(t)||!a.test(t)||null!=e&&t in Object(e))}},A90E:function(t,e,n){var i=n("6sVZ"),r=n("V6Ve"),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!i(t))return r(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e}},AP2z:function(t,e,n){n("a1Th"),n("h7Nl"),n("Btvt");var i=n("nmnc"),r=Object.prototype,a=r.hasOwnProperty,o=r.toString,s=i?i.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),n=t[s];try{t[s]=void 0;var i=!0}catch(l){}var r=o.call(t);return i&&(e?t[s]=n:delete t[s]),r}},AphP:function(t,e,n){"use strict";var i=n("XKFU"),r=n("S/j/"),a=n("apmT");i(i.P+i.F*n("eeVq")((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=r(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},B8du:function(t,e){t.exports=function(){return!1}},C3HU:function(t,e,n){t.exports=n.p+"static/taxi-ff6c9befff372bb3dfcac29b21ac7abb.png"},CH3K:function(t,e){t.exports=function(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}},CMye:function(t,e,n){var i=n("GoyQ");t.exports=function(t){return t==t&&!i(t)}},Cwc5:function(t,e,n){var i=n("NKxu"),r=n("Npjl");t.exports=function(t,e){var n=r(t,e);return i(n)?n:void 0}},DSRE:function(t,e,n){(function(t){var i=n("Kz5y"),r=n("B8du"),a=e&&!e.nodeType&&e,o=a&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===a?i.Buffer:void 0,l=(s?s.isBuffer:void 0)||r;t.exports=l}).call(this,n("YuTi")(t))},DvE2:function(t,e,n){t.exports=n.p+"static/ponte-1c54e8d8ca8e47bfe800893f4aaadf23.png"},E2jh:function(t,e,n){n("rGqo"),n("yt8O"),n("Btvt");var i,r=n("2gN3"),a=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";t.exports=function(t){return!!a&&a in t}},EXXW:function(t,e,n){t.exports=n.p+"static/img24-57efb495e7e4023b723c8afc491f7b7e.png"},EpBk:function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},ExA7:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},"F/Ns":function(t,e,n){t.exports=n.p+"static/img12-4ed85fb89941c6880149ec30b03f5b40.png"},FlsD:function(t,e,n){var i=n("0/R4");n("Xtr8")("isExtensible",(function(t){return function(e){return!!i(e)&&(!t||t(e))}}))},GDhZ:function(t,e,n){var i=n("wF/u"),r=n("mwIZ"),a=n("hgQt"),o=n("9ggG"),s=n("CMye"),l=n("IOzZ"),u=n("9Nap");t.exports=function(t,e){return o(t)&&s(e)?l(u(t),e):function(n){var o=r(n,t);return void 0===o&&o===e?a(n,t):i(e,o,3)}}},GNiM:function(t,e,n){n("pIFo");var i=n("I01J"),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,o=i((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(r,(function(t,n,i,r){e.push(i?r.replace(a,"$1"):n||t)})),e}));t.exports=o},GoyQ:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},H8j4:function(t,e,n){var i=n("QkVE");t.exports=function(t,e){var n=i(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}},HDyB:function(t,e,n){n("f3/d");var i=n("nmnc"),r=n("JHRd"),a=n("ljhN"),o=n("or5M"),s=n("7fqy"),l=n("rEGp"),u=i?i.prototype:void 0,c=u?u.valueOf:void 0;t.exports=function(t,e,n,i,u,d,h){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!d(new r(t),new r(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var f=s;case"[object Set]":var p=1&i;if(f||(f=l),t.size!=e.size&&!p)return!1;var g=h.get(t);if(g)return g==e;i|=2,h.set(t,e);var m=o(f(t),f(e),i,u,d,h);return h.delete(t),m;case"[object Symbol]":if(c)return c.call(t)==c.call(e)}return!1}},HOxn:function(t,e,n){var i=n("Cwc5")(n("Kz5y"),"Promise");t.exports=i},Hvzi:function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},I01J:function(t,e,n){var i=n("44Ds");t.exports=function(t){var e=i(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},INYr:function(t,e,n){"use strict";var i=n("XKFU"),r=n("CkkT")(6),a="findIndex",o=!0;a in[]&&Array(1)[a]((function(){o=!1})),i(i.P+i.F*o,"Array",{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("nGyu")(a)},IOzZ:function(t,e){t.exports=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}},IRj2:function(t){t.exports=JSON.parse('{"data":{"site":{"siteMetadata":{"title":"Persist Ponte"}}}}')},JC6p:function(t,e,n){var i=n("cq/+"),r=n("7GkX");t.exports=function(t,e){return t&&i(t,e,r)}},JD84:function(t,e,n){var i=n("SKAX");t.exports=function(t,e,n,r){return i(t,(function(t,i,a){e(r,t,n(t),a)})),r}},JHRd:function(t,e,n){var i=n("Kz5y").Uint8Array;t.exports=i},JHgL:function(t,e,n){var i=n("QkVE");t.exports=function(t){return i(this,t).get(t)}},JSQU:function(t,e,n){var i=n("YESw");t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this}},JSyq:function(t,e,n){t.exports=n.p+"static/img22-495918f4ab384e37ab80450d599ee4c7.png"},JTzB:function(t,e,n){var i=n("NykK"),r=n("ExA7");t.exports=function(t){return r(t)&&"[object Arguments]"==i(t)}},JX7q:function(t,e,n){"use strict";function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return i}))},Ji7U:function(t,e,n){"use strict";function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}n.d(e,"a",(function(){return r}))},Juji:function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},KMkd:function(t,e){t.exports=function(){this.__data__=[],this.size=0}},KQm4:function(t,e,n){"use strict";function i(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(e,"a",(function(){return i}))},KfNM:function(t,e,n){n("a1Th"),n("h7Nl"),n("Btvt");var i=Object.prototype.toString;t.exports=function(t){return i.call(t)}},Kz5y:function(t,e,n){var i=n("WFqU"),r="object"==typeof self&&self&&self.Object===Object&&self,a=i||r||Function("return this")();t.exports=a},L8xA:function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},LXxW:function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,r=0,a=[];++n<i;){var o=t[n];e(o,n,t)&&(a[r++]=o)}return a}},Ljet:function(t,e,n){var i=n("XKFU");i(i.S,"Number",{EPSILON:Math.pow(2,-52)})},MMmD:function(t,e,n){var i=n("lSCD"),r=n("shjB");t.exports=function(t){return null!=t&&r(t.length)&&!i(t)}},"MO+k":function(t,e,n){n("h/M4"),n("knhD"),n("Ljet"),n("CyHz"),n("DNiP"),n("2Spj"),n("0l/t"),n("DW2E"),n("FlsD"),n("INYr"),n("eM6i"),n("eHKK"),n("Vd3H"),n("bHtr"),n("V+eJ"),n("91GP"),n("xfY5"),n("LK8F"),n("8+KV"),n("rGqo"),n("yt8O"),n("RW0V"),n("KKXr"),n("bWfx"),n("SRfc"),n("a1Th"),n("h7Nl"),n("Btvt"),n("HAE/"),t.exports=function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[e[i]]=i);var r=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var a in r)if(r.hasOwnProperty(a)){if(!("channels"in r[a]))throw new Error("missing channels property: "+a);if(!("labels"in r[a]))throw new Error("missing channel labels property: "+a);if(r[a].labels.length!==r[a].channels)throw new Error("channel and label counts mismatch: "+a);var o=r[a].channels,s=r[a].labels;delete r[a].channels,delete r[a].labels,Object.defineProperty(r[a],"channels",{value:o}),Object.defineProperty(r[a],"labels",{value:s})}r.rgb.hsl=function(t){var e,n,i=t[0]/255,r=t[1]/255,a=t[2]/255,o=Math.min(i,r,a),s=Math.max(i,r,a),l=s-o;return s===o?e=0:i===s?e=(r-a)/l:r===s?e=2+(a-i)/l:a===s&&(e=4+(i-r)/l),(e=Math.min(60*e,360))<0&&(e+=360),n=(o+s)/2,[e,100*(s===o?0:n<=.5?l/(s+o):l/(2-s-o)),100*n]},r.rgb.hsv=function(t){var e,n,i,r,a,o=t[0]/255,s=t[1]/255,l=t[2]/255,u=Math.max(o,s,l),c=u-Math.min(o,s,l),d=function(t){return(u-t)/6/c+.5};return 0===c?r=a=0:(a=c/u,e=d(o),n=d(s),i=d(l),o===u?r=i-n:s===u?r=1/3+e-i:l===u&&(r=2/3+n-e),r<0?r+=1:r>1&&(r-=1)),[360*r,100*a,100*u]},r.rgb.hwb=function(t){var e=t[0],n=t[1],i=t[2];return[r.rgb.hsl(t)[0],1/255*Math.min(e,Math.min(n,i))*100,100*(i=1-1/255*Math.max(e,Math.max(n,i)))]},r.rgb.cmyk=function(t){var e,n=t[0]/255,i=t[1]/255,r=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-i,1-r)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-r-e)/(1-e)||0),100*e]},r.rgb.keyword=function(t){var i=n[t];if(i)return i;var r,a,o,s=1/0;for(var l in e)if(e.hasOwnProperty(l)){var u=e[l],c=(a=t,o=u,Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)+Math.pow(a[2]-o[2],2));c<s&&(s=c,r=l)}return r},r.keyword.rgb=function(t){return e[t]},r.rgb.xyz=function(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]},r.rgb.lab=function(t){var e=r.rgb.xyz(t),n=e[0],i=e[1],a=e[2];return i/=100,a/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},r.hsl.rgb=function(t){var e,n,i,r,a,o=t[0]/360,s=t[1]/100,l=t[2]/100;if(0===s)return[a=255*l,a,a];e=2*l-(n=l<.5?l*(1+s):l+s-l*s),r=[0,0,0];for(var u=0;u<3;u++)(i=o+1/3*-(u-1))<0&&i++,i>1&&i--,a=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e,r[u]=255*a;return r},r.hsl.hsv=function(t){var e=t[0],n=t[1]/100,i=t[2]/100,r=n,a=Math.max(i,.01);return n*=(i*=2)<=1?i:2-i,r*=a<=1?a:2-a,[e,100*(0===i?2*r/(a+r):2*n/(i+n)),(i+n)/2*100]},r.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,r=Math.floor(e)%6,a=e-Math.floor(e),o=255*i*(1-n),s=255*i*(1-n*a),l=255*i*(1-n*(1-a));switch(i*=255,r){case 0:return[i,l,o];case 1:return[s,i,o];case 2:return[o,i,l];case 3:return[o,s,i];case 4:return[l,o,i];case 5:return[i,o,s]}},r.hsv.hsl=function(t){var e,n,i,r=t[0],a=t[1]/100,o=t[2]/100,s=Math.max(o,.01);return i=(2-a)*o,n=a*s,[r,100*(n=(n/=(e=(2-a)*s)<=1?e:2-e)||0),100*(i/=2)]},r.hwb.rgb=function(t){var e,n,i,r,a,o,s,l=t[0]/360,u=t[1]/100,c=t[2]/100,d=u+c;switch(d>1&&(u/=d,c/=d),i=6*l-(e=Math.floor(6*l)),0!=(1&e)&&(i=1-i),r=u+i*((n=1-c)-u),e){default:case 6:case 0:a=n,o=r,s=u;break;case 1:a=r,o=n,s=u;break;case 2:a=u,o=n,s=r;break;case 3:a=u,o=r,s=n;break;case 4:a=r,o=u,s=n;break;case 5:a=n,o=u,s=r}return[255*a,255*o,255*s]},r.cmyk.rgb=function(t){var e=t[0]/100,n=t[1]/100,i=t[2]/100,r=t[3]/100;return[255*(1-Math.min(1,e*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r))]},r.xyz.rgb=function(t){var e,n,i,r=t[0]/100,a=t[1]/100,o=t[2]/100;return n=-.9689*r+1.8758*a+.0415*o,i=.0557*r+-.204*a+1.057*o,e=(e=3.2406*r+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]},r.xyz.lab=function(t){var e=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},r.lab.xyz=function(t){var e,n,i,r=t[0];e=t[1]/500+(n=(r+16)/116),i=n-t[2]/200;var a=Math.pow(n,3),o=Math.pow(e,3),s=Math.pow(i,3);return n=a>.008856?a:(n-16/116)/7.787,e=o>.008856?o:(e-16/116)/7.787,i=s>.008856?s:(i-16/116)/7.787,[e*=95.047,n*=100,i*=108.883]},r.lab.lch=function(t){var e,n=t[0],i=t[1],r=t[2];return(e=360*Math.atan2(r,i)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(i*i+r*r),e]},r.lch.lab=function(t){var e,n=t[0],i=t[1];return e=t[2]/360*2*Math.PI,[n,i*Math.cos(e),i*Math.sin(e)]},r.rgb.ansi16=function(t){var e=t[0],n=t[1],i=t[2],a=1 in arguments?arguments[1]:r.rgb.hsv(t)[2];if(0===(a=Math.round(a/50)))return 30;var o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===a&&(o+=60),o},r.hsv.ansi16=function(t){return r.rgb.ansi16(r.hsv.rgb(t),t[2])},r.rgb.ansi256=function(t){var e=t[0],n=t[1],i=t[2];return e===n&&n===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},r.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},r.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},r.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map((function(t){return t+t})).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},r.rgb.hcg=function(t){var e,n=t[0]/255,i=t[1]/255,r=t[2]/255,a=Math.max(Math.max(n,i),r),o=Math.min(Math.min(n,i),r),s=a-o;return e=s<=0?0:a===n?(i-r)/s%6:a===i?2+(r-n)/s:4+(n-i)/s+4,e/=6,[360*(e%=1),100*s,100*(s<1?o/(1-s):0)]},r.hsl.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=1,r=0;return(i=n<.5?2*e*n:2*e*(1-n))<1&&(r=(n-.5*i)/(1-i)),[t[0],100*i,100*r]},r.hsv.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=e*n,r=0;return i<1&&(r=(n-i)/(1-i)),[t[0],100*i,100*r]},r.hcg.rgb=function(t){var e=t[0]/360,n=t[1]/100,i=t[2]/100;if(0===n)return[255*i,255*i,255*i];var r,a=[0,0,0],o=e%1*6,s=o%1,l=1-s;switch(Math.floor(o)){case 0:a[0]=1,a[1]=s,a[2]=0;break;case 1:a[0]=l,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=s;break;case 3:a[0]=0,a[1]=l,a[2]=1;break;case 4:a[0]=s,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=l}return r=(1-n)*i,[255*(n*a[0]+r),255*(n*a[1]+r),255*(n*a[2]+r)]},r.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),i=0;return n>0&&(i=e/n),[t[0],100*i,100*n]},r.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,i=0;return n>0&&n<.5?i=e/(2*n):n>=.5&&n<1&&(i=e/(2*(1-n))),[t[0],100*i,100*n]},r.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},r.hwb.hcg=function(t){var e=t[1]/100,n=1-t[2]/100,i=n-e,r=0;return i<1&&(r=(n-i)/(1-i)),[t[0],100*i,100*r]},r.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},r.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},r.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},r.gray.hsl=r.gray.hsv=function(t){return[0,0,t[0]]},r.gray.hwb=function(t){return[0,100,t[0]]},r.gray.cmyk=function(t){return[0,0,0,t[0]]},r.gray.lab=function(t){return[t[0],0,0]},r.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}}));function i(t){var e=function(){for(var t={},e=Object.keys(n),i=e.length,r=0;r<i;r++)t[e[r]]={distance:-1,parent:null};return t}(),i=[t];for(e[t].distance=0;i.length;)for(var r=i.pop(),a=Object.keys(n[r]),o=a.length,s=0;s<o;s++){var l=a[s],u=e[l];-1===u.distance&&(u.distance=e[r].distance+1,u.parent=r,i.unshift(l))}return e}function r(t,e){return function(n){return e(t(n))}}function a(t,e){for(var i=[e[t].parent,t],a=n[e[t].parent][t],o=e[t].parent;e[o].parent;)i.unshift(e[o].parent),a=r(n[e[o].parent][o],a),o=e[o].parent;return a.conversion=i,a}n.rgb,n.hsl,n.hsv,n.hwb,n.cmyk,n.xyz,n.lab,n.lch,n.hex,n.keyword,n.ansi16,n.ansi256,n.hcg,n.apple,n.gray;var o={};Object.keys(n).forEach((function(t){o[t]={},Object.defineProperty(o[t],"channels",{value:n[t].channels}),Object.defineProperty(o[t],"labels",{value:n[t].labels});var e=function(t){for(var e=i(t),n={},r=Object.keys(e),o=r.length,s=0;s<o;s++){var l=r[s];null!==e[l].parent&&(n[l]=a(l,e))}return n}(t);Object.keys(e).forEach((function(n){var i=e[n];o[t][n]=function(t){var e=function(e){if(null==e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var i=n.length,r=0;r<i;r++)n[r]=Math.round(n[r]);return n};return"conversion"in t&&(e.conversion=t.conversion),e}(i),o[t][n].raw=function(t){var e=function(e){return null==e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(i)}))}));var s=o,l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},u={getRgba:c,getHsla:d,getRgb:function(t){var e=c(t);return e&&e.slice(0,3)},getHsl:function(t){var e=d(t);return e&&e.slice(0,3)},getHwb:h,getAlpha:function(t){var e=c(t);return e||(e=d(t))||(e=h(t))?e[3]:void 0},hexString:function(t,e){return e=void 0!==e&&3===t.length?e:t[3],"#"+v(t[0])+v(t[1])+v(t[2])+(e>=0&&e<1?v(Math.round(255*e)):"")},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?f(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:f,percentString:function(t,e){if(e<1||t[3]&&t[3]<1)return p(t,e);var n=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),r=Math.round(t[2]/255*100);return"rgb("+n+"%, "+i+"%, "+r+"%)"},percentaString:p,hslString:function(t,e){return e<1||t[3]&&t[3]<1?g(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:g,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return b[t.slice(0,3)]}};function c(t){if(t){var e=[0,0,0],n=1,i=t.match(/^#([a-fA-F0-9]{3,4})$/i),r="";if(i){r=(i=i[1])[3];for(var a=0;a<e.length;a++)e[a]=parseInt(i[a]+i[a],16);r&&(n=Math.round(parseInt(r+r,16)/255*100)/100)}else if(i=t.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(r=i[2],i=i[1],a=0;a<e.length;a++)e[a]=parseInt(i.slice(2*a,2*a+2),16);r&&(n=Math.round(parseInt(r,16)/255*100)/100)}else if(i=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=parseInt(i[a+1]);n=parseFloat(i[4])}else if(i=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=Math.round(2.55*parseFloat(i[a+1]));n=parseFloat(i[4])}else if(i=t.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(e=l[i[1]]))return}for(a=0;a<e.length;a++)e[a]=m(e[a],0,255);return n=n||0==n?m(n,0,1):1,e[3]=n,e}}function d(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[m(parseInt(e[1]),0,360),m(parseFloat(e[2]),0,100),m(parseFloat(e[3]),0,100),m(isNaN(n)?1:n,0,1)]}}}function h(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[m(parseInt(e[1]),0,360),m(parseFloat(e[2]),0,100),m(parseFloat(e[3]),0,100),m(isNaN(n)?1:n,0,1)]}}}function f(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function p(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function g(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function m(t,e,n){return Math.min(Math.max(e,t),n)}function v(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var b={};for(var y in l)b[l[y]]=y;var x=function t(e){return e instanceof t?e:this instanceof t?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(n=u.getRgba(e))?this.setValues("rgb",n):(n=u.getHsla(e))?this.setValues("hsl",n):(n=u.getHwb(e))&&this.setValues("hwb",n):"object"==typeof e&&(void 0!==(n=e).r||void 0!==n.red?this.setValues("rgb",n):void 0!==n.l||void 0!==n.lightness?this.setValues("hsl",n):void 0!==n.v||void 0!==n.value?this.setValues("hsv",n):void 0!==n.w||void 0!==n.whiteness?this.setValues("hwb",n):void 0===n.c&&void 0===n.cyan||this.setValues("cmyk",n)))):new t(e);var n};(x.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return u.hexString(this.values.rgb)},rgbString:function(){return u.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return u.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return u.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return u.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return u.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return u.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return u.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var i=t[n]/255;e[n]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=t,i=void 0===e?.5:e,r=2*i-1,a=this.alpha()-n.alpha(),o=((r*a==-1?r:(r+a)/(1+r*a))+1)/2,s=1-o;return this.rgb(o*this.red()+s*n.red(),o*this.green()+s*n.green(),o*this.blue()+s*n.blue()).alpha(this.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new x,i=this.values,r=n.values;for(var a in i)i.hasOwnProperty(a)&&(t=i[a],"[object Array]"===(e={}.toString.call(t))?r[a]=t.slice(0):"[object Number]"===e?r[a]=t:console.error("unexpected color value:",t));return n}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},x.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},x.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i<t.length;i++)n[t.charAt(i)]=e[t][i];return 1!==e.alpha&&(n.a=e.alpha),n},x.prototype.setValues=function(t,e){var n,i,r=this.values,a=this.spaces,o=this.maxes,l=1;if(this.valid=!0,"alpha"===t)l=e;else if(e.length)r[t]=e.slice(0,t.length),l=e[t.length];else if(void 0!==e[t.charAt(0)]){for(n=0;n<t.length;n++)r[t][n]=e[t.charAt(n)];l=e.a}else if(void 0!==e[a[t][0]]){var u=a[t];for(n=0;n<t.length;n++)r[t][n]=e[u[n]];l=e.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===l?r.alpha:l)),"alpha"===t)return!1;for(n=0;n<t.length;n++)i=Math.max(0,Math.min(o[t][n],r[t][n])),r[t][n]=Math.round(i);for(var c in a)c!==t&&(r[c]=s[t][c](r[t]));return!0},x.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},x.prototype.setChannel=function(t,e,n){var i=this.values[t];return void 0===n?i[e]:(n===i[e]||(i[e]=n,this.setValues(t,i)),this)},"undefined"!=typeof window&&(window.Color=x);var w,_=x,M={noop:function(){},uid:(w=0,function(){return w++}),isNullOrUndef:function(t){return null==t},isArray:function(t){if(Array.isArray&&Array.isArray(t))return!0;var e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},isFinite:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){return("number"==typeof t||t instanceof Number)&&isFinite(t)})),valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return M.valueOrDefault(M.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,i){var r,a,o;if(M.isArray(t))if(a=t.length,i)for(r=a-1;r>=0;r--)e.call(n,t[r],r);else for(r=0;r<a;r++)e.call(n,t[r],r);else if(M.isObject(t))for(a=(o=Object.keys(t)).length,r=0;r<a;r++)e.call(n,t[o[r]],o[r])},arrayEquals:function(t,e){var n,i,r,a;if(!t||!e||t.length!==e.length)return!1;for(n=0,i=t.length;n<i;++n)if(r=t[n],a=e[n],r instanceof Array&&a instanceof Array){if(!M.arrayEquals(r,a))return!1}else if(r!==a)return!1;return!0},clone:function(t){if(M.isArray(t))return t.map(M.clone);if(M.isObject(t)){for(var e={},n=Object.keys(t),i=n.length,r=0;r<i;++r)e[n[r]]=M.clone(t[n[r]]);return e}return t},_merger:function(t,e,n,i){var r=e[t],a=n[t];M.isObject(r)&&M.isObject(a)?M.merge(r,a,i):e[t]=M.clone(a)},_mergerIf:function(t,e,n){var i=e[t],r=n[t];M.isObject(i)&&M.isObject(r)?M.mergeIf(i,r):e.hasOwnProperty(t)||(e[t]=M.clone(r))},merge:function(t,e,n){var i,r,a,o,s,l=M.isArray(e)?e:[e],u=l.length;if(!M.isObject(t))return t;for(i=(n=n||{}).merger||M._merger,r=0;r<u;++r)if(e=l[r],M.isObject(e))for(s=0,o=(a=Object.keys(e)).length;s<o;++s)i(a[s],t,e,n);return t},mergeIf:function(t,e){return M.merge(t,e,{merger:M._mergerIf})},extend:Object.assign||function(t){return M.merge(t,[].slice.call(arguments,1),{merger:function(t,e,n){e[t]=n[t]}})},inherits:function(t){var e=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},i=function(){this.constructor=n};return i.prototype=e.prototype,n.prototype=new i,n.extend=M.inherits,t&&M.extend(n.prototype,t),n.__super__=e.prototype,n},_deprecated:function(t,e,n,i){void 0!==e&&console.warn(t+': "'+n+'" is deprecated. Please use "'+i+'" instead')}},k=M;M.callCallback=M.callback,M.indexOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},M.getValueOrDefault=M.valueOrDefault,M.getValueAtIndexOrDefault=M.valueAtIndexOrDefault;var S={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-S.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*S.easeInBounce(2*t):.5*S.easeOutBounce(2*t-1)+.5}},T={effects:S};k.easingEffects=S;var C=Math.PI,D=C/180,P=2*C,E=C/2,A=C/4,O=2*C/3,I={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,r,a){if(a){var o=Math.min(a,r/2,i/2),s=e+o,l=n+o,u=e+i-o,c=n+r-o;t.moveTo(e,l),s<u&&l<c?(t.arc(s,l,o,-C,-E),t.arc(u,l,o,-E,0),t.arc(u,c,o,0,E),t.arc(s,c,o,E,C)):s<u?(t.moveTo(s,n),t.arc(u,l,o,-E,E),t.arc(s,l,o,E,C+E)):l<c?(t.arc(s,l,o,-C,0),t.arc(s,c,o,0,C)):t.arc(s,l,o,-C,C),t.closePath(),t.moveTo(e,n)}else t.rect(e,n,i,r)},drawPoint:function(t,e,n,i,r,a){var o,s,l,u,c,d=(a||0)*D;if(e&&"object"==typeof e&&("[object HTMLImageElement]"===(o=e.toString())||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(i,r),t.rotate(d),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),void t.restore();if(!(isNaN(n)||n<=0)){switch(t.beginPath(),e){default:t.arc(i,r,n,0,P),t.closePath();break;case"triangle":t.moveTo(i+Math.sin(d)*n,r-Math.cos(d)*n),d+=O,t.lineTo(i+Math.sin(d)*n,r-Math.cos(d)*n),d+=O,t.lineTo(i+Math.sin(d)*n,r-Math.cos(d)*n),t.closePath();break;case"rectRounded":u=n-(c=.516*n),s=Math.cos(d+A)*u,l=Math.sin(d+A)*u,t.arc(i-s,r-l,c,d-C,d-E),t.arc(i+l,r-s,c,d-E,d),t.arc(i+s,r+l,c,d,d+E),t.arc(i-l,r+s,c,d+E,d+C),t.closePath();break;case"rect":if(!a){u=Math.SQRT1_2*n,t.rect(i-u,r-u,2*u,2*u);break}d+=A;case"rectRot":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+l,r-s),t.lineTo(i+s,r+l),t.lineTo(i-l,r+s),t.closePath();break;case"crossRot":d+=A;case"cross":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l),t.moveTo(i+l,r-s),t.lineTo(i-l,r+s);break;case"star":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l),t.moveTo(i+l,r-s),t.lineTo(i-l,r+s),d+=A,s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l),t.moveTo(i+l,r-s),t.lineTo(i-l,r+s);break;case"line":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l);break;case"dash":t.moveTo(i,r),t.lineTo(i+Math.cos(d)*n,r+Math.sin(d)*n)}t.fill(),t.stroke()}},_isPointInArea:function(t,e){return t.x>e.left-1e-6&&t.x<e.right+1e-6&&t.y>e.top-1e-6&&t.y<e.bottom+1e-6},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,i){var r=n.steppedLine;if(r){if("middle"===r){var a=(e.x+n.x)/2;t.lineTo(a,i?n.y:e.y),t.lineTo(a,i?e.y:n.y)}else"after"===r&&!i||"after"!==r&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}else n.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}},L=I;k.clear=I.clear,k.drawRoundedRectangle=function(t){t.beginPath(),I.roundedRect.apply(I,arguments)};var F={_set:function(t,e){return k.merge(this[t]||(this[t]={}),e)}};F._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var z=F,N=k.valueOrDefault,j={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,i,r;return k.isObject(t)?(e=+t.top||0,n=+t.right||0,i=+t.bottom||0,r=+t.left||0):e=n=i=r=+t||0,{top:e,right:n,bottom:i,left:r,height:e+i,width:r+n}},_parseFont:function(t){var e=z.global,n=N(t.fontSize,e.defaultFontSize),i={family:N(t.fontFamily,e.defaultFontFamily),lineHeight:k.options.toLineHeight(N(t.lineHeight,e.defaultLineHeight),n),size:n,style:N(t.fontStyle,e.defaultFontStyle),weight:null,string:""};return i.string=function(t){return!t||k.isNullOrUndef(t.size)||k.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(i),i},resolve:function(t,e,n,i){var r,a,o,s=!0;for(r=0,a=t.length;r<a;++r)if(void 0!==(o=t[r])&&(void 0!==e&&"function"==typeof o&&(o=o(e),s=!1),void 0!==n&&k.isArray(o)&&(o=o[n],s=!1),void 0!==o))return i&&!s&&(i.cacheable=!1),o}},R={_factorize:function(t){var e,n=[],i=Math.sqrt(t);for(e=1;e<i;e++)t%e==0&&(n.push(e),n.push(t/e));return i===(0|i)&&n.push(i),n.sort((function(t,e){return t-e})).pop(),n},log10:Math.log10||function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e}},B=R;k.log10=R.log10;var Y=k,W=T,V=L,H=j,G=B,U={getRtlAdapter:function(t,e,n){return t?function(t,e){return{x:function(n){return t+t+e-n},setWidth:function(t){e=t},textAlign:function(t){return"center"===t?t:"right"===t?"left":"right"},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}}(e,n):{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}}},overrideTextDirection:function(t,e){var n,i;"ltr"!==e&&"rtl"!==e||(i=[(n=t.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=i)},restoreTextDirection:function(t){var e=t.prevTextDirection;void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}};Y.easing=W,Y.canvas=V,Y.options=H,Y.math=G,Y.rtl=U;var q=function(t){Y.extend(this,t),this.initialize.apply(this,arguments)};Y.extend(q.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=Y.extend({},t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,i=e._start,r=e._view;return n&&1!==t?(r||(r=e._view={}),i||(i=e._start={}),function(t,e,n,i){var r,a,o,s,l,u,c,d,h,f=Object.keys(n);for(r=0,a=f.length;r<a;++r)if(u=n[o=f[r]],e.hasOwnProperty(o)||(e[o]=u),(s=e[o])!==u&&"_"!==o[0]){if(t.hasOwnProperty(o)||(t[o]=s),(c=typeof u)==typeof(l=t[o]))if("string"===c){if((d=_(l)).valid&&(h=_(u)).valid){e[o]=h.mix(d,i).rgbString();continue}}else if(Y.isFinite(l)&&Y.isFinite(u)){e[o]=l+(u-l)*i;continue}e[o]=u}}(i,r,n,t),e):(e._view=Y.extend({},n),e._start=null,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return Y.isNumber(this._model.x)&&Y.isNumber(this._model.y)}}),q.extend=Y.inherits;var X=q,K=X.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),Z=K;Object.defineProperty(K.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(K.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),z._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:Y.noop,onComplete:Y.noop}});var Q={animations:[],request:null,addAnimation:function(t,e,n,i){var r,a,o=this.animations;for(e.chart=t,e.startTime=Date.now(),e.duration=n,i||(t.animating=!0),r=0,a=o.length;r<a;++r)if(o[r].chart===t)return void(o[r]=e);o.push(e),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=Y.findIndex(this.animations,(function(e){return e.chart===t}));-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=Y.requestAnimFrame.call(window,(function(){t.request=null,t.startDigest()})))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var t,e,n,i,r=this.animations,a=0;a<r.length;)e=(t=r[a]).chart,n=t.numSteps,i=Math.floor((Date.now()-t.startTime)/t.duration*n)+1,t.currentStep=Math.min(i,n),Y.callback(t.render,[e,t],e),Y.callback(t.onAnimationProgress,[t],e),t.currentStep>=n?(Y.callback(t.onAnimationComplete,[t],e),e.animating=!1,r.splice(a,1)):++a}},J=Y.options.resolve,$=["push","pop","shift","splice","unshift"];function tt(t,e){var n=t._chartjs;if(n){var i=n.listeners,r=i.indexOf(e);-1!==r&&i.splice(r,1),i.length>0||($.forEach((function(e){delete t[e]})),delete t._chartjs)}}var et=function(t,e){this.initialize(t,e)};Y.extend(et.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.chart,n=e.scales,i=this.getDataset(),r=e.options.scales;null!==t.xAxisID&&t.xAxisID in n&&!i.xAxisID||(t.xAxisID=i.xAxisID||r.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in n&&!i.yAxisID||(t.yAxisID=i.yAxisID||r.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&tt(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,n=this.getMeta(),i=this.getDataset().data||[],r=n.data;for(t=0,e=i.length;t<e;++t)r[t]=r[t]||this.createMetaData(t);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t,e,n=this,i=n.getDataset(),r=i.data||(i.data=[]);n._data!==r&&(n._data&&tt(n._data,n),r&&Object.isExtensible(r)&&(e=n,(t=r)._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),$.forEach((function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),i=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),r=i.apply(this,e);return Y.each(t._chartjs.listeners,(function(t){"function"==typeof t[n]&&t[n].apply(t,e)})),r}})})))),n._data=r),n.resyncElements()},_configure:function(){this._config=Y.merge({},[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(t,e,n){"_meta"!==t&&"data"!==t&&Y._merger(t,e,n)}})},_update:function(t){this._configure(),this._cachedDataOpts=null,this.update(t)},update:Y.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],i=n.length,r=0;r<i;++r)n[r].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,i=0;for(t.dataset&&t.dataset.draw();i<n;++i)e[i].draw()},getStyle:function(t){var e,n=this.getMeta(),i=n.dataset;return this._configure(),i&&void 0===t?e=this._resolveDatasetElementOptions(i||{}):(t=t||0,e=this._resolveDataElementOptions(n.data[t]||{},t)),!1!==e.fill&&null!==e.fill||(e.backgroundColor=e.borderColor),e},_resolveDatasetElementOptions:function(t,e){var n,i,r,a,o=this,s=o.chart,l=o._config,u=t.custom||{},c=s.options.elements[o.datasetElementType.prototype._type]||{},d=o._datasetElementOptions,h={},f={chart:s,dataset:o.getDataset(),datasetIndex:o.index,hover:e};for(n=0,i=d.length;n<i;++n)r=d[n],a=e?"hover"+r.charAt(0).toUpperCase()+r.slice(1):r,h[r]=J([u[a],l[a],c[a]],f);return h},_resolveDataElementOptions:function(t,e){var n=this,i=t&&t.custom,r=n._cachedDataOpts;if(r&&!i)return r;var a,o,s,l,u=n.chart,c=n._config,d=u.options.elements[n.dataElementType.prototype._type]||{},h=n._dataElementOptions,f={},p={chart:u,dataIndex:e,dataset:n.getDataset(),datasetIndex:n.index},g={cacheable:!i};if(i=i||{},Y.isArray(h))for(o=0,s=h.length;o<s;++o)f[l=h[o]]=J([i[l],c[l],d[l]],p,e,g);else for(o=0,s=(a=Object.keys(h)).length;o<s;++o)f[l=a[o]]=J([i[l],c[h[l]],c[l],d[l]],p,e,g);return g.cacheable&&(n._cachedDataOpts=Object.freeze(f)),f},removeHoverStyle:function(t){Y.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},r=t._model,a=Y.getHoverColor;t.$previousStyle={backgroundColor:r.backgroundColor,borderColor:r.borderColor,borderWidth:r.borderWidth},r.backgroundColor=J([i.hoverBackgroundColor,e.hoverBackgroundColor,a(r.backgroundColor)],void 0,n),r.borderColor=J([i.hoverBorderColor,e.hoverBorderColor,a(r.borderColor)],void 0,n),r.borderWidth=J([i.hoverBorderWidth,e.hoverBorderWidth,r.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var t=this.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,e,n,i,r,a,o=this.getMeta().dataset,s={};if(o){for(a=o._model,r=this._resolveDatasetElementOptions(o,!0),t=0,e=(i=Object.keys(r)).length;t<e;++t)s[n=i[t]]=a[n],a[n]=r[n];o.$previousStyle=s}},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,n=t.data.length,i=e.length;i<n?t.data.splice(i,n-i):i>n&&this.insertElements(n,i-n)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){var t=arguments.length;this.insertElements(this.getDataset().data.length-t,t)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),et.extend=Y.inherits;var nt=et,it=2*Math.PI;function rt(t,e){var n=e.startAngle,i=e.endAngle,r=e.pixelMargin,a=r/e.outerRadius,o=e.x,s=e.y;t.beginPath(),t.arc(o,s,e.outerRadius,n-a,i+a),e.innerRadius>r?(a=r/e.innerRadius,t.arc(o,s,e.innerRadius-r,i+a,n-a,!0)):t.arc(o,s,r,i+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}function at(t,e,n){var i="inner"===e.borderAlign;i?(t.lineWidth=2*e.borderWidth,t.lineJoin="round"):(t.lineWidth=e.borderWidth,t.lineJoin="bevel"),n.fullCircles&&function(t,e,n,i){var r,a=n.endAngle;for(i&&(n.endAngle=n.startAngle+it,rt(t,n),n.endAngle=a,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=it,n.fullCircles--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+it,n.startAngle,!0),r=0;r<n.fullCircles;++r)t.stroke();for(t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.startAngle+it),r=0;r<n.fullCircles;++r)t.stroke()}(t,e,n,i),i&&rt(t,n),t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.endAngle),t.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),t.closePath(),t.stroke()}z._set("global",{elements:{arc:{backgroundColor:z.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var ot=X.extend({_type:"arc",inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var n=this._view;if(n){for(var i=Y.getAngleFromPoint(n,{x:t,y:e}),r=i.angle,a=i.distance,o=n.startAngle,s=n.endAngle;s<o;)s+=it;for(;r>s;)r-=it;for(;r<o;)r+=it;var l=r>=o&&r<=s,u=a>=n.innerRadius&&a<=n.outerRadius;return l&&u}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,e=this._chart.ctx,n=this._view,i="inner"===n.borderAlign?.33:0,r={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/it)};if(e.save(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,r.fullCircles){for(r.endAngle=r.startAngle+it,e.beginPath(),e.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),e.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),e.closePath(),t=0;t<r.fullCircles;++t)e.fill();r.endAngle=r.startAngle+n.circumference%it}e.beginPath(),e.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),e.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),e.closePath(),e.fill(),n.borderWidth&&at(e,n,r),e.restore()}}),st=Y.valueOrDefault,lt=z.global.defaultColor;z._set("global",{elements:{line:{tension:.4,backgroundColor:lt,borderWidth:3,borderColor:lt,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var ut=X.extend({_type:"line",draw:function(){var t,e,n,i=this,r=i._view,a=i._chart.ctx,o=r.spanGaps,s=i._children.slice(),l=z.global,u=l.elements.line,c=-1,d=i._loop;if(s.length){if(i._loop){for(t=0;t<s.length;++t)if(e=Y.previousItem(s,t),!s[t]._view.skip&&e._view.skip){s=s.slice(t).concat(s.slice(0,t)),d=o;break}d&&s.push(s[0])}for(a.save(),a.lineCap=r.borderCapStyle||u.borderCapStyle,a.setLineDash&&a.setLineDash(r.borderDash||u.borderDash),a.lineDashOffset=st(r.borderDashOffset,u.borderDashOffset),a.lineJoin=r.borderJoinStyle||u.borderJoinStyle,a.lineWidth=st(r.borderWidth,u.borderWidth),a.strokeStyle=r.borderColor||l.defaultColor,a.beginPath(),(n=s[0]._view).skip||(a.moveTo(n.x,n.y),c=0),t=1;t<s.length;++t)n=s[t]._view,e=-1===c?Y.previousItem(s,t):s[c],n.skip||(c!==t-1&&!o||-1===c?a.moveTo(n.x,n.y):Y.canvas.lineTo(a,e._view,n),c=t);d&&a.closePath(),a.stroke(),a.restore()}}}),ct=Y.valueOrDefault,dt=z.global.defaultColor;function ht(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}z._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:dt,borderColor:dt,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var ft=X.extend({_type:"point",inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:ht,inXRange:ht,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,n=this._chart.ctx,i=e.pointStyle,r=e.rotation,a=e.radius,o=e.x,s=e.y,l=z.global,u=l.defaultColor;e.skip||(void 0===t||Y.canvas._isPointInArea(e,t))&&(n.strokeStyle=e.borderColor||u,n.lineWidth=ct(e.borderWidth,l.elements.point.borderWidth),n.fillStyle=e.backgroundColor||u,Y.canvas.drawPoint(n,i,a,o,s,r))}}),pt=z.global.defaultColor;function gt(t){return t&&void 0!==t.width}function mt(t){var e,n,i,r,a;return gt(t)?(a=t.width/2,e=t.x-a,n=t.x+a,i=Math.min(t.y,t.base),r=Math.max(t.y,t.base)):(a=t.height/2,e=Math.min(t.x,t.base),n=Math.max(t.x,t.base),i=t.y-a,r=t.y+a),{left:e,top:i,right:n,bottom:r}}function vt(t,e,n){return t===e?n:t===n?e:t}function bt(t,e,n){var i,r,a,o,s=t.borderWidth,l=function(t){var e=t.borderSkipped,n={};return e?(t.horizontal?t.base>t.x&&(e=vt(e,"left","right")):t.base<t.y&&(e=vt(e,"bottom","top")),n[e]=!0,n):n}(t);return Y.isObject(s)?(i=+s.top||0,r=+s.right||0,a=+s.bottom||0,o=+s.left||0):i=r=a=o=+s||0,{t:l.top||i<0?0:i>n?n:i,r:l.right||r<0?0:r>e?e:r,b:l.bottom||a<0?0:a>n?n:a,l:l.left||o<0?0:o>e?e:o}}function yt(t,e,n){var i=null===e,r=null===n,a=!(!t||i&&r)&&mt(t);return a&&(i||e>=a.left&&e<=a.right)&&(r||n>=a.top&&n<=a.bottom)}z._set("global",{elements:{rectangle:{backgroundColor:pt,borderColor:pt,borderSkipped:"bottom",borderWidth:0}}});var xt=X.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,n=function(t){var e=mt(t),n=e.right-e.left,i=e.bottom-e.top,r=bt(t,n/2,i/2);return{outer:{x:e.left,y:e.top,w:n,h:i},inner:{x:e.left+r.l,y:e.top+r.t,w:n-r.l-r.r,h:i-r.t-r.b}}}(e),i=n.outer,r=n.inner;t.fillStyle=e.backgroundColor,t.fillRect(i.x,i.y,i.w,i.h),i.w===r.w&&i.h===r.h||(t.save(),t.beginPath(),t.rect(i.x,i.y,i.w,i.h),t.clip(),t.fillStyle=e.borderColor,t.rect(r.x,r.y,r.w,r.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return yt(this._view,t,e)},inLabelRange:function(t,e){var n=this._view;return gt(n)?yt(n,t,null):yt(n,null,e)},inXRange:function(t){return yt(this._view,t,null)},inYRange:function(t){return yt(this._view,null,t)},getCenterPoint:function(){var t,e,n=this._view;return gt(n)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return gt(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),wt={},_t=ot,Mt=ut,kt=ft,St=xt;wt.Arc=_t,wt.Line=Mt,wt.Point=kt,wt.Rectangle=St;var Tt=Y._deprecated,Ct=Y.valueOrDefault;function Dt(t,e,n){var i,r,a=n.barThickness,o=e.stackCount,s=e.pixels[t],l=Y.isNullOrUndef(a)?function(t,e){var n,i,r,a,o=t._length;for(r=1,a=e.length;r<a;++r)o=Math.min(o,Math.abs(e[r]-e[r-1]));for(r=0,a=t.getTicks().length;r<a;++r)i=t.getPixelForTick(r),o=r>0?Math.min(o,Math.abs(i-n)):o,n=i;return o}(e.scale,e.pixels):-1;return Y.isNullOrUndef(a)?(i=l*n.categoryPercentage,r=n.barPercentage):(i=a*o,r=1),{chunk:i/o,ratio:r,start:s-i/2}}z._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),z._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Pt=nt.extend({dataElementType:wt.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,e,n=this;nt.prototype.initialize.apply(n,arguments),(t=n.getMeta()).stack=n.getDataset().stack,t.bar=!0,e=n._getIndexScale().options,Tt("bar chart",e.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Tt("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Tt("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Tt("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Tt("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,n=i.length;e<n;++e)this.updateElement(i[e],e,t)},updateElement:function(t,e,n){var i=this,r=i.getMeta(),a=i.getDataset(),o=i._resolveDataElementOptions(t,e);t._xScale=i.getScaleForId(r.xAxisID),t._yScale=i.getScaleForId(r.yAxisID),t._datasetIndex=i.index,t._index=e,t._model={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderSkipped:o.borderSkipped,borderWidth:o.borderWidth,datasetLabel:a.label,label:i.chart.data.labels[e]},Y.isArray(a.data[e])&&(t._model.borderSkipped=null),i._updateElementGeometry(t,e,n,o),t.pivot()},_updateElementGeometry:function(t,e,n,i){var r=this,a=t._model,o=r._getValueScale(),s=o.getBasePixel(),l=o.isHorizontal(),u=r._ruler||r.getRuler(),c=r.calculateBarValuePixels(r.index,e,i),d=r.calculateBarIndexPixels(r.index,e,u,i);a.horizontal=l,a.base=n?s:c.base,a.x=l?n?s:c.head:d.center,a.y=l?d.center:n?s:c.head,a.height=l?d.size:void 0,a.width=l?void 0:d.size},_getStacks:function(t){var e,n,i=this._getIndexScale(),r=i._getMatchingVisibleMetas(this._type),a=i.options.stacked,o=r.length,s=[];for(e=0;e<o&&(n=r[e],(!1===a||-1===s.indexOf(n.stack)||void 0===a&&void 0===n.stack)&&s.push(n.stack),n.index!==t);++e);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var n=this._getStacks(t),i=void 0!==e?n.indexOf(e):-1;return-1===i?n.length-1:i},getRuler:function(){var t,e,n=this._getIndexScale(),i=[];for(t=0,e=this.getMeta().data.length;t<e;++t)i.push(n.getPixelForValue(null,t,this.index));return{pixels:i,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(t,e,n){var i,r,a,o,s,l,u,c=this.chart,d=this._getValueScale(),h=d.isHorizontal(),f=c.data.datasets,p=d._getMatchingVisibleMetas(this._type),g=d._parseValue(f[t].data[e]),m=n.minBarLength,v=d.options.stacked,b=this.getMeta().stack,y=void 0===g.start?0:g.max>=0&&g.min>=0?g.min:g.max,x=void 0===g.start?g.end:g.max>=0&&g.min>=0?g.max-g.min:g.min-g.max,w=p.length;if(v||void 0===v&&void 0!==b)for(i=0;i<w&&(r=p[i]).index!==t;++i)r.stack===b&&(a=void 0===(u=d._parseValue(f[r.index].data[e])).start?u.end:u.min>=0&&u.max>=0?u.max:u.min,(g.min<0&&a<0||g.max>=0&&a>0)&&(y+=a));return o=d.getPixelForValue(y),l=(s=d.getPixelForValue(y+x))-o,void 0!==m&&Math.abs(l)<m&&(l=m,s=x>=0&&!h||x<0&&h?o-m:o+m),{size:l,base:o,head:s,center:s+l/2}},calculateBarIndexPixels:function(t,e,n,i){var r="flex"===i.barThickness?function(t,e,n){var i,r=e.pixels,a=r[t],o=t>0?r[t-1]:null,s=t<r.length-1?r[t+1]:null,l=n.categoryPercentage;return null===o&&(o=a-(null===s?e.end-e.start:s-a)),null===s&&(s=a+a-o),i=a-(a-Math.min(o,s))/2*l,{chunk:Math.abs(s-o)/2*l/e.stackCount,ratio:n.barPercentage,start:i}}(e,n,i):Dt(e,n,i),a=this.getStackIndex(t,this.getMeta().stack),o=r.start+r.chunk*a+r.chunk/2,s=Math.min(Ct(i.maxBarThickness,1/0),r.chunk*r.ratio);return{base:o-s/2,head:o+s/2,center:o,size:s}},draw:function(){var t=this.chart,e=this._getValueScale(),n=this.getMeta().data,i=this.getDataset(),r=n.length,a=0;for(Y.canvas.clipArea(t.ctx,t.chartArea);a<r;++a){var o=e._parseValue(i.data[a]);isNaN(o.min)||isNaN(o.max)||n[a].draw()}Y.canvas.unclipArea(t.ctx)},_resolveDataElementOptions:function(){var t=this,e=Y.extend({},nt.prototype._resolveDataElementOptions.apply(t,arguments)),n=t._getIndexScale().options,i=t._getValueScale().options;return e.barPercentage=Ct(n.barPercentage,e.barPercentage),e.barThickness=Ct(n.barThickness,e.barThickness),e.categoryPercentage=Ct(n.categoryPercentage,e.categoryPercentage),e.maxBarThickness=Ct(n.maxBarThickness,e.maxBarThickness),e.minBarLength=Ct(i.minBarLength,e.minBarLength),e}}),Et=Y.valueOrDefault,At=Y.options.resolve;z._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.datasets[t.datasetIndex].label||"",i=e.datasets[t.datasetIndex].data[t.index];return n+": ("+t.xLabel+", "+t.yLabel+", "+i.r+")"}}}});var Ot=nt.extend({dataElementType:wt.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(t){var e=this,n=e.getMeta().data;Y.each(n,(function(n,i){e.updateElement(n,i,t)}))},updateElement:function(t,e,n){var i=this,r=i.getMeta(),a=t.custom||{},o=i.getScaleForId(r.xAxisID),s=i.getScaleForId(r.yAxisID),l=i._resolveDataElementOptions(t,e),u=i.getDataset().data[e],c=i.index,d=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof u?u:NaN,e,c),h=n?s.getBasePixel():s.getPixelForValue(u,e,c);t._xScale=o,t._yScale=s,t._options=l,t._datasetIndex=c,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:n?0:l.radius,skip:a.skip||isNaN(d)||isNaN(h),x:d,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options,i=Y.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Et(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=Et(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=Et(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(t,e){var n=this,i=n.chart,r=n.getDataset(),a=t.custom||{},o=r.data[e]||{},s=nt.prototype._resolveDataElementOptions.apply(n,arguments),l={chart:i,dataIndex:e,dataset:r,datasetIndex:n.index};return n._cachedDataOpts===s&&(s=Y.extend({},s)),s.radius=At([a.radius,o.r,n._config.radius,i.options.elements.point.radius],l,e),s}}),It=Y.valueOrDefault,Lt=Math.PI,Ft=2*Lt,zt=Lt/2;z._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e,n,i,r=document.createElement("ul"),a=t.data,o=a.datasets,s=a.labels;if(r.setAttribute("class",t.id+"-legend"),o.length)for(e=0,n=o[0].data.length;e<n;++e)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[e],s[e]&&i.appendChild(document.createTextNode(s[e]));return r.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,i){var r=t.getDatasetMeta(0),a=r.controller.getStyle(i);return{text:n,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,hidden:isNaN(e.datasets[0].data[i])||r.data[i].hidden,index:i}})):[]}},onClick:function(t,e){var n,i,r,a=e.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(r=o.getDatasetMeta(n)).data[a]&&(r.data[a].hidden=!r.data[a].hidden);o.update()}},cutoutPercentage:50,rotation:-zt,circumference:Ft,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.labels[t.index],i=": "+e.datasets[t.datasetIndex].data[t.index];return Y.isArray(n)?(n=n.slice())[0]+=i:n+=i,n}}}});var Nt=nt.extend({dataElementType:wt.Arc,linkScales:Y.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var e,n,i,r,a=this,o=a.chart,s=o.chartArea,l=o.options,u=1,c=1,d=0,h=0,f=a.getMeta(),p=f.data,g=l.cutoutPercentage/100||0,m=l.circumference,v=a._getRingWeight(a.index);if(m<Ft){var b=l.rotation%Ft,y=(b+=b>=Lt?-Ft:b<-Lt?Ft:0)+m,x=Math.cos(b),w=Math.sin(b),_=Math.cos(y),M=Math.sin(y),k=b<=0&&y>=0||y>=Ft,S=b<=zt&&y>=zt||y>=Ft+zt,T=b<=-zt&&y>=-zt||y>=Lt+zt,C=b===-Lt||y>=Lt?-1:Math.min(x,x*g,_,_*g),D=T?-1:Math.min(w,w*g,M,M*g),P=k?1:Math.max(x,x*g,_,_*g),E=S?1:Math.max(w,w*g,M,M*g);u=(P-C)/2,c=(E-D)/2,d=-(P+C)/2,h=-(E+D)/2}for(i=0,r=p.length;i<r;++i)p[i]._options=a._resolveDataElementOptions(p[i],i);for(o.borderWidth=a.getMaxBorderWidth(),e=(s.right-s.left-o.borderWidth)/u,n=(s.bottom-s.top-o.borderWidth)/c,o.outerRadius=Math.max(Math.min(e,n)/2,0),o.innerRadius=Math.max(o.outerRadius*g,0),o.radiusLength=(o.outerRadius-o.innerRadius)/(a._getVisibleDatasetWeightTotal()||1),o.offsetX=d*o.outerRadius,o.offsetY=h*o.outerRadius,f.total=a.calculateTotal(),a.outerRadius=o.outerRadius-o.radiusLength*a._getRingWeightOffset(a.index),a.innerRadius=Math.max(a.outerRadius-o.radiusLength*v,0),i=0,r=p.length;i<r;++i)a.updateElement(p[i],i,t)},updateElement:function(t,e,n){var i=this,r=i.chart,a=r.chartArea,o=r.options,s=o.animation,l=(a.left+a.right)/2,u=(a.top+a.bottom)/2,c=o.rotation,d=o.rotation,h=i.getDataset(),f=n&&s.animateRotate||t.hidden?0:i.calculateCircumference(h.data[e])*(o.circumference/Ft),p=n&&s.animateScale?0:i.innerRadius,g=n&&s.animateScale?0:i.outerRadius,m=t._options||{};Y.extend(t,{_datasetIndex:i.index,_index:e,_model:{backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,borderAlign:m.borderAlign,x:l+r.offsetX,y:u+r.offsetY,startAngle:c,endAngle:d,circumference:f,outerRadius:g,innerRadius:p,label:Y.valueAtIndexOrDefault(h.label,e,r.data.labels[e])}});var v=t._model;n&&s.animateRotate||(v.startAngle=0===e?o.rotation:i.getMeta().data[e-1]._model.endAngle,v.endAngle=v.startAngle+v.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),n=this.getMeta(),i=0;return Y.each(n.data,(function(n,r){t=e.data[r],isNaN(t)||n.hidden||(i+=Math.abs(t))})),i},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?Ft*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,i,r,a,o,s,l,u=0,c=this.chart;if(!t)for(e=0,n=c.data.datasets.length;e<n;++e)if(c.isDatasetVisible(e)){t=(i=c.getDatasetMeta(e)).data,e!==this.index&&(a=i.controller);break}if(!t)return 0;for(e=0,n=t.length;e<n;++e)r=t[e],a?(a._configure(),o=a._resolveDataElementOptions(r,e)):o=r._options,"inner"!==o.borderAlign&&(s=o.borderWidth,u=(l=o.hoverBorderWidth)>(u=s>u?s:u)?l:u);return u},setHoverStyle:function(t){var e=t._model,n=t._options,i=Y.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=It(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=It(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=It(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(e+=this._getRingWeight(n));return e},_getRingWeight:function(t){return Math.max(It(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});z._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),z._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var jt=Pt.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),Rt=Y.valueOrDefault,Bt=Y.options.resolve,Yt=Y.canvas._isPointInArea;function Wt(t,e){var n=t&&t.options.ticks||{},i=n.reverse,r=void 0===n.min?e:0,a=void 0===n.max?e:0;return{start:i?a:r,end:i?r:a}}function Vt(t,e,n){var i=n/2,r=Wt(t,i),a=Wt(e,i);return{top:a.end,right:r.end,bottom:a.start,left:r.start}}function Ht(t){var e,n,i,r;return Y.isObject(t)?(e=t.top,n=t.right,i=t.bottom,r=t.left):e=n=i=r=t,{top:e,right:n,bottom:i,left:r}}z._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Gt=nt.extend({datasetElementType:wt.Line,dataElementType:wt.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(t){var e,n,i=this,r=i.getMeta(),a=r.dataset,o=r.data||[],s=i.chart.options,l=i._config,u=i._showLine=Rt(l.showLine,s.showLines);for(i._xScale=i.getScaleForId(r.xAxisID),i._yScale=i.getScaleForId(r.yAxisID),u&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),a._scale=i._yScale,a._datasetIndex=i.index,a._children=o,a._model=i._resolveDatasetElementOptions(a),a.pivot()),e=0,n=o.length;e<n;++e)i.updateElement(o[e],e,t);for(u&&0!==a._model.tension&&i.updateBezierControlPoints(),e=0,n=o.length;e<n;++e)o[e].pivot()},updateElement:function(t,e,n){var i,r,a=this,o=a.getMeta(),s=t.custom||{},l=a.getDataset(),u=a.index,c=l.data[e],d=a._xScale,h=a._yScale,f=o.dataset._model,p=a._resolveDataElementOptions(t,e);i=d.getPixelForValue("object"==typeof c?c:NaN,e,u),r=n?h.getBasePixel():a.calculatePointY(c,e,u),t._xScale=d,t._yScale=h,t._options=p,t._datasetIndex=u,t._index=e,t._model={x:i,y:r,skip:s.skip||isNaN(i)||isNaN(r),radius:p.radius,pointStyle:p.pointStyle,rotation:p.rotation,backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,tension:Rt(s.tension,f?f.tension:0),steppedLine:!!f&&f.steppedLine,hitRadius:p.hitRadius}},_resolveDatasetElementOptions:function(t){var e=this,n=e._config,i=t.custom||{},r=e.chart.options,a=r.elements.line,o=nt.prototype._resolveDatasetElementOptions.apply(e,arguments);return o.spanGaps=Rt(n.spanGaps,r.spanGaps),o.tension=Rt(n.lineTension,a.tension),o.steppedLine=Bt([i.steppedLine,n.steppedLine,a.stepped]),o.clip=Ht(Rt(n.clip,Vt(e._xScale,e._yScale,o.borderWidth))),o},calculatePointY:function(t,e,n){var i,r,a,o,s,l,u,c=this.chart,d=this._yScale,h=0,f=0;if(d.options.stacked){for(s=+d.getRightValue(t),u=(l=c._getSortedVisibleDatasetMetas()).length,i=0;i<u&&(a=l[i]).index!==n;++i)r=c.data.datasets[a.index],"line"===a.type&&a.yAxisID===d.id&&((o=+d.getRightValue(r.data[e]))<0?f+=o||0:h+=o||0);return s<0?d.getPixelForValue(f+s):d.getPixelForValue(h+s)}return d.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,n,i,r=this.chart,a=this.getMeta(),o=a.dataset._model,s=r.chartArea,l=a.data||[];function u(t,e,n){return Math.max(Math.min(t,n),e)}if(o.spanGaps&&(l=l.filter((function(t){return!t._model.skip}))),"monotone"===o.cubicInterpolationMode)Y.splineCurveMonotone(l);else for(t=0,e=l.length;t<e;++t)n=l[t]._model,i=Y.splineCurve(Y.previousItem(l,t)._model,n,Y.nextItem(l,t)._model,o.tension),n.controlPointPreviousX=i.previous.x,n.controlPointPreviousY=i.previous.y,n.controlPointNextX=i.next.x,n.controlPointNextY=i.next.y;if(r.options.elements.line.capBezierPoints)for(t=0,e=l.length;t<e;++t)n=l[t]._model,Yt(n,s)&&(t>0&&Yt(l[t-1]._model,s)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=u(n.controlPointPreviousY,s.top,s.bottom)),t<l.length-1&&Yt(l[t+1]._model,s)&&(n.controlPointNextX=u(n.controlPointNextX,s.left,s.right),n.controlPointNextY=u(n.controlPointNextY,s.top,s.bottom)))},draw:function(){var t,e=this.chart,n=this.getMeta(),i=n.data||[],r=e.chartArea,a=e.canvas,o=0,s=i.length;for(this._showLine&&(t=n.dataset._model.clip,Y.canvas.clipArea(e.ctx,{left:!1===t.left?0:r.left-t.left,right:!1===t.right?a.width:r.right+t.right,top:!1===t.top?0:r.top-t.top,bottom:!1===t.bottom?a.height:r.bottom+t.bottom}),n.dataset.draw(),Y.canvas.unclipArea(e.ctx));o<s;++o)i[o].draw(r)},setHoverStyle:function(t){var e=t._model,n=t._options,i=Y.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Rt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=Rt(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=Rt(n.hoverBorderWidth,n.borderWidth),e.radius=Rt(n.hoverRadius,n.radius)}}),Ut=Y.options.resolve;z._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e,n,i,r=document.createElement("ul"),a=t.data,o=a.datasets,s=a.labels;if(r.setAttribute("class",t.id+"-legend"),o.length)for(e=0,n=o[0].data.length;e<n;++e)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[e],s[e]&&i.appendChild(document.createTextNode(s[e]));return r.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,i){var r=t.getDatasetMeta(0),a=r.controller.getStyle(i);return{text:n,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,hidden:isNaN(e.datasets[0].data[i])||r.data[i].hidden,index:i}})):[]}},onClick:function(t,e){var n,i,r,a=e.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(r=o.getDatasetMeta(n)).data[a].hidden=!r.data[a].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}});var qt=nt.extend({dataElementType:wt.Arc,linkScales:Y.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,i,r=this,a=r.getDataset(),o=r.getMeta(),s=r.chart.options.startAngle||0,l=r._starts=[],u=r._angles=[],c=o.data;for(r._updateRadius(),o.count=r.countVisibleElements(),e=0,n=a.data.length;e<n;e++)l[e]=s,i=r._computeAngle(e),u[e]=i,s+=i;for(e=0,n=c.length;e<n;++e)c[e]._options=r._resolveDataElementOptions(c[e],e),r.updateElement(c[e],e,t)},_updateRadius:function(){var t=this,e=t.chart,n=e.chartArea,i=e.options,r=Math.min(n.right-n.left,n.bottom-n.top);e.outerRadius=Math.max(r/2,0),e.innerRadius=Math.max(i.cutoutPercentage?e.outerRadius/100*i.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),t.outerRadius=e.outerRadius-e.radiusLength*t.index,t.innerRadius=t.outerRadius-e.radiusLength},updateElement:function(t,e,n){var i=this,r=i.chart,a=i.getDataset(),o=r.options,s=o.animation,l=r.scale,u=r.data.labels,c=l.xCenter,d=l.yCenter,h=o.startAngle,f=t.hidden?0:l.getDistanceFromCenterForValue(a.data[e]),p=i._starts[e],g=p+(t.hidden?0:i._angles[e]),m=s.animateScale?0:l.getDistanceFromCenterForValue(a.data[e]),v=t._options||{};Y.extend(t,{_datasetIndex:i.index,_index:e,_scale:l,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:c,y:d,innerRadius:0,outerRadius:n?m:f,startAngle:n&&s.animateRotate?h:p,endAngle:n&&s.animateRotate?h:g,label:Y.valueAtIndexOrDefault(u,e,u[e])}}),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),n=0;return Y.each(e.data,(function(e,i){isNaN(t.data[i])||e.hidden||n++})),n},setHoverStyle:function(t){var e=t._model,n=t._options,i=Y.getHoverColor,r=Y.valueOrDefault;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=r(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=r(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=r(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(t){var e=this,n=this.getMeta().count,i=e.getDataset(),r=e.getMeta();if(isNaN(i.data[t])||r.data[t].hidden)return 0;var a={chart:e.chart,dataIndex:t,dataset:i,datasetIndex:e.index};return Ut([e.chart.options.elements.arc.angle,2*Math.PI/n],a,t)}});z._set("pie",Y.clone(z.doughnut)),z._set("pie",{cutoutPercentage:0});var Xt=Nt,Kt=Y.valueOrDefault;z._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Zt=nt.extend({datasetElementType:wt.Line,dataElementType:wt.Point,linkScales:Y.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,i=this,r=i.getMeta(),a=r.dataset,o=r.data||[],s=i.chart.scale,l=i._config;for(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),a._scale=s,a._datasetIndex=i.index,a._children=o,a._loop=!0,a._model=i._resolveDatasetElementOptions(a),a.pivot(),e=0,n=o.length;e<n;++e)i.updateElement(o[e],e,t);for(i.updateBezierControlPoints(),e=0,n=o.length;e<n;++e)o[e].pivot()},updateElement:function(t,e,n){var i=this,r=t.custom||{},a=i.getDataset(),o=i.chart.scale,s=o.getPointPositionForValue(e,a.data[e]),l=i._resolveDataElementOptions(t,e),u=i.getMeta().dataset._model,c=n?o.xCenter:s.x,d=n?o.yCenter:s.y;t._scale=o,t._options=l,t._datasetIndex=i.index,t._index=e,t._model={x:c,y:d,skip:r.skip||isNaN(c)||isNaN(d),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:Kt(r.tension,u?u.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var t=this,e=t._config,n=t.chart.options,i=nt.prototype._resolveDatasetElementOptions.apply(t,arguments);return i.spanGaps=Kt(e.spanGaps,n.spanGaps),i.tension=Kt(e.lineTension,n.elements.line.tension),i},updateBezierControlPoints:function(){var t,e,n,i,r=this.getMeta(),a=this.chart.chartArea,o=r.data||[];function s(t,e,n){return Math.max(Math.min(t,n),e)}for(r.dataset._model.spanGaps&&(o=o.filter((function(t){return!t._model.skip}))),t=0,e=o.length;t<e;++t)n=o[t]._model,i=Y.splineCurve(Y.previousItem(o,t,!0)._model,n,Y.nextItem(o,t,!0)._model,n.tension),n.controlPointPreviousX=s(i.previous.x,a.left,a.right),n.controlPointPreviousY=s(i.previous.y,a.top,a.bottom),n.controlPointNextX=s(i.next.x,a.left,a.right),n.controlPointNextY=s(i.next.y,a.top,a.bottom)},setHoverStyle:function(t){var e=t._model,n=t._options,i=Y.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Kt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=Kt(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=Kt(n.hoverBorderWidth,n.borderWidth),e.radius=Kt(n.hoverRadius,n.radius)}});z._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),z._set("global",{datasets:{scatter:{showLine:!1}}});var Qt={bar:Pt,bubble:Ot,doughnut:Nt,horizontalBar:jt,line:Gt,polarArea:qt,pie:Xt,radar:Zt,scatter:Gt};function Jt(t,e){return t.native?{x:t.x,y:t.y}:Y.getRelativePosition(t,e)}function $t(t,e){var n,i,r,a,o,s,l=t._getSortedVisibleDatasetMetas();for(i=0,a=l.length;i<a;++i)for(r=0,o=(n=l[i].data).length;r<o;++r)(s=n[r])._view.skip||e(s)}function te(t,e){var n=[];return $t(t,(function(t){t.inRange(e.x,e.y)&&n.push(t)})),n}function ee(t,e,n,i){var r=Number.POSITIVE_INFINITY,a=[];return $t(t,(function(t){if(!n||t.inRange(e.x,e.y)){var o=t.getCenterPoint(),s=i(e,o);s<r?(a=[t],r=s):s===r&&a.push(t)}})),a}function ne(t){var e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,i){var r=e?Math.abs(t.x-i.x):0,a=n?Math.abs(t.y-i.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(a,2))}}function ie(t,e,n){var i=Jt(e,t);n.axis=n.axis||"x";var r=ne(n.axis),a=n.intersect?te(t,i):ee(t,i,!1,r),o=[];return a.length?(t._getSortedVisibleDatasetMetas().forEach((function(t){var e=t.data[a[0]._index];e&&!e._view.skip&&o.push(e)})),o):[]}var re={modes:{single:function(t,e){var n=Jt(e,t),i=[];return $t(t,(function(t){if(t.inRange(n.x,n.y))return i.push(t),i})),i.slice(0,1)},label:ie,index:ie,dataset:function(t,e,n){var i=Jt(e,t);n.axis=n.axis||"xy";var r=ne(n.axis),a=n.intersect?te(t,i):ee(t,i,!1,r);return a.length>0&&(a=t.getDatasetMeta(a[0]._datasetIndex).data),a},"x-axis":function(t,e){return ie(t,e,{intersect:!1})},point:function(t,e){return te(t,Jt(e,t))},nearest:function(t,e,n){var i=Jt(e,t);n.axis=n.axis||"xy";var r=ne(n.axis);return ee(t,i,n.intersect,r)},x:function(t,e,n){var i=Jt(e,t),r=[],a=!1;return $t(t,(function(t){t.inXRange(i.x)&&r.push(t),t.inRange(i.x,i.y)&&(a=!0)})),n.intersect&&!a&&(r=[]),r},y:function(t,e,n){var i=Jt(e,t),r=[],a=!1;return $t(t,(function(t){t.inYRange(i.y)&&r.push(t),t.inRange(i.x,i.y)&&(a=!0)})),n.intersect&&!a&&(r=[]),r}}},ae=Y.extend;function oe(t,e){return Y.where(t,(function(t){return t.pos===e}))}function se(t,e){return t.sort((function(t,n){var i=e?n:t,r=e?t:n;return i.weight===r.weight?i.index-r.index:i.weight-r.weight}))}function le(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function ue(t,e,n){var i,r,a=n.box,o=t.maxPadding;if(n.size&&(t[n.pos]-=n.size),n.size=n.horizontal?a.height:a.width,t[n.pos]+=n.size,a.getPadding){var s=a.getPadding();o.top=Math.max(o.top,s.top),o.left=Math.max(o.left,s.left),o.bottom=Math.max(o.bottom,s.bottom),o.right=Math.max(o.right,s.right)}if(i=e.outerWidth-le(o,t,"left","right"),r=e.outerHeight-le(o,t,"top","bottom"),i!==t.w||r!==t.h)return t.w=i,t.h=r,n.horizontal?i!==t.w:r!==t.h}function ce(t,e){var n=e.maxPadding;function i(t){var i={left:0,top:0,right:0,bottom:0};return t.forEach((function(t){i[t]=Math.max(e[t],n[t])})),i}return i(t?["left","right"]:["top","bottom"])}function de(t,e,n){var i,r,a,o,s,l,u=[];for(i=0,r=t.length;i<r;++i)(o=(a=t[i]).box).update(a.width||e.w,a.height||e.h,ce(a.horizontal,e)),ue(e,n,a)&&(l=!0,u.length&&(s=!0)),o.fullWidth||u.push(a);return s&&de(u,e,n)||l}function he(t,e,n){var i,r,a,o,s=n.padding,l=e.x,u=e.y;for(i=0,r=t.length;i<r;++i)o=(a=t[i]).box,a.horizontal?(o.left=o.fullWidth?s.left:e.left,o.right=o.fullWidth?n.outerWidth-s.right:e.left+e.w,o.top=u,o.bottom=u+o.height,o.width=o.right-o.left,u=o.bottom):(o.left=l,o.right=l+o.width,o.top=e.top,o.bottom=e.top+e.h,o.height=o.bottom-o.top,l=o.right);e.x=l,e.y=u}z._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var fe,pe={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw:function(){e.draw.apply(e,arguments)}}]},t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var i,r=["fullWidth","position","weight"],a=r.length,o=0;o<a;++o)i=r[o],n.hasOwnProperty(i)&&(e[i]=n[i])},update:function(t,e,n){if(t){var i=t.options.layout||{},r=Y.options.toPadding(i.padding),a=e-r.width,o=n-r.height,s=function(t){var e=function(t){var e,n,i,r=[];for(e=0,n=(t||[]).length;e<n;++e)i=t[e],r.push({index:e,box:i,pos:i.position,horizontal:i.isHorizontal(),weight:i.weight});return r}(t),n=se(oe(e,"left"),!0),i=se(oe(e,"right")),r=se(oe(e,"top"),!0),a=se(oe(e,"bottom"));return{leftAndTop:n.concat(r),rightAndBottom:i.concat(a),chartArea:oe(e,"chartArea"),vertical:n.concat(i),horizontal:r.concat(a)}}(t.boxes),l=s.vertical,u=s.horizontal,c=Object.freeze({outerWidth:e,outerHeight:n,padding:r,availableWidth:a,vBoxMaxWidth:a/2/l.length,hBoxMaxHeight:o/2}),d=ae({maxPadding:ae({},r),w:a,h:o,x:r.left,y:r.top},r);!function(t,e){var n,i,r;for(n=0,i=t.length;n<i;++n)(r=t[n]).width=r.horizontal?r.box.fullWidth&&e.availableWidth:e.vBoxMaxWidth,r.height=r.horizontal&&e.hBoxMaxHeight}(l.concat(u),c),de(l,d,c),de(u,d,c)&&de(l,d,c),function(t){var e=t.maxPadding;function n(n){var i=Math.max(e[n]-t[n],0);return t[n]+=i,i}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}(d),he(s.leftAndTop,d,c),d.x+=d.w,d.y+=d.h,he(s.rightAndBottom,d,c),t.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h},Y.each(s.chartArea,(function(e){var n=e.box;ae(n,t.chartArea),n.update(d.w,d.h)}))}}},ge=(fe=Object.freeze({__proto__:null,default:"/*\n * DOM element rendering detection\n * https://davidwalsh.name/detect-node-insertion\n */\n@keyframes chartjs-render-animation {\n\tfrom { opacity: 0.99; }\n\tto { opacity: 1; }\n}\n\n.chartjs-render-monitor {\n\tanimation: chartjs-render-animation 0.001s;\n}\n\n/*\n * DOM element resizing detection\n * https://github.com/marcj/css-element-queries\n */\n.chartjs-size-monitor,\n.chartjs-size-monitor-expand,\n.chartjs-size-monitor-shrink {\n\tposition: absolute;\n\tdirection: ltr;\n\tleft: 0;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\toverflow: hidden;\n\tpointer-events: none;\n\tvisibility: hidden;\n\tz-index: -1;\n}\n\n.chartjs-size-monitor-expand > div {\n\tposition: absolute;\n\twidth: 1000000px;\n\theight: 1000000px;\n\tleft: 0;\n\ttop: 0;\n}\n\n.chartjs-size-monitor-shrink > div {\n\tposition: absolute;\n\twidth: 200%;\n\theight: 200%;\n\tleft: 0;\n\ttop: 0;\n}\n"}))&&fe.default||fe,me=["animationstart","webkitAnimationStart"],ve={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function be(t,e){var n=Y.getStyle(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var ye=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(n){}return t}()&&{passive:!0};function xe(t,e,n){t.addEventListener(e,n,ye)}function we(t,e,n){t.removeEventListener(e,n,ye)}function _e(t,e,n,i,r){return{type:t,chart:e,native:r||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function Me(t){var e=document.createElement("div");return e.className=t||"",e}function ke(t,e,n){var i,r,a,o,s=t.$chartjs||(t.$chartjs={}),l=s.resizer=function(t){var e=Me("chartjs-size-monitor"),n=Me("chartjs-size-monitor-expand"),i=Me("chartjs-size-monitor-shrink");n.appendChild(Me()),i.appendChild(Me()),e.appendChild(n),e.appendChild(i),e._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,i.scrollLeft=1e6,i.scrollTop=1e6};var r=function(){e._reset(),t()};return xe(n,"scroll",r.bind(n,"expand")),xe(i,"scroll",r.bind(i,"shrink")),e}((i=function(){if(s.resizer){var i=n.options.maintainAspectRatio&&t.parentNode,r=i?i.clientWidth:0;e(_e("resize",n)),i&&i.clientWidth<r&&n.canvas&&e(_e("resize",n))}},a=!1,o=[],function(){o=Array.prototype.slice.call(arguments),r=r||this,a||(a=!0,Y.requestAnimFrame.call(window,(function(){a=!1,i.apply(r,o)})))}));!function(t,e){var n=t.$chartjs||(t.$chartjs={}),i=n.renderProxy=function(t){"chartjs-render-animation"===t.animationName&&e()};Y.each(me,(function(e){xe(t,e,i)})),n.reflow=!!t.offsetParent,t.classList.add("chartjs-render-monitor")}(t,(function(){if(s.resizer){var e=t.parentNode;e&&e!==l.parentNode&&e.insertBefore(l,e.firstChild),l._reset()}}))}function Se(t){var e=t.$chartjs||{},n=e.resizer;delete e.resizer,function(t){var e=t.$chartjs||{},n=e.renderProxy;n&&(Y.each(me,(function(e){we(t,e,n)})),delete e.renderProxy),t.classList.remove("chartjs-render-monitor")}(t),n&&n.parentNode&&n.parentNode.removeChild(n)}var Te={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(t){if(!this.disableCSSInjection){var e=t.getRootNode?t.getRootNode():document;!function(t,e){var n=t.$chartjs||(t.$chartjs={});if(!n.containsStyles){n.containsStyles=!0,e="/* Chart.js */\n"+e;var i=document.createElement("style");i.setAttribute("type","text/css"),i.appendChild(document.createTextNode(e)),t.appendChild(i)}}(e.host?e:document.head,ge)}},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(this._ensureLoaded(t),function(t,e){var n=t.style,i=t.getAttribute("height"),r=t.getAttribute("width");if(t.$chartjs={initial:{height:i,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===r||""===r){var a=be(t,"width");void 0!==a&&(t.width=a)}if(null===i||""===i)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var o=be(t,"height");void 0!==a&&(t.height=o)}}(t,e),n):null},releaseContext:function(t){var e=t.canvas;if(e.$chartjs){var n=e.$chartjs.initial;["height","width"].forEach((function(t){var i=n[t];Y.isNullOrUndef(i)?e.removeAttribute(t):e.setAttribute(t,i)})),Y.each(n.style||{},(function(t,n){e.style[n]=t})),e.width=e.width,delete e.$chartjs}},addEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var r=n.$chartjs||(n.$chartjs={});xe(i,e,(r.proxies||(r.proxies={}))[t.id+"_"+e]=function(e){n(function(t,e){var n=ve[t.type]||t.type,i=Y.getRelativePosition(t,e);return _e(n,e,i.x,i.y,t)}(e,t))})}else ke(i,n,t)},removeEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var r=((n.$chartjs||{}).proxies||{})[t.id+"_"+e];r&&we(i,e,r)}else Se(i)}};Y.addEvent=xe,Y.removeEvent=we;var Ce=Te._enabled?Te:{acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}},De=Y.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Ce);z._set("global",{plugins:{}});var Pe={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach((function(t){-1===e.indexOf(t)&&e.push(t)})),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach((function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,r,a,o,s,l=this.descriptors(t),u=l.length;for(i=0;i<u;++i)if("function"==typeof(s=(a=(r=l[i]).plugin)[e])&&((o=[t].concat(n||[])).push(r.options),!1===s.apply(a,o)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var n=[],i=[],r=t&&t.config||{},a=r.options&&r.options.plugins||{};return this._plugins.concat(r.plugins||[]).forEach((function(t){if(-1===n.indexOf(t)){var e=t.id,r=a[e];!1!==r&&(!0===r&&(r=Y.clone(z.global.plugins[e])),n.push(t),i.push({plugin:t,options:r||{}}))}})),e.descriptors=i,e.id=this._cacheId,i},_invalidate:function(t){delete t.$plugins}},Ee={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=Y.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?Y.merge({},[z.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=Y.extend(this.defaults[t],e))},addScalesToLayout:function(t){Y.each(t.scales,(function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,pe.addBox(t,e)}))}},Ae=Y.valueOrDefault,Oe=Y.rtl.getRtlAdapter;z._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:Y.noop,title:function(t,e){var n="",i=e.labels,r=i?i.length:0;if(t.length>0){var a=t[0];a.label?n=a.label:a.xLabel?n=a.xLabel:r>0&&a.index<r&&(n=i[a.index])}return n},afterTitle:Y.noop,beforeBody:Y.noop,beforeLabel:Y.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n&&(n+=": "),Y.isNullOrUndef(t.value)?n+=t.yLabel:n+=t.value,n},labelColor:function(t,e){var n=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:Y.noop,afterBody:Y.noop,beforeFooter:Y.noop,footer:Y.noop,afterFooter:Y.noop}}});var Ie={average:function(t){if(!t.length)return!1;var e,n,i=0,r=0,a=0;for(e=0,n=t.length;e<n;++e){var o=t[e];if(o&&o.hasValue()){var s=o.tooltipPosition();i+=s.x,r+=s.y,++a}}return{x:i/a,y:r/a}},nearest:function(t,e){var n,i,r,a=e.x,o=e.y,s=Number.POSITIVE_INFINITY;for(n=0,i=t.length;n<i;++n){var l=t[n];if(l&&l.hasValue()){var u=l.getCenterPoint(),c=Y.distanceBetweenPoints(e,u);c<s&&(s=c,r=l)}}if(r){var d=r.tooltipPosition();a=d.x,o=d.y}return{x:a,y:o}}};function Le(t,e){return e&&(Y.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Fe(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function ze(t){var e=z.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:Ae(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:Ae(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:Ae(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:Ae(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:Ae(t.titleFontStyle,e.defaultFontStyle),titleFontSize:Ae(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:Ae(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:Ae(t.footerFontStyle,e.defaultFontStyle),footerFontSize:Ae(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function Ne(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function je(t){return Le([],Fe(t))}var Re=X.extend({initialize:function(){this._model=ze(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options,n=e.callbacks,i=n.beforeTitle.apply(t,arguments),r=n.title.apply(t,arguments),a=n.afterTitle.apply(t,arguments),o=[];return o=Le(o,Fe(i)),o=Le(o,Fe(r)),o=Le(o,Fe(a))},getBeforeBody:function(){return je(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var n=this,i=n._options.callbacks,r=[];return Y.each(t,(function(t){var a={before:[],lines:[],after:[]};Le(a.before,Fe(i.beforeLabel.call(n,t,e))),Le(a.lines,i.label.call(n,t,e)),Le(a.after,Fe(i.afterLabel.call(n,t,e))),r.push(a)})),r},getAfterBody:function(){return je(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,n=e.beforeFooter.apply(t,arguments),i=e.footer.apply(t,arguments),r=e.afterFooter.apply(t,arguments),a=[];return a=Le(a,Fe(n)),a=Le(a,Fe(i)),a=Le(a,Fe(r))},update:function(t){var e,n,i,r,a,o,s,l,u,c,d=this,h=d._options,f=d._model,p=d._model=ze(h),g=d._active,m=d._data,v={xAlign:f.xAlign,yAlign:f.yAlign},b={x:f.x,y:f.y},y={width:f.width,height:f.height},x={x:f.caretX,y:f.caretY};if(g.length){p.opacity=1;var w=[],_=[];x=Ie[h.position].call(d,g,d._eventPosition);var M=[];for(e=0,n=g.length;e<n;++e)M.push((i=g[e],r=void 0,a=void 0,o=void 0,s=void 0,l=void 0,u=void 0,c=void 0,r=i._xScale,a=i._yScale||i._scale,o=i._index,s=i._datasetIndex,l=i._chart.getDatasetMeta(s).controller,u=l._getIndexScale(),c=l._getValueScale(),{xLabel:r?r.getLabelForIndex(o,s):"",yLabel:a?a.getLabelForIndex(o,s):"",label:u?""+u.getLabelForIndex(o,s):"",value:c?""+c.getLabelForIndex(o,s):"",index:o,datasetIndex:s,x:i._model.x,y:i._model.y}));h.filter&&(M=M.filter((function(t){return h.filter(t,m)}))),h.itemSort&&(M=M.sort((function(t,e){return h.itemSort(t,e,m)}))),Y.each(M,(function(t){w.push(h.callbacks.labelColor.call(d,t,d._chart)),_.push(h.callbacks.labelTextColor.call(d,t,d._chart))})),p.title=d.getTitle(M,m),p.beforeBody=d.getBeforeBody(M,m),p.body=d.getBody(M,m),p.afterBody=d.getAfterBody(M,m),p.footer=d.getFooter(M,m),p.x=x.x,p.y=x.y,p.caretPadding=h.caretPadding,p.labelColors=w,p.labelTextColors=_,p.dataPoints=M,y=function(t,e){var n=t._chart.ctx,i=2*e.yPadding,r=0,a=e.body,o=a.reduce((function(t,e){return t+e.before.length+e.lines.length+e.after.length}),0);o+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,l=e.footer.length,u=e.titleFontSize,c=e.bodyFontSize,d=e.footerFontSize;i+=s*u,i+=s?(s-1)*e.titleSpacing:0,i+=s?e.titleMarginBottom:0,i+=o*c,i+=o?(o-1)*e.bodySpacing:0,i+=l?e.footerMarginTop:0,i+=l*d,i+=l?(l-1)*e.footerSpacing:0;var h=0,f=function(t){r=Math.max(r,n.measureText(t).width+h)};return n.font=Y.fontString(u,e._titleFontStyle,e._titleFontFamily),Y.each(e.title,f),n.font=Y.fontString(c,e._bodyFontStyle,e._bodyFontFamily),Y.each(e.beforeBody.concat(e.afterBody),f),h=e.displayColors?c+2:0,Y.each(a,(function(t){Y.each(t.before,f),Y.each(t.lines,f),Y.each(t.after,f)})),h=0,n.font=Y.fontString(d,e._footerFontStyle,e._footerFontFamily),Y.each(e.footer,f),{width:r+=2*e.xPadding,height:i}}(this,p),b=function(t,e,n,i){var r=t.x,a=t.y,o=t.caretSize,s=t.caretPadding,l=t.cornerRadius,u=n.xAlign,c=n.yAlign,d=o+s,h=l+s;return"right"===u?r-=e.width:"center"===u&&((r-=e.width/2)+e.width>i.width&&(r=i.width-e.width),r<0&&(r=0)),"top"===c?a+=d:a-="bottom"===c?e.height+d:e.height/2,"center"===c?"left"===u?r+=d:"right"===u&&(r-=d):"left"===u?r-=h:"right"===u&&(r+=h),{x:r,y:a}}(p,y,v=function(t,e){var n,i,r,a,o,s=t._model,l=t._chart,u=t._chart.chartArea,c="center",d="center";s.y<e.height?d="top":s.y>l.height-e.height&&(d="bottom");var h=(u.left+u.right)/2,f=(u.top+u.bottom)/2;"center"===d?(n=function(t){return t<=h},i=function(t){return t>h}):(n=function(t){return t<=e.width/2},i=function(t){return t>=l.width-e.width/2}),r=function(t){return t+e.width+s.caretSize+s.caretPadding>l.width},a=function(t){return t-e.width-s.caretSize-s.caretPadding<0},o=function(t){return t<=f?"top":"bottom"},n(s.x)?(c="left",r(s.x)&&(c="center",d=o(s.y))):i(s.x)&&(c="right",a(s.x)&&(c="center",d=o(s.y)));var p=t._options;return{xAlign:p.xAlign?p.xAlign:c,yAlign:p.yAlign?p.yAlign:d}}(this,y),d._chart)}else p.opacity=0;return p.xAlign=v.xAlign,p.yAlign=v.yAlign,p.x=b.x,p.y=b.y,p.width=y.width,p.height=y.height,p.caretX=x.x,p.caretY=x.y,d._model=p,t&&h.custom&&h.custom.call(d,p),d},drawCaret:function(t,e){var n=this._chart.ctx,i=this._view,r=this.getCaretPosition(t,e,i);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)},getCaretPosition:function(t,e,n){var i,r,a,o,s,l,u=n.caretSize,c=n.cornerRadius,d=n.xAlign,h=n.yAlign,f=t.x,p=t.y,g=e.width,m=e.height;if("center"===h)s=p+m/2,"left"===d?(r=(i=f)-u,a=i,o=s+u,l=s-u):(r=(i=f+g)+u,a=i,o=s-u,l=s+u);else if("left"===d?(i=(r=f+c+u)-u,a=r+u):"right"===d?(i=(r=f+g-c-u)-u,a=r+u):(i=(r=n.caretX)-u,a=r+u),"top"===h)s=(o=p)-u,l=o;else{s=(o=p+m)+u,l=o;var v=a;a=i,i=v}return{x1:i,x2:r,x3:a,y1:o,y2:s,y3:l}},drawTitle:function(t,e,n){var i,r,a,o=e.title,s=o.length;if(s){var l=Oe(e.rtl,e.x,e.width);for(t.x=Ne(e,e._titleAlign),n.textAlign=l.textAlign(e._titleAlign),n.textBaseline="middle",i=e.titleFontSize,r=e.titleSpacing,n.fillStyle=e.titleFontColor,n.font=Y.fontString(i,e._titleFontStyle,e._titleFontFamily),a=0;a<s;++a)n.fillText(o[a],l.x(t.x),t.y+i/2),t.y+=i+r,a+1===s&&(t.y+=e.titleMarginBottom-r)}},drawBody:function(t,e,n){var i,r,a,o,s,l,u,c,d=e.bodyFontSize,h=e.bodySpacing,f=e._bodyAlign,p=e.body,g=e.displayColors,m=0,v=g?Ne(e,"left"):0,b=Oe(e.rtl,e.x,e.width),y=function(e){n.fillText(e,b.x(t.x+m),t.y+d/2),t.y+=d+h},x=b.textAlign(f);for(n.textAlign=f,n.textBaseline="middle",n.font=Y.fontString(d,e._bodyFontStyle,e._bodyFontFamily),t.x=Ne(e,x),n.fillStyle=e.bodyFontColor,Y.each(e.beforeBody,y),m=g&&"right"!==x?"center"===f?d/2+1:d+2:0,s=0,u=p.length;s<u;++s){for(i=p[s],r=e.labelTextColors[s],a=e.labelColors[s],n.fillStyle=r,Y.each(i.before,y),l=0,c=(o=i.lines).length;l<c;++l){if(g){var w=b.x(v);n.fillStyle=e.legendColorBackground,n.fillRect(b.leftForLtr(w,d),t.y,d,d),n.lineWidth=1,n.strokeStyle=a.borderColor,n.strokeRect(b.leftForLtr(w,d),t.y,d,d),n.fillStyle=a.backgroundColor,n.fillRect(b.leftForLtr(b.xPlus(w,1),d-2),t.y+1,d-2,d-2),n.fillStyle=r}y(o[l])}Y.each(i.after,y)}m=0,Y.each(e.afterBody,y),t.y-=h},drawFooter:function(t,e,n){var i,r,a=e.footer,o=a.length;if(o){var s=Oe(e.rtl,e.x,e.width);for(t.x=Ne(e,e._footerAlign),t.y+=e.footerMarginTop,n.textAlign=s.textAlign(e._footerAlign),n.textBaseline="middle",i=e.footerFontSize,n.fillStyle=e.footerFontColor,n.font=Y.fontString(i,e._footerFontStyle,e._footerFontFamily),r=0;r<o;++r)n.fillText(a[r],s.x(t.x),t.y+i/2),t.y+=i+e.footerSpacing}},drawBackground:function(t,e,n,i){n.fillStyle=e.backgroundColor,n.strokeStyle=e.borderColor,n.lineWidth=e.borderWidth;var r=e.xAlign,a=e.yAlign,o=t.x,s=t.y,l=i.width,u=i.height,c=e.cornerRadius;n.beginPath(),n.moveTo(o+c,s),"top"===a&&this.drawCaret(t,i),n.lineTo(o+l-c,s),n.quadraticCurveTo(o+l,s,o+l,s+c),"center"===a&&"right"===r&&this.drawCaret(t,i),n.lineTo(o+l,s+u-c),n.quadraticCurveTo(o+l,s+u,o+l-c,s+u),"bottom"===a&&this.drawCaret(t,i),n.lineTo(o+c,s+u),n.quadraticCurveTo(o,s+u,o,s+u-c),"center"===a&&"left"===r&&this.drawCaret(t,i),n.lineTo(o,s+c),n.quadraticCurveTo(o,s,o+c,s),n.closePath(),n.fill(),e.borderWidth>0&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},r=Math.abs(e.opacity<.001)?0:e.opacity,a=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&a&&(t.save(),t.globalAlpha=r,this.drawBackground(i,e,t,n),i.y+=e.yPadding,Y.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),Y.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===t.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(t,i.mode,i),i.reverse&&n._active.reverse()),(e=!Y.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}}),Be=Ie,Ye=Re;Ye.positioners=Be;var We=Y.valueOrDefault;function Ve(){return Y.merge({},[].slice.call(arguments),{merger:function(t,e,n,i){if("xAxes"===t||"yAxes"===t){var r,a,o,s=n[t].length;for(e[t]||(e[t]=[]),r=0;r<s;++r)o=n[t][r],a=We(o.type,"xAxes"===t?"category":"linear"),r>=e[t].length&&e[t].push({}),!e[t][r].type||o.type&&o.type!==e[t][r].type?Y.merge(e[t][r],[Ee.getScaleDefaults(a),o]):Y.merge(e[t][r],o)}else Y._merger(t,e,n,i)}})}function He(){return Y.merge({},[].slice.call(arguments),{merger:function(t,e,n,i){var r=e[t]||{},a=n[t];"scales"===t?e[t]=Ve(r,a):"scale"===t?e[t]=Y.merge(r,[Ee.getScaleDefaults(a.type),a]):Y._merger(t,e,n,i)}})}function Ge(t){var e=t.options;Y.each(t.scales,(function(e){pe.removeBox(t,e)})),e=He(z.global,z[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function Ue(t,e,n){var i,r=function(t){return t.id===i};do{i=e+n++}while(Y.findIndex(t,r)>=0);return i}function qe(t){return"top"===t||"bottom"===t}function Xe(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}z._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Ke=function(t,e){return this.construct(t,e),this};Y.extend(Ke.prototype,{construct:function(t,e){var n=this;e=function(t){var e=(t=t||{}).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=He(z.global,z[t.type],t.options||{}),t}(e);var i=De.acquireContext(t,e),r=i&&i.canvas,a=r&&r.height,o=r&&r.width;n.id=Y.uid(),n.ctx=i,n.canvas=r,n.config=e,n.width=o,n.height=a,n.aspectRatio=a?o/a:null,n.options=e.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Ke.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),i&&r?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return Pe.notify(t,"beforeInit"),Y.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),Pe.notify(t,"afterInit"),t},clear:function(){return Y.canvas.clear(this),this},stop:function(){return Q.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,r=n.maintainAspectRatio&&e.aspectRatio||null,a=Math.max(0,Math.floor(Y.getMaximumWidth(i))),o=Math.max(0,Math.floor(r?a/r:Y.getMaximumHeight(i)));if((e.width!==a||e.height!==o)&&(i.width=e.width=a,i.height=e.height=o,i.style.width=a+"px",i.style.height=o+"px",Y.retinaScale(e,n.devicePixelRatio),!t)){var s={width:a,height:o};Pe.notify(e,"resize",[s]),n.onResize&&n.onResize(e,s),e.stop(),e.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;Y.each(e.xAxes,(function(t,n){t.id||(t.id=Ue(e.xAxes,"x-axis-",n))})),Y.each(e.yAxes,(function(t,n){t.id||(t.id=Ue(e.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,n=t.scales||{},i=[],r=Object.keys(n).reduce((function(t,e){return t[e]=!1,t}),{});e.scales&&(i=i.concat((e.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",dposition:"bottom"}})),(e.scales.yAxes||[]).map((function(t){return{options:t,dtype:"linear",dposition:"left"}})))),e.scale&&i.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),Y.each(i,(function(e){var i=e.options,a=i.id,o=We(i.type,e.dtype);qe(i.position)!==qe(e.dposition)&&(i.position=e.dposition),r[a]=!0;var s=null;if(a in n&&n[a].type===o)(s=n[a]).options=i,s.ctx=t.ctx,s.chart=t;else{var l=Ee.getScaleConstructor(o);if(!l)return;s=new l({id:a,type:o,options:i,ctx:t.ctx,chart:t}),n[s.id]=s}s.mergeTicksOptions(),e.isDefault&&(t.scale=s)})),Y.each(r,(function(t,e){t||delete n[e]})),t.scales=n,Ee.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,n=this,i=[],r=n.data.datasets;for(t=0,e=r.length;t<e;t++){var a=r[t],o=n.getDatasetMeta(t),s=a.type||n.config.type;if(o.type&&o.type!==s&&(n.destroyDatasetMeta(t),o=n.getDatasetMeta(t)),o.type=s,o.order=a.order||0,o.index=t,o.controller)o.controller.updateIndex(t),o.controller.linkScales();else{var l=Qt[o.type];if(void 0===l)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new l(n,t),i.push(o.controller)}}return i},resetElements:function(){var t=this;Y.each(t.data.datasets,(function(e,n){t.getDatasetMeta(n).controller.reset()}),t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,n,i=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),Ge(i),Pe._invalidate(i),!1!==Pe.notify(i,"beforeUpdate")){i.tooltip._data=i.data;var r=i.buildOrUpdateControllers();for(e=0,n=i.data.datasets.length;e<n;e++)i.getDatasetMeta(e).controller.buildOrUpdateElements();i.updateLayout(),i.options.animation&&i.options.animation.duration&&Y.each(r,(function(t){t.reset()})),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],Pe.notify(i,"afterUpdate"),i._layers.sort(Xe("z","_idx")),i._bufferedRender?i._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:i.render(t)}},updateLayout:function(){var t=this;!1!==Pe.notify(t,"beforeLayout")&&(pe.update(this,this.width,this.height),t._layers=[],Y.each(t.boxes,(function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())}),t),t._layers.forEach((function(t,e){t._idx=e})),Pe.notify(t,"afterScaleUpdate"),Pe.notify(t,"afterLayout"))},updateDatasets:function(){if(!1!==Pe.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);Pe.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),n={meta:e,index:t};!1!==Pe.notify(this,"beforeDatasetUpdate",[n])&&(e.controller._update(),Pe.notify(this,"afterDatasetUpdate",[n]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var n=e.options.animation,i=We(t.duration,n&&n.duration),r=t.lazy;if(!1!==Pe.notify(e,"beforeRender")){var a=function(t){Pe.notify(e,"afterRender"),Y.callback(n&&n.onComplete,[t],e)};if(n&&i){var o=new Z({numSteps:i/16.66,easing:t.easing||n.easing,render:function(t,e){var n=Y.easing.effects[e.easing],i=e.currentStep,r=i/e.numSteps;t.draw(n(r),r,i)},onAnimationProgress:n.onProgress,onAnimationComplete:a});Q.addAnimation(e,o,i,r)}else e.draw(),a(new Z({numSteps:0,chart:e}));return e}},draw:function(t){var e,n,i=this;if(i.clear(),Y.isNullOrUndef(t)&&(t=1),i.transition(t),!(i.width<=0||i.height<=0)&&!1!==Pe.notify(i,"beforeDraw",[t])){for(n=i._layers,e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(i.chartArea);for(i.drawDatasets(t);e<n.length;++e)n[e].draw(i.chartArea);i._drawTooltip(t),Pe.notify(i,"afterDraw",[t])}},transition:function(t){for(var e=0,n=(this.data.datasets||[]).length;e<n;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},_getSortedDatasetMetas:function(t){var e,n,i=[];for(e=0,n=(this.data.datasets||[]).length;e<n;++e)t&&!this.isDatasetVisible(e)||i.push(this.getDatasetMeta(e));return i.sort(Xe("order","index")),i},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,n;if(!1!==Pe.notify(this,"beforeDatasetsDraw",[t])){for(n=(e=this._getSortedVisibleDatasetMetas()).length-1;n>=0;--n)this.drawDataset(e[n],t);Pe.notify(this,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n={meta:t,index:t.index,easingValue:e};!1!==Pe.notify(this,"beforeDatasetDraw",[n])&&(t.controller.draw(e),Pe.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==Pe.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),Pe.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return re.modes.single(this,t)},getElementsAtEvent:function(t){return re.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return re.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=re.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return re.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var n=e._meta[this.id];return n||(n=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e.order||0,index:t}),n},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,n=this.data.datasets[t],i=n._meta&&n._meta[e];i&&(i.controller.destroy(),delete n._meta[e])},destroy:function(){var t,e,n=this,i=n.canvas;for(n.stop(),t=0,e=n.data.datasets.length;t<e;++t)n.destroyDatasetMeta(t);i&&(n.unbindEvents(),Y.canvas.clear(n),De.releaseContext(n.ctx),n.canvas=null,n.ctx=null),Pe.notify(n,"destroy"),delete Ke.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new Ye({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},n=function(){t.eventHandler.apply(t,arguments)};Y.each(t.options.events,(function(i){De.addEventListener(t,i,n),e[i]=n})),t.options.responsive&&(n=function(){t.resize()},De.addEventListener(t,"resize",n),e.resize=n)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,Y.each(e,(function(e,n){De.removeEventListener(t,n,e)})))},updateHoverStyle:function(t,e,n){var i,r,a,o=n?"set":"remove";for(r=0,a=t.length;r<a;++r)(i=t[r])&&this.getDatasetMeta(i._datasetIndex).controller[o+"HoverStyle"](i);"dataset"===e&&this.getDatasetMeta(t[0]._datasetIndex).controller["_"+o+"DatasetHoverStyle"]()},eventHandler:function(t){var e=this,n=e.tooltip;if(!1!==Pe.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var i=e.handleEvent(t);n&&(i=n._start?n.handleEvent(t):i|n.handleEvent(t)),Pe.notify(e,"afterEvent",[t]);var r=e._bufferedRequest;return r?e.render(r):i&&!e.animating&&(e.stop(),e.render({duration:e.options.hover.animationDuration,lazy:!0})),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e,n=this,i=n.options||{},r=i.hover;return n.lastActive=n.lastActive||[],"mouseout"===t.type?n.active=[]:n.active=n.getElementsAtEventForMode(t,r.mode,r),Y.callback(i.onHover||i.hover.onHover,[t.native,n.active],n),"mouseup"!==t.type&&"click"!==t.type||i.onClick&&i.onClick.call(n,t.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,r.mode,!1),n.active.length&&r.mode&&n.updateHoverStyle(n.active,r.mode,!0),e=!Y.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,e}}),Ke.instances={};var Ze=Ke;function Qe(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Je(t){this.options=t||{}}Ke.Controller=Ke,Ke.types={},Y.configMerge=He,Y.scaleMerge=Ve,Y.extend(Je.prototype,{formats:Qe,parse:Qe,format:Qe,add:Qe,diff:Qe,startOf:Qe,endOf:Qe,_create:function(t){return t}}),Je.override=function(t){Y.extend(Je.prototype,t)};var $e={_date:Je},tn={formatters:{values:function(t){return Y.isArray(t)?t:""+t},linear:function(t,e,n){var i=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&t!==Math.floor(t)&&(i=t-Math.floor(t));var r=Y.log10(Math.abs(i)),a="";if(0!==t)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=Y.log10(Math.abs(t)),s=Math.floor(o)-Math.floor(r);s=Math.max(Math.min(s,20),0),a=t.toExponential(s)}else{var l=-1*Math.floor(r);l=Math.max(Math.min(l,20),0),a=t.toFixed(l)}else a="0";return a},logarithmic:function(t,e,n){var i=t/Math.pow(10,Math.floor(Y.log10(t)));return 0===t?"0":1===i||2===i||5===i||0===e||e===n.length-1?t.toExponential():""}}},en=Y.isArray,nn=Y.isNullOrUndef,rn=Y.valueOrDefault,an=Y.valueAtIndexOrDefault;function on(t,e,n){var i,r=t.getTicks().length,a=Math.min(e,r-1),o=t.getPixelForTick(a),s=t._startPixel,l=t._endPixel;if(!(n&&(i=1===r?Math.max(o-s,l-o):0===e?(t.getPixelForTick(1)-o)/2:(o-t.getPixelForTick(a-1))/2,(o+=a<e?i:-i)<s-1e-6||o>l+1e-6)))return o}function sn(t,e,n,i){var r,a,o,s,l,u,c,d,h,f,p,g,m,v=n.length,b=[],y=[],x=[];for(r=0;r<v;++r){if(s=n[r].label,l=n[r].major?e.major:e.minor,t.font=u=l.string,c=i[u]=i[u]||{data:{},gc:[]},d=l.lineHeight,h=f=0,nn(s)||en(s)){if(en(s))for(a=0,o=s.length;a<o;++a)p=s[a],nn(p)||en(p)||(h=Y.measureText(t,c.data,c.gc,h,p),f+=d)}else h=Y.measureText(t,c.data,c.gc,h,s),f=d;b.push(h),y.push(f),x.push(d/2)}function w(t){return{width:b[t]||0,height:y[t]||0,offset:x[t]||0}}return function(t,e){Y.each(t,(function(t){var n,i=t.gc,r=i.length/2;if(r>e){for(n=0;n<r;++n)delete t.data[i[n]];i.splice(0,r)}}))}(i,v),g=b.indexOf(Math.max.apply(null,b)),m=y.indexOf(Math.max.apply(null,y)),{first:w(0),last:w(v-1),widest:w(g),highest:w(m)}}function ln(t){return t.drawTicks?t.tickMarkLength:0}function un(t){var e,n;return t.display?(e=Y.options._parseFont(t),n=Y.options.toPadding(t.padding),e.lineHeight+n.height):0}function cn(t,e){return Y.extend(Y.options._parseFont({fontFamily:rn(e.fontFamily,t.fontFamily),fontSize:rn(e.fontSize,t.fontSize),fontStyle:rn(e.fontStyle,t.fontStyle),lineHeight:rn(e.lineHeight,t.lineHeight)}),{color:Y.options.resolve([e.fontColor,t.fontColor,z.global.defaultFontColor])})}function dn(t){var e=cn(t,t.minor);return{minor:e,major:t.major.enabled?cn(t,t.major):e}}function hn(t){var e,n,i,r=[];for(n=0,i=t.length;n<i;++n)void 0!==(e=t[n])._index&&r.push(e);return r}function fn(t,e,n,i){var r,a,o,s,l=rn(n,0),u=Math.min(rn(i,t.length),t.length),c=0;for(e=Math.ceil(e),i&&(e=(r=i-n)/Math.floor(r/e)),s=l;s<0;)c++,s=Math.round(l+c*e);for(a=Math.max(l,0);a<u;a++)o=t[a],a===s?(o._index=a,c++,s=Math.round(l+c*e)):delete o.label}z._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:tn.formatters.values,minor:{},major:{}}});var pn=X.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){Y.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var i,r,a,o,s,l=this,u=l.options.ticks,c=u.sampleSize;if(l.beforeUpdate(),l.maxWidth=t,l.maxHeight=e,l.margins=Y.extend({left:0,right:0,top:0,bottom:0},n),l._ticks=null,l.ticks=null,l._labelSizes=null,l._maxLabelLines=0,l.longestLabelWidth=0,l.longestTextCache=l.longestTextCache||{},l._gridLineItems=null,l._labelItems=null,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeDataLimits(),l.determineDataLimits(),l.afterDataLimits(),l.beforeBuildTicks(),o=l.buildTicks()||[],(!(o=l.afterBuildTicks(o)||o)||!o.length)&&l.ticks)for(o=[],i=0,r=l.ticks.length;i<r;++i)o.push({value:l.ticks[i],major:!1});return l._ticks=o,s=c<o.length,a=l._convertTicksToLabels(s?function(t,e){for(var n=[],i=t.length/e,r=0,a=t.length;r<a;r+=i)n.push(t[Math.floor(r)]);return n}(o,c):o),l._configure(),l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l._ticksToDraw=u.display&&(u.autoSkip||"auto"===u.source)?l._autoSkip(o):o,s&&(a=l._convertTicksToLabels(l._ticksToDraw)),l.ticks=a,l.afterUpdate(),l.minSize},_configure:function(){var t,e,n=this,i=n.options.ticks.reverse;n.isHorizontal()?(t=n.left,e=n.right):(t=n.top,e=n.bottom,i=!i),n._startPixel=t,n._endPixel=e,n._reversePixels=i,n._length=e-t},afterUpdate:function(){Y.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){Y.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){Y.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){Y.callback(this.options.beforeDataLimits,[this])},determineDataLimits:Y.noop,afterDataLimits:function(){Y.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){Y.callback(this.options.beforeBuildTicks,[this])},buildTicks:Y.noop,afterBuildTicks:function(t){var e=this;return en(t)&&t.length?Y.callback(e.options.afterBuildTicks,[e,t]):(e.ticks=Y.callback(e.options.afterBuildTicks,[e,e.ticks])||e.ticks,t)},beforeTickToLabelConversion:function(){Y.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){Y.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){Y.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t,e,n,i,r,a,o,s=this,l=s.options,u=l.ticks,c=s.getTicks().length,d=u.minRotation||0,h=u.maxRotation,f=d;!s._isVisible()||!u.display||d>=h||c<=1||!s.isHorizontal()?s.labelRotation=d:(e=(t=s._getLabelSizes()).widest.width,n=t.highest.height-t.highest.offset,i=Math.min(s.maxWidth,s.chart.width-e),e+6>(r=l.offset?s.maxWidth/c:i/(c-1))&&(r=i/(c-(l.offset?.5:1)),a=s.maxHeight-ln(l.gridLines)-u.padding-un(l.scaleLabel),o=Math.sqrt(e*e+n*n),f=Y.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/r,1)),Math.asin(Math.min(a/o,1))-Math.asin(n/o))),f=Math.max(d,Math.min(h,f))),s.labelRotation=f)},afterCalculateTickRotation:function(){Y.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){Y.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},n=t.chart,i=t.options,r=i.ticks,a=i.scaleLabel,o=i.gridLines,s=t._isVisible(),l="bottom"===i.position,u=t.isHorizontal();if(u?e.width=t.maxWidth:s&&(e.width=ln(o)+un(a)),u?s&&(e.height=ln(o)+un(a)):e.height=t.maxHeight,r.display&&s){var c=dn(r),d=t._getLabelSizes(),h=d.first,f=d.last,p=d.widest,g=d.highest,m=.4*c.minor.lineHeight,v=r.padding;if(u){var b=0!==t.labelRotation,y=Y.toRadians(t.labelRotation),x=Math.cos(y),w=Math.sin(y),_=w*p.width+x*(g.height-(b?g.offset:0))+(b?0:m);e.height=Math.min(t.maxHeight,e.height+_+v);var M,k,S=t.getPixelForTick(0)-t.left,T=t.right-t.getPixelForTick(t.getTicks().length-1);b?(M=l?x*h.width+w*h.offset:w*(h.height-h.offset),k=l?w*(f.height-f.offset):x*f.width+w*f.offset):(M=h.width/2,k=f.width/2),t.paddingLeft=Math.max((M-S)*t.width/(t.width-S),0)+3,t.paddingRight=Math.max((k-T)*t.width/(t.width-T),0)+3}else{var C=r.mirror?0:p.width+v+m;e.width=Math.min(t.maxWidth,e.width+C),t.paddingTop=h.height/2,t.paddingBottom=f.height/2}}t.handleMargins(),u?(t.width=t._length=n.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=n.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){Y.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(nn(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,i,r=this;for(r.ticks=t.map((function(t){return t.value})),r.beforeTickToLabelConversion(),e=r.convertTicksToLabels(t)||r.ticks,r.afterTickToLabelConversion(),n=0,i=t.length;n<i;++n)t[n].label=e[n];return e},_getLabelSizes:function(){var t=this,e=t._labelSizes;return e||(t._labelSizes=e=sn(t.ctx,dn(t.options.ticks),t.getTicks(),t.longestTextCache),t.longestLabelWidth=e.widest.width),e},_parseValue:function(t){var e,n,i,r;return en(t)?(e=+this.getRightValue(t[0]),n=+this.getRightValue(t[1]),i=Math.min(e,n),r=Math.max(e,n)):(e=void 0,n=t=+this.getRightValue(t),i=t,r=t),{min:i,max:r,start:e,end:n}},_getScaleLabel:function(t){var e=this._parseValue(t);return void 0!==e.start?"["+e.start+", "+e.end+"]":+this.getRightValue(t)},getLabelForIndex:Y.noop,getPixelForValue:Y.noop,getValueForPixel:Y.noop,getPixelForTick:function(t){var e=this.options.offset,n=this._ticks.length,i=1/Math.max(n-(e?0:1),1);return t<0||t>n-1?null:this.getPixelForDecimal(t*i+(e?i/2:0))},getPixelForDecimal:function(t){return this._reversePixels&&(t=1-t),this._startPixel+t*this._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,n,i,r,a=this.options.ticks,o=this._length,s=a.maxTicksLimit||o/this._tickSize()+1,l=a.major.enabled?function(t){var e,n,i=[];for(e=0,n=t.length;e<n;e++)t[e].major&&i.push(e);return i}(t):[],u=l.length,c=l[0],d=l[u-1];if(u>s)return function(t,e,n){var i,r,a=0,o=e[0];for(n=Math.ceil(n),i=0;i<t.length;i++)r=t[i],i===o?(r._index=i,o=e[++a*n]):delete r.label}(t,l,u/s),hn(t);if(i=function(t,e,n,i){var r,a,o,s,l=function(t){var e,n,i=t.length;if(i<2)return!1;for(n=t[0],e=1;e<i;++e)if(t[e]-t[e-1]!==n)return!1;return n}(t),u=(e.length-1)/i;if(!l)return Math.max(u,1);for(o=0,s=(r=Y.math._factorize(l)).length-1;o<s;o++)if((a=r[o])>u)return a;return Math.max(u,1)}(l,t,0,s),u>0){for(e=0,n=u-1;e<n;e++)fn(t,i,l[e],l[e+1]);return r=u>1?(d-c)/(u-1):null,fn(t,i,Y.isNullOrUndef(r)?0:c-r,c),fn(t,i,d,Y.isNullOrUndef(r)?t.length:d+r),hn(t)}return fn(t,i),hn(t)},_tickSize:function(){var t=this.options.ticks,e=Y.toRadians(this.labelRotation),n=Math.abs(Math.cos(e)),i=Math.abs(Math.sin(e)),r=this._getLabelSizes(),a=t.autoSkipPadding||0,o=r?r.widest.width+a:0,s=r?r.highest.height+a:0;return this.isHorizontal()?s*n>o*i?o/n:s/i:s*i<o*n?s/n:o/i},_isVisible:function(){var t,e,n,i=this.chart,r=this.options.display;if("auto"!==r)return!!r;for(t=0,e=i.data.datasets.length;t<e;++t)if(i.isDatasetVisible(t)&&((n=i.getDatasetMeta(t)).xAxisID===this.id||n.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(t){var e,n,i,r,a,o,s,l,u,c,d,h,f,p,g,m,v,b=this,y=b.chart,x=b.options,w=x.gridLines,_=x.position,M=w.offsetGridLines,k=b.isHorizontal(),S=b._ticksToDraw,T=S.length+(M?1:0),C=ln(w),D=[],P=w.drawBorder?an(w.lineWidth,0,0):0,E=P/2,A=Y._alignPixel,O=function(t){return A(y,t,P)};for("top"===_?(e=O(b.bottom),s=b.bottom-C,u=e-E,d=O(t.top)+E,f=t.bottom):"bottom"===_?(e=O(b.top),d=t.top,f=O(t.bottom)-E,s=e+E,u=b.top+C):"left"===_?(e=O(b.right),o=b.right-C,l=e-E,c=O(t.left)+E,h=t.right):(e=O(b.left),c=t.left,h=O(t.right)-E,o=e+E,l=b.left+C),n=0;n<T;++n)i=S[n]||{},nn(i.label)&&n<S.length||(n===b.zeroLineIndex&&x.offset===M?(p=w.zeroLineWidth,g=w.zeroLineColor,m=w.zeroLineBorderDash||[],v=w.zeroLineBorderDashOffset||0):(p=an(w.lineWidth,n,1),g=an(w.color,n,"rgba(0,0,0,0.1)"),m=w.borderDash||[],v=w.borderDashOffset||0),void 0!==(r=on(b,i._index||n,M))&&(a=A(y,r,p),k?o=l=c=h=a:s=u=d=f=a,D.push({tx1:o,ty1:s,tx2:l,ty2:u,x1:c,y1:d,x2:h,y2:f,width:p,color:g,borderDash:m,borderDashOffset:v})));return D.ticksLength=T,D.borderValue=e,D},_computeLabelItems:function(){var t,e,n,i,r,a,o,s,l,u,c,d,h=this,f=h.options,p=f.ticks,g=f.position,m=p.mirror,v=h.isHorizontal(),b=h._ticksToDraw,y=dn(p),x=p.padding,w=ln(f.gridLines),_=-Y.toRadians(h.labelRotation),M=[];for("top"===g?(a=h.bottom-w-x,o=_?"left":"center"):"bottom"===g?(a=h.top+w+x,o=_?"right":"center"):"left"===g?(r=h.right-(m?0:w)-x,o=m?"left":"right"):(r=h.left+(m?0:w)+x,o=m?"right":"left"),t=0,e=b.length;t<e;++t)i=(n=b[t]).label,nn(i)||(s=h.getPixelForTick(n._index||t)+p.labelOffset,u=(l=n.major?y.major:y.minor).lineHeight,c=en(i)?i.length:1,v?(r=s,d="top"===g?((_?1:.5)-c)*u:(_?0:.5)*u):(a=s,d=(1-c)*u/2),M.push({x:r,y:a,rotation:_,label:i,font:l,textOffset:d,textAlign:o}));return M},_drawGrid:function(t){var e=this,n=e.options.gridLines;if(n.display){var i,r,a,o,s,l=e.ctx,u=e.chart,c=Y._alignPixel,d=n.drawBorder?an(n.lineWidth,0,0):0,h=e._gridLineItems||(e._gridLineItems=e._computeGridLineItems(t));for(a=0,o=h.length;a<o;++a)i=(s=h[a]).width,r=s.color,i&&r&&(l.save(),l.lineWidth=i,l.strokeStyle=r,l.setLineDash&&(l.setLineDash(s.borderDash),l.lineDashOffset=s.borderDashOffset),l.beginPath(),n.drawTicks&&(l.moveTo(s.tx1,s.ty1),l.lineTo(s.tx2,s.ty2)),n.drawOnChartArea&&(l.moveTo(s.x1,s.y1),l.lineTo(s.x2,s.y2)),l.stroke(),l.restore());if(d){var f,p,g,m,v=d,b=an(n.lineWidth,h.ticksLength-1,1),y=h.borderValue;e.isHorizontal()?(f=c(u,e.left,v)-v/2,p=c(u,e.right,b)+b/2,g=m=y):(g=c(u,e.top,v)-v/2,m=c(u,e.bottom,b)+b/2,f=p=y),l.lineWidth=d,l.strokeStyle=an(n.color,0),l.beginPath(),l.moveTo(f,g),l.lineTo(p,m),l.stroke()}}},_drawLabels:function(){var t=this;if(t.options.ticks.display){var e,n,i,r,a,o,s,l,u=t.ctx,c=t._labelItems||(t._labelItems=t._computeLabelItems());for(e=0,i=c.length;e<i;++e){if(o=(a=c[e]).font,u.save(),u.translate(a.x,a.y),u.rotate(a.rotation),u.font=o.string,u.fillStyle=o.color,u.textBaseline="middle",u.textAlign=a.textAlign,s=a.label,l=a.textOffset,en(s))for(n=0,r=s.length;n<r;++n)u.fillText(""+s[n],0,l),l+=o.lineHeight;else u.fillText(s,0,l);u.restore()}}},_drawTitle:function(){var t=this,e=t.ctx,n=t.options,i=n.scaleLabel;if(i.display){var r,a,o=rn(i.fontColor,z.global.defaultFontColor),s=Y.options._parseFont(i),l=Y.options.toPadding(i.padding),u=s.lineHeight/2,c=n.position,d=0;if(t.isHorizontal())r=t.left+t.width/2,a="bottom"===c?t.bottom-u-l.bottom:t.top+u+l.top;else{var h="left"===c;r=h?t.left+u+l.top:t.right-u-l.top,a=t.top+t.height/2,d=h?-.5*Math.PI:.5*Math.PI}e.save(),e.translate(r,a),e.rotate(d),e.textAlign="center",e.textBaseline="middle",e.fillStyle=o,e.font=s.string,e.fillText(i.labelString,0,0),e.restore()}},draw:function(t){this._isVisible()&&(this._drawGrid(t),this._drawTitle(),this._drawLabels())},_layers:function(){var t=this,e=t.options,n=e.ticks&&e.ticks.z||0,i=e.gridLines&&e.gridLines.z||0;return t._isVisible()&&n!==i&&t.draw===t._draw?[{z:i,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:n,draw:function(){t._drawLabels.apply(t,arguments)}}]:[{z:n,draw:function(){t.draw.apply(t,arguments)}}]},_getMatchingVisibleMetas:function(t){var e=this,n=e.isHorizontal();return e.chart._getSortedVisibleDatasetMetas().filter((function(i){return(!t||i.type===t)&&(n?i.xAxisID===e.id:i.yAxisID===e.id)}))}});pn.prototype._draw=pn.prototype.draw;var gn=pn,mn=Y.isNullOrUndef,vn=gn.extend({determineDataLimits:function(){var t,e=this,n=e._getLabels(),i=e.options.ticks,r=i.min,a=i.max,o=0,s=n.length-1;void 0!==r&&(t=n.indexOf(r))>=0&&(o=t),void 0!==a&&(t=n.indexOf(a))>=0&&(s=t),e.minIndex=o,e.maxIndex=s,e.min=n[o],e.max=n[s]},buildTicks:function(){var t=this._getLabels(),e=this.minIndex,n=this.maxIndex;this.ticks=0===e&&n===t.length-1?t:t.slice(e,n+1)},getLabelForIndex:function(t,e){var n=this.chart;return n.getDatasetMeta(e).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[e].data[t]):this._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,n=t.ticks;gn.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),n&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var i,r,a,o=this;return mn(e)||mn(n)||(t=o.chart.data.datasets[n].data[e]),mn(t)||(i=o.isHorizontal()?t.x:t.y),(void 0!==i||void 0!==t&&isNaN(e))&&(r=o._getLabels(),t=Y.valueOrDefault(i,t),e=-1!==(a=r.indexOf(t))?a:e,isNaN(e)&&(e=t)),o.getPixelForDecimal((e-o._startValue)/o._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange);return Math.min(Math.max(e,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),bn={position:"bottom"};vn._defaults=bn;var yn=Y.noop,xn=Y.isNullOrUndef,wn=gn.extend({getRightValue:function(t){return"string"==typeof t?+t:gn.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=Y.sign(t.min),i=Y.sign(t.max);n<0&&i<0?t.max=0:n>0&&i>0&&(t.min=0)}var r=void 0!==e.min||void 0!==e.suggestedMin,a=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),r!==a&&t.min>=t.max&&(r?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this.options.ticks,n=e.stepSize,i=e.maxTicksLimit;return n?t=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(t=this._computeTickLimit(),i=i||11),i&&(t=Math.min(i,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:yn,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,precision:e.precision,stepSize:Y.valueOrDefault(e.fixedStepSize,e.stepSize)},r=t.ticks=function(t,e){var n,i,r,a,o=[],s=t.stepSize,l=s||1,u=t.maxTicks-1,c=t.min,d=t.max,h=t.precision,f=e.min,p=e.max,g=Y.niceNum((p-f)/u/l)*l;if(g<1e-14&&xn(c)&&xn(d))return[f,p];(a=Math.ceil(p/g)-Math.floor(f/g))>u&&(g=Y.niceNum(a*g/u/l)*l),s||xn(h)?n=Math.pow(10,Y._decimalPlaces(g)):(n=Math.pow(10,h),g=Math.ceil(g*n)/n),i=Math.floor(f/g)*g,r=Math.ceil(p/g)*g,s&&(!xn(c)&&Y.almostWhole(c/g,g/1e3)&&(i=c),!xn(d)&&Y.almostWhole(d/g,g/1e3)&&(r=d)),a=(r-i)/g,a=Y.almostEquals(a,Math.round(a),g/1e3)?Math.round(a):Math.ceil(a),i=Math.round(i*n)/n,r=Math.round(r*n)/n,o.push(xn(c)?i:c);for(var m=1;m<a;++m)o.push(Math.round((i+m*g)*n)/n);return o.push(xn(d)?r:d),o}(i,t);t.handleDirectionalChanges(),t.max=Y.max(r),t.min=Y.min(r),e.reverse?(r.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),gn.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,e=this,n=e.getTicks(),i=e.min,r=e.max;gn.prototype._configure.call(e),e.options.offset&&n.length&&(i-=t=(r-i)/Math.max(n.length-1,1)/2,r+=t),e._startValue=i,e._endValue=r,e._valueRange=r-i}}),_n={position:"left",ticks:{callback:tn.formatters.linear}};function Mn(t,e,n,i){var r,a,o=t.options,s=function(t,e,n){var i=[n.type,void 0===e&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===t[i]&&(t[i]={pos:[],neg:[]}),t[i]}(e,o.stacked,n),l=s.pos,u=s.neg,c=i.length;for(r=0;r<c;++r)a=t._parseValue(i[r]),isNaN(a.min)||isNaN(a.max)||n.data[r].hidden||(l[r]=l[r]||0,u[r]=u[r]||0,o.relativePoints?l[r]=100:a.min<0||a.max<0?u[r]+=a.min:l[r]+=a.max)}function kn(t,e,n){var i,r,a=n.length;for(i=0;i<a;++i)r=t._parseValue(n[i]),isNaN(r.min)||isNaN(r.max)||e.data[i].hidden||(t.min=Math.min(t.min,r.min),t.max=Math.max(t.max,r.max))}var Sn=wn.extend({determineDataLimits:function(){var t,e,n,i,r=this,a=r.options,o=r.chart.data.datasets,s=r._getMatchingVisibleMetas(),l=a.stacked,u={},c=s.length;if(r.min=Number.POSITIVE_INFINITY,r.max=Number.NEGATIVE_INFINITY,void 0===l)for(t=0;!l&&t<c;++t)l=void 0!==(e=s[t]).stack;for(t=0;t<c;++t)n=o[(e=s[t]).index].data,l?Mn(r,u,e,n):kn(r,e,n);Y.each(u,(function(t){i=t.pos.concat(t.neg),r.min=Math.min(r.min,Y.min(i)),r.max=Math.max(r.max,Y.max(i))})),r.min=Y.isFinite(r.min)&&!isNaN(r.min)?r.min:0,r.max=Y.isFinite(r.max)&&!isNaN(r.max)?r.max:1,r.handleTickRangeOptions()},_computeTickLimit:function(){var t;return this.isHorizontal()?Math.ceil(this.width/40):(t=Y.options._parseFont(this.options.ticks),Math.ceil(this.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){return this.getPixelForDecimal((+this.getRightValue(t)-this._startValue)/this._valueRange)},getValueForPixel:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange},getPixelForTick:function(t){var e=this.ticksAsNumbers;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])}}),Tn=_n;Sn._defaults=Tn;var Cn=Y.valueOrDefault,Dn=Y.math.log10,Pn={position:"left",ticks:{callback:tn.formatters.logarithmic}};function En(t,e){return Y.isFinite(t)&&t>=0?t:e}var An=gn.extend({determineDataLimits:function(){var t,e,n,i,r,a,o=this,s=o.options,l=o.chart,u=l.data.datasets,c=o.isHorizontal();function d(t){return c?t.xAxisID===o.id:t.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var h=s.stacked;if(void 0===h)for(t=0;t<u.length;t++)if(e=l.getDatasetMeta(t),l.isDatasetVisible(t)&&d(e)&&void 0!==e.stack){h=!0;break}if(s.stacked||h){var f={};for(t=0;t<u.length;t++){var p=[(e=l.getDatasetMeta(t)).type,void 0===s.stacked&&void 0===e.stack?t:"",e.stack].join(".");if(l.isDatasetVisible(t)&&d(e))for(void 0===f[p]&&(f[p]=[]),r=0,a=(i=u[t].data).length;r<a;r++){var g=f[p];n=o._parseValue(i[r]),isNaN(n.min)||isNaN(n.max)||e.data[r].hidden||n.min<0||n.max<0||(g[r]=g[r]||0,g[r]+=n.max)}}Y.each(f,(function(t){if(t.length>0){var e=Y.min(t),n=Y.max(t);o.min=Math.min(o.min,e),o.max=Math.max(o.max,n)}}))}else for(t=0;t<u.length;t++)if(e=l.getDatasetMeta(t),l.isDatasetVisible(t)&&d(e))for(r=0,a=(i=u[t].data).length;r<a;r++)n=o._parseValue(i[r]),isNaN(n.min)||isNaN(n.max)||e.data[r].hidden||n.min<0||n.max<0||(o.min=Math.min(n.min,o.min),o.max=Math.max(n.max,o.max),0!==n.min&&(o.minNotZero=Math.min(n.min,o.minNotZero)));o.min=Y.isFinite(o.min)?o.min:null,o.max=Y.isFinite(o.max)?o.max:null,o.minNotZero=Y.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;t.min=En(e.min,t.min),t.max=En(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(Dn(t.min))-1),t.max=Math.pow(10,Math.floor(Dn(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(Dn(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(Dn(t.min))+1):10),null===t.minNotZero&&(t.min>0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(Dn(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),i={min:En(e.min),max:En(e.max)},r=t.ticks=function(t,e){var n,i,r=[],a=Cn(t.min,Math.pow(10,Math.floor(Dn(e.min)))),o=Math.floor(Dn(e.max)),s=Math.ceil(e.max/Math.pow(10,o));0===a?(n=Math.floor(Dn(e.minNotZero)),i=Math.floor(e.minNotZero/Math.pow(10,n)),r.push(a),a=i*Math.pow(10,n)):(n=Math.floor(Dn(a)),i=Math.floor(a/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{r.push(a),10==++i&&(i=1,l=++n>=0?1:l),a=Math.round(i*Math.pow(10,n)*l)/l}while(n<o||n===o&&i<s);var u=Cn(t.max,a);return r.push(u),r}(i,t);t.max=Y.max(r),t.min=Y.min(r),e.reverse?(n=!n,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),n&&r.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),gn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){var e=this.tickValues;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(Dn(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,n=0;gn.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),n=Cn(t.options.ticks.fontSize,z.global.defaultFontSize)/t._length),t._startValue=Dn(e),t._valueOffset=n,t._valueRange=(Dn(t.max)-Dn(e))/(1-n)},getPixelForValue:function(t){var e=this,n=0;return(t=+e.getRightValue(t))>e.min&&t>0&&(n=(Dn(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var e=this,n=e.getDecimalForPixel(t);return 0===n&&0===e.min?0:Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}}),On=Pn;An._defaults=On;var In=Y.valueOrDefault,Ln=Y.valueAtIndexOrDefault,Fn=Y.options.resolve,zn={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:tn.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function Nn(t){var e=t.ticks;return e.display&&t.display?In(e.fontSize,z.global.defaultFontSize)+2*e.backdropPaddingY:0}function jn(t,e,n,i,r){return t===i||t===r?{start:e-n/2,end:e+n/2}:t<i||t>r?{start:e-n,end:e}:{start:e,end:e+n}}function Rn(t){return 0===t||180===t?"center":t<180?"left":"right"}function Bn(t,e,n,i){var r,a,o=n.y+i/2;if(Y.isArray(e))for(r=0,a=e.length;r<a;++r)t.fillText(e[r],n.x,o),o+=i;else t.fillText(e,n.x,o)}function Yn(t,e,n){90===t||270===t?n.y-=e.h/2:(t>270||t<90)&&(n.y-=e.h)}function Wn(t){return Y.isNumber(t)?t:0}var Vn=wn.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=Nn(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;Y.each(e.data.datasets,(function(r,a){if(e.isDatasetVisible(a)){var o=e.getDatasetMeta(a);Y.each(r.data,(function(e,r){var a=+t.getRightValue(e);isNaN(a)||o.data[r].hidden||(n=Math.min(a,n),i=Math.max(a,i))}))}})),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Nn(this.options))},convertTicksToLabels:function(){var t=this;wn.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map((function(){var e=Y.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""}))},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this.options;t.display&&t.pointLabels.display?function(t){var e,n,i,r=Y.options._parseFont(t.options.pointLabels),a={l:0,r:t.width,t:0,b:t.height-t.paddingTop},o={};t.ctx.font=r.string,t._pointLabelSizes=[];var s,l,u,c=t.chart.data.labels.length;for(e=0;e<c;e++){i=t.getPointPosition(e,t.drawingArea+5),s=t.ctx,l=r.lineHeight,u=t.pointLabels[e],n=Y.isArray(u)?{w:Y.longestText(s,s.font,u),h:u.length*l}:{w:s.measureText(u).width,h:l},t._pointLabelSizes[e]=n;var d=t.getIndexAngle(e),h=Y.toDegrees(d)%360,f=jn(h,i.x,n.w,0,180),p=jn(h,i.y,n.h,90,270);f.start<a.l&&(a.l=f.start,o.l=d),f.end>a.r&&(a.r=f.end,o.r=d),p.start<a.t&&(a.t=p.start,o.t=d),p.end>a.b&&(a.b=p.end,o.b=d)}t.setReductions(t.drawingArea,a,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var i=this,r=e.l/Math.sin(n.l),a=Math.max(e.r-i.width,0)/Math.sin(n.r),o=-e.t/Math.cos(n.t),s=-Math.max(e.b-(i.height-i.paddingTop),0)/Math.cos(n.b);r=Wn(r),a=Wn(a),o=Wn(o),s=Wn(s),i.drawingArea=Math.min(Math.floor(t-(r+a)/2),Math.floor(t-(o+s)/2)),i.setCenterPoint(r,a,o,s)},setCenterPoint:function(t,e,n,i){var r=this,a=r.width-e-r.drawingArea,o=t+r.drawingArea,s=n+r.drawingArea,l=r.height-r.paddingTop-i-r.drawingArea;r.xCenter=Math.floor((o+a)/2+r.left),r.yCenter=Math.floor((s+l)/2+r.top+r.paddingTop)},getIndexAngle:function(t){var e=this.chart,n=(t*(360/e.data.labels.length)+((e.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(Y.isNullOrUndef(t))return NaN;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(n)*e+this.xCenter,y:Math.sin(n)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this.min,n=this.max;return this.getPointPositionForValue(t||0,this.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0)},_drawGrid:function(){var t,e,n,i=this,r=i.ctx,a=i.options,o=a.gridLines,s=a.angleLines,l=In(s.lineWidth,o.lineWidth),u=In(s.color,o.color);if(a.pointLabels.display&&function(t){var e=t.ctx,n=t.options,i=n.pointLabels,r=Nn(n),a=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),o=Y.options._parseFont(i);e.save(),e.font=o.string,e.textBaseline="middle";for(var s=t.chart.data.labels.length-1;s>=0;s--){var l=0===s?r/2:0,u=t.getPointPosition(s,a+l+5),c=Ln(i.fontColor,s,z.global.defaultFontColor);e.fillStyle=c;var d=t.getIndexAngle(s),h=Y.toDegrees(d);e.textAlign=Rn(h),Yn(h,t._pointLabelSizes[s],u),Bn(e,t.pointLabels[s],u,o.lineHeight)}e.restore()}(i),o.display&&Y.each(i.ticks,(function(t,n){0!==n&&(e=i.getDistanceFromCenterForValue(i.ticksAsNumbers[n]),function(t,e,n,i){var r,a=t.ctx,o=e.circular,s=t.chart.data.labels.length,l=Ln(e.color,i-1),u=Ln(e.lineWidth,i-1);if((o||s)&&l&&u){if(a.save(),a.strokeStyle=l,a.lineWidth=u,a.setLineDash&&(a.setLineDash(e.borderDash||[]),a.lineDashOffset=e.borderDashOffset||0),a.beginPath(),o)a.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{r=t.getPointPosition(0,n),a.moveTo(r.x,r.y);for(var c=1;c<s;c++)r=t.getPointPosition(c,n),a.lineTo(r.x,r.y)}a.closePath(),a.stroke(),a.restore()}}(i,o,e,n))})),s.display&&l&&u){for(r.save(),r.lineWidth=l,r.strokeStyle=u,r.setLineDash&&(r.setLineDash(Fn([s.borderDash,o.borderDash,[]])),r.lineDashOffset=Fn([s.borderDashOffset,o.borderDashOffset,0])),t=i.chart.data.labels.length-1;t>=0;t--)e=i.getDistanceFromCenterForValue(a.ticks.reverse?i.min:i.max),n=i.getPointPosition(t,e),r.beginPath(),r.moveTo(i.xCenter,i.yCenter),r.lineTo(n.x,n.y),r.stroke();r.restore()}},_drawLabels:function(){var t=this,e=t.ctx,n=t.options.ticks;if(n.display){var i,r,a=t.getIndexAngle(0),o=Y.options._parseFont(n),s=In(n.fontColor,z.global.defaultFontColor);e.save(),e.font=o.string,e.translate(t.xCenter,t.yCenter),e.rotate(a),e.textAlign="center",e.textBaseline="middle",Y.each(t.ticks,(function(a,l){(0!==l||n.reverse)&&(i=t.getDistanceFromCenterForValue(t.ticksAsNumbers[l]),n.showLabelBackdrop&&(r=e.measureText(a).width,e.fillStyle=n.backdropColor,e.fillRect(-r/2-n.backdropPaddingX,-i-o.size/2-n.backdropPaddingY,r+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),e.fillStyle=s,e.fillText(a,0,-i))})),e.restore()}},_drawTitle:Y.noop}),Hn=zn;Vn._defaults=Hn;var Gn=Y._deprecated,Un=Y.options.resolve,qn=Y.valueOrDefault,Xn=Number.MIN_SAFE_INTEGER||-9007199254740991,Kn=Number.MAX_SAFE_INTEGER||9007199254740991,Zn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Qn=Object.keys(Zn);function Jn(t,e){return t-e}function $n(t){return Y.valueOrDefault(t.time.min,t.ticks.min)}function ti(t){return Y.valueOrDefault(t.time.max,t.ticks.max)}function ei(t,e,n,i){var r=function(t,e,n){for(var i,r,a,o=0,s=t.length-1;o>=0&&o<=s;){if(r=t[(i=o+s>>1)-1]||null,a=t[i],!r)return{lo:null,hi:a};if(a[e]<n)o=i+1;else{if(!(r[e]>n))return{lo:r,hi:a};s=i-1}}return{lo:a,hi:null}}(t,e,n),a=r.lo?r.hi?r.lo:t[t.length-2]:t[0],o=r.lo?r.hi?r.hi:t[t.length-1]:t[1],s=o[e]-a[e],l=s?(n-a[e])/s:0,u=(o[i]-a[i])*l;return a[i]+u}function ni(t,e){var n=t._adapter,i=t.options.time,r=i.parser,a=r||i.format,o=e;return"function"==typeof r&&(o=r(o)),Y.isFinite(o)||(o="string"==typeof a?n.parse(o,a):n.parse(o)),null!==o?+o:(r||"function"!=typeof a||(o=a(e),Y.isFinite(o)||(o=n.parse(o))),o)}function ii(t,e){if(Y.isNullOrUndef(e))return null;var n=t.options.time,i=ni(t,t.getRightValue(e));return null===i||n.round&&(i=+t._adapter.startOf(i,n.round)),i}function ri(t,e,n,i){var r,a,o,s=Qn.length;for(r=Qn.indexOf(t);r<s-1;++r)if(o=(a=Zn[Qn[r]]).steps?a.steps:Kn,a.common&&Math.ceil((n-e)/(o*a.size))<=i)return Qn[r];return Qn[s-1]}function ai(t,e,n){var i,r,a=[],o={},s=e.length;for(i=0;i<s;++i)o[r=e[i]]=i,a.push({value:r,major:!1});return 0!==s&&n?function(t,e,n,i){var r,a,o=t._adapter,s=+o.startOf(e[0].value,i),l=e[e.length-1].value;for(r=s;r<=l;r=+o.add(r,1,i))(a=n[r])>=0&&(e[a].major=!0);return e}(t,a,o,n):a}var oi=gn.extend({initialize:function(){this.mergeTicksOptions(),gn.prototype.initialize.call(this)},update:function(){var t=this,e=t.options,n=e.time||(e.time={}),i=t._adapter=new $e._date(e.adapters.date);return Gn("time scale",n.format,"time.format","time.parser"),Gn("time scale",n.min,"time.min","ticks.min"),Gn("time scale",n.max,"time.max","ticks.max"),Y.mergeIf(n.displayFormats,i.formats()),gn.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),gn.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,i,r,a,o,s=this,l=s.chart,u=s._adapter,c=s.options,d=c.time.unit||"day",h=Kn,f=Xn,p=[],g=[],m=[],v=s._getLabels();for(t=0,n=v.length;t<n;++t)m.push(ii(s,v[t]));for(t=0,n=(l.data.datasets||[]).length;t<n;++t)if(l.isDatasetVisible(t))if(r=l.data.datasets[t].data,Y.isObject(r[0]))for(g[t]=[],e=0,i=r.length;e<i;++e)a=ii(s,r[e]),p.push(a),g[t][e]=a;else g[t]=m.slice(0),o||(p=p.concat(m),o=!0);else g[t]=[];m.length&&(h=Math.min(h,m[0]),f=Math.max(f,m[m.length-1])),p.length&&(p=n>1?function(t){var e,n,i,r={},a=[];for(e=0,n=t.length;e<n;++e)r[i=t[e]]||(r[i]=!0,a.push(i));return a}(p).sort(Jn):p.sort(Jn),h=Math.min(h,p[0]),f=Math.max(f,p[p.length-1])),h=ii(s,$n(c))||h,f=ii(s,ti(c))||f,h=h===Kn?+u.startOf(Date.now(),d):h,f=f===Xn?+u.endOf(Date.now(),d)+1:f,s.min=Math.min(h,f),s.max=Math.max(h+1,f),s._table=[],s._timestamps={data:p,datasets:g,labels:m}},buildTicks:function(){var t,e,n,i=this,r=i.min,a=i.max,o=i.options,s=o.ticks,l=o.time,u=i._timestamps,c=[],d=i.getLabelCapacity(r),h=s.source,f=o.distribution;for(u="data"===h||"auto"===h&&"series"===f?u.data:"labels"===h?u.labels:function(t,e,n,i){var r,a=t._adapter,o=t.options,s=o.time,l=s.unit||ri(s.minUnit,e,n,i),u=Un([s.stepSize,s.unitStepSize,1]),c="week"===l&&s.isoWeekday,d=e,h=[];if(c&&(d=+a.startOf(d,"isoWeek",c)),d=+a.startOf(d,c?"day":l),a.diff(n,e,l)>1e5*u)throw e+" and "+n+" are too far apart with stepSize of "+u+" "+l;for(r=d;r<n;r=+a.add(r,u,l))h.push(r);return r!==n&&"ticks"!==o.bounds||h.push(r),h}(i,r,a,d),"ticks"===o.bounds&&u.length&&(r=u[0],a=u[u.length-1]),r=ii(i,$n(o))||r,a=ii(i,ti(o))||a,t=0,e=u.length;t<e;++t)(n=u[t])>=r&&n<=a&&c.push(n);return i.min=r,i.max=a,i._unit=l.unit||(s.autoSkip?ri(l.minUnit,i.min,i.max,d):function(t,e,n,i,r){var a,o;for(a=Qn.length-1;a>=Qn.indexOf(n);a--)if(o=Qn[a],Zn[o].common&&t._adapter.diff(r,i,o)>=e-1)return o;return Qn[n?Qn.indexOf(n):0]}(i,c.length,l.minUnit,i.min,i.max)),i._majorUnit=s.major.enabled&&"year"!==i._unit?function(t){for(var e=Qn.indexOf(t)+1,n=Qn.length;e<n;++e)if(Zn[Qn[e]].common)return Qn[e]}(i._unit):void 0,i._table=function(t,e,n,i){if("linear"===i||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var r,a,o,s,l,u=[],c=[e];for(r=0,a=t.length;r<a;++r)(s=t[r])>e&&s<n&&c.push(s);for(c.push(n),r=0,a=c.length;r<a;++r)l=c[r+1],o=c[r-1],s=c[r],void 0!==o&&void 0!==l&&Math.round((l+o)/2)===s||u.push({time:s,pos:r/(a-1)});return u}(i._timestamps.data,r,a,f),i._offsets=function(t,e,n,i,r){var a,o,s=0,l=0;return r.offset&&e.length&&(a=ei(t,"time",e[0],"pos"),s=1===e.length?1-a:(ei(t,"time",e[1],"pos")-a)/2,o=ei(t,"time",e[e.length-1],"pos"),l=1===e.length?o:(o-ei(t,"time",e[e.length-2],"pos"))/2),{start:s,end:l,factor:1/(s+1+l)}}(i._table,c,0,0,o),s.reverse&&c.reverse(),ai(i,c,i._majorUnit)},getLabelForIndex:function(t,e){var n=this,i=n._adapter,r=n.chart.data,a=n.options.time,o=r.labels&&t<r.labels.length?r.labels[t]:"",s=r.datasets[e].data[t];return Y.isObject(s)&&(o=n.getRightValue(s)),a.tooltipFormat?i.format(ni(n,o),a.tooltipFormat):"string"==typeof o?o:i.format(ni(n,o),a.displayFormats.datetime)},tickFormatFunction:function(t,e,n,i){var r=this._adapter,a=this.options,o=a.time.displayFormats,s=o[this._unit],l=this._majorUnit,u=o[l],c=n[e],d=a.ticks,h=l&&u&&c&&c.major,f=r.format(t,i||(h?u:s)),p=h?d.major:d.minor,g=Un([p.callback,p.userCallback,d.callback,d.userCallback]);return g?g(f,e,n):f},convertTicksToLabels:function(t){var e,n,i=[];for(e=0,n=t.length;e<n;++e)i.push(this.tickFormatFunction(t[e].value,e,t));return i},getPixelForOffset:function(t){var e=this._offsets,n=ei(this._table,"time",t,"pos");return this.getPixelForDecimal((e.start+n)*e.factor)},getPixelForValue:function(t,e,n){var i=null;if(void 0!==e&&void 0!==n&&(i=this._timestamps.datasets[n][e]),null===i&&(i=ii(this,t)),null!==i)return this.getPixelForOffset(i)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end,i=ei(this._table,"pos",n,"time");return this._adapter._create(i)},_getLabelSize:function(t){var e=this.options.ticks,n=this.ctx.measureText(t).width,i=Y.toRadians(this.isHorizontal()?e.maxRotation:e.minRotation),r=Math.cos(i),a=Math.sin(i),o=qn(e.fontSize,z.global.defaultFontSize);return{w:n*r+o*a,h:n*a+o*r}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var e=this,n=e.options.time,i=n.displayFormats,r=i[n.unit]||i.millisecond,a=e.tickFormatFunction(t,0,ai(e,[t],e._majorUnit),r),o=e._getLabelSize(a),s=Math.floor(e.isHorizontal()?e.width/o.w:e.height/o.h);return e.options.offset&&s--,s>0?s:1}}),si={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};oi._defaults=si;var li={category:vn,linear:Sn,logarithmic:An,radialLinear:Vn,time:oi},ui={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};$e._date.override("function"==typeof t?{_id:"moment",formats:function(){return ui},parse:function(e,n){return"string"==typeof e&&"string"==typeof n?e=t(e,n):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,i){return t(e).add(n,i).valueOf()},diff:function(e,n,i){return t(e).diff(t(n),i)},startOf:function(e,n,i){return e=t(e),"isoWeek"===n?e.isoWeekday(i).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),z._set("global",{plugins:{filler:{propagate:!0}}});var ci={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),r=i&&n.isDatasetVisible(e)&&i.dataset._children||[],a=r.length||0;return a?function(t,e){return e<a&&r[e]._view||null}:null},boundary:function(t){var e=t.boundary,n=e?e.x:null,i=e?e.y:null;return Y.isArray(e)?function(t,n){return e[n]}:function(t){return{x:null===n?t.x:n,y:null===i?t.y:i}}}};function di(t,e,n){var i,r=t._model||{},a=r.fill;if(void 0===a&&(a=!!r.backgroundColor),!1===a||null===a)return!1;if(!0===a)return"origin";if(i=parseFloat(a,10),isFinite(i)&&Math.floor(i)===i)return"-"!==a[0]&&"+"!==a[0]||(i=e+i),!(i===e||i<0||i>=n)&&i;switch(a){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return a;default:return!1}}function hi(t){return(t.el._scale||{}).getPointPositionForValue?function(t){var e,n,i,r,a,o=t.el._scale,s=o.options,l=o.chart.data.labels.length,u=t.fill,c=[];if(!l)return null;for(e=s.ticks.reverse?o.max:o.min,n=s.ticks.reverse?o.min:o.max,i=o.getPointPositionForValue(0,e),r=0;r<l;++r)a="start"===u||"end"===u?o.getPointPositionForValue(r,"start"===u?e:n):o.getBasePosition(r),s.gridLines.circular&&(a.cx=i.x,a.cy=i.y,a.angle=o.getIndexAngle(r)-Math.PI/2),c.push(a);return c}(t):function(t){var e,n=t.el._model||{},i=t.el._scale||{},r=t.fill,a=null;if(isFinite(r))return null;if("start"===r?a=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===r?a=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?a=n.scaleZero:i.getBasePixel&&(a=i.getBasePixel()),null!=a){if(void 0!==a.x&&void 0!==a.y)return a;if(Y.isFinite(a))return{x:(e=i.isHorizontal())?a:null,y:e?null:a}}return null}(t)}function fi(t,e,n){var i,r=t[e].fill,a=[e];if(!n)return r;for(;!1!==r&&-1===a.indexOf(r);){if(!isFinite(r))return r;if(!(i=t[r]))return!1;if(i.visible)return r;a.push(r),r=i.fill}return!1}function pi(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),ci[n](t))}function gi(t){return t&&!t.skip}function mi(t,e,n,i,r){var a,o,s,l;if(i&&r){for(t.moveTo(e[0].x,e[0].y),a=1;a<i;++a)Y.canvas.lineTo(t,e[a-1],e[a]);if(void 0===n[0].angle)for(t.lineTo(n[r-1].x,n[r-1].y),a=r-1;a>0;--a)Y.canvas.lineTo(t,n[a],n[a-1],!0);else for(o=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),a=r-1;a>0;--a)t.arc(o,s,l,n[a].angle,n[a-1].angle,!0)}}function vi(t,e,n,i,r,a){var o,s,l,u,c,d,h,f,p=e.length,g=i.spanGaps,m=[],v=[],b=0,y=0;for(t.beginPath(),o=0,s=p;o<s;++o)c=n(u=e[l=o%p]._view,l,i),d=gi(u),h=gi(c),a&&void 0===f&&d&&(s=p+(f=o+1)),d&&h?(b=m.push(u),y=v.push(c)):b&&y&&(g?(d&&m.push(u),h&&v.push(c)):(mi(t,m,v,b,y),b=y=0,m=[],v=[]));mi(t,m,v,b,y),t.closePath(),t.fillStyle=r,t.fill()}var bi={id:"filler",afterDatasetsUpdate:function(t,e){var n,i,r,a,o=(t.data.datasets||[]).length,s=e.propagate,l=[];for(i=0;i<o;++i)a=null,(r=(n=t.getDatasetMeta(i)).dataset)&&r._model&&r instanceof wt.Line&&(a={visible:t.isDatasetVisible(i),fill:di(r,i,o),chart:t,el:r}),n.$filler=a,l.push(a);for(i=0;i<o;++i)(a=l[i])&&(a.fill=fi(l,i,s),a.boundary=hi(a),a.mapper=pi(a))},beforeDatasetsDraw:function(t){var e,n,i,r,a,o,s,l=t._getSortedVisibleDatasetMetas(),u=t.ctx;for(n=l.length-1;n>=0;--n)(e=l[n].$filler)&&e.visible&&(r=(i=e.el)._view,a=i._children||[],o=e.mapper,s=r.backgroundColor||z.global.defaultColor,o&&s&&a.length&&(Y.canvas.clipArea(u,t.chartArea),vi(u,a,o,r,s,i._loop),Y.canvas.unclipArea(u)))}},yi=Y.rtl.getRtlAdapter,xi=Y.noop,wi=Y.valueOrDefault;function _i(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}z._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,r=i.getDatasetMeta(n);r.hidden=null===r.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,n=t.options.legend||{},i=n.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map((function(n){var r=n.controller.getStyle(i?0:void 0);return{text:e[n.index].label,fillStyle:r.backgroundColor,hidden:!t.isDatasetVisible(n.index),lineCap:r.borderCapStyle,lineDash:r.borderDash,lineDashOffset:r.borderDashOffset,lineJoin:r.borderJoinStyle,lineWidth:r.borderWidth,strokeStyle:r.borderColor,pointStyle:r.pointStyle,rotation:r.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(t){var e,n,i,r=document.createElement("ul"),a=t.data.datasets;for(r.setAttribute("class",t.id+"-legend"),e=0,n=a.length;e<n;e++)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[e].backgroundColor,a[e].label&&i.appendChild(document.createTextNode(a[e].label));return r.outerHTML}});var Mi=X.extend({initialize:function(t){Y.extend(this,t),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:xi,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:xi,beforeSetDimensions:xi,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:xi,beforeBuildLabels:xi,buildLabels:function(){var t=this,e=t.options.labels||{},n=Y.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter((function(n){return e.filter(n,t.chart.data)}))),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:xi,beforeFit:xi,fit:function(){var t=this,e=t.options,n=e.labels,i=e.display,r=t.ctx,a=Y.options._parseFont(n),o=a.size,s=t.legendHitBoxes=[],l=t.minSize,u=t.isHorizontal();if(u?(l.width=t.maxWidth,l.height=i?10:0):(l.width=i?10:0,l.height=t.maxHeight),i){if(r.font=a.string,u){var c=t.lineWidths=[0],d=0;r.textAlign="left",r.textBaseline="middle",Y.each(t.legendItems,(function(t,e){var i=_i(n,o)+o/2+r.measureText(t.text).width;(0===e||c[c.length-1]+i+2*n.padding>l.width)&&(d+=o+n.padding,c[c.length-(e>0?0:1)]=0),s[e]={left:0,top:0,width:i,height:o},c[c.length-1]+=i+n.padding})),l.height+=d}else{var h=n.padding,f=t.columnWidths=[],p=t.columnHeights=[],g=n.padding,m=0,v=0;Y.each(t.legendItems,(function(t,e){var i=_i(n,o)+o/2+r.measureText(t.text).width;e>0&&v+o+2*h>l.height&&(g+=m+n.padding,f.push(m),p.push(v),m=0,v=0),m=Math.max(m,i),v+=o+h,s[e]={left:0,top:0,width:i,height:o}})),g+=m,f.push(m),p.push(v),l.width+=g}t.width=l.width,t.height=l.height}else t.width=l.width=t.height=l.height=0},afterFit:xi,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,i=z.global,r=i.defaultColor,a=i.elements.line,o=t.height,s=t.columnHeights,l=t.width,u=t.lineWidths;if(e.display){var c,d=yi(e.rtl,t.left,t.minSize.width),h=t.ctx,f=wi(n.fontColor,i.defaultFontColor),p=Y.options._parseFont(n),g=p.size;h.textAlign=d.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=f,h.fillStyle=f,h.font=p.string;var m=_i(n,g),v=t.legendHitBoxes,b=function(t,i){switch(e.align){case"start":return n.padding;case"end":return t-i;default:return(t-i+n.padding)/2}},y=t.isHorizontal();c=y?{x:t.left+b(l,u[0]),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+b(o,s[0]),line:0},Y.rtl.overrideTextDirection(t.ctx,e.textDirection);var x=g+n.padding;Y.each(t.legendItems,(function(e,i){var f=h.measureText(e.text).width,p=m+g/2+f,w=c.x,_=c.y;d.setWidth(t.minSize.width),y?i>0&&w+p+n.padding>t.left+t.minSize.width&&(_=c.y+=x,c.line++,w=c.x=t.left+b(l,u[c.line])):i>0&&_+x>t.top+t.minSize.height&&(w=c.x=w+t.columnWidths[c.line]+n.padding,c.line++,_=c.y=t.top+b(o,s[c.line]));var M=d.x(w);!function(t,e,i){if(!(isNaN(m)||m<=0)){h.save();var o=wi(i.lineWidth,a.borderWidth);if(h.fillStyle=wi(i.fillStyle,r),h.lineCap=wi(i.lineCap,a.borderCapStyle),h.lineDashOffset=wi(i.lineDashOffset,a.borderDashOffset),h.lineJoin=wi(i.lineJoin,a.borderJoinStyle),h.lineWidth=o,h.strokeStyle=wi(i.strokeStyle,r),h.setLineDash&&h.setLineDash(wi(i.lineDash,a.borderDash)),n&&n.usePointStyle){var s=m*Math.SQRT2/2,l=d.xPlus(t,m/2),u=e+g/2;Y.canvas.drawPoint(h,i.pointStyle,s,l,u,i.rotation)}else h.fillRect(d.leftForLtr(t,m),e,m,g),0!==o&&h.strokeRect(d.leftForLtr(t,m),e,m,g);h.restore()}}(M,_,e),v[i].left=d.leftForLtr(M,v[i].width),v[i].top=_,function(t,e,n,i){var r=g/2,a=d.xPlus(t,m+r),o=e+r;h.fillText(n.text,a,o),n.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(a,o),h.lineTo(d.xPlus(a,i),o),h.stroke())}(M,_,e,f),y?c.x+=p+n.padding:c.y+=x})),Y.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,i,r,a=this;if(t>=a.left&&t<=a.right&&e>=a.top&&e<=a.bottom)for(r=a.legendHitBoxes,n=0;n<r.length;++n)if(t>=(i=r[n]).left&&t<=i.left+i.width&&e>=i.top&&e<=i.top+i.height)return a.legendItems[n];return null},handleEvent:function(t){var e,n=this,i=n.options,r="mouseup"===t.type?"click":t.type;if("mousemove"===r){if(!i.onHover&&!i.onLeave)return}else{if("click"!==r)return;if(!i.onClick)return}e=n._getLegendItemAt(t.x,t.y),"click"===r?e&&i.onClick&&i.onClick.call(n,t.native,e):(i.onLeave&&e!==n._hoveredItem&&(n._hoveredItem&&i.onLeave.call(n,t.native,n._hoveredItem),n._hoveredItem=e),i.onHover&&e&&i.onHover.call(n,t.native,e))}});function ki(t,e){var n=new Mi({ctx:t.ctx,options:e,chart:t});pe.configure(t,n,e),pe.addBox(t,n),t.legend=n}var Si={id:"legend",_element:Mi,beforeInit:function(t){var e=t.options.legend;e&&ki(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(Y.mergeIf(e,z.global.legend),n?(pe.configure(t,n,e),n.options=e):ki(t,e)):n&&(pe.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}},Ti=Y.noop;z._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Ci=X.extend({initialize:function(t){Y.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:Ti,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Ti,beforeSetDimensions:Ti,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:Ti,beforeBuildLabels:Ti,buildLabels:Ti,afterBuildLabels:Ti,beforeFit:Ti,fit:function(){var t,e=this,n=e.options,i=e.minSize={},r=e.isHorizontal();n.display?(t=(Y.isArray(n.text)?n.text.length:1)*Y.options._parseFont(n).lineHeight+2*n.padding,e.width=i.width=r?e.maxWidth:t,e.height=i.height=r?t:e.maxHeight):e.width=i.width=e.height=i.height=0},afterFit:Ti,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=t.options;if(n.display){var i,r,a,o=Y.options._parseFont(n),s=o.lineHeight,l=s/2+n.padding,u=0,c=t.top,d=t.left,h=t.bottom,f=t.right;e.fillStyle=Y.valueOrDefault(n.fontColor,z.global.defaultFontColor),e.font=o.string,t.isHorizontal()?(r=d+(f-d)/2,a=c+l,i=f-d):(r="left"===n.position?d+l:f-l,a=c+(h-c)/2,i=h-c,u=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(r,a),e.rotate(u),e.textAlign="center",e.textBaseline="middle";var p=n.text;if(Y.isArray(p))for(var g=0,m=0;m<p.length;++m)e.fillText(p[m],0,g,i),g+=s;else e.fillText(p,0,0,i);e.restore()}}});function Di(t,e){var n=new Ci({ctx:t.ctx,options:e,chart:t});pe.configure(t,n,e),pe.addBox(t,n),t.titleBlock=n}var Pi={},Ei=bi,Ai=Si,Oi={id:"title",_element:Ci,beforeInit:function(t){var e=t.options.title;e&&Di(t,e)},beforeUpdate:function(t){var e=t.options.title,n=t.titleBlock;e?(Y.mergeIf(e,z.global.title),n?(pe.configure(t,n,e),n.options=e):Di(t,e)):n&&(pe.removeBox(t,n),delete t.titleBlock)}};for(var Ii in Pi.filler=Ei,Pi.legend=Ai,Pi.title=Oi,Ze.helpers=Y,function(){function t(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function e(t){return null!=t&&"none"!==t}function n(n,i,r){var a=document.defaultView,o=Y._getParentNode(n),s=a.getComputedStyle(n)[i],l=a.getComputedStyle(o)[i],u=e(s),c=e(l),d=Number.POSITIVE_INFINITY;return u||c?Math.min(u?t(s,n,r):d,c?t(l,o,r):d):"none"}Y.where=function(t,e){if(Y.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return Y.each(t,(function(t){e(t)&&n.push(t)})),n},Y.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,r=t.length;i<r;++i)if(e.call(n,t[i],i,t))return i;return-1},Y.findNextWhere=function(t,e,n){Y.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<t.length;i++){var r=t[i];if(e(r))return r}},Y.findPreviousWhere=function(t,e,n){Y.isNullOrUndef(n)&&(n=t.length);for(var i=n-1;i>=0;i--){var r=t[i];if(e(r))return r}},Y.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},Y.almostEquals=function(t,e,n){return Math.abs(t-e)<n},Y.almostWhole=function(t,e){var n=Math.round(t);return n-e<=t&&n+e>=t},Y.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},Y.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},Y.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},Y.toRadians=function(t){return t*(Math.PI/180)},Y.toDegrees=function(t){return t*(180/Math.PI)},Y._decimalPlaces=function(t){if(Y.isFinite(t)){for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}},Y.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,r=Math.sqrt(n*n+i*i),a=Math.atan2(i,n);return a<-.5*Math.PI&&(a+=2*Math.PI),{angle:a,distance:r}},Y.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},Y.aliasPixel=function(t){return t%2==0?0:.5},Y._alignPixel=function(t,e,n){var i=t.currentDevicePixelRatio,r=n/2;return Math.round((e-r)*i)/i+r},Y.splineCurve=function(t,e,n,i){var r=t.skip?e:t,a=e,o=n.skip?e:n,s=Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2)),l=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),u=s/(s+l),c=l/(s+l),d=i*(u=isNaN(u)?0:u),h=i*(c=isNaN(c)?0:c);return{previous:{x:a.x-d*(o.x-r.x),y:a.y-d*(o.y-r.y)},next:{x:a.x+h*(o.x-r.x),y:a.y+h*(o.y-r.y)}}},Y.EPSILON=Number.EPSILON||1e-14,Y.splineCurveMonotone=function(t){var e,n,i,r,a,o,s,l,u,c=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),d=c.length;for(e=0;e<d;++e)if(!(i=c[e]).model.skip){if(n=e>0?c[e-1]:null,(r=e<d-1?c[e+1]:null)&&!r.model.skip){var h=r.model.x-i.model.x;i.deltaK=0!==h?(r.model.y-i.model.y)/h:0}!n||n.model.skip?i.mK=i.deltaK:!r||r.model.skip?i.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(n.deltaK+i.deltaK)/2}for(e=0;e<d-1;++e)i=c[e],r=c[e+1],i.model.skip||r.model.skip||(Y.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=r.mK=0:(a=i.mK/i.deltaK,o=r.mK/i.deltaK,(l=Math.pow(a,2)+Math.pow(o,2))<=9||(s=3/Math.sqrt(l),i.mK=a*s*i.deltaK,r.mK=o*s*i.deltaK)));for(e=0;e<d;++e)(i=c[e]).model.skip||(n=e>0?c[e-1]:null,r=e<d-1?c[e+1]:null,n&&!n.model.skip&&(u=(i.model.x-n.model.x)/3,i.model.controlPointPreviousX=i.model.x-u,i.model.controlPointPreviousY=i.model.y-u*i.mK),r&&!r.model.skip&&(u=(r.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+u,i.model.controlPointNextY=i.model.y+u*i.mK))},Y.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},Y.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},Y.niceNum=function(t,e){var n=Math.floor(Y.log10(t)),i=t/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},Y.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},Y.getRelativePosition=function(t,e){var n,i,r=t.originalEvent||t,a=t.target||t.srcElement,o=a.getBoundingClientRect(),s=r.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=r.clientX,i=r.clientY);var l=parseFloat(Y.getStyle(a,"padding-left")),u=parseFloat(Y.getStyle(a,"padding-top")),c=parseFloat(Y.getStyle(a,"padding-right")),d=parseFloat(Y.getStyle(a,"padding-bottom")),h=o.right-o.left-l-c,f=o.bottom-o.top-u-d;return{x:n=Math.round((n-o.left-l)/h*a.width/e.currentDevicePixelRatio),y:i=Math.round((i-o.top-u)/f*a.height/e.currentDevicePixelRatio)}},Y.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},Y.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},Y._calculatePadding=function(t,e,n){return(e=Y.getStyle(t,e)).indexOf("%")>-1?n*parseInt(e,10)/100:parseInt(e,10)},Y._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},Y.getMaximumWidth=function(t){var e=Y._getParentNode(t);if(!e)return t.clientWidth;var n=e.clientWidth,i=n-Y._calculatePadding(e,"padding-left",n)-Y._calculatePadding(e,"padding-right",n),r=Y.getConstraintWidth(t);return isNaN(r)?i:Math.min(i,r)},Y.getMaximumHeight=function(t){var e=Y._getParentNode(t);if(!e)return t.clientHeight;var n=e.clientHeight,i=n-Y._calculatePadding(e,"padding-top",n)-Y._calculatePadding(e,"padding-bottom",n),r=Y.getConstraintHeight(t);return isNaN(r)?i:Math.min(i,r)},Y.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},Y.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var i=t.canvas,r=t.height,a=t.width;i.height=r*n,i.width=a*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=r+"px",i.style.width=a+"px")}},Y.fontString=function(t,e,n){return e+" "+t+"px "+n},Y.longestText=function(t,e,n,i){var r=(i=i||{}).data=i.data||{},a=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(r=i.data={},a=i.garbageCollect=[],i.font=e),t.font=e;var o,s,l,u,c,d=0,h=n.length;for(o=0;o<h;o++)if(null!=(u=n[o])&&!0!==Y.isArray(u))d=Y.measureText(t,r,a,d,u);else if(Y.isArray(u))for(s=0,l=u.length;s<l;s++)null==(c=u[s])||Y.isArray(c)||(d=Y.measureText(t,r,a,d,c));var f=a.length/2;if(f>n.length){for(o=0;o<f;o++)delete r[a[o]];a.splice(0,f)}return d},Y.measureText=function(t,e,n,i,r){var a=e[r];return a||(a=e[r]=t.measureText(r).width,n.push(r)),a>i&&(i=a),i},Y.numberOfLabelLines=function(t){var e=1;return Y.each(t,(function(t){Y.isArray(t)&&t.length>e&&(e=t.length)})),e},Y.color=_?function(t){return t instanceof CanvasGradient&&(t=z.global.defaultColor),_(t)}:function(t){return console.error("Color.js not found!"),t},Y.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:Y.color(t).saturate(.5).darken(.1).rgbString()}}(),Ze._adapters=$e,Ze.Animation=Z,Ze.animationService=Q,Ze.controllers=Qt,Ze.DatasetController=nt,Ze.defaults=z,Ze.Element=X,Ze.elements=wt,Ze.Interaction=re,Ze.layouts=pe,Ze.platform=De,Ze.plugins=Pe,Ze.Scale=gn,Ze.scaleService=Ee,Ze.Ticks=tn,Ze.Tooltip=Ye,Ze.helpers.each(li,(function(t,e){Ze.scaleService.registerScaleType(e,t,t._defaults)})),Pi)Pi.hasOwnProperty(Ii)&&Ze.plugins.register(Pi[Ii]);Ze.platform.initialize();var Li=Ze;return"undefined"!=typeof window&&(window.Chart=Ze),Ze.Chart=Ze,Ze.Legend=Pi.legend._element,Ze.Title=Pi.title._element,Ze.pluginService=Ze.plugins,Ze.PluginBase=Ze.Element.extend({}),Ze.canvasHelpers=Ze.helpers.canvas,Ze.layoutService=Ze.layouts,Ze.LinearScaleBase=wn,Ze.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(t){Ze[t]=function(e,n){return new Ze(e,Ze.helpers.merge(n||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}})),Li}(function(){try{return n("wd/R")}catch(t){}}())},MhJ7:function(t,e,n){t.exports=n.p+"static/img25-5795cf67db4d6df9ea8b64e5abe6a77b.png"},MvSz:function(t,e,n){n("ioFf");var i=n("LXxW"),r=n("0ycA"),a=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,s=o?function(t){return null==t?[]:(t=Object(t),i(o(t),(function(e){return a.call(t,e)})))}:r;t.exports=s},NKxu:function(t,e,n){n("pIFo"),n("Oyvg"),n("a1Th"),n("h7Nl"),n("Btvt");var i=n("lSCD"),r=n("E2jh"),a=n("GoyQ"),o=n("3Fdi"),s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,d=u.hasOwnProperty,h=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||r(t))&&(i(t)?h:s).test(o(t))}},Npjl:function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},NykK:function(t,e,n){var i=n("nmnc"),r=n("AP2z"),a=n("KfNM"),o=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":o&&o in Object(t)?r(t):a(t)}},O0oS:function(t,e,n){var i=n("Cwc5"),r=function(){try{var t=i(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=r},O7RO:function(t,e,n){var i=n("CMye"),r=n("7GkX");t.exports=function(t){for(var e=r(t),n=e.length;n--;){var a=e[n],o=t[a];e[n]=[a,o,i(o)]}return e}},O997:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA+VemSAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAKDklEQVR42u3da3BU5R3H8Ydl2c1YxoYkpNOOcrXqaN8545hkExBFahRBtCQBzAJyU+rlTat4wUGq1nbaEfCKBtiQAMYQUeul6jiAsS+c0VoUtFYxIYHYInJJCLvnObvbF9CZthOcRfbk7C98P6/JnpNDvvM8E/48Z5CBpEsunZbO5M998H7LIL/vFd4J+H0DAL4/AgaEETAgjIABYQQMCCNgQBgBA8IIGBBGwIAwAgaEETAgjIABYQQMCCNgQBgBA8IIGBBGwIAwAgaEETAgjPOS+kmmZ1jlOs7Yyi2swIAwAgaEETAgjIABYQQMCCNgQBgBA8IIGBBGwICwoN83gP/l16TTQJkUO9OwAgPCCBgQRsCAMAIGhBEwIIyAAWEEDAgjYEAYAQPCON/oJJhM6h+csXV6WIEBYQQMCCNgQBgBA8IIGBBGwIAwAgaEETAgjIABYZyJdZqYJOobk2z9gxUYEEbAgDACBoQRMCCMgAFhBAwII2BAGAEDwggYEEbAgDACBoQRMCCMgAFhBAwII2BAGAEDwggYEEbAgDACBoRxJlaOyfQsqUzP4sr25yG3sAIDwggYEEbAgDACBoQRMCCMgAFh/DMSfFUSqdoZDA5ZW1xc2LC5acXXft+PGlZg+Mpx7EW9vb2/b2/v7CiNVL86YeLs6YsWL8/z+75UEDByQjqdDiYcp/Lw4SPPf/jhjr1lFTVPXHPdokv9vq9cxxYaOSeZTBYkk8lbv/76X7eWRKo+CwaDa39UXNTQ3LRin9/3lmtYgZHTHMde2Nt77NG29s6O0vLq1ydMjE5fcMsyttgnEDAkpNPpQCLh/Pzw4e7nP/rok66yipqnKicvvMzv+/IbW2jISSaT+clkclE8vn9RSVnVZ8EhwVhxcVHD5qYVnX7fW39jBYY0x9oLe3uPPdLe3tleWl7958uvjFbPX/jAWX7fV38hYAwIJ7bYVx050r3xbzt2dZVV1DxTOXlhqd/35TW20Bhwksnk2clkckE8vn/BZWVVnw8ZEowNH17Y0PLCyj1+31u2sQLDV8Fg0NPpK2vt+b29xx7as2fvV6Xl1W+Nv6J2xrwBtMUmYPiqsnLCufn5P7wmHA41BwIBx6vrnNhiX9nd3dO4Y8fOrrKKmrqrr10QWbZ8pXQDbKHhqwfuW+QaY14zxrw246ZfF+zd21XtOE7UcaxnU1jJZOrsZDIxNx5PzH39jfe+KB8/Mza8qLChpXllm9/P41QRMHLGhvW/+9YY86Qx5slrp9xy0aFDR+ZYa2e4rvsTr65prT3PWrt8T8fe5aWR6ndC4dDasWNHbqlbvbzH7+eRCentAwauP7301K7WbY2/mjJ54shhw/KvDodDTR5vsU3CcSZ0d/es//jjT7vKKmrWTqqcX/HYilhON8IKjJx2z5L5rjHmDWPMG7Oid+V3dOz7zxbbsymsZDI1NJlMzI7HE7M3Nb26u3zczFjR8IL6F5tXtfn9PP4fAUNGQ+zRQ8aYp40xT0+eeuuFBw8ejlprZ7mue45X17TWHWOtu6yjY9+ykkj11nA4FBs7ZmRz3bO5scXO6e0BcDKvbHnys9ZtjUumTrlq9LBh+ZPC4fCmQCAQ9+p66XTaOI4zvru7Z+2O41vs2KTKeeNXPd7ga0OswJC25K55rjHmTWPMm9G59+S3tXVMdxwnaq1bmk5ndKb9KUulUkPj8URtPJ6obdz4cltk3Mz6oqKC2JbNq3b39/dPwBgwYmsePmSMWW2MWT1l2uLzDxw4GLXWrfV4iz3KWndpZ+e+pSWRqu2hUCg2evSI5nV1Dx3pj++ZLTQGpJdanvi8dduGe6+bfMXIgoL8iXnh8IZAINDr1fWOb7FtRU/P0bqdO//eVVZRs/6qq2+e8NjK9Z42xgqMAe3eJQtTxpi3jTFvz557z9lftXXc6DjOHGvdiIdb7LPi8cSseDwxa9Pzr+yJjJtRX1RYENvS8vgX2b4WAeOMsW7Nw0eMMWuMMWum3vDL8w58czBqXVtrrTvCq2ta646w1r2vc2/XfSWRqtZQKBQbNercptjxezltbKFxRtqy+fEv3t3WeH911eTRhYXDrsjLCzf0wxY70tNz9Nlduz7/Z2l5TePESXOvfPi3z55WgwSMM9qdt9+UevP1unfe277xposvvuDHQ4f+YE4oNGT7oEHevW01lUrlJRKJGd8ePPTWSy+/1V4+buYj112/+Pzv81lsoYETTvzmeJ0xZt3UG24b880330bd41vsUV5d03Xdc1zXvfvYvmN3l0Sq/hIKhWIjR57TVL/2kUOZfD0rMNCHLZtX7W7d1vhAdVXl2KKigsvz8sL1gwcHPJu+SqeNcRxb2tNz9JlPP/1HV6ZfxwoMfIc7b5+dMsZsNcZsnTv//sW7d7dPSyScOdba8R7+FjvjY3MJGMjQmuPzz/XGmPrrb7xt1P79B2pd141a647x657YQgPfw4vNq9pat214sHr6NT8dPrxwXF5eeJ2XW+yTYQUGTsOdd0RTxpjtxpjtNy9YetuXX7ZNdRxnjuPYCV5tsf8bAQNZUrf6wR5jTIMxpmHaL24fsX//gVpr3ai19jyvrskWGvBAywsr97y7tfE3pZf97ILi4qLyvLzwc4MHB7L+HxxYgQEP/fEP96eMMa3GmNZ5C5be8dePPjmazc9nBQb6yXOrH8z6qCYBA8IIGBBGwIAwAgaEETAgjIABYQQMCCNgQFjGk1iXXDrN+8ls4CRy/efvg/dbvDuD5zuwAgPCCBgQRsCAMAIGhBEwIIyAAWEEDAgjYEAYAQPCsn4mll8TKdmW65M/Z5qB8nOVbazAgDACBoQRMCCMgAFhBAwII2BAGAEDwggYEEbAgDDf3k6Y6aRTphM42f485JZcn4zjTCwAp4yAAWEEDAgjYEAYAQPCCBgQRsCAMAIGhBEwIMy3SSzgVDBB1zdWYEAYAQPCCBgQRsCAMAIGhBEwIIyAAWEEDAgjYECYb5NY2Z6sYVJnYONMrL6xAgPCCBgQRsCAMAIGhBEwIIyAAWEEDAgjYEAYAQPCeDshJPD31jdWYEAYAQPCCBgQRsCAMAIGhBEwIIyAAWEEDAgjYEAYbyeEBM7E6hsrMCCMgAFhBAwII2BAGAEDwggYEEbAgDACBoQRMCCMtxPmGJ7LwP4+so0VGBBGwIAwAgaEETAgjIABYQQMCCNgQBgBA8IIGBBGwIAwAgaEETAgjIABYQQMCCNgQBgBA8IIGBBGwIAwAgaE+XYmll9vm/PrbKVcf7tepnh+fePthABOGQEDwggYEEbAgDACBoQRMCCMgAFhBAwII2BAmG+TWJnKdMIl1yd1sv39ZhvPr2+5/lxYgQFhBAwII2BAGAEDwggYEEbAgDACBoQRMCCMgAFhg3J90gTAybECA8IIGBBGwIAwAgaEETAgjIABYQQMCCNgQBgBA8L+DeNkPEu1eJ56AAAAAElFTkSuQmCC"},"Of+w":function(t,e,n){var i=n("Cwc5")(n("Kz5y"),"WeakMap");t.exports=i},QVEU:function(t,e,n){var i=n("hypo"),r=n("UMY1")((function(t,e,n){i(t,n,e)}));t.exports=r},"Qh+N":function(t,e,n){t.exports=n.p+"static/img17-8bce544f67cd4192ea06d8f66d22a133.png"},QkVE:function(t,e,n){n("bWfx");var i=n("EpBk");t.exports=function(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}},QoRX:function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}},QqLw:function(t,e,n){var i=n("tadb"),r=n("ebwN"),a=n("HOxn"),o=n("yGk4"),s=n("Of+w"),l=n("NykK"),u=n("3Fdi"),c=u(i),d=u(r),h=u(a),f=u(o),p=u(s),g=l;(i&&"[object DataView]"!=g(new i(new ArrayBuffer(1)))||r&&"[object Map]"!=g(new r)||a&&"[object Promise]"!=g(a.resolve())||o&&"[object Set]"!=g(new o)||s&&"[object WeakMap]"!=g(new s))&&(g=function(t){var e=l(t),n="[object Object]"==e?t.constructor:void 0,i=n?u(n):"";if(i)switch(i){case c:return"[object DataView]";case d:return"[object Map]";case h:return"[object Promise]";case f:return"[object Set]";case p:return"[object WeakMap]"}return e}),t.exports=g},RXBc:function(t,e,n){"use strict";n.r(e);var i=n("IRj2"),r=n("q1tI"),a=n.n(r),o=n("Bl7J"),s=n("vrFN"),l=n("SMfn"),u=n("vOnD"),c=n("URa2"),d=n("DvE2"),h=n.n(d);n("O997");function f(){var t=g(["\n    display: grid;\n    text-align: right;\n    grid-template-columns: 1.2fr 1fr;\n    grid-template-rows: 1fr;\n    padding: 4em 2em;\n      .text {\n        grid-column: 1;\n      } \n    img {\n      height: 20em;\n      padding-top: 1.5em;\n    }\n    a {\n      img {\n        height: 1.5em;\n      }\n    }\n    h1 {\n      font-size: 4em;\n      letter-spacing: 10px;\n    }\n    p {\n      font-size: larger;\n    }\n  "]);return f=function(){return t},t}function p(){var t=g(["\n  height: 75vh;\n  text-align: center;\n  font-family: sans-serif;\n  h1 {\n    font-size: 1.5em;\n    letter-spacing: 10px;\n    text-transform: uppercase;\n    line-height: 1.2;\n    color: black;\n  }\n  p {\n    font-size: small;\n    color: black;\n    line-height: 1.5;\n    padding-right: 15px;\n  }\n  .heading {\n    color: #333652;\n    font-size: 2em !important;\n  }\n  a {\n    img {\n      height: 1em;\n      padding-right: 1em;\n      padding-top: 1em;\n    }\n  }\n  img {\n    height: 8em;\n    padding-top: 1em;\n  }\n  .text {\n    grid-column: 1;\n    grid-row: 1;\n    padding-top: 2em;\n  } \n  .icon {\n    text-align: center;\n    grid-column: 2;\n    border-radius: 50%;\n  }\n  ","\n"]);return p=function(){return t},t}function g(t,e){return e||(e=t.slice(0)),t.raw=e,t}var m=u.b.section(p(),c.a.laptop(f())),v=function(){return a.a.createElement(m,null,a.a.createElement("div",{className:"icon"},a.a.createElement("img",{src:h.a,alt:"astro"})),a.a.createElement("div",{className:"text"},a.a.createElement("p",{className:"heading"},"Persist Ponte."),a.a.createElement("p",null,"There is no city in South Africa that has had changing faces like Hillbrow. The changing faces represent a city of geo-political significance. Once an exclusively white metropolitan neighborhood then, an emerging black middle class hotspot and now a dilapidated haven for a daylight underworld. "),a.a.createElement("p",null," - Rita T.M. Kufandarerwa (2017) ")))},b=(n("Z2Ku"),n("L9s1"),n("CyHz"),n("md7G")),y=n("foSv"),x=n("JX7q"),w=n("Ji7U"),_=(n("Vd3H"),n("SRfc"),n("rePB")),M=(n("dRSK"),n("KQm4")),k=(n("f3/d"),n("2Spj"),n("LK8F"),n("1OyB")),S=n("vuIU"),T=(n("HAE/"),n("0l/t"),n("V+eJ"),n("a1Th"),n("h7Nl"),n("pIFo"),n("bWfx"),n("KKXr"),n("eM6i"),n("rGqo"),n("yt8O"),n("Btvt"),n("RW0V"),n("8+KV"),n("9Pxm")),C=n("19JU"),D={addClass:T.c,removeClass:T.F,hasClass:T.n,toggleClass:T.I,attr:T.e,removeAttr:T.E,data:T.i,transform:T.J,transition:T.K,on:T.v,off:T.t,trigger:T.M,transitionEnd:T.L,outerWidth:T.x,outerHeight:T.w,offset:T.u,css:T.h,each:T.j,html:T.o,text:T.H,is:T.q,index:T.p,eq:T.k,append:T.d,prepend:T.A,next:T.r,nextAll:T.s,prev:T.B,prevAll:T.C,parent:T.y,parents:T.z,closest:T.g,find:T.m,children:T.f,filter:T.l,remove:T.D,add:T.b,styles:T.G};Object.keys(D).forEach((function(t){T.a.fn[t]=T.a.fn[t]||D[t]}));var P={deleteProps:function(t){var e=t;Object.keys(e).forEach((function(t){try{e[t]=null}catch(n){}try{delete e[t]}catch(n){}}))},nextTick:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return setTimeout(t,e)},now:function(){return Date.now()},getTranslate:function(t){var e,n,i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",a=C.b.getComputedStyle(t,null);return C.b.WebKitCSSMatrix?((n=a.transform||a.webkitTransform).split(",").length>6&&(n=n.split(", ").map((function(t){return t.replace(",",".")})).join(", ")),i=new C.b.WebKitCSSMatrix("none"===n?"":n)):e=(i=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===r&&(n=C.b.WebKitCSSMatrix?i.m41:16===e.length?parseFloat(e[12]):parseFloat(e[4])),"y"===r&&(n=C.b.WebKitCSSMatrix?i.m42:16===e.length?parseFloat(e[13]):parseFloat(e[5])),n||0},parseUrlQuery:function(t){var e,n,i,r,a={},o=t||C.b.location.href;if("string"==typeof o&&o.length)for(r=(n=(o=o.indexOf("?")>-1?o.replace(/\S*\?/,""):"").split("&").filter((function(t){return""!==t}))).length,e=0;e<r;e+=1)i=n[e].replace(/#\S+/g,"").split("="),a[decodeURIComponent(i[0])]=void 0===i[1]?void 0:decodeURIComponent(i[1])||"";return a},isObject:function(t){return"object"==typeof t&&null!==t&&t.constructor&&t.constructor===Object},extend:function(){for(var t=Object(arguments.length<=0?void 0:arguments[0]),e=1;e<arguments.length;e+=1){var n=e<0||arguments.length<=e?void 0:arguments[e];if(null!=n)for(var i=Object.keys(Object(n)),r=0,a=i.length;r<a;r+=1){var o=i[r],s=Object.getOwnPropertyDescriptor(n,o);void 0!==s&&s.enumerable&&(P.isObject(t[o])&&P.isObject(n[o])?P.extend(t[o],n[o]):!P.isObject(t[o])&&P.isObject(n[o])?(t[o]={},P.extend(t[o],n[o])):t[o]=n[o])}}return t}},E={touch:C.b.Modernizr&&!0===C.b.Modernizr.touch||!!(C.b.navigator.maxTouchPoints>0||"ontouchstart"in C.b||C.b.DocumentTouch&&C.a instanceof C.b.DocumentTouch),pointerEvents:!!C.b.PointerEvent&&"maxTouchPoints"in C.b.navigator&&C.b.navigator.maxTouchPoints>0,observer:"MutationObserver"in C.b||"WebkitMutationObserver"in C.b,passiveListener:function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});C.b.addEventListener("testPassiveListener",null,e)}catch(n){}return t}(),gestures:"ongesturestart"in C.b},A=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(k.a)(this,t);var n=this;n.params=e,n.eventsListeners={},n.params&&n.params.on&&Object.keys(n.params.on).forEach((function(t){n.on(t,n.params.on[t])}))}return Object(S.a)(t,[{key:"on",value:function(t,e,n){var i=this;if("function"!=typeof e)return i;var r=n?"unshift":"push";return t.split(" ").forEach((function(t){i.eventsListeners[t]||(i.eventsListeners[t]=[]),i.eventsListeners[t][r](e)})),i}},{key:"once",value:function(t,e,n){var i=this;if("function"!=typeof e)return i;function r(){i.off(t,r),r.f7proxy&&delete r.f7proxy;for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];e.apply(i,a)}return r.f7proxy=e,i.on(t,r,n)}},{key:"off",value:function(t,e){var n=this;return n.eventsListeners?(t.split(" ").forEach((function(t){void 0===e?n.eventsListeners[t]=[]:n.eventsListeners[t]&&n.eventsListeners[t].length&&n.eventsListeners[t].forEach((function(i,r){(i===e||i.f7proxy&&i.f7proxy===e)&&n.eventsListeners[t].splice(r,1)}))})),n):n}},{key:"emit",value:function(){var t,e,n,i=this;if(!i.eventsListeners)return i;for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];"string"==typeof a[0]||Array.isArray(a[0])?(t=a[0],e=a.slice(1,a.length),n=i):(t=a[0].events,e=a[0].data,n=a[0].context||i);var s=Array.isArray(t)?t:t.split(" ");return s.forEach((function(t){if(i.eventsListeners&&i.eventsListeners[t]){var r=[];i.eventsListeners[t].forEach((function(t){r.push(t)})),r.forEach((function(t){t.apply(n,e)}))}})),i}},{key:"useModulesParams",value:function(t){var e=this;e.modules&&Object.keys(e.modules).forEach((function(n){var i=e.modules[n];i.params&&P.extend(t,i.params)}))}},{key:"useModules",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this;e.modules&&Object.keys(e.modules).forEach((function(n){var i=e.modules[n],r=t[n]||{};i.instance&&Object.keys(i.instance).forEach((function(t){var n=i.instance[t];e[t]="function"==typeof n?n.bind(e):n})),i.on&&e.on&&Object.keys(i.on).forEach((function(t){e.on(t,i.on[t])})),i.create&&i.create.bind(e)(r)}))}}],[{key:"installModule",value:function(t){var e=this;e.prototype.modules||(e.prototype.modules={});var n=t.name||"".concat(Object.keys(e.prototype.modules).length,"_").concat(P.now());if(e.prototype.modules[n]=t,t.proto&&Object.keys(t.proto).forEach((function(n){e.prototype[n]=t.proto[n]})),t.static&&Object.keys(t.static).forEach((function(n){e[n]=t.static[n]})),t.install){for(var i=arguments.length,r=new Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];t.install.apply(e,r)}return e}},{key:"use",value:function(t){var e=this;if(Array.isArray(t))return t.forEach((function(t){return e.installModule(t)})),e;for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return e.installModule.apply(e,[t].concat(i))}},{key:"components",set:function(t){this.use&&this.use(t)}}]),t}();var O={updateSize:function(){var t,e,n=this.$el;t=void 0!==this.params.width?this.params.width:n[0].clientWidth,e=void 0!==this.params.height?this.params.height:n[0].clientHeight,0===t&&this.isHorizontal()||0===e&&this.isVertical()||(t=t-parseInt(n.css("padding-left"),10)-parseInt(n.css("padding-right"),10),e=e-parseInt(n.css("padding-top"),10)-parseInt(n.css("padding-bottom"),10),P.extend(this,{width:t,height:e,size:this.isHorizontal()?t:e}))},updateSlides:function(){var t=this.params,e=this.$wrapperEl,n=this.size,i=this.rtlTranslate,r=this.wrongRTL,a=this.virtual&&t.virtual.enabled,o=a?this.virtual.slides.length:this.slides.length,s=e.children(".".concat(this.params.slideClass)),l=a?this.virtual.slides.length:s.length,u=[],c=[],d=[];function h(e){return!t.cssMode||e!==s.length-1}var f=t.slidesOffsetBefore;"function"==typeof f&&(f=t.slidesOffsetBefore.call(this));var p=t.slidesOffsetAfter;"function"==typeof p&&(p=t.slidesOffsetAfter.call(this));var g=this.snapGrid.length,m=this.snapGrid.length,v=t.spaceBetween,b=-f,y=0,x=0;if(void 0!==n){var w,_;"string"==typeof v&&v.indexOf("%")>=0&&(v=parseFloat(v.replace("%",""))/100*n),this.virtualSize=-v,i?s.css({marginLeft:"",marginTop:""}):s.css({marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(w=Math.floor(l/t.slidesPerColumn)===l/this.params.slidesPerColumn?l:Math.ceil(l/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(w=Math.max(w,t.slidesPerView*t.slidesPerColumn)));for(var M,k=t.slidesPerColumn,S=w/k,T=Math.floor(l/t.slidesPerColumn),D=0;D<l;D+=1){_=0;var E=s.eq(D);if(t.slidesPerColumn>1){var A=void 0,O=void 0,I=void 0;if("row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){var L=Math.floor(D/(t.slidesPerGroup*t.slidesPerColumn)),F=D-t.slidesPerColumn*t.slidesPerGroup*L,z=0===L?t.slidesPerGroup:Math.min(Math.ceil((l-L*k*t.slidesPerGroup)/k),t.slidesPerGroup);A=(O=F-(I=Math.floor(F/z))*z+L*t.slidesPerGroup)+I*w/k,E.css({"-webkit-box-ordinal-group":A,"-moz-box-ordinal-group":A,"-ms-flex-order":A,"-webkit-order":A,order:A})}else"column"===t.slidesPerColumnFill?(I=D-(O=Math.floor(D/k))*k,(O>T||O===T&&I===k-1)&&(I+=1)>=k&&(I=0,O+=1)):O=D-(I=Math.floor(D/S))*S;E.css("margin-".concat(this.isHorizontal()?"top":"left"),0!==I&&t.spaceBetween&&"".concat(t.spaceBetween,"px"))}if("none"!==E.css("display")){if("auto"===t.slidesPerView){var N=C.b.getComputedStyle(E[0],null),j=E[0].style.transform,R=E[0].style.webkitTransform;if(j&&(E[0].style.transform="none"),R&&(E[0].style.webkitTransform="none"),t.roundLengths)_=this.isHorizontal()?E.outerWidth(!0):E.outerHeight(!0);else if(this.isHorizontal()){var B=parseFloat(N.getPropertyValue("width")),Y=parseFloat(N.getPropertyValue("padding-left")),W=parseFloat(N.getPropertyValue("padding-right")),V=parseFloat(N.getPropertyValue("margin-left")),H=parseFloat(N.getPropertyValue("margin-right")),G=N.getPropertyValue("box-sizing");_=G&&"border-box"===G?B+V+H:B+Y+W+V+H}else{var U=parseFloat(N.getPropertyValue("height")),q=parseFloat(N.getPropertyValue("padding-top")),X=parseFloat(N.getPropertyValue("padding-bottom")),K=parseFloat(N.getPropertyValue("margin-top")),Z=parseFloat(N.getPropertyValue("margin-bottom")),Q=N.getPropertyValue("box-sizing");_=Q&&"border-box"===Q?U+K+Z:U+q+X+K+Z}j&&(E[0].style.transform=j),R&&(E[0].style.webkitTransform=R),t.roundLengths&&(_=Math.floor(_))}else _=(n-(t.slidesPerView-1)*v)/t.slidesPerView,t.roundLengths&&(_=Math.floor(_)),s[D]&&(this.isHorizontal()?s[D].style.width="".concat(_,"px"):s[D].style.height="".concat(_,"px"));s[D]&&(s[D].swiperSlideSize=_),d.push(_),t.centeredSlides?(b=b+_/2+y/2+v,0===y&&0!==D&&(b=b-n/2-v),0===D&&(b=b-n/2-v),Math.abs(b)<.001&&(b=0),t.roundLengths&&(b=Math.floor(b)),x%t.slidesPerGroup==0&&u.push(b),c.push(b)):(t.roundLengths&&(b=Math.floor(b)),(x-Math.min(this.params.slidesPerGroupSkip,x))%this.params.slidesPerGroup==0&&u.push(b),c.push(b),b=b+_+v),this.virtualSize+=_+v,y=_,x+=1}}if(this.virtualSize=Math.max(this.virtualSize,n)+p,i&&r&&("slide"===t.effect||"coverflow"===t.effect)&&e.css({width:"".concat(this.virtualSize+t.spaceBetween,"px")}),t.setWrapperSize&&(this.isHorizontal()?e.css({width:"".concat(this.virtualSize+t.spaceBetween,"px")}):e.css({height:"".concat(this.virtualSize+t.spaceBetween,"px")})),t.slidesPerColumn>1&&(this.virtualSize=(_+t.spaceBetween)*w,this.virtualSize=Math.ceil(this.virtualSize/t.slidesPerColumn)-t.spaceBetween,this.isHorizontal()?e.css({width:"".concat(this.virtualSize+t.spaceBetween,"px")}):e.css({height:"".concat(this.virtualSize+t.spaceBetween,"px")}),t.centeredSlides)){M=[];for(var J=0;J<u.length;J+=1){var $=u[J];t.roundLengths&&($=Math.floor($)),u[J]<this.virtualSize+u[0]&&M.push($)}u=M}if(!t.centeredSlides){M=[];for(var tt=0;tt<u.length;tt+=1){var et=u[tt];t.roundLengths&&(et=Math.floor(et)),u[tt]<=this.virtualSize-n&&M.push(et)}u=M,Math.floor(this.virtualSize-n)-Math.floor(u[u.length-1])>1&&u.push(this.virtualSize-n)}if(0===u.length&&(u=[0]),0!==t.spaceBetween&&(this.isHorizontal()?i?s.filter(h).css({marginLeft:"".concat(v,"px")}):s.filter(h).css({marginRight:"".concat(v,"px")}):s.filter(h).css({marginBottom:"".concat(v,"px")})),t.centeredSlides&&t.centeredSlidesBounds){var nt=0;d.forEach((function(e){nt+=e+(t.spaceBetween?t.spaceBetween:0)}));var it=(nt-=t.spaceBetween)-n;u=u.map((function(t){return t<0?-f:t>it?it+p:t}))}if(t.centerInsufficientSlides){var rt=0;if(d.forEach((function(e){rt+=e+(t.spaceBetween?t.spaceBetween:0)})),(rt-=t.spaceBetween)<n){var at=(n-rt)/2;u.forEach((function(t,e){u[e]=t-at})),c.forEach((function(t,e){c[e]=t+at}))}}P.extend(this,{slides:s,snapGrid:u,slidesGrid:c,slidesSizesGrid:d}),l!==o&&this.emit("slidesLengthChange"),u.length!==g&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),c.length!==m&&this.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(t){var e,n=[],i=0;if("number"==typeof t?this.setTransition(t):!0===t&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&this.params.slidesPerView>1)if(this.params.centeredSlides)n.push.apply(n,Object(M.a)(this.visibleSlides));else for(e=0;e<Math.ceil(this.params.slidesPerView);e+=1){var r=this.activeIndex+e;if(r>this.slides.length)break;n.push(this.slides.eq(r)[0])}else n.push(this.slides.eq(this.activeIndex)[0]);for(e=0;e<n.length;e+=1)if(void 0!==n[e]){var a=n[e].offsetHeight;i=a>i?a:i}i&&this.$wrapperEl.css("height","".concat(i,"px"))},updateSlidesOffset:function(){for(var t=this.slides,e=0;e<t.length;e+=1)t[e].swiperSlideOffset=this.isHorizontal()?t[e].offsetLeft:t[e].offsetTop},updateSlidesProgress:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,e=this,n=e.params,i=e.slides,r=e.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&e.updateSlidesOffset();var a=-t;r&&(a=t),i.removeClass(n.slideVisibleClass),e.visibleSlidesIndexes=[],e.visibleSlides=[];for(var o=0;o<i.length;o+=1){var s=i[o],l=(a+(n.centeredSlides?e.minTranslate():0)-s.swiperSlideOffset)/(s.swiperSlideSize+n.spaceBetween);if(n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight){var u=-(a-s.swiperSlideOffset),c=u+e.slidesSizesGrid[o],d=u>=0&&u<e.size-1||c>1&&c<=e.size||u<=0&&c>=e.size;d&&(e.visibleSlides.push(s),e.visibleSlidesIndexes.push(o),i.eq(o).addClass(n.slideVisibleClass))}s.progress=r?-l:l}e.visibleSlides=Object(T.a)(e.visibleSlides)}},updateProgress:function(t){if(void 0===t){var e=this.rtlTranslate?-1:1;t=this&&this.translate&&this.translate*e||0}var n=this.params,i=this.maxTranslate()-this.minTranslate(),r=this.progress,a=this.isBeginning,o=this.isEnd,s=a,l=o;0===i?(r=0,a=!0,o=!0):(a=(r=(t-this.minTranslate())/i)<=0,o=r>=1),P.extend(this,{progress:r,isBeginning:a,isEnd:o}),(n.watchSlidesProgress||n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight)&&this.updateSlidesProgress(t),a&&!s&&this.emit("reachBeginning toEdge"),o&&!l&&this.emit("reachEnd toEdge"),(s&&!a||l&&!o)&&this.emit("fromEdge"),this.emit("progress",r)},updateSlidesClasses:function(){var t,e=this.slides,n=this.params,i=this.$wrapperEl,r=this.activeIndex,a=this.realIndex,o=this.virtual&&n.virtual.enabled;e.removeClass("".concat(n.slideActiveClass," ").concat(n.slideNextClass," ").concat(n.slidePrevClass," ").concat(n.slideDuplicateActiveClass," ").concat(n.slideDuplicateNextClass," ").concat(n.slideDuplicatePrevClass)),(t=o?this.$wrapperEl.find(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(r,'"]')):e.eq(r)).addClass(n.slideActiveClass),n.loop&&(t.hasClass(n.slideDuplicateClass)?i.children(".".concat(n.slideClass,":not(.").concat(n.slideDuplicateClass,')[data-swiper-slide-index="').concat(a,'"]')).addClass(n.slideDuplicateActiveClass):i.children(".".concat(n.slideClass,".").concat(n.slideDuplicateClass,'[data-swiper-slide-index="').concat(a,'"]')).addClass(n.slideDuplicateActiveClass));var s=t.nextAll(".".concat(n.slideClass)).eq(0).addClass(n.slideNextClass);n.loop&&0===s.length&&(s=e.eq(0)).addClass(n.slideNextClass);var l=t.prevAll(".".concat(n.slideClass)).eq(0).addClass(n.slidePrevClass);n.loop&&0===l.length&&(l=e.eq(-1)).addClass(n.slidePrevClass),n.loop&&(s.hasClass(n.slideDuplicateClass)?i.children(".".concat(n.slideClass,":not(.").concat(n.slideDuplicateClass,')[data-swiper-slide-index="').concat(s.attr("data-swiper-slide-index"),'"]')).addClass(n.slideDuplicateNextClass):i.children(".".concat(n.slideClass,".").concat(n.slideDuplicateClass,'[data-swiper-slide-index="').concat(s.attr("data-swiper-slide-index"),'"]')).addClass(n.slideDuplicateNextClass),l.hasClass(n.slideDuplicateClass)?i.children(".".concat(n.slideClass,":not(.").concat(n.slideDuplicateClass,')[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(n.slideDuplicatePrevClass):i.children(".".concat(n.slideClass,".").concat(n.slideDuplicateClass,'[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(n.slideDuplicatePrevClass))},updateActiveIndex:function(t){var e,n=this.rtlTranslate?this.translate:-this.translate,i=this.slidesGrid,r=this.snapGrid,a=this.params,o=this.activeIndex,s=this.realIndex,l=this.snapIndex,u=t;if(void 0===u){for(var c=0;c<i.length;c+=1)void 0!==i[c+1]?n>=i[c]&&n<i[c+1]-(i[c+1]-i[c])/2?u=c:n>=i[c]&&n<i[c+1]&&(u=c+1):n>=i[c]&&(u=c);a.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(r.indexOf(n)>=0)e=r.indexOf(n);else{var d=Math.min(a.slidesPerGroupSkip,u);e=d+Math.floor((u-d)/a.slidesPerGroup)}if(e>=r.length&&(e=r.length-1),u!==o){var h=parseInt(this.slides.eq(u).attr("data-swiper-slide-index")||u,10);P.extend(this,{snapIndex:e,realIndex:h,previousIndex:o,activeIndex:u}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),s!==h&&this.emit("realIndexChange"),(this.initialized||this.runCallbacksOnInit)&&this.emit("slideChange")}else e!==l&&(this.snapIndex=e,this.emit("snapIndexChange"))},updateClickedSlide:function(t){var e=this.params,n=Object(T.a)(t.target).closest(".".concat(e.slideClass))[0],i=!1;if(n)for(var r=0;r<this.slides.length;r+=1)this.slides[r]===n&&(i=!0);if(!n||!i)return this.clickedSlide=void 0,void(this.clickedIndex=void 0);this.clickedSlide=n,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(Object(T.a)(n).attr("data-swiper-slide-index"),10):this.clickedIndex=Object(T.a)(n).index(),e.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}};var I={getTranslate:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.isHorizontal()?"x":"y",e=this,n=e.params,i=e.rtlTranslate,r=e.translate,a=e.$wrapperEl;if(n.virtualTranslate)return i?-r:r;if(n.cssMode)return r;var o=P.getTranslate(a[0],t);return i&&(o=-o),o||0},setTranslate:function(t,e){var n=this.rtlTranslate,i=this.params,r=this.$wrapperEl,a=this.wrapperEl,o=this.progress,s=0,l=0;this.isHorizontal()?s=n?-t:t:l=t,i.roundLengths&&(s=Math.floor(s),l=Math.floor(l)),i.cssMode?a[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-s:-l:i.virtualTranslate||r.transform("translate3d(".concat(s,"px, ").concat(l,"px, ").concat(0,"px)")),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?s:l;var u=this.maxTranslate()-this.minTranslate();(0===u?0:(t-this.minTranslate())/u)!==o&&this.updateProgress(t),this.emit("setTranslate",this.translate,e)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4?arguments[4]:void 0,a=this,o=a.params,s=a.wrapperEl;if(a.animating&&o.preventInteractionOnTransition)return!1;var l,u=a.minTranslate(),c=a.maxTranslate();if(l=i&&t>u?u:i&&t<c?c:t,a.updateProgress(l),o.cssMode){var d,h=a.isHorizontal();if(0===e)s[h?"scrollLeft":"scrollTop"]=-l;else if(s.scrollTo)s.scrollTo((d={},Object(_.a)(d,h?"left":"top",-l),Object(_.a)(d,"behavior","smooth"),d));else s[h?"scrollLeft":"scrollTop"]=-l;return!0}return 0===e?(a.setTransition(0),a.setTranslate(l),n&&(a.emit("beforeTransitionStart",e,r),a.emit("transitionEnd"))):(a.setTransition(e),a.setTranslate(l),n&&(a.emit("beforeTransitionStart",e,r),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(t){a&&!a.destroyed&&t.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,n&&a.emit("transitionEnd"))}),a.$wrapperEl[0].addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd))),!0}};var L={setTransition:function(t,e){this.params.cssMode||this.$wrapperEl.transition(t),this.emit("setTransition",t,e)},transitionStart:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1?arguments[1]:void 0,n=this,i=n.activeIndex,r=n.params,a=n.previousIndex;if(!r.cssMode){r.autoHeight&&n.updateAutoHeight();var o=e;if(o||(o=i>a?"next":i<a?"prev":"reset"),n.emit("transitionStart"),t&&i!==a){if("reset"===o)return void n.emit("slideResetTransitionStart");n.emit("slideChangeTransitionStart"),"next"===o?n.emit("slideNextTransitionStart"):n.emit("slidePrevTransitionStart")}}},transitionEnd:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1?arguments[1]:void 0,n=this,i=n.activeIndex,r=n.previousIndex,a=n.params;if(n.animating=!1,!a.cssMode){n.setTransition(0);var o=e;if(o||(o=i>r?"next":i<r?"prev":"reset"),n.emit("transitionEnd"),t&&i!==r){if("reset"===o)return void n.emit("slideResetTransitionEnd");n.emit("slideChangeTransitionEnd"),"next"===o?n.emit("slideNextTransitionEnd"):n.emit("slidePrevTransitionEnd")}}}};var F={slideTo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3?arguments[3]:void 0,r=this,a=t;a<0&&(a=0);var o=r.params,s=r.snapGrid,l=r.slidesGrid,u=r.previousIndex,c=r.activeIndex,d=r.rtlTranslate,h=r.wrapperEl;if(r.animating&&o.preventInteractionOnTransition)return!1;var f=Math.min(r.params.slidesPerGroupSkip,a),p=f+Math.floor((a-f)/r.params.slidesPerGroup);p>=s.length&&(p=s.length-1),(c||o.initialSlide||0)===(u||0)&&n&&r.emit("beforeSlideChangeStart");var g,m=-s[p];if(r.updateProgress(m),o.normalizeSlideIndex)for(var v=0;v<l.length;v+=1)-Math.floor(100*m)>=Math.floor(100*l[v])&&(a=v);if(r.initialized&&a!==c){if(!r.allowSlideNext&&m<r.translate&&m<r.minTranslate())return!1;if(!r.allowSlidePrev&&m>r.translate&&m>r.maxTranslate()&&(c||0)!==a)return!1}if(g=a>c?"next":a<c?"prev":"reset",d&&-m===r.translate||!d&&m===r.translate)return r.updateActiveIndex(a),o.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==o.effect&&r.setTranslate(m),"reset"!==g&&(r.transitionStart(n,g),r.transitionEnd(n,g)),!1;if(o.cssMode){var b,y=r.isHorizontal();if(0===e)h[y?"scrollLeft":"scrollTop"]=-m;else if(h.scrollTo)h.scrollTo((b={},Object(_.a)(b,y?"left":"top",-m),Object(_.a)(b,"behavior","smooth"),b));else h[y?"scrollLeft":"scrollTop"]=-m;return!0}return 0===e?(r.setTransition(0),r.setTranslate(m),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,i),r.transitionStart(n,g),r.transitionEnd(n,g)):(r.setTransition(e),r.setTranslate(m),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,i),r.transitionStart(n,g),r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(t){r&&!r.destroyed&&t.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(n,g))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3?arguments[3]:void 0,r=this,a=t;return r.params.loop&&(a+=r.loopedSlides),r.slideTo(a,e,n,i)},slideNext:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,i=this,r=i.params,a=i.animating,o=i.activeIndex<r.slidesPerGroupSkip?1:r.slidesPerGroup;if(r.loop){if(a)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}return i.slideTo(i.activeIndex+o,t,e,n)},slidePrev:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,i=this,r=i.params,a=i.animating,o=i.snapGrid,s=i.slidesGrid,l=i.rtlTranslate;if(r.loop){if(a)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}var u=l?i.translate:-i.translate;function c(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}var d,h=c(u),f=o.map((function(t){return c(t)})),p=(s.map((function(t){return c(t)})),o[f.indexOf(h)],o[f.indexOf(h)-1]);return void 0===p&&r.cssMode&&o.forEach((function(t){!p&&h>=t&&(p=t)})),void 0!==p&&(d=s.indexOf(p))<0&&(d=i.activeIndex-1),i.slideTo(d,t,e,n)},slideReset:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,i=this;return i.slideTo(i.activeIndex,t,e,n)},slideToClosest:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,r=this,a=r.activeIndex,o=Math.min(r.params.slidesPerGroupSkip,a),s=o+Math.floor((a-o)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[s]){var u=r.snapGrid[s],c=r.snapGrid[s+1];l-u>(c-u)*i&&(a+=r.params.slidesPerGroup)}else{var d=r.snapGrid[s-1],h=r.snapGrid[s];l-d<=(h-d)*i&&(a-=r.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,r.slidesGrid.length-1),r.slideTo(a,t,e,n)},slideToClickedSlide:function(){var t,e=this,n=e.params,i=e.$wrapperEl,r="auto"===n.slidesPerView?e.slidesPerViewDynamic():n.slidesPerView,a=e.clickedIndex;if(n.loop){if(e.animating)return;t=parseInt(Object(T.a)(e.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?a<e.loopedSlides-r/2||a>e.slides.length-e.loopedSlides+r/2?(e.loopFix(),a=i.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(t,'"]:not(.').concat(n.slideDuplicateClass,")")).eq(0).index(),P.nextTick((function(){e.slideTo(a)}))):e.slideTo(a):a>e.slides.length-r?(e.loopFix(),a=i.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(t,'"]:not(.').concat(n.slideDuplicateClass,")")).eq(0).index(),P.nextTick((function(){e.slideTo(a)}))):e.slideTo(a)}else e.slideTo(a)}};var z={loopCreate:function(){var t=this,e=t.params,n=t.$wrapperEl;n.children(".".concat(e.slideClass,".").concat(e.slideDuplicateClass)).remove();var i=n.children(".".concat(e.slideClass));if(e.loopFillGroupWithBlank){var r=e.slidesPerGroup-i.length%e.slidesPerGroup;if(r!==e.slidesPerGroup){for(var a=0;a<r;a+=1){var o=Object(T.a)(C.a.createElement("div")).addClass("".concat(e.slideClass," ").concat(e.slideBlankClass));n.append(o)}i=n.children(".".concat(e.slideClass))}}"auto"!==e.slidesPerView||e.loopedSlides||(e.loopedSlides=i.length),t.loopedSlides=Math.ceil(parseFloat(e.loopedSlides||e.slidesPerView,10)),t.loopedSlides+=e.loopAdditionalSlides,t.loopedSlides>i.length&&(t.loopedSlides=i.length);var s=[],l=[];i.each((function(e,n){var r=Object(T.a)(n);e<t.loopedSlides&&l.push(n),e<i.length&&e>=i.length-t.loopedSlides&&s.push(n),r.attr("data-swiper-slide-index",e)}));for(var u=0;u<l.length;u+=1)n.append(Object(T.a)(l[u].cloneNode(!0)).addClass(e.slideDuplicateClass));for(var c=s.length-1;c>=0;c-=1)n.prepend(Object(T.a)(s[c].cloneNode(!0)).addClass(e.slideDuplicateClass))},loopFix:function(){this.emit("beforeLoopFix");var t,e=this.activeIndex,n=this.slides,i=this.loopedSlides,r=this.allowSlidePrev,a=this.allowSlideNext,o=this.snapGrid,s=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var l=-o[e]-this.getTranslate();if(e<i)t=n.length-3*i+e,t+=i,this.slideTo(t,0,!1,!0)&&0!==l&&this.setTranslate((s?-this.translate:this.translate)-l);else if(e>=n.length-i){t=-n.length+e+i,t+=i,this.slideTo(t,0,!1,!0)&&0!==l&&this.setTranslate((s?-this.translate:this.translate)-l)}this.allowSlidePrev=r,this.allowSlideNext=a,this.emit("loopFix")},loopDestroy:function(){var t=this.$wrapperEl,e=this.params,n=this.slides;t.children(".".concat(e.slideClass,".").concat(e.slideDuplicateClass,",.").concat(e.slideClass,".").concat(e.slideBlankClass)).remove(),n.removeAttr("data-swiper-slide-index")}};var N={setGrabCursor:function(t){if(!(E.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)){var e=this.el;e.style.cursor="move",e.style.cursor=t?"-webkit-grabbing":"-webkit-grab",e.style.cursor=t?"-moz-grabbin":"-moz-grab",e.style.cursor=t?"grabbing":"grab"}},unsetGrabCursor:function(){E.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}};var j,R,B,Y,W,V,H,G,U,q,X,K,Z,Q,J,$={appendSlide:function(t){var e=this.$wrapperEl,n=this.params;if(n.loop&&this.loopDestroy(),"object"==typeof t&&"length"in t)for(var i=0;i<t.length;i+=1)t[i]&&e.append(t[i]);else e.append(t);n.loop&&this.loopCreate(),n.observer&&E.observer||this.update()},prependSlide:function(t){var e=this.params,n=this.$wrapperEl,i=this.activeIndex;e.loop&&this.loopDestroy();var r=i+1;if("object"==typeof t&&"length"in t){for(var a=0;a<t.length;a+=1)t[a]&&n.prepend(t[a]);r=i+t.length}else n.prepend(t);e.loop&&this.loopCreate(),e.observer&&E.observer||this.update(),this.slideTo(r,0,!1)},addSlide:function(t,e){var n=this.$wrapperEl,i=this.params,r=this.activeIndex;i.loop&&(r-=this.loopedSlides,this.loopDestroy(),this.slides=n.children(".".concat(i.slideClass)));var a=this.slides.length;if(t<=0)this.prependSlide(e);else if(t>=a)this.appendSlide(e);else{for(var o=r>t?r+1:r,s=[],l=a-1;l>=t;l-=1){var u=this.slides.eq(l);u.remove(),s.unshift(u)}if("object"==typeof e&&"length"in e){for(var c=0;c<e.length;c+=1)e[c]&&n.append(e[c]);o=r>t?r+e.length:r}else n.append(e);for(var d=0;d<s.length;d+=1)n.append(s[d]);i.loop&&this.loopCreate(),i.observer&&E.observer||this.update(),i.loop?this.slideTo(o+this.loopedSlides,0,!1):this.slideTo(o,0,!1)}},removeSlide:function(t){var e=this.params,n=this.$wrapperEl,i=this.activeIndex;e.loop&&(i-=this.loopedSlides,this.loopDestroy(),this.slides=n.children(".".concat(e.slideClass)));var r,a=i;if("object"==typeof t&&"length"in t){for(var o=0;o<t.length;o+=1)r=t[o],this.slides[r]&&this.slides.eq(r).remove(),r<a&&(a-=1);a=Math.max(a,0)}else r=t,this.slides[r]&&this.slides.eq(r).remove(),r<a&&(a-=1),a=Math.max(a,0);e.loop&&this.loopCreate(),e.observer&&E.observer||this.update(),e.loop?this.slideTo(a+this.loopedSlides,0,!1):this.slideTo(a,0,!1)},removeAllSlides:function(){for(var t=[],e=0;e<this.slides.length;e+=1)t.push(e);this.removeSlide(t)}},tt=(j=C.b.navigator.platform,R=C.b.navigator.userAgent,B={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!C.b.cordova&&!C.b.phonegap),phonegap:!(!C.b.cordova&&!C.b.phonegap),electron:!1},Y=C.b.screen.width,W=C.b.screen.height,V=R.match(/(Android);?[\s\/]+([\d.]+)?/),H=R.match(/(iPad).*OS\s([\d_]+)/),G=R.match(/(iPod)(.*OS\s([\d_]+))?/),U=!H&&R.match(/(iPhone\sOS|iOS)\s([\d_]+)/),q=R.indexOf("MSIE ")>=0||R.indexOf("Trident/")>=0,X=R.indexOf("Edge/")>=0,K=R.indexOf("Gecko/")>=0&&R.indexOf("Firefox/")>=0,Z="Win32"===j,Q=R.toLowerCase().indexOf("electron")>=0,J="MacIntel"===j,!H&&J&&E.touch&&(1024===Y&&1366===W||834===Y&&1194===W||834===Y&&1112===W||768===Y&&1024===W)&&(H=R.match(/(Version)\/([\d.]+)/),J=!1),B.ie=q,B.edge=X,B.firefox=K,V&&!Z&&(B.os="android",B.osVersion=V[2],B.android=!0,B.androidChrome=R.toLowerCase().indexOf("chrome")>=0),(H||U||G)&&(B.os="ios",B.ios=!0),U&&!G&&(B.osVersion=U[2].replace(/_/g,"."),B.iphone=!0),H&&(B.osVersion=H[2].replace(/_/g,"."),B.ipad=!0),G&&(B.osVersion=G[3]?G[3].replace(/_/g,"."):null,B.ipod=!0),B.ios&&B.osVersion&&R.indexOf("Version/")>=0&&"10"===B.osVersion.split(".")[0]&&(B.osVersion=R.toLowerCase().split("version/")[1].split(" ")[0]),B.webView=!(!(U||H||G)||!R.match(/.*AppleWebKit(?!.*Safari)/i)&&!C.b.navigator.standalone)||C.b.matchMedia&&C.b.matchMedia("(display-mode: standalone)").matches,B.webview=B.webView,B.standalone=B.webView,B.desktop=!(B.ios||B.android)||Q,B.desktop&&(B.electron=Q,B.macos=J,B.windows=Z,B.macos&&(B.os="macos"),B.windows&&(B.os="windows")),B.pixelRatio=C.b.devicePixelRatio||1,B);function et(t){var e=this.touchEventsData,n=this.params,i=this.touches;if(!this.animating||!n.preventInteractionOnTransition){var r=t;r.originalEvent&&(r=r.originalEvent);var a=Object(T.a)(r.target);if(("wrapper"!==n.touchEventsTarget||a.closest(this.wrapperEl).length)&&(e.isTouchEvent="touchstart"===r.type,(e.isTouchEvent||!("which"in r)||3!==r.which)&&!(!e.isTouchEvent&&"button"in r&&r.button>0||e.isTouched&&e.isMoved)))if(n.noSwiping&&a.closest(n.noSwipingSelector?n.noSwipingSelector:".".concat(n.noSwipingClass))[0])this.allowClick=!0;else if(!n.swipeHandler||a.closest(n.swipeHandler)[0]){i.currentX="touchstart"===r.type?r.targetTouches[0].pageX:r.pageX,i.currentY="touchstart"===r.type?r.targetTouches[0].pageY:r.pageY;var o=i.currentX,s=i.currentY,l=n.edgeSwipeDetection||n.iOSEdgeSwipeDetection,u=n.edgeSwipeThreshold||n.iOSEdgeSwipeThreshold;if(!l||!(o<=u||o>=C.b.screen.width-u)){if(P.extend(e,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),i.startX=o,i.startY=s,e.touchStartTime=P.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,n.threshold>0&&(e.allowThresholdMove=!1),"touchstart"!==r.type){var c=!0;a.is(e.formElements)&&(c=!1),C.a.activeElement&&Object(T.a)(C.a.activeElement).is(e.formElements)&&C.a.activeElement!==a[0]&&C.a.activeElement.blur();var d=c&&this.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||d)&&r.preventDefault()}this.emit("touchStart",r)}}}}function nt(t){var e=this.touchEventsData,n=this.params,i=this.touches,r=this.rtlTranslate,a=t;if(a.originalEvent&&(a=a.originalEvent),e.isTouched){if(!e.isTouchEvent||"mousemove"!==a.type){var o="touchmove"===a.type&&a.targetTouches&&(a.targetTouches[0]||a.changedTouches[0]),s="touchmove"===a.type?o.pageX:a.pageX,l="touchmove"===a.type?o.pageY:a.pageY;if(a.preventedByNestedSwiper)return i.startX=s,void(i.startY=l);if(!this.allowTouchMove)return this.allowClick=!1,void(e.isTouched&&(P.extend(i,{startX:s,startY:l,currentX:s,currentY:l}),e.touchStartTime=P.now()));if(e.isTouchEvent&&n.touchReleaseOnEdges&&!n.loop)if(this.isVertical()){if(l<i.startY&&this.translate<=this.maxTranslate()||l>i.startY&&this.translate>=this.minTranslate())return e.isTouched=!1,void(e.isMoved=!1)}else if(s<i.startX&&this.translate<=this.maxTranslate()||s>i.startX&&this.translate>=this.minTranslate())return;if(e.isTouchEvent&&C.a.activeElement&&a.target===C.a.activeElement&&Object(T.a)(a.target).is(e.formElements))return e.isMoved=!0,void(this.allowClick=!1);if(e.allowTouchCallbacks&&this.emit("touchMove",a),!(a.targetTouches&&a.targetTouches.length>1)){i.currentX=s,i.currentY=l;var u=i.currentX-i.startX,c=i.currentY-i.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(u,2)+Math.pow(c,2))<this.params.threshold)){var d;if(void 0===e.isScrolling)this.isHorizontal()&&i.currentY===i.startY||this.isVertical()&&i.currentX===i.startX?e.isScrolling=!1:u*u+c*c>=25&&(d=180*Math.atan2(Math.abs(c),Math.abs(u))/Math.PI,e.isScrolling=this.isHorizontal()?d>n.touchAngle:90-d>n.touchAngle);if(e.isScrolling&&this.emit("touchMoveOpposite",a),void 0===e.startMoving&&(i.currentX===i.startX&&i.currentY===i.startY||(e.startMoving=!0)),e.isScrolling)e.isTouched=!1;else if(e.startMoving){this.allowClick=!1,n.cssMode||a.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&a.stopPropagation(),e.isMoved||(n.loop&&this.loopFix(),e.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),e.allowMomentumBounce=!1,!n.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",a)),this.emit("sliderMove",a),e.isMoved=!0;var h=this.isHorizontal()?u:c;i.diff=h,h*=n.touchRatio,r&&(h=-h),this.swipeDirection=h>0?"prev":"next",e.currentTranslate=h+e.startTranslate;var f=!0,p=n.resistanceRatio;if(n.touchReleaseOnEdges&&(p=0),h>0&&e.currentTranslate>this.minTranslate()?(f=!1,n.resistance&&(e.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+e.startTranslate+h,p))):h<0&&e.currentTranslate<this.maxTranslate()&&(f=!1,n.resistance&&(e.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-e.startTranslate-h,p))),f&&(a.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&e.currentTranslate<e.startTranslate&&(e.currentTranslate=e.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&e.currentTranslate>e.startTranslate&&(e.currentTranslate=e.startTranslate),n.threshold>0){if(!(Math.abs(h)>n.threshold||e.allowThresholdMove))return void(e.currentTranslate=e.startTranslate);if(!e.allowThresholdMove)return e.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,e.currentTranslate=e.startTranslate,void(i.diff=this.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY)}n.followFinger&&!n.cssMode&&((n.freeMode||n.watchSlidesProgress||n.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),n.freeMode&&(0===e.velocities.length&&e.velocities.push({position:i[this.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:i[this.isHorizontal()?"currentX":"currentY"],time:P.now()})),this.updateProgress(e.currentTranslate),this.setTranslate(e.currentTranslate))}}}}}else e.startMoving&&e.isScrolling&&this.emit("touchMoveOpposite",a)}function it(t){var e=this,n=e.touchEventsData,i=e.params,r=e.touches,a=e.rtlTranslate,o=e.$wrapperEl,s=e.slidesGrid,l=e.snapGrid,u=t;if(u.originalEvent&&(u=u.originalEvent),n.allowTouchCallbacks&&e.emit("touchEnd",u),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===e.allowSlideNext||!0===e.allowSlidePrev)&&e.setGrabCursor(!1);var c,d=P.now(),h=d-n.touchStartTime;if(e.allowClick&&(e.updateClickedSlide(u),e.emit("tap click",u),h<300&&d-n.lastClickTime<300&&e.emit("doubleTap doubleClick",u)),n.lastClickTime=P.now(),P.nextTick((function(){e.destroyed||(e.allowClick=!0)})),!n.isTouched||!n.isMoved||!e.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,c=i.followFinger?a?e.translate:-e.translate:-n.currentTranslate,!i.cssMode)if(i.freeMode){if(c<-e.minTranslate())return void e.slideTo(e.activeIndex);if(c>-e.maxTranslate())return void(e.slides.length<l.length?e.slideTo(l.length-1):e.slideTo(e.slides.length-1));if(i.freeModeMomentum){if(n.velocities.length>1){var f=n.velocities.pop(),p=n.velocities.pop(),g=f.position-p.position,m=f.time-p.time;e.velocity=g/m,e.velocity/=2,Math.abs(e.velocity)<i.freeModeMinimumVelocity&&(e.velocity=0),(m>150||P.now()-f.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=i.freeModeMomentumVelocityRatio,n.velocities.length=0;var v=1e3*i.freeModeMomentumRatio,b=e.velocity*v,y=e.translate+b;a&&(y=-y);var x,w,_=!1,M=20*Math.abs(e.velocity)*i.freeModeMomentumBounceRatio;if(y<e.maxTranslate())i.freeModeMomentumBounce?(y+e.maxTranslate()<-M&&(y=e.maxTranslate()-M),x=e.maxTranslate(),_=!0,n.allowMomentumBounce=!0):y=e.maxTranslate(),i.loop&&i.centeredSlides&&(w=!0);else if(y>e.minTranslate())i.freeModeMomentumBounce?(y-e.minTranslate()>M&&(y=e.minTranslate()+M),x=e.minTranslate(),_=!0,n.allowMomentumBounce=!0):y=e.minTranslate(),i.loop&&i.centeredSlides&&(w=!0);else if(i.freeModeSticky){for(var k,S=0;S<l.length;S+=1)if(l[S]>-y){k=S;break}y=-(y=Math.abs(l[k]-y)<Math.abs(l[k-1]-y)||"next"===e.swipeDirection?l[k]:l[k-1])}if(w&&e.once("transitionEnd",(function(){e.loopFix()})),0!==e.velocity){if(v=a?Math.abs((-y-e.translate)/e.velocity):Math.abs((y-e.translate)/e.velocity),i.freeModeSticky){var T=Math.abs((a?-y:y)-e.translate),C=e.slidesSizesGrid[e.activeIndex];v=T<C?i.speed:T<2*C?1.5*i.speed:2.5*i.speed}}else if(i.freeModeSticky)return void e.slideToClosest();i.freeModeMomentumBounce&&_?(e.updateProgress(x),e.setTransition(v),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating=!0,o.transitionEnd((function(){e&&!e.destroyed&&n.allowMomentumBounce&&(e.emit("momentumBounce"),e.setTransition(i.speed),e.setTranslate(x),o.transitionEnd((function(){e&&!e.destroyed&&e.transitionEnd()})))}))):e.velocity?(e.updateProgress(y),e.setTransition(v),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,o.transitionEnd((function(){e&&!e.destroyed&&e.transitionEnd()})))):e.updateProgress(y),e.updateActiveIndex(),e.updateSlidesClasses()}else if(i.freeModeSticky)return void e.slideToClosest();(!i.freeModeMomentum||h>=i.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}else{for(var D=0,E=e.slidesSizesGrid[0],A=0;A<s.length;A+=A<i.slidesPerGroupSkip?1:i.slidesPerGroup){var O=A<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==s[A+O]?c>=s[A]&&c<s[A+O]&&(D=A,E=s[A+O]-s[A]):c>=s[A]&&(D=A,E=s[s.length-1]-s[s.length-2])}var I=(c-s[D])/E,L=D<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(h>i.longSwipesMs){if(!i.longSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&(I>=i.longSwipesRatio?e.slideTo(D+L):e.slideTo(D)),"prev"===e.swipeDirection&&(I>1-i.longSwipesRatio?e.slideTo(D+L):e.slideTo(D))}else{if(!i.shortSwipes)return void e.slideTo(e.activeIndex);e.navigation&&(u.target===e.navigation.nextEl||u.target===e.navigation.prevEl)?u.target===e.navigation.nextEl?e.slideTo(D+L):e.slideTo(D):("next"===e.swipeDirection&&e.slideTo(D+L),"prev"===e.swipeDirection&&e.slideTo(D))}}}function rt(){var t=this.params,e=this.el;if(!e||0!==e.offsetWidth){t.breakpoints&&this.setBreakpoint();var n=this.allowSlideNext,i=this.allowSlidePrev,r=this.snapGrid;this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),this.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0),this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=i,this.allowSlideNext=n,this.params.watchOverflow&&r!==this.snapGrid&&this.checkOverflow()}}function at(t){this.allowClick||(this.params.preventClicks&&t.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(t.stopPropagation(),t.stopImmediatePropagation()))}function ot(){var t=this.wrapperEl;this.previousTranslate=this.translate,this.translate=this.isHorizontal()?-t.scrollLeft:-t.scrollTop,-0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();var e=this.maxTranslate()-this.minTranslate();(0===e?0:(this.translate-this.minTranslate())/e)!==this.progress&&this.updateProgress(this.translate),this.emit("setTranslate",this.translate,!1)}var st=!1;function lt(){}var ut={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},ct={update:O,translate:I,transition:L,slide:F,loop:z,grabCursor:N,manipulation:$,events:{attachEvents:function(){var t=this.params,e=this.touchEvents,n=this.el,i=this.wrapperEl;this.onTouchStart=et.bind(this),this.onTouchMove=nt.bind(this),this.onTouchEnd=it.bind(this),t.cssMode&&(this.onScroll=ot.bind(this)),this.onClick=at.bind(this);var r=!!t.nested;if(!E.touch&&E.pointerEvents)n.addEventListener(e.start,this.onTouchStart,!1),C.a.addEventListener(e.move,this.onTouchMove,r),C.a.addEventListener(e.end,this.onTouchEnd,!1);else{if(E.touch){var a=!("touchstart"!==e.start||!E.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};n.addEventListener(e.start,this.onTouchStart,a),n.addEventListener(e.move,this.onTouchMove,E.passiveListener?{passive:!1,capture:r}:r),n.addEventListener(e.end,this.onTouchEnd,a),e.cancel&&n.addEventListener(e.cancel,this.onTouchEnd,a),st||(C.a.addEventListener("touchstart",lt),st=!0)}(t.simulateTouch&&!tt.ios&&!tt.android||t.simulateTouch&&!E.touch&&tt.ios)&&(n.addEventListener("mousedown",this.onTouchStart,!1),C.a.addEventListener("mousemove",this.onTouchMove,r),C.a.addEventListener("mouseup",this.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&n.addEventListener("click",this.onClick,!0),t.cssMode&&i.addEventListener("scroll",this.onScroll),t.updateOnWindowResize?this.on(tt.ios||tt.android?"resize orientationchange observerUpdate":"resize observerUpdate",rt,!0):this.on("observerUpdate",rt,!0)},detachEvents:function(){var t=this.params,e=this.touchEvents,n=this.el,i=this.wrapperEl,r=!!t.nested;if(!E.touch&&E.pointerEvents)n.removeEventListener(e.start,this.onTouchStart,!1),C.a.removeEventListener(e.move,this.onTouchMove,r),C.a.removeEventListener(e.end,this.onTouchEnd,!1);else{if(E.touch){var a=!("onTouchStart"!==e.start||!E.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};n.removeEventListener(e.start,this.onTouchStart,a),n.removeEventListener(e.move,this.onTouchMove,r),n.removeEventListener(e.end,this.onTouchEnd,a),e.cancel&&n.removeEventListener(e.cancel,this.onTouchEnd,a)}(t.simulateTouch&&!tt.ios&&!tt.android||t.simulateTouch&&!E.touch&&tt.ios)&&(n.removeEventListener("mousedown",this.onTouchStart,!1),C.a.removeEventListener("mousemove",this.onTouchMove,r),C.a.removeEventListener("mouseup",this.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&n.removeEventListener("click",this.onClick,!0),t.cssMode&&i.removeEventListener("scroll",this.onScroll),this.off(tt.ios||tt.android?"resize orientationchange observerUpdate":"resize observerUpdate",rt)}},breakpoints:{setBreakpoint:function(){var t=this.activeIndex,e=this.initialized,n=this.loopedSlides,i=void 0===n?0:n,r=this.params,a=this.$el,o=r.breakpoints;if(o&&(!o||0!==Object.keys(o).length)){var s=this.getBreakpoint(o);if(s&&this.currentBreakpoint!==s){var l=s in o?o[s]:void 0;l&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach((function(t){var e=l[t];void 0!==e&&(l[t]="slidesPerView"!==t||"AUTO"!==e&&"auto"!==e?"slidesPerView"===t?parseFloat(e):parseInt(e,10):"auto")}));var u=l||this.originalParams,c=r.slidesPerColumn>1,d=u.slidesPerColumn>1;c&&!d?a.removeClass("".concat(r.containerModifierClass,"multirow ").concat(r.containerModifierClass,"multirow-column")):!c&&d&&(a.addClass("".concat(r.containerModifierClass,"multirow")),"column"===u.slidesPerColumnFill&&a.addClass("".concat(r.containerModifierClass,"multirow-column")));var h=u.direction&&u.direction!==r.direction,f=r.loop&&(u.slidesPerView!==r.slidesPerView||h);h&&e&&this.changeDirection(),P.extend(this.params,u),P.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=s,f&&e&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(t-i+this.loopedSlides,0,!1)),this.emit("breakpoint",u)}}},getBreakpoint:function(t){if(t){var e=!1,n=Object.keys(t).map((function(t){if("string"==typeof t&&0===t.indexOf("@")){var e=parseFloat(t.substr(1));return{value:C.b.innerHeight*e,point:t}}return{value:t,point:t}}));n.sort((function(t,e){return parseInt(t.value,10)-parseInt(e.value,10)}));for(var i=0;i<n.length;i+=1){var r=n[i],a=r.point;r.value<=C.b.innerWidth&&(e=a)}return e||"max"}}},checkOverflow:{checkOverflow:function(){var t=this.params,e=this.isLocked,n=this.slides.length>0&&t.slidesOffsetBefore+t.spaceBetween*(this.slides.length-1)+this.slides[0].offsetWidth*this.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&n?this.isLocked=n<=this.size:this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),e&&e!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var t=this.classNames,e=this.params,n=this.rtl,i=this.$el,r=[];r.push("initialized"),r.push(e.direction),e.freeMode&&r.push("free-mode"),e.autoHeight&&r.push("autoheight"),n&&r.push("rtl"),e.slidesPerColumn>1&&(r.push("multirow"),"column"===e.slidesPerColumnFill&&r.push("multirow-column")),tt.android&&r.push("android"),tt.ios&&r.push("ios"),e.cssMode&&r.push("css-mode"),r.forEach((function(n){t.push(e.containerModifierClass+n)})),i.addClass(t.join(" "))},removeClasses:function(){var t=this.$el,e=this.classNames;t.removeClass(e.join(" "))}},images:{loadImage:function(t,e,n,i,r,a){var o;function s(){a&&a()}t.complete&&r?s():e?((o=new C.b.Image).onload=s,o.onerror=s,i&&(o.sizes=i),n&&(o.srcset=n),e&&(o.src=e)):s()},preloadImages:function(){var t=this;function e(){null!=t&&t&&!t.destroyed&&(void 0!==t.imagesLoaded&&(t.imagesLoaded+=1),t.imagesLoaded===t.imagesToLoad.length&&(t.params.updateOnImagesReady&&t.update(),t.emit("imagesReady")))}t.imagesToLoad=t.$el.find("img");for(var n=0;n<t.imagesToLoad.length;n+=1){var i=t.imagesToLoad[n];t.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,e)}}}},dt={},ht=function(t){function e(){var t,n,i;Object(k.a)(this,e);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];1===a.length&&a[0].constructor&&a[0].constructor===Object?i=a[0]:(n=a[0],i=a[1]),i||(i={}),i=P.extend({},i),n&&!i.el&&(i.el=n),t=Object(b.a)(this,Object(y.a)(e).call(this,i)),Object.keys(ct).forEach((function(t){Object.keys(ct[t]).forEach((function(n){e.prototype[n]||(e.prototype[n]=ct[t][n])}))}));var s=Object(x.a)(t);void 0===s.modules&&(s.modules={}),Object.keys(s.modules).forEach((function(t){var e=s.modules[t];if(e.params){var n=Object.keys(e.params)[0],r=e.params[n];if("object"!=typeof r||null===r)return;if(!(n in i&&"enabled"in r))return;!0===i[n]&&(i[n]={enabled:!0}),"object"!=typeof i[n]||"enabled"in i[n]||(i[n].enabled=!0),i[n]||(i[n]={enabled:!1})}}));var l=P.extend({},ut);s.useModulesParams(l),s.params=P.extend({},l,dt,i),s.originalParams=P.extend({},s.params),s.passedParams=P.extend({},i),s.$=T.a;var u,c,d,h=Object(T.a)(s.params.el);if(!(n=h[0]))return Object(b.a)(t,void 0);if(h.length>1){var f=[];return h.each((function(t,n){var r=P.extend({},i,{el:n});f.push(new e(r))})),Object(b.a)(t,f)}return n.swiper=s,h.data("swiper",s),n&&n.shadowRoot&&n.shadowRoot.querySelector?(u=Object(T.a)(n.shadowRoot.querySelector(".".concat(s.params.wrapperClass)))).children=function(t){return h.children(t)}:u=h.children(".".concat(s.params.wrapperClass)),P.extend(s,{$el:h,el:n,$wrapperEl:u,wrapperEl:u[0],classNames:[],slides:Object(T.a)(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===s.params.direction},isVertical:function(){return"vertical"===s.params.direction},rtl:"rtl"===n.dir.toLowerCase()||"rtl"===h.css("direction"),rtlTranslate:"horizontal"===s.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===h.css("direction")),wrongRTL:"-webkit-box"===u.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEvents:(c=["touchstart","touchmove","touchend","touchcancel"],d=["mousedown","mousemove","mouseup"],E.pointerEvents&&(d=["pointerdown","pointermove","pointerup"]),s.touchEventsTouch={start:c[0],move:c[1],end:c[2],cancel:c[3]},s.touchEventsDesktop={start:d[0],move:d[1],end:d[2]},E.touch||!s.params.simulateTouch?s.touchEventsTouch:s.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:P.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.useModules(),s.params.init&&s.init(),Object(b.a)(t,s)}return Object(w.a)(e,t),Object(S.a)(e,[{key:"slidesPerViewDynamic",value:function(){var t=this.params,e=this.slides,n=this.slidesGrid,i=this.size,r=this.activeIndex,a=1;if(t.centeredSlides){for(var o,s=e[r].swiperSlideSize,l=r+1;l<e.length;l+=1)e[l]&&!o&&(a+=1,(s+=e[l].swiperSlideSize)>i&&(o=!0));for(var u=r-1;u>=0;u-=1)e[u]&&!o&&(a+=1,(s+=e[u].swiperSlideSize)>i&&(o=!0))}else for(var c=r+1;c<e.length;c+=1)n[c]-n[r]<i&&(a+=1);return a}},{key:"update",value:function(){var t=this;if(t&&!t.destroyed){var e=t.snapGrid,n=t.params;n.breakpoints&&t.setBreakpoint(),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.params.freeMode?(i(),t.params.autoHeight&&t.updateAutoHeight()):(("auto"===t.params.slidesPerView||t.params.slidesPerView>1)&&t.isEnd&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0))||i(),n.watchOverflow&&e!==t.snapGrid&&t.checkOverflow(),t.emit("update")}function i(){var e=t.rtlTranslate?-1*t.translate:t.translate,n=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(n),t.updateActiveIndex(),t.updateSlidesClasses()}}},{key:"changeDirection",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,i=n.params.direction;return t||(t="horizontal"===i?"vertical":"horizontal"),t===i||"horizontal"!==t&&"vertical"!==t||(n.$el.removeClass("".concat(n.params.containerModifierClass).concat(i)).addClass("".concat(n.params.containerModifierClass).concat(t)),n.params.direction=t,n.slides.each((function(e,n){"vertical"===t?n.style.width="":n.style.height=""})),n.emit("changeDirection"),e&&n.update()),n}},{key:"init",value:function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))}},{key:"destroy",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,i=n.params,r=n.$el,a=n.$wrapperEl,o=n.slides;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),e&&(n.removeClasses(),r.removeAttr("style"),a.removeAttr("style"),o&&o.length&&o.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((function(t){n.off(t)})),!1!==t&&(n.$el[0].swiper=null,n.$el.data("swiper",null),P.deleteProps(n)),n.destroyed=!0),null}}],[{key:"extendDefaults",value:function(t){P.extend(dt,t)}},{key:"extendedDefaults",get:function(){return dt}},{key:"defaults",get:function(){return ut}},{key:"Class",get:function(){return A}},{key:"$",get:function(){return T.a}}]),e}(A),ft={name:"device",proto:{device:tt},static:{device:tt}},pt={name:"support",proto:{support:E},static:{support:E}},gt={isEdge:!!C.b.navigator.userAgent.match(/Edge/g),isSafari:function(){var t=C.b.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(C.b.navigator.userAgent)},mt={name:"browser",proto:{browser:gt},static:{browser:gt}},vt={name:"resize",create:function(){var t=this;P.extend(t,{resize:{resizeHandler:function(){t&&!t.destroyed&&t.initialized&&(t.emit("beforeResize"),t.emit("resize"))},orientationChangeHandler:function(){t&&!t.destroyed&&t.initialized&&t.emit("orientationchange")}}})},on:{init:function(){C.b.addEventListener("resize",this.resize.resizeHandler),C.b.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){C.b.removeEventListener("resize",this.resize.resizeHandler),C.b.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},bt={func:C.b.MutationObserver||C.b.WebkitMutationObserver,attach:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this,i=bt.func,r=new i((function(t){if(1!==t.length){var e=function(){n.emit("observerUpdate",t[0])};C.b.requestAnimationFrame?C.b.requestAnimationFrame(e):C.b.setTimeout(e,0)}else n.emit("observerUpdate",t[0])}));r.observe(t,{attributes:void 0===e.attributes||e.attributes,childList:void 0===e.childList||e.childList,characterData:void 0===e.characterData||e.characterData}),n.observer.observers.push(r)},init:function(){if(E.observer&&this.params.observer){if(this.params.observeParents)for(var t=this.$el.parents(),e=0;e<t.length;e+=1)this.observer.attach(t[e]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(t){t.disconnect()})),this.observer.observers=[]}},yt={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){P.extend(this,{observer:{init:bt.init.bind(this),attach:bt.attach.bind(this),destroy:bt.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}};var xt={lastScrollTime:P.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return C.b.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var t="onwheel"in C.a;if(!t){var e=C.a.createElement("div");e.setAttribute("onwheel","return;"),t="function"==typeof e.onwheel}return!t&&C.a.implementation&&C.a.implementation.hasFeature&&!0!==C.a.implementation.hasFeature("","")&&(t=C.a.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel"},normalize:function(t){var e=0,n=0,i=0,r=0;return"detail"in t&&(n=t.detail),"wheelDelta"in t&&(n=-t.wheelDelta/120),"wheelDeltaY"in t&&(n=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=n,n=0),i=10*e,r=10*n,"deltaY"in t&&(r=t.deltaY),"deltaX"in t&&(i=t.deltaX),t.shiftKey&&!i&&(i=r,r=0),(i||r)&&t.deltaMode&&(1===t.deltaMode?(i*=40,r*=40):(i*=800,r*=800)),i&&!e&&(e=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:e,spinY:n,pixelX:i,pixelY:r}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(t){var e=t,n=this,i=n.params.mousewheel;n.params.cssMode&&e.preventDefault();var r=n.$el;if("container"!==n.params.mousewheel.eventsTarged&&(r=Object(T.a)(n.params.mousewheel.eventsTarged)),!n.mouseEntered&&!r[0].contains(e.target)&&!i.releaseOnEdges)return!0;e.originalEvent&&(e=e.originalEvent);var a=0,o=n.rtlTranslate?-1:1,s=xt.normalize(e);if(i.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return!0;a=s.pixelX*o}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return!0;a=s.pixelY}else a=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*o:-s.pixelY;if(0===a)return!0;if(i.invert&&(a=-a),n.params.freeMode){var l={time:P.now(),delta:Math.abs(a),direction:Math.sign(a)},u=n.mousewheel.lastEventBeforeSnap,c=u&&l.time<u.time+500&&l.delta<=u.delta&&l.direction===u.direction;if(!c){n.mousewheel.lastEventBeforeSnap=void 0,n.params.loop&&n.loopFix();var d=n.getTranslate()+a*i.sensitivity,h=n.isBeginning,f=n.isEnd;if(d>=n.minTranslate()&&(d=n.minTranslate()),d<=n.maxTranslate()&&(d=n.maxTranslate()),n.setTransition(0),n.setTranslate(d),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!h&&n.isBeginning||!f&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky){clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=void 0;var p=n.mousewheel.recentWheelEvents;p.length>=15&&p.shift();var g=p.length?p[p.length-1]:void 0,m=p[0];if(p.push(l),g&&(l.delta>g.delta||l.direction!==g.direction))p.splice(0);else if(p.length>=15&&l.time-m.time<500&&m.delta-l.delta>=1&&l.delta<=6){var v=a>0?.8:.2;n.mousewheel.lastEventBeforeSnap=l,p.splice(0),n.mousewheel.timeout=P.nextTick((function(){n.slideToClosest(n.params.speed,!0,void 0,v)}),0)}n.mousewheel.timeout||(n.mousewheel.timeout=P.nextTick((function(){n.mousewheel.lastEventBeforeSnap=l,p.splice(0),n.slideToClosest(n.params.speed,!0,void 0,.5)}),500))}if(c||n.emit("scroll",e),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),d===n.minTranslate()||d===n.maxTranslate())return!0}}else{var b={time:P.now(),delta:Math.abs(a),direction:Math.sign(a),raw:t},y=n.mousewheel.recentWheelEvents;y.length>=2&&y.shift();var x=y.length?y[y.length-1]:void 0;if(y.push(b),x?(b.direction!==x.direction||b.delta>x.delta)&&n.mousewheel.animateSlider(b):n.mousewheel.animateSlider(b),n.mousewheel.releaseScroll(b))return!0}return e.preventDefault?e.preventDefault():e.returnValue=!1,!1},animateSlider:function(t){return t.delta>=6&&P.now()-this.mousewheel.lastScrollTime<60||(t.direction<0?this.isEnd&&!this.params.loop||this.animating||(this.slideNext(),this.emit("scroll",t.raw)):this.isBeginning&&!this.params.loop||this.animating||(this.slidePrev(),this.emit("scroll",t.raw)),this.mousewheel.lastScrollTime=(new C.b.Date).getTime(),!1)},releaseScroll:function(t){var e=this.params.mousewheel;if(t.direction<0){if(this.isEnd&&!this.params.loop&&e.releaseOnEdges)return!0}else if(this.isBeginning&&!this.params.loop&&e.releaseOnEdges)return!0;return!1},enable:function(){var t=xt.event();if(this.params.cssMode)return this.wrapperEl.removeEventListener(t,this.mousewheel.handle),!0;if(!t)return!1;if(this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=Object(T.a)(this.params.mousewheel.eventsTarged)),e.on("mouseenter",this.mousewheel.handleMouseEnter),e.on("mouseleave",this.mousewheel.handleMouseLeave),e.on(t,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){var t=xt.event();if(this.params.cssMode)return this.wrapperEl.addEventListener(t,this.mousewheel.handle),!0;if(!t)return!1;if(!this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=Object(T.a)(this.params.mousewheel.eventsTarged)),e.off(t,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},wt=[ft,pt,mt,vt,yt];void 0===ht.use&&(ht.use=ht.Class.use,ht.installModule=ht.Class.installModule),ht.use(wt);n("9L0q");var _t=n("cuwc"),Mt=n.n(_t),kt=n("3THW"),St=n.n(kt),Tt=n("yCFj"),Ct=n.n(Tt),Dt=n("WKKs"),Pt=n.n(Dt),Et=n("V4h7"),At=n.n(Et),Ot=n("ztCh"),It=n.n(Ot),Lt=n("nXSb"),Ft=n.n(Lt),zt=n("n/2I"),Nt=n.n(zt),jt=n("xU54"),Rt=n.n(jt),Bt=n("ogHw"),Yt=n.n(Bt),Wt=n("JSyq"),Vt=n.n(Wt),Ht=n("F/Ns"),Gt=n.n(Ht),Ut=n("ZSap"),qt=n.n(Ut),Xt=n("yhaA"),Kt=n.n(Xt),Zt=n("qLI/"),Qt=n.n(Zt),Jt=n("xIeC"),$t=n.n(Jt),te=n("Qh+N"),ee=n.n(te),ne=n("n9Se"),ie=n.n(ne),re=n("7x8s"),ae=n.n(re),oe=n("ySEy"),se=n.n(oe),le=n("nlD8"),ue=n.n(le),ce=n("hJZy"),de=n.n(ce),he=n("EXXW"),fe=n.n(he),pe=n("MhJ7"),ge=n.n(pe),me=n("te+I"),ve=n.n(me),be=n("6FJJ"),ye=n.n(be),xe=n("np8V"),we=n.n(xe),_e=[{caption:"Ponte City",img:Mt.a},{caption:"Ponte City",img:St.a},{caption:"Ponte City",img:Ct.a},{caption:"Ponte City",img:Pt.a},{caption:"Ponte City",img:At.a},{caption:"Ponte City",img:It.a},{caption:"Dlala Nje",img:Ft.a},{caption:"Dlala Nje",img:Nt.a},{caption:"Ponte City",img:Rt.a},{caption:"Dlala Nje",img:Yt.a},{caption:"Dlala Nje",img:Vt.a},{caption:"Ponte City",img:Gt.a},{caption:"Ponte City",img:qt.a},{caption:"Dlala Nje",img:Kt.a},{caption:"Dlala Nje",img:Qt.a},{caption:"Hillbrow",img:$t.a},{caption:"Hillbrow",img:ee.a},{caption:"Hillbrow",img:ie.a},{caption:"Hillbrow",img:ae.a},{caption:"Hillbrow",img:se.a},{caption:"Hillbrow",img:ue.a},{caption:"Hillbrow",img:Vt.a},{caption:"Hillbrow",img:de.a},{caption:"Hillbrow",img:fe.a},{caption:"Hillbrow",img:ge.a},{caption:"Hillbrow",img:ve.a},{caption:"Dlala Nje",img:ye.a},{caption:"Dlala Nje",img:we.a}];function Me(){var t=Le(["\n    padding: 0;\n    padding-right: 8rem;\n    margin: 0.5rem;\n    p {\n      padding-top: 1.5em;\n    }\n  "]);return Me=function(){return t},t}function ke(){var t=Le(["\n  display: grid;\n  grid-template: auto / 1fr;\n  justify-items: flex-end;\n  position: relative;\n  padding: 1rem 0;\n  z-index: 2;\n  .flex {\n    display: flex;\n    p,\n    button {\n      margin-left: 5px;\n      font-size: 0.9em;\n    }\n    button {\n      border: none;\n      background-color: transparent;\n      display: inline-block;\n      position: relative;\n      transition: all 250ms ease-out;\n      &:focus {\n        outline: none;\n      }\n      &:hover {\n        color: red;\n      }\n    }\n  }\n  ","\n"]);return ke=function(){return t},t}function Se(){var t=Le(["\n    margin: 0;\n  "]);return Se=function(){return t},t}function Te(){var t=Le(["\n  margin-left: 2rem;\n  ","\n"]);return Te=function(){return t},t}function Ce(){var t=Le(["\n    width: calc(31% + 10rem);\n    justify-content: flex-end;\n  "]);return Ce=function(){return t},t}function De(){var t=Le(["\n  text-align: center;\n  display: flex;\n  justify-content: center;\n  margin-right: 2rem;\n  div {\n    opacity: 0.25;\n    transition: all 250ms ease-out;\n    padding: 1rem;\n    &.active {\n      opacity: 1;\n      padding: 1rem;\n    }\n    &:first-child {\n      margin-right: 10px;\n    }\n  }\n  ","\n"]);return De=function(){return t},t}function Pe(){var t=Le(["\n    position: relative;\n    text-align: left;\n    transform: translateY(65%);\n    font-size: 5.5rem;\n    z-index: 2;\n  "]);return Pe=function(){return t},t}function Ee(){var t=Le(["\n  margin-top: -1em;\n  font-weight: 600;\n  text-align: center;\n  font-size: 3rem;\n  ","\n"]);return Ee=function(){return t},t}function Ae(){var t=Le(["\n  .flex-nav {\n    width: calc(45% + 200px); \n    }\n  "]);return Ae=function(){return t},t}function Oe(){var t=Le(["\n    padding: var(--gutter-l) 0 var(--gutter-l) var(--gutter-l);\n    .swiper-slide {\n      height: 500px;\n      width: 43%;\n      img {}\n    }\n    .swiper-slide:nth-child(2n) {}\n    .swiper-slide:nth-child(3n) {}\n    .swiper-slide {\n      &:last-child {\n        margin-right: 68%;\n      }\n    }\n    .flex-nav {\n      width: calc(45% + 150px); \n    }\n  "]);return Oe=function(){return t},t}function Ie(){var t=Le(["\n  height: 80vh;\n  .swiper-container {\n    height: 400px;\n  }\n  .swiper-slide {\n    img {\n      height: 100%;\n      width: 100%;\n      object-fit: cover;\n    }\n  }\n  .flex-nav {\n    display: flex;\n    margin: 0;\n    align-items: center;\n  }\n  ","\n  ","\n"]);return Ie=function(){return t},t}function Le(t,e){return e||(e=t.slice(0)),t.raw=e,t}var Fe=u.b.div(Ie(),c.a.tablet(Oe()),c.a.laptop(Ae())),ze=u.b.h1(Ee(),c.a.tablet(Pe())),Ne=u.b.div(De(),c.a.tablet(Ce())),je=(u.b.div(Te(),c.a.tablet(Se())),u.b.div(ke(),c.a.tablet(Me()))),Re=function(){var t=Object(r.useState)("Hillbrow"),e=t[0],n=t[1],i=Object(r.useRef)(null),o=Object(r.useRef)(null),s=Object(r.useState)(0),l=s[0],u=s[1];Object(r.useEffect)((function(){o.current=new ht(i.current,{speed:1e3,freeMode:!0,freeModeSticky:!0,breakpointsInverse:!0,slidesPerView:1,spaceBetween:30,centeredSlides:!0,breakpoints:{768:{slidesPerView:"auto",centeredSlides:!1}},on:{transitionEnd:function(){o.current&&u(o.current.activeIndex)}}})}),[]);return a.a.createElement(Fe,null,a.a.createElement(je,null,a.a.createElement("div",{className:"flex"},a.a.createElement("button",{onClick:function(t){return n(t.target.value)},value:"Hillbrow"},"Hillbrow"),a.a.createElement("p",null,"/"),a.a.createElement("button",{onClick:function(t){return n(t.target.value)},value:"Ponte City"},"Ponte City"),a.a.createElement("p",null,"/"),a.a.createElement("button",{onClick:function(t){return n(t.target.value)},value:"Dlala Nje"},"Dlala Nje"))),a.a.createElement(ze,null,e),a.a.createElement("div",{ref:i,className:"swiper-container"},a.a.createElement("div",{className:"swiper-wrapper"},_e.filter((function(t){if(e)return t.caption===e})).map((function(t,n){return a.a.createElement("div",{key:n,className:"swiper-slide",caption:e},a.a.createElement("img",{src:t.img,alt:"hillbrow"}))})))),a.a.createElement("div",{className:"flex-nav"},a.a.createElement(Ne,null,a.a.createElement("div",{className:l>0?"active mouse-link":"mouse-link",onClick:function(){o.current&&o.current.slidePrev()}},"←"),a.a.createElement("div",{className:l<_e.length-1?"active mouse-link":"mouse-link",onClick:function(){o.current&&o.current.slideNext()}},"→"))))},Be=n("Wbzz"),Ye=n("C3HU"),We=n.n(Ye);function Ve(){var t=Ge(["\n    display: grid;\n    text-align: left;\n    grid-template-columns: 1fr 1.5fr;\n    grid-template-rows: 1fr;\n    padding: 4em 2em;\n      .text {\n        grid-column: 2;\n      } \n    a {\n      img {\n      height: 20em;\n      padding-top: 1.5em;\n      }\n    }\n    h1 {\n      font-size: 4em;\n      letter-spacing: 10px;\n    }\n    p {\n      font-size: larger;\n    }\n  "]);return Ve=function(){return t},t}function He(){var t=Ge(["\n  height: 75vh;\n  text-align: center;\n  font-family: sans-serif;\n  h1 {\n    font-size: 1.5em;\n    letter-spacing: 10px;\n    text-transform: uppercase;\n    line-height: 1.2;\n    color: black;\n  }\n  .heading {\n    color: #333652;\n    font-size: 2em !important;\n  }\n  a {\n    img {\n      height: 1em;\n      padding-right: 1em;\n      padding-top: 1em;\n    }\n  }\n  img {\n    height: 8em;\n    padding-top: 1em;\n  }\n  .text {\n    grid-column: 2;\n    grid-row: 1;\n    padding-top: 2em;\n  } \n  .icon {\n    margin-top: -1em;\n    text-align: center;\n    grid-column: 1;\n    border-radius: 50%;\n  p {\n    font-size: small;\n    color: black;\n    line-height: 1.5;\n    padding-right: 15px;\n  }\n  }\n  ","\n"]);return He=function(){return t},t}function Ge(t,e){return e||(e=t.slice(0)),t.raw=e,t}var Ue=u.b.section(He(),c.a.laptop(Ve())),qe=function(){return a.a.createElement(Ue,null,a.a.createElement("div",{className:"text"},a.a.createElement("p",{className:"heading"},"Are you up for the challenge?"),a.a.createElement("p",null,"Johannesburg is a city with many different social, political and economical difficulties for residents to overcome."),a.a.createElement("p",null,"According to the Johannesburg development agency official website, 50% of the population is under the age of 24."),a.a.createElement("p",null,"Johannesburg has changed so much over the past few decades that it cannot simply be mapped by looking at street names and landmarks, but should be navigated by sights, sounds, smells or even feelings.")),a.a.createElement("div",{className:"icon"},a.a.createElement(Be.Link,{to:"/startgame/"},a.a.createElement("img",{src:We.a,alt:"astro"}))))},Xe=n("UDbo");function Ke(){var t=function(t,e){e||(e=t.slice(0));return t.raw=e,t}(["\n  .canvas-container {\n    width: 55vw;\n  }\n"]);return Ke=function(){return t},t}var Ze=u.b.div(Ke()),Qe={labels:["2013","2014","2015","2016","2017","2018","2019"],datasets:[{label:"Cost of a 1 Bedroom Apartment in Johannesburg (R)",fill:!1,lineTension:.1,backgroundColor:"rgba(75,192,192,0.4)",borderColor:"rgba(75,192,192,1)",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",pointBorderColor:"rgba(75,192,192,1)",pointBackgroundColor:"#fff",pointBorderWidth:1,pointHoverRadius:5,pointHoverBackgroundColor:"rgba(75,192,192,1)",pointHoverBorderColor:"rgba(220,220,220,1)",pointHoverBorderWidth:2,pointRadius:1,pointHitRadius:10,data:[6391.51,5325,5407.41,6200,7156.22,6281,6600.88]}]},Je=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=i.prototype;return r.render=function(){return a.a.createElement(Ze,null,a.a.createElement("article",{className:"canvas-container"},a.a.createElement(Xe.b,{ref:"chart",data:Qe})))},r.componentDidMount=function(){var t=this.refs.chart.chartInstance.data.datasets;console.log(t[0].data)},i}(r.Component);function $e(){var t=function(t,e){e||(e=t.slice(0));return t.raw=e,t}(["\n  .canvas-container {\n    width: 55vw;\n  }\n"]);return $e=function(){return t},t}var tn=u.b.div($e()),en={labels:["Home broken in","Mugged/Robbed","Car Stolen","Things stolen from car","Attacked","Insulted"],datasets:[{label:"Citizens Worried (per 100) about Crime",fill:!1,lineTension:.1,backgroundColor:"rgba(75,192,192,0.4)",borderColor:"rgba(75,192,192,1)",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",pointBorderColor:"rgba(75,192,192,1)",pointBackgroundColor:"#fff",pointBorderWidth:1,pointHoverRadius:5,pointHoverBackgroundColor:"rgba(75,192,192,1)",pointHoverBorderColor:"rgba(220,220,220,1)",pointHoverBorderWidth:2,pointRadius:1,pointHitRadius:10,data:[79.55,81.03,77.42,81.33,75.77,63.63]}]},nn=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=i.prototype;return r.render=function(){return a.a.createElement(tn,null,a.a.createElement("article",{className:"canvas-container"},a.a.createElement(Xe.a,{ref:"chart",data:en})))},r.componentDidMount=function(){var t=this.refs.chart.chartInstance.data.datasets;console.log(t[0].data)},i}(r.Component);function rn(){var t=sn(["\n  .flex-nav {\n    width: calc(45% + 200px); \n    }\n  "]);return rn=function(){return t},t}function an(){var t=sn(["\n    padding: var(--gutter-l) 0 var(--gutter-l) var(--gutter-l);\n    .swiper-slide {\n      margin-right: 50px;\n      width: auto;\n    }\n    .swiper-slide:nth-child(2n) {}\n    .swiper-slide:nth-child(3n) {}\n    .swiper-slide {\n      &:last-child {\n        margin-right: 68%;\n      }\n    }\n    .flex-nav {\n      width: calc(45% + 150px); \n    }\n  "]);return an=function(){return t},t}function on(){var t=sn(["\n  height: 75vh;\n  font-size: larger;\n  font-family: sans-serif;\n  .swiper-container {\n    height: 400px;\n  }\n  .swiper-slide {\n    margin-right: 50px;\n    width: auto;\n  }\n  .flex-nav {\n    display: flex;\n    margin: 0;\n    align-items: center;\n  }\n  ","\n  ","\n"]);return on=function(){return t},t}function sn(t,e){return e||(e=t.slice(0)),t.raw=e,t}var ln=u.b.div(on(),c.a.tablet(an()),c.a.laptop(rn())),un=function(){var t=Object(r.useRef)(null),e=Object(r.useRef)(null),n=Object(r.useState)(0),i=(n[0],n[1]);Object(r.useEffect)((function(){e.current=new ht(t.current,{speed:1e3,freeMode:!0,freeModeSticky:!0,breakpointsInverse:!0,slidesPerView:1,spaceBetween:30,centeredSlides:!0,breakpoints:{768:{slidesPerView:"auto",centeredSlides:!1}},on:{transitionEnd:function(){e.current&&i(e.current.activeIndex)}}})}),[]);return a.a.createElement(ln,null,a.a.createElement("div",{ref:t,className:"swiper-container"},a.a.createElement("div",{className:"swiper-wrapper"},a.a.createElement("div",{className:"swiper-slide"},a.a.createElement(Je,null)),a.a.createElement("div",{className:"swiper-slide"},a.a.createElement(nn,null)))))},cn=n("q8/+"),dn=n.n(cn);function hn(){var t=pn(["\n    padding: 4em 4em 0;\n    .text{\n      width: 100%;\n      margin-left: 0;\n      h1 {\n        text-align: left; \n        font-size: 4em;\n        letter-spacing: 5px; \n      }\n      p {\n        font-size: larger;\n        font-family: sans-serif;\n      }\n      .info {\n        margin-bottom: -5em;\n        text-align: right;\n        padding: 0 5em 0 50%;\n        line-height: 1.5;\n      }\n    }\n  "]);return hn=function(){return t},t}function fn(){var t=pn(["\n  height: auto;\n  padding: 2em 2em 0;\n  display: flex;\n  color: black;\n  .image {\n    img {\n      height: 10em;\n      padding-top: 6.2em;\n    }\n  }\n  .text{\n    justify-content: space-between;\n    h1 {\n      font-size: 2em;\n      letter-spacing: 2px;\n      text-transform: uppercase;\n      line-height: 1.2;\n      padding-left: 1em;\n      padding-top: 0.5em;\n      opacity: 0.3;\n    }\n    img {\n      width: 100%;\n    }\n    a {\n      color: #333652;\n      text-decoration: none;\n    }\n  }\n  .icons {\n    justify-content: space-between;\n  }\n  ","\n"]);return fn=function(){return t},t}function pn(t,e){return e||(e=t.slice(0)),t.raw=e,t}var gn=u.b.section(fn(),c.a.laptop(hn())),mn=function(){return a.a.createElement(gn,null,a.a.createElement("div",{className:"text"},a.a.createElement("div",{className:"info"},a.a.createElement("p",null,"This project was inspired by a walking tour of Hillbrow that we took as part of our Honours course at Open Window (2020). We took this tour through ",a.a.createElement("a",{href:"https://www.dlalanje.org/",target:"none"},"Dlala Nje"),"."),a.a.createElement("p",null,"The data for this project was collected through ",a.a.createElement("a",{href:"https://gcro.ac.za/research/project/detail/quality-of-life-survey-v-201718/",target:"none"},'Gauteng City Region Observatory\'s "Quality of Life" Survey'),","," ",a.a.createElement("a",{href:"https://www.numbeo.com/cost-of-living/in/Johannesburg",target:"none"},"Numbeo"),", and by searching online marketplaces such as Gumtree, Junkmail and Facebook.")),a.a.createElement("img",{src:dn.a,alt:"skyline"})))};e.default=function(){var t=i.data;return a.a.createElement(a.a.Fragment,null,a.a.createElement(l.a,{siteTitle:t.site.siteMetadata.title}),a.a.createElement(o.a,null,a.a.createElement(s.a,{title:"Home"}),a.a.createElement(v,null),a.a.createElement(Re,null),a.a.createElement(qe,null),a.a.createElement(un,null)),a.a.createElement(mn,null))}},SKAX:function(t,e,n){var i=n("JC6p"),r=n("lQqw")(i);t.exports=r},SMfn:function(t,e,n){"use strict";var i=n("Wbzz"),r=n("q1tI"),a=n.n(r),o=n("oqc9"),s=n("nWR2"),l=n.n(s);function u(){var t=function(t,e){e||(e=t.slice(0));return t.raw=e,t}(['\n  background-color: white;\n  font-family: sans-serif;\n  /* font-family: "ChampagneLimousines"; */\n  padding: 2em;\n  display: flex;\n  justify-content: space-between;\n  font-size: xx-small;\n  color: black;\n  a {\n    cursor: pointer;\n    color: black;\n  }\n  img {\n    height: 3em;\n    margin-bottom: 0;\n  }\n  .logo {\n    margin-top: -1em;\n  }\n  @media (min-width: 768px) {\n    justify-content: flex-end;\n    font-size: small;\n    a {\n      margin-left: 2em;\n      text-decoration: none;\n    }\n  }\n']);return u=function(){return t},t}var c=n("vOnD").b.div(u());e.a=function(){o.Link;return a.a.createElement(c,null,a.a.createElement(i.Link,{to:"/startgame",offset:50,duration:500},"Let's Play"),a.a.createElement(i.Link,{to:"/GoogleMap",offset:50,duration:500},"Explore"),a.a.createElement(i.Link,{to:"/",offset:50,duration:500,className:"logo"},a.a.createElement("img",{src:l.a,alt:"logo"})))}},SfRM:function(t,e,n){var i=n("YESw");t.exports=function(){this.__data__=i?i(null):{},this.size=0}},UDbo:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return x})),n.d(e,"a",(function(){return w}));n("rGqo"),n("yt8O"),n("Btvt"),n("hhXQ"),n("8+KV"),n("bWfx"),n("/SS/"),n("hHhE"),n("V+eJ"),n("91GP");var i=n("q1tI"),r=n.n(i),a=n("17x9"),o=n.n(a),s=n("MO+k"),l=n.n(s),u=n("Y+p1"),c=n.n(u),d=n("QVEU"),h=n.n(d),f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function p(t,e){var n={};for(var i in t)e.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function v(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var b=void 0!==t&&{}&&"production",y=function(t){function e(){g(this,e);var n=m(this,t.call(this));return n.handleOnClick=function(t){var e=n.chartInstance,i=n.props,r=i.getDatasetAtEvent,a=i.getElementAtEvent,o=i.getElementsAtEvent,s=i.onElementsClick;r&&r(e.getDatasetAtEvent(t),t),a&&a(e.getElementAtEvent(t),t),o&&o(e.getElementsAtEvent(t),t),s&&s(e.getElementsAtEvent(t),t)},n.ref=function(t){n.element=t},n.chartInstance=void 0,n}return v(e,t),e.prototype.componentDidMount=function(){this.renderChart()},e.prototype.componentDidUpdate=function(){if(this.props.redraw)return this.destroyChart(),void this.renderChart();this.updateChart()},e.prototype.shouldComponentUpdate=function(t){var e=this.props,n=(e.redraw,e.type),i=e.options,r=e.plugins,a=e.legend,o=e.height,s=e.width;if(!0===t.redraw)return!0;if(o!==t.height||s!==t.width)return!0;if(n!==t.type)return!0;if(!c()(a,t.legend))return!0;if(!c()(i,t.options))return!0;var l=this.transformDataProp(t);return!c()(this.shadowDataProp,l)||!c()(r,t.plugins)},e.prototype.componentWillUnmount=function(){this.destroyChart()},e.prototype.transformDataProp=function(t){var e=t.data;return"function"==typeof e?e(this.element):e},e.prototype.memoizeDataProps=function(){if(this.props.data){var t=this.transformDataProp(this.props);return this.shadowDataProp=f({},t,{datasets:t.datasets&&t.datasets.map((function(t){return f({},t)}))}),this.saveCurrentDatasets(),t}},e.prototype.checkDatasets=function(t){var n="production"!==b&&"prod"!==b,i=this.props.datasetKeyProvider!==e.getLabelAsKey,r=t.length>1;if(n&&r&&!i){var a=!1;t.forEach((function(t){t.label||(a=!0)})),a&&console.error('[react-chartjs-2] Warning: Each dataset needs a unique key. By default, the "label" property on each dataset is used. Alternatively, you may provide a "datasetKeyProvider" as a prop that returns a unique key.')}},e.prototype.getCurrentDatasets=function(){return this.chartInstance&&this.chartInstance.config.data&&this.chartInstance.config.data.datasets||[]},e.prototype.saveCurrentDatasets=function(){var t=this;this.datasets=this.datasets||{},this.getCurrentDatasets().forEach((function(e){t.datasets[t.props.datasetKeyProvider(e)]=e}))},e.prototype.updateChart=function(){var t=this,e=this.props.options,n=this.memoizeDataProps(this.props);if(this.chartInstance){e&&(this.chartInstance.options=l.a.helpers.configMerge(this.chartInstance.options,e));var i=this.getCurrentDatasets(),r=n.datasets||[];this.checkDatasets(i);var a=h()(i,this.props.datasetKeyProvider);this.chartInstance.config.data.datasets=r.map((function(e){var n=a[t.props.datasetKeyProvider(e)];if(n&&n.type===e.type&&e.data){n.data.splice(e.data.length),e.data.forEach((function(t,i){n.data[i]=e.data[i]}));e.data;var i=p(e,["data"]);return f({},n,i)}return e}));n.datasets;var o=p(n,["datasets"]);this.chartInstance.config.data=f({},this.chartInstance.config.data,o),this.chartInstance.update()}},e.prototype.renderChart=function(){var t=this.props,n=t.options,i=t.legend,r=t.type,a=t.plugins,o=this.element,s=this.memoizeDataProps();void 0===i||c()(e.defaultProps.legend,i)||(n.legend=i),this.chartInstance=new l.a(o,{type:r,data:s,options:n,plugins:a})},e.prototype.destroyChart=function(){if(this.chartInstance){this.saveCurrentDatasets();var t=Object.values(this.datasets);this.chartInstance.config.data.datasets=t,this.chartInstance.destroy()}},e.prototype.render=function(){var t=this.props,e=t.height,n=t.width,i=t.id;return r.a.createElement("canvas",{ref:this.ref,height:e,width:n,id:i,onClick:this.handleOnClick})},e}(r.a.Component);y.getLabelAsKey=function(t){return t.label},y.propTypes={data:o.a.oneOfType([o.a.object,o.a.func]).isRequired,getDatasetAtEvent:o.a.func,getElementAtEvent:o.a.func,getElementsAtEvent:o.a.func,height:o.a.number,legend:o.a.object,onElementsClick:o.a.func,options:o.a.object,plugins:o.a.arrayOf(o.a.object),redraw:o.a.bool,type:function(t,e,n){if(!l.a.controllers[t[e]])return new Error("Invalid chart type `"+t[e]+"` supplied to `"+n+"`.")},width:o.a.number,datasetKeyProvider:o.a.func},y.defaultProps={legend:{display:!0,position:"bottom"},type:"doughnut",height:150,width:300,redraw:!1,options:{},datasetKeyProvider:y.getLabelAsKey};(function(t){function e(){return g(this,e),m(this,t.apply(this,arguments))}v(e,t),e.prototype.render=function(){var t=this;return r.a.createElement(y,f({},this.props,{ref:function(e){return t.chartInstance=e&&e.chartInstance},type:"doughnut"}))}})(r.a.Component),function(t){function e(){return g(this,e),m(this,t.apply(this,arguments))}v(e,t),e.prototype.render=function(){var t=this;return r.a.createElement(y,f({},this.props,{ref:function(e){return t.chartInstance=e&&e.chartInstance},type:"pie"}))}}(r.a.Component);var x=function(t){function e(){return g(this,e),m(this,t.apply(this,arguments))}return v(e,t),e.prototype.render=function(){var t=this;return r.a.createElement(y,f({},this.props,{ref:function(e){return t.chartInstance=e&&e.chartInstance},type:"line"}))},e}(r.a.Component),w=function(t){function e(){return g(this,e),m(this,t.apply(this,arguments))}return v(e,t),e.prototype.render=function(){var t=this;return r.a.createElement(y,f({},this.props,{ref:function(e){return t.chartInstance=e&&e.chartInstance},type:"bar"}))},e}(r.a.Component);(function(t){function e(){return g(this,e),m(this,t.apply(this,arguments))}v(e,t),e.prototype.render=function(){var t=this;return r.a.createElement(y,f({},this.props,{ref:function(e){return t.chartInstance=e&&e.chartInstance},type:"horizontalBar"}))}})(r.a.Component),function(t){function e(){return g(this,e),m(this,t.apply(this,arguments))}v(e,t),e.prototype.render=function(){var t=this;return r.a.createElement(y,f({},this.props,{ref:function(e){return t.chartInstance=e&&e.chartInstance},type:"radar"}))}}(r.a.Component),function(t){function e(){return g(this,e),m(this,t.apply(this,arguments))}v(e,t),e.prototype.render=function(){var t=this;return r.a.createElement(y,f({},this.props,{ref:function(e){return t.chartInstance=e&&e.chartInstance},type:"polarArea"}))}}(r.a.Component),function(t){function e(){return g(this,e),m(this,t.apply(this,arguments))}v(e,t),e.prototype.render=function(){var t=this;return r.a.createElement(y,f({},this.props,{ref:function(e){return t.chartInstance=e&&e.chartInstance},type:"bubble"}))}}(r.a.Component),function(t){function e(){return g(this,e),m(this,t.apply(this,arguments))}v(e,t),e.prototype.render=function(){var t=this;return r.a.createElement(y,f({},this.props,{ref:function(e){return t.chartInstance=e&&e.chartInstance},type:"scatter"}))}}(r.a.Component),l.a.defaults}).call(this,n("8oxB"))},UExd:function(t,e,n){var i=n("nh4g"),r=n("DVgA"),a=n("aCFj"),o=n("UqcF").f;t.exports=function(t){return function(e){for(var n,s=a(e),l=r(s),u=l.length,c=0,d=[];u>c;)n=l[c++],i&&!o.call(s,n)||d.push(t?[n,s[n]]:s[n]);return d}}},UMY1:function(t,e,n){var i=n("oMRN"),r=n("JD84"),a=n("ut/Y"),o=n("Z0cm");t.exports=function(t,e){return function(n,s){var l=o(n)?i:r,u=e?e():{};return l(n,t,a(s,2),u)}}},"UNi/":function(t,e){t.exports=function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}},V4h7:function(t,e,n){t.exports=n.p+"static/img5-0fd4b474d0785c7f2bcfbcd19d17ba59.png"},V6Ve:function(t,e,n){n("rGqo"),n("yt8O"),n("Btvt"),n("RW0V");var i=n("kekF")(Object.keys,Object);t.exports=i},VaNO:function(t,e){t.exports=function(t){return this.__data__.has(t)}},WFqU:function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n("yLpj"))},WKKs:function(t,e,n){t.exports=n.p+"static/img4-382c325037daeef5b553e2e864642612.png"},Xi7e:function(t,e,n){var i=n("KMkd"),r=n("adU4"),a=n("tMB7"),o=n("+6XX"),s=n("Z8oC");function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=o,l.prototype.set=s,t.exports=l},"Y+p1":function(t,e,n){var i=n("wF/u");t.exports=function(t,e){return i(t,e)}},YESw:function(t,e,n){var i=n("Cwc5")(Object,"create");t.exports=i},YuTi:function(t,e,n){n("HAE/"),t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Z0cm:function(t,e,n){n("LK8F");var i=Array.isArray;t.exports=i},Z8oC:function(t,e,n){var i=n("y1pI");t.exports=function(t,e){var n=this.__data__,r=i(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}},ZCpW:function(t,e,n){var i=n("lm/5"),r=n("O7RO"),a=n("IOzZ");t.exports=function(t){var e=r(t);return 1==e.length&&e[0][2]?a(e[0][0],e[0][1]):function(n){return n===t||i(n,t,e)}}},ZSap:function(t,e,n){t.exports=n.p+"static/img13-69fa19e43a4b138bddd198682d1f526b.png"},ZWtO:function(t,e,n){var i=n("4uTw"),r=n("9Nap");t.exports=function(t,e){for(var n=0,a=(e=i(e,t)).length;null!=t&&n<a;)t=t[r(e[n++])];return n&&n==a?t:void 0}},Zshi:function(t,e,n){var i=n("0/R4");n("Xtr8")("isFrozen",(function(t){return function(e){return!i(e)||!!t&&t(e)}}))},adU4:function(t,e,n){var i=n("y1pI"),r=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=i(e,t);return!(n<0)&&(n==e.length-1?e.pop():r.call(e,n,1),--this.size,!0)}},b80T:function(t,e,n){var i=n("UNi/"),r=n("03A+"),a=n("Z0cm"),o=n("DSRE"),s=n("wJg7"),l=n("c6wG"),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=a(t),c=!n&&r(t),d=!n&&!c&&o(t),h=!n&&!c&&!d&&l(t),f=n||c||d||h,p=f?i(t.length,String):[],g=p.length;for(var m in t)!e&&!u.call(t,m)||f&&("length"==m||d&&("offset"==m||"parent"==m)||h&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g))||p.push(m);return p}},bHtr:function(t,e,n){var i=n("XKFU");i(i.P,"Array",{fill:n("Nr18")}),n("nGyu")("fill")},c6wG:function(t,e,n){var i=n("dD9F"),r=n("sEf8"),a=n("mdPL"),o=a&&a.isTypedArray,s=o?r(o):i;t.exports=s},"cq/+":function(t,e,n){var i=n("mc0g")();t.exports=i},cuwc:function(t,e,n){t.exports=n.p+"static/img1-743af4775bfef1b947643b1771d0353a.png"},dD9F:function(t,e,n){var i=n("NykK"),r=n("shjB"),a=n("ExA7"),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&r(t.length)&&!!o[i(t)]}},dt0z:function(t,e,n){var i=n("zoYe");t.exports=function(t){return null==t?"":i(t)}},e4Nc:function(t,e,n){var i=n("fGT3"),r=n("k+1r"),a=n("JHgL"),o=n("pSRY"),s=n("H8j4");function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=o,l.prototype.set=s,t.exports=l},e5cp:function(t,e,n){var i=n("fmRc"),r=n("or5M"),a=n("HDyB"),o=n("seXi"),s=n("QqLw"),l=n("Z0cm"),u=n("DSRE"),c=n("c6wG"),d="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,f,p,g){var m=l(t),v=l(e),b=m?"[object Array]":s(t),y=v?"[object Array]":s(e),x=(b="[object Arguments]"==b?d:b)==d,w=(y="[object Arguments]"==y?d:y)==d,_=b==y;if(_&&u(t)){if(!u(e))return!1;m=!0,x=!1}if(_&&!x)return g||(g=new i),m||c(t)?r(t,e,n,f,p,g):a(t,e,b,n,f,p,g);if(!(1&n)){var M=x&&h.call(t,"__wrapped__"),k=w&&h.call(e,"__wrapped__");if(M||k){var S=M?t.value():t,T=k?e.value():e;return g||(g=new i),p(S,T,n,f,g)}}return!!_&&(g||(g=new i),o(t,e,n,f,p,g))}},eHKK:function(t,e,n){var i=n("XKFU");i(i.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},eUgh:function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}},ebwN:function(t,e,n){var i=n("Cwc5")(n("Kz5y"),"Map");t.exports=i},ekgI:function(t,e,n){var i=n("YESw"),r=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return i?void 0!==e[t]:r.call(e,t)}},fGT3:function(t,e,n){var i=n("4kuk"),r=n("Xi7e"),a=n("ebwN");t.exports=function(){this.size=0,this.__data__={hash:new i,map:new(a||r),string:new i}}},"fR/l":function(t,e,n){var i=n("CH3K"),r=n("Z0cm");t.exports=function(t,e,n){var a=e(t);return r(t)?a:i(a,n(t))}},fmRc:function(t,e,n){var i=n("Xi7e"),r=n("77Zs"),a=n("L8xA"),o=n("gCq4"),s=n("VaNO"),l=n("0Cz8");function u(t){var e=this.__data__=new i(t);this.size=e.size}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=o,u.prototype.has=s,u.prototype.set=l,t.exports=u},foSv:function(t,e,n){"use strict";function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return i}))},ftKO:function(t,e){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},gCq4:function(t,e){t.exports=function(t){return this.__data__.get(t)}},"h/M4":function(t,e,n){var i=n("XKFU");i(i.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},hJZy:function(t,e,n){t.exports=n.p+"static/img23-d7e5cab4a57cbf5785ab96c61b77b11e.png"},hgQt:function(t,e,n){var i=n("Juji"),r=n("4sDh");t.exports=function(t,e){return null!=t&&r(t,e,i)}},hhXQ:function(t,e,n){var i=n("XKFU"),r=n("UExd")(!1);i(i.S,"Object",{values:function(t){return r(t)}})},hypo:function(t,e,n){var i=n("O0oS");t.exports=function(t,e,n){"__proto__"==e&&i?i(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},jqX0:function(t,e,n){var i=n("XKFU"),r=n("jtBr");i(i.P+i.F*(Date.prototype.toISOString!==r),"Date",{toISOString:r})},jtBr:function(t,e,n){"use strict";var i=n("eeVq"),r=Date.prototype.getTime,a=Date.prototype.toISOString,o=function(t){return t>9?t:"0"+t};t.exports=i((function(){return"0385-07-25T07:06:39.999Z"!=a.call(new Date(-5e13-1))}))||!i((function(){a.call(new Date(NaN))}))?function(){if(!isFinite(r.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),i=e<0?"-":e>9999?"+":"";return i+("00000"+Math.abs(e)).slice(i?-6:-4)+"-"+o(t.getUTCMonth()+1)+"-"+o(t.getUTCDate())+"T"+o(t.getUTCHours())+":"+o(t.getUTCMinutes())+":"+o(t.getUTCSeconds())+"."+(n>99?n:"0"+o(n))+"Z"}:a},"k+1r":function(t,e,n){var i=n("QkVE");t.exports=function(t){var e=i(this,t).delete(t);return this.size-=e?1:0,e}},kekF:function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},knhD:function(t,e,n){var i=n("XKFU");i(i.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},lQqw:function(t,e,n){var i=n("MMmD");t.exports=function(t,e){return function(n,r){if(null==n)return n;if(!i(n))return t(n,r);for(var a=n.length,o=e?a:-1,s=Object(n);(e?o--:++o<a)&&!1!==r(s[o],o,s););return n}}},lSCD:function(t,e,n){var i=n("NykK"),r=n("GoyQ");t.exports=function(t){if(!r(t))return!1;var e=i(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},ljhN:function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},"lm/5":function(t,e,n){var i=n("fmRc"),r=n("wF/u");t.exports=function(t,e,n,a){var o=n.length,s=o,l=!a;if(null==t)return!s;for(t=Object(t);o--;){var u=n[o];if(l&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++o<s;){var c=(u=n[o])[0],d=t[c],h=u[1];if(l&&u[2]){if(void 0===d&&!(c in t))return!1}else{var f=new i;if(a)var p=a(d,h,c,t,e,f);if(!(void 0===p?r(h,d,3,a,f):p))return!1}}return!0}},mc0g:function(t,e){t.exports=function(t){return function(e,n,i){for(var r=-1,a=Object(e),o=i(e),s=o.length;s--;){var l=o[t?s:++r];if(!1===n(a[l],l,a))break}return e}}},md7G:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=n("JX7q");function a(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?Object(r.a)(t):e}n.d(e,"a",(function(){return a}))},mdPL:function(t,e,n){(function(t){var i=n("WFqU"),r=e&&!e.nodeType&&e,a=r&&"object"==typeof t&&t&&!t.nodeType&&t,o=a&&a.exports===r&&i.process,s=function(){try{var t=a&&a.require&&a.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(e){}}();t.exports=s}).call(this,n("YuTi")(t))},mwIZ:function(t,e,n){var i=n("ZWtO");t.exports=function(t,e,n){var r=null==t?void 0:i(t,e);return void 0===r?n:r}},"n/2I":function(t,e,n){t.exports=n.p+"static/img8-38fc146e79774695c78032dfad0cc6d4.png"},n9Se:function(t,e,n){t.exports=n.p+"static/img18-0859d0e0b62953bbde9d858a38cfb72e.png"},nXSb:function(t,e,n){t.exports=n.p+"static/img7-527105c9859b3834c89254c7d73a31ca.png"},nlD8:function(t,e,n){t.exports=n.p+"static/img21-7bb030461751628c0b59c9bb4cdef1e7.png"},nmnc:function(t,e,n){var i=n("Kz5y").Symbol;t.exports=i},np8V:function(t,e,n){t.exports=n.p+"static/img28-eacce8d64feb98e6377283f3916c47bf.png"},oMRN:function(t,e){t.exports=function(t,e,n,i){for(var r=-1,a=null==t?0:t.length;++r<a;){var o=t[r];e(i,o,n(o),t)}return i}},ogHw:function(t,e,n){t.exports=n.p+"static/img10-07715f03d15312d5a9c18d09a27dc2c3.png"},or5M:function(t,e,n){var i=n("1hJj"),r=n("QoRX"),a=n("xYSL");t.exports=function(t,e,n,o,s,l){var u=1&n,c=t.length,d=e.length;if(c!=d&&!(u&&d>c))return!1;var h=l.get(t);if(h&&l.get(e))return h==e;var f=-1,p=!0,g=2&n?new i:void 0;for(l.set(t,e),l.set(e,t);++f<c;){var m=t[f],v=e[f];if(o)var b=u?o(v,m,f,e,t,l):o(m,v,f,t,e,l);if(void 0!==b){if(b)continue;p=!1;break}if(g){if(!r(e,(function(t,e){if(!a(g,e)&&(m===t||s(m,t,n,o,l)))return g.push(e)}))){p=!1;break}}else if(m!==v&&!s(m,v,n,o,l)){p=!1;break}}return l.delete(t),l.delete(e),p}},pSRY:function(t,e,n){var i=n("QkVE");t.exports=function(t){return i(this,t).has(t)}},"q8/+":function(t,e,n){t.exports=n.p+"static/skyline-eb1adbc4ae6daac9159cd683b9b0c6d6.png"},"qLI/":function(t,e,n){t.exports=n.p+"static/img15-92629a56eb2017daa698d94d35dafab1.png"},qZTm:function(t,e,n){var i=n("fR/l"),r=n("MvSz"),a=n("7GkX");t.exports=function(t){return i(t,a,r)}},rEGp:function(t,e,n){n("8+KV"),t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},rePB:function(t,e,n){"use strict";function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return i}))},sEf8:function(t,e){t.exports=function(t){return function(e){return t(e)}}},seXi:function(t,e,n){var i=n("qZTm"),r=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,a,o,s){var l=1&n,u=i(t),c=u.length;if(c!=i(e).length&&!l)return!1;for(var d=c;d--;){var h=u[d];if(!(l?h in e:r.call(e,h)))return!1}var f=s.get(t);if(f&&s.get(e))return f==e;var p=!0;s.set(t,e),s.set(e,t);for(var g=l;++d<c;){var m=t[h=u[d]],v=e[h];if(a)var b=l?a(v,m,h,e,t,s):a(m,v,h,t,e,s);if(!(void 0===b?m===v||o(m,v,n,a,s):b)){p=!1;break}g||(g="constructor"==h)}if(p&&!g){var y=t.constructor,x=e.constructor;y!=x&&"constructor"in t&&"constructor"in e&&!("function"==typeof y&&y instanceof y&&"function"==typeof x&&x instanceof x)&&(p=!1)}return s.delete(t),s.delete(e),p}},shjB:function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},tMB7:function(t,e,n){var i=n("y1pI");t.exports=function(t){var e=this.__data__,n=i(e,t);return n<0?void 0:e[n][1]}},tadb:function(t,e,n){var i=n("Cwc5")(n("Kz5y"),"DataView");t.exports=i},"te+I":function(t,e,n){t.exports=n.p+"static/img26-d6d3e7e510a51bd7508d99c158cc6336.png"},u8Dt:function(t,e,n){var i=n("YESw"),r=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(i){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(e,t)?e[t]:void 0}},"ut/Y":function(t,e,n){var i=n("ZCpW"),r=n("GDhZ"),a=n("zZ0H"),o=n("Z0cm"),s=n("+c4W");t.exports=function(t){return"function"==typeof t?t:null==t?a:"object"==typeof t?o(t)?r(t[0],t[1]):i(t):s(t)}},vuIU:function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}n.d(e,"a",(function(){return r}))},"wF/u":function(t,e,n){var i=n("e5cp"),r=n("ExA7");t.exports=function t(e,n,a,o,s){return e===n||(null==e||null==n||!r(e)&&!r(n)?e!=e&&n!=n:i(e,n,a,o,t,s))}},wJg7:function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&n.test(t))&&t>-1&&t%1==0&&t<e}},"wd/R":function(t,e,n){(function(t){n("AphP"),n("jqX0"),n("eM6i"),n("f3/d"),n("8+KV"),n("KKXr"),n("V+eJ"),n("SRfc"),n("Vd3H"),n("pIFo"),n("rGqo"),n("yt8O"),n("RW0V"),n("Oyvg"),n("Zshi"),n("dZ+Y"),n("a1Th"),n("h7Nl"),n("Btvt"),t.exports=function(){"use strict";var e,n;function i(){return e.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function a(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function o(t){return void 0===t}function s(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function l(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function u(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function c(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function d(t,e){for(var n in e)c(e,n)&&(t[n]=e[n]);return c(e,"toString")&&(t.toString=e.toString),c(e,"valueOf")&&(t.valueOf=e.valueOf),t}function h(t,e,n,i){return Me(t,e,n,i,!0).utc()}function f(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function p(t){if(null==t._isValid){var e=f(t),i=n.call(e.parsedDateParts,(function(t){return null!=t})),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&i);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function g(t){var e=h(NaN);return null!=t?d(f(e),t):f(e).userInvalidated=!0,e}n=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,i=0;i<n;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1};var m=i.momentProperties=[];function v(t,e){var n,i,r;if(o(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),o(e._i)||(t._i=e._i),o(e._f)||(t._f=e._f),o(e._l)||(t._l=e._l),o(e._strict)||(t._strict=e._strict),o(e._tzm)||(t._tzm=e._tzm),o(e._isUTC)||(t._isUTC=e._isUTC),o(e._offset)||(t._offset=e._offset),o(e._pf)||(t._pf=f(e)),o(e._locale)||(t._locale=e._locale),m.length>0)for(n=0;n<m.length;n++)o(r=e[i=m[n]])||(t[i]=r);return t}var b=!1;function y(t){v(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,i.updateOffset(this),b=!1)}function x(t){return t instanceof y||null!=t&&null!=t._isAMomentObject}function w(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function _(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=w(e)),n}function M(t,e,n){var i,r=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),o=0;for(i=0;i<r;i++)(n&&t[i]!==e[i]||!n&&_(t[i])!==_(e[i]))&&o++;return o+a}function k(t){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function S(t,e){var n=!0;return d((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,t),n){for(var r,a=[],o=0;o<arguments.length;o++){if(r="","object"==typeof arguments[o]){for(var s in r+="\n["+o+"] ",arguments[0])r+=s+": "+arguments[0][s]+", ";r=r.slice(0,-2)}else r=arguments[o];a.push(r)}k(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var T,C={};function D(t,e){null!=i.deprecationHandler&&i.deprecationHandler(t,e),C[t]||(k(e),C[t]=!0)}function P(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function E(t,e){var n,i=d({},t);for(n in e)c(e,n)&&(a(t[n])&&a(e[n])?(i[n]={},d(i[n],t[n]),d(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)c(t,n)&&!c(e,n)&&a(t[n])&&(i[n]=d({},i[n]));return i}function A(t){null!=t&&this.set(t)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,T=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)c(t,e)&&n.push(e);return n};var O={};function I(t,e){var n=t.toLowerCase();O[n]=O[n+"s"]=O[e]=t}function L(t){return"string"==typeof t?O[t]||O[t.toLowerCase()]:void 0}function F(t){var e,n,i={};for(n in t)c(t,n)&&(e=L(n))&&(i[e]=t[n]);return i}var z={};function N(t,e){z[t]=e}function j(t,e,n){var i=""+Math.abs(t),r=e-i.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var R=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,B=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Y={},W={};function V(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(W[t]=r),e&&(W[e[0]]=function(){return j(r.apply(this,arguments),e[1],e[2])}),n&&(W[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function H(t,e){return t.isValid()?(e=G(e,t.localeData()),Y[e]=Y[e]||function(t){var e,n,i,r=t.match(R);for(e=0,n=r.length;e<n;e++)W[r[e]]?r[e]=W[r[e]]:r[e]=(i=r[e]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(e){var i,a="";for(i=0;i<n;i++)a+=P(r[i])?r[i].call(e,t):r[i];return a}}(e),Y[e](t)):t.localeData().invalidDate()}function G(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}for(B.lastIndex=0;n>=0&&B.test(t);)t=t.replace(B,i),B.lastIndex=0,n-=1;return t}var U=/\d/,q=/\d\d/,X=/\d{3}/,K=/\d{4}/,Z=/[+-]?\d{6}/,Q=/\d\d?/,J=/\d\d\d\d?/,$=/\d\d\d\d\d\d?/,tt=/\d{1,3}/,et=/\d{1,4}/,nt=/[+-]?\d{1,6}/,it=/\d+/,rt=/[+-]?\d+/,at=/Z|[+-]\d\d:?\d\d/gi,ot=/Z|[+-]\d\d(?::?\d\d)?/gi,st=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,lt={};function ut(t,e,n){lt[t]=P(e)?e:function(t,i){return t&&n?n:e}}function ct(t,e){return c(lt,t)?lt[t](e._strict,e._locale):new RegExp(dt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,i,r){return e||n||i||r}))))}function dt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ht={};function ft(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),s(e)&&(i=function(t,n){n[e]=_(t)}),n=0;n<t.length;n++)ht[t[n]]=i}function pt(t,e){ft(t,(function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)}))}function gt(t,e,n){null!=e&&c(ht,t)&&ht[t](e,n._a,n,t)}function mt(t){return vt(t)?366:365}function vt(t){return t%4==0&&t%100!=0||t%400==0}V("Y",0,0,(function(){var t=this.year();return t<=9999?""+t:"+"+t})),V(0,["YY",2],0,(function(){return this.year()%100})),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),I("year","y"),N("year",1),ut("Y",rt),ut("YY",Q,q),ut("YYYY",et,K),ut("YYYYY",nt,Z),ut("YYYYYY",nt,Z),ft(["YYYYY","YYYYYY"],0),ft("YYYY",(function(t,e){e[0]=2===t.length?i.parseTwoDigitYear(t):_(t)})),ft("YY",(function(t,e){e[0]=i.parseTwoDigitYear(t)})),ft("Y",(function(t,e){e[0]=parseInt(t,10)})),i.parseTwoDigitYear=function(t){return _(t)+(_(t)>68?1900:2e3)};var bt,yt=xt("FullYear",!0);function xt(t,e){return function(n){return null!=n?(_t(this,t,n),i.updateOffset(this,e),this):wt(this,t)}}function wt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function _t(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&vt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Mt(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function Mt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n,i=(e%(n=12)+n)%n;return t+=(e-i)/12,1===i?vt(t)?29:28:31-i%7%2}bt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},V("M",["MM",2],"Mo",(function(){return this.month()+1})),V("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),V("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),I("month","M"),N("month",8),ut("M",Q),ut("MM",Q,q),ut("MMM",(function(t,e){return e.monthsShortRegex(t)})),ut("MMMM",(function(t,e){return e.monthsRegex(t)})),ft(["M","MM"],(function(t,e){e[1]=_(t)-1})),ft(["MMM","MMMM"],(function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[1]=r:f(n).invalidMonth=t}));var kt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,St="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Tt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ct(t,e,n){var i,r,a,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=h([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(r=bt.call(this._shortMonthsParse,o))?r:null:-1!==(r=bt.call(this._longMonthsParse,o))?r:null:"MMM"===e?-1!==(r=bt.call(this._shortMonthsParse,o))||-1!==(r=bt.call(this._longMonthsParse,o))?r:null:-1!==(r=bt.call(this._longMonthsParse,o))||-1!==(r=bt.call(this._shortMonthsParse,o))?r:null}function Dt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=_(e);else if(!s(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),Mt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function Pt(t){return null!=t?(Dt(this,t),i.updateOffset(this,!0),this):wt(this,"Month")}var Et=st,At=st;function Ot(){function t(t,e){return e.length-t.length}var e,n,i=[],r=[],a=[];for(e=0;e<12;e++)n=h([2e3,e]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(i.sort(t),r.sort(t),a.sort(t),e=0;e<12;e++)i[e]=dt(i[e]),r[e]=dt(r[e]);for(e=0;e<24;e++)a[e]=dt(a[e]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function It(t,e,n,i,r,a,o){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,i,r,a,o),s}function Lt(t){var e;if(t<100&&t>=0){var n=Array.prototype.slice.call(arguments);n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function Ft(t,e,n){var i=7+e-n;return-(7+Lt(t,0,i).getUTCDay()-e)%7+i-1}function zt(t,e,n,i,r){var a,o,s=1+7*(e-1)+(7+n-i)%7+Ft(t,i,r);return s<=0?o=mt(a=t-1)+s:s>mt(t)?(a=t+1,o=s-mt(t)):(a=t,o=s),{year:a,dayOfYear:o}}function Nt(t,e,n){var i,r,a=Ft(t.year(),e,n),o=Math.floor((t.dayOfYear()-a-1)/7)+1;return o<1?i=o+jt(r=t.year()-1,e,n):o>jt(t.year(),e,n)?(i=o-jt(t.year(),e,n),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function jt(t,e,n){var i=Ft(t,e,n),r=Ft(t+1,e,n);return(mt(t)-i+r)/7}function Rt(t,e){return t.slice(e,7).concat(t.slice(0,e))}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),N("week",5),N("isoWeek",5),ut("w",Q),ut("ww",Q,q),ut("W",Q),ut("WW",Q,q),pt(["w","ww","W","WW"],(function(t,e,n,i){e[i.substr(0,1)]=_(t)})),V("d",0,"do","day"),V("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),V("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),V("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),ut("d",Q),ut("e",Q),ut("E",Q),ut("dd",(function(t,e){return e.weekdaysMinRegex(t)})),ut("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),ut("dddd",(function(t,e){return e.weekdaysRegex(t)})),pt(["dd","ddd","dddd"],(function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:f(n).invalidWeekday=t})),pt(["d","e","E"],(function(t,e,n,i){e[i]=_(t)}));var Bt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Yt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Wt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Vt(t,e,n){var i,r,a,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=h([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=bt.call(this._weekdaysParse,o))?r:null:"ddd"===e?-1!==(r=bt.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=bt.call(this._minWeekdaysParse,o))?r:null:"dddd"===e?-1!==(r=bt.call(this._weekdaysParse,o))||-1!==(r=bt.call(this._shortWeekdaysParse,o))||-1!==(r=bt.call(this._minWeekdaysParse,o))?r:null:"ddd"===e?-1!==(r=bt.call(this._shortWeekdaysParse,o))||-1!==(r=bt.call(this._weekdaysParse,o))||-1!==(r=bt.call(this._minWeekdaysParse,o))?r:null:-1!==(r=bt.call(this._minWeekdaysParse,o))||-1!==(r=bt.call(this._weekdaysParse,o))||-1!==(r=bt.call(this._shortWeekdaysParse,o))?r:null}var Ht=st,Gt=st,Ut=st;function qt(){function t(t,e){return e.length-t.length}var e,n,i,r,a,o=[],s=[],l=[],u=[];for(e=0;e<7;e++)n=h([2e3,1]).day(e),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(i),s.push(r),l.push(a),u.push(i),u.push(r),u.push(a);for(o.sort(t),s.sort(t),l.sort(t),u.sort(t),e=0;e<7;e++)s[e]=dt(s[e]),l[e]=dt(l[e]),u[e]=dt(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("^("+o.join("|")+")","i")}function Xt(){return this.hours()%12||12}function Kt(t,e){V(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function Zt(t,e){return e._meridiemParse}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,Xt),V("k",["kk",2],0,(function(){return this.hours()||24})),V("hmm",0,0,(function(){return""+Xt.apply(this)+j(this.minutes(),2)})),V("hmmss",0,0,(function(){return""+Xt.apply(this)+j(this.minutes(),2)+j(this.seconds(),2)})),V("Hmm",0,0,(function(){return""+this.hours()+j(this.minutes(),2)})),V("Hmmss",0,0,(function(){return""+this.hours()+j(this.minutes(),2)+j(this.seconds(),2)})),Kt("a",!0),Kt("A",!1),I("hour","h"),N("hour",13),ut("a",Zt),ut("A",Zt),ut("H",Q),ut("h",Q),ut("k",Q),ut("HH",Q,q),ut("hh",Q,q),ut("kk",Q,q),ut("hmm",J),ut("hmmss",$),ut("Hmm",J),ut("Hmmss",$),ft(["H","HH"],3),ft(["k","kk"],(function(t,e,n){var i=_(t);e[3]=24===i?0:i})),ft(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),ft(["h","hh"],(function(t,e,n){e[3]=_(t),f(n).bigHour=!0})),ft("hmm",(function(t,e,n){var i=t.length-2;e[3]=_(t.substr(0,i)),e[4]=_(t.substr(i)),f(n).bigHour=!0})),ft("hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[3]=_(t.substr(0,i)),e[4]=_(t.substr(i,2)),e[5]=_(t.substr(r)),f(n).bigHour=!0})),ft("Hmm",(function(t,e,n){var i=t.length-2;e[3]=_(t.substr(0,i)),e[4]=_(t.substr(i))})),ft("Hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[3]=_(t.substr(0,i)),e[4]=_(t.substr(i,2)),e[5]=_(t.substr(r))}));var Qt,Jt=xt("Hours",!0),$t={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:St,monthsShort:Tt,week:{dow:0,doy:6},weekdays:Bt,weekdaysMin:Wt,weekdaysShort:Yt,meridiemParse:/[ap]\.?m?\.?/i},te={},ee={};function ne(t){return t?t.toLowerCase().replace("_","-"):t}function ie(e){var n=null;if(!te[e]&&void 0!==t&&t&&t.exports)try{n=Qt._abbr,!function(){var t=new Error("Cannot find module 'undefined'");throw t.code="MODULE_NOT_FOUND",t}(),re(n)}catch(i){}return te[e]}function re(t,e){var n;return t&&((n=o(e)?oe(t):ae(t,e))?Qt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Qt._abbr}function ae(t,e){if(null!==e){var n,i=$t;if(e.abbr=t,null!=te[t])D("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."),i=te[t]._config;else if(null!=e.parentLocale)if(null!=te[e.parentLocale])i=te[e.parentLocale]._config;else{if(null==(n=ie(e.parentLocale)))return ee[e.parentLocale]||(ee[e.parentLocale]=[]),ee[e.parentLocale].push({name:t,config:e}),null;i=n._config}return te[t]=new A(E(i,e)),ee[t]&&ee[t].forEach((function(t){ae(t.name,t.config)})),re(t),te[t]}return delete te[t],null}function oe(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Qt;if(!r(t)){if(e=ie(t))return e;t=[t]}return function(t){for(var e,n,i,r,a=0;a<t.length;){for(e=(r=ne(t[a]).split("-")).length,n=(n=ne(t[a+1]))?n.split("-"):null;e>0;){if(i=ie(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&M(r,n,!0)>=e-1)break;e--}a++}return Qt}(t)}function se(t){var e,n=t._a;return n&&-2===f(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Mt(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,f(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),f(t)._overflowWeeks&&-1===e&&(e=7),f(t)._overflowWeekday&&-1===e&&(e=8),f(t).overflow=e),t}function le(t,e,n){return null!=t?t:null!=e?e:n}function ue(t){var e,n,r,a,o,s=[];if(!t._d){for(r=function(t){var e=new Date(i.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,n,i,r,a,o,s,l;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)a=1,o=4,n=le(e.GG,t._a[0],Nt(ke(),1,4).year),i=le(e.W,1),((r=le(e.E,1))<1||r>7)&&(l=!0);else{a=t._locale._week.dow,o=t._locale._week.doy;var u=Nt(ke(),a,o);n=le(e.gg,t._a[0],u.year),i=le(e.w,u.week),null!=e.d?((r=e.d)<0||r>6)&&(l=!0):null!=e.e?(r=e.e+a,(e.e<0||e.e>6)&&(l=!0)):r=a}i<1||i>jt(n,a,o)?f(t)._overflowWeeks=!0:null!=l?f(t)._overflowWeekday=!0:(s=zt(n,i,r,a,o),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(o=le(t._a[0],r[0]),(t._dayOfYear>mt(o)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),n=Lt(o,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Lt:It).apply(null,s),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==a&&(f(t).weekdayMismatch=!0)}}var ce=/^\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)?)?$/,de=/^\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)?)?$/,he=/Z|[+-]\d\d(?::?\d\d)?/,fe=[["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}/]],pe=[["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/]],ge=/^\/?Date\((\-?\d+)/i;function me(t){var e,n,i,r,a,o,s=t._i,l=ce.exec(s)||de.exec(s);if(l){for(f(t).iso=!0,e=0,n=fe.length;e<n;e++)if(fe[e][1].exec(l[1])){r=fe[e][0],i=!1!==fe[e][2];break}if(null==r)return void(t._isValid=!1);if(l[3]){for(e=0,n=pe.length;e<n;e++)if(pe[e][1].exec(l[3])){a=(l[2]||" ")+pe[e][0];break}if(null==a)return void(t._isValid=!1)}if(!i&&null!=a)return void(t._isValid=!1);if(l[4]){if(!he.exec(l[4]))return void(t._isValid=!1);o="Z"}t._f=r+(a||"")+(o||""),we(t)}else t._isValid=!1}var ve=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function be(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}var ye={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xe(t){var e,n,i,r,a,o,s,l=ve.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){var u=(e=l[4],n=l[3],i=l[2],r=l[5],a=l[6],o=l[7],s=[be(e),Tt.indexOf(n),parseInt(i,10),parseInt(r,10),parseInt(a,10)],o&&s.push(parseInt(o,10)),s);if(!function(t,e,n){return!t||Yt.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(f(n).weekdayMismatch=!0,n._isValid=!1,!1)}(l[1],u,t))return;t._a=u,t._tzm=function(t,e,n){if(t)return ye[t];if(e)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}(l[8],l[9],l[10]),t._d=Lt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),f(t).rfc2822=!0}else t._isValid=!1}function we(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],f(t).empty=!0;var e,n,r,a,o,s=""+t._i,l=s.length,u=0;for(r=G(t._f,t._locale).match(R)||[],e=0;e<r.length;e++)a=r[e],(n=(s.match(ct(a,t))||[])[0])&&((o=s.substr(0,s.indexOf(n))).length>0&&f(t).unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),u+=n.length),W[a]?(n?f(t).empty=!1:f(t).unusedTokens.push(a),gt(a,n,t)):t._strict&&!n&&f(t).unusedTokens.push(a);f(t).charsLeftOver=l-u,s.length>0&&f(t).unusedInput.push(s),t._a[3]<=12&&!0===f(t).bigHour&&t._a[3]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[3]=function(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),ue(t),se(t)}else xe(t);else me(t)}function _e(t){var e=t._i,n=t._f;return t._locale=t._locale||oe(t._l),null===e||void 0===n&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),x(e)?new y(se(e)):(l(e)?t._d=e:r(n)?function(t){var e,n,i,r,a;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<t._f.length;r++)a=0,e=v({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],we(e),p(e)&&(a+=f(e).charsLeftOver,a+=10*f(e).unusedTokens.length,f(e).score=a,(null==i||a<i)&&(i=a,n=e));d(t,n||e)}(t):n?we(t):function(t){var e=t._i;o(e)?t._d=new Date(i.now()):l(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=ge.exec(t._i);null===e?(me(t),!1===t._isValid&&(delete t._isValid,xe(t),!1===t._isValid&&(delete t._isValid,i.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):r(e)?(t._a=u(e.slice(0),(function(t){return parseInt(t,10)})),ue(t)):a(e)?function(t){if(!t._d){var e=F(t._i);t._a=u([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),ue(t)}}(t):s(e)?t._d=new Date(e):i.createFromInputFallback(t)}(t),p(t)||(t._d=null),t))}function Me(t,e,n,i,o){var s,l={};return!0!==n&&!1!==n||(i=n,n=void 0),(a(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(t)||r(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=o,l._l=n,l._i=t,l._f=e,l._strict=i,(s=new y(se(_e(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function ke(t,e,n,i){return Me(t,e,n,i,!1)}i.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/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":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Se=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=ke.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:g()})),Te=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=ke.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:g()}));function Ce(t,e){var n,i;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return ke();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}var De=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pe(t){var e=F(t),n=e.year||0,i=e.quarter||0,r=e.month||0,a=e.week||e.isoWeek||0,o=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,c=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===bt.call(De,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,i=0;i<De.length;++i)if(t[De[i]]){if(n)return!1;parseFloat(t[De[i]])!==_(t[De[i]])&&(n=!0)}return!0}(e),this._milliseconds=+c+1e3*u+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+r+3*i+12*n,this._data={},this._locale=oe(),this._bubble()}function Ee(t){return t instanceof Pe}function Ae(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Oe(t,e){V(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+j(~~(t/60),2)+e+j(~~t%60,2)}))}Oe("Z",":"),Oe("ZZ",""),ut("Z",ot),ut("ZZ",ot),ft(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=Le(ot,t)}));var Ie=/([\+\-]|\d\d)/gi;function Le(t,e){var n=(e||"").match(t);if(null===n)return null;var i=((n[n.length-1]||[])+"").match(Ie)||["-",0,0],r=60*i[1]+_(i[2]);return 0===r?0:"+"===i[0]?r:-r}function Fe(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(x(t)||l(t)?t.valueOf():ke(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):ke(t).local()}function ze(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Ne(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var je=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Re=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Be(t,e){var n,i,r,a,o,l,u=t,d=null;return Ee(t)?u={ms:t._milliseconds,d:t._days,M:t._months}:s(t)?(u={},e?u[e]=t:u.milliseconds=t):(d=je.exec(t))?(n="-"===d[1]?-1:1,u={y:0,d:_(d[2])*n,h:_(d[3])*n,m:_(d[4])*n,s:_(d[5])*n,ms:_(Ae(1e3*d[6]))*n}):(d=Re.exec(t))?(n="-"===d[1]?-1:1,u={y:Ye(d[2],n),M:Ye(d[3],n),w:Ye(d[4],n),d:Ye(d[5],n),h:Ye(d[6],n),m:Ye(d[7],n),s:Ye(d[8],n)}):null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(a=ke(u.from),o=ke(u.to),r=a.isValid()&&o.isValid()?(o=Fe(o,a),a.isBefore(o)?l=We(a,o):((l=We(o,a)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(u={}).ms=r.milliseconds,u.M=r.months),i=new Pe(u),Ee(t)&&c(t,"_locale")&&(i._locale=t._locale),i}function Ye(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function We(t,e){var n={};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 Ve(t,e){return function(n,i){var r;return null===i||isNaN(+i)||(D(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."),r=n,n=i,i=r),He(this,Be(n="string"==typeof n?+n:n,i),t),this}}function He(t,e,n,r){var a=e._milliseconds,o=Ae(e._days),s=Ae(e._months);t.isValid()&&(r=null==r||r,s&&Dt(t,wt(t,"Month")+s*n),o&&_t(t,"Date",wt(t,"Date")+o*n),a&&t._d.setTime(t._d.valueOf()+a*n),r&&i.updateOffset(t,o||s))}Be.fn=Pe.prototype,Be.invalid=function(){return Be(NaN)};var Ge=Ve(1,"add"),Ue=Ve(-1,"subtract");function qe(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months");return-(n+(e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(n+1,"months")-i)))||0}function Xe(t){var e;return void 0===t?this._locale._abbr:(null!=(e=oe(t))&&(this._locale=e),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ke=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function Ze(){return this._locale}function Qe(t,e){return(t%e+e)%e}function Je(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-126227808e5:new Date(t,e,n).valueOf()}function $e(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-126227808e5:Date.UTC(t,e,n)}function tn(t,e){V(0,[t,t.length],0,e)}function en(t,e,n,i,r){var a;return null==t?Nt(this,i,r).year:(e>(a=jt(t,i,r))&&(e=a),nn.call(this,t,e,n,i,r))}function nn(t,e,n,i,r){var a=zt(t,e,n,i,r),o=Lt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}V(0,["gg",2],0,(function(){return this.weekYear()%100})),V(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),tn("gggg","weekYear"),tn("ggggg","weekYear"),tn("GGGG","isoWeekYear"),tn("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),ut("G",rt),ut("g",rt),ut("GG",Q,q),ut("gg",Q,q),ut("GGGG",et,K),ut("gggg",et,K),ut("GGGGG",nt,Z),ut("ggggg",nt,Z),pt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,i){e[i.substr(0,2)]=_(t)})),pt(["gg","GG"],(function(t,e,n,r){e[r]=i.parseTwoDigitYear(t)})),V("Q",0,"Qo","quarter"),I("quarter","Q"),N("quarter",7),ut("Q",U),ft("Q",(function(t,e){e[1]=3*(_(t)-1)})),V("D",["DD",2],"Do","date"),I("date","D"),N("date",9),ut("D",Q),ut("DD",Q,q),ut("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),ft(["D","DD"],2),ft("Do",(function(t,e){e[2]=_(t.match(Q)[0])}));var rn=xt("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),N("dayOfYear",4),ut("DDD",tt),ut("DDDD",X),ft(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=_(t)})),V("m",["mm",2],0,"minute"),I("minute","m"),N("minute",14),ut("m",Q),ut("mm",Q,q),ft(["m","mm"],4);var an=xt("Minutes",!1);V("s",["ss",2],0,"second"),I("second","s"),N("second",15),ut("s",Q),ut("ss",Q,q),ft(["s","ss"],5);var on,sn=xt("Seconds",!1);for(V("S",0,0,(function(){return~~(this.millisecond()/100)})),V(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),V(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),V(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),V(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),V(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),V(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),I("millisecond","ms"),N("millisecond",16),ut("S",tt,U),ut("SS",tt,q),ut("SSS",tt,X),on="SSSS";on.length<=9;on+="S")ut(on,it);function ln(t,e){e[6]=_(1e3*("0."+t))}for(on="S";on.length<=9;on+="S")ft(on,ln);var un=xt("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var cn=y.prototype;function dn(t){return t}cn.add=Ge,cn.calendar=function(t,e){var n=t||ke(),r=Fe(n,this).startOf("day"),a=i.calendarFormat(this,r)||"sameElse",o=e&&(P(e[a])?e[a].call(this,n):e[a]);return this.format(o||this.localeData().calendar(a,this,ke(n)))},cn.clone=function(){return new y(this)},cn.diff=function(t,e,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=Fe(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=L(e)){case"year":a=qe(this,i)/12;break;case"month":a=qe(this,i);break;case"quarter":a=qe(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:w(a)},cn.endOf=function(t){var e;if(void 0===(t=L(t))||"millisecond"===t||!this.isValid())return this;var n=this._isUTC?$e:Je;switch(t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-Qe(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-Qe(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-Qe(e,1e3)-1}return this._d.setTime(e),i.updateOffset(this,!0),this},cn.format=function(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var e=H(this,t);return this.localeData().postformat(e)},cn.from=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||ke(t).isValid())?Be({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},cn.fromNow=function(t){return this.from(ke(),t)},cn.to=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||ke(t).isValid())?Be({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},cn.toNow=function(t){return this.to(ke(),t)},cn.get=function(t){return P(this[t=L(t)])?this[t]():this},cn.invalidAt=function(){return f(this).overflow},cn.isAfter=function(t,e){var n=x(t)?t:ke(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=L(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},cn.isBefore=function(t,e){var n=x(t)?t:ke(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=L(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},cn.isBetween=function(t,e,n,i){var r=x(t)?t:ke(t),a=x(e)?e:ke(e);return!!(this.isValid()&&r.isValid()&&a.isValid())&&("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(a,n):!this.isAfter(a,n))},cn.isSame=function(t,e){var n,i=x(t)?t:ke(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=L(e)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},cn.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},cn.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},cn.isValid=function(){return p(this)},cn.lang=Ke,cn.locale=Xe,cn.localeData=Ze,cn.max=Te,cn.min=Se,cn.parsingFlags=function(){return d({},f(this))},cn.set=function(t,e){if("object"==typeof t)for(var n=function(t){var e=[];for(var n in t)e.push({unit:n,priority:z[n]});return e.sort((function(t,e){return t.priority-e.priority})),e}(t=F(t)),i=0;i<n.length;i++)this[n[i].unit](t[n[i].unit]);else if(P(this[t=L(t)]))return this[t](e);return this},cn.startOf=function(t){var e;if(void 0===(t=L(t))||"millisecond"===t||!this.isValid())return this;var n=this._isUTC?$e:Je;switch(t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Qe(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=Qe(e,6e4);break;case"second":e=this._d.valueOf(),e-=Qe(e,1e3)}return this._d.setTime(e),i.updateOffset(this,!0),this},cn.subtract=Ue,cn.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},cn.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},cn.toDate=function(){return new Date(this.valueOf())},cn.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?H(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):P(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",H(n,"Z")):H(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},cn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=e+'[")]';return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+r)},cn.toJSON=function(){return this.isValid()?this.toISOString():null},cn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},cn.unix=function(){return Math.floor(this.valueOf()/1e3)},cn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},cn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},cn.year=yt,cn.isLeapYear=function(){return vt(this.year())},cn.weekYear=function(t){return en.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},cn.isoWeekYear=function(t){return en.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},cn.quarter=cn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},cn.month=Pt,cn.daysInMonth=function(){return Mt(this.year(),this.month())},cn.week=cn.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},cn.isoWeek=cn.isoWeeks=function(t){var e=Nt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},cn.weeksInYear=function(){var t=this.localeData()._week;return jt(this.year(),t.dow,t.doy)},cn.isoWeeksInYear=function(){return jt(this.year(),1,4)},cn.date=rn,cn.day=cn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},cn.weekday=function(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")},cn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},cn.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},cn.hour=cn.hours=Jt,cn.minute=cn.minutes=an,cn.second=cn.seconds=sn,cn.millisecond=cn.milliseconds=un,cn.utcOffset=function(t,e,n){var r,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Le(ot,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(r=ze(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==t&&(!e||this._changeInProgress?He(this,Be(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:ze(this)},cn.utc=function(t){return this.utcOffset(0,t)},cn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ze(this),"m")),this},cn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Le(at,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},cn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?ke(t).utcOffset():0,(this.utcOffset()-t)%60==0)},cn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},cn.isLocal=function(){return!!this.isValid()&&!this._isUTC},cn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},cn.isUtc=Ne,cn.isUTC=Ne,cn.zoneAbbr=function(){return this._isUTC?"UTC":""},cn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},cn.dates=S("dates accessor is deprecated. Use date instead.",rn),cn.months=S("months accessor is deprecated. Use month instead",Pt),cn.years=S("years accessor is deprecated. Use year instead",yt),cn.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),cn.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var t={};if(v(t,this),(t=_e(t))._a){var e=t._isUTC?h(t._a):ke(t._a);this._isDSTShifted=this.isValid()&&M(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var hn=A.prototype;function fn(t,e,n,i){var r=oe(),a=h().set(i,e);return r[n](a,t)}function pn(t,e,n){if(s(t)&&(e=t,t=void 0),t=t||"",null!=e)return fn(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=fn(t,i,n,"month");return r}function gn(t,e,n,i){"boolean"==typeof t?(s(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,s(e)&&(n=e,e=void 0),e=e||"");var r,a=oe(),o=t?a._week.dow:0;if(null!=n)return fn(e,(n+o)%7,i,"day");var l=[];for(r=0;r<7;r++)l[r]=fn(e,(r+o)%7,i,"day");return l}hn.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return P(i)?i.call(e,n):i},hn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,(function(t){return t.slice(1)})),this._longDateFormat[t])},hn.invalidDate=function(){return this._invalidDate},hn.ordinal=function(t){return this._ordinal.replace("%d",t)},hn.preparse=dn,hn.postformat=dn,hn.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return P(r)?r(t,e,n,i):r.replace(/%d/i,t)},hn.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return P(n)?n(e):n.replace(/%s/i,e)},hn.set=function(t){var e,n;for(n in t)P(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hn.months=function(t,e){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||kt).test(e)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone},hn.monthsShort=function(t,e){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[kt.test(e)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hn.monthsParse=function(t,e,n){var i,r,a;if(this._monthsParseExact)return Ct.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=h([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},hn.monthsRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||Ot.call(this),t?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=At),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},hn.monthsShortRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||Ot.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Et),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},hn.week=function(t){return Nt(t,this._week.dow,this._week.doy).week},hn.firstDayOfYear=function(){return this._week.doy},hn.firstDayOfWeek=function(){return this._week.dow},hn.weekdays=function(t,e){var n=r(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Rt(n,this._week.dow):t?n[t.day()]:n},hn.weekdaysMin=function(t){return!0===t?Rt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},hn.weekdaysShort=function(t){return!0===t?Rt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},hn.weekdaysParse=function(t,e,n){var i,r,a;if(this._weekdaysParseExact)return Vt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=h([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},hn.weekdaysRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ht),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},hn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Gt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ut),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},hn.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},re("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===_(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),i.lang=S("moment.lang is deprecated. Use moment.locale instead.",re),i.langData=S("moment.langData is deprecated. Use moment.localeData instead.",oe);var mn=Math.abs;function vn(t,e,n,i){var r=Be(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function bn(t){return t<0?Math.floor(t):Math.ceil(t)}function yn(t){return 4800*t/146097}function xn(t){return 146097*t/4800}function wn(t){return function(){return this.as(t)}}var _n=wn("ms"),Mn=wn("s"),kn=wn("m"),Sn=wn("h"),Tn=wn("d"),Cn=wn("w"),Dn=wn("M"),Pn=wn("Q"),En=wn("y");function An(t){return function(){return this.isValid()?this._data[t]:NaN}}var On=An("milliseconds"),In=An("seconds"),Ln=An("minutes"),Fn=An("hours"),zn=An("days"),Nn=An("months"),jn=An("years"),Rn=Math.round,Bn={ss:44,s:45,m:45,h:22,d:26,M:11};function Yn(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}var Wn=Math.abs;function Vn(t){return(t>0)-(t<0)||+t}function Hn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n=Wn(this._milliseconds)/1e3,i=Wn(this._days),r=Wn(this._months);t=w(n/60),e=w(t/60),n%=60,t%=60;var a=w(r/12),o=r%=12,s=i,l=e,u=t,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var h=d<0?"-":"",f=Vn(this._months)!==Vn(d)?"-":"",p=Vn(this._days)!==Vn(d)?"-":"",g=Vn(this._milliseconds)!==Vn(d)?"-":"";return h+"P"+(a?f+a+"Y":"")+(o?f+o+"M":"")+(s?p+s+"D":"")+(l||u||c?"T":"")+(l?g+l+"H":"")+(u?g+u+"M":"")+(c?g+c+"S":"")}var Gn=Pe.prototype;return Gn.isValid=function(){return this._isValid},Gn.abs=function(){var t=this._data;return this._milliseconds=mn(this._milliseconds),this._days=mn(this._days),this._months=mn(this._months),t.milliseconds=mn(t.milliseconds),t.seconds=mn(t.seconds),t.minutes=mn(t.minutes),t.hours=mn(t.hours),t.months=mn(t.months),t.years=mn(t.years),this},Gn.add=function(t,e){return vn(this,t,e,1)},Gn.subtract=function(t,e){return vn(this,t,e,-1)},Gn.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=L(t))||"quarter"===t||"year"===t)switch(e=this._days+i/864e5,n=this._months+yn(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(xn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},Gn.asMilliseconds=_n,Gn.asSeconds=Mn,Gn.asMinutes=kn,Gn.asHours=Sn,Gn.asDays=Tn,Gn.asWeeks=Cn,Gn.asMonths=Dn,Gn.asQuarters=Pn,Gn.asYears=En,Gn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*_(this._months/12):NaN},Gn._bubble=function(){var t,e,n,i,r,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*bn(xn(s)+o),o=0,s=0),l.milliseconds=a%1e3,t=w(a/1e3),l.seconds=t%60,e=w(t/60),l.minutes=e%60,n=w(e/60),l.hours=n%24,o+=w(n/24),r=w(yn(o)),s+=r,o-=bn(xn(r)),i=w(s/12),s%=12,l.days=o,l.months=s,l.years=i,this},Gn.clone=function(){return Be(this)},Gn.get=function(t){return t=L(t),this.isValid()?this[t+"s"]():NaN},Gn.milliseconds=On,Gn.seconds=In,Gn.minutes=Ln,Gn.hours=Fn,Gn.days=zn,Gn.weeks=function(){return w(this.days()/7)},Gn.months=Nn,Gn.years=jn,Gn.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=function(t,e,n){var i=Be(t).abs(),r=Rn(i.as("s")),a=Rn(i.as("m")),o=Rn(i.as("h")),s=Rn(i.as("d")),l=Rn(i.as("M")),u=Rn(i.as("y")),c=r<=Bn.ss&&["s",r]||r<Bn.s&&["ss",r]||a<=1&&["m"]||a<Bn.m&&["mm",a]||o<=1&&["h"]||o<Bn.h&&["hh",o]||s<=1&&["d"]||s<Bn.d&&["dd",s]||l<=1&&["M"]||l<Bn.M&&["MM",l]||u<=1&&["y"]||["yy",u];return c[2]=e,c[3]=+t>0,c[4]=n,Yn.apply(null,c)}(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},Gn.toISOString=Hn,Gn.toString=Hn,Gn.toJSON=Hn,Gn.locale=Xe,Gn.localeData=Ze,Gn.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Hn),Gn.lang=Ke,V("X",0,0,"unix"),V("x",0,0,"valueOf"),ut("x",rt),ut("X",/[+-]?\d+(\.\d{1,3})?/),ft("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))})),ft("x",(function(t,e,n){n._d=new Date(_(t))})),i.version="2.24.0",e=ke,i.fn=cn,i.min=function(){var t=[].slice.call(arguments,0);return Ce("isBefore",t)},i.max=function(){var t=[].slice.call(arguments,0);return Ce("isAfter",t)},i.now=function(){return Date.now?Date.now():+new Date},i.utc=h,i.unix=function(t){return ke(1e3*t)},i.months=function(t,e){return pn(t,e,"months")},i.isDate=l,i.locale=re,i.invalid=g,i.duration=Be,i.isMoment=x,i.weekdays=function(t,e,n){return gn(t,e,n,"weekdays")},i.parseZone=function(){return ke.apply(null,arguments).parseZone()},i.localeData=oe,i.isDuration=Ee,i.monthsShort=function(t,e){return pn(t,e,"monthsShort")},i.weekdaysMin=function(t,e,n){return gn(t,e,n,"weekdaysMin")},i.defineLocale=ae,i.updateLocale=function(t,e){if(null!=e){var n,i,r=$t;null!=(i=ie(t))&&(r=i._config),e=E(r,e),(n=new A(e)).parentLocale=te[t],te[t]=n,re(t)}else null!=te[t]&&(null!=te[t].parentLocale?te[t]=te[t].parentLocale:null!=te[t]&&delete te[t]);return te[t]},i.locales=function(){return T(te)},i.weekdaysShort=function(t,e,n){return gn(t,e,n,"weekdaysShort")},i.normalizeUnits=L,i.relativeTimeRounding=function(t){return void 0===t?Rn:"function"==typeof t&&(Rn=t,!0)},i.relativeTimeThreshold=function(t,e){return void 0!==Bn[t]&&(void 0===e?Bn[t]:(Bn[t]=e,"s"===t&&(Bn.ss=e-1),!0))},i.calendarFormat=function(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"},i.prototype=cn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,n("YuTi")(t))},xIeC:function(t,e,n){t.exports=n.p+"static/img16-2729965dd569819b5ec2d5ac2d25e170.png"},xU54:function(t,e,n){t.exports=n.p+"static/img9-e93090b8255e452066a5fe0dd7bbf42a.png"},xYSL:function(t,e){t.exports=function(t,e){return t.has(e)}},y1pI:function(t,e,n){var i=n("ljhN");t.exports=function(t,e){for(var n=t.length;n--;)if(i(t[n][0],e))return n;return-1}},yCFj:function(t,e,n){t.exports=n.p+"static/img3-ae81a381572fe3b22c2e679ed6f119e8.png"},yGk4:function(t,e,n){var i=n("Cwc5")(n("Kz5y"),"Set");t.exports=i},ySEy:function(t,e,n){t.exports=n.p+"static/img20-8469b47161bdf6271f06fed436d83d88.png"},yhaA:function(t,e,n){t.exports=n.p+"static/img14-8f85c5a42747f01e4c886258c756a3de.png"},zZ0H:function(t,e){t.exports=function(t){return t}},zoYe:function(t,e,n){n("a1Th"),n("h7Nl"),n("Btvt");var i=n("nmnc"),r=n("eUgh"),a=n("Z0cm"),o=n("/9aa"),s=i?i.prototype:void 0,l=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(a(e))return r(e,t)+"";if(o(e))return l?l.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},ztCh:function(t,e,n){t.exports=n.p+"static/img6-5f0d902d650b7584fef7dd4644904030.png"}}]);
  //# sourceMappingURL=component---src-pages-index-js-79d5efb631364969b4c2.js.map