Files
cachet-docker/public/build/dist/js/all-0bf8973998.js
2016-06-10 17:27:26 +01:00

21 lines
664 KiB
JavaScript
Executable File
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
function askConfirmation(t){swal({type:"warning",title:"Confirm your action",text:"Are you sure you want to do this?",confirmButtonText:"Yes",confirmButtonColor:"#FF6F6F",showCancelButton:!0},function(){t()})}if(function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=!!t&&"length"in t&&t.length,n=at.type(t);return"function"===n||at.isWindow(t)?!1:"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t}function i(t,e,n){if(at.isFunction(e))return at.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return at.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(mt.test(e))return at.filter(e,t,n);e=at.filter(e,t)}return at.grep(t,function(t){return K.call(e,t)>-1!==n})}function r(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function a(t){var e={};return at.each(t.match(Mt)||[],function(t,n){e[n]=!0}),e}function o(){G.removeEventListener("DOMContentLoaded",o),t.removeEventListener("load",o),at.ready()}function s(){this.expando=at.expando+s.uid++}function l(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Yt,"-$&").toLowerCase(),n=t.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Tt.test(n)?at.parseJSON(n):n}catch(r){}Dt.set(t,e,n)}else n=void 0;return n}function d(t,e,n,i){var r,a=1,o=20,s=i?function(){return i.cur()}:function(){return at.css(t,e,"")},l=s(),d=n&&n[3]||(at.cssNumber[e]?"":"px"),u=(at.cssNumber[e]||"px"!==d&&+l)&&Ct.exec(at.css(t,e));if(u&&u[3]!==d){d=d||u[3],n=n||[],u=+l||1;do a=a||".5",u/=a,at.style(t,e,u+d);while(a!==(a=s()/l)&&1!==a&&--o)}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=d,i.start=u,i.end=r)),r}function u(t,e){var n="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&at.nodeName(t,e)?at.merge([t],n):n}function c(t,e){for(var n=0,i=t.length;i>n;n++)Lt.set(t[n],"globalEval",!e||Lt.get(e[n],"globalEval"))}function h(t,e,n,i,r){for(var a,o,s,l,d,h,f=e.createDocumentFragment(),p=[],m=0,_=t.length;_>m;m++)if(a=t[m],a||0===a)if("object"===at.type(a))at.merge(p,a.nodeType?[a]:a);else if(Wt.test(a)){for(o=o||f.appendChild(e.createElement("div")),s=(Pt.exec(a)||["",""])[1].toLowerCase(),l=It[s]||It._default,o.innerHTML=l[1]+at.htmlPrefilter(a)+l[2],h=l[0];h--;)o=o.lastChild;at.merge(p,o.childNodes),o=f.firstChild,o.textContent=""}else p.push(e.createTextNode(a));for(f.textContent="",m=0;a=p[m++];)if(i&&at.inArray(a,i)>-1)r&&r.push(a);else if(d=at.contains(a.ownerDocument,a),o=u(f.appendChild(a),"script"),d&&c(o),n)for(h=0;a=o[h++];)Et.test(a.type||"")&&n.push(a);return f}function f(){return!0}function p(){return!1}function m(){try{return G.activeElement}catch(t){}}function _(t,e,n,i,r,a){var o,s;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=void 0);for(s in e)_(t,s,n,i,e[s],a);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),r===!1)r=p;else if(!r)return t;return 1===a&&(o=r,r=function(t){return at().off(t),o.apply(this,arguments)},r.guid=o.guid||(o.guid=at.guid++)),t.each(function(){at.event.add(this,e,r,i,n)})}function g(t,e){return at.nodeName(t,"table")&&at.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function y(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function v(t){var e=$t.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function b(t,e){var n,i,r,a,o,s,l,d;if(1===e.nodeType){if(Lt.hasData(t)&&(a=Lt.access(t),o=Lt.set(e,a),d=a.events)){delete o.handle,o.events={};for(r in d)for(n=0,i=d[r].length;i>n;n++)at.event.add(e,r,d[r][n])}Dt.hasData(t)&&(s=Dt.access(t),l=at.extend({},s),Dt.set(e,l))}}function M(t,e){var n=e.nodeName.toLowerCase();"input"===n&&jt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function w(t,e,n,i){e=Q.apply([],e);var r,a,o,s,l,d,c=0,f=t.length,p=f-1,m=e[0],_=at.isFunction(m);if(_||f>1&&"string"==typeof m&&!it.checkClone&&Bt.test(m))return t.each(function(r){var a=t.eq(r);_&&(e[0]=m.call(this,r,a.html())),w(a,e,n,i)});if(f&&(r=h(e,t[0].ownerDocument,!1,t,i),a=r.firstChild,1===r.childNodes.length&&(r=a),a||i)){for(o=at.map(u(r,"script"),y),s=o.length;f>c;c++)l=r,c!==p&&(l=at.clone(l,!0,!0),s&&at.merge(o,u(l,"script"))),n.call(t[c],l,c);if(s)for(d=o[o.length-1].ownerDocument,at.map(o,v),c=0;s>c;c++)l=o[c],Et.test(l.type||"")&&!Lt.access(l,"globalEval")&&at.contains(d,l)&&(l.src?at._evalUrl&&at._evalUrl(l.src):at.globalEval(l.textContent.replace(Vt,"")))}return t}function k(t,e,n){for(var i,r=e?at.filter(e,t):t,a=0;null!=(i=r[a]);a++)n||1!==i.nodeType||at.cleanData(u(i)),i.parentNode&&(n&&at.contains(i.ownerDocument,i)&&c(u(i,"script")),i.parentNode.removeChild(i));return t}function x(t,e){var n=at(e.createElement(t)).appendTo(e.body),i=at.css(n[0],"display");return n.detach(),i}function L(t){var e=G,n=Ut[t];return n||(n=x(t,e),"none"!==n&&n||(qt=(qt||at("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=qt[0].contentDocument,e.write(),e.close(),n=x(t,e),qt.detach()),Ut[t]=n),n}function D(t,e,n){var i,r,a,o,s=t.style;return n=n||Xt(t),o=n?n.getPropertyValue(e)||n[e]:void 0,""!==o&&void 0!==o||at.contains(t.ownerDocument,t)||(o=at.style(t,e)),n&&!it.pixelMarginRight()&&Gt.test(o)&&Jt.test(e)&&(i=s.width,r=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=i,s.minWidth=r,s.maxWidth=a),void 0!==o?o+"":o}function T(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function Y(t){if(t in ie)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=ne.length;n--;)if(t=ne[n]+e,t in ie)return t}function S(t,e,n){var i=Ct.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function C(t,e,n,i,r){for(var a=n===(i?"border":"content")?4:"width"===e?1:0,o=0;4>a;a+=2)"margin"===n&&(o+=at.css(t,n+Ht[a],!0,r)),i?("content"===n&&(o-=at.css(t,"padding"+Ht[a],!0,r)),"margin"!==n&&(o-=at.css(t,"border"+Ht[a]+"Width",!0,r))):(o+=at.css(t,"padding"+Ht[a],!0,r),"padding"!==n&&(o+=at.css(t,"border"+Ht[a]+"Width",!0,r)));return o}function H(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,a=Xt(t),o="border-box"===at.css(t,"boxSizing",!1,a);if(0>=r||null==r){if(r=D(t,e,a),(0>r||null==r)&&(r=t.style[e]),Gt.test(r))return r;i=o&&(it.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+C(t,e,n||(o?"border":"content"),i,a)+"px"}function A(t,e){for(var n,i,r,a=[],o=0,s=t.length;s>o;o++)i=t[o],i.style&&(a[o]=Lt.get(i,"olddisplay"),n=i.style.display,e?(a[o]||"none"!==n||(i.style.display=""),""===i.style.display&&At(i)&&(a[o]=Lt.access(i,"olddisplay",L(i.nodeName)))):(r=At(i),"none"===n&&r||Lt.set(i,"olddisplay",r?n:at.css(i,"display"))));for(o=0;s>o;o++)i=t[o],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?a[o]||"":"none"));return t}function j(t,e,n,i,r){return new j.prototype.init(t,e,n,i,r)}function P(){return t.setTimeout(function(){re=void 0}),re=at.now()}function E(t,e){var n,i=0,r={height:t};for(e=e?1:0;4>i;i+=2-e)n=Ht[i],r["margin"+n]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function I(t,e,n){for(var i,r=(O.tweeners[e]||[]).concat(O.tweeners["*"]),a=0,o=r.length;o>a;a++)if(i=r[a].call(n,e,t))return i}function W(t,e,n){var i,r,a,o,s,l,d,u,c=this,h={},f=t.style,p=t.nodeType&&At(t),m=Lt.get(t,"fxshow");n.queue||(s=at._queueHooks(t,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,c.always(function(){c.always(function(){s.unqueued--,at.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],d=at.css(t,"display"),u="none"===d?Lt.get(t,"olddisplay")||L(t.nodeName):d,"inline"===u&&"none"===at.css(t,"float")&&(f.display="inline-block")),n.overflow&&(f.overflow="hidden",c.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(i in e)if(r=e[i],oe.exec(r)){if(delete e[i],a=a||"toggle"===r,r===(p?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;p=!0}h[i]=m&&m[i]||at.style(t,i)}else d=void 0;if(at.isEmptyObject(h))"inline"===("none"===d?L(t.nodeName):d)&&(f.display=d);else{m?"hidden"in m&&(p=m.hidden):m=Lt.access(t,"fxshow",{}),a&&(m.hidden=!p),p?at(t).show():c.done(function(){at(t).hide()}),c.done(function(){var e;Lt.remove(t,"fxshow");for(e in h)at.style(t,e,h[e])});for(i in h)o=I(p?m[i]:0,i,c),i in m||(m[i]=o.start,p&&(o.end=o.start,o.start="width"===i||"height"===i?1:0))}}function F(t,e){var n,i,r,a,o;for(n in t)if(i=at.camelCase(n),r=e[i],a=t[n],at.isArray(a)&&(r=a[1],a=t[n]=a[0]),n!==i&&(t[i]=a,delete t[n]),o=at.cssHooks[i],o&&"expand"in o){a=o.expand(a),delete t[i];for(n in a)n in t||(t[n]=a[n],e[n]=r)}else e[i]=r}function O(t,e,n){var i,r,a=0,o=O.prefilters.length,s=at.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=re||P(),n=Math.max(0,d.startTime+d.duration-e),i=n/d.duration||0,a=1-i,o=0,l=d.tweens.length;l>o;o++)d.tweens[o].run(a);return s.notifyWith(t,[d,a,n]),1>a&&l?n:(s.resolveWith(t,[d]),!1)},d=s.promise({elem:t,props:at.extend({},e),opts:at.extend(!0,{specialEasing:{},easing:at.easing._default},n),originalProperties:e,originalOptions:n,startTime:re||P(),duration:n.duration,tweens:[],createTween:function(e,n){var i=at.Tween(t,d.opts,e,n,d.opts.specialEasing[e]||d.opts.easing);return d.tweens.push(i),i},stop:function(e){var n=0,i=e?d.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)d.tweens[n].run(1);return e?(s.notifyWith(t,[d,1,0]),s.resolveWith(t,[d,e])):s.rejectWith(t,[d,e]),this}}),u=d.props;for(F(u,d.opts.specialEasing);o>a;a++)if(i=O.prefilters[a].call(d,t,u,d.opts))return at.isFunction(i.stop)&&(at._queueHooks(d.elem,d.opts.queue).stop=at.proxy(i.stop,i)),i;return at.map(u,I,d),at.isFunction(d.opts.start)&&d.opts.start.call(t,d),at.fx.timer(at.extend(l,{elem:t,anim:d,queue:d.opts.queue})),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always)}function R(t){return t.getAttribute&&t.getAttribute("class")||""}function N(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,a=e.toLowerCase().match(Mt)||[];if(at.isFunction(n))for(;i=a[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function z(t,e,n,i){function r(s){var l;return a[s]=!0,at.each(t[s]||[],function(t,s){var d=s(e,n,i);return"string"!=typeof d||o||a[d]?o?!(l=d):void 0:(e.dataTypes.unshift(d),r(d),!1)}),l}var a={},o=t===De;return r(e.dataTypes[0])||!a["*"]&&r("*")}function B(t,e){var n,i,r=at.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&at.extend(!0,t,i),t}function $(t,e,n){for(var i,r,a,o,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)a=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){a=r;break}o||(o=r)}a=a||o}return a?(a!==l[0]&&l.unshift(a),n[a]):void 0}function V(t,e,n,i){var r,a,o,s,l,d={},u=t.dataTypes.slice();if(u[1])for(o in t.converters)d[o.toLowerCase()]=t.converters[o];for(a=u.shift();a;)if(t.responseFields[a]&&(n[t.responseFields[a]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=a,a=u.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(o=d[l+" "+a]||d["* "+a],!o)for(r in d)if(s=r.split(" "),s[1]===a&&(o=d[l+" "+s[0]]||d["* "+s[0]])){o===!0?o=d[r]:d[r]!==!0&&(a=s[0],u.unshift(s[1]));break}if(o!==!0)if(o&&t["throws"])e=o(e);else try{e=o(e)}catch(c){return{state:"parsererror",error:o?c:"No conversion from "+l+" to "+a}}}return{state:"success",data:e}}function q(t,e,n,i){var r;if(at.isArray(e))at.each(e,function(e,r){n||Ce.test(t)?i(t,r):q(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,n,i)});else if(n||"object"!==at.type(e))i(t,e);else for(r in e)q(t+"["+r+"]",e[r],n,i)}function U(t){return at.isWindow(t)?t:9===t.nodeType&&t.defaultView}var J=[],G=t.document,X=J.slice,Q=J.concat,Z=J.push,K=J.indexOf,tt={},et=tt.toString,nt=tt.hasOwnProperty,it={},rt="2.2.4",at=function(t,e){return new at.fn.init(t,e)},ot=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,st=/^-ms-/,lt=/-([\da-z])/gi,dt=function(t,e){return e.toUpperCase()};at.fn=at.prototype={jquery:rt,constructor:at,selector:"",length:0,toArray:function(){return X.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:X.call(this)},pushStack:function(t){var e=at.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t){return at.each(this,t)},map:function(t){return this.pushStack(at.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(X.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:Z,sort:J.sort,splice:J.splice},at.extend=at.fn.extend=function(){var t,e,n,i,r,a,o=arguments[0]||{},s=1,l=arguments.length,d=!1;for("boolean"==typeof o&&(d=o,o=arguments[s]||{},s++),"object"==typeof o||at.isFunction(o)||(o={}),s===l&&(o=this,s--);l>s;s++)if(null!=(t=arguments[s]))for(e in t)n=o[e],i=t[e],o!==i&&(d&&i&&(at.isPlainObject(i)||(r=at.isArray(i)))?(r?(r=!1,a=n&&at.isArray(n)?n:[]):a=n&&at.isPlainObject(n)?n:{},o[e]=at.extend(d,a,i)):void 0!==i&&(o[e]=i));return o},at.extend({expando:"jQuery"+(rt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===at.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=t&&t.toString();return!at.isArray(t)&&e-parseFloat(e)+1>=0},isPlainObject:function(t){var e;if("object"!==at.type(t)||t.nodeType||at.isWindow(t))return!1;if(t.constructor&&!nt.call(t,"constructor")&&!nt.call(t.constructor.prototype||{},"isPrototypeOf"))return!1;for(e in t);return void 0===e||nt.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?tt[et.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;t=at.trim(t),t&&(1===t.indexOf("use strict")?(e=G.createElement("script"),e.text=t,G.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){return t.replace(st,"ms-").replace(lt,dt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var i,r=0;if(n(t))for(i=t.length;i>r&&e.call(t[r],r,t[r])!==!1;r++);else for(r in t)if(e.call(t[r],r,t[r])===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(ot,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?at.merge(i,"string"==typeof t?[t]:t):Z.call(i,t)),i},inArray:function(t,e,n){return null==e?-1:K.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;n>i;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i,r=[],a=0,o=t.length,s=!n;o>a;a++)i=!e(t[a],a),i!==s&&r.push(t[a]);return r},map:function(t,e,i){var r,a,o=0,s=[];if(n(t))for(r=t.length;r>o;o++)a=e(t[o],o,i),null!=a&&s.push(a);else for(o in t)a=e(t[o],o,i),null!=a&&s.push(a);return Q.apply([],s)},guid:1,proxy:function(t,e){var n,i,r;return"string"==typeof e&&(n=t[e],e=t,t=n),at.isFunction(t)?(i=X.call(arguments,2),r=function(){return t.apply(e||this,i.concat(X.call(arguments)))},r.guid=t.guid=t.guid||at.guid++,r):void 0},now:Date.now,support:it}),"function"==typeof Symbol&&(at.fn[Symbol.iterator]=J[Symbol.iterator]),at.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){tt["[object "+e+"]"]=e.toLowerCase()});var ut=function(t){function e(t,e,n,i){var r,a,o,s,l,d,c,f,p=e&&e.ownerDocument,m=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==m&&9!==m&&11!==m)return n;if(!i&&((e?e.ownerDocument||e:R)!==A&&H(e),e=e||A,P)){if(11!==m&&(d=gt.exec(t)))if(r=d[1]){if(9===m){if(!(o=e.getElementById(r)))return n;if(o.id===r)return n.push(o),n}else if(p&&(o=p.getElementById(r))&&F(e,o)&&o.id===r)return n.push(o),n}else{if(d[2])return Z.apply(n,e.getElementsByTagName(t)),n;if((r=d[3])&&M.getElementsByClassName&&e.getElementsByClassName)return Z.apply(n,e.getElementsByClassName(r)),n}if(M.qsa&&!V[t+" "]&&(!E||!E.test(t))){if(1!==m)p=e,f=t;else if("object"!==e.nodeName.toLowerCase()){for((s=e.getAttribute("id"))?s=s.replace(vt,"\\$&"):e.setAttribute("id",s=O),c=L(t),a=c.length,l=ht.test(s)?"#"+s:"[id='"+s+"']";a--;)c[a]=l+" "+h(c[a]);f=c.join(","),p=yt.test(t)&&u(e.parentNode)||e}if(f)try{return Z.apply(n,p.querySelectorAll(f)),n}catch(_){}finally{s===O&&e.removeAttribute("id")}}}return T(t.replace(st,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>w.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[O]=!0,t}function r(t){var e=A.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function a(t,e){for(var n=t.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=e}function o(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||U)-(~t.sourceIndex||U);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function s(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function d(t){return i(function(e){return e=+e,i(function(n,i){for(var r,a=t([],n.length,e),o=a.length;o--;)n[r=a[o]]&&(n[r]=!(i[r]=n[r]))})})}function u(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function c(){}function h(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[e].value;return i}function f(t,e,n){var i=e.dir,r=n&&"parentNode"===i,a=z++;return e.first?function(e,n,a){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,a)}:function(e,n,o){var s,l,d,u=[N,a];if(o){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,o))return!0}else for(;e=e[i];)if(1===e.nodeType||r){if(d=e[O]||(e[O]={}),l=d[e.uniqueID]||(d[e.uniqueID]={}),(s=l[i])&&s[0]===N&&s[1]===a)return u[2]=s[2];if(l[i]=u,u[2]=t(e,n,o))return!0}}}function p(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function m(t,n,i){for(var r=0,a=n.length;a>r;r++)e(t,n[r],i);return i}function _(t,e,n,i,r){for(var a,o=[],s=0,l=t.length,d=null!=e;l>s;s++)(a=t[s])&&(n&&!n(a,i,r)||(o.push(a),d&&e.push(s)));return o}function g(t,e,n,r,a,o){return r&&!r[O]&&(r=g(r)),a&&!a[O]&&(a=g(a,o)),i(function(i,o,s,l){var d,u,c,h=[],f=[],p=o.length,g=i||m(e||"*",s.nodeType?[s]:s,[]),y=!t||!i&&e?g:_(g,h,t,s,l),v=n?a||(i?t:p||r)?[]:o:y;if(n&&n(y,v,s,l),r)for(d=_(v,f),r(d,[],s,l),u=d.length;u--;)(c=d[u])&&(v[f[u]]=!(y[f[u]]=c));if(i){if(a||t){if(a){for(d=[],u=v.length;u--;)(c=v[u])&&d.push(y[u]=c);a(null,v=[],d,l)}for(u=v.length;u--;)(c=v[u])&&(d=a?tt(i,c):h[u])>-1&&(i[d]=!(o[d]=c))}}else v=_(v===o?v.splice(p,v.length):v),a?a(null,o,v,l):Z.apply(o,v)})}function y(t){for(var e,n,i,r=t.length,a=w.relative[t[0].type],o=a||w.relative[" "],s=a?1:0,l=f(function(t){return t===e},o,!0),d=f(function(t){return tt(e,t)>-1},o,!0),u=[function(t,n,i){var r=!a&&(i||n!==Y)||((e=n).nodeType?l(t,n,i):d(t,n,i));return e=null,r}];r>s;s++)if(n=w.relative[t[s].type])u=[f(p(u),n)];else{if(n=w.filter[t[s].type].apply(null,t[s].matches),n[O]){for(i=++s;r>i&&!w.relative[t[i].type];i++);return g(s>1&&p(u),s>1&&h(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(st,"$1"),n,i>s&&y(t.slice(s,i)),r>i&&y(t=t.slice(i)),r>i&&h(t))}u.push(n)}return p(u)}function v(t,n){var r=n.length>0,a=t.length>0,o=function(i,o,s,l,d){var u,c,h,f=0,p="0",m=i&&[],g=[],y=Y,v=i||a&&w.find.TAG("*",d),b=N+=null==y?1:Math.random()||.1,M=v.length;for(d&&(Y=o===A||o||d);p!==M&&null!=(u=v[p]);p++){if(a&&u){for(c=0,o||u.ownerDocument===A||(H(u),s=!P);h=t[c++];)if(h(u,o||A,s)){l.push(u);break}d&&(N=b)}r&&((u=!h&&u)&&f--,i&&m.push(u))}if(f+=p,r&&p!==f){for(c=0;h=n[c++];)h(m,g,o,s);if(i){if(f>0)for(;p--;)m[p]||g[p]||(g[p]=X.call(l));g=_(g)}Z.apply(l,g),d&&!i&&g.length>0&&f+n.length>1&&e.uniqueSort(l)}return d&&(N=b,Y=y),m};return r?i(o):o}var b,M,w,k,x,L,D,T,Y,S,C,H,A,j,P,E,I,W,F,O="sizzle"+1*new Date,R=t.document,N=0,z=0,B=n(),$=n(),V=n(),q=function(t,e){return t===e&&(C=!0),0},U=1<<31,J={}.hasOwnProperty,G=[],X=G.pop,Q=G.push,Z=G.push,K=G.slice,tt=function(t,e){for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return n;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",it="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",rt="\\["+nt+"*("+it+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+it+"))|)"+nt+"*\\]",at=":("+it+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+rt+")*)|.*)\\)|)",ot=new RegExp(nt+"+","g"),st=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),lt=new RegExp("^"+nt+"*,"+nt+"*"),dt=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),ut=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),ct=new RegExp(at),ht=new RegExp("^"+it+"$"),ft={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+rt),PSEUDO:new RegExp("^"+at),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},pt=/^(?:input|select|textarea|button)$/i,mt=/^h\d$/i,_t=/^[^{]+\{\s*\[native \w/,gt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,vt=/'|\\/g,bt=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),Mt=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},wt=function(){H()};try{Z.apply(G=K.call(R.childNodes),R.childNodes),G[R.childNodes.length].nodeType}catch(kt){Z={apply:G.length?function(t,e){Q.apply(t,K.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}M=e.support={},x=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},H=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:R;return i!==A&&9===i.nodeType&&i.documentElement?(A=i,j=A.documentElement,P=!x(A),(n=A.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",wt,!1):n.attachEvent&&n.attachEvent("onunload",wt)),M.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),M.getElementsByTagName=r(function(t){return t.appendChild(A.createComment("")),!t.getElementsByTagName("*").length}),M.getElementsByClassName=_t.test(A.getElementsByClassName),M.getById=r(function(t){return j.appendChild(t).id=O,!A.getElementsByName||!A.getElementsByName(O).length}),M.getById?(w.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&P){var n=e.getElementById(t);return n?[n]:[]}},w.filter.ID=function(t){var e=t.replace(bt,Mt);return function(t){return t.getAttribute("id")===e}}):(delete w.find.ID,w.filter.ID=function(t){var e=t.replace(bt,Mt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),w.find.TAG=M.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):M.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,a=e.getElementsByTagName(t);if("*"===t){for(;n=a[r++];)1===n.nodeType&&i.push(n);return i}return a},w.find.CLASS=M.getElementsByClassName&&function(t,e){return"undefined"!=typeof e.getElementsByClassName&&P?e.getElementsByClassName(t):void 0},I=[],E=[],(M.qsa=_t.test(A.querySelectorAll))&&(r(function(t){j.appendChild(t).innerHTML="<a id='"+O+"'></a><select id='"+O+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&E.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||E.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+O+"-]").length||E.push("~="),t.querySelectorAll(":checked").length||E.push(":checked"),t.querySelectorAll("a#"+O+"+*").length||E.push(".#.+[+~]")}),r(function(t){var e=A.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&E.push("name"+nt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||E.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),E.push(",.*:")})),(M.matchesSelector=_t.test(W=j.matches||j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&r(function(t){M.disconnectedMatch=W.call(t,"div"),W.call(t,"[s!='']:x"),I.push("!=",at)}),E=E.length&&new RegExp(E.join("|")),I=I.length&&new RegExp(I.join("|")),e=_t.test(j.compareDocumentPosition),F=e||_t.test(j.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},q=e?function(t,e){if(t===e)return C=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!M.sortDetached&&e.compareDocumentPosition(t)===n?t===A||t.ownerDocument===R&&F(R,t)?-1:e===A||e.ownerDocument===R&&F(R,e)?1:S?tt(S,t)-tt(S,e):0:4&n?-1:1)}:function(t,e){if(t===e)return C=!0,0;var n,i=0,r=t.parentNode,a=e.parentNode,s=[t],l=[e];if(!r||!a)return t===A?-1:e===A?1:r?-1:a?1:S?tt(S,t)-tt(S,e):0;if(r===a)return o(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)l.unshift(n);for(;s[i]===l[i];)i++;return i?o(s[i],l[i]):s[i]===R?-1:l[i]===R?1:0},A):A},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==A&&H(t),n=n.replace(ut,"='$1']"),M.matchesSelector&&P&&!V[n+" "]&&(!I||!I.test(n))&&(!E||!E.test(n)))try{var i=W.call(t,n);if(i||M.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(r){}return e(n,A,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==A&&H(t),F(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==A&&H(t);var n=w.attrHandle[e.toLowerCase()],i=n&&J.call(w.attrHandle,e.toLowerCase())?n(t,e,!P):void 0;return void 0!==i?i:M.attributes||!P?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,r=0;if(C=!M.detectDuplicates,S=!M.sortStable&&t.slice(0),t.sort(q),C){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return S=null,t},k=e.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=k(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=k(e);return n},w=e.selectors={cacheLength:50,createPseudo:i,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,Mt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,Mt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ct.test(n)&&(e=L(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,Mt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=B[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&B(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var a=e.attr(r,t);return null==a?"!="===n:n?(a+="","="===n?a===i:"!="===n?a!==i:"^="===n?i&&0===a.indexOf(i):"*="===n?i&&a.indexOf(i)>-1:"$="===n?i&&a.slice(-i.length)===i:"~="===n?(" "+a.replace(ot," ")+" ").indexOf(i)>-1:"|="===n?a===i||a.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(t,e,n,i,r){var a="nth"!==t.slice(0,3),o="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var d,u,c,h,f,p,m=a!==o?"nextSibling":"previousSibling",_=e.parentNode,g=s&&e.nodeName.toLowerCase(),y=!l&&!s,v=!1;if(_){if(a){for(;m;){for(h=e;h=h[m];)if(s?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1;p=m="only"===t&&!p&&"nextSibling"}return!0}if(p=[o?_.firstChild:_.lastChild],o&&y){for(h=_,c=h[O]||(h[O]={}),u=c[h.uniqueID]||(c[h.uniqueID]={}),d=u[t]||[],f=d[0]===N&&d[1],v=f&&d[2],h=f&&_.childNodes[f];h=++f&&h&&h[m]||(v=f=0)||p.pop();)if(1===h.nodeType&&++v&&h===e){u[t]=[N,f,v];break}}else if(y&&(h=e,c=h[O]||(h[O]={}),u=c[h.uniqueID]||(c[h.uniqueID]={}),d=u[t]||[],f=d[0]===N&&d[1],v=f),v===!1)for(;(h=++f&&h&&h[m]||(v=f=0)||p.pop())&&((s?h.nodeName.toLowerCase()!==g:1!==h.nodeType)||!++v||(y&&(c=h[O]||(h[O]={}),u=c[h.uniqueID]||(c[h.uniqueID]={}),u[t]=[N,v]),h!==e)););return v-=r,v===i||v%i===0&&v/i>=0}}},PSEUDO:function(t,n){var r,a=w.pseudos[t]||w.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return a[O]?a(n):a.length>1?(r=[t,t,"",n],w.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,r=a(t,n),o=r.length;o--;)i=tt(t,r[o]),t[i]=!(e[i]=r[o])}):function(t){return a(t,0,r)}):a}},pseudos:{not:i(function(t){var e=[],n=[],r=D(t.replace(st,"$1"));return r[O]?i(function(t,e,n,i){for(var a,o=r(t,null,i,[]),s=t.length;s--;)(a=o[s])&&(t[s]=!(e[s]=a))}):function(t,i,a){return e[0]=t,r(e,null,a,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(bt,Mt),function(e){return(e.textContent||e.innerText||k(e)).indexOf(t)>-1}}),lang:i(function(t){return ht.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(bt,Mt).toLowerCase(),function(e){var n;do if(n=P?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===j},focus:function(t){return t===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!w.pseudos.empty(t)},header:function(t){return mt.test(t.nodeName)},input:function(t){return pt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase());
},first:d(function(){return[0]}),last:d(function(t,e){return[e-1]}),eq:d(function(t,e,n){return[0>n?n+e:n]}),even:d(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:d(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:d(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:d(function(t,e,n){for(var i=0>n?n+e:n;++i<e;)t.push(i);return t})}},w.pseudos.nth=w.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[b]=s(b);for(b in{submit:!0,reset:!0})w.pseudos[b]=l(b);return c.prototype=w.filters=w.pseudos,w.setFilters=new c,L=e.tokenize=function(t,n){var i,r,a,o,s,l,d,u=$[t+" "];if(u)return n?0:u.slice(0);for(s=t,l=[],d=w.preFilter;s;){i&&!(r=lt.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(a=[])),i=!1,(r=dt.exec(s))&&(i=r.shift(),a.push({value:i,type:r[0].replace(st," ")}),s=s.slice(i.length));for(o in w.filter)!(r=ft[o].exec(s))||d[o]&&!(r=d[o](r))||(i=r.shift(),a.push({value:i,type:o,matches:r}),s=s.slice(i.length));if(!i)break}return n?s.length:s?e.error(t):$(t,l).slice(0)},D=e.compile=function(t,e){var n,i=[],r=[],a=V[t+" "];if(!a){for(e||(e=L(t)),n=e.length;n--;)a=y(e[n]),a[O]?i.push(a):r.push(a);a=V(t,v(r,i)),a.selector=t}return a},T=e.select=function(t,e,n,i){var r,a,o,s,l,d="function"==typeof t&&t,c=!i&&L(t=d.selector||t);if(n=n||[],1===c.length){if(a=c[0]=c[0].slice(0),a.length>2&&"ID"===(o=a[0]).type&&M.getById&&9===e.nodeType&&P&&w.relative[a[1].type]){if(e=(w.find.ID(o.matches[0].replace(bt,Mt),e)||[])[0],!e)return n;d&&(e=e.parentNode),t=t.slice(a.shift().value.length)}for(r=ft.needsContext.test(t)?0:a.length;r--&&(o=a[r],!w.relative[s=o.type]);)if((l=w.find[s])&&(i=l(o.matches[0].replace(bt,Mt),yt.test(a[0].type)&&u(e.parentNode)||e))){if(a.splice(r,1),t=i.length&&h(a),!t)return Z.apply(n,i),n;break}}return(d||D(t,c))(i,e,!P,n,!e||yt.test(t)&&u(e.parentNode)||e),n},M.sortStable=O.split("").sort(q).join("")===O,M.detectDuplicates=!!C,H(),M.sortDetached=r(function(t){return 1&t.compareDocumentPosition(A.createElement("div"))}),r(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||a("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),M.attributes&&r(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||a("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||a(et,function(t,e,n){var i;return n?void 0:t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);at.find=ut,at.expr=ut.selectors,at.expr[":"]=at.expr.pseudos,at.uniqueSort=at.unique=ut.uniqueSort,at.text=ut.getText,at.isXMLDoc=ut.isXML,at.contains=ut.contains;var ct=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&at(t).is(n))break;i.push(t)}return i},ht=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},ft=at.expr.match.needsContext,pt=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,mt=/^.[^:#\[\.,]*$/;at.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?at.find.matchesSelector(i,t)?[i]:[]:at.find.matches(t,at.grep(e,function(t){return 1===t.nodeType}))},at.fn.extend({find:function(t){var e,n=this.length,i=[],r=this;if("string"!=typeof t)return this.pushStack(at(t).filter(function(){for(e=0;n>e;e++)if(at.contains(r[e],this))return!0}));for(e=0;n>e;e++)at.find(t,r[e],i);return i=this.pushStack(n>1?at.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&ft.test(t)?at(t):t||[],!1).length}});var _t,gt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,yt=at.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||_t,"string"==typeof t){if(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:gt.exec(t),!i||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof at?e[0]:e,at.merge(this,at.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:G,!0)),pt.test(i[1])&&at.isPlainObject(e))for(i in e)at.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return r=G.getElementById(i[2]),r&&r.parentNode&&(this.length=1,this[0]=r),this.context=G,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):at.isFunction(t)?void 0!==n.ready?n.ready(t):t(at):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),at.makeArray(t,this))};yt.prototype=at.fn,_t=at(G);var vt=/^(?:parents|prev(?:Until|All))/,bt={children:!0,contents:!0,next:!0,prev:!0};at.fn.extend({has:function(t){var e=at(t,this),n=e.length;return this.filter(function(){for(var t=0;n>t;t++)if(at.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,i=0,r=this.length,a=[],o=ft.test(t)||"string"!=typeof t?at(t,e||this.context):0;r>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&at.find.matchesSelector(n,t))){a.push(n);break}return this.pushStack(a.length>1?at.uniqueSort(a):a)},index:function(t){return t?"string"==typeof t?K.call(at(t),this[0]):K.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(at.uniqueSort(at.merge(this.get(),at(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),at.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return ct(t,"parentNode")},parentsUntil:function(t,e,n){return ct(t,"parentNode",n)},next:function(t){return r(t,"nextSibling")},prev:function(t){return r(t,"previousSibling")},nextAll:function(t){return ct(t,"nextSibling")},prevAll:function(t){return ct(t,"previousSibling")},nextUntil:function(t,e,n){return ct(t,"nextSibling",n)},prevUntil:function(t,e,n){return ct(t,"previousSibling",n)},siblings:function(t){return ht((t.parentNode||{}).firstChild,t)},children:function(t){return ht(t.firstChild)},contents:function(t){return t.contentDocument||at.merge([],t.childNodes)}},function(t,e){at.fn[t]=function(n,i){var r=at.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=at.filter(i,r)),this.length>1&&(bt[t]||at.uniqueSort(r),vt.test(t)&&r.reverse()),this.pushStack(r)}});var Mt=/\S+/g;at.Callbacks=function(t){t="string"==typeof t?a(t):at.extend({},t);var e,n,i,r,o=[],s=[],l=-1,d=function(){for(r=t.once,i=e=!0;s.length;l=-1)for(n=s.shift();++l<o.length;)o[l].apply(n[0],n[1])===!1&&t.stopOnFalse&&(l=o.length,n=!1);t.memory||(n=!1),e=!1,r&&(o=n?[]:"")},u={add:function(){return o&&(n&&!e&&(l=o.length-1,s.push(n)),function i(e){at.each(e,function(e,n){at.isFunction(n)?t.unique&&u.has(n)||o.push(n):n&&n.length&&"string"!==at.type(n)&&i(n)})}(arguments),n&&!e&&d()),this},remove:function(){return at.each(arguments,function(t,e){for(var n;(n=at.inArray(e,o,n))>-1;)o.splice(n,1),l>=n&&l--}),this},has:function(t){return t?at.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=s=[],n||(o=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=n||[],n=[t,n.slice?n.slice():n],s.push(n),e||d()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},at.extend({Deferred:function(t){var e=[["resolve","done",at.Callbacks("once memory"),"resolved"],["reject","fail",at.Callbacks("once memory"),"rejected"],["notify","progress",at.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return at.Deferred(function(n){at.each(e,function(e,a){var o=at.isFunction(t[e])&&t[e];r[a[1]](function(){var t=o&&o.apply(this,arguments);t&&at.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[a[0]+"With"](this===i?n.promise():this,o?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?at.extend(t,i):i}},r={};return i.pipe=i.then,at.each(e,function(t,a){var o=a[2],s=a[3];i[a[1]]=o.add,s&&o.add(function(){n=s},e[1^t][2].disable,e[2][2].lock),r[a[0]]=function(){return r[a[0]+"With"](this===r?i:this,arguments),this},r[a[0]+"With"]=o.fireWith}),i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,i,r=0,a=X.call(arguments),o=a.length,s=1!==o||t&&at.isFunction(t.promise)?o:0,l=1===s?t:at.Deferred(),d=function(t,n,i){return function(r){n[t]=this,i[t]=arguments.length>1?X.call(arguments):r,i===e?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(o>1)for(e=new Array(o),n=new Array(o),i=new Array(o);o>r;r++)a[r]&&at.isFunction(a[r].promise)?a[r].promise().progress(d(r,n,e)).done(d(r,i,a)).fail(l.reject):--s;return s||l.resolveWith(i,a),l.promise()}});var wt;at.fn.ready=function(t){return at.ready.promise().done(t),this},at.extend({isReady:!1,readyWait:1,holdReady:function(t){t?at.readyWait++:at.ready(!0)},ready:function(t){(t===!0?--at.readyWait:at.isReady)||(at.isReady=!0,t!==!0&&--at.readyWait>0||(wt.resolveWith(G,[at]),at.fn.triggerHandler&&(at(G).triggerHandler("ready"),at(G).off("ready"))))}}),at.ready.promise=function(e){return wt||(wt=at.Deferred(),"complete"===G.readyState||"loading"!==G.readyState&&!G.documentElement.doScroll?t.setTimeout(at.ready):(G.addEventListener("DOMContentLoaded",o),t.addEventListener("load",o))),wt.promise(e)},at.ready.promise();var kt=function(t,e,n,i,r,a,o){var s=0,l=t.length,d=null==n;if("object"===at.type(n)){r=!0;for(s in n)kt(t,e,s,n[s],!0,a,o)}else if(void 0!==i&&(r=!0,at.isFunction(i)||(o=!0),d&&(o?(e.call(t,i),e=null):(d=e,e=function(t,e,n){return d.call(at(t),n)})),e))for(;l>s;s++)e(t[s],n,o?i:i.call(t[s],s,e(t[s],n)));return r?t:d?e.call(t):l?e(t[0],n):a},xt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};s.uid=1,s.prototype={register:function(t,e){var n=e||{};return t.nodeType?t[this.expando]=n:Object.defineProperty(t,this.expando,{value:n,writable:!0,configurable:!0}),t[this.expando]},cache:function(t){if(!xt(t))return{};var e=t[this.expando];return e||(e={},xt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[e]=n;else for(i in e)r[i]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][e]},access:function(t,e,n){var i;return void 0===e||e&&"string"==typeof e&&void 0===n?(i=this.get(t,e),void 0!==i?i:this.get(t,at.camelCase(e))):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i,r,a=t[this.expando];if(void 0!==a){if(void 0===e)this.register(t);else{at.isArray(e)?i=e.concat(e.map(at.camelCase)):(r=at.camelCase(e),e in a?i=[e,r]:(i=r,i=i in a?[i]:i.match(Mt)||[])),n=i.length;for(;n--;)delete a[i[n]]}(void 0===e||at.isEmptyObject(a))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!at.isEmptyObject(e)}};var Lt=new s,Dt=new s,Tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Yt=/[A-Z]/g;at.extend({hasData:function(t){return Dt.hasData(t)||Lt.hasData(t)},data:function(t,e,n){return Dt.access(t,e,n)},removeData:function(t,e){Dt.remove(t,e)},_data:function(t,e,n){return Lt.access(t,e,n)},_removeData:function(t,e){Lt.remove(t,e)}}),at.fn.extend({data:function(t,e){var n,i,r,a=this[0],o=a&&a.attributes;if(void 0===t){if(this.length&&(r=Dt.get(a),1===a.nodeType&&!Lt.get(a,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&(i=o[n].name,0===i.indexOf("data-")&&(i=at.camelCase(i.slice(5)),l(a,i,r[i])));Lt.set(a,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){Dt.set(this,t)}):kt(this,function(e){var n,i;if(a&&void 0===e){if(n=Dt.get(a,t)||Dt.get(a,t.replace(Yt,"-$&").toLowerCase()),void 0!==n)return n;if(i=at.camelCase(t),n=Dt.get(a,i),void 0!==n)return n;if(n=l(a,i,void 0),void 0!==n)return n}else i=at.camelCase(t),this.each(function(){var n=Dt.get(this,i);Dt.set(this,i,e),t.indexOf("-")>-1&&void 0!==n&&Dt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Dt.remove(this,t)})}}),at.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=Lt.get(t,e),n&&(!i||at.isArray(n)?i=Lt.access(t,e,at.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=at.queue(t,e),i=n.length,r=n.shift(),a=at._queueHooks(t,e),o=function(){at.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete a.stop,r.call(t,o,a)),!i&&a&&a.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Lt.get(t,n)||Lt.access(t,n,{empty:at.Callbacks("once memory").add(function(){Lt.remove(t,[e+"queue",n])})})}}),at.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?at.queue(this[0],t):void 0===e?this:this.each(function(){var n=at.queue(this,t,e);at._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&at.dequeue(this,t)})},dequeue:function(t){return this.each(function(){at.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=at.Deferred(),a=this,o=this.length,s=function(){--i||r.resolveWith(a,[a])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";o--;)n=Lt.get(a[o],t+"queueHooks"),n&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(e)}});var St=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ct=new RegExp("^(?:([+-])=|)("+St+")([a-z%]*)$","i"),Ht=["Top","Right","Bottom","Left"],At=function(t,e){return t=e||t,"none"===at.css(t,"display")||!at.contains(t.ownerDocument,t)},jt=/^(?:checkbox|radio)$/i,Pt=/<([\w:-]+)/,Et=/^$|\/(?:java|ecma)script/i,It={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};It.optgroup=It.option,It.tbody=It.tfoot=It.colgroup=It.caption=It.thead,It.th=It.td;var Wt=/<|&#?\w+;/;!function(){var t=G.createDocumentFragment(),e=t.appendChild(G.createElement("div")),n=G.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),it.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",it.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Ft=/^key/,Ot=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Rt=/^([^.]*)(?:\.(.+)|)/;at.event={global:{},add:function(t,e,n,i,r){var a,o,s,l,d,u,c,h,f,p,m,_=Lt.get(t);if(_)for(n.handler&&(a=n,n=a.handler,r=a.selector),n.guid||(n.guid=at.guid++),(l=_.events)||(l=_.events={}),(o=_.handle)||(o=_.handle=function(e){return"undefined"!=typeof at&&at.event.triggered!==e.type?at.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Mt)||[""],d=e.length;d--;)s=Rt.exec(e[d])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f&&(c=at.event.special[f]||{},f=(r?c.delegateType:c.bindType)||f,c=at.event.special[f]||{},u=at.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&at.expr.match.needsContext.test(r),namespace:p.join(".")},a),(h=l[f])||(h=l[f]=[],h.delegateCount=0,c.setup&&c.setup.call(t,i,p,o)!==!1||t.addEventListener&&t.addEventListener(f,o)),c.add&&(c.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,u):h.push(u),at.event.global[f]=!0)},remove:function(t,e,n,i,r){var a,o,s,l,d,u,c,h,f,p,m,_=Lt.hasData(t)&&Lt.get(t);if(_&&(l=_.events)){for(e=(e||"").match(Mt)||[""],d=e.length;d--;)if(s=Rt.exec(e[d])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f){for(c=at.event.special[f]||{},f=(i?c.delegateType:c.bindType)||f,h=l[f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=h.length;a--;)u=h[a],!r&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(a,1),u.selector&&h.delegateCount--,c.remove&&c.remove.call(t,u));o&&!h.length&&(c.teardown&&c.teardown.call(t,p,_.handle)!==!1||at.removeEvent(t,f,_.handle),delete l[f])}else for(f in l)at.event.remove(t,f+e[d],n,i,!0);at.isEmptyObject(l)&&Lt.remove(t,"handle events")}},dispatch:function(t){t=at.event.fix(t);var e,n,i,r,a,o=[],s=X.call(arguments),l=(Lt.get(this,"events")||{})[t.type]||[],d=at.event.special[t.type]||{};if(s[0]=t,t.delegateTarget=this,!d.preDispatch||d.preDispatch.call(this,t)!==!1){for(o=at.event.handlers.call(this,t,l),e=0;(r=o[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,n=0;(a=r.handlers[n++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(a.namespace)||(t.handleObj=a,t.data=a.data,i=((at.event.special[a.origType]||{}).handle||a.handler).apply(r.elem,s),void 0!==i&&(t.result=i)===!1&&(t.preventDefault(),t.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,a,o=[],s=e.delegateCount,l=t.target;if(s&&l.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==t.type)){for(i=[],n=0;s>n;n++)a=e[n],r=a.selector+" ",void 0===i[r]&&(i[r]=a.needsContext?at(r,this).index(l)>-1:at.find(r,this,null,[l]).length),i[r]&&i.push(a);i.length&&o.push({elem:l,handlers:i})}return s<e.length&&o.push({elem:this,handlers:e.slice(s)}),o},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r,a=e.button;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||G,i=n.documentElement,r=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),t.which||void 0===a||(t.which=1&a?1:2&a?3:4&a?2:0),t}},fix:function(t){if(t[at.expando])return t;var e,n,i,r=t.type,a=t,o=this.fixHooks[r];for(o||(this.fixHooks[r]=o=Ot.test(r)?this.mouseHooks:Ft.test(r)?this.keyHooks:{}),i=o.props?this.props.concat(o.props):this.props,t=new at.Event(a),e=i.length;e--;)n=i[e],t[n]=a[n];return t.target||(t.target=G),3===t.target.nodeType&&(t.target=t.target.parentNode),o.filter?o.filter(t,a):t},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==m()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===m()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&at.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(t){return at.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},at.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},at.Event=function(t,e){return this instanceof at.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?f:p):this.type=t,e&&at.extend(this,e),this.timeStamp=t&&t.timeStamp||at.now(),void(this[at.expando]=!0)):new at.Event(t,e)},at.Event.prototype={constructor:at.Event,isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=f,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=f,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=f,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},at.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){at.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,a=t.handleObj;return r&&(r===i||at.contains(i,r))||(t.type=a.origType,n=a.handler.apply(this,arguments),t.type=e),n}}}),at.fn.extend({on:function(t,e,n,i){return _(this,t,e,n,i)},one:function(t,e,n,i){return _(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,at(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return e!==!1&&"function"!=typeof e||(n=e,e=void 0),n===!1&&(n=p),this.each(function(){at.event.remove(this,t,n,e)})}});var Nt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,zt=/<script|<style|<link/i,Bt=/checked\s*(?:[^=]|=\s*.checked.)/i,$t=/^true\/(.*)/,Vt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;at.extend({htmlPrefilter:function(t){return t.replace(Nt,"<$1></$2>")},clone:function(t,e,n){var i,r,a,o,s=t.cloneNode(!0),l=at.contains(t.ownerDocument,t);if(!(it.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||at.isXMLDoc(t)))for(o=u(s),a=u(t),i=0,r=a.length;r>i;i++)M(a[i],o[i]);if(e)if(n)for(a=a||u(t),o=o||u(s),i=0,r=a.length;r>i;i++)b(a[i],o[i]);else b(t,s);return o=u(s,"script"),o.length>0&&c(o,!l&&u(t,"script")),s},cleanData:function(t){for(var e,n,i,r=at.event.special,a=0;void 0!==(n=t[a]);a++)if(xt(n)){if(e=n[Lt.expando]){if(e.events)for(i in e.events)r[i]?at.event.remove(n,i):at.removeEvent(n,i,e.handle);n[Lt.expando]=void 0}n[Dt.expando]&&(n[Dt.expando]=void 0)}}}),at.fn.extend({domManip:w,detach:function(t){return k(this,t,!0)},remove:function(t){return k(this,t)},text:function(t){return kt(this,function(t){return void 0===t?at.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return w(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=g(this,t);e.appendChild(t)}})},prepend:function(){return w(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=g(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return w(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return w(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(at.cleanData(u(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return at.clone(this,t,e)})},html:function(t){return kt(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!zt.test(t)&&!It[(Pt.exec(t)||["",""])[1].toLowerCase()]){t=at.htmlPrefilter(t);try{for(;i>n;n++)e=this[n]||{},1===e.nodeType&&(at.cleanData(u(e,!1)),e.innerHTML=t);e=0}catch(r){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return w(this,arguments,function(e){var n=this.parentNode;at.inArray(this,t)<0&&(at.cleanData(u(this)),n&&n.replaceChild(e,this))},t)}}),at.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){at.fn[t]=function(t){for(var n,i=[],r=at(t),a=r.length-1,o=0;a>=o;o++)n=o===a?this:this.clone(!0),at(r[o])[e](n),Z.apply(i,n.get());return this.pushStack(i)}});var qt,Ut={HTML:"block",BODY:"block"},Jt=/^margin/,Gt=new RegExp("^("+St+")(?!px)[a-z%]+$","i"),Xt=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},Qt=function(t,e,n,i){var r,a,o={};for(a in e)o[a]=t.style[a],t.style[a]=e[a];r=n.apply(t,i||[]);for(a in e)t.style[a]=o[a];return r},Zt=G.documentElement;!function(){function e(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",Zt.appendChild(o);var e=t.getComputedStyle(s);n="1%"!==e.top,a="2px"===e.marginLeft,i="4px"===e.width,s.style.marginRight="50%",r="4px"===e.marginRight,Zt.removeChild(o)}var n,i,r,a,o=G.createElement("div"),s=G.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",it.clearCloneStyle="content-box"===s.style.backgroundClip,o.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",o.appendChild(s),at.extend(it,{pixelPosition:function(){return e(),n},boxSizingReliable:function(){return null==i&&e(),i},pixelMarginRight:function(){return null==i&&e(),r},reliableMarginLeft:function(){return null==i&&e(),a},reliableMarginRight:function(){var e,n=s.appendChild(G.createElement("div"));return n.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",s.style.width="1px",Zt.appendChild(o),e=!parseFloat(t.getComputedStyle(n).marginRight),Zt.removeChild(o),s.removeChild(n),e}}))}();var Kt=/^(none|table(?!-c[ea]).+)/,te={position:"absolute",visibility:"hidden",display:"block"},ee={letterSpacing:"0",fontWeight:"400"},ne=["Webkit","O","Moz","ms"],ie=G.createElement("div").style;at.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=D(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,a,o,s=at.camelCase(e),l=t.style;return e=at.cssProps[s]||(at.cssProps[s]=Y(s)||s),o=at.cssHooks[e]||at.cssHooks[s],void 0===n?o&&"get"in o&&void 0!==(r=o.get(t,!1,i))?r:l[e]:(a=typeof n,"string"===a&&(r=Ct.exec(n))&&r[1]&&(n=d(t,e,r),a="number"),null!=n&&n===n&&("number"===a&&(n+=r&&r[3]||(at.cssNumber[s]?"":"px")),it.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),o&&"set"in o&&void 0===(n=o.set(t,n,i))||(l[e]=n)),void 0)}},css:function(t,e,n,i){var r,a,o,s=at.camelCase(e);return e=at.cssProps[s]||(at.cssProps[s]=Y(s)||s),o=at.cssHooks[e]||at.cssHooks[s],o&&"get"in o&&(r=o.get(t,!0,n)),void 0===r&&(r=D(t,e,i)),"normal"===r&&e in ee&&(r=ee[e]),""===n||n?(a=parseFloat(r),n===!0||isFinite(a)?a||0:r):r}}),at.each(["height","width"],function(t,e){at.cssHooks[e]={get:function(t,n,i){return n?Kt.test(at.css(t,"display"))&&0===t.offsetWidth?Qt(t,te,function(){return H(t,e,i)}):H(t,e,i):void 0},set:function(t,n,i){var r,a=i&&Xt(t),o=i&&C(t,e,i,"border-box"===at.css(t,"boxSizing",!1,a),a);return o&&(r=Ct.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=at.css(t,e)),S(t,n,o)}}}),at.cssHooks.marginLeft=T(it.reliableMarginLeft,function(t,e){return e?(parseFloat(D(t,"marginLeft"))||t.getBoundingClientRect().left-Qt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px":void 0}),at.cssHooks.marginRight=T(it.reliableMarginRight,function(t,e){return e?Qt(t,{display:"inline-block"},D,[t,"marginRight"]):void 0}),at.each({margin:"",padding:"",border:"Width"},function(t,e){at.cssHooks[t+e]={expand:function(n){for(var i=0,r={},a="string"==typeof n?n.split(" "):[n];4>i;i++)r[t+Ht[i]+e]=a[i]||a[i-2]||a[0];return r}},Jt.test(t)||(at.cssHooks[t+e].set=S)}),at.fn.extend({css:function(t,e){return kt(this,function(t,e,n){var i,r,a={},o=0;if(at.isArray(e)){for(i=Xt(t),r=e.length;r>o;o++)a[e[o]]=at.css(t,e[o],!1,i);return a}return void 0!==n?at.style(t,e,n):at.css(t,e)},t,e,arguments.length>1)},show:function(){return A(this,!0)},hide:function(){return A(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){At(this)?at(this).show():at(this).hide()})}}),at.Tween=j,j.prototype={constructor:j,init:function(t,e,n,i,r,a){this.elem=t,this.prop=n,this.easing=r||at.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=a||(at.cssNumber[n]?"":"px")},cur:function(){var t=j.propHooks[this.prop];return t&&t.get?t.get(this):j.propHooks._default.get(this)},run:function(t){var e,n=j.propHooks[this.prop];return this.options.duration?this.pos=e=at.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):j.propHooks._default.set(this),this}},j.prototype.init.prototype=j.prototype,j.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=at.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){at.fx.step[t.prop]?at.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[at.cssProps[t.prop]]&&!at.cssHooks[t.prop]?t.elem[t.prop]=t.now:at.style(t.elem,t.prop,t.now+t.unit)}}},j.propHooks.scrollTop=j.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},at.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},at.fx=j.prototype.init,at.fx.step={};var re,ae,oe=/^(?:toggle|show|hide)$/,se=/queueHooks$/;at.Animation=at.extend(O,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return d(n.elem,t,Ct.exec(e),n),n}]},tweener:function(t,e){at.isFunction(t)?(e=t,t=["*"]):t=t.match(Mt);for(var n,i=0,r=t.length;r>i;i++)n=t[i],O.tweeners[n]=O.tweeners[n]||[],O.tweeners[n].unshift(e)},prefilters:[W],prefilter:function(t,e){e?O.prefilters.unshift(t):O.prefilters.push(t)}}),at.speed=function(t,e,n){var i=t&&"object"==typeof t?at.extend({},t):{complete:n||!n&&e||at.isFunction(t)&&t,duration:t,easing:n&&e||e&&!at.isFunction(e)&&e};return i.duration=at.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in at.fx.speeds?at.fx.speeds[i.duration]:at.fx.speeds._default,null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){at.isFunction(i.old)&&i.old.call(this),i.queue&&at.dequeue(this,i.queue)},i},at.fn.extend({fadeTo:function(t,e,n,i){return this.filter(At).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=at.isEmptyObject(t),a=at.speed(e,n,i),o=function(){var e=O(this,at.extend({},t),a);(r||Lt.get(this,"finish"))&&e.stop(!0)};return o.finish=o,r||a.queue===!1?this.each(o):this.queue(a.queue,o)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",a=at.timers,o=Lt.get(this);if(r)o[r]&&o[r].stop&&i(o[r]);else for(r in o)o[r]&&o[r].stop&&se.test(r)&&i(o[r]);for(r=a.length;r--;)a[r].elem!==this||null!=t&&a[r].queue!==t||(a[r].anim.stop(n),e=!1,a.splice(r,1));!e&&n||at.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=Lt.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],a=at.timers,o=i?i.length:0;for(n.finish=!0,at.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=a.length;e--;)a[e].elem===this&&a[e].queue===t&&(a[e].anim.stop(!0),a.splice(e,1));for(e=0;o>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),at.each(["toggle","show","hide"],function(t,e){var n=at.fn[e];at.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(E(e,!0),t,i,r)}}),at.each({slideDown:E("show"),slideUp:E("hide"),slideToggle:E("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{
opacity:"toggle"}},function(t,e){at.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),at.timers=[],at.fx.tick=function(){var t,e=0,n=at.timers;for(re=at.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||at.fx.stop(),re=void 0},at.fx.timer=function(t){at.timers.push(t),t()?at.fx.start():at.timers.pop()},at.fx.interval=13,at.fx.start=function(){ae||(ae=t.setInterval(at.fx.tick,at.fx.interval))},at.fx.stop=function(){t.clearInterval(ae),ae=null},at.fx.speeds={slow:600,fast:200,_default:400},at.fn.delay=function(e,n){return e=at.fx?at.fx.speeds[e]||e:e,n=n||"fx",this.queue(n,function(n,i){var r=t.setTimeout(n,e);i.stop=function(){t.clearTimeout(r)}})},function(){var t=G.createElement("input"),e=G.createElement("select"),n=e.appendChild(G.createElement("option"));t.type="checkbox",it.checkOn=""!==t.value,it.optSelected=n.selected,e.disabled=!0,it.optDisabled=!n.disabled,t=G.createElement("input"),t.value="t",t.type="radio",it.radioValue="t"===t.value}();var le,de=at.expr.attrHandle;at.fn.extend({attr:function(t,e){return kt(this,at.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){at.removeAttr(this,t)})}}),at.extend({attr:function(t,e,n){var i,r,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return"undefined"==typeof t.getAttribute?at.prop(t,e,n):(1===a&&at.isXMLDoc(t)||(e=e.toLowerCase(),r=at.attrHooks[e]||(at.expr.match.bool.test(e)?le:void 0)),void 0!==n?null===n?void at.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:(i=at.find.attr(t,e),null==i?void 0:i))},attrHooks:{type:{set:function(t,e){if(!it.radioValue&&"radio"===e&&at.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i,r=0,a=e&&e.match(Mt);if(a&&1===t.nodeType)for(;n=a[r++];)i=at.propFix[n]||n,at.expr.match.bool.test(n)&&(t[i]=!1),t.removeAttribute(n)}}),le={set:function(t,e,n){return e===!1?at.removeAttr(t,n):t.setAttribute(n,n),n}},at.each(at.expr.match.bool.source.match(/\w+/g),function(t,e){var n=de[e]||at.find.attr;de[e]=function(t,e,i){var r,a;return i||(a=de[e],de[e]=r,r=null!=n(t,e,i)?e.toLowerCase():null,de[e]=a),r}});var ue=/^(?:input|select|textarea|button)$/i,ce=/^(?:a|area)$/i;at.fn.extend({prop:function(t,e){return kt(this,at.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[at.propFix[t]||t]})}}),at.extend({prop:function(t,e,n){var i,r,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&at.isXMLDoc(t)||(e=at.propFix[e]||e,r=at.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=at.find.attr(t,"tabindex");return e?parseInt(e,10):ue.test(t.nodeName)||ce.test(t.nodeName)&&t.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),it.optSelected||(at.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),at.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){at.propFix[this.toLowerCase()]=this});var he=/[\t\r\n\f]/g;at.fn.extend({addClass:function(t){var e,n,i,r,a,o,s,l=0;if(at.isFunction(t))return this.each(function(e){at(this).addClass(t.call(this,e,R(this)))});if("string"==typeof t&&t)for(e=t.match(Mt)||[];n=this[l++];)if(r=R(n),i=1===n.nodeType&&(" "+r+" ").replace(he," ")){for(o=0;a=e[o++];)i.indexOf(" "+a+" ")<0&&(i+=a+" ");s=at.trim(i),r!==s&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,r,a,o,s,l=0;if(at.isFunction(t))return this.each(function(e){at(this).removeClass(t.call(this,e,R(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(Mt)||[];n=this[l++];)if(r=R(n),i=1===n.nodeType&&(" "+r+" ").replace(he," ")){for(o=0;a=e[o++];)for(;i.indexOf(" "+a+" ")>-1;)i=i.replace(" "+a+" "," ");s=at.trim(i),r!==s&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):at.isFunction(t)?this.each(function(n){at(this).toggleClass(t.call(this,n,R(this),e),e)}):this.each(function(){var e,i,r,a;if("string"===n)for(i=0,r=at(this),a=t.match(Mt)||[];e=a[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else void 0!==t&&"boolean"!==n||(e=R(this),e&&Lt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||t===!1?"":Lt.get(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+R(n)+" ").replace(he," ").indexOf(e)>-1)return!0;return!1}});var fe=/\r/g,pe=/[\x20\t\r\n\f]+/g;at.fn.extend({val:function(t){var e,n,i,r=this[0];{if(arguments.length)return i=at.isFunction(t),this.each(function(n){var r;1===this.nodeType&&(r=i?t.call(this,n,at(this).val()):t,null==r?r="":"number"==typeof r?r+="":at.isArray(r)&&(r=at.map(r,function(t){return null==t?"":t+""})),e=at.valHooks[this.type]||at.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))});if(r)return e=at.valHooks[r.type]||at.valHooks[r.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(fe,""):null==n?"":n)}}}),at.extend({valHooks:{option:{get:function(t){var e=at.find.attr(t,"value");return null!=e?e:at.trim(at.text(t)).replace(pe," ")}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,a="select-one"===t.type||0>r,o=a?null:[],s=a?r+1:i.length,l=0>r?s:a?r:0;s>l;l++)if(n=i[l],(n.selected||l===r)&&(it.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!at.nodeName(n.parentNode,"optgroup"))){if(e=at(n).val(),a)return e;o.push(e)}return o},set:function(t,e){for(var n,i,r=t.options,a=at.makeArray(e),o=r.length;o--;)i=r[o],(i.selected=at.inArray(at.valHooks.option.get(i),a)>-1)&&(n=!0);return n||(t.selectedIndex=-1),a}}}}),at.each(["radio","checkbox"],function(){at.valHooks[this]={set:function(t,e){return at.isArray(e)?t.checked=at.inArray(at(t).val(),e)>-1:void 0}},it.checkOn||(at.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var me=/^(?:focusinfocus|focusoutblur)$/;at.extend(at.event,{trigger:function(e,n,i,r){var a,o,s,l,d,u,c,h=[i||G],f=nt.call(e,"type")?e.type:e,p=nt.call(e,"namespace")?e.namespace.split("."):[];if(o=s=i=i||G,3!==i.nodeType&&8!==i.nodeType&&!me.test(f+at.event.triggered)&&(f.indexOf(".")>-1&&(p=f.split("."),f=p.shift(),p.sort()),d=f.indexOf(":")<0&&"on"+f,e=e[at.expando]?e:new at.Event(f,"object"==typeof e&&e),e.isTrigger=r?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:at.makeArray(n,[e]),c=at.event.special[f]||{},r||!c.trigger||c.trigger.apply(i,n)!==!1)){if(!r&&!c.noBubble&&!at.isWindow(i)){for(l=c.delegateType||f,me.test(l+f)||(o=o.parentNode);o;o=o.parentNode)h.push(o),s=o;s===(i.ownerDocument||G)&&h.push(s.defaultView||s.parentWindow||t)}for(a=0;(o=h[a++])&&!e.isPropagationStopped();)e.type=a>1?l:c.bindType||f,u=(Lt.get(o,"events")||{})[e.type]&&Lt.get(o,"handle"),u&&u.apply(o,n),u=d&&o[d],u&&u.apply&&xt(o)&&(e.result=u.apply(o,n),e.result===!1&&e.preventDefault());return e.type=f,r||e.isDefaultPrevented()||c._default&&c._default.apply(h.pop(),n)!==!1||!xt(i)||d&&at.isFunction(i[f])&&!at.isWindow(i)&&(s=i[d],s&&(i[d]=null),at.event.triggered=f,i[f](),at.event.triggered=void 0,s&&(i[d]=s)),e.result}},simulate:function(t,e,n){var i=at.extend(new at.Event,n,{type:t,isSimulated:!0});at.event.trigger(i,null,e)}}),at.fn.extend({trigger:function(t,e){return this.each(function(){at.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?at.event.trigger(t,e,n,!0):void 0}}),at.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){at.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),at.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),it.focusin="onfocusin"in t,it.focusin||at.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){at.event.simulate(e,t.target,at.event.fix(t))};at.event.special[e]={setup:function(){var i=this.ownerDocument||this,r=Lt.access(i,e);r||i.addEventListener(t,n,!0),Lt.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=Lt.access(i,e)-1;r?Lt.access(i,e,r):(i.removeEventListener(t,n,!0),Lt.remove(i,e))}}});var _e=t.location,ge=at.now(),ye=/\?/;at.parseJSON=function(t){return JSON.parse(t+"")},at.parseXML=function(e){var n;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(i){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||at.error("Invalid XML: "+e),n};var ve=/#.*$/,be=/([?&])_=[^&]*/,Me=/^(.*?):[ \t]*([^\r\n]*)$/gm,we=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ke=/^(?:GET|HEAD)$/,xe=/^\/\//,Le={},De={},Te="*/".concat("*"),Ye=G.createElement("a");Ye.href=_e.href,at.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_e.href,type:"GET",isLocal:we.test(_e.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Te,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":at.parseJSON,"text xml":at.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?B(B(t,at.ajaxSettings),e):B(at.ajaxSettings,t)},ajaxPrefilter:N(Le),ajaxTransport:N(De),ajax:function(e,n){function i(e,n,i,s){var d,c,y,v,M,k=n;2!==b&&(b=2,l&&t.clearTimeout(l),r=void 0,o=s||"",w.readyState=e>0?4:0,d=e>=200&&300>e||304===e,i&&(v=$(h,w,i)),v=V(h,v,w,d),d?(h.ifModified&&(M=w.getResponseHeader("Last-Modified"),M&&(at.lastModified[a]=M),M=w.getResponseHeader("etag"),M&&(at.etag[a]=M)),204===e||"HEAD"===h.type?k="nocontent":304===e?k="notmodified":(k=v.state,c=v.data,y=v.error,d=!y)):(y=k,!e&&k||(k="error",0>e&&(e=0))),w.status=e,w.statusText=(n||k)+"",d?m.resolveWith(f,[c,k,w]):m.rejectWith(f,[w,k,y]),w.statusCode(g),g=void 0,u&&p.trigger(d?"ajaxSuccess":"ajaxError",[w,h,d?c:y]),_.fireWith(f,[w,k]),u&&(p.trigger("ajaxComplete",[w,h]),--at.active||at.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=void 0),n=n||{};var r,a,o,s,l,d,u,c,h=at.ajaxSetup({},n),f=h.context||h,p=h.context&&(f.nodeType||f.jquery)?at(f):at.event,m=at.Deferred(),_=at.Callbacks("once memory"),g=h.statusCode||{},y={},v={},b=0,M="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!s)for(s={};e=Me.exec(o);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?o:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return b||(t=v[n]=v[n]||t,y[t]=e),this},overrideMimeType:function(t){return b||(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>b)for(e in t)g[e]=[g[e],t[e]];else w.always(t[w.status]);return this},abort:function(t){var e=t||M;return r&&r.abort(e),i(0,e),this}};if(m.promise(w).complete=_.add,w.success=w.done,w.error=w.fail,h.url=((e||h.url||_e.href)+"").replace(ve,"").replace(xe,_e.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=at.trim(h.dataType||"*").toLowerCase().match(Mt)||[""],null==h.crossDomain){d=G.createElement("a");try{d.href=h.url,d.href=d.href,h.crossDomain=Ye.protocol+"//"+Ye.host!=d.protocol+"//"+d.host}catch(k){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=at.param(h.data,h.traditional)),z(Le,h,n,w),2===b)return w;u=at.event&&h.global,u&&0===at.active++&&at.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!ke.test(h.type),a=h.url,h.hasContent||(h.data&&(a=h.url+=(ye.test(a)?"&":"?")+h.data,delete h.data),h.cache===!1&&(h.url=be.test(a)?a.replace(be,"$1_="+ge++):a+(ye.test(a)?"&":"?")+"_="+ge++)),h.ifModified&&(at.lastModified[a]&&w.setRequestHeader("If-Modified-Since",at.lastModified[a]),at.etag[a]&&w.setRequestHeader("If-None-Match",at.etag[a])),(h.data&&h.hasContent&&h.contentType!==!1||n.contentType)&&w.setRequestHeader("Content-Type",h.contentType),w.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Te+"; q=0.01":""):h.accepts["*"]);for(c in h.headers)w.setRequestHeader(c,h.headers[c]);if(h.beforeSend&&(h.beforeSend.call(f,w,h)===!1||2===b))return w.abort();M="abort";for(c in{success:1,error:1,complete:1})w[c](h[c]);if(r=z(De,h,n,w)){if(w.readyState=1,u&&p.trigger("ajaxSend",[w,h]),2===b)return w;h.async&&h.timeout>0&&(l=t.setTimeout(function(){w.abort("timeout")},h.timeout));try{b=1,r.send(y,i)}catch(k){if(!(2>b))throw k;i(-1,k)}}else i(-1,"No Transport");return w},getJSON:function(t,e,n){return at.get(t,e,n,"json")},getScript:function(t,e){return at.get(t,void 0,e,"script")}}),at.each(["get","post"],function(t,e){at[e]=function(t,n,i,r){return at.isFunction(n)&&(r=r||i,i=n,n=void 0),at.ajax(at.extend({url:t,type:e,dataType:r,data:n,success:i},at.isPlainObject(t)&&t))}}),at._evalUrl=function(t){return at.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},at.fn.extend({wrapAll:function(t){var e;return at.isFunction(t)?this.each(function(e){at(this).wrapAll(t.call(this,e))}):(this[0]&&(e=at(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return at.isFunction(t)?this.each(function(e){at(this).wrapInner(t.call(this,e))}):this.each(function(){var e=at(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=at.isFunction(t);return this.each(function(n){at(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){at.nodeName(this,"body")||at(this).replaceWith(this.childNodes)}).end()}}),at.expr.filters.hidden=function(t){return!at.expr.filters.visible(t)},at.expr.filters.visible=function(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0};var Se=/%20/g,Ce=/\[\]$/,He=/\r?\n/g,Ae=/^(?:submit|button|image|reset|file)$/i,je=/^(?:input|select|textarea|keygen)/i;at.param=function(t,e){var n,i=[],r=function(t,e){e=at.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=at.ajaxSettings&&at.ajaxSettings.traditional),at.isArray(t)||t.jquery&&!at.isPlainObject(t))at.each(t,function(){r(this.name,this.value)});else for(n in t)q(n,t[n],e,r);return i.join("&").replace(Se,"+")},at.fn.extend({serialize:function(){return at.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=at.prop(this,"elements");return t?at.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!at(this).is(":disabled")&&je.test(this.nodeName)&&!Ae.test(t)&&(this.checked||!jt.test(t))}).map(function(t,e){var n=at(this).val();return null==n?null:at.isArray(n)?at.map(n,function(t){return{name:e.name,value:t.replace(He,"\r\n")}}):{name:e.name,value:n.replace(He,"\r\n")}}).get()}}),at.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(e){}};var Pe={0:200,1223:204},Ee=at.ajaxSettings.xhr();it.cors=!!Ee&&"withCredentials"in Ee,it.ajax=Ee=!!Ee,at.ajaxTransport(function(e){var n,i;return it.cors||Ee&&!e.crossDomain?{send:function(r,a){var o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)s.setRequestHeader(o,r[o]);n=function(t){return function(){n&&(n=i=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(Pe[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),i=s.onerror=n("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&t.setTimeout(function(){n&&i()})},n=n("abort");try{s.send(e.hasContent&&e.data||null)}catch(l){if(n)throw l}},abort:function(){n&&n()}}:void 0}),at.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return at.globalEval(t),t}}}),at.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),at.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(i,r){e=at("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),G.head.appendChild(e[0])},abort:function(){n&&n()}}}});var Ie=[],We=/(=)\?(?=&|$)|\?\?/;at.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ie.pop()||at.expando+"_"+ge++;return this[t]=!0,t}}),at.ajaxPrefilter("json jsonp",function(e,n,i){var r,a,o,s=e.jsonp!==!1&&(We.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&We.test(e.data)&&"data");return s||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=at.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(We,"$1"+r):e.jsonp!==!1&&(e.url+=(ye.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||at.error(r+" was not called"),o[0]},e.dataTypes[0]="json",a=t[r],t[r]=function(){o=arguments},i.always(function(){void 0===a?at(t).removeProp(r):t[r]=a,e[r]&&(e.jsonpCallback=n.jsonpCallback,Ie.push(r)),o&&at.isFunction(a)&&a(o[0]),o=a=void 0}),"script"):void 0}),at.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||G;var i=pt.exec(t),r=!n&&[];return i?[e.createElement(i[1])]:(i=h([t],e,r),r&&r.length&&at(r).remove(),at.merge([],i.childNodes))};var Fe=at.fn.load;at.fn.load=function(t,e,n){if("string"!=typeof t&&Fe)return Fe.apply(this,arguments);var i,r,a,o=this,s=t.indexOf(" ");return s>-1&&(i=at.trim(t.slice(s)),t=t.slice(0,s)),at.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),o.length>0&&at.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){a=arguments,o.html(i?at("<div>").append(at.parseHTML(t)).find(i):t)}).always(n&&function(t,e){o.each(function(){n.apply(this,a||[t.responseText,e,t])})}),this},at.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){at.fn[e]=function(t){return this.on(e,t)}}),at.expr.filters.animated=function(t){return at.grep(at.timers,function(e){return t===e.elem}).length},at.offset={setOffset:function(t,e,n){var i,r,a,o,s,l,d,u=at.css(t,"position"),c=at(t),h={};"static"===u&&(t.style.position="relative"),s=c.offset(),a=at.css(t,"top"),l=at.css(t,"left"),d=("absolute"===u||"fixed"===u)&&(a+l).indexOf("auto")>-1,d?(i=c.position(),o=i.top,r=i.left):(o=parseFloat(a)||0,r=parseFloat(l)||0),at.isFunction(e)&&(e=e.call(t,n,at.extend({},s))),null!=e.top&&(h.top=e.top-s.top+o),null!=e.left&&(h.left=e.left-s.left+r),"using"in e?e.using.call(t,h):c.css(h)}},at.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){at.offset.setOffset(this,t,e)});var e,n,i=this[0],r={top:0,left:0},a=i&&i.ownerDocument;if(a)return e=a.documentElement,at.contains(e,i)?(r=i.getBoundingClientRect(),n=U(a),{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}):r},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===at.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),at.nodeName(t[0],"html")||(i=t.offset()),i.top+=at.css(t[0],"borderTopWidth",!0),i.left+=at.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-at.css(n,"marginTop",!0),left:e.left-i.left-at.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===at.css(t,"position");)t=t.offsetParent;return t||Zt})}}),at.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;at.fn[t]=function(i){return kt(this,function(t,i,r){var a=U(t);return void 0===r?a?a[e]:t[i]:void(a?a.scrollTo(n?a.pageXOffset:r,n?r:a.pageYOffset):t[i]=r)},t,i,arguments.length)}}),at.each(["top","left"],function(t,e){at.cssHooks[e]=T(it.pixelPosition,function(t,n){return n?(n=D(t,e),Gt.test(n)?at(t).position()[e]+"px":n):void 0})}),at.each({Height:"height",Width:"width"},function(t,e){at.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){at.fn[i]=function(i,r){var a=arguments.length&&(n||"boolean"!=typeof i),o=n||(i===!0||r===!0?"margin":"border");return kt(this,function(e,n,i){var r;return at.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===i?at.css(e,n,o):at.style(e,n,i,o)},e,a?i:void 0,a,null)}})}),at.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},size:function(){return this.length}}),at.fn.andSelf=at.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return at});var Oe=t.jQuery,Re=t.$;return at.noConflict=function(e){return t.$===at&&(t.$=Re),e&&t.jQuery===at&&(t.jQuery=Oe),at},e||(t.jQuery=t.$=at),at}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(jQuery),+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one("bsTransitionEnd",function(){n=!0});var r=function(){n||t(i).trigger(t.support.transition.end)};return setTimeout(r,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),r=n.data("bs.alert");r||n.data("bs.alert",r=new i(this)),"string"==typeof e&&r[e].call(n)})}var n='[data-dismiss="alert"]',i=function(e){t(e).on("click",n,this.close)};i.VERSION="3.3.6",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function n(){o.detach().trigger("closed.bs.alert").remove()}var r=t(this),a=r.attr("data-target");a||(a=r.attr("href"),a=a&&a.replace(/.*(?=#[^\s]*$)/,""));var o=t(a);e&&e.preventDefault(),o.length||(o=r.closest(".alert")),o.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n())};var r=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=r,this},t(document).on("click.bs.alert.data-api",n,i.prototype.close)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.button"),a="object"==typeof e&&e;r||i.data("bs.button",r=new n(this,a)),"toggle"==e?r.toggle():e&&r.setState(e)})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.3.6",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,r=i.is("input")?"val":"html",a=i.data();e+="Text",null==a.resetText&&i.data("resetText",i[r]()),setTimeout(t.proxy(function(){i[r](null==a[e]?this.options[e]:a[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=t(n.target);i.hasClass("btn")||(i=i.closest(".btn")),e.call(i,"toggle"),t(n.target).is('input[type="radio"]')||t(n.target).is('input[type="checkbox"]')||n.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.carousel"),a=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),o="string"==typeof e?e:a.slide;r||i.data("bs.carousel",r=new n(this,a)),"number"==typeof e?r.to(e):o?r[o]():a.interval&&r.pause().cycle()})}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.3.6",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e),i="prev"==t&&0===n||"next"==t&&n==this.$items.length-1;if(i&&!this.options.wrap)return e;var r="prev"==t?-1:1,a=(n+r)%this.$items.length;return this.$items.eq(a)},n.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));return t>this.$items.length-1||0>t?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){return this.sliding?void 0:this.slide("next")},n.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},n.prototype.slide=function(e,i){var r=this.$element.find(".item.active"),a=i||this.getItemForDirection(e,r),o=this.interval,s="next"==e?"left":"right",l=this;if(a.hasClass("active"))return this.sliding=!1;var d=a[0],u=t.Event("slide.bs.carousel",{relatedTarget:d,direction:s});if(this.$element.trigger(u),!u.isDefaultPrevented()){if(this.sliding=!0,o&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var c=t(this.$indicators.children()[this.getItemIndex(a)]);c&&c.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:d,direction:s});return t.support.transition&&this.$element.hasClass("slide")?(a.addClass(e),a[0].offsetWidth,r.addClass(s),a.addClass(s),r.one("bsTransitionEnd",function(){a.removeClass([e,s].join(" ")).addClass("active"),r.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(h)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(r.removeClass("active"),a.addClass("active"),this.sliding=!1,this.$element.trigger(h)),o&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=n,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var r=function(n){var i,r=t(this),a=t(r.attr("data-target")||(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(a.hasClass("carousel")){var o=t.extend({},a.data(),r.data()),s=r.attr("data-slide-to");s&&(o.interval=!1),e.call(a,o),s&&a.data("bs.carousel").to(s),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(jQuery),+function(t){"use strict";function e(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(i)}function n(e){return this.each(function(){var n=t(this),r=n.data("bs.collapse"),a=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);!r&&a.toggle&&/show|hide/.test(e)&&(a.toggle=!1),r||n.data("bs.collapse",r=new i(this,a)),"string"==typeof e&&r[e]()})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.6",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(r&&r.length&&(e=r.data("bs.collapse"),e&&e.transitioning))){var a=t.Event("show.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){r&&r.length&&(n.call(r,"hide"),e||r.data("bs.collapse",null));var o=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[o](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[o](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var l=t.camelCase(["scroll",o].join("-"));this.$element.one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[o](this.$element[0][l]);
}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[n](0).one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(i.TRANSITION_DURATION):r.call(this)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,i){var r=t(i);this.addAriaAndCollapsedClass(e(r),r)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var r=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=r,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var r=t(this);r.attr("data-target")||i.preventDefault();var a=e(r),o=a.data("bs.collapse"),s=o?"toggle":r.data();n.call(a,s)})}(jQuery),+function(t){"use strict";function e(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}function n(n){n&&3===n.which||(t(r).remove(),t(a).each(function(){var i=t(this),r=e(i),a={relatedTarget:this};r.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(r[0],n.target)||(r.trigger(n=t.Event("hide.bs.dropdown",a)),n.isDefaultPrevented()||(i.attr("aria-expanded","false"),r.removeClass("open").trigger(t.Event("hidden.bs.dropdown",a)))))}))}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new o(this)),"string"==typeof e&&i[e].call(n)})}var r=".dropdown-backdrop",a='[data-toggle="dropdown"]',o=function(e){t(e).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.6",o.prototype.toggle=function(i){var r=t(this);if(!r.is(".disabled, :disabled")){var a=e(r),o=a.hasClass("open");if(n(),!o){"ontouchstart"in document.documentElement&&!a.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var s={relatedTarget:this};if(a.trigger(i=t.Event("show.bs.dropdown",s)),i.isDefaultPrevented())return;r.trigger("focus").attr("aria-expanded","true"),a.toggleClass("open").trigger(t.Event("shown.bs.dropdown",s))}return!1}},o.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=t(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var r=e(i),o=r.hasClass("open");if(!o&&27!=n.which||o&&27==n.which)return 27==n.which&&r.find(a).trigger("focus"),i.trigger("click");var s=" li:not(.disabled):visible a",l=r.find(".dropdown-menu"+s);if(l.length){var d=l.index(n.target);38==n.which&&d>0&&d--,40==n.which&&d<l.length-1&&d++,~d||(d=0),l.eq(d).trigger("focus")}}}};var s=t.fn.dropdown;t.fn.dropdown=i,t.fn.dropdown.Constructor=o,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=s,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",a,o.prototype.toggle).on("keydown.bs.dropdown.data-api",a,o.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",o.prototype.keydown)}(jQuery),+function(t){"use strict";function e(e,i){return this.each(function(){var r=t(this),a=r.data("bs.modal"),o=t.extend({},n.DEFAULTS,r.data(),"object"==typeof e&&e);a||r.data("bs.modal",a=new n(this,o)),"string"==typeof e?a[e](i):o.show&&a.show(i)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.3.6",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var i=this,r=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(r),this.isShown||r.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var r=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),r&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var a=t.Event("shown.bs.modal",{relatedTarget:e});r?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(a)}).emulateTransitionEnd(n.TRANSITION_DURATION):i.$element.trigger("focus").trigger(a)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var i=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var a=t.support.transition&&r;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+r).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),a&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;a?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var o=function(){i.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):o()}else e&&e()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},n.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=n,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var i=t(this),r=i.attr("href"),a=t(i.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),o=a.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(r)&&r},a.data(),i.data());i.is("a")&&n.preventDefault(),a.one("show.bs.modal",function(t){t.isDefaultPrevented()||a.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(a,o,this)})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.tooltip"),a="object"==typeof e&&e;!r&&/destroy|hide/.test(e)||(r||i.data("bs.tooltip",r=new n(this,a)),"string"==typeof e&&r[e]())})}var n=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};n.VERSION="3.3.6",n.TRANSITION_DURATION=150,n.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var r=this.options.trigger.split(" "),a=r.length;a--;){var o=r[a];if("click"==o)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=o){var s="hover"==o?"mouseenter":"focusin",l="hover"==o?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},n.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},n.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},n.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},n.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),n.isInStateTrue()?void 0:(clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide())},n.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!i)return;var r=this,a=this.tip(),o=this.getUID(this.type);this.setContent(),a.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&a.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,d=l.test(s);d&&(s=s.replace(l,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?a.appendTo(this.options.container):a.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),c=a[0].offsetWidth,h=a[0].offsetHeight;if(d){var f=s,p=this.getPosition(this.$viewport);s="bottom"==s&&u.bottom+h>p.bottom?"top":"top"==s&&u.top-h<p.top?"bottom":"right"==s&&u.right+c>p.width?"left":"left"==s&&u.left-c<p.left?"right":s,a.removeClass(f).addClass(s)}var m=this.getCalculatedOffset(s,u,c,h);this.applyPlacement(m,s);var _=function(){var t=r.hoverState;r.$element.trigger("shown.bs."+r.type),r.hoverState=null,"out"==t&&r.leave(r)};t.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",_).emulateTransitionEnd(n.TRANSITION_DURATION):_()}},n.prototype.applyPlacement=function(e,n){var i=this.tip(),r=i[0].offsetWidth,a=i[0].offsetHeight,o=parseInt(i.css("margin-top"),10),s=parseInt(i.css("margin-left"),10);isNaN(o)&&(o=0),isNaN(s)&&(s=0),e.top+=o,e.left+=s,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,d=i[0].offsetHeight;"top"==n&&d!=a&&(e.top=e.top+a-d);var u=this.getViewportAdjustedDelta(n,e,l,d);u.left?e.left+=u.left:e.top+=u.top;var c=/top|bottom/.test(n),h=c?2*u.left-r+l:2*u.top-a+d,f=c?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(h,i[0][f],c)},n.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},n.prototype.hide=function(e){function i(){"in"!=r.hoverState&&a.detach(),r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),e&&e()}var r=this,a=t(this.$tip),o=t.Event("hide.bs."+this.type);return this.$element.trigger(o),o.isDefaultPrevented()?void 0:(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i(),this.hoverState=null,this)},n.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(e){e=e||this.$element;var n=e[0],i="BODY"==n.tagName,r=n.getBoundingClientRect();null==r.width&&(r=t.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var a=i?{top:0,left:0}:e.offset(),o={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},s=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},r,o,s,a)},n.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},n.prototype.getViewportAdjustedDelta=function(t,e,n,i){var r={top:0,left:0};if(!this.$viewport)return r;var a=this.options.viewport&&this.options.viewport.padding||0,o=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-a-o.scroll,l=e.top+a-o.scroll+i;s<o.top?r.top=o.top-s:l>o.top+o.height&&(r.top=o.top+o.height-l)}else{var d=e.left-a,u=e.left+a+n;d<o.left?r.left=o.left-d:u>o.right&&(r.left=o.left+o.width-u)}return r},n.prototype.getTitle=function(){var t,e=this.$element,n=this.options;return t=e.attr("data-original-title")||("function"==typeof n.title?n.title.call(e[0]):n.title)},n.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},n.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(e){var n=this;e&&(n=t(e.currentTarget).data("bs."+this.type),n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})};var i=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=n,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.popover"),a="object"==typeof e&&e;!r&&/destroy|hide/.test(e)||(r||i.data("bs.popover",r=new n(this,a)),"string"==typeof e&&r[e]())})}var n=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.6",n.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),n.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=n,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),+function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(t(n).is(document.body)?window:n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var i=t(this),r=i.data("bs.scrollspy"),a="object"==typeof n&&n;r||i.data("bs.scrollspy",r=new e(this,a)),"string"==typeof n&&r[n]()})}e.VERSION="3.3.6",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),r=e.data("target")||e.attr("href"),a=/^#./.test(r)&&t(r);return a&&a.length&&a.is(":visible")&&[[a[n]().top+i,r]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),r=this.offsets,a=this.targets,o=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return o!=(t=a[a.length-1])&&this.activate(t);if(o&&e<r[0])return this.activeTarget=null,this.clear();for(t=r.length;t--;)o!=a[t]&&e>=r[t]&&(void 0===r[t+1]||e<r[t+1])&&this.activate(a[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.tab");r||i.data("bs.tab",r=new n(this)),"string"==typeof e&&r[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.3.6",n.TRANSITION_DURATION=150,n.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=e.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=n.find(".active:last a"),a=t.Event("hide.bs.tab",{relatedTarget:e[0]}),o=t.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(a),e.trigger(o),!o.isDefaultPrevented()&&!a.isDefaultPrevented()){var s=t(i);this.activate(e.closest("li"),n),this.activate(s,s.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:r[0]})})}}},n.prototype.activate=function(e,i,r){function a(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),r&&r()}var o=i.find("> .active"),s=r&&t.support.transition&&(o.length&&o.hasClass("fade")||!!i.find("> .fade").length);o.length&&s?o.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a(),o.removeClass("in")};var i=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=n,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var r=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.affix"),a="object"==typeof e&&e;r||i.data("bs.affix",r=new n(this,a)),"string"==typeof e&&r[e]()})}var n=function(e,i){this.options=t.extend({},n.DEFAULTS,i),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.6",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,i){var r=this.$target.scrollTop(),a=this.$element.offset(),o=this.$target.height();if(null!=n&&"top"==this.affixed)return n>r?"top":!1;if("bottom"==this.affixed)return null!=n?r+this.unpin<=a.top?!1:"bottom":t-i>=r+o?!1:"bottom";var s=null==this.affixed,l=s?r:a.top,d=s?o:e;return null!=n&&n>=r?"top":null!=i&&l+d>=t-i?"bottom":!1},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),i=this.options.offset,r=i.top,a=i.bottom,o=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(a=r=i),"function"==typeof r&&(r=i.top(this.$element)),"function"==typeof a&&(a=i.bottom(this.$element));var s=this.getState(o,e,r,a);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),d=t.Event(l+".bs.affix");if(this.$element.trigger(d),d.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:o-e-a})}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),i=n.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),e.call(n,i)})})}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";function t(){return ir.apply(null,arguments)}function e(t){ir=t}function n(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function r(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function o(t,e){for(var n in e)a(e,n)&&(t[n]=e[n]);return a(e,"toString")&&(t.toString=e.toString),a(e,"valueOf")&&(t.valueOf=e.valueOf),t}function s(t,e,n,i){return Et(t,e,n,i,!0).utc()}function l(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function d(t){return null==t._pf&&(t._pf=l()),t._pf}function u(t){if(null==t._isValid){var e=d(t),n=rr.call(e.parsedDateParts,function(t){return null!=t});t._isValid=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n),t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)}return t._isValid}function c(t){var e=s(NaN);return null!=t?o(d(e),t):d(e).userInvalidated=!0,e}function h(t){return void 0===t}function f(t,e){var n,i,r;if(h(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),h(e._i)||(t._i=e._i),h(e._f)||(t._f=e._f),h(e._l)||(t._l=e._l),h(e._strict)||(t._strict=e._strict),h(e._tzm)||(t._tzm=e._tzm),h(e._isUTC)||(t._isUTC=e._isUTC),h(e._offset)||(t._offset=e._offset),h(e._pf)||(t._pf=d(e)),h(e._locale)||(t._locale=e._locale),ar.length>0)for(n in ar)i=ar[n],r=e[i],h(r)||(t[i]=r);return t}function p(e){f(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),or===!1&&(or=!0,t.updateOffset(this),or=!1)}function m(t){return t instanceof p||null!=t&&null!=t._isAMomentObject}function _(t){return 0>t?Math.ceil(t):Math.floor(t)}function g(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=_(e)),n}function y(t,e,n){var i,r=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),o=0;for(i=0;r>i;i++)(n&&t[i]!==e[i]||!n&&g(t[i])!==g(e[i]))&&o++;return o+a}function v(e){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn}function b(e,n){var i=!0;return o(function(){return null!=t.deprecationHandler&&t.deprecationHandler(null,e),i&&(v(e+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),i=!1),n.apply(this,arguments)},n)}function M(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),sr[e]||(v(n),sr[e]=!0)}function w(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function k(t){return"[object Object]"===Object.prototype.toString.call(t)}function x(t){var e,n;for(n in t)e=t[n],w(e)?this[n]=e:this["_"+n]=e;this._config=t,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function L(t,e){var n,i=o({},t);for(n in e)a(e,n)&&(k(t[n])&&k(e[n])?(i[n]={},o(i[n],t[n]),o(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);return i}function D(t){null!=t&&this.set(t)}function T(t){return t?t.toLowerCase().replace("_","-"):t}function Y(t){for(var e,n,i,r,a=0;a<t.length;){for(r=T(t[a]).split("-"),e=r.length,n=T(t[a+1]),n=n?n.split("-"):null;e>0;){if(i=S(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&y(r,n,!0)>=e-1)break;e--}a++}return null}function S(t){var e=null;if(!cr[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=dr._abbr,require("./locale/"+t),C(e)}catch(n){}return cr[t]}function C(t,e){var n;return t&&(n=h(e)?j(t):H(t,e),n&&(dr=n)),dr._abbr}function H(t,e){return null!==e?(e.abbr=t,null!=cr[t]?(M("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale"),e=L(cr[t]._config,e)):null!=e.parentLocale&&(null!=cr[e.parentLocale]?e=L(cr[e.parentLocale]._config,e):M("parentLocaleUndefined","specified parentLocale is not defined yet")),cr[t]=new D(e),C(t),cr[t]):(delete cr[t],null)}function A(t,e){if(null!=e){var n;null!=cr[t]&&(e=L(cr[t]._config,e)),n=new D(e),n.parentLocale=cr[t],cr[t]=n,C(t)}else null!=cr[t]&&(null!=cr[t].parentLocale?cr[t]=cr[t].parentLocale:null!=cr[t]&&delete cr[t]);return cr[t]}function j(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return dr;if(!n(t)){if(e=S(t))return e;t=[t]}return Y(t)}function P(){return lr(cr)}function E(t,e){var n=t.toLowerCase();hr[n]=hr[n+"s"]=hr[e]=t}function I(t){return"string"==typeof t?hr[t]||hr[t.toLowerCase()]:void 0}function W(t){var e,n,i={};for(n in t)a(t,n)&&(e=I(n),e&&(i[e]=t[n]));return i}function F(e,n){return function(i){return null!=i?(R(this,e,i),t.updateOffset(this,n),this):O(this,e)}}function O(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN;
}function R(t,e,n){t.isValid()&&t._d["set"+(t._isUTC?"UTC":"")+e](n)}function N(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if(t=I(t),w(this[t]))return this[t](e);return this}function z(t,e,n){var i=""+Math.abs(t),r=e-i.length,a=t>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function B(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(_r[t]=r),e&&(_r[e[0]]=function(){return z(r.apply(this,arguments),e[1],e[2])}),n&&(_r[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function $(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function V(t){var e,n,i=t.match(fr);for(e=0,n=i.length;n>e;e++)_r[i[e]]?i[e]=_r[i[e]]:i[e]=$(i[e]);return function(e){var r,a="";for(r=0;n>r;r++)a+=i[r]instanceof Function?i[r].call(e,t):i[r];return a}}function q(t,e){return t.isValid()?(e=U(e,t.localeData()),mr[e]=mr[e]||V(e),mr[e](t)):t.localeData().invalidDate()}function U(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(pr.lastIndex=0;i>=0&&pr.test(t);)t=t.replace(pr,n),pr.lastIndex=0,i-=1;return t}function J(t,e,n){Pr[t]=w(e)?e:function(t,i){return t&&n?n:e}}function G(t,e){return a(Pr,t)?Pr[t](e._strict,e._locale):new RegExp(X(t))}function X(t){return Q(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r}))}function Q(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Z(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(i=function(t,n){n[e]=g(t)}),n=0;n<t.length;n++)Er[t[n]]=i}function K(t,e){Z(t,function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)})}function tt(t,e,n){null!=e&&a(Er,t)&&Er[t](e,n._a,n,t)}function et(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function nt(t,e){return n(this._months)?this._months[t.month()]:this._months[Vr.test(e)?"format":"standalone"][t.month()]}function it(t,e){return n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Vr.test(e)?"format":"standalone"][t.month()]}function rt(t,e,n){var i,r,a,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;12>i;++i)a=s([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===e?(r=ur.call(this._shortMonthsParse,o),-1!==r?r:null):(r=ur.call(this._longMonthsParse,o),-1!==r?r:null):"MMM"===e?(r=ur.call(this._shortMonthsParse,o),-1!==r?r:(r=ur.call(this._longMonthsParse,o),-1!==r?r:null)):(r=ur.call(this._longMonthsParse,o),-1!==r?r:(r=ur.call(this._shortMonthsParse,o),-1!==r?r:null))}function at(t,e,n){var i,r,a;if(this._monthsParseExact)return rt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;12>i;i++){if(r=s([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}}function ot(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=g(e);else if(e=t.localeData().monthsParse(e),"number"!=typeof e)return t;return n=Math.min(t.date(),et(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function st(e){return null!=e?(ot(this,e),t.updateOffset(this,!0),this):O(this,"Month")}function lt(){return et(this.year(),this.month())}function dt(t){return this._monthsParseExact?(a(this,"_monthsRegex")||ct.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex}function ut(t){return this._monthsParseExact?(a(this,"_monthsRegex")||ct.call(this),t?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex}function ct(){function t(t,e){return e.length-t.length}var e,n,i=[],r=[],a=[];for(e=0;12>e;e++)n=s([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;12>e;e++)i[e]=Q(i[e]),r[e]=Q(r[e]),a[e]=Q(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 ht(t){var e,n=t._a;return n&&-2===d(t).overflow&&(e=n[Wr]<0||n[Wr]>11?Wr:n[Fr]<1||n[Fr]>et(n[Ir],n[Wr])?Fr:n[Or]<0||n[Or]>24||24===n[Or]&&(0!==n[Rr]||0!==n[Nr]||0!==n[zr])?Or:n[Rr]<0||n[Rr]>59?Rr:n[Nr]<0||n[Nr]>59?Nr:n[zr]<0||n[zr]>999?zr:-1,d(t)._overflowDayOfYear&&(Ir>e||e>Fr)&&(e=Fr),d(t)._overflowWeeks&&-1===e&&(e=Br),d(t)._overflowWeekday&&-1===e&&(e=$r),d(t).overflow=e),t}function ft(t){var e,n,i,r,a,o,s=t._i,l=Xr.exec(s)||Qr.exec(s);if(l){for(d(t).iso=!0,e=0,n=Kr.length;n>e;e++)if(Kr[e][1].exec(l[1])){r=Kr[e][0],i=Kr[e][2]!==!1;break}if(null==r)return void(t._isValid=!1);if(l[3]){for(e=0,n=ta.length;n>e;e++)if(ta[e][1].exec(l[3])){a=(l[2]||" ")+ta[e][0];break}if(null==a)return void(t._isValid=!1)}if(!i&&null!=a)return void(t._isValid=!1);if(l[4]){if(!Zr.exec(l[4]))return void(t._isValid=!1);o="Z"}t._f=r+(a||"")+(o||""),Yt(t)}else t._isValid=!1}function pt(e){var n=ea.exec(e._i);return null!==n?void(e._d=new Date(+n[1])):(ft(e),void(e._isValid===!1&&(delete e._isValid,t.createFromInputFallback(e))))}function mt(t,e,n,i,r,a,o){var s=new Date(t,e,n,i,r,a,o);return 100>t&&t>=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}function _t(t){var e=new Date(Date.UTC.apply(null,arguments));return 100>t&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function gt(t){return yt(t)?366:365}function yt(t){return t%4===0&&t%100!==0||t%400===0}function vt(){return yt(this.year())}function bt(t,e,n){var i=7+e-n,r=(7+_t(t,0,i).getUTCDay()-e)%7;return-r+i-1}function Mt(t,e,n,i,r){var a,o,s=(7+n-i)%7,l=bt(t,i,r),d=1+7*(e-1)+s+l;return 0>=d?(a=t-1,o=gt(a)+d):d>gt(t)?(a=t+1,o=d-gt(t)):(a=t,o=d),{year:a,dayOfYear:o}}function wt(t,e,n){var i,r,a=bt(t.year(),e,n),o=Math.floor((t.dayOfYear()-a-1)/7)+1;return 1>o?(r=t.year()-1,i=o+kt(r,e,n)):o>kt(t.year(),e,n)?(i=o-kt(t.year(),e,n),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function kt(t,e,n){var i=bt(t,e,n),r=bt(t+1,e,n);return(gt(t)-i+r)/7}function xt(t,e,n){return null!=t?t:null!=e?e:n}function Lt(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function Dt(t){var e,n,i,r,a=[];if(!t._d){for(i=Lt(t),t._w&&null==t._a[Fr]&&null==t._a[Wr]&&Tt(t),t._dayOfYear&&(r=xt(t._a[Ir],i[Ir]),t._dayOfYear>gt(r)&&(d(t)._overflowDayOfYear=!0),n=_t(r,0,t._dayOfYear),t._a[Wr]=n.getUTCMonth(),t._a[Fr]=n.getUTCDate()),e=0;3>e&&null==t._a[e];++e)t._a[e]=a[e]=i[e];for(;7>e;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Or]&&0===t._a[Rr]&&0===t._a[Nr]&&0===t._a[zr]&&(t._nextDay=!0,t._a[Or]=0),t._d=(t._useUTC?_t:mt).apply(null,a),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Or]=24)}}function Tt(t){var e,n,i,r,a,o,s,l;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(a=1,o=4,n=xt(e.GG,t._a[Ir],wt(It(),1,4).year),i=xt(e.W,1),r=xt(e.E,1),(1>r||r>7)&&(l=!0)):(a=t._locale._week.dow,o=t._locale._week.doy,n=xt(e.gg,t._a[Ir],wt(It(),a,o).year),i=xt(e.w,1),null!=e.d?(r=e.d,(0>r||r>6)&&(l=!0)):null!=e.e?(r=e.e+a,(e.e<0||e.e>6)&&(l=!0)):r=a),1>i||i>kt(n,a,o)?d(t)._overflowWeeks=!0:null!=l?d(t)._overflowWeekday=!0:(s=Mt(n,i,r,a,o),t._a[Ir]=s.year,t._dayOfYear=s.dayOfYear)}function Yt(e){if(e._f===t.ISO_8601)return void ft(e);e._a=[],d(e).empty=!0;var n,i,r,a,o,s=""+e._i,l=s.length,u=0;for(r=U(e._f,e._locale).match(fr)||[],n=0;n<r.length;n++)a=r[n],i=(s.match(G(a,e))||[])[0],i&&(o=s.substr(0,s.indexOf(i)),o.length>0&&d(e).unusedInput.push(o),s=s.slice(s.indexOf(i)+i.length),u+=i.length),_r[a]?(i?d(e).empty=!1:d(e).unusedTokens.push(a),tt(a,i,e)):e._strict&&!i&&d(e).unusedTokens.push(a);d(e).charsLeftOver=l-u,s.length>0&&d(e).unusedInput.push(s),d(e).bigHour===!0&&e._a[Or]<=12&&e._a[Or]>0&&(d(e).bigHour=void 0),d(e).parsedDateParts=e._a.slice(0),d(e).meridiem=e._meridiem,e._a[Or]=St(e._locale,e._a[Or],e._meridiem),Dt(e),ht(e)}function St(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&12>e&&(e+=12),i||12!==e||(e=0),e):e}function Ct(t){var e,n,i,r,a;if(0===t._f.length)return d(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<t._f.length;r++)a=0,e=f({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Yt(e),u(e)&&(a+=d(e).charsLeftOver,a+=10*d(e).unusedTokens.length,d(e).score=a,(null==i||i>a)&&(i=a,n=e));o(t,n||e)}function Ht(t){if(!t._d){var e=W(t._i);t._a=r([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),Dt(t)}}function At(t){var e=new p(ht(jt(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function jt(t){var e=t._i,r=t._f;return t._locale=t._locale||j(t._l),null===e||void 0===r&&""===e?c({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),m(e)?new p(ht(e)):(n(r)?Ct(t):r?Yt(t):i(e)?t._d=e:Pt(t),u(t)||(t._d=null),t))}function Pt(e){var a=e._i;void 0===a?e._d=new Date(t.now()):i(a)?e._d=new Date(a.valueOf()):"string"==typeof a?pt(e):n(a)?(e._a=r(a.slice(0),function(t){return parseInt(t,10)}),Dt(e)):"object"==typeof a?Ht(e):"number"==typeof a?e._d=new Date(a):t.createFromInputFallback(e)}function Et(t,e,n,i,r){var a={};return"boolean"==typeof n&&(i=n,n=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=n,a._i=t,a._f=e,a._strict=i,At(a)}function It(t,e,n,i){return Et(t,e,n,i,!1)}function Wt(t,e){var i,r;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return It();for(i=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](i)||(i=e[r]);return i}function Ft(){var t=[].slice.call(arguments,0);return Wt("isBefore",t)}function Ot(){var t=[].slice.call(arguments,0);return Wt("isAfter",t)}function Rt(t){var e=W(t),n=e.year||0,i=e.quarter||0,r=e.month||0,a=e.week||0,o=e.day||0,s=e.hour||0,l=e.minute||0,d=e.second||0,u=e.millisecond||0;this._milliseconds=+u+1e3*d+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+r+3*i+12*n,this._data={},this._locale=j(),this._bubble()}function Nt(t){return t instanceof Rt}function zt(t,e){B(t,0,0,function(){var t=this.utcOffset(),n="+";return 0>t&&(t=-t,n="-"),n+z(~~(t/60),2)+e+z(~~t%60,2)})}function Bt(t,e){var n=(e||"").match(t)||[],i=n[n.length-1]||[],r=(i+"").match(oa)||["-",0,0],a=+(60*r[1])+g(r[2]);return"+"===r[0]?a:-a}function $t(e,n){var r,a;return n._isUTC?(r=n.clone(),a=(m(e)||i(e)?e.valueOf():It(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+a),t.updateOffset(r,!1),r):It(e).local()}function Vt(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function qt(e,n){var i,r=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=Bt(Hr,e):Math.abs(e)<16&&(e=60*e),!this._isUTC&&n&&(i=Vt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!n||this._changeInProgress?de(this,ie(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?r:Vt(this):null!=e?this:NaN}function Ut(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Jt(t){return this.utcOffset(0,t)}function Gt(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Vt(this),"m")),this}function Xt(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Bt(Cr,this._i)),this}function Qt(t){return this.isValid()?(t=t?It(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function Zt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Kt(){if(!h(this._isDSTShifted))return this._isDSTShifted;var t={};if(f(t,this),t=jt(t),t._a){var e=t._isUTC?s(t._a):It(t._a);this._isDSTShifted=this.isValid()&&y(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function te(){return this.isValid()?!this._isUTC:!1}function ee(){return this.isValid()?this._isUTC:!1}function ne(){return this.isValid()?this._isUTC&&0===this._offset:!1}function ie(t,e){var n,i,r,o=t,s=null;return Nt(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(o={},e?o[e]=t:o.milliseconds=t):(s=sa.exec(t))?(n="-"===s[1]?-1:1,o={y:0,d:g(s[Fr])*n,h:g(s[Or])*n,m:g(s[Rr])*n,s:g(s[Nr])*n,ms:g(s[zr])*n}):(s=la.exec(t))?(n="-"===s[1]?-1:1,o={y:re(s[2],n),M:re(s[3],n),w:re(s[4],n),d:re(s[5],n),h:re(s[6],n),m:re(s[7],n),s:re(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=oe(It(o.from),It(o.to)),o={},o.ms=r.milliseconds,o.M=r.months),i=new Rt(o),Nt(t)&&a(t,"_locale")&&(i._locale=t._locale),i}function re(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function ae(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function oe(t,e){var n;return t.isValid()&&e.isValid()?(e=$t(e,t),t.isBefore(e)?n=ae(t,e):(n=ae(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function se(t){return 0>t?-1*Math.round(-1*t):Math.round(t)}function le(t,e){return function(n,i){var r,a;return null===i||isNaN(+i)||(M(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),a=n,n=i,i=a),n="string"==typeof n?+n:n,r=ie(n,i),de(this,r,t),this}}function de(e,n,i,r){var a=n._milliseconds,o=se(n._days),s=se(n._months);e.isValid()&&(r=null==r?!0:r,a&&e._d.setTime(e._d.valueOf()+a*i),o&&R(e,"Date",O(e,"Date")+o*i),s&&ot(e,O(e,"Month")+s*i),r&&t.updateOffset(e,o||s))}function ue(t,e){var n=t||It(),i=$t(n,this).startOf("day"),r=this.diff(i,"days",!0),a=-6>r?"sameElse":-1>r?"lastWeek":0>r?"lastDay":1>r?"sameDay":2>r?"nextDay":7>r?"nextWeek":"sameElse",o=e&&(w(e[a])?e[a]():e[a]);return this.format(o||this.localeData().calendar(a,this,It(n)))}function ce(){return new p(this)}function he(t,e){var n=m(t)?t:It(t);return this.isValid()&&n.isValid()?(e=I(h(e)?"millisecond":e),"millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function fe(t,e){var n=m(t)?t:It(t);return this.isValid()&&n.isValid()?(e=I(h(e)?"millisecond":e),"millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function pe(t,e,n,i){return i=i||"()",("("===i[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===i[1]?this.isBefore(e,n):!this.isAfter(e,n))}function me(t,e){var n,i=m(t)?t:It(t);return this.isValid()&&i.isValid()?(e=I(e||"millisecond"),"millisecond"===e?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf())):!1}function _e(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function ge(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function ye(t,e,n){var i,r,a,o;return this.isValid()?(i=$t(t,this),i.isValid()?(r=6e4*(i.utcOffset()-this.utcOffset()),e=I(e),"year"===e||"month"===e||"quarter"===e?(o=ve(this,i),"quarter"===e?o/=3:"year"===e&&(o/=12)):(a=this-i,o="second"===e?a/1e3:"minute"===e?a/6e4:"hour"===e?a/36e5:"day"===e?(a-r)/864e5:"week"===e?(a-r)/6048e5:a),n?o:_(o)):NaN):NaN}function ve(t,e){var n,i,r=12*(e.year()-t.year())+(e.month()-t.month()),a=t.clone().add(r,"months");return 0>e-a?(n=t.clone().add(r-1,"months"),i=(e-a)/(a-n)):(n=t.clone().add(r+1,"months"),i=(e-a)/(n-a)),-(r+i)||0}function be(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Me(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?w(Date.prototype.toISOString)?this.toDate().toISOString():q(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):q(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function we(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=q(this,e);return this.localeData().postformat(n)}function ke(t,e){return this.isValid()&&(m(t)&&t.isValid()||It(t).isValid())?ie({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function xe(t){return this.from(It(),t)}function Le(t,e){return this.isValid()&&(m(t)&&t.isValid()||It(t).isValid())?ie({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function De(t){return this.to(It(),t)}function Te(t){var e;return void 0===t?this._locale._abbr:(e=j(t),null!=e&&(this._locale=e),this)}function Ye(){return this._locale}function Se(t){switch(t=I(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function Ce(t){return t=I(t),void 0===t||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))}function He(){return this._d.valueOf()-6e4*(this._offset||0)}function Ae(){return Math.floor(this.valueOf()/1e3)}function je(){return this._offset?new Date(this.valueOf()):this._d}function Pe(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Ee(){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()}}function Ie(){return this.isValid()?this.toISOString():null}function We(){return u(this)}function Fe(){return o({},d(this))}function Oe(){return d(this).overflow}function Re(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ne(t,e){B(0,[t,t.length],0,e)}function ze(t){return qe.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Be(t){return qe.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function $e(){return kt(this.year(),1,4)}function Ve(){var t=this.localeData()._week;return kt(this.year(),t.dow,t.doy)}function qe(t,e,n,i,r){var a;return null==t?wt(this,i,r).year:(a=kt(t,i,r),e>a&&(e=a),Ue.call(this,t,e,n,i,r))}function Ue(t,e,n,i,r){var a=Mt(t,e,n,i,r),o=_t(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function Je(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Ge(t){return wt(t,this._week.dow,this._week.doy).week}function Xe(){return this._week.dow}function Qe(){return this._week.doy}function Ze(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Ke(t){var e=wt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function tn(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function en(t,e){return n(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]}function nn(t){return this._weekdaysShort[t.day()]}function rn(t){return this._weekdaysMin[t.day()]}function an(t,e,n){var i,r,a,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;7>i;++i)a=s([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?(r=ur.call(this._weekdaysParse,o),-1!==r?r:null):"ddd"===e?(r=ur.call(this._shortWeekdaysParse,o),-1!==r?r:null):(r=ur.call(this._minWeekdaysParse,o),-1!==r?r:null):"dddd"===e?(r=ur.call(this._weekdaysParse,o),-1!==r?r:(r=ur.call(this._shortWeekdaysParse,o),-1!==r?r:(r=ur.call(this._minWeekdaysParse,o),-1!==r?r:null))):"ddd"===e?(r=ur.call(this._shortWeekdaysParse,o),-1!==r?r:(r=ur.call(this._weekdaysParse,o),-1!==r?r:(r=ur.call(this._minWeekdaysParse,o),-1!==r?r:null))):(r=ur.call(this._minWeekdaysParse,o),-1!==r?r:(r=ur.call(this._weekdaysParse,o),-1!==r?r:(r=ur.call(this._shortWeekdaysParse,o),-1!==r?r:null)))}function on(t,e,n){var i,r,a;if(this._weekdaysParseExact)return an.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;7>i;i++){if(r=s([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}}function sn(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=tn(t,this.localeData()),this.add(t-e,"d")):e}function ln(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function dn(t){return this.isValid()?null==t?this.day()||7:this.day(this.day()%7?t:t-7):null!=t?this:NaN}function un(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||fn.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex}function cn(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||fn.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function hn(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||fn.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function fn(){function t(t,e){return e.length-t.length}var e,n,i,r,a,o=[],l=[],d=[],u=[];for(e=0;7>e;e++)n=s([2e3,1]).day(e),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(i),l.push(r),d.push(a),u.push(i),u.push(r),u.push(a);for(o.sort(t),l.sort(t),d.sort(t),u.sort(t),e=0;7>e;e++)l[e]=Q(l[e]),d[e]=Q(d[e]),u[e]=Q(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function pn(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function mn(){return this.hours()%12||12}function _n(){return this.hours()||24}function gn(t,e){B(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function yn(t,e){return e._meridiemParse}function vn(t){return"p"===(t+"").toLowerCase().charAt(0)}function bn(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Mn(t,e){e[zr]=g(1e3*("0."+t))}function wn(){return this._isUTC?"UTC":""}function kn(){return this._isUTC?"Coordinated Universal Time":""}function xn(t){return It(1e3*t)}function Ln(){return It.apply(null,arguments).parseZone()}function Dn(t,e,n){var i=this._calendar[t];return w(i)?i.call(e,n):i}function Tn(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])}function Yn(){return this._invalidDate}function Sn(t){return this._ordinal.replace("%d",t)}function Cn(t){return t}function Hn(t,e,n,i){var r=this._relativeTime[n];return w(r)?r(t,e,n,i):r.replace(/%d/i,t)}function An(t,e){var n=this._relativeTime[t>0?"future":"past"];return w(n)?n(e):n.replace(/%s/i,e)}function jn(t,e,n,i){var r=j(),a=s().set(i,e);return r[n](a,t)}function Pn(t,e,n){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return jn(t,e,n,"month");var i,r=[];for(i=0;12>i;i++)r[i]=jn(t,i,n,"month");return r}function En(t,e,n,i){"boolean"==typeof t?("number"==typeof e&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,"number"==typeof e&&(n=e,e=void 0),e=e||"");var r=j(),a=t?r._week.dow:0;if(null!=n)return jn(e,(n+a)%7,i,"day");var o,s=[];for(o=0;7>o;o++)s[o]=jn(e,(o+a)%7,i,"day");return s}function In(t,e){return Pn(t,e,"months")}function Wn(t,e){return Pn(t,e,"monthsShort")}function Fn(t,e,n){return En(t,e,n,"weekdays")}function On(t,e,n){return En(t,e,n,"weekdaysShort")}function Rn(t,e,n){return En(t,e,n,"weekdaysMin")}function Nn(){var t=this._data;return this._milliseconds=Ea(this._milliseconds),this._days=Ea(this._days),this._months=Ea(this._months),t.milliseconds=Ea(t.milliseconds),t.seconds=Ea(t.seconds),t.minutes=Ea(t.minutes),t.hours=Ea(t.hours),t.months=Ea(t.months),t.years=Ea(t.years),this}function zn(t,e,n,i){var r=ie(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function Bn(t,e){return zn(this,t,e,1)}function $n(t,e){return zn(this,t,e,-1)}function Vn(t){return 0>t?Math.floor(t):Math.ceil(t)}function qn(){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||0>=a&&0>=o&&0>=s||(a+=864e5*Vn(Jn(s)+o),o=0,s=0),l.milliseconds=a%1e3,t=_(a/1e3),l.seconds=t%60,e=_(t/60),l.minutes=e%60,n=_(e/60),l.hours=n%24,o+=_(n/24),r=_(Un(o)),s+=r,o-=Vn(Jn(r)),i=_(s/12),s%=12,l.days=o,l.months=s,l.years=i,this}function Un(t){return 4800*t/146097}function Jn(t){return 146097*t/4800}function Gn(t){var e,n,i=this._milliseconds;if(t=I(t),"month"===t||"year"===t)return e=this._days+i/864e5,n=this._months+Un(e),"month"===t?n:n/12;switch(e=this._days+Math.round(Jn(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)}}function Xn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*g(this._months/12)}function Qn(t){return function(){return this.as(t)}}function Zn(t){return t=I(t),this[t+"s"]()}function Kn(t){return function(){return this._data[t]}}function ti(){return _(this.days()/7)}function ei(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function ni(t,e,n){var i=ie(t).abs(),r=Qa(i.as("s")),a=Qa(i.as("m")),o=Qa(i.as("h")),s=Qa(i.as("d")),l=Qa(i.as("M")),d=Qa(i.as("y")),u=r<Za.s&&["s",r]||1>=a&&["m"]||a<Za.m&&["mm",a]||1>=o&&["h"]||o<Za.h&&["hh",o]||1>=s&&["d"]||s<Za.d&&["dd",s]||1>=l&&["M"]||l<Za.M&&["MM",l]||1>=d&&["y"]||["yy",d];return u[2]=e,u[3]=+t>0,u[4]=n,ei.apply(null,u)}function ii(t,e){return void 0===Za[t]?!1:void 0===e?Za[t]:(Za[t]=e,!0)}function ri(t){var e=this.localeData(),n=ni(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function ai(){var t,e,n,i=Ka(this._milliseconds)/1e3,r=Ka(this._days),a=Ka(this._months);t=_(i/60),e=_(t/60),i%=60,t%=60,n=_(a/12),a%=12;var o=n,s=a,l=r,d=e,u=t,c=i,h=this.asSeconds();return h?(0>h?"-":"")+"P"+(o?o+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(d||u||c?"T":"")+(d?d+"H":"")+(u?u+"M":"")+(c?c+"S":""):"P0D"}function oi(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&4>=e%10&&(10>e%100||e%100>=20)?n[1]:n[2]}function si(t,e,n){var i={mm:e?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:e?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:есяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===n?e?"хвіліна":"хвіліну":"h"===n?e?"гадзіна":"гадзіну":t+" "+oi(i[n],+t)}function li(t,e,n){var i={mm:"munutenn",MM:"miz",dd:"devezh"};return t+" "+ci(i[n],t)}function di(t){switch(ui(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}function ui(t){return t>9?ui(t%10):t}function ci(t,e){return 2===e?hi(t):t}function hi(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}function fi(t,e,n){var i=t+" ";switch(n){case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return i+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return i+=1===t?"dan":"dana";case"MM":return i+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return i+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}function pi(t){return t>1&&5>t&&1!==~~(t/10)}function mi(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"pár sekund":"pár sekundami";case"m":return e?"minuta":i?"minutu":"minutou";case"mm":return e||i?r+(pi(t)?"minuty":"minut"):r+"minutami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(pi(t)?"hodiny":"hodin"):r+"hodinami";case"d":return e||i?"den":"dnem";case"dd":return e||i?r+(pi(t)?"dny":"dní"):r+"dny";case"M":return e||i?"měsíc":"měsícem";case"MM":return e||i?r+(pi(t)?"měsíce":"měsíců"):r+"měsíci";case"y":return e||i?"rok":"rokem";case"yy":return e||i?r+(pi(t)?"roky":"let"):r+"lety"}}function _i(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}function gi(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}function yi(t,e,n,i){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}function vi(t,e,n,i){var r="";switch(n){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"m":return i?"minuutin":"minuutti";case"mm":r=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":r=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":r=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":r=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":r=i?"vuoden":"vuotta"}return r=bi(t,i)+" "+r}function bi(t,e){return 10>t?e?Lo[t]:xo[t]:t}function Mi(t,e,n){var i=t+" ";switch(n){case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return i+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return i+=1===t?"dan":"dana";case"MM":return i+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return i+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}function wi(t,e,n,i){var r=t;switch(n){case"s":return i||e?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(i||e?" perc":" perce");case"mm":return r+(i||e?" perc":" perce");case"h":return"egy"+(i||e?" óra":" órája");case"hh":return r+(i||e?" óra":" órája");case"d":return"egy"+(i||e?" nap":" napja");
case"dd":return r+(i||e?" nap":" napja");case"M":return"egy"+(i||e?" hónap":" hónapja");case"MM":return r+(i||e?" hónap":" hónapja");case"y":return"egy"+(i||e?" év":" éve");case"yy":return r+(i||e?" év":" éve")}return""}function ki(t){return(t?"":"[múlt] ")+"["+Eo[this.day()]+"] LT[-kor]"}function xi(t){return t%100===11?!0:t%10!==1}function Li(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return e?"mínúta":"mínútu";case"mm":return xi(t)?r+(e||i?"mínútur":"mínútum"):e?r+"mínúta":r+"mínútu";case"hh":return xi(t)?r+(e||i?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return e?"dagur":i?"dag":"degi";case"dd":return xi(t)?e?r+"dagar":r+(i?"daga":"dögum"):e?r+"dagur":r+(i?"dag":"degi");case"M":return e?"mánuður":i?"mánuð":"mánuði";case"MM":return xi(t)?e?r+"mánuðir":r+(i?"mánuði":"mánuðum"):e?r+"mánuður":r+(i?"mánuð":"mánuði");case"y":return e||i?"ár":"ári";case"yy":return xi(t)?r+(e||i?"ár":"árum"):r+(e||i?"ár":"ári")}}function Di(t,e,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?r[n][0]:r[n][1]}function Ti(t){var e=t.substr(0,t.indexOf(" "));return Si(e)?"a "+t:"an "+t}function Yi(t){var e=t.substr(0,t.indexOf(" "));return Si(e)?"viru "+t:"virun "+t}function Si(t){if(t=parseInt(t,10),isNaN(t))return!1;if(0>t)return!0;if(10>t)return t>=4&&7>=t;if(100>t){var e=t%10,n=t/10;return Si(0===e?n:e)}if(1e4>t){for(;t>=10;)t/=10;return Si(t)}return t/=1e3,Si(t)}function Ci(t,e,n,i){return e?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"}function Hi(t,e,n,i){return e?ji(n)[0]:i?ji(n)[1]:ji(n)[2]}function Ai(t){return t%10===0||t>10&&20>t}function ji(t){return Fo[t].split("_")}function Pi(t,e,n,i){var r=t+" ";return 1===t?r+Hi(t,e,n[0],i):e?r+(Ai(t)?ji(n)[1]:ji(n)[0]):i?r+ji(n)[1]:r+(Ai(t)?ji(n)[1]:ji(n)[2])}function Ei(t,e,n){return n?e%10===1&&11!==e?t[2]:t[3]:e%10===1&&11!==e?t[0]:t[1]}function Ii(t,e,n){return t+" "+Ei(Oo[n],t,e)}function Wi(t,e,n){return Ei(Oo[n],t,e)}function Fi(t,e){return e?"dažas sekundes":"dažām sekundēm"}function Oi(t,e,n,i){var r="";if(e)switch(n){case"s":r="काही सेकंद";break;case"m":r="एक मिनिट";break;case"mm":r="%d मिनिटे";break;case"h":r="एक तास";break;case"hh":r="%d तास";break;case"d":r="एक दिवस";break;case"dd":r="%d दिवस";break;case"M":r="एक महिना";break;case"MM":r="%d महिने";break;case"y":r="एक वर्ष";break;case"yy":r="%d वर्षे"}else switch(n){case"s":r="काही सेकंदां";break;case"m":r="एका मिनिटा";break;case"mm":r="%d मिनिटां";break;case"h":r="एका तासा";break;case"hh":r="%d तासां";break;case"d":r="एका दिवसा";break;case"dd":r="%d दिवसां";break;case"M":r="एका महिन्या";break;case"MM":r="%d महिन्यां";break;case"y":r="एका वर्षा";break;case"yy":r="%d वर्षां"}return r.replace(/%d/i,t)}function Ri(t){return 5>t%10&&t%10>1&&~~(t/10)%10!==1}function Ni(t,e,n){var i=t+" ";switch(n){case"m":return e?"minuta":"minutę";case"mm":return i+(Ri(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return i+(Ri(t)?"godziny":"godzin");case"MM":return i+(Ri(t)?"miesiące":"miesięcy");case"yy":return i+(Ri(t)?"lata":"lat")}}function zi(t,e,n){var i={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},r=" ";return(t%100>=20||t>=100&&t%100===0)&&(r=" de "),t+r+i[n]}function Bi(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&4>=e%10&&(10>e%100||e%100>=20)?n[1]:n[2]}function $i(t,e,n){var i={mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:асасаасов",dd:ень_дня_дней",MM:есяц_месяцаесяцев",yy:"год_годает"};return"m"===n?e?"минута":"минуту":t+" "+Bi(i[n],+t)}function Vi(t){return t>1&&5>t}function qi(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"pár sekúnd":"pár sekundami";case"m":return e?"minúta":i?"minútu":"minútou";case"mm":return e||i?r+(Vi(t)?"minúty":"minút"):r+"minútami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(Vi(t)?"hodiny":"hodín"):r+"hodinami";case"d":return e||i?"deň":"dňom";case"dd":return e||i?r+(Vi(t)?"dni":"dní"):r+"dňami";case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?r+(Vi(t)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return e||i?"rok":"rokom";case"yy":return e||i?r+(Vi(t)?"roky":"rokov"):r+"rokmi"}}function Ui(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"nekaj sekund":"nekaj sekundami";case"m":return e?"ena minuta":"eno minuto";case"mm":return r+=1===t?e?"minuta":"minuto":2===t?e||i?"minuti":"minutama":5>t?e||i?"minute":"minutami":e||i?"minut":"minutami";case"h":return e?"ena ura":"eno uro";case"hh":return r+=1===t?e?"ura":"uro":2===t?e||i?"uri":"urama":5>t?e||i?"ure":"urami":e||i?"ur":"urami";case"d":return e||i?"en dan":"enim dnem";case"dd":return r+=1===t?e||i?"dan":"dnem":2===t?e||i?"dni":"dnevoma":e||i?"dni":"dnevi";case"M":return e||i?"en mesec":"enim mesecem";case"MM":return r+=1===t?e||i?"mesec":"mesecem":2===t?e||i?"meseca":"mesecema":5>t?e||i?"mesece":"meseci":e||i?"mesecev":"meseci";case"y":return e||i?"eno leto":"enim letom";case"yy":return r+=1===t?e||i?"leto":"letom":2===t?e||i?"leti":"letoma":5>t?e||i?"leta":"leti":e||i?"let":"leti"}}function Ji(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"}function Gi(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"}function Xi(t,e,n,i){var r=Qi(t);switch(n){case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}function Qi(t){var e=Math.floor(t%1e3/100),n=Math.floor(t%100/10),i=t%10,r="";return e>0&&(r+=os[e]+"vatlh"),n>0&&(r+=(""!==r?" ":"")+os[n]+"maH"),i>0&&(r+=(""!==r?" ":"")+os[i]),""===r?"pagh":r}function Zi(t,e,n,i){var r={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[t+" míuts",""+t+" míuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",""+t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",""+t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",""+t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",""+t+" ars"]};return i?r[n][0]:e?r[n][0]:r[n][1]}function Ki(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&4>=e%10&&(10>e%100||e%100>=20)?n[1]:n[2]}function tr(t,e,n){var i={mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:ень_дні_днів",MM:ісяць_місяціісяців",yy:"рік_роки_років"};return"m"===n?e?"хвилина":"хвилину":"h"===n?e?"година":"годину":t+" "+Ki(i[n],+t)}function er(t,e){var n={nominative:еділя_понеділок_вівторок_середаетвер_пятниця_субота".split("_"),accusative:еділю_понеділок_вівторок_середуетвер_пятницю_суботу".split("_"),genitive:еділі_понеділкаівторка_середи_четверга_пятниці_суботи".split("_")},i=/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative";return n[i][t.day()]}function nr(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}var ir,rr;rr=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,i=0;n>i;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1};var ar=t.momentProperties=[],or=!1,sr={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var lr;lr=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)a(t,e)&&n.push(e);return n};var dr,ur,cr={},hr={},fr=/(\[[^\[]*\])|(\\)?([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,pr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,mr={},_r={},gr=/\d/,yr=/\d\d/,vr=/\d{3}/,br=/\d{4}/,Mr=/[+-]?\d{6}/,wr=/\d\d?/,kr=/\d\d\d\d?/,xr=/\d\d\d\d\d\d?/,Lr=/\d{1,3}/,Dr=/\d{1,4}/,Tr=/[+-]?\d{1,6}/,Yr=/\d+/,Sr=/[+-]?\d+/,Cr=/Z|[+-]\d\d:?\d\d/gi,Hr=/Z|[+-]\d\d(?::?\d\d)?/gi,Ar=/[+-]?\d+(\.\d{1,3})?/,jr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Pr={},Er={},Ir=0,Wr=1,Fr=2,Or=3,Rr=4,Nr=5,zr=6,Br=7,$r=8;ur=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},B("M",["MM",2],"Mo",function(){return this.month()+1}),B("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),B("MMMM",0,0,function(t){return this.localeData().months(this,t)}),E("month","M"),J("M",wr),J("MM",wr,yr),J("MMM",function(t,e){return e.monthsShortRegex(t)}),J("MMMM",function(t,e){return e.monthsRegex(t)}),Z(["M","MM"],function(t,e){e[Wr]=g(t)-1}),Z(["MMM","MMMM"],function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[Wr]=r:d(n).invalidMonth=t});var Vr=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,qr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ur="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Jr=jr,Gr=jr,Xr=/^\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)?)?/,Qr=/^\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)?)?/,Zr=/Z|[+-]\d\d(?::?\d\d)?/,Kr=[["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}/]],ta=[["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/]],ea=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=b("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),B("Y",0,0,function(){var t=this.year();return 9999>=t?""+t:"+"+t}),B(0,["YY",2],0,function(){return this.year()%100}),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),E("year","y"),J("Y",Sr),J("YY",wr,yr),J("YYYY",Dr,br),J("YYYYY",Tr,Mr),J("YYYYYY",Tr,Mr),Z(["YYYYY","YYYYYY"],Ir),Z("YYYY",function(e,n){n[Ir]=2===e.length?t.parseTwoDigitYear(e):g(e)}),Z("YY",function(e,n){n[Ir]=t.parseTwoDigitYear(e)}),Z("Y",function(t,e){e[Ir]=parseInt(t,10)}),t.parseTwoDigitYear=function(t){return g(t)+(g(t)>68?1900:2e3)};var na=F("FullYear",!0);t.ISO_8601=function(){};var ia=b("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=It.apply(null,arguments);return this.isValid()&&t.isValid()?this>t?this:t:c()}),ra=b("moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=It.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:c()}),aa=function(){return Date.now?Date.now():+new Date};zt("Z",":"),zt("ZZ",""),J("Z",Hr),J("ZZ",Hr),Z(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Bt(Hr,t)});var oa=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var sa=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,la=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;ie.fn=Rt.prototype;var da=le(1,"add"),ua=le(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ca=b("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)});B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ne("gggg","weekYear"),Ne("ggggg","weekYear"),Ne("GGGG","isoWeekYear"),Ne("GGGGG","isoWeekYear"),E("weekYear","gg"),E("isoWeekYear","GG"),J("G",Sr),J("g",Sr),J("GG",wr,yr),J("gg",wr,yr),J("GGGG",Dr,br),J("gggg",Dr,br),J("GGGGG",Tr,Mr),J("ggggg",Tr,Mr),K(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=g(t)}),K(["gg","GG"],function(e,n,i,r){n[r]=t.parseTwoDigitYear(e)}),B("Q",0,"Qo","quarter"),E("quarter","Q"),J("Q",gr),Z("Q",function(t,e){e[Wr]=3*(g(t)-1)}),B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),E("week","w"),E("isoWeek","W"),J("w",wr),J("ww",wr,yr),J("W",wr),J("WW",wr,yr),K(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=g(t)});var ha={dow:0,doy:6};B("D",["DD",2],"Do","date"),E("date","D"),J("D",wr),J("DD",wr,yr),J("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),Z(["D","DD"],Fr),Z("Do",function(t,e){e[Fr]=g(t.match(wr)[0],10)});var fa=F("Date",!0);B("d",0,"do","day"),B("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),B("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),B("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),E("day","d"),E("weekday","e"),E("isoWeekday","E"),J("d",wr),J("e",wr),J("E",wr),J("dd",function(t,e){return e.weekdaysMinRegex(t)}),J("ddd",function(t,e){return e.weekdaysShortRegex(t)}),J("dddd",function(t,e){return e.weekdaysRegex(t)}),K(["dd","ddd","dddd"],function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:d(n).invalidWeekday=t}),K(["d","e","E"],function(t,e,n,i){e[i]=g(t)});var pa="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ma="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),_a="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ga=jr,ya=jr,va=jr;B("DDD",["DDDD",3],"DDDo","dayOfYear"),E("dayOfYear","DDD"),J("DDD",Lr),J("DDDD",vr),Z(["DDD","DDDD"],function(t,e,n){n._dayOfYear=g(t)}),B("H",["HH",2],0,"hour"),B("h",["hh",2],0,mn),B("k",["kk",2],0,_n),B("hmm",0,0,function(){return""+mn.apply(this)+z(this.minutes(),2)}),B("hmmss",0,0,function(){return""+mn.apply(this)+z(this.minutes(),2)+z(this.seconds(),2)}),B("Hmm",0,0,function(){return""+this.hours()+z(this.minutes(),2)}),B("Hmmss",0,0,function(){return""+this.hours()+z(this.minutes(),2)+z(this.seconds(),2)}),gn("a",!0),gn("A",!1),E("hour","h"),J("a",yn),J("A",yn),J("H",wr),J("h",wr),J("HH",wr,yr),J("hh",wr,yr),J("hmm",kr),J("hmmss",xr),J("Hmm",kr),J("Hmmss",xr),Z(["H","HH"],Or),Z(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Z(["h","hh"],function(t,e,n){e[Or]=g(t),d(n).bigHour=!0}),Z("hmm",function(t,e,n){var i=t.length-2;e[Or]=g(t.substr(0,i)),e[Rr]=g(t.substr(i)),d(n).bigHour=!0}),Z("hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[Or]=g(t.substr(0,i)),e[Rr]=g(t.substr(i,2)),e[Nr]=g(t.substr(r)),d(n).bigHour=!0}),Z("Hmm",function(t,e,n){var i=t.length-2;e[Or]=g(t.substr(0,i)),e[Rr]=g(t.substr(i))}),Z("Hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[Or]=g(t.substr(0,i)),e[Rr]=g(t.substr(i,2)),e[Nr]=g(t.substr(r))});var ba=/[ap]\.?m?\.?/i,Ma=F("Hours",!0);B("m",["mm",2],0,"minute"),E("minute","m"),J("m",wr),J("mm",wr,yr),Z(["m","mm"],Rr);var wa=F("Minutes",!1);B("s",["ss",2],0,"second"),E("second","s"),J("s",wr),J("ss",wr,yr),Z(["s","ss"],Nr);var ka=F("Seconds",!1);B("S",0,0,function(){return~~(this.millisecond()/100)}),B(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,function(){return 10*this.millisecond()}),B(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),B(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),B(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),B(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),B(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),E("millisecond","ms"),J("S",Lr,gr),J("SS",Lr,yr),J("SSS",Lr,vr);var xa;for(xa="SSSS";xa.length<=9;xa+="S")J(xa,Yr);for(xa="S";xa.length<=9;xa+="S")Z(xa,Mn);var La=F("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var Da=p.prototype;Da.add=da,Da.calendar=ue,Da.clone=ce,Da.diff=ye,Da.endOf=Ce,Da.format=we,Da.from=ke,Da.fromNow=xe,Da.to=Le,Da.toNow=De,Da.get=N,Da.invalidAt=Oe,Da.isAfter=he,Da.isBefore=fe,Da.isBetween=pe,Da.isSame=me,Da.isSameOrAfter=_e,Da.isSameOrBefore=ge,Da.isValid=We,Da.lang=ca,Da.locale=Te,Da.localeData=Ye,Da.max=ra,Da.min=ia,Da.parsingFlags=Fe,Da.set=N,Da.startOf=Se,Da.subtract=ua,Da.toArray=Pe,Da.toObject=Ee,Da.toDate=je,Da.toISOString=Me,Da.toJSON=Ie,Da.toString=be,Da.unix=Ae,Da.valueOf=He,Da.creationData=Re,Da.year=na,Da.isLeapYear=vt,Da.weekYear=ze,Da.isoWeekYear=Be,Da.quarter=Da.quarters=Je,Da.month=st,Da.daysInMonth=lt,Da.week=Da.weeks=Ze,Da.isoWeek=Da.isoWeeks=Ke,Da.weeksInYear=Ve,Da.isoWeeksInYear=$e,Da.date=fa,Da.day=Da.days=sn,Da.weekday=ln,Da.isoWeekday=dn,Da.dayOfYear=pn,Da.hour=Da.hours=Ma,Da.minute=Da.minutes=wa,Da.second=Da.seconds=ka,Da.millisecond=Da.milliseconds=La,Da.utcOffset=qt,Da.utc=Jt,Da.local=Gt,Da.parseZone=Xt,Da.hasAlignedHourOffset=Qt,Da.isDST=Zt,Da.isDSTShifted=Kt,Da.isLocal=te,Da.isUtcOffset=ee,Da.isUtc=ne,Da.isUTC=ne,Da.zoneAbbr=wn,Da.zoneName=kn,Da.dates=b("dates accessor is deprecated. Use date instead.",fa),Da.months=b("months accessor is deprecated. Use month instead",st),Da.years=b("years accessor is deprecated. Use year instead",na),Da.zone=b("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Ut);var Ta=Da,Ya={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Sa={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"},Ca="Invalid date",Ha="%d",Aa=/\d{1,2}/,ja={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Pa=D.prototype;Pa._calendar=Ya,Pa.calendar=Dn,Pa._longDateFormat=Sa,Pa.longDateFormat=Tn,Pa._invalidDate=Ca,Pa.invalidDate=Yn,Pa._ordinal=Ha,Pa.ordinal=Sn,Pa._ordinalParse=Aa,Pa.preparse=Cn,Pa.postformat=Cn,Pa._relativeTime=ja,Pa.relativeTime=Hn,Pa.pastFuture=An,Pa.set=x,Pa.months=nt,Pa._months=qr,Pa.monthsShort=it,Pa._monthsShort=Ur,Pa.monthsParse=at,Pa._monthsRegex=Gr,Pa.monthsRegex=ut,Pa._monthsShortRegex=Jr,Pa.monthsShortRegex=dt,Pa.week=Ge,Pa._week=ha,Pa.firstDayOfYear=Qe,Pa.firstDayOfWeek=Xe,Pa.weekdays=en,Pa._weekdays=pa,Pa.weekdaysMin=rn,Pa._weekdaysMin=_a,Pa.weekdaysShort=nn,Pa._weekdaysShort=ma,Pa.weekdaysParse=on,Pa._weekdaysRegex=ga,Pa.weekdaysRegex=un,Pa._weekdaysShortRegex=ya,Pa.weekdaysShortRegex=cn,Pa._weekdaysMinRegex=va,Pa.weekdaysMinRegex=hn,Pa.isPM=vn,Pa._meridiemParse=ba,Pa.meridiem=bn,C("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===g(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),t.lang=b("moment.lang is deprecated. Use moment.locale instead.",C),t.langData=b("moment.langData is deprecated. Use moment.localeData instead.",j);var Ea=Math.abs,Ia=Qn("ms"),Wa=Qn("s"),Fa=Qn("m"),Oa=Qn("h"),Ra=Qn("d"),Na=Qn("w"),za=Qn("M"),Ba=Qn("y"),$a=Kn("milliseconds"),Va=Kn("seconds"),qa=Kn("minutes"),Ua=Kn("hours"),Ja=Kn("days"),Ga=Kn("months"),Xa=Kn("years"),Qa=Math.round,Za={s:45,m:45,h:22,d:26,M:11},Ka=Math.abs,to=Rt.prototype;to.abs=Nn,to.add=Bn,to.subtract=$n,to.as=Gn,to.asMilliseconds=Ia,to.asSeconds=Wa,to.asMinutes=Fa,to.asHours=Oa,to.asDays=Ra,to.asWeeks=Na,to.asMonths=za,to.asYears=Ba,to.valueOf=Xn,to._bubble=qn,to.get=Zn,to.milliseconds=$a,to.seconds=Va,to.minutes=qa,to.hours=Ua,to.days=Ja,to.weeks=ti,to.months=Ga,to.years=Xa,to.humanize=ri,to.toISOString=ai,to.toString=ai,to.toJSON=ai,to.locale=Te,to.localeData=Ye,to.toIsoString=b("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ai),to.lang=ca,B("X",0,0,"unix"),B("x",0,0,"valueOf"),J("x",Sr),J("X",Ar),Z("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),Z("x",function(t,e,n){n._d=new Date(g(t))}),t.version="2.13.0",e(It),t.fn=Ta,t.min=Ft,t.max=Ot,t.now=aa,t.utc=s,t.unix=xn,t.months=In,t.isDate=i,t.locale=C,t.invalid=c,t.duration=ie,t.isMoment=m,t.weekdays=Fn,t.parseZone=Ln,t.localeData=j,t.isDuration=Nt,t.monthsShort=Wn,t.weekdaysMin=Rn,t.defineLocale=H,t.updateLocale=A,t.locales=P,t.weekdaysShort=On,t.normalizeUnits=I,t.relativeTimeThreshold=ii,t.prototype=Ta;var eo=t,no=(eo.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return 12>t?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}}),eo.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}}),{1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"}),io={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},ro=(eo.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return 12>t?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return io[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return no[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),eo.defineLocale("ar-tn",{months:انفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:انفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}}),{1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"}),ao={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},oo=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&10>=t%100?3:t%100>=11?4:5},so={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},lo=function(t){return function(e,n,i,r){var a=oo(e),o=so[t][oo(e)];return 2===a&&(o=o[n?0:1]),o.replace(/%d/i,e)}},uo=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"],co=(eo.defineLocale("ar",{months:uo,monthsShort:uo,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return 12>t?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:lo("s"),m:lo("m"),mm:lo("m"),h:lo("h"),hh:lo("h"),d:lo("d"),dd:lo("d"),M:lo("M"),MM:lo("M"),y:lo("y"),yy:lo("y")},preparse:function(t){return t.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return ao[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return ro[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),{1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"}),ho=(eo.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,n){return 4>t?"gecə":12>t?"səhər":17>t?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var e=t%10,n=t%100-e,i=t>=100?100:null;return t+(co[e]||co[n]||co[i])},week:{dow:1,doy:7}}),eo.defineLocale("be",{months:{format:"студзеня_лютага_сакавікарасавікараўня_чэрвеня_ліпеня_жніўня_верасня_кастрычнікаістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_красрав_чэрв_ліп_жнів_вераст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_серадуацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серадаацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:si,mm:si,h:si,hh:si,d:"дзень",dd:si,M:"месяц",MM:si,y:"год",yy:si},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,n){return 4>t?"ночы":12>t?"раніцы":17>t?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!==2&&t%10!==3||t%100===12||t%100===13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}}),eo.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янрев_мар_апрай_юни_юли_авг_сеп_окт_ноеек".split("_"),weekdays:еделя_понеделник_вторник_срядаетвъртък_петък_събота".split("_"),weekdaysShort:ед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&20>n?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}}),{1:"১",2:"২",3:"৩",4:"",5:"৫",6:"৬",7:"",8:"৮",9:"৯",0:""}),fo={"১":"1","২":"2","৩":"3","":"4","৫":"5","৬":"6","":"7","৮":"8","৯":"9","":"0"},po=(eo.defineLocale("bn",{months:"জানুয়ারী_ফেবুয়ারী_মার্চ_এপ্রিল_মে_জুন_জুলাই_অগাস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপর_মে_জুন_জুল_অগ_সেপ্ট_অক্টো_নভ_ডিসেম্".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পত্তিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পত্তি_শুক্র_শনি".split("_"),weekdaysMin:"রব_সম_মঙ্গ_বু_ব্রিহ_শু_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",
lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,function(t){return fo[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return ho[t]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&5>t||"বিকাল"===e?t+12:t},meridiem:function(t,e,n){return 4>t?"রাত":10>t?"সকাল":17>t?"দুপুর":20>t?"বিকাল":"রাত"},week:{dow:0,doy:6}}),{1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"}),mo={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},_o=(eo.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(t){return mo[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return po[t]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&t>=4||"ཉིན་གུང"===e&&5>t||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,n){return 4>t?"མཚན་མོ":10>t?"ཞོགས་ཀས":17>t?"ཉིན་གུང":20>t?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}}),eo.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:li,h:"un eur",hh:"%d eur",d:"un devezh",dd:li,M:"ur miz",MM:li,y:"ur bloaz",yy:di},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){var e=1===t?"añ":"vet";return t+e},week:{dow:1,doy:4}}),eo.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:fi,mm:fi,h:fi,hh:fi,d:"dan",dd:fi,M:"mjesec",MM:fi,y:"godinu",yy:fi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),eo.defineLocale("ca",{months:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}}),"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_")),go="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),yo=(eo.defineLocale("cs",{months:_o,monthsShort:go,monthsParse:function(t,e){var n,i=[];for(n=0;12>n;n++)i[n]=new RegExp("^"+t[n]+"$|^"+e[n]+"$","i");return i}(_o,go),shortMonthsParse:function(t){var e,n=[];for(e=0;12>e;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(go),longMonthsParse:function(t){var e,n=[];for(e=0;12>e;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(_o),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:mi,m:mi,mm:mi,h:mi,hh:mi,d:mi,dd:mi,M:mi,MM:mi,y:mi,yy:mi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),eo.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_акаай_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑрар_пуш_акаай_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"вырун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:р_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(t){var e=/сехет$/i.exec(t)?"рен":/ҫул$/i.exec(t)?"тан":"ран";return t+e},past:"%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},ordinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}}),eo.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e=t,n="",i=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return e>20?n=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(n=i[e]),t+n},week:{dow:1,doy:4}}),eo.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),eo.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:_i,mm:"%d Minuten",h:_i,hh:"%d Stunden",d:_i,dd:_i,M:_i,MM:_i,y:_i,yy:_i},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),eo.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:gi,mm:"%d Minuten",h:gi,hh:"%d Stunden",d:gi,dd:gi,M:gi,MM:gi,y:gi,yy:gi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"]),vo=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],bo=(eo.defineLocale("dv",{months:yo,monthsShort:yo,weekdays:vo,weekdaysShort:vo,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(t){return"މފ"===t},meridiem:function(t,e,n){return 12>t?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:7,doy:12}}),eo.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παραβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Παα".split("_"),meridiem:function(t,e,n){return t>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(t){return"μ"===(t+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var n=this._calendarEl[t],i=e&&e.hours();return w(n)&&(n=n.apply(e)),n.replace("{}",i%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},ordinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}}),eo.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}}),eo.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),eo.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}}),eo.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}}),eo.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}}),eo.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-an de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}}),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_")),Mo="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),wo=(eo.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,e){return/-MMM-/.test(e)?Mo[t.month()]:bo[t.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),eo.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:yi,m:yi,mm:yi,h:yi,hh:yi,d:yi,dd:"%d päeva",M:yi,MM:yi,y:yi,yy:yi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),eo.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),{1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"}),ko={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},xo=(eo.defineLocale("fa",{months:انویه_فوریهارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:انویه_فوریهارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبههشنبههارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبههشنبههارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(t){return/بعد از ظهر/.test(t)},meridiem:function(t,e,n){return 12>t?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندین ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(t){return t.replace(/[۰-۹]/g,function(t){return ko[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return wo[t]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}}),"nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" ")),Lo=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",xo[7],xo[8],xo[9]],Do=(eo.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:vi,m:vi,mm:vi,h:vi,hh:vi,d:vi,dd:vi,M:vi,MM:vi,y:vi,yy:vi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),eo.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),eo.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(t){return t+(1===t?"er":"e")}}),eo.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(t){return t+(1===t?"er":"e")},week:{dow:1,doy:4}}),eo.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(t){return t+(1===t?"er":"")},week:{dow:1,doy:4}}),"jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_")),To="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),Yo=(eo.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,e){return/-MMM-/.test(e)?To[t.month()]:Do[t.month()]},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),
weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}}),["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"]),So=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],Co=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],Ho=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],Ao=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],jo=(eo.defineLocale("gd",{months:Yo,monthsShort:So,monthsParseExact:!0,weekdays:Co,weekdaysShort:Ho,weekdaysMin:Ao,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},ordinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){var e=1===t?"d":t%10===2?"na":"mh";return t+e},week:{dow:1,doy:4}}),eo.defineLocale("gl",{months:"Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Outubro_Novembro_Decembro".split("_"),monthsShort:"Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.".split("_"),monthsParseExact:!0,weekdays:"Domingo_Luns_Martes_Mércores_Xoves_Venres_Sábado".split("_"),weekdaysShort:"Dom._Lun._Mar._Mér._Xov._Ven._Sáb.".split("_"),weekdaysMin:"Do_Lu_Ma_Mé_Xo_Ve_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return"uns segundos"===t?"nuns segundos":"en "+t},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:7}}),eo.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יוליוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יוליוג׳_ספט׳וק׳וב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישיישי_שבת".split("_"),weekdaysShort:׳׳׳׳׳_ו׳׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(t){return 2===t?"שעתיים":t+" שעות"},d:"יום",dd:function(t){return 2===t?"יומיים":t+" ימים"},M:"חודש",MM:function(t){return 2===t?"חודשיים":t+" חודשים"},y:"שנה",yy:function(t){return 2===t?"שנתיים":t%10===0&&10!==t?t+" שנה":t+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(t){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(t)},meridiem:function(t,e,n){return 5>t?"לפנות בוקר":10>t?"בבוקר":12>t?n?'לפנה"צ':"לפני הצהריים":18>t?n?'אחה"צ':"אחרי הצהריים":"בערב"}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:""}),Po={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"},Eo=(eo.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return Po[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return jo[t]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?4>t?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,n){return 4>t?"रात":10>t?"सुबह":17>t?"दोपहर":20>t?"शाम":"रात"},week:{dow:0,doy:6}}),eo.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:Mi,mm:Mi,h:Mi,hh:Mi,d:"dan",dd:Mi,M:"mjesec",MM:Mi,y:"godinu",yy:Mi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),"vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ")),Io=(eo.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return 12>t?n===!0?"de":"DE":n===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return ki.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return ki.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:wi,m:wi,mm:wi,h:wi,hh:wi,d:wi,dd:wi,M:wi,MM:wi,y:wi,yy:wi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),eo.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return 4>t?"գիշերվա":12>t?"առավոտվա":17>t?"ցերեկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}}),eo.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return 11>t?"pagi":15>t?"siang":19>t?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),eo.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:Li,m:Li,mm:Li,h:"klukkustund",hh:Li,d:Li,dd:Li,M:Li,MM:Li,y:Li,yy:Li},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),eo.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),weekdaysMin:"Do_Lu_Ma_Me_Gi_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),eo.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS:"Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m分 dddd"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return 12>t?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},ordinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}}),eo.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return 11>t?"enjing":15>t?"siyang":19>t?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}}),eo.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(t){return/(წამი|წუთი|საათი|წელი)/.test(t)?t.replace(/ი$/,"ში"):t+"ში"},past:function(t){return/(წამი|წუთი|საათი|დღე|თვე)/.test(t)?t.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(t)?t.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(t){return 0===t?t:1===t?t+"-ლი":20>t||100>=t&&t%20===0||t%100===0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}}),{0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"}),Wo=(eo.defineLocale("kk",{months:аңтар_ақпан_наурыз_сәуірамыраусым_шілдеамыз_қыркүйек_қазан_қарашаелтоқсан".split("_"),monthsShort:аң_ақп_нау_сәуам_мауіл_там_қыраз_қарел".split("_"),weekdays:ексенбіүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:ек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(t){var e=t%10,n=t>=100?100:null;return t+(Io[t]||Io[e]||Io[n])},week:{dow:1,doy:7}}),eo.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}}),eo.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h시 m분",LLLL:"YYYY년 MMMM D일 dddd A h시 m분"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"일분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,n){return 12>t?"오전":"오후"}}),{0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"}),Fo=(eo.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апрай_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:екшемби_Дүйшөмбүейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:ек_Дүй_Шей_Шарей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(t){var e=t%10,n=t>=100?100:null;return t+(Wo[t]||Wo[e]||Wo[n])},week:{dow:1,doy:7}}),eo.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:Ti,past:Yi,s:"e puer Sekonnen",m:Di,mm:"%d Minutten",h:Di,hh:"%d Stonnen",d:Di,dd:"%d Deeg",M:Di,MM:"%d Méint",y:Di,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),eo.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(t){return"ຕອນແລງ"===t},meridiem:function(t,e,n){return 12>t?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},ordinalParse:/(ທີ່)\d{1,2}/,ordinal:function(t){return"ທີ່"+t}}),{m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"}),Oo=(eo.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_")},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:Ci,m:Hi,mm:Pi,h:Hi,hh:Pi,d:Hi,dd:Pi,M:Hi,MM:Pi,y:Hi,yy:Pi},ordinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}}),{m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")}),Ro=(eo.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:Fi,m:Wi,mm:Ii,h:Wi,hh:Ii,d:Wi,dd:Ii,M:Wi,MM:Ii,y:Wi,yy:Ii},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&4>=t?e[1]:e[2]},translate:function(t,e,n){var i=Ro.words[n];return 1===n.length?e?i[0]:i[1]:t+" "+Ro.correctGrammaticalCase(t,i)}}),No=(eo.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var t=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:Ro.translate,mm:Ro.translate,h:Ro.translate,hh:Ro.translate,d:"dan",dd:Ro.translate,M:"mjesec",MM:Ro.translate,y:"godinu",yy:Ro.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),eo.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апрај_јун_јул_авг_сеп_окт_ноеек".split("_"),weekdays:едела_понеделник_вторник_средаетврток_петок_сабота".split("_"),weekdaysShort:ед_пон_вто_среет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_сре_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&20>n?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}}),eo.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റബർ_ഒക്ടോബർ_നവബർ_ഡിസബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവ._ഡിസ.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴ_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(t,e){return 12===t&&(t=0),"രാത്രി"===e&&t>=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,n){return 4>t?"രാത്രി":12>t?"രാവിലെ":17>t?"ഉച്ച കഴിഞ്ഞ്":20>t?"വൈകുന്നേരം":"രാത്രി"}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:""}),zo={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"},Bo=(eo.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:Oi,m:Oi,mm:Oi,h:Oi,hh:Oi,d:Oi,dd:Oi,M:Oi,MM:Oi,y:Oi,yy:Oi},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return zo[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return No[t]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात्री"===e?4>t?t:t+12:"सकाळी"===e?t:"दुपारी"===e?t>=10?t:t+12:"सायंकाळी"===e?t+12:void 0},meridiem:function(t,e,n){return 4>t?"रात्री":10>t?"सकाळी":17>t?"दुपारी":20>t?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}}),eo.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0;
},meridiem:function(t,e,n){return 11>t?"pagi":15>t?"tengahari":19>t?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),eo.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return 11>t?"pagi":15>t?"tengahari":19>t?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),{1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:""}),$o={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","":"0"},Vo=(eo.defineLocale("my",{months:"ဇန်နါရီ_ဖေဖော်ါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(t){return $o[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return Bo[t]})},week:{dow:1,doy:4}}),eo.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:""}),qo={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"},Uo=(eo.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return qo[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return Vo[t]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?4>t?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,n){return 3>t?"राति":12>t?"बिहान":16>t?"दिउँसो":20>t?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}}),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_")),Jo="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),Go=(eo.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,e){return/-MMM-/.test(e)?Jo[t.month()]:Uo[t.month()]},monthsParseExact:!0,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}}),eo.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{1:"",2:"੨",3:"੩",4:"",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:""}),Xo={"":"1","੨":"2","੩":"3","":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","":"0"},Qo=(eo.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(t){return Xo[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return Go[t]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?4>t?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,n){return 4>t?"ਰਾਤ":10>t?"ਸਵੇਰ":17>t?"ਦੁਪਹਿਰ":20>t?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}}),"styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_")),Zo="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),Ko=(eo.defineLocale("pl",{months:function(t,e){return""===e?"("+Zo[t.month()]+"|"+Qo[t.month()]+")":/D MMMM/.test(e)?Zo[t.month()]:Qo[t.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"nie_pon_wt_śr_czw_pt_sb".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:Ni,mm:Ni,h:Ni,hh:Ni,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:Ni,y:"rok",yy:Ni},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),eo.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº"}),eo.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),eo.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:zi,h:"o oră",hh:zi,d:"o zi",dd:zi,M:"o lună",MM:zi,y:"un an",yy:zi},week:{dow:1,doy:7}}),[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i]),ts=(eo.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:оскресенье_понедельник_вторник_средаетверг_пятница_суббота".split("_"),format:оскресенье_понедельник_вторник_средуетверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:с_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:с_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:Ko,longMonthsParse:Ko,shortMonthsParse:Ko,monthsRegex:/^(сентябр[яь]|октябр[яь]|декабр[яь]|феврал[яь]|январ[яь]|апрел[яь]|августа?|ноябр[яь]|сент\.|февр\.|нояб\.|июнь|янв.|июль|дек.|авг.|апр.|марта|мар[.т]|окт.|июн[яь]|июл[яь]|ма[яй])/i,monthsShortRegex:/^(сентябр[яь]|октябр[яь]|декабр[яь]|феврал[яь]|январ[яь]|апрел[яь]|августа?|ноябр[яь]|сент\.|февр\.|нояб\.|июнь|янв.|июль|дек.|авг.|апр.|марта|мар[.т]|окт.|июн[яь]|июл[яь]|ма[яй])/i,monthsStrictRegex:/^(сентябр[яь]|октябр[яь]|декабр[яь]|феврал[яь]|январ[яь]|апрел[яь]|августа?|ноябр[яь]|марта?|июн[яь]|июл[яь]|ма[яй])/i,monthsShortStrictRegex:/^(нояб\.|февр\.|сент\.|июль|янв\.|июн[яь]|мар[.т]|авг\.|апр\.|окт\.|дек\.|ма[яй])/i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:$i,mm:$i,h:"час",hh:$i,d:"день",dd:$i,M:"месяц",MM:$i,y:"год",yy:$i},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return 4>t?"ночи":12>t?"утра":17>t?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:7}}),eo.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),eo.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},ordinalParse:/\d{1,2} වැනි/,ordinal:function(t){return t+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(t){return"ප.ව."===t||"පස් වරු"===t},meridiem:function(t,e,n){return t>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}}),"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_")),es="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),ns=(eo.defineLocale("sk",{months:ts,monthsShort:es,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:qi,m:qi,mm:qi,h:qi,hh:qi,d:qi,dd:qi,M:qi,MM:qi,y:qi,yy:qi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),eo.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:Ui,m:Ui,mm:Ui,h:Ui,hh:Ui,d:Ui,dd:Ui,M:Ui,MM:Ui,y:Ui,yy:Ui},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),eo.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return 12>t?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&4>=t?e[1]:e[2]},translate:function(t,e,n){var i=ns.words[n];return 1===n.length?e?i[0]:i[1]:t+" "+ns.correctGrammaticalCase(t,i)}}),is=(eo.defineLocale("sr-cyrl",{months:"јануаребруарарт_април_мај_јун_јул_август_септембар_октобаровембарецембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:едеља_понедељак_уторак_средаетвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:е_по_ут_сре_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var t=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:ns.translate,mm:ns.translate,h:ns.translate,hh:ns.translate,d:"дан",dd:ns.translate,M:"месец",MM:ns.translate,y:"годину",yy:ns.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),{words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&4>=t?e[1]:e[2]},translate:function(t,e,n){var i=is.words[n];return 1===n.length?e?i[0]:i[1]:t+" "+is.correctGrammaticalCase(t,i)}}),rs=(eo.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var t=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:is.translate,mm:is.translate,h:is.translate,hh:is.translate,d:"dan",dd:is.translate,M:"mesec",MM:is.translate,y:"godinu",yy:is.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),eo.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return 11>t?"ekuseni":15>t?"emini":19>t?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},ordinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}}),eo.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"e":1===e?"a":2===e?"a":"e";return t+n},week:{dow:1,doy:4}}),eo.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}}),{1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:""}),as={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","":"0"},os=(eo.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalParse:/\d{1,2}வது/,ordinal:function(t){return t+"வது"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(t){return as[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return rs[t]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(t,e,n){return 2>t?" யாமம்":6>t?" வைகறை":10>t?" காலை":14>t?" நண்பகல்":18>t?" எற்பாடு":22>t?" மாலை":" யாமம்"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமம்"===e?2>t?t:t+12:"வைகறை"===e||"காலை"===e?t:"நண்பகல்"===e&&t>=10?t:t+12},week:{dow:0,doy:6}}),eo.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెబర్_అక్టోబర్_నవబర్_డిసెబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివార_సోమవార_మగళవార_బుధవార_గురువార_శుక్రవార_శనివార".split("_"),weekdaysShort:"ఆది_సోమ_మగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మ_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},ordinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(t,e){return 12===t&&(t=0),"రాత్రి"===e?4>t?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?t>=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,n){return 4>t?"రాత్రి":10>t?"ఉదయం":17>t?"మధ్యాహ్నం":20>t?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}}),eo.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,
longDateFormat:{LT:"H นาฬิกา m นาที",LTS:"H นาฬิกา m นาที s วินาที",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H นาฬิกา m นาที",LLLL:"วันddddที่ D MMMM YYYY เวลา H นาฬิกา m นาที"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,n){return 12>t?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}}),eo.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"[Ngayon sa] LT",nextDay:"[Bukas sa] LT",nextWeek:"dddd [sa] LT",lastDay:"[Kahapon sa] LT",lastWeek:"dddd [huling linggo] LT",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}}),"pagh_wa_cha_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_")),ss=(eo.defineLocale("tlh",{months:"tera jar wa_tera jar cha_tera jar wej_tera jar loS_tera jar vagh_tera jar jav_tera jar Soch_tera jar chorgh_tera jar Hut_tera jar wamaH_tera jar wamaH wa_tera jar wamaH cha".split("_"),monthsShort:"jar wa_jar cha_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wamaH_jar wamaH wa_jar wamaH cha".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[waleS] LT",nextWeek:"LLL",lastDay:"[waHu] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:Ji,past:Gi,s:"puS lup",m:"wa tup",mm:Xi,h:"wa rep",hh:Xi,d:"wa jaj",dd:Xi,M:"wa jar",MM:Xi,y:"wa DIS",yy:Xi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"}),ls=(eo.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(t){if(0===t)return t+"'ıncı";var e=t%10,n=t%100-e,i=t>=100?100:null;return t+(ss[e]||ss[n]||ss[i])},week:{dow:1,doy:7}}),eo.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:Zi,m:Zi,mm:Zi,h:Zi,hh:Zi,d:Zi,dd:Zi,M:Zi,MM:Zi,y:Zi,yy:Zi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),eo.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}}),eo.defineLocale("tzm",{months:"ⵉⴰⵢ_ⴱⴰⵢ_ⵎⴰⵚ_ⵉⴱ_ⵎⴰⵢⵢⵓ_ⵢⵓⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⴱⵉ_ⴽⵟⵓⴱ_ⵓⵡⴰⴱⵉ_ⴷⵓⵊⴱⵉ".split("_"),monthsShort:"ⵉⴰⵢ_ⴱⴰⵢ_ⵎⴰⵚ_ⵉⴱ_ⵎⴰⵢⵢⵓ_ⵢⵓⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⴱⵉ_ⴽⵟⵓⴱ_ⵓⵡⴰⴱⵉ_ⴷⵓⵊⴱⵉ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⴰⵙ_ⴰⵙⵉⴰⵙ_ⴰⴽⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⴰⵙ_ⴰⵙⵉⴰⵙ_ⴰⴽⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⴰⵙ_ⴰⵙⵉⴰⵙ_ⴰⴽⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰ",M:"ⴰⵢoⵓ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}}),eo.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_веровт_лист_груд".split("_"),weekdays:er,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:nr("[Сьогодні "),nextDay:nr("[Завтра "),lastDay:nr("[Вчора "),nextWeek:nr("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return nr("[Минулої] dddd [").call(this);case 1:case 2:case 4:return nr("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:tr,mm:tr,h:"годину",hh:tr,d:"день",dd:tr,M:"місяць",MM:tr,y:"рік",yy:tr},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,n){return 4>t?"ночі":12>t?"ранку":17>t?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}}),eo.defineLocale("uz",{months:"январеврал_март_апрел_май_июн_июл_август_сентябр_октяброябрекабр".split("_"),monthsShort:"янв_фев_мар_апрай_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанбаушанба_Сешанбаоршанбаайшанбаумаанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чорай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Сеоауа".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}}),eo.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return 12>t?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}}),eo.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}}),eo.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return 600>i?"凌晨":900>i?"早上":1130>i?"上午":1230>i?"中午":1800>i?"下午":"晚上"},calendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var t,e;return t=eo().startOf("week"),e=this.diff(t,"days")>=7?"[下]":"[本]",0===this.minutes()?e+"dddAh点整":e+"dddAh点mm"},lastWeek:function(){var t,e;return t=eo().startOf("week"),e=this.unix()<t.unix()?"[上]":"[本]",0===this.minutes()?e+"dddAh点整":e+"dddAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}}),eo.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return 900>i?"早上":1130>i?"上午":1230>i?"中午":1800>i?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1分鐘",mm:"%d分鐘",h:"1小時",hh:"%d小時",d:"1天",dd:"%d天",M:"1個月",MM:"%d個月",y:"1年",yy:"%d年"}}),eo);return ls.locale("en"),ls}),function(t,e){"use strict";if("function"==typeof define&&define.amd)define(["jquery","moment"],e);else if("object"==typeof exports)e(require("jquery"),require("moment"));else{if(!jQuery)throw new Error("bootstrap-datetimepicker requires jQuery to be loaded first");if(!moment)throw new Error("bootstrap-datetimepicker requires moment.js to be loaded first");e(t.jQuery,moment)}}(this,function(t,e){"use strict";if("undefined"==typeof e)throw new Error("momentjs is required");var n=0,i=function(i,r){var a,o=t.fn.datetimepicker.defaults,s={time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down"},l=this,d=!1,u=function(){var a,d,u=!1;if(l.options=t.extend({},o,r),l.options.icons=t.extend({},s,l.options.icons),l.element=t(i),h(),!l.options.pickTime&&!l.options.pickDate)throw new Error("Must choose at least one picker");if(l.id=n++,e.locale(l.options.language),l.date=e(),l.unset=!1,l.isInput=l.element.is("input"),l.component=!1,l.element.hasClass("input-group")&&(0===l.element.find(".datepickerbutton").size()?l.component=l.element.find('[class^="input-group-"]'):l.component=l.element.find(".datepickerbutton")),l.format=l.options.format,a=e().localeData(),l.format||(l.format=l.options.pickDate?a.longDateFormat("L"):"",l.options.pickDate&&l.options.pickTime&&(l.format+=" "),l.format+=l.options.pickTime?a.longDateFormat("LT"):"",l.options.useSeconds&&(-1!==a.longDateFormat("LT").indexOf(" A")?l.format=l.format.split(" A")[0]+":ss A":l.format+=":ss")),l.use24hours=l.format.toLowerCase().indexOf("a")<0&&l.format.indexOf("h")<0,l.component&&(u=l.component.find("span")),l.options.pickTime&&u&&u.addClass(l.options.icons.time),l.options.pickDate&&u&&(u.removeClass(l.options.icons.time),u.addClass(l.options.icons.date)),l.options.widgetParent="string"==typeof l.options.widgetParent&&l.options.widgetParent||l.element.parents().filter(function(){return"scroll"===t(this).css("overflow-y")}).get(0)||"body",l.widget=t(z()).appendTo(l.options.widgetParent),l.minViewMode=l.options.minViewMode||0,"string"==typeof l.minViewMode)switch(l.minViewMode){case"months":l.minViewMode=1;break;case"years":l.minViewMode=2;break;default:l.minViewMode=0}if(l.viewMode=l.options.viewMode||0,"string"==typeof l.viewMode)switch(l.viewMode){case"months":l.viewMode=1;break;case"years":l.viewMode=2;break;default:l.viewMode=0}l.viewMode=Math.max(l.viewMode,l.minViewMode),l.options.disabledDates=R(l.options.disabledDates),l.options.enabledDates=R(l.options.enabledDates),l.startViewMode=l.viewMode,l.setMinDate(l.options.minDate),l.setMaxDate(l.options.maxDate),g(),y(),b(),M(),w(),_(),C(),c().prop("disabled")||H(),""!==l.options.defaultDate&&""===c().val()&&l.setValue(l.options.defaultDate),1!==l.options.minuteStepping&&(d=l.options.minuteStepping,l.date.minutes(Math.round(l.date.minutes()/d)*d%60).seconds(0))},c=function(){var t;if(l.isInput)return l.element;if(t=l.element.find(".datepickerinput"),0===t.size())t=l.element.find("input");else if(!t.is("input"))throw new Error('CSS class "datepickerinput" cannot be applied to non input element');return t},h=function(){var t;t=l.element.is("input")?l.element.data():l.element.find("input").data(),void 0!==t.dateFormat&&(l.options.format=t.dateFormat),void 0!==t.datePickdate&&(l.options.pickDate=t.datePickdate),void 0!==t.datePicktime&&(l.options.pickTime=t.datePicktime),void 0!==t.dateUseminutes&&(l.options.useMinutes=t.dateUseminutes),void 0!==t.dateUseseconds&&(l.options.useSeconds=t.dateUseseconds),void 0!==t.dateUsecurrent&&(l.options.useCurrent=t.dateUsecurrent),void 0!==t.calendarWeeks&&(l.options.calendarWeeks=t.calendarWeeks),void 0!==t.dateMinutestepping&&(l.options.minuteStepping=t.dateMinutestepping),void 0!==t.dateMindate&&(l.options.minDate=t.dateMindate),void 0!==t.dateMaxdate&&(l.options.maxDate=t.dateMaxdate),void 0!==t.dateShowtoday&&(l.options.showToday=t.dateShowtoday),void 0!==t.dateCollapse&&(l.options.collapse=t.dateCollapse),void 0!==t.dateLanguage&&(l.options.language=t.dateLanguage),void 0!==t.dateDefaultdate&&(l.options.defaultDate=t.dateDefaultdate),void 0!==t.dateDisableddates&&(l.options.disabledDates=t.dateDisableddates),void 0!==t.dateEnableddates&&(l.options.enabledDates=t.dateEnableddates),void 0!==t.dateIcons&&(l.options.icons=t.dateIcons),void 0!==t.dateUsestrict&&(l.options.useStrict=t.dateUsestrict),void 0!==t.dateDirection&&(l.options.direction=t.dateDirection),void 0!==t.dateSidebyside&&(l.options.sideBySide=t.dateSidebyside),void 0!==t.dateDaysofweekdisabled&&(l.options.daysOfWeekDisabled=t.dateDaysofweekdisabled)},f=function(){var e,n="absolute",i=l.component?l.component.offset():l.element.offset(),r=t(window);l.width=l.component?l.component.outerWidth():l.element.outerWidth(),i.top=i.top+l.element.outerHeight(),"up"===l.options.direction?e="top":"bottom"===l.options.direction?e="bottom":"auto"===l.options.direction&&(e=i.top+l.widget.height()>r.height()+r.scrollTop()&&l.widget.height()+l.element.outerHeight()<i.top?"top":"bottom"),"top"===e?(i.bottom=r.height()-i.top+l.element.outerHeight()+3,l.widget.addClass("top").removeClass("bottom")):(i.top+=1,l.widget.addClass("bottom").removeClass("top")),void 0!==l.options.width&&l.widget.width(l.options.width),"left"===l.options.orientation&&(l.widget.addClass("left-oriented"),i.left=i.left-l.widget.width()+20),E()&&(n="fixed",i.top-=r.scrollTop(),i.left-=r.scrollLeft()),r.width()<i.left+l.widget.outerWidth()?(i.right=r.width()-i.left-l.width,i.left="auto",l.widget.addClass("pull-right")):(i.right="auto",l.widget.removeClass("pull-right")),"top"===e?l.widget.css({position:n,bottom:i.bottom,top:"auto",left:i.left,right:i.right}):l.widget.css({position:n,top:i.top,bottom:"auto",left:i.left,right:i.right})},p=function(t,n){e(l.date).isSame(e(t))&&!d||(d=!1,l.element.trigger({type:"dp.change",date:e(l.date),oldDate:e(t)}),"change"!==n&&l.element.change())},m=function(t){d=!0,l.element.trigger({type:"dp.error",date:e(t,l.format,l.options.useStrict)})},_=function(t){e.locale(l.options.language);var n=t;n||(n=c().val(),n&&(l.date=e(n,l.format,l.options.useStrict)),l.date||(l.date=e())),l.viewDate=e(l.date).startOf("month"),v(),k()},g=function(){e.locale(l.options.language);var n,i=t("<tr>"),r=e.weekdaysMin();if(l.options.calendarWeeks===!0&&i.append('<th class="cw">#</th>'),0===e().localeData()._week.dow)for(n=0;7>n;n++)i.append('<th class="dow">'+r[n]+"</th>");else for(n=1;8>n;n++)7===n?i.append('<th class="dow">'+r[0]+"</th>"):i.append('<th class="dow">'+r[n]+"</th>");l.widget.find(".datepicker-days thead").append(i)},y=function(){e.locale(l.options.language);var t,n="",i=e.monthsShort();for(t=0;12>t;t++)n+='<span class="month">'+i[t]+"</span>";l.widget.find(".datepicker-months td").append(n)},v=function(){if(l.options.pickDate){e.locale(l.options.language);var n,i,r,a,o,s,d,u,c,h=l.viewDate.year(),f=l.viewDate.month(),p=l.options.minDate.year(),m=l.options.minDate.month(),_=l.options.maxDate.year(),g=l.options.maxDate.month(),y=[],v=e.months();for(l.widget.find(".datepicker-days").find(".disabled").removeClass("disabled"),l.widget.find(".datepicker-months").find(".disabled").removeClass("disabled"),l.widget.find(".datepicker-years").find(".disabled").removeClass("disabled"),l.widget.find(".datepicker-days th:eq(1)").text(v[f]+" "+h),i=e(l.viewDate,l.format,l.options.useStrict).subtract(1,"months"),d=i.daysInMonth(),i.date(d).startOf("week"),(h===p&&m>=f||p>h)&&l.widget.find(".datepicker-days th:eq(0)").addClass("disabled"),(h===_&&f>=g||h>_)&&l.widget.find(".datepicker-days th:eq(2)").addClass("disabled"),r=e(i).add(42,"d");i.isBefore(r);){if(i.weekday()===e().startOf("week").weekday()&&(a=t("<tr>"),y.push(a),l.options.calendarWeeks===!0&&a.append('<td class="cw">'+i.week()+"</td>")),o="",i.year()<h||i.year()===h&&i.month()<f?o+=" old":(i.year()>h||i.year()===h&&i.month()>f)&&(o+=" new"),i.isSame(e({y:l.date.year(),M:l.date.month(),d:l.date.date()}))&&(o+=" active"),!F(i,"day")&&O(i)||(o+=" disabled"),l.options.showToday===!0&&i.isSame(e(),"day")&&(o+=" today"),l.options.daysOfWeekDisabled)for(s=0;s<l.options.daysOfWeekDisabled.length;s++)if(i.day()===l.options.daysOfWeekDisabled[s]){o+=" disabled";break}a.append('<td class="day'+o+'">'+i.date()+"</td>"),n=i.date(),i.add(1,"d"),n===i.date()&&i.add(1,"d")}for(l.widget.find(".datepicker-days tbody").empty().append(y),c=l.date.year(),v=l.widget.find(".datepicker-months").find("th:eq(1)").text(h).end().find("span").removeClass("active"),c===h&&v.eq(l.date.month()).addClass("active"),p>h-1&&l.widget.find(".datepicker-months th:eq(0)").addClass("disabled"),h+1>_&&l.widget.find(".datepicker-months th:eq(2)").addClass("disabled"),s=0;12>s;s++)h===p&&m>s||p>h?t(v[s]).addClass("disabled"):(h===_&&s>g||h>_)&&t(v[s]).addClass("disabled");for(y="",h=10*parseInt(h/10,10),u=l.widget.find(".datepicker-years").find("th:eq(1)").text(h+"-"+(h+9)).parents("table").find("td"),l.widget.find(".datepicker-years").find("th").removeClass("disabled"),p>h&&l.widget.find(".datepicker-years").find("th:eq(0)").addClass("disabled"),h+9>_&&l.widget.find(".datepicker-years").find("th:eq(2)").addClass("disabled"),h-=1,s=-1;11>s;s++)y+='<span class="year'+(-1===s||10===s?" old":"")+(c===h?" active":"")+(p>h||h>_?" disabled":"")+'">'+h+"</span>",h+=1;u.html(y)}},b=function(){e.locale(l.options.language);var t,n,i,r=l.widget.find(".timepicker .timepicker-hours table"),a="";if(r.parent().hide(),l.use24hours)for(t=0,n=0;6>n;n+=1){for(a+="<tr>",i=0;4>i;i+=1)a+='<td class="hour">'+N(t.toString())+"</td>",t++;a+="</tr>"}else for(t=1,n=0;3>n;n+=1){for(a+="<tr>",i=0;4>i;i+=1)a+='<td class="hour">'+N(t.toString())+"</td>",t++;a+="</tr>"}r.html(a)},M=function(){var t,e,n=l.widget.find(".timepicker .timepicker-minutes table"),i="",r=0,a=l.options.minuteStepping;for(n.parent().hide(),1===a&&(a=5),t=0;t<Math.ceil(60/a/4);t++){for(i+="<tr>",e=0;4>e;e+=1)60>r?(i+='<td class="minute">'+N(r.toString())+"</td>",r+=a):i+="<td></td>";i+="</tr>"}n.html(i)},w=function(){var t,e,n=l.widget.find(".timepicker .timepicker-seconds table"),i="",r=0;for(n.parent().hide(),t=0;3>t;t++){for(i+="<tr>",e=0;4>e;e+=1)i+='<td class="second">'+N(r.toString())+"</td>",r+=5;i+="</tr>"}n.html(i)},k=function(){if(l.date){var t=l.widget.find(".timepicker span[data-time-component]"),e=l.date.hours(),n=l.date.format("A");l.use24hours||(0===e?e=12:12!==e&&(e%=12),l.widget.find(".timepicker [data-action=togglePeriod]").text(n)),t.filter("[data-time-component=hours]").text(N(e)),t.filter("[data-time-component=minutes]").text(N(l.date.minutes())),t.filter("[data-time-component=seconds]").text(N(l.date.second()))}},x=function(n){n.stopPropagation(),n.preventDefault(),l.unset=!1;var i,r,a,o,s=t(n.target).closest("span, td, th"),d=e(l.date);if(1===s.length&&!s.is(".disabled"))switch(s[0].nodeName.toLowerCase()){case"th":switch(s[0].className){case"picker-switch":C(1);break;case"prev":case"next":a=B.modes[l.viewMode].navStep,"prev"===s[0].className&&(a=-1*a),l.viewDate.add(a,B.modes[l.viewMode].navFnc),v()}break;case"span":s.is(".month")?(i=s.parent().find("span").index(s),l.viewDate.month(i)):(r=parseInt(s.text(),10)||0,l.viewDate.year(r)),l.viewMode===l.minViewMode&&(l.date=e({y:l.viewDate.year(),M:l.viewDate.month(),d:l.viewDate.date(),h:l.date.hours(),m:l.date.minutes(),s:l.date.seconds()}),I(),p(d,n.type)),C(-1),v();break;case"td":s.is(".day")&&(o=parseInt(s.text(),10)||1,i=l.viewDate.month(),r=l.viewDate.year(),s.is(".old")?0===i?(i=11,r-=1):i-=1:s.is(".new")&&(11===i?(i=0,r+=1):i+=1),l.date=e({y:r,M:i,d:o,h:l.date.hours(),m:l.date.minutes(),s:l.date.seconds()}),l.viewDate=e({y:r,M:i,d:Math.min(28,o)}),v(),I(),p(d,n.type))}},L={incrementHours:function(){W("add","hours",1)},incrementMinutes:function(){W("add","minutes",l.options.minuteStepping)},incrementSeconds:function(){W("add","seconds",1)},decrementHours:function(){W("subtract","hours",1)},decrementMinutes:function(){W("subtract","minutes",l.options.minuteStepping)},decrementSeconds:function(){W("subtract","seconds",1)},togglePeriod:function(){var t=l.date.hours();t>=12?t-=12:t+=12,l.date.hours(t)},showPicker:function(){l.widget.find(".timepicker > div:not(.timepicker-picker)").hide(),l.widget.find(".timepicker .timepicker-picker").show()},showHours:function(){l.widget.find(".timepicker .timepicker-picker").hide(),l.widget.find(".timepicker .timepicker-hours").show()},showMinutes:function(){l.widget.find(".timepicker .timepicker-picker").hide(),l.widget.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){l.widget.find(".timepicker .timepicker-picker").hide(),l.widget.find(".timepicker .timepicker-seconds").show()},selectHour:function(e){var n=parseInt(t(e.target).text(),10);l.use24hours||(l.date.hours()>=12?12!==n&&(n+=12):12===n&&(n=0)),l.date.hours(n),L.showPicker.call(l)},selectMinute:function(e){l.date.minutes(parseInt(t(e.target).text(),10)),L.showPicker.call(l)},selectSecond:function(e){l.date.seconds(parseInt(t(e.target).text(),10)),L.showPicker.call(l)}},D=function(n){var i=e(l.date),r=t(n.currentTarget).data("action"),a=L[r].apply(l,arguments);return T(n),l.date||(l.date=e({y:1970})),I(),k(),p(i,n.type),a},T=function(t){t.stopPropagation(),t.preventDefault()},Y=function(t){27===t.keyCode&&l.hide()},S=function(n){e.locale(l.options.language);var i=t(n.target),r=e(l.date),a=e(i.val(),l.format,l.options.useStrict);a.isValid()&&!F(a)&&O(a)?(_(),l.setValue(a),p(r,n.type),I()):(l.viewDate=r,l.unset=!0,p(r,n.type),m(a))},C=function(t){t&&(l.viewMode=Math.max(l.minViewMode,Math.min(2,l.viewMode+t))),l.widget.find(".datepicker > div").hide().filter(".datepicker-"+B.modes[l.viewMode].clsName).show()},H=function(){var e,n,i,r,a;l.widget.on("click",".datepicker *",t.proxy(x,this)),l.widget.on("click","[data-action]",t.proxy(D,this)),l.widget.on("mousedown",t.proxy(T,this)),l.element.on("keydown",t.proxy(Y,this)),l.options.pickDate&&l.options.pickTime&&l.widget.on("click.togglePicker",".accordion-toggle",function(o){if(o.stopPropagation(),e=t(this),n=e.closest("ul"),i=n.find(".in"),r=n.find(".collapse:not(.in)"),i&&i.length){if(a=i.data("collapse"),a&&a.transitioning)return;i.collapse("hide"),r.collapse("show"),e.find("span").toggleClass(l.options.icons.time+" "+l.options.icons.date),l.component&&l.component.find("span").toggleClass(l.options.icons.time+" "+l.options.icons.date)}}),l.isInput?l.element.on({click:t.proxy(l.show,this),focus:t.proxy(l.show,this),change:t.proxy(S,this),blur:t.proxy(l.hide,this)}):(l.element.on({change:t.proxy(S,this)},"input"),l.component?(l.component.on("click",t.proxy(l.show,this)),l.component.on("mousedown",t.proxy(T,this))):l.element.on("click",t.proxy(l.show,this)))},A=function(){t(window).on("resize.datetimepicker"+l.id,t.proxy(f,this)),l.isInput||t(document).on("mousedown.datetimepicker"+l.id,t.proxy(l.hide,this))},j=function(){l.widget.off("click",".datepicker *",l.click),l.widget.off("click","[data-action]"),l.widget.off("mousedown",l.stopEvent),l.options.pickDate&&l.options.pickTime&&l.widget.off("click.togglePicker"),l.isInput?l.element.off({focus:l.show,change:S,click:l.show,blur:l.hide}):(l.element.off({change:S},"input"),l.component?(l.component.off("click",l.show),l.component.off("mousedown",l.stopEvent)):l.element.off("click",l.show))},P=function(){t(window).off("resize.datetimepicker"+l.id),l.isInput||t(document).off("mousedown.datetimepicker"+l.id)},E=function(){if(l.element){var e,n=l.element.parents(),i=!1;for(e=0;e<n.length;e++)if("fixed"===t(n[e]).css("position")){i=!0;break}return i}return!1},I=function(){e.locale(l.options.language);var t="";l.unset||(t=e(l.date).format(l.format)),c().val(t),l.element.data("date",t),l.options.pickTime||l.hide()},W=function(t,n,i){e.locale(l.options.language);var r;return"add"===t?(r=e(l.date),23===r.hours()&&r.add(i,n),r.add(i,n)):r=e(l.date).subtract(i,n),F(e(r.subtract(i,n)))||F(r)?void m(r.format(l.format)):("add"===t?l.date.add(i,n):l.date.subtract(i,n),void(l.unset=!1))},F=function(t,n){e.locale(l.options.language);var i=e(l.options.maxDate,l.format,l.options.useStrict),r=e(l.options.minDate,l.format,l.options.useStrict);return n&&(i=i.endOf(n),r=r.startOf(n)),t.isAfter(i)||t.isBefore(r)?!0:l.options.disabledDates===!1?!1:l.options.disabledDates[t.format("YYYY-MM-DD")]===!0},O=function(t){return e.locale(l.options.language),l.options.enabledDates===!1?!0:l.options.enabledDates[t.format("YYYY-MM-DD")]===!0},R=function(t){var n,i={},r=0;for(n=0;n<t.length;n++)a=e.isMoment(t[n])||t[n]instanceof Date?e(t[n]):e(t[n],l.format,l.options.useStrict),a.isValid()&&(i[a.format("YYYY-MM-DD")]=!0,r++);return r>0?i:!1},N=function(t){return t=t.toString(),t.length>=2?t:"0"+t},z=function(){var t='<thead><tr><th class="prev">&lsaquo;</th><th colspan="'+(l.options.calendarWeeks?"6":"5")+'" class="picker-switch"></th><th class="next">&rsaquo;</th></tr></thead>',e='<tbody><tr><td colspan="'+(l.options.calendarWeeks?"8":"7")+'"></td></tr></tbody>',n='<div class="datepicker-days"><table class="table-condensed">'+t+'<tbody></tbody></table></div><div class="datepicker-months"><table class="table-condensed">'+t+e+'</table></div><div class="datepicker-years"><table class="table-condensed">'+t+e+"</table></div>",i="";return l.options.pickDate&&l.options.pickTime?(i='<div class="bootstrap-datetimepicker-widget'+(l.options.sideBySide?" timepicker-sbs":"")+(l.use24hours?" usetwentyfour":"")+' dropdown-menu" style="z-index:9999 !important;">',i+=l.options.sideBySide?'<div class="row"><div class="col-sm-6 datepicker">'+n+'</div><div class="col-sm-6 timepicker">'+$.getTemplate()+"</div></div>":'<ul class="list-unstyled"><li'+(l.options.collapse?' class="collapse in"':"")+'><div class="datepicker">'+n+'</div></li><li class="picker-switch accordion-toggle"><a class="btn" style="width:100%"><span class="'+l.options.icons.time+'"></span></a></li><li'+(l.options.collapse?' class="collapse"':"")+'><div class="timepicker">'+$.getTemplate()+"</div></li></ul>",
i+="</div>"):l.options.pickTime?'<div class="bootstrap-datetimepicker-widget dropdown-menu"><div class="timepicker">'+$.getTemplate()+"</div></div>":'<div class="bootstrap-datetimepicker-widget dropdown-menu"><div class="datepicker">'+n+"</div></div>"},B={modes:[{clsName:"days",navFnc:"month",navStep:1},{clsName:"months",navFnc:"year",navStep:1},{clsName:"years",navFnc:"year",navStep:10}]},$={hourTemplate:'<span data-action="showHours" data-time-component="hours" class="timepicker-hour"></span>',minuteTemplate:'<span data-action="showMinutes" data-time-component="minutes" class="timepicker-minute"></span>',secondTemplate:'<span data-action="showSeconds" data-time-component="seconds" class="timepicker-second"></span>'};$.getTemplate=function(){return'<div class="timepicker-picker"><table class="table-condensed"><tr><td><a href="#" class="btn" data-action="incrementHours"><span class="'+l.options.icons.up+'"></span></a></td><td class="separator"></td><td>'+(l.options.useMinutes?'<a href="#" class="btn" data-action="incrementMinutes"><span class="'+l.options.icons.up+'"></span></a>':"")+"</td>"+(l.options.useSeconds?'<td class="separator"></td><td><a href="#" class="btn" data-action="incrementSeconds"><span class="'+l.options.icons.up+'"></span></a></td>':"")+(l.use24hours?"":'<td class="separator"></td>')+"</tr><tr><td>"+$.hourTemplate+'</td> <td class="separator">:</td><td>'+(l.options.useMinutes?$.minuteTemplate:'<span class="timepicker-minute">00</span>')+"</td> "+(l.options.useSeconds?'<td class="separator">:</td><td>'+$.secondTemplate+"</td>":"")+(l.use24hours?"":'<td class="separator"></td><td><button type="button" class="btn btn-primary" data-action="togglePeriod"></button></td>')+'</tr><tr><td><a href="#" class="btn" data-action="decrementHours"><span class="'+l.options.icons.down+'"></span></a></td><td class="separator"></td><td>'+(l.options.useMinutes?'<a href="#" class="btn" data-action="decrementMinutes"><span class="'+l.options.icons.down+'"></span></a>':"")+"</td>"+(l.options.useSeconds?'<td class="separator"></td><td><a href="#" class="btn" data-action="decrementSeconds"><span class="'+l.options.icons.down+'"></span></a></td>':"")+(l.use24hours?"":'<td class="separator"></td>')+'</tr></table></div><div class="timepicker-hours" data-action="selectHour"><table class="table-condensed"></table></div><div class="timepicker-minutes" data-action="selectMinute"><table class="table-condensed"></table></div>'+(l.options.useSeconds?'<div class="timepicker-seconds" data-action="selectSecond"><table class="table-condensed"></table></div>':"")},l.destroy=function(){j(),P(),l.widget.remove(),l.element.removeData("DateTimePicker"),l.component&&l.component.removeData("DateTimePicker")},l.show=function(t){if(!c().prop("disabled")){if(l.options.useCurrent&&""===c().val()){if(1!==l.options.minuteStepping){var n=e(),i=l.options.minuteStepping;n.minutes(Math.round(n.minutes()/i)*i%60).seconds(0),l.setValue(n.format(l.format))}else l.setValue(e().format(l.format));p("",t.type)}t&&"click"===t.type&&l.isInput&&l.widget.hasClass("picker-open")||(l.widget.hasClass("picker-open")?(l.widget.hide(),l.widget.removeClass("picker-open")):(l.widget.show(),l.widget.addClass("picker-open")),l.height=l.component?l.component.outerHeight():l.element.outerHeight(),f(),l.element.trigger({type:"dp.show",date:e(l.date)}),A(),t&&T(t))}},l.disable=function(){var t=c();t.prop("disabled")||(t.prop("disabled",!0),j())},l.enable=function(){var t=c();t.prop("disabled")&&(t.prop("disabled",!1),H())},l.hide=function(){var t,n,i=l.widget.find(".collapse");for(t=0;t<i.length;t++)if(n=i.eq(t).data("collapse"),n&&n.transitioning)return;l.widget.hide(),l.widget.removeClass("picker-open"),l.viewMode=l.startViewMode,C(),l.element.trigger({type:"dp.hide",date:e(l.date)}),P()},l.setValue=function(t){e.locale(l.options.language),t?l.unset=!1:(l.unset=!0,I()),t=e.isMoment(t)?t.locale(l.options.language):t instanceof Date?e(t):e(t,l.format,l.options.useStrict),t.isValid()?(l.date=t,I(),l.viewDate=e({y:l.date.year(),M:l.date.month()}),v(),k()):m(t)},l.getDate=function(){return l.unset?null:e(l.date)},l.setDate=function(t){var n=e(l.date);t?l.setValue(t):l.setValue(null),p(n,"function")},l.setDisabledDates=function(t){l.options.disabledDates=R(t),l.viewDate&&_()},l.setEnabledDates=function(t){l.options.enabledDates=R(t),l.viewDate&&_()},l.setMaxDate=function(t){void 0!==t&&(e.isMoment(t)||t instanceof Date?l.options.maxDate=e(t):l.options.maxDate=e(t,l.format,l.options.useStrict),l.viewDate&&_())},l.setMinDate=function(t){void 0!==t&&(e.isMoment(t)||t instanceof Date?l.options.minDate=e(t):l.options.minDate=e(t,l.format,l.options.useStrict),l.viewDate&&_())},u()};t.fn.datetimepicker=function(e){return this.each(function(){var n=t(this),r=n.data("DateTimePicker");r||n.data("DateTimePicker",new i(this,e))})},t.fn.datetimepicker.defaults={format:!1,pickDate:!0,pickTime:!0,useMinutes:!0,useSeconds:!1,useCurrent:!0,calendarWeeks:!1,minuteStepping:1,minDate:e({y:1900}),maxDate:e().add(100,"y"),showToday:!0,collapse:!0,language:e.locale(),defaultDate:"",disabledDates:!1,enabledDates:!1,icons:{},useStrict:!1,direction:"auto",sideBySide:!1,daysOfWeekDisabled:[],widgetParent:!1}}),function(){function t(t,e){return t.set(e[0],e[1]),t}function e(t,e){return t.add(e),t}function n(t,e,n){var i=n.length;switch(i){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function i(t,e,n,i){for(var r=-1,a=t?t.length:0;++r<a;){var o=t[r];e(i,o,n(o),t)}return i}function r(t,e){for(var n=-1,i=t?t.length:0;++n<i&&e(t[n],n,t)!==!1;);return t}function a(t,e){for(var n=t?t.length:0;n--&&e(t[n],n,t)!==!1;);return t}function o(t,e){for(var n=-1,i=t?t.length:0;++n<i;)if(!e(t[n],n,t))return!1;return!0}function s(t,e){for(var n=-1,i=t?t.length:0,r=0,a=[];++n<i;){var o=t[n];e(o,n,t)&&(a[r++]=o)}return a}function l(t,e){var n=t?t.length:0;return!!n&&g(t,e,0)>-1}function d(t,e,n){for(var i=-1,r=t?t.length:0;++i<r;)if(n(e,t[i]))return!0;return!1}function u(t,e){for(var n=-1,i=t?t.length:0,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function c(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function h(t,e,n,i){var r=-1,a=t?t.length:0;for(i&&a&&(n=t[++r]);++r<a;)n=e(n,t[r],r,t);return n}function f(t,e,n,i){var r=t?t.length:0;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n}function p(t,e){for(var n=-1,i=t?t.length:0;++n<i;)if(e(t[n],n,t))return!0;return!1}function m(t,e,n){var i;return n(t,function(t,n,r){return e(t,n,r)?(i=n,!1):void 0}),i}function _(t,e,n,i){for(var r=t.length,a=n+(i?1:-1);i?a--:++a<r;)if(e(t[a],a,t))return a;return-1}function g(t,e,n){if(e!==e)return I(t,n);for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}function y(t,e,n,i){for(var r=n-1,a=t.length;++r<a;)if(i(t[r],e))return r;return-1}function v(t,e){var n=t?t.length:0;return n?w(t,e)/n:Mt}function b(t,e,n,i,r){return r(t,function(t,r,a){n=i?(i=!1,t):e(n,t,r,a)}),n}function M(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function w(t,e){for(var n,i=-1,r=t.length;++i<r;){var a=e(t[i]);a!==U&&(n=n===U?a:n+a)}return n}function k(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function x(t,e){return u(e,function(e){return[e,t[e]]})}function L(t){return function(e){return t(e)}}function D(t,e){return u(e,function(e){return t[e]})}function T(t,e){return t.has(e)}function Y(t,e){for(var n=-1,i=t.length;++n<i&&g(e,t[n],0)>-1;);return n}function S(t,e){for(var n=t.length;n--&&g(e,t[n],0)>-1;);return n}function C(t){return t&&t.Object===Object?t:null}function H(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&i++;return i}function A(t){return xn[t]}function j(t){return Ln[t]}function P(t){return"\\"+Tn[t]}function E(t,e){return null==t?U:t[e]}function I(t,e,n){for(var i=t.length,r=e+(n?1:-1);n?r--:++r<i;){var a=t[r];if(a!==a)return r}return-1}function W(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function F(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function O(t){var e=-1,n=Array(t.size);return t.forEach(function(t,i){n[++e]=[i,t]}),n}function R(t,e){for(var n=-1,i=t.length,r=0,a=[];++n<i;){var o=t[n];o!==e&&o!==Z||(t[n]=Z,a[r++]=n)}return a}function N(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function z(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function B(t){if(!t||!yn.test(t))return t.length;for(var e=_n.lastIndex=0;_n.test(t);)e++;return e}function $(t){return t.match(_n)}function V(t){return Dn[t]}function q(C){function Ce(t){if(ys(t)&&!_c(t)&&!(t instanceof je)){if(t instanceof Ae)return t;if(Sd.call(t,"__wrapped__"))return ca(t)}return new Ae(t)}function He(){}function Ae(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=U}function je(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=wt,this.__views__=[]}function Pe(){var t=new je(this.__wrapped__);return t.__actions__=nr(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=nr(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=nr(this.__views__),t}function Ee(){if(this.__filtered__){var t=new je(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function Ie(){var t=this.__wrapped__.value(),e=this.__dir__,n=_c(t),i=0>e,r=n?t.length:0,a=zr(0,r,this.__views__),o=a.start,s=a.end,l=s-o,d=i?s:o-1,u=this.__iteratees__,c=u.length,h=0,f=Kd(l,this.__takeCount__);if(!n||G>r||r==l&&f==l)return Wi(t,this.__actions__);var p=[];t:for(;l--&&f>h;){d+=e;for(var m=-1,_=t[d];++m<c;){var g=u[m],y=g.iteratee,v=g.type,b=y(_);if(v==_t)_=b;else if(!b){if(v==mt)continue t;break t}}p[h++]=_}return p}function We(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Fe(){this.__data__=uu?uu(null):{}}function Oe(t){return this.has(t)&&delete this.__data__[t]}function Re(t){var e=this.__data__;if(uu){var n=e[t];return n===Q?U:n}return Sd.call(e,t)?e[t]:U}function Ne(t){var e=this.__data__;return uu?e[t]!==U:Sd.call(e,t)}function ze(t,e){var n=this.__data__;return n[t]=uu&&e===U?Q:e,this}function Be(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function $e(){this.__data__=[]}function Ve(t){var e=this.__data__,n=_n(e,t);if(0>n)return!1;var i=e.length-1;return n==i?e.pop():$d.call(e,n,1),!0}function qe(t){var e=this.__data__,n=_n(e,t);return 0>n?U:e[n][1]}function Ue(t){return _n(this.__data__,t)>-1}function Je(t,e){var n=this.__data__,i=_n(n,t);return 0>i?n.push([t,e]):n[i][1]=e,this}function Ge(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Xe(){this.__data__={hash:new We,map:new(ou||Be),string:new We}}function Qe(t){return Ir(this,t)["delete"](t)}function Ze(t){return Ir(this,t).get(t)}function Ke(t){return Ir(this,t).has(t)}function tn(t,e){return Ir(this,t).set(t,e),this}function en(t){var e=-1,n=t?t.length:0;for(this.__data__=new Ge;++e<n;)this.add(t[e])}function nn(t){return this.__data__.set(t,Q),this}function rn(t){return this.__data__.has(t)}function an(t){this.__data__=new Be(t)}function on(){this.__data__=new Be}function sn(t){return this.__data__["delete"](t)}function ln(t){return this.__data__.get(t)}function dn(t){return this.__data__.has(t)}function un(t,e){var n=this.__data__;return n instanceof Be&&n.__data__.length==G&&(n=this.__data__=new Ge(n.__data__)),n.set(t,e),this}function cn(t,e,n,i){return t===U||es(t,xd[n])&&!Sd.call(i,n)?e:t}function hn(t,e,n){(n===U||es(t[e],n))&&("number"!=typeof e||n!==U||e in t)||(t[e]=n)}function fn(t,e,n){var i=t[e];Sd.call(t,e)&&es(i,n)&&(n!==U||e in t)||(t[e]=n)}function _n(t,e){for(var n=t.length;n--;)if(es(t[n][0],e))return n;return-1}function xn(t,e,n,i){return wu(t,function(t,r,a){e(i,t,n(t),a)}),i}function Ln(t,e){return t&&ir(e,il(e),t)}function Dn(t,e){for(var n=-1,i=null==t,r=e.length,a=Array(r);++n<r;)a[n]=i?U:tl(t,e[n]);return a}function Tn(t,e,n){return t===t&&(n!==U&&(t=n>=t?t:n),e!==U&&(t=t>=e?t:e)),t}function Cn(t,e,n,i,a,o,s){var l;if(i&&(l=o?i(t,a,o,s):i(t)),l!==U)return l;if(!gs(t))return t;var d=_c(t);if(d){if(l=$r(t),!e)return nr(t,l)}else{var u=Nr(t),c=u==Ct||u==Ht;if(gc(t))return $i(t,e);if(u==Pt||u==Lt||c&&!o){if(W(t))return o?t:{};if(l=Vr(c?{}:t),!e)return rr(t,Ln(l,t))}else{if(!kn[u])return o?t:{};l=qr(t,u,Cn,e)}}s||(s=new an);var h=s.get(t);if(h)return h;if(s.set(t,l),!d)var f=n?Hr(t):il(t);return r(f||t,function(r,a){f&&(a=r,r=t[a]),fn(l,a,Cn(r,e,n,i,a,t,s))}),l}function Hn(t){var e=il(t),n=e.length;return function(i){if(null==i)return!n;for(var r=n;r--;){var a=e[r],o=t[a],s=i[a];if(s===U&&!(a in Object(i))||!o(s))return!1}return!0}}function jn(t){return gs(t)?zd(t):{}}function Pn(t,e,n){if("function"!=typeof t)throw new wd(X);return Vd(function(){t.apply(U,n)},e)}function En(t,e,n,i){var r=-1,a=l,o=!0,s=t.length,c=[],h=e.length;if(!s)return c;n&&(e=u(e,L(n))),i?(a=d,o=!1):e.length>=G&&(a=T,o=!1,e=new en(e));t:for(;++r<s;){var f=t[r],p=n?n(f):f;if(f=i||0!==f?f:0,o&&p===p){for(var m=h;m--;)if(e[m]===p)continue t;c.push(f)}else a(e,p,i)||c.push(f)}return c}function Fn(t,e){var n=!0;return wu(t,function(t,i,r){return n=!!e(t,i,r)}),n}function On(t,e,n){for(var i=-1,r=t.length;++i<r;){var a=t[i],o=e(a);if(null!=o&&(s===U?o===o&&!As(o):n(o,s)))var s=o,l=a}return l}function Rn(t,e,n,i){var r=t.length;for(n=Os(n),0>n&&(n=-n>r?0:r+n),i=i===U||i>r?r:Os(i),0>i&&(i+=r),i=n>i?0:Rs(i);i>n;)t[n++]=e;return t}function Nn(t,e){var n=[];return wu(t,function(t,i,r){e(t,i,r)&&n.push(t)}),n}function zn(t,e,n,i,r){var a=-1,o=t.length;for(n||(n=Jr),r||(r=[]);++a<o;){var s=t[a];e>0&&n(s)?e>1?zn(s,e-1,n,i,r):c(r,s):i||(r[r.length]=s)}return r}function Bn(t,e){return t&&xu(t,e,il)}function $n(t,e){return t&&Lu(t,e,il)}function Vn(t,e){return s(e,function(e){return ps(t[e])})}function qn(t,e){e=Zr(e,t)?[e]:zi(e);for(var n=0,i=e.length;null!=t&&i>n;)t=t[da(e[n++])];return n&&n==i?t:U}function Un(t,e,n){var i=e(t);return _c(t)?i:c(i,n(t))}function Jn(t,e){return t>e}function Gn(t,e){return null!=t&&(Sd.call(t,e)||"object"==typeof t&&e in t&&null===Or(t))}function Xn(t,e){return null!=t&&e in Object(t)}function Qn(t,e,n){return t>=Kd(e,n)&&t<Zd(e,n)}function Zn(t,e,n){for(var i=n?d:l,r=t[0].length,a=t.length,o=a,s=Array(a),c=1/0,h=[];o--;){var f=t[o];o&&e&&(f=u(f,L(e))),c=Kd(f.length,c),s[o]=!n&&(e||r>=120&&f.length>=120)?new en(o&&f):U}f=t[0];var p=-1,m=s[0];t:for(;++p<r&&h.length<c;){var _=f[p],g=e?e(_):_;if(_=n||0!==_?_:0,!(m?T(m,g):i(h,g,n))){for(o=a;--o;){var y=s[o];if(!(y?T(y,g):i(t[o],g,n)))continue t}m&&m.push(g),h.push(_)}}return h}function Kn(t,e,n,i){return Bn(t,function(t,r,a){e(i,n(t),r,a)}),i}function ti(t,e,i){Zr(e,t)||(e=zi(e),t=sa(t,e),e=Ca(e));var r=null==t?t:t[da(e)];return null==r?U:n(r,t,i)}function ei(t,e,n,i,r){return t===e?!0:null==t||null==e||!gs(t)&&!ys(e)?t!==t&&e!==e:ni(t,e,ei,n,i,r)}function ni(t,e,n,i,r,a){var o=_c(t),s=_c(e),l=Dt,d=Dt;o||(l=Nr(t),l=l==Lt?Pt:l),s||(d=Nr(e),d=d==Lt?Pt:d);var u=l==Pt&&!W(t),c=d==Pt&&!W(e),h=l==d;if(h&&!u)return a||(a=new an),o||js(t)?Yr(t,e,n,i,r,a):Sr(t,e,l,n,i,r,a);if(!(r&ut)){var f=u&&Sd.call(t,"__wrapped__"),p=c&&Sd.call(e,"__wrapped__");if(f||p){var m=f?t.value():t,_=p?e.value():e;return a||(a=new an),n(m,_,i,r,a)}}return h?(a||(a=new an),Cr(t,e,n,i,r,a)):!1}function ii(t,e,n,i){var r=n.length,a=r,o=!i;if(null==t)return!a;for(t=Object(t);r--;){var s=n[r];if(o&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++r<a;){s=n[r];var l=s[0],d=t[l],u=s[1];if(o&&s[2]){if(d===U&&!(l in t))return!1}else{var c=new an;if(i)var h=i(d,u,l,t,e,c);if(!(h===U?ei(u,d,i,dt|ut,c):h))return!1}}return!0}function ri(t){if(!gs(t)||ea(t))return!1;var e=ps(t)||W(t)?Pd:xe;return e.test(ua(t))}function ai(t){return"function"==typeof t?t:null==t?ql:"object"==typeof t?_c(t)?ci(t[0],t[1]):ui(t):td(t)}function oi(t){return Qd(Object(t))}function si(t){t=null==t?t:Object(t);var e=[];for(var n in t)e.push(n);return e}function li(t,e){return e>t}function di(t,e){var n=-1,i=rs(t)?Array(t.length):[];return wu(t,function(t,r,a){i[++n]=e(t,r,a)}),i}function ui(t){var e=Wr(t);return 1==e.length&&e[0][2]?ra(e[0][0],e[0][1]):function(n){return n===t||ii(n,t,e)}}function ci(t,e){return Zr(t)&&ia(e)?ra(da(t),e):function(n){var i=tl(n,t);return i===U&&i===e?nl(n,t):ei(e,i,U,dt|ut)}}function hi(t,e,n,i,a){if(t!==e){if(!_c(e)&&!js(e))var o=rl(e);r(o||e,function(r,s){if(o&&(s=r,r=e[s]),gs(r))a||(a=new an),fi(t,e,s,n,hi,i,a);else{var l=i?i(t[s],r,s+"",t,e,a):U;l===U&&(l=r),hn(t,s,l)}})}}function fi(t,e,n,i,r,a,o){var s=t[n],l=e[n],d=o.get(l);if(d)return void hn(t,n,d);var u=a?a(s,l,n+"",t,e,o):U,c=u===U;c&&(u=l,_c(l)||js(l)?_c(s)?u=s:as(s)?u=nr(s):(c=!1,u=Cn(l,!0)):Ts(l)||ns(l)?ns(s)?u=zs(s):!gs(s)||i&&ps(s)?(c=!1,u=Cn(l,!0)):u=s:c=!1),o.set(l,u),c&&r(u,l,i,a,o),o["delete"](l),hn(t,n,u)}function pi(t,e){var n=t.length;if(n)return e+=0>e?n:0,Xr(e,n)?t[e]:U}function mi(t,e,n){var i=-1;e=u(e.length?e:[ql],L(Er()));var r=di(t,function(t,n,r){var a=u(e,function(e){return e(t)});return{criteria:a,index:++i,value:t}});return M(r,function(t,e){return Ki(t,e,n)})}function _i(t,e){return t=Object(t),h(e,function(e,n){return n in t&&(e[n]=t[n]),e},{})}function gi(t,e){for(var n=-1,i=Ar(t),r=i.length,a={};++n<r;){var o=i[n],s=t[o];e(s,o)&&(a[o]=s)}return a}function yi(t){return function(e){return null==e?U:e[t]}}function vi(t){return function(e){return qn(e,t)}}function bi(t,e,n,i){var r=i?y:g,a=-1,o=e.length,s=t;for(t===e&&(e=nr(e)),n&&(s=u(t,L(n)));++a<o;)for(var l=0,d=e[a],c=n?n(d):d;(l=r(s,c,l,i))>-1;)s!==t&&$d.call(s,l,1),$d.call(t,l,1);return t}function Mi(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==a){var a=r;if(Xr(r))$d.call(t,r,1);else if(Zr(r,t))delete t[da(r)];else{var o=zi(r),s=sa(t,o);null!=s&&delete s[da(Ca(o))]}}}return t}function wi(t,e){return t+Ud(eu()*(e-t+1))}function ki(t,e,n,i){for(var r=-1,a=Zd(qd((e-t)/(n||1)),0),o=Array(a);a--;)o[i?a:++r]=t,t+=n;return o}function xi(t,e){var n="";if(!t||1>e||e>vt)return n;do e%2&&(n+=t),e=Ud(e/2),e&&(t+=t);while(e);return n}function Li(t,e,n,i){e=Zr(e,t)?[e]:zi(e);for(var r=-1,a=e.length,o=a-1,s=t;null!=s&&++r<a;){var l=da(e[r]);if(gs(s)){var d=n;if(r!=o){var u=s[l];d=i?i(u,l,s):U,d===U&&(d=null==u?Xr(e[r+1])?[]:{}:u)}fn(s,l,d)}s=s[l]}return t}function Di(t,e,n){var i=-1,r=t.length;0>e&&(e=-e>r?0:r+e),n=n>r?r:n,0>n&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var a=Array(r);++i<r;)a[i]=t[i+e];return a}function Ti(t,e){var n;return wu(t,function(t,i,r){return n=e(t,i,r),!n}),!!n}function Yi(t,e,n){var i=0,r=t?t.length:i;if("number"==typeof e&&e===e&&xt>=r){for(;r>i;){var a=i+r>>>1,o=t[a];null!==o&&!As(o)&&(n?e>=o:e>o)?i=a+1:r=a}return r}return Si(t,e,ql,n)}function Si(t,e,n,i){e=n(e);for(var r=0,a=t?t.length:0,o=e!==e,s=null===e,l=As(e),d=e===U;a>r;){var u=Ud((r+a)/2),c=n(t[u]),h=c!==U,f=null===c,p=c===c,m=As(c);if(o)var _=i||p;else _=d?p&&(i||h):s?p&&h&&(i||!f):l?p&&h&&!f&&(i||!m):f||m?!1:i?e>=c:e>c;_?r=u+1:a=u}return Kd(a,kt)}function Ci(t,e){for(var n=-1,i=t.length,r=0,a=[];++n<i;){var o=t[n],s=e?e(o):o;if(!n||!es(s,l)){var l=s;a[r++]=0===o?0:o}}return a}function Hi(t){return"number"==typeof t?t:As(t)?Mt:+t}function Ai(t){if("string"==typeof t)return t;if(As(t))return Mu?Mu.call(t):"";var e=t+"";return"0"==e&&1/t==-yt?"-0":e}function ji(t,e,n){var i=-1,r=l,a=t.length,o=!0,s=[],u=s;if(n)o=!1,r=d;else if(a>=G){var c=e?null:Tu(t);if(c)return N(c);o=!1,r=T,u=new en}else u=e?[]:s;t:for(;++i<a;){var h=t[i],f=e?e(h):h;if(h=n||0!==h?h:0,o&&f===f){for(var p=u.length;p--;)if(u[p]===f)continue t;e&&u.push(f),s.push(h)}else r(u,f,n)||(u!==s&&u.push(f),s.push(h))}return s}function Pi(t,e){e=Zr(e,t)?[e]:zi(e),t=sa(t,e);var n=da(Ca(e));return!(null!=t&&Gn(t,n))||delete t[n]}function Ei(t,e,n,i){return Li(t,e,n(qn(t,e)),i)}function Ii(t,e,n,i){for(var r=t.length,a=i?r:-1;(i?a--:++a<r)&&e(t[a],a,t););return n?Di(t,i?0:a,i?a+1:r):Di(t,i?a+1:0,i?r:a)}function Wi(t,e){var n=t;return n instanceof je&&(n=n.value()),h(e,function(t,e){return e.func.apply(e.thisArg,c([t],e.args))},n)}function Fi(t,e,n){for(var i=-1,r=t.length;++i<r;)var a=a?c(En(a,t[i],e,n),En(t[i],a,e,n)):t[i];return a&&a.length?ji(a,e,n):[]}function Oi(t,e,n){for(var i=-1,r=t.length,a=e.length,o={};++i<r;){var s=a>i?e[i]:U;n(o,t[i],s)}return o}function Ri(t){return as(t)?t:[]}function Ni(t){return"function"==typeof t?t:ql}function zi(t){return _c(t)?t:ju(t)}function Bi(t,e,n){var i=t.length;return n=n===U?i:n,!e&&n>=i?t:Di(t,e,n)}function $i(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}function Vi(t){var e=new t.constructor(t.byteLength);return new Fd(e).set(new Fd(t)),e}function qi(t,e){var n=e?Vi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function Ui(e,n,i){var r=n?i(O(e),!0):O(e);return h(r,t,new e.constructor)}function Ji(t){var e=new t.constructor(t.source,be.exec(t));return e.lastIndex=t.lastIndex,e}function Gi(t,n,i){var r=n?i(N(t),!0):N(t);return h(r,e,new t.constructor)}function Xi(t){return bu?Object(bu.call(t)):{}}function Qi(t,e){var n=e?Vi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Zi(t,e){if(t!==e){var n=t!==U,i=null===t,r=t===t,a=As(t),o=e!==U,s=null===e,l=e===e,d=As(e);if(!s&&!d&&!a&&t>e||a&&o&&l&&!s&&!d||i&&o&&l||!n&&l||!r)return 1;if(!i&&!a&&!d&&e>t||d&&n&&r&&!i&&!a||s&&n&&r||!o&&r||!l)return-1}return 0}function Ki(t,e,n){for(var i=-1,r=t.criteria,a=e.criteria,o=r.length,s=n.length;++i<o;){var l=Zi(r[i],a[i]);if(l){if(i>=s)return l;var d=n[i];return l*("desc"==d?-1:1)}}return t.index-e.index}function tr(t,e,n,i){for(var r=-1,a=t.length,o=n.length,s=-1,l=e.length,d=Zd(a-o,0),u=Array(l+d),c=!i;++s<l;)u[s]=e[s];for(;++r<o;)(c||a>r)&&(u[n[r]]=t[r]);for(;d--;)u[s++]=t[r++];return u}function er(t,e,n,i){for(var r=-1,a=t.length,o=-1,s=n.length,l=-1,d=e.length,u=Zd(a-s,0),c=Array(u+d),h=!i;++r<u;)c[r]=t[r];for(var f=r;++l<d;)c[f+l]=e[l];for(;++o<s;)(h||a>r)&&(c[f+n[o]]=t[r++]);return c}function nr(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e}function ir(t,e,n,i){n||(n={});for(var r=-1,a=e.length;++r<a;){var o=e[r],s=i?i(n[o],t[o],o,n,t):t[o];fn(n,o,s)}return n}function rr(t,e){return ir(t,Rr(t),e)}function ar(t,e){return function(n,r){var a=_c(n)?i:xn,o=e?e():{};return a(n,t,Er(r),o)}}function or(t){return Vo(function(e,n){var i=-1,r=n.length,a=r>1?n[r-1]:U,o=r>2?n[2]:U;for(a=t.length>3&&"function"==typeof a?(r--,a):U,o&&Qr(n[0],n[1],o)&&(a=3>r?U:a,r=1),e=Object(e);++i<r;){var s=n[i];s&&t(e,s,i,a)}return e})}function sr(t,e){return function(n,i){if(null==n)return n;if(!rs(n))return t(n,i);for(var r=n.length,a=e?r:-1,o=Object(n);(e?a--:++a<r)&&i(o[a],a,o)!==!1;);return n}}function lr(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(n(a[l],l,a)===!1)break}return e}}function dr(t,e,n){function i(){var e=this&&this!==In&&this instanceof i?a:t;return e.apply(r?n:this,arguments)}var r=e&K,a=hr(t);return i}function ur(t){return function(e){e=$s(e);var n=yn.test(e)?$(e):U,i=n?n[0]:e.charAt(0),r=n?Bi(n,1).join(""):e.slice(1);return i[t]()+r}}function cr(t){return function(e){return h(zl(wl(e).replace(pn,"")),t,"")}}function hr(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=jn(t.prototype),i=t.apply(n,e);return gs(i)?i:n}}function fr(t,e,i){function r(){for(var o=arguments.length,s=Array(o),l=o,d=Pr(r);l--;)s[l]=arguments[l];var u=3>o&&s[0]!==d&&s[o-1]!==d?[]:R(s,d);if(o-=u.length,i>o)return xr(t,e,_r,r.placeholder,U,s,u,U,U,i-o);var c=this&&this!==In&&this instanceof r?a:t;return n(c,this,s)}var a=hr(t);return r}function pr(t){return function(e,n,i){var r=Object(e);if(n=Er(n,3),!rs(e))var a=il(e);var o=t(a||e,function(t,e){return a&&(e=t,t=r[e]),n(t,e,r)},i);return o>-1?e[a?a[o]:o]:U}}function mr(t){return Vo(function(e){e=zn(e,1);var n=e.length,i=n,r=Ae.prototype.thru;for(t&&e.reverse();i--;){var a=e[i];if("function"!=typeof a)throw new wd(X);if(r&&!o&&"wrapper"==jr(a))var o=new Ae([],!0)}for(i=o?i:n;++i<n;){a=e[i];var s=jr(a),l="wrapper"==s?Yu(a):U;o=l&&ta(l[0])&&l[1]==(ot|nt|rt|st)&&!l[4].length&&1==l[9]?o[jr(l[0])].apply(o,l[3]):1==a.length&&ta(a)?o[s]():o.thru(a)}return function(){var t=arguments,i=t[0];if(o&&1==t.length&&_c(i)&&i.length>=G)return o.plant(i).value();for(var r=0,a=n?e[r].apply(this,t):i;++r<n;)a=e[r].call(this,a);return a}})}function _r(t,e,n,i,r,a,o,s,l,d){function u(){for(var g=arguments.length,y=Array(g),v=g;v--;)y[v]=arguments[v];if(p)var b=Pr(u),M=H(y,b);if(i&&(y=tr(y,i,r,p)),a&&(y=er(y,a,o,p)),g-=M,p&&d>g){var w=R(y,b);return xr(t,e,_r,u.placeholder,n,y,w,s,l,d-g)}var k=h?n:this,x=f?k[t]:t;return g=y.length,s?y=la(y,s):m&&g>1&&y.reverse(),c&&g>l&&(y.length=l),this&&this!==In&&this instanceof u&&(x=_||hr(x)),x.apply(k,y)}var c=e&ot,h=e&K,f=e&tt,p=e&(nt|it),m=e&lt,_=f?U:hr(t);return u}function gr(t,e){return function(n,i){return Kn(n,t,e(i),{})}}function yr(t){return function(e,n){var i;if(e===U&&n===U)return 0;if(e!==U&&(i=e),n!==U){if(i===U)return n;"string"==typeof e||"string"==typeof n?(e=Ai(e),n=Ai(n)):(e=Hi(e),n=Hi(n)),i=t(e,n)}return i}}function vr(t){return Vo(function(e){return e=1==e.length&&_c(e[0])?u(e[0],L(Er())):u(zn(e,1,Gr),L(Er())),Vo(function(i){var r=this;return t(e,function(t){return n(t,r,i)})})})}function br(t,e){e=e===U?" ":Ai(e);var n=e.length;if(2>n)return n?xi(e,t):e;var i=xi(e,qd(t/B(e)));return yn.test(e)?Bi($(i),0,t).join(""):i.slice(0,t)}function Mr(t,e,i,r){function a(){for(var e=-1,l=arguments.length,d=-1,u=r.length,c=Array(u+l),h=this&&this!==In&&this instanceof a?s:t;++d<u;)c[d]=r[d];for(;l--;)c[d++]=arguments[++e];return n(h,o?i:this,c)}var o=e&K,s=hr(t);return a}function wr(t){return function(e,n,i){return i&&"number"!=typeof i&&Qr(e,n,i)&&(n=i=U),e=Ns(e),e=e===e?e:0,n===U?(n=e,e=0):n=Ns(n)||0,i=i===U?n>e?1:-1:Ns(i)||0,ki(e,n,i,t)}}function kr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Ns(e),n=Ns(n)),t(e,n)}}function xr(t,e,n,i,r,a,o,s,l,d){var u=e&nt,c=u?o:U,h=u?U:o,f=u?a:U,p=u?U:a;e|=u?rt:at,e&=~(u?at:rt),e&et||(e&=~(K|tt));var m=[t,e,r,f,c,p,h,s,l,d],_=n.apply(U,m);return ta(t)&&Au(_,m),_.placeholder=i,_}function Lr(t){var e=bd[t];return function(t,n){if(t=Ns(t),n=Kd(Os(n),292)){var i=($s(t)+"e").split("e"),r=e(i[0]+"e"+(+i[1]+n));return i=($s(r)+"e").split("e"),+(i[0]+"e"+(+i[1]-n))}return e(t)}}function Dr(t){return function(e){var n=Nr(e);return n==At?O(e):n==Wt?z(e):x(e,t(e))}}function Tr(t,e,n,i,r,a,o,s){var l=e&tt;if(!l&&"function"!=typeof t)throw new wd(X);var d=i?i.length:0;if(d||(e&=~(rt|at),i=r=U),o=o===U?o:Zd(Os(o),0),s=s===U?s:Os(s),d-=r?r.length:0,e&at){var u=i,c=r;i=r=U}var h=l?U:Yu(t),f=[t,e,n,i,r,u,c,a,o,s];if(h&&aa(f,h),t=f[0],e=f[1],n=f[2],i=f[3],r=f[4],s=f[9]=null==f[9]?l?0:t.length:Zd(f[9]-d,0),!s&&e&(nt|it)&&(e&=~(nt|it)),e&&e!=K)p=e==nt||e==it?fr(t,e,s):e!=rt&&e!=(K|rt)||r.length?_r.apply(U,f):Mr(t,e,n,i);else var p=dr(t,e,n);var m=h?Du:Au;return m(p,f)}function Yr(t,e,n,i,r,a){var o=r&ut,s=t.length,l=e.length;if(s!=l&&!(o&&l>s))return!1;var d=a.get(t);if(d)return d==e;var u=-1,c=!0,h=r&dt?new en:U;for(a.set(t,e);++u<s;){var f=t[u],m=e[u];if(i)var _=o?i(m,f,u,e,t,a):i(f,m,u,t,e,a);if(_!==U){if(_)continue;c=!1;break}if(h){if(!p(e,function(t,e){return h.has(e)||f!==t&&!n(f,t,i,r,a)?void 0:h.add(e)})){c=!1;break}}else if(f!==m&&!n(f,m,i,r,a)){c=!1;break}}return a["delete"](t),c}function Sr(t,e,n,i,r,a,o){switch(n){case Bt:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case zt:return!(t.byteLength!=e.byteLength||!i(new Fd(t),new Fd(e)));case Tt:case Yt:return+t==+e;case St:return t.name==e.name&&t.message==e.message;case jt:return t!=+t?e!=+e:t==+e;case It:case Ft:return t==e+"";case At:var s=O;case Wt:var l=a&ut;if(s||(s=N),t.size!=e.size&&!l)return!1;var d=o.get(t);return d?d==e:(a|=dt,o.set(t,e),Yr(s(t),s(e),i,r,a,o));case Ot:if(bu)return bu.call(t)==bu.call(e)}return!1}function Cr(t,e,n,i,r,a){var o=r&ut,s=il(t),l=s.length,d=il(e),u=d.length;if(l!=u&&!o)return!1;for(var c=l;c--;){var h=s[c];if(!(o?h in e:Gn(e,h)))return!1}var f=a.get(t);if(f)return f==e;var p=!0;a.set(t,e);for(var m=o;++c<l;){h=s[c];var _=t[h],g=e[h];if(i)var y=o?i(g,_,h,e,t,a):i(_,g,h,t,e,a);if(!(y===U?_===g||n(_,g,i,r,a):y)){p=!1;break}m||(m="constructor"==h)}if(p&&!m){var v=t.constructor,b=e.constructor;v!=b&&"constructor"in t&&"constructor"in e&&!("function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b)&&(p=!1)}return a["delete"](t),p}function Hr(t){return Un(t,il,Rr)}function Ar(t){return Un(t,rl,Cu)}function jr(t){for(var e=t.name+"",n=fu[e],i=Sd.call(fu,e)?n.length:0;i--;){var r=n[i],a=r.func;if(null==a||a==t)return r.name}return e}function Pr(t){var e=Sd.call(Ce,"placeholder")?Ce:t;return e.placeholder}function Er(){var t=Ce.iteratee||Ul;return t=t===Ul?ai:t,arguments.length?t(arguments[0],arguments[1]):t}function Ir(t,e){var n=t.__data__;return Kr(e)?n["string"==typeof e?"string":"hash"]:n.map}function Wr(t){for(var e=il(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,ia(r)]}return e}function Fr(t,e){var n=E(t,e);return ri(n)?n:U}function Or(t){return Jd(Object(t))}function Rr(t){return Rd(Object(t))}function Nr(t){return Ad.call(t)}function zr(t,e,n){for(var i=-1,r=n.length;++i<r;){var a=n[i],o=a.size;switch(a.type){case"drop":t+=o;break;case"dropRight":e-=o;break;case"take":e=Kd(e,t+o);break;case"takeRight":t=Zd(t,e-o)}}return{start:t,end:e}}function Br(t,e,n){e=Zr(e,t)?[e]:zi(e);for(var i,r=-1,a=e.length;++r<a;){var o=da(e[r]);if(!(i=null!=t&&n(t,o)))break;t=t[o]}if(i)return i;var a=t?t.length:0;return!!a&&_s(a)&&Xr(o,a)&&(_c(t)||Hs(t)||ns(t))}function $r(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&Sd.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Vr(t){return"function"!=typeof t.constructor||na(t)?{}:jn(Or(t))}function qr(t,e,n,i){var r=t.constructor;switch(e){case zt:return Vi(t);case Tt:case Yt:return new r(+t);case Bt:return qi(t,i);case $t:case Vt:case qt:case Ut:case Jt:case Gt:case Xt:case Qt:case Zt:return Qi(t,i);case At:return Ui(t,i,n);case jt:case Ft:return new r(t);case It:return Ji(t);case Wt:return Gi(t,i,n);case Ot:return Xi(t)}}function Ur(t){var e=t?t.length:U;return _s(e)&&(_c(t)||Hs(t)||ns(t))?k(e,String):null}function Jr(t){return _c(t)||ns(t)}function Gr(t){return _c(t)&&!(2==t.length&&!ps(t[0]))}function Xr(t,e){return e=null==e?vt:e,!!e&&("number"==typeof t||De.test(t))&&t>-1&&t%1==0&&e>t}function Qr(t,e,n){if(!gs(n))return!1;var i=typeof e;return("number"==i?rs(n)&&Xr(e,n.length):"string"==i&&e in n)?es(n[e],t):!1}function Zr(t,e){if(_c(t))return!1;var n=typeof t;return"number"==n||"symbol"==n||"boolean"==n||null==t||As(t)?!0:ue.test(t)||!de.test(t)||null!=e&&t in Object(e)}function Kr(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function ta(t){var e=jr(t),n=Ce[e];if("function"!=typeof n||!(e in je.prototype))return!1;if(t===n)return!0;var i=Yu(n);return!!i&&t===i[0]}function ea(t){return!!Td&&Td in t}function na(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||xd;return t===n}function ia(t){return t===t&&!gs(t)}function ra(t,e){return function(n){return null==n?!1:n[t]===e&&(e!==U||t in Object(n))}}function aa(t,e){var n=t[1],i=e[1],r=n|i,a=(K|tt|ot)>r,o=i==ot&&n==nt||i==ot&&n==st&&t[7].length<=e[8]||i==(ot|st)&&e[7].length<=e[8]&&n==nt;if(!a&&!o)return t;i&K&&(t[2]=e[2],r|=n&K?0:et);var s=e[3];if(s){var l=t[3];t[3]=l?tr(l,s,e[4]):s,t[4]=l?R(t[3],Z):e[4]}return s=e[5],s&&(l=t[5],t[5]=l?er(l,s,e[6]):s,t[6]=l?R(t[5],Z):e[6]),s=e[7],s&&(t[7]=s),i&ot&&(t[8]=null==t[8]?e[8]:Kd(t[8],e[8])),
null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r,t}function oa(t,e,n,i,r,a){return gs(t)&&gs(e)&&hi(t,e,U,oa,a.set(e,t)),t}function sa(t,e){return 1==e.length?t:qn(t,Di(e,0,-1))}function la(t,e){for(var n=t.length,i=Kd(e.length,n),r=nr(t);i--;){var a=e[i];t[i]=Xr(a,n)?r[a]:U}return t}function da(t){if("string"==typeof t||As(t))return t;var e=t+"";return"0"==e&&1/t==-yt?"-0":e}function ua(t){if(null!=t){try{return Yd.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function ca(t){if(t instanceof je)return t.clone();var e=new Ae(t.__wrapped__,t.__chain__);return e.__actions__=nr(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function ha(t,e,n){e=(n?Qr(t,e,n):e===U)?1:Zd(Os(e),0);var i=t?t.length:0;if(!i||1>e)return[];for(var r=0,a=0,o=Array(qd(i/e));i>r;)o[a++]=Di(t,r,r+=e);return o}function fa(t){for(var e=-1,n=t?t.length:0,i=0,r=[];++e<n;){var a=t[e];a&&(r[i++]=a)}return r}function pa(){for(var t=arguments.length,e=Array(t?t-1:0),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return t?c(_c(n)?nr(n):[n],zn(e,1)):[]}function ma(t,e,n){var i=t?t.length:0;return i?(e=n||e===U?1:Os(e),Di(t,0>e?0:e,i)):[]}function _a(t,e,n){var i=t?t.length:0;return i?(e=n||e===U?1:Os(e),e=i-e,Di(t,0,0>e?0:e)):[]}function ga(t,e){return t&&t.length?Ii(t,Er(e,3),!0,!0):[]}function ya(t,e){return t&&t.length?Ii(t,Er(e,3),!0):[]}function va(t,e,n,i){var r=t?t.length:0;return r?(n&&"number"!=typeof n&&Qr(t,e,n)&&(n=0,i=r),Rn(t,e,n,i)):[]}function ba(t,e,n){var i=t?t.length:0;if(!i)return-1;var r=null==n?0:Os(n);return 0>r&&(r=Zd(i+r,0)),_(t,Er(e,3),r)}function Ma(t,e,n){var i=t?t.length:0;if(!i)return-1;var r=i-1;return n!==U&&(r=Os(n),r=0>n?Zd(i+r,0):Kd(r,i-1)),_(t,Er(e,3),r,!0)}function wa(t){var e=t?t.length:0;return e?zn(t,1):[]}function ka(t){var e=t?t.length:0;return e?zn(t,yt):[]}function xa(t,e){var n=t?t.length:0;return n?(e=e===U?1:Os(e),zn(t,e)):[]}function La(t){for(var e=-1,n=t?t.length:0,i={};++e<n;){var r=t[e];i[r[0]]=r[1]}return i}function Da(t){return t&&t.length?t[0]:U}function Ta(t,e,n){var i=t?t.length:0;if(!i)return-1;var r=null==n?0:Os(n);return 0>r&&(r=Zd(i+r,0)),g(t,e,r)}function Ya(t){return _a(t,1)}function Sa(t,e){return t?Xd.call(t,e):""}function Ca(t){var e=t?t.length:0;return e?t[e-1]:U}function Ha(t,e,n){var i=t?t.length:0;if(!i)return-1;var r=i;if(n!==U&&(r=Os(n),r=(0>r?Zd(i+r,0):Kd(r,i-1))+1),e!==e)return I(t,r-1,!0);for(;r--;)if(t[r]===e)return r;return-1}function Aa(t,e){return t&&t.length?pi(t,Os(e)):U}function ja(t,e){return t&&t.length&&e&&e.length?bi(t,e):t}function Pa(t,e,n){return t&&t.length&&e&&e.length?bi(t,e,Er(n)):t}function Ea(t,e,n){return t&&t.length&&e&&e.length?bi(t,e,U,n):t}function Ia(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],a=t.length;for(e=Er(e,3);++i<a;){var o=t[i];e(o,i,t)&&(n.push(o),r.push(i))}return Mi(t,r),n}function Wa(t){return t?iu.call(t):t}function Fa(t,e,n){var i=t?t.length:0;return i?(n&&"number"!=typeof n&&Qr(t,e,n)?(e=0,n=i):(e=null==e?0:Os(e),n=n===U?i:Os(n)),Di(t,e,n)):[]}function Oa(t,e){return Yi(t,e)}function Ra(t,e,n){return Si(t,e,Er(n))}function Na(t,e){var n=t?t.length:0;if(n){var i=Yi(t,e);if(n>i&&es(t[i],e))return i}return-1}function za(t,e){return Yi(t,e,!0)}function Ba(t,e,n){return Si(t,e,Er(n),!0)}function $a(t,e){var n=t?t.length:0;if(n){var i=Yi(t,e,!0)-1;if(es(t[i],e))return i}return-1}function Va(t){return t&&t.length?Ci(t):[]}function qa(t,e){return t&&t.length?Ci(t,Er(e)):[]}function Ua(t){return ma(t,1)}function Ja(t,e,n){return t&&t.length?(e=n||e===U?1:Os(e),Di(t,0,0>e?0:e)):[]}function Ga(t,e,n){var i=t?t.length:0;return i?(e=n||e===U?1:Os(e),e=i-e,Di(t,0>e?0:e,i)):[]}function Xa(t,e){return t&&t.length?Ii(t,Er(e,3),!1,!0):[]}function Qa(t,e){return t&&t.length?Ii(t,Er(e,3)):[]}function Za(t){return t&&t.length?ji(t):[]}function Ka(t,e){return t&&t.length?ji(t,Er(e)):[]}function to(t,e){return t&&t.length?ji(t,U,e):[]}function eo(t){if(!t||!t.length)return[];var e=0;return t=s(t,function(t){return as(t)?(e=Zd(t.length,e),!0):void 0}),k(e,function(e){return u(t,yi(e))})}function no(t,e){if(!t||!t.length)return[];var i=eo(t);return null==e?i:u(i,function(t){return n(e,U,t)})}function io(t,e){return Oi(t||[],e||[],fn)}function ro(t,e){return Oi(t||[],e||[],Li)}function ao(t){var e=Ce(t);return e.__chain__=!0,e}function oo(t,e){return e(t),t}function so(t,e){return e(t)}function lo(){return ao(this)}function uo(){return new Ae(this.value(),this.__chain__)}function co(){this.__values__===U&&(this.__values__=Ws(this.value()));var t=this.__index__>=this.__values__.length,e=t?U:this.__values__[this.__index__++];return{done:t,value:e}}function ho(){return this}function fo(t){for(var e,n=this;n instanceof He;){var i=ca(n);i.__index__=0,i.__values__=U,e?r.__wrapped__=i:e=i;var r=i;n=n.__wrapped__}return r.__wrapped__=t,e}function po(){var t=this.__wrapped__;if(t instanceof je){var e=t;return this.__actions__.length&&(e=new je(this)),e=e.reverse(),e.__actions__.push({func:so,args:[Wa],thisArg:U}),new Ae(e,this.__chain__)}return this.thru(Wa)}function mo(){return Wi(this.__wrapped__,this.__actions__)}function _o(t,e,n){var i=_c(t)?o:Fn;return n&&Qr(t,e,n)&&(e=U),i(t,Er(e,3))}function go(t,e){var n=_c(t)?s:Nn;return n(t,Er(e,3))}function yo(t,e){return zn(xo(t,e),1)}function vo(t,e){return zn(xo(t,e),yt)}function bo(t,e,n){return n=n===U?1:Os(n),zn(xo(t,e),n)}function Mo(t,e){var n=_c(t)?r:wu;return n(t,Er(e,3))}function wo(t,e){var n=_c(t)?a:ku;return n(t,Er(e,3))}function ko(t,e,n,i){t=rs(t)?t:_l(t),n=n&&!i?Os(n):0;var r=t.length;return 0>n&&(n=Zd(r+n,0)),Hs(t)?r>=n&&t.indexOf(e,n)>-1:!!r&&g(t,e,n)>-1}function xo(t,e){var n=_c(t)?u:di;return n(t,Er(e,3))}function Lo(t,e,n,i){return null==t?[]:(_c(e)||(e=null==e?[]:[e]),n=i?U:n,_c(n)||(n=null==n?[]:[n]),mi(t,e,n))}function Do(t,e,n){var i=_c(t)?h:b,r=arguments.length<3;return i(t,Er(e,4),n,r,wu)}function To(t,e,n){var i=_c(t)?f:b,r=arguments.length<3;return i(t,Er(e,4),n,r,ku)}function Yo(t,e){var n=_c(t)?s:Nn;return e=Er(e,3),n(t,function(t,n,i){return!e(t,n,i)})}function So(t){var e=rs(t)?t:_l(t),n=e.length;return n>0?e[wi(0,n-1)]:U}function Co(t,e,n){var i=-1,r=Ws(t),a=r.length,o=a-1;for(e=(n?Qr(t,e,n):e===U)?1:Tn(Os(e),0,a);++i<e;){var s=wi(i,o),l=r[s];r[s]=r[i],r[i]=l}return r.length=e,r}function Ho(t){return Co(t,wt)}function Ao(t){if(null==t)return 0;if(rs(t)){var e=t.length;return e&&Hs(t)?B(t):e}if(ys(t)){var n=Nr(t);if(n==At||n==Wt)return t.size}return il(t).length}function jo(t,e,n){var i=_c(t)?p:Ti;return n&&Qr(t,e,n)&&(e=U),i(t,Er(e,3))}function Po(){return yd.now()}function Eo(t,e){if("function"!=typeof e)throw new wd(X);return t=Os(t),function(){return--t<1?e.apply(this,arguments):void 0}}function Io(t,e,n){return e=n?U:e,e=t&&null==e?t.length:e,Tr(t,ot,U,U,U,U,e)}function Wo(t,e){var n;if("function"!=typeof e)throw new wd(X);return t=Os(t),function(){return--t>0&&(n=e.apply(this,arguments)),1>=t&&(e=U),n}}function Fo(t,e,n){e=n?U:e;var i=Tr(t,nt,U,U,U,U,U,e);return i.placeholder=Fo.placeholder,i}function Oo(t,e,n){e=n?U:e;var i=Tr(t,it,U,U,U,U,U,e);return i.placeholder=Oo.placeholder,i}function Ro(t,e,n){function i(e){var n=h,i=f;return h=f=U,y=e,m=t.apply(i,n)}function r(t){return y=t,_=Vd(s,e),v?i(t):m}function a(t){var n=t-g,i=t-y,r=e-n;return b?Kd(r,p-i):r}function o(t){var n=t-g,i=t-y;return g===U||n>=e||0>n||b&&i>=p}function s(){var t=Po();return o(t)?l(t):void(_=Vd(s,a(t)))}function l(t){return _=U,M&&h?i(t):(h=f=U,m)}function d(){y=0,h=g=f=_=U}function u(){return _===U?m:l(Po())}function c(){var t=Po(),n=o(t);if(h=arguments,f=this,g=t,n){if(_===U)return r(g);if(b)return _=Vd(s,e),i(g)}return _===U&&(_=Vd(s,e)),m}var h,f,p,m,_,g,y=0,v=!1,b=!1,M=!0;if("function"!=typeof t)throw new wd(X);return e=Ns(e)||0,gs(n)&&(v=!!n.leading,b="maxWait"in n,p=b?Zd(Ns(n.maxWait)||0,e):p,M="trailing"in n?!!n.trailing:M),c.cancel=d,c.flush=u,c}function No(t){return Tr(t,lt)}function zo(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new wd(X);var n=function(){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),o};return n.cache=new(zo.Cache||Ge),n}function Bo(t){if("function"!=typeof t)throw new wd(X);return function(){return!t.apply(this,arguments)}}function $o(t){return Wo(2,t)}function Vo(t,e){if("function"!=typeof t)throw new wd(X);return e=Zd(e===U?t.length-1:Os(e),0),function(){for(var i=arguments,r=-1,a=Zd(i.length-e,0),o=Array(a);++r<a;)o[r]=i[e+r];switch(e){case 0:return t.call(this,o);case 1:return t.call(this,i[0],o);case 2:return t.call(this,i[0],i[1],o)}var s=Array(e+1);for(r=-1;++r<e;)s[r]=i[r];return s[e]=o,n(t,this,s)}}function qo(t,e){if("function"!=typeof t)throw new wd(X);return e=e===U?0:Zd(Os(e),0),Vo(function(i){var r=i[e],a=Bi(i,0,e);return r&&c(a,r),n(t,this,a)})}function Uo(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new wd(X);return gs(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Ro(t,e,{leading:i,maxWait:e,trailing:r})}function Jo(t){return Io(t,1)}function Go(t,e){return e=null==e?ql:e,cc(e,t)}function Xo(){if(!arguments.length)return[];var t=arguments[0];return _c(t)?t:[t]}function Qo(t){return Cn(t,!1,!0)}function Zo(t,e){return Cn(t,!1,!0,e)}function Ko(t){return Cn(t,!0,!0)}function ts(t,e){return Cn(t,!0,!0,e)}function es(t,e){return t===e||t!==t&&e!==e}function ns(t){return as(t)&&Sd.call(t,"callee")&&(!Bd.call(t,"callee")||Ad.call(t)==Lt)}function is(t){return ys(t)&&Ad.call(t)==zt}function rs(t){return null!=t&&_s(Su(t))&&!ps(t)}function as(t){return ys(t)&&rs(t)}function os(t){return t===!0||t===!1||ys(t)&&Ad.call(t)==Tt}function ss(t){return ys(t)&&Ad.call(t)==Yt}function ls(t){return!!t&&1===t.nodeType&&ys(t)&&!Ts(t)}function ds(t){if(rs(t)&&(_c(t)||Hs(t)||ps(t.splice)||ns(t)||gc(t)))return!t.length;if(ys(t)){var e=Nr(t);if(e==At||e==Wt)return!t.size}for(var n in t)if(Sd.call(t,n))return!1;return!(hu&&il(t).length)}function us(t,e){return ei(t,e)}function cs(t,e,n){n="function"==typeof n?n:U;var i=n?n(t,e):U;return i===U?ei(t,e,n):!!i}function hs(t){return ys(t)?Ad.call(t)==St||"string"==typeof t.message&&"string"==typeof t.name:!1}function fs(t){return"number"==typeof t&&Gd(t)}function ps(t){var e=gs(t)?Ad.call(t):"";return e==Ct||e==Ht}function ms(t){return"number"==typeof t&&t==Os(t)}function _s(t){return"number"==typeof t&&t>-1&&t%1==0&&vt>=t}function gs(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function ys(t){return!!t&&"object"==typeof t}function vs(t){return ys(t)&&Nr(t)==At}function bs(t,e){return t===e||ii(t,e,Wr(e))}function Ms(t,e,n){return n="function"==typeof n?n:U,ii(t,e,Wr(e),n)}function ws(t){return Ds(t)&&t!=+t}function ks(t){if(Hu(t))throw new vd("This method is not supported with `core-js`. Try https://github.com/es-shims.");return ri(t)}function xs(t){return null===t}function Ls(t){return null==t}function Ds(t){return"number"==typeof t||ys(t)&&Ad.call(t)==jt}function Ts(t){if(!ys(t)||Ad.call(t)!=Pt||W(t))return!1;var e=Or(t);if(null===e)return!0;var n=Sd.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Yd.call(n)==Hd}function Ys(t){return gs(t)&&Ad.call(t)==It}function Ss(t){return ms(t)&&t>=-vt&&vt>=t}function Cs(t){return ys(t)&&Nr(t)==Wt}function Hs(t){return"string"==typeof t||!_c(t)&&ys(t)&&Ad.call(t)==Ft}function As(t){return"symbol"==typeof t||ys(t)&&Ad.call(t)==Ot}function js(t){return ys(t)&&_s(t.length)&&!!wn[Ad.call(t)]}function Ps(t){return t===U}function Es(t){return ys(t)&&Nr(t)==Rt}function Is(t){return ys(t)&&Ad.call(t)==Nt}function Ws(t){if(!t)return[];if(rs(t))return Hs(t)?$(t):nr(t);if(Nd&&t[Nd])return F(t[Nd]());var e=Nr(t),n=e==At?O:e==Wt?N:_l;return n(t)}function Fs(t){if(!t)return 0===t?t:0;if(t=Ns(t),t===yt||t===-yt){var e=0>t?-1:1;return e*bt}return t===t?t:0}function Os(t){var e=Fs(t),n=e%1;return e===e?n?e-n:e:0}function Rs(t){return t?Tn(Os(t),0,wt):0}function Ns(t){if("number"==typeof t)return t;if(As(t))return Mt;if(gs(t)){var e=ps(t.valueOf)?t.valueOf():t;t=gs(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(pe,"");var n=ke.test(t);return n||Le.test(t)?Sn(t.slice(2),n?2:8):we.test(t)?Mt:+t}function zs(t){return ir(t,rl(t))}function Bs(t){return Tn(Os(t),-vt,vt)}function $s(t){return null==t?"":Ai(t)}function Vs(t,e){var n=jn(t);return e?Ln(n,e):n}function qs(t,e){return m(t,Er(e,3),Bn)}function Us(t,e){return m(t,Er(e,3),$n)}function Js(t,e){return null==t?t:xu(t,Er(e,3),rl)}function Gs(t,e){return null==t?t:Lu(t,Er(e,3),rl)}function Xs(t,e){return t&&Bn(t,Er(e,3))}function Qs(t,e){return t&&$n(t,Er(e,3))}function Zs(t){return null==t?[]:Vn(t,il(t))}function Ks(t){return null==t?[]:Vn(t,rl(t))}function tl(t,e,n){var i=null==t?U:qn(t,e);return i===U?n:i}function el(t,e){return null!=t&&Br(t,e,Gn)}function nl(t,e){return null!=t&&Br(t,e,Xn)}function il(t){var e=na(t);if(!e&&!rs(t))return oi(t);var n=Ur(t),i=!!n,r=n||[],a=r.length;for(var o in t)!Gn(t,o)||i&&("length"==o||Xr(o,a))||e&&"constructor"==o||r.push(o);return r}function rl(t){for(var e=-1,n=na(t),i=si(t),r=i.length,a=Ur(t),o=!!a,s=a||[],l=s.length;++e<r;){var d=i[e];o&&("length"==d||Xr(d,l))||"constructor"==d&&(n||!Sd.call(t,d))||s.push(d)}return s}function al(t,e){var n={};return e=Er(e,3),Bn(t,function(t,i,r){n[e(t,i,r)]=t}),n}function ol(t,e){var n={};return e=Er(e,3),Bn(t,function(t,i,r){n[i]=e(t,i,r)}),n}function sl(t,e){return e=Er(e),gi(t,function(t,n){return!e(t,n)})}function ll(t,e){return null==t?{}:gi(t,Er(e))}function dl(t,e,n){e=Zr(e,t)?[e]:zi(e);var i=-1,r=e.length;for(r||(t=U,r=1);++i<r;){var a=null==t?U:t[da(e[i])];a===U&&(i=r,a=n),t=ps(a)?a.call(t):a}return t}function ul(t,e,n){return null==t?t:Li(t,e,n)}function cl(t,e,n,i){return i="function"==typeof i?i:U,null==t?t:Li(t,e,n,i)}function hl(t,e,n){var i=_c(t)||js(t);if(e=Er(e,4),null==n)if(i||gs(t)){var a=t.constructor;n=i?_c(t)?new a:[]:ps(a)?jn(Or(t)):{}}else n={};return(i?r:Bn)(t,function(t,i,r){return e(n,t,i,r)}),n}function fl(t,e){return null==t?!0:Pi(t,e)}function pl(t,e,n){return null==t?t:Ei(t,e,Ni(n))}function ml(t,e,n,i){return i="function"==typeof i?i:U,null==t?t:Ei(t,e,Ni(n),i)}function _l(t){return t?D(t,il(t)):[]}function gl(t){return null==t?[]:D(t,rl(t))}function yl(t,e,n){return n===U&&(n=e,e=U),n!==U&&(n=Ns(n),n=n===n?n:0),e!==U&&(e=Ns(e),e=e===e?e:0),Tn(Ns(t),e,n)}function vl(t,e,n){return e=Ns(e)||0,n===U?(n=e,e=0):n=Ns(n)||0,t=Ns(t),Qn(t,e,n)}function bl(t,e,n){if(n&&"boolean"!=typeof n&&Qr(t,e,n)&&(e=n=U),n===U&&("boolean"==typeof e?(n=e,e=U):"boolean"==typeof t&&(n=t,t=U)),t===U&&e===U?(t=0,e=1):(t=Ns(t)||0,e===U?(e=t,t=0):e=Ns(e)||0),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var r=eu();return Kd(t+r*(e-t+Yn("1e-"+((r+"").length-1))),e)}return wi(t,e)}function Ml(t){return Bc($s(t).toLowerCase())}function wl(t){return t=$s(t),t&&t.replace(Te,A).replace(mn,"")}function kl(t,e,n){t=$s(t),e=Ai(e);var i=t.length;return n=n===U?i:Tn(Os(n),0,i),n-=e.length,n>=0&&t.indexOf(e,n)==n}function xl(t){return t=$s(t),t&&ae.test(t)?t.replace(ie,j):t}function Ll(t){return t=$s(t),t&&fe.test(t)?t.replace(he,"\\$&"):t}function Dl(t,e,n){t=$s(t),e=Os(e);var i=e?B(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return br(Ud(r),n)+t+br(qd(r),n)}function Tl(t,e,n){t=$s(t),e=Os(e);var i=e?B(t):0;return e&&e>i?t+br(e-i,n):t}function Yl(t,e,n){t=$s(t),e=Os(e);var i=e?B(t):0;return e&&e>i?br(e-i,n)+t:t}function Sl(t,e,n){return n||null==e?e=0:e&&(e=+e),t=$s(t).replace(pe,""),tu(t,e||(Me.test(t)?16:10))}function Cl(t,e,n){return e=(n?Qr(t,e,n):e===U)?1:Os(e),xi($s(t),e)}function Hl(){var t=arguments,e=$s(t[0]);return t.length<3?e:nu.call(e,t[1],t[2])}function Al(t,e,n){return n&&"number"!=typeof n&&Qr(t,e,n)&&(e=n=U),(n=n===U?wt:n>>>0)?(t=$s(t),t&&("string"==typeof e||null!=e&&!Ys(e))&&(e=Ai(e),""==e&&yn.test(t))?Bi($(t),0,n):ru.call(t,e,n)):[]}function jl(t,e,n){return t=$s(t),n=Tn(Os(n),0,t.length),t.lastIndexOf(Ai(e),n)==n}function Pl(t,e,n){var i=Ce.templateSettings;n&&Qr(t,e,n)&&(e=U),t=$s(t),e=wc({},e,i,cn);var r,a,o=wc({},e.imports,i.imports,cn),s=il(o),l=D(o,s),d=0,u=e.interpolate||Ye,c="__p += '",h=Md((e.escape||Ye).source+"|"+u.source+"|"+(u===le?ve:Ye).source+"|"+(e.evaluate||Ye).source+"|$","g"),f="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++Mn+"]")+"\n";t.replace(h,function(e,n,i,o,s,l){return i||(i=o),c+=t.slice(d,l).replace(Se,P),n&&(r=!0,c+="' +\n__e("+n+") +\n'"),s&&(a=!0,c+="';\n"+s+";\n__p += '"),i&&(c+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),d=l+e.length,e}),c+="';\n";var p=e.variable;p||(c="with (obj) {\n"+c+"\n}\n"),c=(a?c.replace(Kt,""):c).replace(te,"$1").replace(ee,"$1;"),c="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+c+"return __p\n}";var m=$c(function(){return Function(s,f+"return "+c).apply(U,l)});if(m.source=c,hs(m))throw m;return m}function El(t){return $s(t).toLowerCase()}function Il(t){return $s(t).toUpperCase()}function Wl(t,e,n){if(t=$s(t),t&&(n||e===U))return t.replace(pe,"");if(!t||!(e=Ai(e)))return t;var i=$(t),r=$(e),a=Y(i,r),o=S(i,r)+1;return Bi(i,a,o).join("")}function Fl(t,e,n){if(t=$s(t),t&&(n||e===U))return t.replace(_e,"");if(!t||!(e=Ai(e)))return t;var i=$(t),r=S(i,$(e))+1;return Bi(i,0,r).join("")}function Ol(t,e,n){if(t=$s(t),t&&(n||e===U))return t.replace(me,"");if(!t||!(e=Ai(e)))return t;var i=$(t),r=Y(i,$(e));return Bi(i,r).join("")}function Rl(t,e){var n=ct,i=ht;if(gs(e)){var r="separator"in e?e.separator:r;n="length"in e?Os(e.length):n,i="omission"in e?Ai(e.omission):i}t=$s(t);var a=t.length;if(yn.test(t)){var o=$(t);a=o.length}if(n>=a)return t;var s=n-B(i);if(1>s)return i;var l=o?Bi(o,0,s).join(""):t.slice(0,s);if(r===U)return l+i;if(o&&(s+=l.length-s),Ys(r)){if(t.slice(s).search(r)){var d,u=l;for(r.global||(r=Md(r.source,$s(be.exec(r))+"g")),r.lastIndex=0;d=r.exec(u);)var c=d.index;l=l.slice(0,c===U?s:c)}}else if(t.indexOf(Ai(r),s)!=s){var h=l.lastIndexOf(r);h>-1&&(l=l.slice(0,h))}return l+i}function Nl(t){return t=$s(t),t&&re.test(t)?t.replace(ne,V):t}function zl(t,e,n){return t=$s(t),e=n?U:e,e===U&&(e=vn.test(t)?gn:ge),t.match(e)||[]}function Bl(t){var e=t?t.length:0,i=Er();return t=e?u(t,function(t){if("function"!=typeof t[1])throw new wd(X);return[i(t[0]),t[1]]}):[],Vo(function(i){for(var r=-1;++r<e;){var a=t[r];if(n(a[0],this,i))return n(a[1],this,i)}})}function $l(t){return Hn(Cn(t,!0))}function Vl(t){return function(){return t}}function ql(t){return t}function Ul(t){return ai("function"==typeof t?t:Cn(t,!0))}function Jl(t){return ui(Cn(t,!0))}function Gl(t,e){return ci(t,Cn(e,!0))}function Xl(t,e,n){var i=il(e),a=Vn(e,i);null!=n||gs(e)&&(a.length||!i.length)||(n=e,e=t,t=this,a=Vn(e,il(e)));var o=!(gs(n)&&"chain"in n&&!n.chain),s=ps(t);return r(a,function(n){var i=e[n];t[n]=i,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),r=n.__actions__=nr(this.__actions__);return r.push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,c([this.value()],arguments))})}),t}function Ql(){return In._===this&&(In._=jd),this}function Zl(){}function Kl(t){return t=Os(t),Vo(function(e){return pi(e,t)})}function td(t){return Zr(t)?yi(da(t)):vi(t)}function ed(t){return function(e){return null==t?U:qn(t,e)}}function nd(){return[]}function id(){return!1}function rd(){return{}}function ad(){return""}function od(){return!0}function sd(t,e){if(t=Os(t),1>t||t>vt)return[];var n=wt,i=Kd(t,wt);e=Er(e),t-=wt;for(var r=k(i,e);++n<t;)e(n);return r}function ld(t){return _c(t)?u(t,da):As(t)?[t]:nr(ju(t))}function dd(t){var e=++Cd;return $s(t)+e}function ud(t){return t&&t.length?On(t,ql,Jn):U}function cd(t,e){return t&&t.length?On(t,Er(e),Jn):U}function hd(t){return v(t,ql)}function fd(t,e){return v(t,Er(e))}function pd(t){return t&&t.length?On(t,ql,li):U}function md(t,e){return t&&t.length?On(t,Er(e),li):U}function _d(t){return t&&t.length?w(t,ql):0}function gd(t,e){return t&&t.length?w(t,Er(e)):0}C=C?Wn.defaults({},C,Wn.pick(In,bn)):In;var yd=C.Date,vd=C.Error,bd=C.Math,Md=C.RegExp,wd=C.TypeError,kd=C.Array.prototype,xd=C.Object.prototype,Ld=C.String.prototype,Dd=C["__core-js_shared__"],Td=function(){var t=/[^.]+$/.exec(Dd&&Dd.keys&&Dd.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Yd=C.Function.prototype.toString,Sd=xd.hasOwnProperty,Cd=0,Hd=Yd.call(Object),Ad=xd.toString,jd=In._,Pd=Md("^"+Yd.call(Sd).replace(he,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ed=An?C.Buffer:U,Id=C.Reflect,Wd=C.Symbol,Fd=C.Uint8Array,Od=Id?Id.enumerate:U,Rd=Object.getOwnPropertySymbols,Nd="symbol"==typeof(Nd=Wd&&Wd.iterator)?Nd:U,zd=Object.create,Bd=xd.propertyIsEnumerable,$d=kd.splice,Vd=function(t,e){return C.setTimeout.call(In,t,e)},qd=bd.ceil,Ud=bd.floor,Jd=Object.getPrototypeOf,Gd=C.isFinite,Xd=kd.join,Qd=Object.keys,Zd=bd.max,Kd=bd.min,tu=C.parseInt,eu=bd.random,nu=Ld.replace,iu=kd.reverse,ru=Ld.split,au=Fr(C,"DataView"),ou=Fr(C,"Map"),su=Fr(C,"Promise"),lu=Fr(C,"Set"),du=Fr(C,"WeakMap"),uu=Fr(Object,"create"),cu=du&&new du,hu=!Bd.call({valueOf:1},"valueOf"),fu={},pu=ua(au),mu=ua(ou),_u=ua(su),gu=ua(lu),yu=ua(du),vu=Wd?Wd.prototype:U,bu=vu?vu.valueOf:U,Mu=vu?vu.toString:U;Ce.templateSettings={escape:oe,evaluate:se,interpolate:le,variable:"",imports:{_:Ce}},Ce.prototype=He.prototype,Ce.prototype.constructor=Ce,Ae.prototype=jn(He.prototype),Ae.prototype.constructor=Ae,je.prototype=jn(He.prototype),je.prototype.constructor=je,We.prototype.clear=Fe,We.prototype["delete"]=Oe,We.prototype.get=Re,We.prototype.has=Ne,We.prototype.set=ze,Be.prototype.clear=$e,Be.prototype["delete"]=Ve,Be.prototype.get=qe,Be.prototype.has=Ue,Be.prototype.set=Je,Ge.prototype.clear=Xe,Ge.prototype["delete"]=Qe,Ge.prototype.get=Ze,Ge.prototype.has=Ke,Ge.prototype.set=tn,en.prototype.add=en.prototype.push=nn,en.prototype.has=rn,an.prototype.clear=on,an.prototype["delete"]=sn,an.prototype.get=ln,an.prototype.has=dn,an.prototype.set=un;var wu=sr(Bn),ku=sr($n,!0),xu=lr(),Lu=lr(!0);Od&&!Bd.call({valueOf:1},"valueOf")&&(si=function(t){return F(Od(t))});var Du=cu?function(t,e){return cu.set(t,e),t}:ql,Tu=lu&&1/N(new lu([,-0]))[1]==yt?function(t){return new lu(t)}:Zl,Yu=cu?function(t){return cu.get(t)}:Zl,Su=yi("length");Rd||(Rr=nd);var Cu=Rd?function(t){for(var e=[];t;)c(e,Rr(t)),t=Or(t);return e}:Rr;(au&&Nr(new au(new ArrayBuffer(1)))!=Bt||ou&&Nr(new ou)!=At||su&&Nr(su.resolve())!=Et||lu&&Nr(new lu)!=Wt||du&&Nr(new du)!=Rt)&&(Nr=function(t){var e=Ad.call(t),n=e==Pt?t.constructor:U,i=n?ua(n):U;if(i)switch(i){case pu:return Bt;case mu:return At;case _u:return Et;case gu:return Wt;case yu:return Rt}return e});var Hu=Dd?ps:id,Au=function(){var t=0,e=0;return function(n,i){var r=Po(),a=pt-(r-e);if(e=r,a>0){if(++t>=ft)return n}else t=0;return Du(n,i)}}(),ju=zo(function(t){var e=[];return $s(t).replace(ce,function(t,n,i,r){e.push(i?r.replace(ye,"$1"):n||t)}),e}),Pu=Vo(function(t,e){return as(t)?En(t,zn(e,1,as,!0)):[]}),Eu=Vo(function(t,e){var n=Ca(e);return as(n)&&(n=U),as(t)?En(t,zn(e,1,as,!0),Er(n)):[]}),Iu=Vo(function(t,e){var n=Ca(e);return as(n)&&(n=U),as(t)?En(t,zn(e,1,as,!0),U,n):[]}),Wu=Vo(function(t){var e=u(t,Ri);return e.length&&e[0]===t[0]?Zn(e):[]}),Fu=Vo(function(t){var e=Ca(t),n=u(t,Ri);return e===Ca(n)?e=U:n.pop(),n.length&&n[0]===t[0]?Zn(n,Er(e)):[]}),Ou=Vo(function(t){var e=Ca(t),n=u(t,Ri);return e===Ca(n)?e=U:n.pop(),n.length&&n[0]===t[0]?Zn(n,U,e):[]}),Ru=Vo(ja),Nu=Vo(function(t,e){e=zn(e,1);var n=t?t.length:0,i=Dn(t,e);return Mi(t,u(e,function(t){return Xr(t,n)?+t:t}).sort(Zi)),i}),zu=Vo(function(t){return ji(zn(t,1,as,!0))}),Bu=Vo(function(t){var e=Ca(t);return as(e)&&(e=U),ji(zn(t,1,as,!0),Er(e))}),$u=Vo(function(t){var e=Ca(t);return as(e)&&(e=U),ji(zn(t,1,as,!0),U,e)}),Vu=Vo(function(t,e){return as(t)?En(t,e):[]}),qu=Vo(function(t){return Fi(s(t,as))}),Uu=Vo(function(t){var e=Ca(t);return as(e)&&(e=U),Fi(s(t,as),Er(e))}),Ju=Vo(function(t){var e=Ca(t);return as(e)&&(e=U),Fi(s(t,as),U,e)}),Gu=Vo(eo),Xu=Vo(function(t){var e=t.length,n=e>1?t[e-1]:U;return n="function"==typeof n?(t.pop(),n):U,no(t,n)}),Qu=Vo(function(t){t=zn(t,1);var e=t.length,n=e?t[0]:0,i=this.__wrapped__,r=function(e){return Dn(e,t)};return!(e>1||this.__actions__.length)&&i instanceof je&&Xr(n)?(i=i.slice(n,+n+(e?1:0)),i.__actions__.push({func:so,args:[r],thisArg:U}),new Ae(i,this.__chain__).thru(function(t){return e&&!t.length&&t.push(U),t})):this.thru(r)}),Zu=ar(function(t,e,n){Sd.call(t,n)?++t[n]:t[n]=1}),Ku=pr(ba),tc=pr(Ma),ec=ar(function(t,e,n){Sd.call(t,n)?t[n].push(e):t[n]=[e]}),nc=Vo(function(t,e,i){var r=-1,a="function"==typeof e,o=Zr(e),s=rs(t)?Array(t.length):[];return wu(t,function(t){var l=a?e:o&&null!=t?t[e]:U;s[++r]=l?n(l,t,i):ti(t,e,i)}),s}),ic=ar(function(t,e,n){t[n]=e}),rc=ar(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),ac=Vo(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Qr(t,e[0],e[1])?e=[]:n>2&&Qr(e[0],e[1],e[2])&&(e=[e[0]]),e=1==e.length&&_c(e[0])?e[0]:zn(e,1,Gr),mi(t,e,[])}),oc=Vo(function(t,e,n){var i=K;if(n.length){var r=R(n,Pr(oc));i|=rt}return Tr(t,i,e,n,r)}),sc=Vo(function(t,e,n){var i=K|tt;if(n.length){var r=R(n,Pr(sc));i|=rt}return Tr(e,i,t,n,r)}),lc=Vo(function(t,e){return Pn(t,1,e)}),dc=Vo(function(t,e,n){return Pn(t,Ns(e)||0,n)});zo.Cache=Ge;var uc=Vo(function(t,e){e=1==e.length&&_c(e[0])?u(e[0],L(Er())):u(zn(e,1,Gr),L(Er()));var i=e.length;return Vo(function(r){for(var a=-1,o=Kd(r.length,i);++a<o;)r[a]=e[a].call(this,r[a]);return n(t,this,r)})}),cc=Vo(function(t,e){var n=R(e,Pr(cc));return Tr(t,rt,U,e,n)}),hc=Vo(function(t,e){var n=R(e,Pr(hc));return Tr(t,at,U,e,n)}),fc=Vo(function(t,e){return Tr(t,st,U,U,U,zn(e,1))}),pc=kr(Jn),mc=kr(function(t,e){return t>=e}),_c=Array.isArray,gc=Ed?function(t){return t instanceof Ed}:id,yc=kr(li),vc=kr(function(t,e){return e>=t}),bc=or(function(t,e){if(hu||na(e)||rs(e))return void ir(e,il(e),t);for(var n in e)Sd.call(e,n)&&fn(t,n,e[n])}),Mc=or(function(t,e){if(hu||na(e)||rs(e))return void ir(e,rl(e),t);for(var n in e)fn(t,n,e[n])}),wc=or(function(t,e,n,i){ir(e,rl(e),t,i)}),kc=or(function(t,e,n,i){ir(e,il(e),t,i)}),xc=Vo(function(t,e){return Dn(t,zn(e,1))}),Lc=Vo(function(t){return t.push(U,cn),n(wc,U,t)}),Dc=Vo(function(t){return t.push(U,oa),n(Hc,U,t)}),Tc=gr(function(t,e,n){t[e]=n},Vl(ql)),Yc=gr(function(t,e,n){Sd.call(t,e)?t[e].push(n):t[e]=[n]},Er),Sc=Vo(ti),Cc=or(function(t,e,n){hi(t,e,n)}),Hc=or(function(t,e,n,i){hi(t,e,n,i)}),Ac=Vo(function(t,e){return null==t?{}:(e=u(zn(e,1),da),_i(t,En(Ar(t),e)))}),jc=Vo(function(t,e){return null==t?{}:_i(t,u(zn(e,1),da))}),Pc=Dr(il),Ec=Dr(rl),Ic=cr(function(t,e,n){return e=e.toLowerCase(),t+(n?Ml(e):e)}),Wc=cr(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Fc=cr(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Oc=ur("toLowerCase"),Rc=cr(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Nc=cr(function(t,e,n){return t+(n?" ":"")+Bc(e)}),zc=cr(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Bc=ur("toUpperCase"),$c=Vo(function(t,e){try{return n(t,U,e)}catch(i){return hs(i)?i:new vd(i)}}),Vc=Vo(function(t,e){return r(zn(e,1),function(e){e=da(e),t[e]=oc(t[e],t)}),t}),qc=mr(),Uc=mr(!0),Jc=Vo(function(t,e){return function(n){return ti(n,t,e)}}),Gc=Vo(function(t,e){return function(n){return ti(t,n,e)}}),Xc=vr(u),Qc=vr(o),Zc=vr(p),Kc=wr(),th=wr(!0),eh=yr(function(t,e){return t+e}),nh=Lr("ceil"),ih=yr(function(t,e){return t/e}),rh=Lr("floor"),ah=yr(function(t,e){return t*e}),oh=Lr("round"),sh=yr(function(t,e){return t-e});return Ce.after=Eo,Ce.ary=Io,Ce.assign=bc,Ce.assignIn=Mc,Ce.assignInWith=wc,Ce.assignWith=kc,Ce.at=xc,Ce.before=Wo,Ce.bind=oc,Ce.bindAll=Vc,Ce.bindKey=sc,Ce.castArray=Xo,Ce.chain=ao,Ce.chunk=ha,Ce.compact=fa,Ce.concat=pa,Ce.cond=Bl,Ce.conforms=$l,Ce.constant=Vl,Ce.countBy=Zu,Ce.create=Vs,Ce.curry=Fo,Ce.curryRight=Oo,Ce.debounce=Ro,Ce.defaults=Lc,Ce.defaultsDeep=Dc,Ce.defer=lc,Ce.delay=dc,Ce.difference=Pu,Ce.differenceBy=Eu,Ce.differenceWith=Iu,Ce.drop=ma,Ce.dropRight=_a,Ce.dropRightWhile=ga,Ce.dropWhile=ya,Ce.fill=va,Ce.filter=go,Ce.flatMap=yo,Ce.flatMapDeep=vo,Ce.flatMapDepth=bo,Ce.flatten=wa,Ce.flattenDeep=ka,Ce.flattenDepth=xa,Ce.flip=No,Ce.flow=qc,Ce.flowRight=Uc,Ce.fromPairs=La,Ce.functions=Zs,Ce.functionsIn=Ks,Ce.groupBy=ec,Ce.initial=Ya,Ce.intersection=Wu,Ce.intersectionBy=Fu,Ce.intersectionWith=Ou,Ce.invert=Tc,Ce.invertBy=Yc,Ce.invokeMap=nc,Ce.iteratee=Ul,Ce.keyBy=ic,Ce.keys=il,Ce.keysIn=rl,Ce.map=xo,Ce.mapKeys=al,Ce.mapValues=ol,Ce.matches=Jl,Ce.matchesProperty=Gl,Ce.memoize=zo,Ce.merge=Cc,Ce.mergeWith=Hc,Ce.method=Jc,Ce.methodOf=Gc,Ce.mixin=Xl,Ce.negate=Bo,Ce.nthArg=Kl,Ce.omit=Ac,Ce.omitBy=sl,Ce.once=$o,Ce.orderBy=Lo,Ce.over=Xc,Ce.overArgs=uc,Ce.overEvery=Qc,Ce.overSome=Zc,Ce.partial=cc,Ce.partialRight=hc,Ce.partition=rc,Ce.pick=jc,Ce.pickBy=ll,Ce.property=td,Ce.propertyOf=ed,Ce.pull=Ru,Ce.pullAll=ja,Ce.pullAllBy=Pa,Ce.pullAllWith=Ea,Ce.pullAt=Nu,Ce.range=Kc,Ce.rangeRight=th,Ce.rearg=fc,Ce.reject=Yo,Ce.remove=Ia,Ce.rest=Vo,Ce.reverse=Wa,Ce.sampleSize=Co,Ce.set=ul,Ce.setWith=cl,Ce.shuffle=Ho,Ce.slice=Fa,Ce.sortBy=ac,Ce.sortedUniq=Va,Ce.sortedUniqBy=qa,Ce.split=Al,Ce.spread=qo,Ce.tail=Ua,Ce.take=Ja,Ce.takeRight=Ga,Ce.takeRightWhile=Xa,Ce.takeWhile=Qa,Ce.tap=oo,Ce.throttle=Uo,Ce.thru=so,Ce.toArray=Ws,Ce.toPairs=Pc,Ce.toPairsIn=Ec,Ce.toPath=ld,Ce.toPlainObject=zs,Ce.transform=hl,Ce.unary=Jo,Ce.union=zu,Ce.unionBy=Bu,Ce.unionWith=$u,Ce.uniq=Za,Ce.uniqBy=Ka,Ce.uniqWith=to,Ce.unset=fl,Ce.unzip=eo,Ce.unzipWith=no,Ce.update=pl,Ce.updateWith=ml,Ce.values=_l,Ce.valuesIn=gl,Ce.without=Vu,Ce.words=zl,Ce.wrap=Go,Ce.xor=qu,Ce.xorBy=Uu,Ce.xorWith=Ju,Ce.zip=Gu,Ce.zipObject=io,Ce.zipObjectDeep=ro,Ce.zipWith=Xu,Ce.entries=Pc,Ce.entriesIn=Ec,Ce.extend=Mc,Ce.extendWith=wc,Xl(Ce,Ce),Ce.add=eh,Ce.attempt=$c,Ce.camelCase=Ic,Ce.capitalize=Ml,Ce.ceil=nh,Ce.clamp=yl,Ce.clone=Qo,Ce.cloneDeep=Ko,Ce.cloneDeepWith=ts,Ce.cloneWith=Zo,Ce.deburr=wl,Ce.divide=ih,Ce.endsWith=kl,Ce.eq=es,Ce.escape=xl,Ce.escapeRegExp=Ll,Ce.every=_o,Ce.find=Ku,Ce.findIndex=ba,Ce.findKey=qs,Ce.findLast=tc,Ce.findLastIndex=Ma,Ce.findLastKey=Us,Ce.floor=rh,Ce.forEach=Mo,Ce.forEachRight=wo,Ce.forIn=Js,Ce.forInRight=Gs,Ce.forOwn=Xs,Ce.forOwnRight=Qs,Ce.get=tl,Ce.gt=pc,Ce.gte=mc,Ce.has=el,Ce.hasIn=nl,Ce.head=Da,Ce.identity=ql,Ce.includes=ko,Ce.indexOf=Ta,Ce.inRange=vl,Ce.invoke=Sc,Ce.isArguments=ns,Ce.isArray=_c,Ce.isArrayBuffer=is,Ce.isArrayLike=rs,Ce.isArrayLikeObject=as,Ce.isBoolean=os,Ce.isBuffer=gc,Ce.isDate=ss,Ce.isElement=ls,Ce.isEmpty=ds,Ce.isEqual=us,Ce.isEqualWith=cs,Ce.isError=hs,Ce.isFinite=fs,Ce.isFunction=ps,Ce.isInteger=ms,Ce.isLength=_s,Ce.isMap=vs,Ce.isMatch=bs,Ce.isMatchWith=Ms,Ce.isNaN=ws,Ce.isNative=ks,Ce.isNil=Ls,Ce.isNull=xs,Ce.isNumber=Ds,Ce.isObject=gs,Ce.isObjectLike=ys,Ce.isPlainObject=Ts,Ce.isRegExp=Ys,Ce.isSafeInteger=Ss,Ce.isSet=Cs,Ce.isString=Hs,Ce.isSymbol=As,Ce.isTypedArray=js,Ce.isUndefined=Ps,Ce.isWeakMap=Es,Ce.isWeakSet=Is,Ce.join=Sa,Ce.kebabCase=Wc,Ce.last=Ca,Ce.lastIndexOf=Ha,Ce.lowerCase=Fc,Ce.lowerFirst=Oc,Ce.lt=yc,Ce.lte=vc,Ce.max=ud,Ce.maxBy=cd,Ce.mean=hd,Ce.meanBy=fd,Ce.min=pd,Ce.minBy=md,Ce.stubArray=nd,Ce.stubFalse=id,Ce.stubObject=rd,Ce.stubString=ad,Ce.stubTrue=od,Ce.multiply=ah,Ce.nth=Aa,Ce.noConflict=Ql,Ce.noop=Zl,Ce.now=Po,Ce.pad=Dl,Ce.padEnd=Tl,Ce.padStart=Yl,Ce.parseInt=Sl,Ce.random=bl,Ce.reduce=Do,Ce.reduceRight=To,Ce.repeat=Cl,Ce.replace=Hl,Ce.result=dl,Ce.round=oh,Ce.runInContext=q,Ce.sample=So,Ce.size=Ao,Ce.snakeCase=Rc,Ce.some=jo,Ce.sortedIndex=Oa,Ce.sortedIndexBy=Ra,Ce.sortedIndexOf=Na,Ce.sortedLastIndex=za,Ce.sortedLastIndexBy=Ba,Ce.sortedLastIndexOf=$a,Ce.startCase=Nc,Ce.startsWith=jl,Ce.subtract=sh,Ce.sum=_d,Ce.sumBy=gd,Ce.template=Pl,Ce.times=sd,Ce.toFinite=Fs,Ce.toInteger=Os,Ce.toLength=Rs,Ce.toLower=El,Ce.toNumber=Ns,Ce.toSafeInteger=Bs,Ce.toString=$s,Ce.toUpper=Il,Ce.trim=Wl,Ce.trimEnd=Fl,Ce.trimStart=Ol,Ce.truncate=Rl,Ce.unescape=Nl,Ce.uniqueId=dd,Ce.upperCase=zc,Ce.upperFirst=Bc,Ce.each=Mo,Ce.eachRight=wo,Ce.first=Da,Xl(Ce,function(){var t={};return Bn(Ce,function(e,n){Sd.call(Ce.prototype,n)||(t[n]=e)}),t}(),{chain:!1}),Ce.VERSION=J,r(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){
Ce[t].placeholder=Ce}),r(["drop","take"],function(t,e){je.prototype[t]=function(n){var i=this.__filtered__;if(i&&!e)return new je(this);n=n===U?1:Zd(Os(n),0);var r=this.clone();return i?r.__takeCount__=Kd(n,r.__takeCount__):r.__views__.push({size:Kd(n,wt),type:t+(r.__dir__<0?"Right":"")}),r},je.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),r(["filter","map","takeWhile"],function(t,e){var n=e+1,i=n==mt||n==gt;je.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Er(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}}),r(["head","last"],function(t,e){var n="take"+(e?"Right":"");je.prototype[t]=function(){return this[n](1).value()[0]}}),r(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");je.prototype[t]=function(){return this.__filtered__?new je(this):this[n](1)}}),je.prototype.compact=function(){return this.filter(ql)},je.prototype.find=function(t){return this.filter(t).head()},je.prototype.findLast=function(t){return this.reverse().find(t)},je.prototype.invokeMap=Vo(function(t,e){return"function"==typeof t?new je(this):this.map(function(n){return ti(n,t,e)})}),je.prototype.reject=function(t){return t=Er(t,3),this.filter(function(e){return!t(e)})},je.prototype.slice=function(t,e){t=Os(t);var n=this;return n.__filtered__&&(t>0||0>e)?new je(n):(0>t?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==U&&(e=Os(e),n=0>e?n.dropRight(-e):n.take(e-t)),n)},je.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},je.prototype.toArray=function(){return this.take(wt)},Bn(je.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),r=Ce[i?"take"+("last"==e?"Right":""):e],a=i||/^find/.test(e);r&&(Ce.prototype[e]=function(){var e=this.__wrapped__,o=i?[1]:arguments,s=e instanceof je,l=o[0],d=s||_c(e),u=function(t){var e=r.apply(Ce,c([t],o));return i&&h?e[0]:e};d&&n&&"function"==typeof l&&1!=l.length&&(s=d=!1);var h=this.__chain__,f=!!this.__actions__.length,p=a&&!h,m=s&&!f;if(!a&&d){e=m?e:new je(this);var _=t.apply(e,o);return _.__actions__.push({func:so,args:[u],thisArg:U}),new Ae(_,h)}return p&&m?t.apply(this,o):(_=this.thru(u),p?i?_.value()[0]:_.value():_)})}),r(["pop","push","shift","sort","splice","unshift"],function(t){var e=kd[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);Ce.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(_c(r)?r:[],t)}return this[n](function(n){return e.apply(_c(n)?n:[],t)})}}),Bn(je.prototype,function(t,e){var n=Ce[e];if(n){var i=n.name+"",r=fu[i]||(fu[i]=[]);r.push({name:e,func:n})}}),fu[_r(U,tt).name]=[{name:"wrapper",func:U}],je.prototype.clone=Pe,je.prototype.reverse=Ee,je.prototype.value=Ie,Ce.prototype.at=Qu,Ce.prototype.chain=lo,Ce.prototype.commit=uo,Ce.prototype.next=co,Ce.prototype.plant=fo,Ce.prototype.reverse=po,Ce.prototype.toJSON=Ce.prototype.valueOf=Ce.prototype.value=mo,Nd&&(Ce.prototype[Nd]=ho),Ce}var U,J="4.13.1",G=200,X="Expected a function",Q="__lodash_hash_undefined__",Z="__lodash_placeholder__",K=1,tt=2,et=4,nt=8,it=16,rt=32,at=64,ot=128,st=256,lt=512,dt=1,ut=2,ct=30,ht="...",ft=150,pt=16,mt=1,_t=2,gt=3,yt=1/0,vt=9007199254740991,bt=1.7976931348623157e308,Mt=NaN,wt=4294967295,kt=wt-1,xt=wt>>>1,Lt="[object Arguments]",Dt="[object Array]",Tt="[object Boolean]",Yt="[object Date]",St="[object Error]",Ct="[object Function]",Ht="[object GeneratorFunction]",At="[object Map]",jt="[object Number]",Pt="[object Object]",Et="[object Promise]",It="[object RegExp]",Wt="[object Set]",Ft="[object String]",Ot="[object Symbol]",Rt="[object WeakMap]",Nt="[object WeakSet]",zt="[object ArrayBuffer]",Bt="[object DataView]",$t="[object Float32Array]",Vt="[object Float64Array]",qt="[object Int8Array]",Ut="[object Int16Array]",Jt="[object Int32Array]",Gt="[object Uint8Array]",Xt="[object Uint8ClampedArray]",Qt="[object Uint16Array]",Zt="[object Uint32Array]",Kt=/\b__p \+= '';/g,te=/\b(__p \+=) '' \+/g,ee=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ne=/&(?:amp|lt|gt|quot|#39|#96);/g,ie=/[&<>"'`]/g,re=RegExp(ne.source),ae=RegExp(ie.source),oe=/<%-([\s\S]+?)%>/g,se=/<%([\s\S]+?)%>/g,le=/<%=([\s\S]+?)%>/g,de=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ue=/^\w*$/,ce=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(\.|\[\])(?:\4|$))/g,he=/[\\^$.*+?()[\]{}|]/g,fe=RegExp(he.source),pe=/^\s+|\s+$/g,me=/^\s+/,_e=/\s+$/,ge=/[a-zA-Z0-9]+/g,ye=/\\(\\)?/g,ve=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,be=/\w*$/,Me=/^0x/i,we=/^[-+]0x[0-9a-f]+$/i,ke=/^0b[01]+$/i,xe=/^\[object .+?Constructor\]$/,Le=/^0o[0-7]+$/i,De=/^(?:0|[1-9]\d*)$/,Te=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Ye=/($^)/,Se=/['\n\r\u2028\u2029\\]/g,Ce="\\ud800-\\udfff",He="\\u0300-\\u036f\\ufe20-\\ufe23",Ae="\\u20d0-\\u20f0",je="\\u2700-\\u27bf",Pe="a-z\\xdf-\\xf6\\xf8-\\xff",Ee="\\xac\\xb1\\xd7\\xf7",Ie="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",We="\\u2000-\\u206f",Fe=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Oe="A-Z\\xc0-\\xd6\\xd8-\\xde",Re="\\ufe0e\\ufe0f",Ne=Ee+Ie+We+Fe,ze="[']",Be="["+Ce+"]",$e="["+Ne+"]",Ve="["+He+Ae+"]",qe="\\d+",Ue="["+je+"]",Je="["+Pe+"]",Ge="[^"+Ce+Ne+qe+je+Pe+Oe+"]",Xe="\\ud83c[\\udffb-\\udfff]",Qe="(?:"+Ve+"|"+Xe+")",Ze="[^"+Ce+"]",Ke="(?:\\ud83c[\\udde6-\\uddff]){2}",tn="[\\ud800-\\udbff][\\udc00-\\udfff]",en="["+Oe+"]",nn="\\u200d",rn="(?:"+Je+"|"+Ge+")",an="(?:"+en+"|"+Ge+")",on="(?:"+ze+"(?:d|ll|m|re|s|t|ve))?",sn="(?:"+ze+"(?:D|LL|M|RE|S|T|VE))?",ln=Qe+"?",dn="["+Re+"]?",un="(?:"+nn+"(?:"+[Ze,Ke,tn].join("|")+")"+dn+ln+")*",cn=dn+ln+un,hn="(?:"+[Ue,Ke,tn].join("|")+")"+cn,fn="(?:"+[Ze+Ve+"?",Ve,Ke,tn,Be].join("|")+")",pn=RegExp(ze,"g"),mn=RegExp(Ve,"g"),_n=RegExp(Xe+"(?="+Xe+")|"+fn+cn,"g"),gn=RegExp([en+"?"+Je+"+"+on+"(?="+[$e,en,"$"].join("|")+")",an+"+"+sn+"(?="+[$e,en+rn,"$"].join("|")+")",en+"?"+rn+"+"+on,en+"+"+sn,qe,hn].join("|"),"g"),yn=RegExp("["+nn+Ce+He+Ae+Re+"]"),vn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,bn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","Reflect","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","isFinite","parseInt","setTimeout"],Mn=-1,wn={};wn[$t]=wn[Vt]=wn[qt]=wn[Ut]=wn[Jt]=wn[Gt]=wn[Xt]=wn[Qt]=wn[Zt]=!0,wn[Lt]=wn[Dt]=wn[zt]=wn[Tt]=wn[Bt]=wn[Yt]=wn[St]=wn[Ct]=wn[At]=wn[jt]=wn[Pt]=wn[It]=wn[Wt]=wn[Ft]=wn[Rt]=!1;var kn={};kn[Lt]=kn[Dt]=kn[zt]=kn[Bt]=kn[Tt]=kn[Yt]=kn[$t]=kn[Vt]=kn[qt]=kn[Ut]=kn[Jt]=kn[At]=kn[jt]=kn[Pt]=kn[It]=kn[Wt]=kn[Ft]=kn[Ot]=kn[Gt]=kn[Xt]=kn[Qt]=kn[Zt]=!0,kn[St]=kn[Ct]=kn[Rt]=!1;var xn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},Ln={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},Dn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},Tn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Yn=parseFloat,Sn=parseInt,Cn="object"==typeof exports&&exports,Hn=Cn&&"object"==typeof module&&module,An=Hn&&Hn.exports===Cn,jn=C("object"==typeof global&&global),Pn=C("object"==typeof self&&self),En=C("object"==typeof this&&this),In=jn||Pn||En||Function("return this")(),Wn=q();(Pn||{})._=Wn,"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return Wn}):Hn?((Hn.exports=Wn)._=Wn,Cn._=Wn):In._=Wn}.call(this),function(t,e){if("function"==typeof define&&define.amd)define(["exports","module"],e);else if("undefined"!=typeof exports&&"undefined"!=typeof module)e(exports,module);else{var n={exports:{}};e(n.exports,n),t.autosize=n.exports}}(this,function(t,e){"use strict";function n(t){function e(){var e=window.getComputedStyle(t,null);f=e.overflowY,"vertical"===e.resize?t.style.resize="none":"both"===e.resize&&(t.style.resize="horizontal"),h="content-box"===e.boxSizing?-(parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)):parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth),isNaN(h)&&(h=0),r()}function n(e){var n=t.style.width;t.style.width="0px",t.offsetWidth,t.style.width=n,f=e,c&&(t.style.overflowY=e),i()}function i(){var e=window.pageYOffset,n=document.body.scrollTop,i=t.style.height;t.style.height="auto";var r=t.scrollHeight+h;return 0===t.scrollHeight?void(t.style.height=i):(t.style.height=r+"px",p=t.clientWidth,document.documentElement.scrollTop=e,void(document.body.scrollTop=n))}function r(){var e=t.style.height;i();var r=window.getComputedStyle(t,null);if(r.height!==t.style.height?"visible"!==f&&n("visible"):"hidden"!==f&&n("hidden"),e!==t.style.height){var a=o("autosize:resized");t.dispatchEvent(a)}}var s=void 0===arguments[1]?{}:arguments[1],l=s.setOverflowX,d=void 0===l?!0:l,u=s.setOverflowY,c=void 0===u?!0:u;if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!a.has(t)){var h=null,f=null,p=t.clientWidth,m=function(){t.clientWidth!==p&&r()},_=function(e){window.removeEventListener("resize",m,!1),t.removeEventListener("input",r,!1),t.removeEventListener("keyup",r,!1),t.removeEventListener("autosize:destroy",_,!1),t.removeEventListener("autosize:update",r,!1),a["delete"](t),Object.keys(e).forEach(function(n){t.style[n]=e[n]})}.bind(t,{height:t.style.height,resize:t.style.resize,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",_,!1),"onpropertychange"in t&&"oninput"in t&&t.addEventListener("keyup",r,!1),window.addEventListener("resize",m,!1),t.addEventListener("input",r,!1),t.addEventListener("autosize:update",r,!1),a.add(t),d&&(t.style.overflowX="hidden",t.style.wordWrap="break-word"),e()}}function i(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName){var e=o("autosize:destroy");t.dispatchEvent(e)}}function r(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName){var e=o("autosize:update");t.dispatchEvent(e)}}var a="function"==typeof Set?new Set:function(){var t=[];return{has:function(e){return Boolean(t.indexOf(e)>-1)},add:function(e){t.push(e)},"delete":function(e){t.splice(t.indexOf(e),1)}}}(),o=function(t){return new Event(t)};try{new Event("test")}catch(s){o=function(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!1),e}}var l=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(l=function(t){return t},l.destroy=function(t){return t},l.update=function(t){return t}):(l=function(t,e){return t&&Array.prototype.forEach.call(t.length?t:[t],function(t){return n(t,e)}),t},l.destroy=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],i),t},l.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],r),t}),e.exports=l}),function(){var t,e=window.Messenger;t=window.Messenger=function(){return t._call.apply(this,arguments)},window.Messenger.noConflict=function(){return window.Messenger=e,t}}(),window.Messenger._=function(){if(window._)return window._;var t=Array.prototype,e=Object.prototype,n=Function.prototype,i=(t.push,t.slice),r=(t.concat,e.toString),a=(e.hasOwnProperty,t.forEach),o=(t.map,t.reduce,t.reduceRight,t.filter),s=(t.every,t.some,t.indexOf,t.lastIndexOf,Array.isArray,Object.keys),l=n.bind,d={},u={},c=d.each=d.forEach=function(t,e,n){if(null!=t)if(a&&t.forEach===a)t.forEach(e,n);else if(t.length===+t.length){for(var i=0,r=t.length;r>i;i++)if(e.call(n,t[i],i,t)===u)return}else for(var o in t)if(d.has(t,o)&&e.call(n,t[o],o,t)===u)return};d.result=function(t,e){if(null==t)return null;var n=t[e];return d.isFunction(n)?n.call(t):n},d.once=function(t){var e,n=!1;return function(){return n?e:(n=!0,e=t.apply(this,arguments),t=null,e)}};var h=0;return d.uniqueId=function(t){var e=++h+"";return t?t+e:e},d.filter=d.select=function(t,e,n){var i=[];return null==t?i:o&&t.filter===o?t.filter(e,n):(c(t,function(t,r,a){e.call(n,t,r,a)&&(i[i.length]=t)}),i)},c(["Arguments","Function","String","Number","Date","RegExp"],function(t){d["is"+t]=function(e){return r.call(e)=="[object "+t+"]"}}),d.defaults=function(t){return c(i.call(arguments,1),function(e){if(e)for(var n in e)null==t[n]&&(t[n]=e[n])}),t},d.extend=function(t){return c(i.call(arguments,1),function(e){if(e)for(var n in e)t[n]=e[n]}),t},d.keys=s||function(t){if(t!==Object(t))throw new TypeError("Invalid object");var e=[];for(var n in t)d.has(t,n)&&(e[e.length]=n);return e},d.bind=function(t,e){if(t.bind===l&&l)return l.apply(t,i.call(arguments,1));var n=i.call(arguments,2);return function(){return t.apply(e,n.concat(i.call(arguments)))}},d.isObject=function(t){return t===Object(t)},d}(),window.Messenger.Events=function(){if(window.Backbone&&Backbone.Events)return Backbone.Events;var t=function(){var t=/\s+/,e=function(e,n,i,r){if(!i)return!0;if("object"==typeof i)for(var a in i)e[n].apply(e,[a,i[a]].concat(r));else{if(!t.test(i))return!0;for(var o=i.split(t),s=0,l=o.length;l>s;s++)e[n].apply(e,[o[s]].concat(r))}},n=function(t,e){var n,i=-1,r=t.length;switch(e.length){case 0:for(;++i<r;)(n=t[i]).callback.call(n.ctx);return;case 1:for(;++i<r;)(n=t[i]).callback.call(n.ctx,e[0]);return;case 2:for(;++i<r;)(n=t[i]).callback.call(n.ctx,e[0],e[1]);return;case 3:for(;++i<r;)(n=t[i]).callback.call(n.ctx,e[0],e[1],e[2]);return;default:for(;++i<r;)(n=t[i]).callback.apply(n.ctx,e)}},i={on:function(t,n,i){if(!e(this,"on",t,[n,i])||!n)return this;this._events||(this._events={});var r=this._events[t]||(this._events[t]=[]);return r.push({callback:n,context:i,ctx:i||this}),this},once:function(t,n,i){if(!e(this,"once",t,[n,i])||!n)return this;var r=this,a=_.once(function(){r.off(t,a),n.apply(this,arguments)});return a._callback=n,this.on(t,a,i),this},off:function(t,n,i){var r,a,o,s,l,d,u,c;if(!this._events||!e(this,"off",t,[n,i]))return this;if(!t&&!n&&!i)return this._events={},this;for(s=t?[t]:_.keys(this._events),l=0,d=s.length;d>l;l++)if(t=s[l],r=this._events[t]){if(o=[],n||i)for(u=0,c=r.length;c>u;u++)a=r[u],(n&&n!==a.callback&&n!==a.callback._callback||i&&i!==a.context)&&o.push(a);this._events[t]=o}return this},trigger:function(t){if(!this._events)return this;var i=Array.prototype.slice.call(arguments,1);if(!e(this,"trigger",t,i))return this;var r=this._events[t],a=this._events.all;return r&&n(r,i),a&&n(a,arguments),this},listenTo:function(t,e,n){var i=this._listeners||(this._listeners={}),r=t._listenerId||(t._listenerId=_.uniqueId("l"));return i[r]=t,t.on(e,"object"==typeof e?this:n,this),this},stopListening:function(t,e,n){var i=this._listeners;if(i){if(t)t.off(e,"object"==typeof e?this:n,this),e||n||delete i[t._listenerId];else{"object"==typeof e&&(n=this);for(var r in i)i[r].off(e,n,this);this._listeners={}}return this}}};return i.bind=i.on,i.unbind=i.off,i};return t()}(),function(){var t,e,n,i,r,a,o,s,l,d,u,c={}.hasOwnProperty,h=function(t,e){function n(){this.constructor=t}for(var i in e)c.call(e,i)&&(t[i]=e[i]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},f=[].slice,p=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1};t=jQuery,a=null!=(l=window._)?l:window.Messenger._,i=null!=(d="undefined"!=typeof Backbone&&null!==Backbone?Backbone.Events:void 0)?d:window.Messenger.Events,n=function(){function e(e){t.extend(this,i),a.isObject(e)&&(e.el&&this.setElement(e.el),this.model=e.model),this.initialize.apply(this,arguments)}return e.prototype.setElement=function(e){return this.$el=t(e),this.el=this.$el[0]},e.prototype.delegateEvents=function(t){var e,n,i,r,o,s,l;if(t||(t=a.result(this,"events"))){this.undelegateEvents(),e=/^(\S+)\s*(.*)$/,l=[];for(i in t){if(o=t[i],a.isFunction(o)||(o=this[t[i]]),!o)throw new Error('Method "'+t[i]+'" does not exist');r=i.match(e),n=r[1],s=r[2],o=a.bind(o,this),n+=".delegateEvents"+this.cid,""===s?l.push(this.jqon(n,o)):l.push(this.jqon(n,s,o))}return l}},e.prototype.jqon=function(t,e,n){var i;return null!=this.$el.on?(i=this.$el).on.apply(i,arguments):(null==n&&(n=e,e=void 0),null!=e?this.$el.delegate(e,t,n):this.$el.bind(t,n))},e.prototype.jqoff=function(t){var e;return null!=this.$el.off?(e=this.$el).off.apply(e,arguments):(this.$el.undelegate(),this.$el.unbind(t))},e.prototype.undelegateEvents=function(){return this.jqoff(".delegateEvents"+this.cid)},e.prototype.remove=function(){return this.undelegateEvents(),this.$el.remove()},e}(),o=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return h(n,e),n.prototype.defaults={hideAfter:10,scroll:!0,closeButtonText:"&times;",escapeText:!1},n.prototype.initialize=function(e){return null==e&&(e={}),this.shown=!1,this.rendered=!1,this.messenger=e.messenger,this.options=t.extend({},this.options,e,this.defaults)},n.prototype.show=function(){var t;return this.rendered||this.render(),this.$message.removeClass("messenger-hidden"),t=this.shown,this.shown=!0,t?void 0:this.trigger("show")},n.prototype.hide=function(){var t;if(this.rendered)return this.$message.addClass("messenger-hidden"),t=this.shown,this.shown=!1,t?this.trigger("hide"):void 0},n.prototype.cancel=function(){return this.hide()},n.prototype.update=function(e){var n,i=this;return a.isString(e)&&(e={message:e}),t.extend(this.options,e),this.lastUpdate=new Date,this.rendered=!1,this.events=null!=(n=this.options.events)?n:{},this.render(),this.actionsToEvents(),this.delegateEvents(),this.checkClickable(),this.options.hideAfter?(this.$message.addClass("messenger-will-hide-after"),null!=this._hideTimeout&&clearTimeout(this._hideTimeout),this._hideTimeout=setTimeout(function(){return i.hide()},1e3*this.options.hideAfter)):this.$message.removeClass("messenger-will-hide-after"),this.options.hideOnNavigate?(this.$message.addClass("messenger-will-hide-on-navigate"),null!=("undefined"!=typeof Backbone&&null!==Backbone?Backbone.history:void 0)&&Backbone.history.on("route",function(){return i.hide()})):this.$message.removeClass("messenger-will-hide-on-navigate"),this.trigger("update",this)},n.prototype.scrollTo=function(){return this.options.scroll?t.scrollTo(this.$el,{duration:400,offset:{left:0,top:-20}}):void 0},n.prototype.timeSinceUpdate=function(){return this.lastUpdate?new Date-this.lastUpdate:null},n.prototype.actionsToEvents=function(){var t,e,n,i,r=this;n=this.options.actions,i=[];for(e in n)t=n[e],i.push(this.events['click [data-action="'+e+'"] a']=function(t){return function(n){return n.preventDefault(),n.stopPropagation(),r.trigger("action:"+e,t,n),t.action.call(r,n,r)}}(t));return i},n.prototype.checkClickable=function(){var t,e,n,i;n=this.events,i=[];for(e in n)t=n[e],"click"===e?i.push(this.$message.addClass("messenger-clickable")):i.push(void 0);return i},n.prototype.undelegateEvents=function(){var t;return n.__super__.undelegateEvents.apply(this,arguments),null!=(t=this.$message)?t.removeClass("messenger-clickable"):void 0},n.prototype.parseActions=function(){var e,n,i,r,a,o;n=[],a=this.options.actions;for(r in a)e=a[r],i=t.extend({},e),i.name=r,null==(o=i.label)&&(i.label=r),n.push(i);return n},n.prototype.template=function(e){var n,i,r,a,o,s,l,d,u,c,h=this;for(o=t("<div class='messenger-message message alert "+e.type+" message-"+e.type+" alert-"+e.type+"'>"),e.showCloseButton&&(r=t('<button type="button" class="messenger-close" data-dismiss="alert">'),r.html(e.closeButtonText),r.click(function(){var t;return h.cancel(),"function"==typeof(t=h.options).onClickClose&&t.onClickClose(),!0}),o.append(r)),s=e.escapeText?t('<div class="messenger-message-inner"></div>').text(e.message):t('<div class="messenger-message-inner">'+e.message+"</div>"),o.append(s),e.actions.length&&(i=t('<div class="messenger-actions">')),c=e.actions,d=0,u=c.length;u>d;d++)l=c[d],n=t("<span>"),n.attr("data-action",""+l.name),a=t("<a>"),a.html(l.label),n.append(t('<span class="messenger-phrase">')),n.append(a),i.append(n);return o.append(i),o},n.prototype.render=function(){var e;if(!this.rendered)return this._hasSlot||(this.setElement(this.messenger._reserveMessageSlot(this)),this._hasSlot=!0),e=t.extend({},this.options,{actions:this.parseActions()}),this.$message=t(this.template(e)),this.$el.html(this.$message),this.shown=!0,this.rendered=!0,this.trigger("render")},n}(n),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.initialize=function(){return e.__super__.initialize.apply(this,arguments),this._timers={}},e.prototype.cancel=function(){return this.clearTimers(),this.hide(),null!=this._actionInstance&&null!=this._actionInstance.abort?this._actionInstance.abort():void 0},e.prototype.clearTimers=function(){var t,e,n,i;n=this._timers;for(t in n)e=n[t],clearTimeout(e);return this._timers={},null!=(i=this.$message)?i.removeClass("messenger-retry-soon messenger-retry-later"):void 0},e.prototype.render=function(){var t,n,i,r;e.__super__.render.apply(this,arguments),this.clearTimers(),i=this.options.actions,r=[];for(n in i)t=i[n],t.auto?r.push(this.startCountdown(n,t)):r.push(void 0);return r},e.prototype.renderPhrase=function(t,e){var n;return n=t.phrase.replace("TIME",this.formatTime(e))},e.prototype.formatTime=function(t){var e;return e=function(t,e){return t=Math.floor(t),1!==t&&(e+="s"),"in "+t+" "+e},0===Math.floor(t)?"now...":60>t?e(t,"second"):(t/=60,60>t?e(t,"minute"):(t/=60,e(t,"hour")))},e.prototype.startCountdown=function(t,e){var n,i,r,a,o=this;if(null==this._timers[t])return n=this.$message.find("[data-action='"+t+"'] .messenger-phrase"),i=null!=(a=e.delay)?a:3,10>=i?(this.$message.removeClass("messenger-retry-later"),this.$message.addClass("messenger-retry-soon")):(this.$message.removeClass("messenger-retry-soon"),this.$message.addClass("messenger-retry-later")),(r=function(){var a;return n.text(o.renderPhrase(e,i)),i>0?(a=Math.min(i,1),i-=a,o._timers[t]=setTimeout(r,1e3*a)):(o.$message.removeClass("messenger-retry-soon messenger-retry-later"),delete o._timers[t],e.action())})()},e}(o),s=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return h(n,e),n.prototype.tagName="ul",n.prototype.className="messenger",n.prototype.messageDefaults={type:"info"},n.prototype.initialize=function(e){return this.options=null!=e?e:{},this.history=[],this.messageDefaults=t.extend({},this.messageDefaults,this.options.messageDefaults)},n.prototype.render=function(){return this.updateMessageSlotClasses()},n.prototype.findById=function(t){return a.filter(this.history,function(e){return e.msg.options.id===t})},n.prototype._reserveMessageSlot=function(e){var n,i,r=this;for(n=t("<li>"),n.addClass("messenger-message-slot"),this.$el.prepend(n),this.history.push({msg:e,$slot:n}),this._enforceIdConstraint(e),e.on("update",function(){return r._enforceIdConstraint(e)});this.options.maxMessages&&this.history.length>this.options.maxMessages;)i=this.history.shift(),i.msg.remove(),i.$slot.remove();return n},n.prototype._enforceIdConstraint=function(t){var e,n,i,r,a;if(null!=t.options.id)for(a=this.history,n=0,i=a.length;i>n;n++)if(e=a[n],r=e.msg,null!=r.options.id&&r.options.id===t.options.id&&t!==r){if(t.options.singleton)return void t.hide();r.hide()}},n.prototype.newMessage=function(t){var e,n,i,a,s=this;return null==t&&(t={}),t.messenger=this,o=null!=(n=null!=(i=Messenger.themes[null!=(a=t.theme)?a:this.options.theme])?i.Message:void 0)?n:r,e=new o(t),e.on("show",function(){return t.scrollTo&&"fixed"!==s.$el.css("position")?e.scrollTo():void 0}),e.on("hide show render",this.updateMessageSlotClasses,this),e},n.prototype.updateMessageSlotClasses=function(){var t,e,n,i,r,a,o;for(i=!0,e=null,t=!1,o=this.history,r=0,a=o.length;a>r;r++)n=o[r],n.$slot.removeClass("messenger-first messenger-last messenger-shown"),n.msg.shown&&n.msg.rendered&&(n.$slot.addClass("messenger-shown"),t=!0,e=n,i&&(i=!1,n.$slot.addClass("messenger-first")));return null!=e&&e.$slot.addClass("messenger-last"),this.$el[""+(t?"remove":"add")+"Class"]("messenger-empty")},n.prototype.hideAll=function(){var t,e,n,i,r;for(i=this.history,r=[],e=0,n=i.length;n>e;e++)t=i[e],r.push(t.msg.hide());return r},n.prototype.post=function(e){var n;return a.isString(e)&&(e={message:e}),e=t.extend(!0,{},this.messageDefaults,e),n=this.newMessage(e),n.update(e),n},n}(n),e=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return h(n,e),n.prototype.doDefaults={progressMessage:null,successMessage:null,errorMessage:"Error connecting to the server.",showSuccessWithoutError:!0,retry:{auto:!0,allow:!0},action:t.ajax},n.prototype.hookBackboneAjax=function(e){var n,i=this;if(null==e&&(e={}),null==window.Backbone)throw"Expected Backbone to be defined";return e=a.defaults(e,{id:"BACKBONE_ACTION",errorMessage:!1,successMessage:"Request completed successfully.",showSuccessWithoutError:!1}),n=function(t){var n;return n=a.extend({},e,t.messenger),i["do"](n,t)},null!=Backbone.ajax?(Backbone.ajax._withoutMessenger&&(Backbone.ajax=Backbone.ajax._withoutMessenger),null!=e.action&&e.action!==this.doDefaults.action||(e.action=Backbone.ajax),n._withoutMessenger=Backbone.ajax,Backbone.ajax=n):Backbone.sync=a.wrap(Backbone.sync,function(){var e,i,r;return r=arguments[0],e=2<=arguments.length?f.call(arguments,1):[],i=t.ajax,t.ajax=n,r.call.apply(r,[this].concat(f.call(e))),t.ajax=i})},n.prototype._getHandlerResponse=function(t){return t===!1?!1:t===!0||null==t?!0:t},n.prototype._parseEvents=function(t){var e,n,i,r,a,o,s;null==t&&(t={}),a={};for(r in t)i=t[r],n=r.indexOf(" "),o=r.substring(0,n),e=r.substring(n+1),null==(s=a[o])&&(a[o]={}),a[o][e]=i;return a},n.prototype._normalizeResponse=function(){var t,e,n,i,r,o,s;for(n=1<=arguments.length?f.call(arguments,0):[],i=null,r=null,t=null,o=0,s=n.length;s>o;o++)e=n[o],"success"===e||"timeout"===e||"abort"===e?i=e:null!=(null!=e?e.readyState:void 0)&&null!=(null!=e?e.responseText:void 0)?r=e:a.isObject(e)&&(t=e);return[i,t,r]},n.prototype.run=function(){var e,n,i,r,o,s,l,d,u,c,h,m=this;if(s=arguments[0],u=arguments[1],e=3<=arguments.length?f.call(arguments,2):[],null==u&&(u={}),s=t.extend(!0,{},this.messageDefaults,this.doDefaults,null!=s?s:{}),n=this._parseEvents(s.events),i=function(t,e){var n;return n=s[t+"Message"],a.isFunction(n)?n.call(m,t,e):n},l=null!=(h=s.messageInstance)?h:this.newMessage(s),null!=s.id&&(l.options.id=s.id),null!=s.progressMessage&&l.update(t.extend({},s,{message:i("progress",null),type:"info"})),o={},a.each(["error","success"],function(r){var d;return d=u[r],o[r]=function(){var o,c,h,_,g,y,v,b,M,w,k,x,L,D,T;return y=1<=arguments.length?f.call(arguments,0):[],M=m._normalizeResponse.apply(m,y),g=M[0],o=M[1],b=M[2],"success"===r&&null==l.errorCount&&s.showSuccessWithoutError===!1&&(s.successMessage=null),"error"===r&&(null==(w=s.errorCount)&&(s.errorCount=0),s.errorCount+=1),h=s.returnsPromise?y[0]:"function"==typeof d?d.apply(null,y):void 0,v=m._getHandlerResponse(h),a.isString(v)&&(v={message:v}),"error"!==r||0!==(null!=b?b.status:void 0)&&"abort"!==g?"error"===r&&null!=s.ignoredErrorCodes&&(k=null!=b?b.status:void 0,p.call(s.ignoredErrorCodes,k)>=0)?void l.hide():(c={message:i(r,b),type:r,events:null!=(x=n[r])?x:{},hideOnNavigate:"success"===r},_=t.extend({},s,c,v),"number"==typeof(null!=(L=_.retry)?L.allow:void 0)&&_.retry.allow--,"error"===r&&(null!=b?b.status:void 0)>=500&&(null!=(D=_.retry)?D.allow:void 0)?(null==_.retry.delay&&(_.errorCount<4?_.retry.delay=10:_.retry.delay=300),_.hideAfter&&(null==(T=_._hideAfter)&&(_._hideAfter=_.hideAfter),_.hideAfter=_._hideAfter+_.retry.delay),_._retryActions=!0,_.actions={retry:{label:"retry now",phrase:"Retrying TIME",auto:_.retry.auto,delay:_.retry.delay,action:function(){return _.messageInstance=l,setTimeout(function(){return m["do"].apply(m,[_,u].concat(f.call(e)))},0)}},cancel:{action:function(){return l.cancel()}}}):_._retryActions&&(delete _.actions.retry,delete _.actions.cancel,delete s._retryActions),l.update(_),v&&_.message?(Messenger(a.extend({},m.options,{instance:m})),l.show()):l.hide()):void l.hide()}}),!s.returnsPromise)for(c in o)r=o[c],d=u[c],u[c]=r;return l._actionInstance=s.action.apply(s,[u].concat(f.call(e))),s.returnsPromise&&l._actionInstance.then(o.success,o.error),l},n.prototype["do"]=n.prototype.run,n.prototype.ajax=function(){var e,n;return n=arguments[0],e=2<=arguments.length?f.call(arguments,1):[],n.action=t.ajax,this.run.apply(this,[n].concat(f.call(e)))},n.prototype.expectPromise=function(t,e){return e=a.extend({},e,{action:t,returnsPromise:!0}),this.run(e)},n.prototype.error=function(t){return null==t&&(t={}),"string"==typeof t&&(t={message:t}),t.type="error",this.post(t)},n.prototype.info=function(t){return null==t&&(t={}),"string"==typeof t&&(t={message:t}),t.type="info",this.post(t)},n.prototype.success=function(t){return null==t&&(t={}),"string"==typeof t&&(t={message:t}),t.type="success",this.post(t)},n}(s),t.fn.messenger=function(){var n,i,r,o,l,d,u,c;return r=arguments[0],i=2<=arguments.length?f.call(arguments,1):[],null==r&&(r={}),n=this,null!=r&&a.isString(r)?(c=n.data("messenger"))[r].apply(c,i):(l=r,null==n.data("messenger")&&(s=null!=(d=null!=(u=Messenger.themes[l.theme])?u.Messenger:void 0)?d:e,n.data("messenger",o=new s(t.extend({el:n},l))),o.render()),n.data("messenger"))},window.Messenger._call=function(e){var n,i,r,a,o,s,l,d,u,c,h;if(s={extraClasses:"messenger-fixed messenger-on-bottom messenger-on-right",theme:"future",maxMessages:9,parentLocations:["body"]},e=t.extend(s,t._messengerDefaults,Messenger.options,e),null!=e.theme&&(e.extraClasses+=" messenger-theme-"+e.theme),l=e.instance||Messenger.instance,null==e.instance){for(u=e.parentLocations,i=null,r=null,c=0,h=u.length;h>c;c++)if(d=u[c],i=t(d),i.length){a=d;break}l?t(l._location).is(t(a))||(l.$el.detach(),i.prepend(l.$el)):(n=t("<ul>"),i.prepend(n),l=n.messenger(e),l._location=a,Messenger.instance=l)}return null!=l._addedClasses&&l.$el.removeClass(l._addedClasses),l.$el.addClass(o=""+l.className+" "+e.extraClasses),l._addedClasses=o,l},t.extend(Messenger,{Message:r,Messenger:e,themes:null!=(u=Messenger.themes)?u:{}}),t.globalMessenger=window.Messenger=Messenger}.call(this),function(t){"use strict";"function"==typeof define&&define.amd?define(t):"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=t():"undefined"!=typeof Package?Sortable=t():window.Sortable=t()}(function(){"use strict";function t(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(t);this.el=t,this.options=e=g({},e),t[W]=this;var n={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(t.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",ignore:"a, img",filter:null,animation:0,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1};for(var i in n)!(i in e)&&(e[i]=n[i]);U(e);for(var a in this)"_"===a.charAt(0)&&(this[a]=this[a].bind(this));this.nativeDraggable=e.forceFallback?!1:N,r(t,"mousedown",this._onTapStart),r(t,"touchstart",this._onTapStart),this.nativeDraggable&&(r(t,"dragover",this),r(t,"dragenter",this)),V.push(this._onDragOver),e.store&&this.sort(e.store.get(this))}function e(t){M&&M.state!==t&&(s(M,"display",t?"none":""),!t&&M.state&&w.insertBefore(M,y),M.state=t)}function n(t,e,n){if(t){n=n||O,e=e.split(".");var i=e.shift().toUpperCase(),r=new RegExp("\\s("+e.join("|")+")(?=\\s)","g");do if(">*"===i&&t.parentNode===n||(""===i||t.nodeName.toUpperCase()==i)&&(!e.length||((" "+t.className+" ").match(r)||[]).length==e.length))return t;while(t!==n&&(t=t.parentNode))}return null}function i(t){
t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.preventDefault()}function r(t,e,n){t.addEventListener(e,n,!1)}function a(t,e,n){t.removeEventListener(e,n,!1)}function o(t,e,n){if(t)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(I," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(I," ")}}function s(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return O.defaultView&&O.defaultView.getComputedStyle?n=O.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in i||(e="-webkit-"+e),i[e]=n+("string"==typeof n?"":"px")}}function l(t,e,n){if(t){var i=t.getElementsByTagName(e),r=0,a=i.length;if(n)for(;a>r;r++)n(i[r],r);return i}return[]}function d(t,e,n,i,r,a,o){var s=O.createEvent("Event"),l=(t||e[W]).options,d="on"+n.charAt(0).toUpperCase()+n.substr(1);s.initEvent(n,!0,!0),s.to=e,s.from=r||e,s.item=i||e,s.clone=M,s.oldIndex=a,s.newIndex=o,e.dispatchEvent(s),l[d]&&l[d].call(t,s)}function u(t,e,n,i,r,a){var o,s,l=t[W],d=l.options.onMove;return o=O.createEvent("Event"),o.initEvent("move",!0,!0),o.to=e,o.from=t,o.dragged=n,o.draggedRect=i,o.related=r||e,o.relatedRect=a||e.getBoundingClientRect(),t.dispatchEvent(o),d&&(s=d.call(l,o)),s}function c(t){t.draggable=!1}function h(){B=!1}function f(t,e){var n=t.lastElementChild,i=n.getBoundingClientRect();return(e.clientY-(i.top+i.height)>5||e.clientX-(i.right+i.width)>5)&&n}function p(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;n--;)i+=e.charCodeAt(n);return i.toString(36)}function m(t){var e=0;if(!t||!t.parentNode)return-1;for(;t&&(t=t.previousElementSibling);)"TEMPLATE"!==t.nodeName.toUpperCase()&&e++;return e}function _(t,e){var n,i;return function(){void 0===n&&(n=arguments,i=this,setTimeout(function(){1===n.length?t.call(i,n[0]):t.apply(i,n),n=void 0},e))}}function g(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var y,v,b,M,w,k,x,L,D,T,Y,S,C,H,A,j,P,E={},I=/\s+/g,W="Sortable"+(new Date).getTime(),F=window,O=F.document,R=F.parseInt,N=!!("draggable"in O.createElement("div")),z=function(t){return t=O.createElement("x"),t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}(),B=!1,$=Math.abs,V=([].slice,[]),q=_(function(t,e,n){if(n&&e.scroll){var i,r,a,o,s=e.scrollSensitivity,l=e.scrollSpeed,d=t.clientX,u=t.clientY,c=window.innerWidth,h=window.innerHeight;if(L!==n&&(x=e.scroll,L=n,x===!0)){x=n;do if(x.offsetWidth<x.scrollWidth||x.offsetHeight<x.scrollHeight)break;while(x=x.parentNode)}x&&(i=x,r=x.getBoundingClientRect(),a=($(r.right-d)<=s)-($(r.left-d)<=s),o=($(r.bottom-u)<=s)-($(r.top-u)<=s)),a||o||(a=(s>=c-d)-(s>=d),o=(s>=h-u)-(s>=u),(a||o)&&(i=F)),E.vx===a&&E.vy===o&&E.el===i||(E.el=i,E.vx=a,E.vy=o,clearInterval(E.pid),i&&(E.pid=setInterval(function(){i===F?F.scrollTo(F.pageXOffset+a*l,F.pageYOffset+o*l):(o&&(i.scrollTop+=o*l),a&&(i.scrollLeft+=a*l))},24)))}},30),U=function(t){var e=t.group;e&&"object"==typeof e||(e=t.group={name:e}),["pull","put"].forEach(function(t){t in e||(e[t]=!0)}),t.groups=" "+e.name+(e.put.join?" "+e.put.join(" "):"")+" "};return t.prototype={constructor:t,_onTapStart:function(t){var e=this,i=this.el,r=this.options,a=t.type,o=t.touches&&t.touches[0],s=(o||t).target,l=s,u=r.filter;if(!("mousedown"===a&&0!==t.button||r.disabled)&&(s=n(s,r.draggable,i))){if(S=m(s),"function"==typeof u){if(u.call(this,t,s,this))return d(e,l,"filter",s,i,S),void t.preventDefault()}else if(u&&(u=u.split(",").some(function(t){return t=n(l,t.trim(),i),t?(d(e,t,"filter",s,i,S),!0):void 0})))return void t.preventDefault();r.handle&&!n(l,r.handle,i)||this._prepareDragStart(t,o,s)}},_prepareDragStart:function(t,e,n){var i,a=this,s=a.el,d=a.options,u=s.ownerDocument;n&&!y&&n.parentNode===s&&(A=t,w=s,y=n,v=y.parentNode,k=y.nextSibling,H=d.group,i=function(){a._disableDelayedDrag(),y.draggable=!0,o(y,a.options.chosenClass,!0),a._triggerDragStart(e)},d.ignore.split(",").forEach(function(t){l(y,t.trim(),c)}),r(u,"mouseup",a._onDrop),r(u,"touchend",a._onDrop),r(u,"touchcancel",a._onDrop),d.delay?(r(u,"mouseup",a._disableDelayedDrag),r(u,"touchend",a._disableDelayedDrag),r(u,"touchcancel",a._disableDelayedDrag),r(u,"mousemove",a._disableDelayedDrag),r(u,"touchmove",a._disableDelayedDrag),a._dragStartTimer=setTimeout(i,d.delay)):i())},_disableDelayedDrag:function(){var t=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(t,"mouseup",this._disableDelayedDrag),a(t,"touchend",this._disableDelayedDrag),a(t,"touchcancel",this._disableDelayedDrag),a(t,"mousemove",this._disableDelayedDrag),a(t,"touchmove",this._disableDelayedDrag)},_triggerDragStart:function(t){t?(A={target:y,clientX:t.clientX,clientY:t.clientY},this._onDragStart(A,"touch")):this.nativeDraggable?(r(y,"dragend",this),r(w,"dragstart",this._onDragStart)):this._onDragStart(A,!0);try{O.selection?O.selection.empty():window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){w&&y&&(o(y,this.options.ghostClass,!0),t.active=this,d(this,w,"start",y,w,S))},_emulateDragOver:function(){if(j){if(this._lastX===j.clientX&&this._lastY===j.clientY)return;this._lastX=j.clientX,this._lastY=j.clientY,z||s(b,"display","none");var t=O.elementFromPoint(j.clientX,j.clientY),e=t,n=" "+this.options.group.name,i=V.length;if(e)do{if(e[W]&&e[W].options.groups.indexOf(n)>-1){for(;i--;)V[i]({clientX:j.clientX,clientY:j.clientY,target:t,rootEl:e});break}t=e}while(e=e.parentNode);z||s(b,"display","")}},_onTouchMove:function(e){if(A){t.active||this._dragStarted(),this._appendGhost();var n=e.touches?e.touches[0]:e,i=n.clientX-A.clientX,r=n.clientY-A.clientY,a=e.touches?"translate3d("+i+"px,"+r+"px,0)":"translate("+i+"px,"+r+"px)";P=!0,j=n,s(b,"webkitTransform",a),s(b,"mozTransform",a),s(b,"msTransform",a),s(b,"transform",a),e.preventDefault()}},_appendGhost:function(){if(!b){var t,e=y.getBoundingClientRect(),n=s(y),i=this.options;b=y.cloneNode(!0),o(b,i.ghostClass,!1),o(b,i.fallbackClass,!0),s(b,"top",e.top-R(n.marginTop,10)),s(b,"left",e.left-R(n.marginLeft,10)),s(b,"width",e.width),s(b,"height",e.height),s(b,"opacity","0.8"),s(b,"position","fixed"),s(b,"zIndex","100000"),s(b,"pointerEvents","none"),i.fallbackOnBody&&O.body.appendChild(b)||w.appendChild(b),t=b.getBoundingClientRect(),s(b,"width",2*e.width-t.width),s(b,"height",2*e.height-t.height)}},_onDragStart:function(t,e){var n=t.dataTransfer,i=this.options;this._offUpEvents(),"clone"==H.pull&&(M=y.cloneNode(!0),s(M,"display","none"),w.insertBefore(M,y)),e?("touch"===e?(r(O,"touchmove",this._onTouchMove),r(O,"touchend",this._onDrop),r(O,"touchcancel",this._onDrop)):(r(O,"mousemove",this._onTouchMove),r(O,"mouseup",this._onDrop)),this._loopId=setInterval(this._emulateDragOver,50)):(n&&(n.effectAllowed="move",i.setData&&i.setData.call(this,n,y)),r(O,"drop",this),setTimeout(this._dragStarted,0))},_onDragOver:function(t){var i,r,a,o=this.el,l=this.options,d=l.group,c=d.put,p=H===d,m=l.sort;if(void 0!==t.preventDefault&&(t.preventDefault(),!l.dragoverBubble&&t.stopPropagation()),P=!0,H&&!l.disabled&&(p?m||(a=!w.contains(y)):H.pull&&c&&(H.name===d.name||c.indexOf&&~c.indexOf(H.name)))&&(void 0===t.rootEl||t.rootEl===this.el)){if(q(t,l,this.el),B)return;if(i=n(t.target,l.draggable,o),r=y.getBoundingClientRect(),a)return e(!0),void(M||k?w.insertBefore(y,M||k):m||w.appendChild(y));if(0===o.children.length||o.children[0]===b||o===t.target&&(i=f(o,t))){if(i){if(i.animated)return;g=i.getBoundingClientRect()}e(p),u(w,o,y,r,i,g)!==!1&&(y.contains(o)||(o.appendChild(y),v=o),this._animate(r,y),i&&this._animate(g,i))}else if(i&&!i.animated&&i!==y&&void 0!==i.parentNode[W]){D!==i&&(D=i,T=s(i),Y=s(i.parentNode));var _,g=i.getBoundingClientRect(),x=g.right-g.left,L=g.bottom-g.top,S=/left|right|inline/.test(T.cssFloat+T.display)||"flex"==Y.display&&0===Y["flex-direction"].indexOf("row"),C=i.offsetWidth>y.offsetWidth,A=i.offsetHeight>y.offsetHeight,j=(S?(t.clientX-g.left)/x:(t.clientY-g.top)/L)>.5,E=i.nextElementSibling,I=u(w,o,y,r,i,g);if(I!==!1){if(B=!0,setTimeout(h,30),e(p),1===I||-1===I)_=1===I;else if(S){var F=y.offsetTop,O=i.offsetTop;_=F===O?i.previousElementSibling===y&&!C||j&&C:O>F}else _=E!==y&&!A||j&&A;y.contains(o)||(_&&!E?o.appendChild(y):i.parentNode.insertBefore(y,_?E:i)),v=y.parentNode,this._animate(r,y),this._animate(g,i)}}}},_animate:function(t,e){var n=this.options.animation;if(n){var i=e.getBoundingClientRect();s(e,"transition","none"),s(e,"transform","translate3d("+(t.left-i.left)+"px,"+(t.top-i.top)+"px,0)"),e.offsetWidth,s(e,"transition","all "+n+"ms"),s(e,"transform","translate3d(0,0,0)"),clearTimeout(e.animated),e.animated=setTimeout(function(){s(e,"transition",""),s(e,"transform",""),e.animated=!1},n)}},_offUpEvents:function(){var t=this.el.ownerDocument;a(O,"touchmove",this._onTouchMove),a(t,"mouseup",this._onDrop),a(t,"touchend",this._onDrop),a(t,"touchcancel",this._onDrop)},_onDrop:function(e){var n=this.el,i=this.options;clearInterval(this._loopId),clearInterval(E.pid),clearTimeout(this._dragStartTimer),a(O,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(O,"drop",this),a(n,"dragstart",this._onDragStart)),this._offUpEvents(),e&&(P&&(e.preventDefault(),!i.dropBubble&&e.stopPropagation()),b&&b.parentNode.removeChild(b),y&&(this.nativeDraggable&&a(y,"dragend",this),c(y),o(y,this.options.ghostClass,!1),o(y,this.options.chosenClass,!1),w!==v?(C=m(y),C>=0&&(d(null,v,"sort",y,w,S,C),d(this,w,"sort",y,w,S,C),d(null,v,"add",y,w,S,C),d(this,w,"remove",y,w,S,C))):(M&&M.parentNode.removeChild(M),y.nextSibling!==k&&(C=m(y),C>=0&&(d(this,w,"update",y,w,S,C),d(this,w,"sort",y,w,S,C)))),t.active&&(null!==C&&-1!==C||(C=S),d(this,w,"end",y,w,S,C),this.save())),w=y=v=b=k=M=x=L=A=j=P=C=D=T=H=t.active=null)},handleEvent:function(t){var e=t.type;"dragover"===e||"dragenter"===e?y&&(this._onDragOver(t),i(t)):"drop"!==e&&"dragend"!==e||this._onDrop(t)},toArray:function(){for(var t,e=[],i=this.el.children,r=0,a=i.length,o=this.options;a>r;r++)t=i[r],n(t,o.draggable,this.el)&&e.push(t.getAttribute(o.dataIdAttr)||p(t));return e},sort:function(t){var e={},i=this.el;this.toArray().forEach(function(t,r){var a=i.children[r];n(a,this.options.draggable,i)&&(e[t]=a)},this),t.forEach(function(t){e[t]&&(i.removeChild(e[t]),i.appendChild(e[t]))})},save:function(){var t=this.options.store;t&&t.set(this)},closest:function(t,e){return n(t,e||this.options.draggable,this.el)},option:function(t,e){var n=this.options;return void 0===e?n[t]:(n[t]=e,void("group"===t&&U(n)))},destroy:function(){var t=this.el;t[W]=null,a(t,"mousedown",this._onTapStart),a(t,"touchstart",this._onTapStart),this.nativeDraggable&&(a(t,"dragover",this),a(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),V.splice(V.indexOf(this._onDragOver),1),this._onDrop(),this.el=t=null}},t.utils={on:r,off:a,css:s,find:l,is:function(t,e){return!!n(t,e,t)},extend:g,throttle:_,closest:n,toggleClass:o,index:m},t.create=function(e,n){return new t(e,n)},t.version="1.4.2",t}),function(t){"function"==typeof define&&define.amd?define(["jquery","moment"],t):t(jQuery,moment)}(function(t,e){var n=1e3,i=!1,r=t([]),a=function(){l.resume()},o=function(n,i){var a=n.data("livestampdata");if("number"==typeof i&&(i*=1e3),n.removeAttr("data-livestamp").removeData("livestamp"),i=e(i),e.isMoment(i)&&!isNaN(+i)){var o=t.extend({},{original:n.contents()},a);o.moment=e(i),n.data("livestampdata",o).empty(),r.push(n[0])}},s=function(){i||(l.update(),setTimeout(s,n))},l={update:function(){t("[data-livestamp]").each(function(){var e=t(this);o(e,e.data("livestamp"))});var n=[];r.each(function(){var i=t(this),r=i.data("livestampdata");if(void 0===r)n.push(this);else if(e.isMoment(r.moment)){var a=i.html(),o=r.moment.fromNow();if(a!=o){var s=t.Event("change.livestamp");i.trigger(s,[a,o]),s.isDefaultPrevented()||i.html(o)}}}),r=r.not(n),delete r.prevObject},pause:function(){i=!0},resume:function(){i=!1,s()},interval:function(t){return void 0===t?n:void(n=t)}},d={add:function(n,i){return"number"==typeof i&&(i*=1e3),i=e(i),e.isMoment(i)&&!isNaN(+i)&&(n.each(function(){o(t(this),i)}),l.update()),n},destroy:function(e){return r=r.not(e),e.each(function(){var n=t(this),i=n.data("livestampdata");return void 0===i?e:void n.html(i.original?i.original:"").removeData("livestampdata")}),e},isLivestamp:function(t){return void 0!==t.data("livestampdata")}};t.livestamp=l,t(a),t.fn.livestamp=function(t,e){return d[t]||(e=t,t="add"),d[t](this,e)}}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){function e(e,n){var i=t('<div class="minicolors" />'),r=t.minicolors.defaults;e.data("minicolors-initialized")||(n=t.extend(!0,{},r,n),i.addClass("minicolors-theme-"+n.theme).toggleClass("minicolors-with-opacity",n.opacity).toggleClass("minicolors-no-data-uris",n.dataUris!==!0),void 0!==n.position&&t.each(n.position.split(" "),function(){i.addClass("minicolors-position-"+this)}),e.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",n).prop("size",7).wrap(i).after('<div class="minicolors-panel minicolors-slider-'+n.control+'"><div class="minicolors-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-opacity-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-grid minicolors-sprite"><div class="minicolors-grid-inner"></div><div class="minicolors-picker"><div></div></div></div></div>'),n.inline||(e.after('<span class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></span>'),e.next(".minicolors-swatch").on("click",function(t){t.preventDefault(),e.focus()})),e.parent().find(".minicolors-panel").on("selectstart",function(){return!1}).end(),n.inline&&e.parent().addClass("minicolors-inline"),s(e,!1),e.data("minicolors-initialized",!0))}function n(t){var e=t.parent();t.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),e.before(t).remove()}function i(t){var e=t.parent(),n=e.find(".minicolors-panel"),i=t.data("minicolors-settings");!t.data("minicolors-initialized")||t.prop("disabled")||e.hasClass("minicolors-inline")||e.hasClass("minicolors-focus")||(r(),e.addClass("minicolors-focus"),n.stop(!0,!0).fadeIn(i.showSpeed,function(){i.show&&i.show.call(t.get(0))}))}function r(){t(".minicolors-focus").each(function(){var e=t(this),n=e.find(".minicolors-input"),i=e.find(".minicolors-panel"),r=n.data("minicolors-settings");i.fadeOut(r.hideSpeed,function(){r.hide&&r.hide.call(n.get(0)),e.removeClass("minicolors-focus")})})}function a(t,e,n){var i,r,a,s,l=t.parents(".minicolors").find(".minicolors-input"),d=l.data("minicolors-settings"),u=t.find("[class$=-picker]"),c=t.offset().left,h=t.offset().top,f=Math.round(e.pageX-c),p=Math.round(e.pageY-h),m=n?d.animationSpeed:0;e.originalEvent.changedTouches&&(f=e.originalEvent.changedTouches[0].pageX-c,p=e.originalEvent.changedTouches[0].pageY-h),0>f&&(f=0),0>p&&(p=0),f>t.width()&&(f=t.width()),p>t.height()&&(p=t.height()),t.parent().is(".minicolors-slider-wheel")&&u.parent().is(".minicolors-grid")&&(i=75-f,r=75-p,a=Math.sqrt(i*i+r*r),s=Math.atan2(r,i),0>s&&(s+=2*Math.PI),a>75&&(a=75,f=75-75*Math.cos(s),p=75-75*Math.sin(s)),f=Math.round(f),p=Math.round(p)),t.is(".minicolors-grid")?u.stop(!0).animate({top:p+"px",left:f+"px"},m,d.animationEasing,function(){o(l,t)}):u.stop(!0).animate({top:p+"px"},m,d.animationEasing,function(){o(l,t)})}function o(t,e){function n(t,e){var n,i;return t.length&&e?(n=t.offset().left,i=t.offset().top,{x:n-e.offset().left+t.outerWidth()/2,y:i-e.offset().top+t.outerHeight()/2}):null}var i,r,a,o,s,d,u,h=t.val(),p=t.attr("data-opacity"),m=t.parent(),g=t.data("minicolors-settings"),y=m.find(".minicolors-swatch"),v=m.find(".minicolors-grid"),b=m.find(".minicolors-slider"),M=m.find(".minicolors-opacity-slider"),w=v.find("[class$=-picker]"),k=b.find("[class$=-picker]"),x=M.find("[class$=-picker]"),L=n(w,v),D=n(k,b),T=n(x,M);if(e.is(".minicolors-grid, .minicolors-slider")){switch(g.control){case"wheel":o=v.width()/2-L.x,s=v.height()/2-L.y,d=Math.sqrt(o*o+s*s),u=Math.atan2(s,o),0>u&&(u+=2*Math.PI),d>75&&(d=75,L.x=69-75*Math.cos(u),L.y=69-75*Math.sin(u)),r=f(d/.75,0,100),i=f(180*u/Math.PI,0,360),a=f(100-Math.floor(D.y*(100/b.height())),0,100),h=_({h:i,s:r,b:a}),b.css("backgroundColor",_({h:i,s:r,b:100}));break;case"saturation":i=f(parseInt(L.x*(360/v.width()),10),0,360),r=f(100-Math.floor(D.y*(100/b.height())),0,100),a=f(100-Math.floor(L.y*(100/v.height())),0,100),h=_({h:i,s:r,b:a}),b.css("backgroundColor",_({h:i,s:100,b:a})),m.find(".minicolors-grid-inner").css("opacity",r/100);break;case"brightness":i=f(parseInt(L.x*(360/v.width()),10),0,360),r=f(100-Math.floor(L.y*(100/v.height())),0,100),a=f(100-Math.floor(D.y*(100/b.height())),0,100),h=_({h:i,s:r,b:a}),b.css("backgroundColor",_({h:i,s:r,b:100})),m.find(".minicolors-grid-inner").css("opacity",1-a/100);break;default:i=f(360-parseInt(D.y*(360/b.height()),10),0,360),r=f(Math.floor(L.x*(100/v.width())),0,100),a=f(100-Math.floor(L.y*(100/v.height())),0,100),h=_({h:i,s:r,b:a}),v.css("backgroundColor",_({h:i,s:100,b:100}))}t.val(c(h,g.letterCase))}e.is(".minicolors-opacity-slider")&&(p=g.opacity?parseFloat(1-T.y/M.height()).toFixed(2):1,g.opacity&&t.attr("data-opacity",p)),y.find("SPAN").css({backgroundColor:h,opacity:p}),l(t,h,p)}function s(t,e){var n,i,r,a,o,s,d,u=t.parent(),p=t.data("minicolors-settings"),m=u.find(".minicolors-swatch"),y=u.find(".minicolors-grid"),v=u.find(".minicolors-slider"),b=u.find(".minicolors-opacity-slider"),M=y.find("[class$=-picker]"),w=v.find("[class$=-picker]"),k=b.find("[class$=-picker]");switch(n=c(h(t.val(),!0),p.letterCase),n||(n=c(h(p.defaultValue,!0),p.letterCase)),i=g(n),e||t.val(n),p.opacity&&(r=""===t.attr("data-opacity")?1:f(parseFloat(t.attr("data-opacity")).toFixed(2),0,1),isNaN(r)&&(r=1),t.attr("data-opacity",r),m.find("SPAN").css("opacity",r),o=f(b.height()-b.height()*r,0,b.height()),k.css("top",o+"px")),m.find("SPAN").css("backgroundColor",n),p.control){case"wheel":s=f(Math.ceil(.75*i.s),0,y.height()/2),d=i.h*Math.PI/180,a=f(75-Math.cos(d)*s,0,y.width()),o=f(75-Math.sin(d)*s,0,y.height()),M.css({top:o+"px",left:a+"px"}),o=150-i.b/(100/y.height()),""===n&&(o=0),w.css("top",o+"px"),v.css("backgroundColor",_({h:i.h,s:i.s,b:100}));break;case"saturation":a=f(5*i.h/12,0,150),o=f(y.height()-Math.ceil(i.b/(100/y.height())),0,y.height()),M.css({top:o+"px",left:a+"px"}),o=f(v.height()-i.s*(v.height()/100),0,v.height()),w.css("top",o+"px"),v.css("backgroundColor",_({h:i.h,s:100,b:i.b})),u.find(".minicolors-grid-inner").css("opacity",i.s/100);break;case"brightness":a=f(5*i.h/12,0,150),o=f(y.height()-Math.ceil(i.s/(100/y.height())),0,y.height()),M.css({top:o+"px",left:a+"px"}),o=f(v.height()-i.b*(v.height()/100),0,v.height()),w.css("top",o+"px"),v.css("backgroundColor",_({h:i.h,s:i.s,b:100})),u.find(".minicolors-grid-inner").css("opacity",1-i.b/100);break;default:a=f(Math.ceil(i.s/(100/y.width())),0,y.width()),o=f(y.height()-Math.ceil(i.b/(100/y.height())),0,y.height()),M.css({top:o+"px",left:a+"px"}),o=f(v.height()-i.h/(360/v.height()),0,v.height()),w.css("top",o+"px"),y.css("backgroundColor",_({h:i.h,s:100,b:100}))}t.data("minicolors-initialized")&&l(t,n,r)}function l(t,e,n){var i=t.data("minicolors-settings"),r=t.data("minicolors-lastChange");r&&r.hex===e&&r.opacity===n||(t.data("minicolors-lastChange",{hex:e,opacity:n}),i.change&&(i.changeDelay?(clearTimeout(t.data("minicolors-changeTimeout")),t.data("minicolors-changeTimeout",setTimeout(function(){i.change.call(t.get(0),e,n)},i.changeDelay))):i.change.call(t.get(0),e,n)),t.trigger("change").trigger("input"))}function d(e){var n=h(t(e).val(),!0),i=v(n),r=t(e).attr("data-opacity");return i?(void 0!==r&&t.extend(i,{a:parseFloat(r)}),i):null}function u(e,n){var i=h(t(e).val(),!0),r=v(i),a=t(e).attr("data-opacity");return r?(void 0===a&&(a=1),n?"rgba("+r.r+", "+r.g+", "+r.b+", "+parseFloat(a)+")":"rgb("+r.r+", "+r.g+", "+r.b+")"):null}function c(t,e){return"uppercase"===e?t.toUpperCase():t.toLowerCase()}function h(t,e){return t=t.replace(/[^A-F0-9]/gi,""),3!==t.length&&6!==t.length?"":(3===t.length&&e&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),"#"+t)}function f(t,e,n){return e>t&&(t=e),t>n&&(t=n),t}function p(t){var e={},n=Math.round(t.h),i=Math.round(255*t.s/100),r=Math.round(255*t.b/100);if(0===i)e.r=e.g=e.b=r;else{var a=r,o=(255-i)*r/255,s=(a-o)*(n%60)/60;360===n&&(n=0),60>n?(e.r=a,e.b=o,e.g=o+s):120>n?(e.g=a,e.b=o,e.r=a-s):180>n?(e.g=a,e.r=o,e.b=o+s):240>n?(e.b=a,e.r=o,e.g=a-s):300>n?(e.b=a,e.g=o,e.r=o+s):360>n?(e.r=a,e.g=o,e.b=a-s):(e.r=0,e.g=0,e.b=0)}return{r:Math.round(e.r),g:Math.round(e.g),b:Math.round(e.b)}}function m(e){var n=[e.r.toString(16),e.g.toString(16),e.b.toString(16)];return t.each(n,function(t,e){1===e.length&&(n[t]="0"+e)}),"#"+n.join("")}function _(t){return m(p(t))}function g(t){var e=y(v(t));return 0===e.s&&(e.h=360),e}function y(t){var e={h:0,s:0,b:0},n=Math.min(t.r,t.g,t.b),i=Math.max(t.r,t.g,t.b),r=i-n;return e.b=i,e.s=0!==i?255*r/i:0,0!==e.s?t.r===i?e.h=(t.g-t.b)/r:t.g===i?e.h=2+(t.b-t.r)/r:e.h=4+(t.r-t.g)/r:e.h=-1,e.h*=60,e.h<0&&(e.h+=360),e.s*=100/255,e.b*=100/255,e}function v(t){return t=parseInt(t.indexOf("#")>-1?t.substring(1):t,16),{r:t>>16,g:(65280&t)>>8,b:255&t}}t.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",dataUris:!0,defaultValue:"",hide:null,hideSpeed:100,inline:!1,letterCase:"lowercase",opacity:!1,position:"bottom left",show:null,showSpeed:100,theme:"default"}},t.extend(t.fn,{minicolors:function(a,o){switch(a){case"destroy":return t(this).each(function(){n(t(this))}),t(this);case"hide":return r(),t(this);case"opacity":return void 0===o?t(this).attr("data-opacity"):(t(this).each(function(){s(t(this).attr("data-opacity",o))}),t(this));case"rgbObject":return d(t(this),"rgbaObject"===a);case"rgbString":case"rgbaString":return u(t(this),"rgbaString"===a);case"settings":return void 0===o?t(this).data("minicolors-settings"):(t(this).each(function(){var e=t(this).data("minicolors-settings")||{};n(t(this)),t(this).minicolors(t.extend(!0,e,o))}),t(this));case"show":return i(t(this).eq(0)),t(this);case"value":return void 0===o?t(this).val():(t(this).each(function(){s(t(this).val(o))}),t(this));default:return"create"!==a&&(o=a),t(this).each(function(){e(t(this),o)}),t(this)}}}),t(document).on("mousedown.minicolors touchstart.minicolors",function(e){t(e.target).parents().add(e.target).hasClass("minicolors")||r()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(e){var n=t(this);e.preventDefault(),t(document).data("minicolors-target",n),a(n,e,!0)}).on("mousemove.minicolors touchmove.minicolors",function(e){var n=t(document).data("minicolors-target");n&&a(n,e)}).on("mouseup.minicolors touchend.minicolors",function(){t(this).removeData("minicolors-target")}).on("mousedown.minicolors touchstart.minicolors",".minicolors-swatch",function(e){var n=t(this).parent().find(".minicolors-input");e.preventDefault(),i(n)}).on("focus.minicolors",".minicolors-input",function(){var e=t(this);e.data("minicolors-initialized")&&i(e)}).on("blur.minicolors",".minicolors-input",function(){var e=t(this),n=e.data("minicolors-settings");e.data("minicolors-initialized")&&(e.val(h(e.val(),!0)),""===e.val()&&e.val(h(n.defaultValue,!0)),e.val(c(e.val(),n.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(e){var n=t(this);if(n.data("minicolors-initialized"))switch(e.keyCode){case 9:r();break;case 13:case 27:r(),n.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var e=t(this);e.data("minicolors-initialized")&&s(e,!0)}).on("paste.minicolors",".minicolors-input",function(){var e=t(this);e.data("minicolors-initialized")&&setTimeout(function(){s(e,!0)},1)})}),jQuery.fn.serializeObject=function(){for(var t={},e=this.serializeArray(),n=0,i=e.length;i>n;n++){var r=e[n],a=r.name,o=null!=r.value?r.value:"";void 0!==t[a]?(t[a].push||(t[a]=[t[a]]),t[a].push(o)):t[a]=o}return t},function t(e,n,i){function r(o,s){if(!n[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(a)return a(o,!0);var d=new Error("Cannot find module '"+o+"'");throw d.code="MODULE_NOT_FOUND",d}var u=n[o]={exports:{}};e[o][0].call(u.exports,function(t){var n=e[o][1][t];return r(n?n:t)},u,u.exports,t,e,n,i)}return n[o].exports}for(var a="function"==typeof require&&require,o=0;o<i.length;o++)r(i[o]);return r}({1:[function(t,e,n){},{}],2:[function(t,e,n){function i(t){if(t){var e=/^#([a-fA-F0-9]{3})$/,n=/^#([a-fA-F0-9]{6})$/,i=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,r=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,a=/(\w+)/,o=[0,0,0],s=1,l=t.match(e);if(l){l=l[1];for(var d=0;d<o.length;d++)o[d]=parseInt(l[d]+l[d],16)}else if(l=t.match(n)){l=l[1];for(var d=0;d<o.length;d++)o[d]=parseInt(l.slice(2*d,2*d+2),16)}else if(l=t.match(i)){for(var d=0;d<o.length;d++)o[d]=parseInt(l[d+1]);s=parseFloat(l[4])}else if(l=t.match(r)){for(var d=0;d<o.length;d++)o[d]=Math.round(2.55*parseFloat(l[d+1]));s=parseFloat(l[4])}else if(l=t.match(a)){if("transparent"==l[1])return[0,0,0,0];if(o=b[l[1]],!o)return}for(var d=0;d<o.length;d++)o[d]=y(o[d],0,255);return s=s||0==s?y(s,0,1):1,o[3]=s,o}}function r(t){if(t){var e=/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=t.match(e);if(n){var i=parseFloat(n[4]),r=y(parseInt(n[1]),0,360),a=y(parseFloat(n[2]),0,100),o=y(parseFloat(n[3]),0,100),s=y(isNaN(i)?1:i,0,1);return[r,a,o,s]}}}function a(t){if(t){var e=/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=t.match(e);if(n){var i=parseFloat(n[4]),r=y(parseInt(n[1]),0,360),a=y(parseFloat(n[2]),0,100),o=y(parseFloat(n[3]),0,100),s=y(isNaN(i)?1:i,0,1);return[r,a,o,s]}}}function o(t){var e=i(t);return e&&e.slice(0,3)}function s(t){var e=r(t);return e&&e.slice(0,3)}function l(t){var e=i(t);return e?e[3]:(e=r(t))?e[3]:(e=a(t))?e[3]:void 0}function d(t){return"#"+v(t[0])+v(t[1])+v(t[2])}function u(t,e){return 1>e||t[3]&&t[3]<1?c(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"}function c(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function h(t,e){if(1>e||t[3]&&t[3]<1)return f(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+"%)"}function f(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"rgba("+n+"%, "+i+"%, "+r+"%, "+(e||t[3]||1)+")"}function p(t,e){return 1>e||t[3]&&t[3]<1?m(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"}function m(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}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:"")+")"}function g(t){return M[t.slice(0,3)]}function y(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=t("color-name");e.exports={getRgba:i,getHsla:r,getRgb:o,getHsl:s,getHwb:a,getAlpha:l,hexString:d,rgbString:u,rgbaString:c,percentString:h,percentaString:f,hslString:p,hslaString:m,hwbString:_,keyword:g};var M={};for(var w in b)M[b[w]]=w},{"color-name":6}],3:[function(t,e,n){var i=t("color-convert"),r=t("chartjs-color-string"),a=function(t){if(t instanceof a)return t;if(!(this instanceof a))return new a(t);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};var e;if("string"==typeof t)if(e=r.getRgba(t))this.setValues("rgb",e);else if(e=r.getHsla(t))this.setValues("hsl",e);else{if(!(e=r.getHwb(t)))throw new Error('Unable to parse color from string "'+t+'"');this.setValues("hwb",e)}else if("object"==typeof t)if(e=t,void 0!==e.r||void 0!==e.red)this.setValues("rgb",e);else if(void 0!==e.l||void 0!==e.lightness)this.setValues("hsl",e);else if(void 0!==e.v||void 0!==e.value)this.setValues("hsv",e);else if(void 0!==e.w||void 0!==e.whiteness)this.setValues("hwb",e);else{if(void 0===e.c&&void 0===e.cyan)throw new Error("Unable to parse color from object "+JSON.stringify(t));this.setValues("cmyk",e)}};a.prototype={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%=360,t=0>t?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 r.hexString(this.values.rgb)},rgbString:function(){return r.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return r.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return r.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return r.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return r.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return r.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return r.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]=.03928>=i?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,e=(299*t[0]+587*t[1]+114*t[2])/1e3;return 128>e},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;3>e;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]=0>n?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=this,i=t,r=void 0===e?.5:e,a=2*r-1,o=n.alpha()-i.alpha(),s=((a*o===-1?a:(a+o)/(1+a*o))+1)/2,l=1-s;return this.rgb(s*n.red()+l*i.red(),s*n.green()+l*i.green(),s*n.blue()+l*i.blue()).alpha(n.alpha()*r+i.alpha()*(1-r))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new a,i=this.values,r=n.values;for(var o in i)i.hasOwnProperty(o)&&(t=i[o],e={}.toString.call(t),"[object Array]"===e?r[o]=t.slice(0):"[object Number]"===e&&(r[o]=t));return n}},a.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},a.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},a.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},a.prototype.setValues=function(t,e){var n,r=this.values,a=this.spaces,o=this.maxes,s=1;if("alpha"===t)s=e;else if(e.length)r[t]=e.slice(0,t.length),s=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)];s=e.a}else if(void 0!==e[a[t][0]]){var l=a[t];for(n=0;n<t.length;n++)r[t][n]=e[l[n]];s=e.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===s?r.alpha:s)),"alpha"===t)return!1;var d;for(n=0;n<t.length;n++)d=Math.max(0,Math.min(o[t][n],r[t][n])),r[t][n]=Math.round(d);for(var u in a)u!==t&&(r[u]=i[t][u](r[t]));return!0},a.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)},a.prototype.setChannel=function(t,e,n){var i=this.values[t];return void 0===n?i[e]:n===i[e]?this:(i[e]=n,this.setValues(t,i),this)},"undefined"!=typeof window&&(window.Color=a),e.exports=a},{"chartjs-color-string":2,"color-convert":5}],4:[function(t,e,n){function i(t){var e,n,i,r=t[0]/255,a=t[1]/255,o=t[2]/255,s=Math.min(r,a,o),l=Math.max(r,a,o),d=l-s;return l==s?e=0:r==l?e=(a-o)/d:a==l?e=2+(o-r)/d:o==l&&(e=4+(r-a)/d),e=Math.min(60*e,360),0>e&&(e+=360),i=(s+l)/2,n=l==s?0:.5>=i?d/(l+s):d/(2-l-s),[e,100*n,100*i]}function a(t){var e,n,i,r=t[0],a=t[1],o=t[2],s=Math.min(r,a,o),l=Math.max(r,a,o),d=l-s;return n=0==l?0:d/l*1e3/10,l==s?e=0:r==l?e=(a-o)/d:a==l?e=2+(o-r)/d:o==l&&(e=4+(r-a)/d),e=Math.min(60*e,360),0>e&&(e+=360),i=l/255*1e3/10,[e,n,i]}function o(t){var e=t[0],n=t[1],r=t[2],a=i(t)[0],o=1/255*Math.min(e,Math.min(n,r)),r=1-1/255*Math.max(e,Math.max(n,r));return[a,100*o,100*r]}function s(t){var e,n,i,r,a=t[0]/255,o=t[1]/255,s=t[2]/255;return r=Math.min(1-a,1-o,1-s),e=(1-a-r)/(1-r)||0,n=(1-o-r)/(1-r)||0,i=(1-s-r)/(1-r)||0,[100*e,100*n,100*i,100*r]}function l(t){return Q[JSON.stringify(t)]}function d(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255;e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92;var r=.4124*e+.3576*n+.1805*i,a=.2126*e+.7152*n+.0722*i,o=.0193*e+.1192*n+.9505*i;return[100*r,100*a,100*o]}function u(t){var e,n,i,r=d(t),a=r[0],o=r[1],s=r[2];return a/=95.047,o/=100,s/=108.883,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,e=116*o-16,n=500*(a-o),i=200*(o-s),[e,n,i]}function c(t){return F(u(t))}function h(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,a];n=.5>l?l*(1+s):l+s-l*s,e=2*l-n,r=[0,0,0];for(var d=0;3>d;d++)i=o+1/3*-(d-1),0>i&&i++,i>1&&i--,a=1>6*i?e+6*(n-e)*i:1>2*i?n:2>3*i?e+(n-e)*(2/3-i)*6:e,r[d]=255*a;return r}function f(t){var e,n,i=t[0],r=t[1]/100,a=t[2]/100;return 0===a?[0,0,0]:(a*=2,r*=1>=a?a:2-a,n=(a+r)/2,e=2*r/(a+r),[i,100*e,100*n])}function p(t){return o(h(t))}function m(t){return s(h(t))}function _(t){return l(h(t))}function y(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)),i=255*i;switch(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]}}function v(t){var e,n,i=t[0],r=t[1]/100,a=t[2]/100;return n=(2-r)*a,e=r*a,e/=1>=n?n:2-n,e=e||0,n/=2,[i,100*e,100*n]}function M(t){return o(y(t))}function w(t){return s(y(t))}function k(t){return l(y(t))}function x(t){var e,n,i,a,o=t[0]/360,s=t[1]/100,l=t[2]/100,d=s+l;switch(d>1&&(s/=d,l/=d),e=Math.floor(6*o),n=1-l,i=6*o-e,0!=(1&e)&&(i=1-i),a=s+i*(n-s),e){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function L(t){return i(x(t))}function D(t){return a(x(t))}function T(t){return s(x(t))}function Y(t){return l(x(t))}function S(t){var e,n,i,r=t[0]/100,a=t[1]/100,o=t[2]/100,s=t[3]/100;return e=1-Math.min(1,r*(1-s)+s),n=1-Math.min(1,a*(1-s)+s),i=1-Math.min(1,o*(1-s)+s),[255*e,255*n,255*i]}function C(t){return i(S(t))}function H(t){return a(S(t))}function A(t){return o(S(t))}function j(t){return l(S(t))}function P(t){var e,n,i,r=t[0]/100,a=t[1]/100,o=t[2]/100;return e=3.2406*r+-1.5372*a+o*-.4986,n=r*-.9689+1.8758*a+.0415*o,i=.0557*r+a*-.204+1.057*o,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:e=12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n=12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i=12.92*i,e=Math.min(Math.max(0,e),1),n=Math.min(Math.max(0,n),1),i=Math.min(Math.max(0,i),1),[255*e,255*n,255*i]}function E(t){var e,n,i,r=t[0],a=t[1],o=t[2];return r/=95.047,a/=100,o/=108.883,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,e=116*a-16,n=500*(r-a),i=200*(a-o),[e,n,i]}function I(t){return F(E(t))}function W(t){var e,n,i,r,a=t[0],o=t[1],s=t[2];return 8>=a?(n=100*a/903.3,r=7.787*(n/100)+16/116):(n=100*Math.pow((a+16)/116,3),r=Math.pow(n/100,1/3)),e=.008856>=e/95.047?e=95.047*(o/500+r-16/116)/7.787:95.047*Math.pow(o/500+r,3),i=.008859>=i/108.883?i=108.883*(r-s/200-16/116)/7.787:108.883*Math.pow(r-s/200,3),[e,n,i]}function F(t){var e,n,i,r=t[0],a=t[1],o=t[2];return e=Math.atan2(o,a),n=360*e/2/Math.PI,0>n&&(n+=360),i=Math.sqrt(a*a+o*o),[r,i,n]}function O(t){return P(W(t))}function R(t){var e,n,i,r=t[0],a=t[1],o=t[2];return i=o/360*2*Math.PI,e=a*Math.cos(i),n=a*Math.sin(i),[r,e,n]}function N(t){return W(R(t))}function z(t){return O(R(t))}function B(t){return X[t]}function $(t){return i(B(t))}function V(t){return a(B(t))}function q(t){return o(B(t))}function U(t){return s(B(t))}function J(t){return u(B(t))}function G(t){return d(B(t))}e.exports={rgb2hsl:i,rgb2hsv:a,rgb2hwb:o,rgb2cmyk:s,rgb2keyword:l,rgb2xyz:d,rgb2lab:u,rgb2lch:c,hsl2rgb:h,hsl2hsv:f,hsl2hwb:p,hsl2cmyk:m,hsl2keyword:_,hsv2rgb:y,hsv2hsl:v,hsv2hwb:M,hsv2cmyk:w,hsv2keyword:k,hwb2rgb:x,hwb2hsl:L,hwb2hsv:D,hwb2cmyk:T,hwb2keyword:Y,cmyk2rgb:S,cmyk2hsl:C,cmyk2hsv:H,cmyk2hwb:A,cmyk2keyword:j,keyword2rgb:B,keyword2hsl:$,keyword2hsv:V,keyword2hwb:q,keyword2cmyk:U,keyword2lab:J,keyword2xyz:G,xyz2rgb:P,xyz2lab:E,xyz2lch:I,lab2xyz:W,lab2rgb:O,lab2lch:F,lch2lab:R,lch2xyz:N,lch2rgb:z};var X={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]},Q={};for(var Z in X)Q[JSON.stringify(X[Z])]=Z},{}],5:[function(t,e,n){var i=t("./conversions"),r=function(){return new d};for(var a in i){r[a+"Raw"]=function(t){return function(e){return"number"==typeof e&&(e=Array.prototype.slice.call(arguments)),i[t](e)}}(a);var o=/(\w+)2(\w+)/.exec(a),s=o[1],l=o[2];r[s]=r[s]||{},r[s][l]=r[a]=function(t){return function(e){"number"==typeof e&&(e=Array.prototype.slice.call(arguments));var n=i[t](e);if("string"==typeof n||void 0===n)return n;for(var r=0;r<n.length;r++)n[r]=Math.round(n[r]);return n}}(a)}var d=function(){this.convs={}};d.prototype.routeSpace=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))},d.prototype.setValues=function(t,e){return this.space=t,this.convs={},this.convs[t]=e,this},d.prototype.getValues=function(t){var e=this.convs[t];if(!e){var n=this.space,i=this.convs[n];e=r[n][t](i),this.convs[t]=e}return e},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(t){d.prototype[t]=function(e){return this.routeSpace(t,arguments)}}),e.exports=r},{"./conversions":4}],6:[function(t,e,n){e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],7:[function(t,e,n){var i=t("./core/core.js")();t("./core/core.helpers")(i),t("./core/core.element")(i),t("./core/core.animation")(i),t("./core/core.controller")(i),t("./core/core.datasetController")(i),t("./core/core.layoutService")(i),t("./core/core.legend")(i),t("./core/core.plugin.js")(i),t("./core/core.scale")(i),t("./core/core.scaleService")(i),t("./core/core.title")(i),t("./core/core.tooltip")(i),t("./elements/element.arc")(i),t("./elements/element.line")(i),t("./elements/element.point")(i),t("./elements/element.rectangle")(i),t("./scales/scale.category")(i),t("./scales/scale.linear")(i),t("./scales/scale.logarithmic")(i),t("./scales/scale.radialLinear")(i),t("./scales/scale.time")(i),t("./controllers/controller.bar")(i),t("./controllers/controller.bubble")(i),t("./controllers/controller.doughnut")(i),t("./controllers/controller.line")(i),t("./controllers/controller.polarArea")(i),t("./controllers/controller.radar")(i),t("./charts/Chart.Bar")(i),t("./charts/Chart.Bubble")(i),t("./charts/Chart.Doughnut")(i),t("./charts/Chart.Line")(i),t("./charts/Chart.PolarArea")(i),t("./charts/Chart.Radar")(i),t("./charts/Chart.Scatter")(i),window.Chart=e.exports=i},{"./charts/Chart.Bar":8,"./charts/Chart.Bubble":9,"./charts/Chart.Doughnut":10,"./charts/Chart.Line":11,"./charts/Chart.PolarArea":12,"./charts/Chart.Radar":13,"./charts/Chart.Scatter":14,"./controllers/controller.bar":15,"./controllers/controller.bubble":16,"./controllers/controller.doughnut":17,"./controllers/controller.line":18,"./controllers/controller.polarArea":19,"./controllers/controller.radar":20,"./core/core.animation":21,"./core/core.controller":22,"./core/core.datasetController":23,"./core/core.element":24,"./core/core.helpers":25,"./core/core.js":26,"./core/core.layoutService":27,"./core/core.legend":28,"./core/core.plugin.js":29,"./core/core.scale":30,"./core/core.scaleService":31,"./core/core.title":32,"./core/core.tooltip":33,"./elements/element.arc":34,"./elements/element.line":35,"./elements/element.point":36,"./elements/element.rectangle":37,"./scales/scale.category":38,"./scales/scale.linear":39,"./scales/scale.logarithmic":40,"./scales/scale.radialLinear":41,"./scales/scale.time":42}],8:[function(t,e,n){"use strict";e.exports=function(t){t.Bar=function(e,n){return n.type="bar",new t(e,n)}}},{}],9:[function(t,e,n){"use strict";e.exports=function(t){t.Bubble=function(e,n){return n.type="bubble",new t(e,n)}}},{}],10:[function(t,e,n){"use strict";e.exports=function(t){t.Doughnut=function(e,n){return n.type="doughnut",new t(e,n)}}},{}],11:[function(t,e,n){"use strict";e.exports=function(t){t.Line=function(e,n){return n.type="line",new t(e,n)}}},{}],12:[function(t,e,n){"use strict";e.exports=function(t){t.PolarArea=function(e,n){return n.type="polarArea",new t(e,n)}}},{}],13:[function(t,e,n){"use strict";e.exports=function(t){t.Radar=function(e,n){return n.options=t.helpers.configMerge({aspectRatio:1},n.options),n.type="radar",new t(e,n)}}},{}],14:[function(t,e,n){"use strict";e.exports=function(t){var e={hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-1"}],yAxes:[{type:"linear",position:"left",id:"y-axis-1"}]},tooltips:{callbacks:{title:function(t,e){return""},label:function(t,e){return"("+t.xLabel+", "+t.yLabel+")"}}}};t.defaults.scatter=e,t.controllers.scatter=t.controllers.line,t.Scatter=function(e,n){return n.type="scatter",new t(e,n)}}},{}],15:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.bar={hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}},t.controllers.bar=t.DatasetController.extend({dataElementType:t.elements.Rectangle,initialize:function(e,n){t.DatasetController.prototype.initialize.call(this,e,n),this.getMeta().bar=!0},getBarCount:function(){var t=0;return e.each(this.chart.data.datasets,function(e,n){var i=this.chart.getDatasetMeta(n);i.bar&&this.chart.isDatasetVisible(n)&&++t},this),t},update:function(t){e.each(this.getMeta().data,function(e,n){this.updateElement(e,n,t)},this)},updateElement:function(t,n,i){var r=this.getMeta(),a=this.getScaleForId(r.xAxisID),o=this.getScaleForId(r.yAxisID),s=o.getBasePixel(),l=this.chart.options.elements.rectangle,d=t.custom||{},u=this.getDataset();e.extend(t,{_xScale:a,_yScale:o,_datasetIndex:this.index,_index:n,_model:{x:this.calculateBarX(n,this.index),y:i?s:this.calculateBarY(n,this.index),label:this.chart.data.labels[n],datasetLabel:u.label,base:i?s:this.calculateBarBase(this.index,n),width:this.calculateBarWidth(n),backgroundColor:d.backgroundColor?d.backgroundColor:e.getValueAtIndexOrDefault(u.backgroundColor,n,l.backgroundColor),borderSkipped:d.borderSkipped?d.borderSkipped:l.borderSkipped,borderColor:d.borderColor?d.borderColor:e.getValueAtIndexOrDefault(u.borderColor,n,l.borderColor),borderWidth:d.borderWidth?d.borderWidth:e.getValueAtIndexOrDefault(u.borderWidth,n,l.borderWidth)}}),t.pivot()},calculateBarBase:function(t,e){var n=this.getMeta(),i=this.getScaleForId(n.yAxisID),r=0;if(i.options.stacked){var a=this.chart,o=a.data.datasets,s=o[t].data[e];if(0>s)for(var l=0;t>l;l++){var d=o[l],u=a.getDatasetMeta(l);u.bar&&u.yAxisID===i.id&&a.isDatasetVisible(l)&&(r+=d.data[e]<0?d.data[e]:0)}else for(var c=0;t>c;c++){var h=o[c],f=a.getDatasetMeta(c);f.bar&&f.yAxisID===i.id&&a.isDatasetVisible(c)&&(r+=h.data[e]>0?h.data[e]:0)}return i.getPixelForValue(r)}return i.getBasePixel()},getRuler:function(t){var e,n=this.getMeta(),i=this.getScaleForId(n.xAxisID),r=this.getBarCount();e="category"===i.options.type?i.getPixelForTick(t+1)-i.getPixelForTick(t):i.width/i.ticks.length;var a=e*i.options.categoryPercentage,o=(e-e*i.options.categoryPercentage)/2,s=a/r;if(i.ticks.length!==this.chart.data.labels.length){var l=i.ticks.length/this.chart.data.labels.length;s*=l}var d=s*i.options.barPercentage,u=s-s*i.options.barPercentage;return{datasetCount:r,tickWidth:e,categoryWidth:a,categorySpacing:o,fullBarWidth:s,barWidth:d,barSpacing:u}},calculateBarWidth:function(t){var e=this.getScaleForId(this.getMeta().xAxisID),n=this.getRuler(t);return e.options.stacked?n.categoryWidth:n.barWidth},getBarIndex:function(t){var e,n,i=0;for(n=0;t>n;++n)e=this.chart.getDatasetMeta(n),e.bar&&this.chart.isDatasetVisible(n)&&++i;return i},calculateBarX:function(t,e){var n=this.getMeta(),i=this.getScaleForId(n.xAxisID),r=this.getBarIndex(e),a=this.getRuler(t),o=i.getPixelForValue(null,t,e,this.chart.isCombo);return o-=this.chart.isCombo?a.tickWidth/2:0,i.options.stacked?o+a.categoryWidth/2+a.categorySpacing:o+a.barWidth/2+a.categorySpacing+a.barWidth*r+a.barSpacing/2+a.barSpacing*r},calculateBarY:function(t,e){var n=this.getMeta(),i=this.getScaleForId(n.yAxisID),r=this.getDataset().data[t];if(i.options.stacked){for(var a=0,o=0,s=0;e>s;s++){var l=this.chart.data.datasets[s],d=this.chart.getDatasetMeta(s);d.bar&&d.yAxisID===i.id&&this.chart.isDatasetVisible(s)&&(l.data[t]<0?o+=l.data[t]||0:a+=l.data[t]||0)}return 0>r?i.getPixelForValue(o+r):i.getPixelForValue(a+r)}return i.getPixelForValue(r)},draw:function(t){var n=t||1;e.each(this.getMeta().data,function(t,e){var i=this.getDataset().data[e];null===i||void 0===i||isNaN(i)||t.transition(n).draw()},this)},setHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t._index,r=t.custom||{},a=t._model;a.backgroundColor=r.hoverBackgroundColor?r.hoverBackgroundColor:e.getValueAtIndexOrDefault(n.hoverBackgroundColor,i,e.getHoverColor(a.backgroundColor)),a.borderColor=r.hoverBorderColor?r.hoverBorderColor:e.getValueAtIndexOrDefault(n.hoverBorderColor,i,e.getHoverColor(a.borderColor)),a.borderWidth=r.hoverBorderWidth?r.hoverBorderWidth:e.getValueAtIndexOrDefault(n.hoverBorderWidth,i,a.borderWidth)},removeHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t._index,r=t.custom||{},a=t._model,o=this.chart.options.elements.rectangle;a.backgroundColor=r.backgroundColor?r.backgroundColor:e.getValueAtIndexOrDefault(n.backgroundColor,i,o.backgroundColor),a.borderColor=r.borderColor?r.borderColor:e.getValueAtIndexOrDefault(n.borderColor,i,o.borderColor),a.borderWidth=r.borderWidth?r.borderWidth:e.getValueAtIndexOrDefault(n.borderWidth,i,o.borderWidth)}}),t.defaults.horizontalBar={hover:{mode:"label"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(t,e){var n="";return t.length>0&&(t[0].yLabel?n=t[0].yLabel:e.labels.length>0&&t[0].index<e.labels.length&&(n=e.labels[t[0].index])),n},label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n+": "+t.xLabel}}}},t.controllers.horizontalBar=t.controllers.bar.extend({updateElement:function(t,n,i,r){var a=this.getMeta(),o=this.getScaleForId(a.xAxisID),s=this.getScaleForId(a.yAxisID),l=o.getBasePixel(),d=t.custom||{},u=this.getDataset(),c=this.chart.options.elements.rectangle;e.extend(t,{_xScale:o,_yScale:s,_datasetIndex:this.index,_index:n,_model:{x:i?l:this.calculateBarX(n,this.index),y:this.calculateBarY(n,this.index),label:this.chart.data.labels[n],datasetLabel:u.label,base:i?l:this.calculateBarBase(this.index,n),height:this.calculateBarHeight(n),backgroundColor:d.backgroundColor?d.backgroundColor:e.getValueAtIndexOrDefault(u.backgroundColor,n,c.backgroundColor),borderSkipped:d.borderSkipped?d.borderSkipped:c.borderSkipped,borderColor:d.borderColor?d.borderColor:e.getValueAtIndexOrDefault(u.borderColor,n,c.borderColor),borderWidth:d.borderWidth?d.borderWidth:e.getValueAtIndexOrDefault(u.borderWidth,n,c.borderWidth)},draw:function(){function t(t){return l[(u+t)%4]}var e=this._chart.ctx,n=this._view,i=n.height/2,r=n.y-i,a=n.y+i,o=n.base-(n.base-n.x),s=n.borderWidth/2;n.borderWidth&&(r+=s,a-=s,o+=s),e.beginPath(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth;var l=[[n.base,a],[n.base,r],[o,r],[o,a]],d=["bottom","left","top","right"],u=d.indexOf(n.borderSkipped,0);-1===u&&(u=0),e.moveTo.apply(e,t(0));for(var c=1;4>c;c++)e.lineTo.apply(e,t(c));e.fill(),n.borderWidth&&e.stroke()},inRange:function(t,e){var n=this._view,i=!1;return n&&(i=n.x<n.base?e>=n.y-n.height/2&&e<=n.y+n.height/2&&t>=n.x&&t<=n.base:e>=n.y-n.height/2&&e<=n.y+n.height/2&&t>=n.base&&t<=n.x),i}}),t.pivot()},calculateBarBase:function(t,e){var n=this.getMeta(),i=this.getScaleForId(n.xAxisID),r=0;if(i.options.stacked){var a=this.chart.data.datasets[t].data[e];if(0>a)for(var o=0;t>o;o++){var s=this.chart.data.datasets[o],l=this.chart.getDatasetMeta(o);l.bar&&l.xAxisID===i.id&&this.chart.isDatasetVisible(o)&&(r+=s.data[e]<0?s.data[e]:0)}else for(var d=0;t>d;d++){var u=this.chart.data.datasets[d],c=this.chart.getDatasetMeta(d);c.bar&&c.xAxisID===i.id&&this.chart.isDatasetVisible(d)&&(r+=u.data[e]>0?u.data[e]:0)}return i.getPixelForValue(r)}return i.getBasePixel()},getRuler:function(t){var e,n=this.getMeta(),i=this.getScaleForId(n.yAxisID),r=this.getBarCount();e="category"===i.options.type?i.getPixelForTick(t+1)-i.getPixelForTick(t):i.width/i.ticks.length;var a=e*i.options.categoryPercentage,o=(e-e*i.options.categoryPercentage)/2,s=a/r;if(i.ticks.length!==this.chart.data.labels.length){var l=i.ticks.length/this.chart.data.labels.length;s*=l}var d=s*i.options.barPercentage,u=s-s*i.options.barPercentage;return{datasetCount:r,tickHeight:e,categoryHeight:a,categorySpacing:o,fullBarHeight:s,barHeight:d,barSpacing:u}},calculateBarHeight:function(t){var e=this.getScaleForId(this.getMeta().yAxisID),n=this.getRuler(t);return e.options.stacked?n.categoryHeight:n.barHeight},calculateBarX:function(t,e){var n=this.getMeta(),i=this.getScaleForId(n.xAxisID),r=this.getDataset().data[t];if(i.options.stacked){for(var a=0,o=0,s=0;e>s;s++){var l=this.chart.data.datasets[s],d=this.chart.getDatasetMeta(s);d.bar&&d.xAxisID===i.id&&this.chart.isDatasetVisible(s)&&(l.data[t]<0?o+=l.data[t]||0:a+=l.data[t]||0)}return 0>r?i.getPixelForValue(o+r):i.getPixelForValue(a+r)}return i.getPixelForValue(r)},calculateBarY:function(t,e){var n=this.getMeta(),i=this.getScaleForId(n.yAxisID),r=this.getBarIndex(e),a=this.getRuler(t),o=i.getPixelForValue(null,t,e,this.chart.isCombo);return o-=this.chart.isCombo?a.tickHeight/2:0,i.options.stacked?o+a.categoryHeight/2+a.categorySpacing:o+a.barHeight/2+a.categorySpacing+a.barHeight*r+a.barSpacing/2+a.barSpacing*r}})}},{}],16:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.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(t,e){return""},label:function(t,e){var n=e.datasets[t.datasetIndex].label||"",i=e.datasets[t.datasetIndex].data[t.index];return n+": ("+i.x+", "+i.y+", "+i.r+")"}}}},t.controllers.bubble=t.DatasetController.extend({dataElementType:t.elements.Point,update:function(t){var n=this.getMeta(),i=n.data;e.each(i,function(e,n){this.updateElement(e,n,t)},this)},updateElement:function(t,n,i){var r=this.getMeta(),a=this.getScaleForId(r.xAxisID),o=this.getScaleForId(r.yAxisID),s=t.custom||{},l=this.getDataset(),d=l.data[n],u=this.chart.options.elements.point;e.extend(t,{_xScale:a,_yScale:o,_datasetIndex:this.index,_index:n,_model:{x:i?a.getPixelForDecimal(.5):a.getPixelForValue(d,n,this.index,this.chart.isCombo),y:i?o.getBasePixel():o.getPixelForValue(d,n,this.index),radius:i?0:s.radius?s.radius:this.getRadius(d),backgroundColor:s.backgroundColor?s.backgroundColor:e.getValueAtIndexOrDefault(l.backgroundColor,n,u.backgroundColor),borderColor:s.borderColor?s.borderColor:e.getValueAtIndexOrDefault(l.borderColor,n,u.borderColor),borderWidth:s.borderWidth?s.borderWidth:e.getValueAtIndexOrDefault(l.borderWidth,n,u.borderWidth),hitRadius:s.hitRadius?s.hitRadius:e.getValueAtIndexOrDefault(l.hitRadius,n,u.hitRadius)}});var c=t._model;c.skip=s.skip?s.skip:isNaN(c.x)||isNaN(c.y),t.pivot()},getRadius:function(t){return t.r||this.chart.options.elements.point.radius},setHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t._index,r=t.custom||{},a=t._model;a.radius=r.hoverRadius?r.hoverRadius:e.getValueAtIndexOrDefault(n.hoverRadius,i,this.chart.options.elements.point.hoverRadius)+this.getRadius(this.getDataset().data[t._index]),a.backgroundColor=r.hoverBackgroundColor?r.hoverBackgroundColor:e.getValueAtIndexOrDefault(n.hoverBackgroundColor,i,e.getHoverColor(a.backgroundColor)),a.borderColor=r.hoverBorderColor?r.hoverBorderColor:e.getValueAtIndexOrDefault(n.hoverBorderColor,i,e.getHoverColor(a.borderColor)),a.borderWidth=r.hoverBorderWidth?r.hoverBorderWidth:e.getValueAtIndexOrDefault(n.hoverBorderWidth,i,a.borderWidth)},removeHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t._index,r=t.custom||{},a=t._model,o=this.chart.options.elements.point;a.radius=r.radius?r.radius:this.getRadius(n.data[t._index]),a.backgroundColor=r.backgroundColor?r.backgroundColor:e.getValueAtIndexOrDefault(n.backgroundColor,i,o.backgroundColor),a.borderColor=r.borderColor?r.borderColor:e.getValueAtIndexOrDefault(n.borderColor,i,o.borderColor),a.borderWidth=r.borderWidth?r.borderWidth:e.getValueAtIndexOrDefault(n.borderWidth,i,o.borderWidth)}})}},{}],17:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n=t.defaults;n.doughnut={animation:{animateRotate:!0,animateScale:!1},aspectRatio:1,hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var n=t.data,i=n.datasets,r=n.labels;if(i.length)for(var a=0;a<i[0].data.length;++a)e.push('<li><span style="background-color:'+i[0].backgroundColor[a]+'"></span>'),r[a]&&e.push(r[a]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var n=t.data;return n.labels.length&&n.datasets.length?n.labels.map(function(i,r){var a=t.getDatasetMeta(0),o=n.datasets[0],s=a.data[r],l=s.custom||{},d=e.getValueAtIndexOrDefault,u=t.options.elements.arc,c=l.backgroundColor?l.backgroundColor:d(o.backgroundColor,r,u.backgroundColor),h=l.borderColor?l.borderColor:d(o.borderColor,r,u.borderColor),f=l.borderWidth?l.borderWidth:d(o.borderWidth,r,u.borderWidth);return{text:i,fillStyle:c,strokeStyle:h,lineWidth:f,hidden:isNaN(o.data[r])||a.data[r].hidden,index:r}}):[]}},onClick:function(t,e){var n,i,r,a=e.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;i>n;++n)r=o.getDatasetMeta(n),r.data[a].hidden=!r.data[a].hidden;o.update()}},cutoutPercentage:50,rotation:Math.PI*-.5,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+e.datasets[t.datasetIndex].data[t.index]}}}},n.pie=e.clone(n.doughnut),e.extend(n.pie,{cutoutPercentage:0}),t.controllers.doughnut=t.controllers.pie=t.DatasetController.extend({
dataElementType:t.elements.Arc,linkScales:e.noop,getRingIndex:function(t){for(var e=0,n=0;t>n;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var n=this,i=n.chart,r=i.chartArea,a=i.options,o=a.elements.arc,s=r.right-r.left-o.borderWidth,l=r.bottom-r.top-o.borderWidth,d=Math.min(s,l),u={x:0,y:0},c=n.getMeta(),h=a.cutoutPercentage,f=a.circumference;if(f<2*Math.PI){var p=a.rotation%(2*Math.PI);p+=2*Math.PI*(p>=Math.PI?-1:p<-Math.PI?1:0);var m=p+f,_={x:Math.cos(p),y:Math.sin(p)},g={x:Math.cos(m),y:Math.sin(m)},y=0>=p&&m>=0||p<=2*Math.PI&&2*Math.PI<=m,v=p<=.5*Math.PI&&.5*Math.PI<=m||p<=2.5*Math.PI&&2.5*Math.PI<=m,b=p<=-Math.PI&&-Math.PI<=m||p<=Math.PI&&Math.PI<=m,M=p<=.5*-Math.PI&&.5*-Math.PI<=m||p<=1.5*Math.PI&&1.5*Math.PI<=m,w=h/100,k={x:b?-1:Math.min(_.x*(_.x<0?1:w),g.x*(g.x<0?1:w)),y:M?-1:Math.min(_.y*(_.y<0?1:w),g.y*(g.y<0?1:w))},x={x:y?1:Math.max(_.x*(_.x>0?1:w),g.x*(g.x>0?1:w)),y:v?1:Math.max(_.y*(_.y>0?1:w),g.y*(g.y>0?1:w))},L={width:.5*(x.x-k.x),height:.5*(x.y-k.y)};d=Math.min(s/L.width,l/L.height),u={x:(x.x+k.x)*-.5,y:(x.y+k.y)*-.5}}i.outerRadius=Math.max(d/2,0),i.innerRadius=Math.max(h?i.outerRadius/100*h:1,0),i.radiusLength=(i.outerRadius-i.innerRadius)/i.getVisibleDatasetCount(),i.offsetX=u.x*i.outerRadius,i.offsetY=u.y*i.outerRadius,c.total=n.calculateTotal(),n.outerRadius=i.outerRadius-i.radiusLength*n.getRingIndex(n.index),n.innerRadius=n.outerRadius-i.radiusLength,e.each(c.data,function(e,i){n.updateElement(e,i,t)})},updateElement:function(t,n,i){var r=this,a=r.chart,o=a.chartArea,s=a.options,l=s.animation,d=s.elements.arc,u=(o.left+o.right)/2,c=(o.top+o.bottom)/2,h=s.rotation,f=s.rotation,p=r.getDataset(),m=i&&l.animateRotate?0:t.hidden?0:r.calculateCircumference(p.data[n])*(s.circumference/(2*Math.PI)),_=i&&l.animateScale?0:r.innerRadius,g=i&&l.animateScale?0:r.outerRadius,y=t.custom||{},v=e.getValueAtIndexOrDefault;e.extend(t,{_datasetIndex:r.index,_index:n,_model:{x:u+a.offsetX,y:c+a.offsetY,startAngle:h,endAngle:f,circumference:m,outerRadius:g,innerRadius:_,label:v(p.label,n,a.data.labels[n])}});var b=t._model;b.backgroundColor=y.backgroundColor?y.backgroundColor:v(p.backgroundColor,n,d.backgroundColor),b.hoverBackgroundColor=y.hoverBackgroundColor?y.hoverBackgroundColor:v(p.hoverBackgroundColor,n,d.hoverBackgroundColor),b.borderWidth=y.borderWidth?y.borderWidth:v(p.borderWidth,n,d.borderWidth),b.borderColor=y.borderColor?y.borderColor:v(p.borderColor,n,d.borderColor),i&&l.animateRotate||(0===n?b.startAngle=s.rotation:b.startAngle=r.getMeta().data[n-1]._model.endAngle,b.endAngle=b.startAngle+b.circumference),t.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},calculateTotal:function(){var t,n=this.getDataset(),i=this.getMeta(),r=0;return e.each(i.data,function(e,i){t=n.data[i],isNaN(t)||e.hidden||(r+=Math.abs(t))}),r},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?2*Math.PI*(t/e):0}})}},{}],18:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.line={showLines:!0,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}},t.controllers.line=t.DatasetController.extend({datasetElementType:t.elements.Line,dataElementType:t.elements.Point,addElementAndReset:function(e){var n=this,i=n.chart.options;t.DatasetController.prototype.addElementAndReset.call(n,e),i.showLines&&0!==i.elements.line.tension&&n.updateBezierControlPoints()},update:function(t){var n,i,r,a,o=this,s=o.getMeta(),l=s.dataset,d=s.data||[],u=o.chart.options,c=u.elements.line,h=o.getScaleForId(s.yAxisID);for(u.showLines&&(r=o.getDataset(),a=l.custom||{},void 0!==r.tension&&void 0===r.lineTension&&(r.lineTension=r.tension),l._scale=h,l._datasetIndex=o.index,l._children=d,l._model={tension:a.tension?a.tension:e.getValueOrDefault(r.lineTension,c.tension),backgroundColor:a.backgroundColor?a.backgroundColor:r.backgroundColor||c.backgroundColor,borderWidth:a.borderWidth?a.borderWidth:r.borderWidth||c.borderWidth,borderColor:a.borderColor?a.borderColor:r.borderColor||c.borderColor,borderCapStyle:a.borderCapStyle?a.borderCapStyle:r.borderCapStyle||c.borderCapStyle,borderDash:a.borderDash?a.borderDash:r.borderDash||c.borderDash,borderDashOffset:a.borderDashOffset?a.borderDashOffset:r.borderDashOffset||c.borderDashOffset,borderJoinStyle:a.borderJoinStyle?a.borderJoinStyle:r.borderJoinStyle||c.borderJoinStyle,fill:a.fill?a.fill:void 0!==r.fill?r.fill:c.fill,scaleTop:h.top,scaleBottom:h.bottom,scaleZero:h.getBasePixel()},l.pivot()),n=0,i=d.length;i>n;++n)o.updateElement(d[n],n,t);u.showLines&&0!==c.tension&&o.updateBezierControlPoints()},getPointBackgroundColor:function(t,n){var i=this.chart.options.elements.point.backgroundColor,r=this.getDataset(),a=t.custom||{};return a.backgroundColor?i=a.backgroundColor:r.pointBackgroundColor?i=e.getValueAtIndexOrDefault(r.pointBackgroundColor,n,i):r.backgroundColor&&(i=r.backgroundColor),i},getPointBorderColor:function(t,n){var i=this.chart.options.elements.point.borderColor,r=this.getDataset(),a=t.custom||{};return a.borderColor?i=a.borderColor:r.pointBorderColor?i=e.getValueAtIndexOrDefault(r.pointBorderColor,n,i):r.borderColor&&(i=r.borderColor),i},getPointBorderWidth:function(t,n){var i=this.chart.options.elements.point.borderWidth,r=this.getDataset(),a=t.custom||{};return a.borderWidth?i=a.borderWidth:r.pointBorderWidth?i=e.getValueAtIndexOrDefault(r.pointBorderWidth,n,i):r.borderWidth&&(i=r.borderWidth),i},updateElement:function(t,n,i){var r,a,o=this,s=o.getMeta(),l=t.custom||{},d=o.getDataset(),u=o.index,c=d.data[n],h=o.getScaleForId(s.yAxisID),f=o.getScaleForId(s.xAxisID),p=o.chart.options.elements.point;void 0!==d.radius&&void 0===d.pointRadius&&(d.pointRadius=d.radius),void 0!==d.hitRadius&&void 0===d.pointHitRadius&&(d.pointHitRadius=d.hitRadius),r=f.getPixelForValue(c,n,u,o.chart.isCombo),a=i?h.getBasePixel():o.calculatePointY(c,n,u,o.chart.isCombo),t._xScale=f,t._yScale=h,t._datasetIndex=u,t._index=n,t._model={x:r,y:a,skip:l.skip||isNaN(r)||isNaN(a),radius:l.radius||e.getValueAtIndexOrDefault(d.pointRadius,n,p.radius),pointStyle:l.pointStyle||e.getValueAtIndexOrDefault(d.pointStyle,n,p.pointStyle),backgroundColor:o.getPointBackgroundColor(t,n),borderColor:o.getPointBorderColor(t,n),borderWidth:o.getPointBorderWidth(t,n),tension:s.dataset._model?s.dataset._model.tension:0,hitRadius:l.hitRadius||e.getValueAtIndexOrDefault(d.pointHitRadius,n,p.hitRadius)}},calculatePointY:function(t,e,n,i){var r,a,o,s=this,l=s.chart,d=s.getMeta(),u=s.getScaleForId(d.yAxisID),c=0,h=0;if(u.options.stacked){for(r=0;n>r;r++)a=l.data.datasets[r],o=l.getDatasetMeta(r),"line"===o.type&&l.isDatasetVisible(r)&&(a.data[e]<0?h+=a.data[e]||0:c+=a.data[e]||0);return 0>t?u.getPixelForValue(h+t):u.getPixelForValue(c+t)}return u.getPixelForValue(t)},updateBezierControlPoints:function(){var t,n,i,r,a,o=this.getMeta(),s=this.chart.chartArea,l=o.data||[];for(t=0,n=l.length;n>t;++t)i=l[t],r=i._model,a=e.splineCurve(e.previousItem(l,t)._model,r,e.nextItem(l,t)._model,o.dataset._model.tension),r.controlPointPreviousX=Math.max(Math.min(a.previous.x,s.right),s.left),r.controlPointPreviousY=Math.max(Math.min(a.previous.y,s.bottom),s.top),r.controlPointNextX=Math.max(Math.min(a.next.x,s.right),s.left),r.controlPointNextY=Math.max(Math.min(a.next.y,s.bottom),s.top),i.pivot()},draw:function(t){var e,n,i=this.getMeta(),r=i.data||[],a=t||1;for(e=0,n=r.length;n>e;++e)r[e].transition(a);for(this.chart.options.showLines&&i.dataset.transition(a).draw(),e=0,n=r.length;n>e;++e)r[e].draw()},setHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t._index,r=t.custom||{},a=t._model;a.radius=r.hoverRadius||e.getValueAtIndexOrDefault(n.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),a.backgroundColor=r.hoverBackgroundColor||e.getValueAtIndexOrDefault(n.pointHoverBackgroundColor,i,e.getHoverColor(a.backgroundColor)),a.borderColor=r.hoverBorderColor||e.getValueAtIndexOrDefault(n.pointHoverBorderColor,i,e.getHoverColor(a.borderColor)),a.borderWidth=r.hoverBorderWidth||e.getValueAtIndexOrDefault(n.pointHoverBorderWidth,i,a.borderWidth)},removeHoverStyle:function(t){var n=this,i=n.chart.data.datasets[t._datasetIndex],r=t._index,a=t.custom||{},o=t._model;void 0!==i.radius&&void 0===i.pointRadius&&(i.pointRadius=i.radius),o.radius=a.radius||e.getValueAtIndexOrDefault(i.pointRadius,r,n.chart.options.elements.point.radius),o.backgroundColor=n.getPointBackgroundColor(t,r),o.borderColor=n.getPointBorderColor(t,r),o.borderWidth=n.getPointBorderWidth(t,r)}})}},{}],19:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.polarArea={scale:{type:"radialLinear",lineArc:!0},animation:{animateRotate:!0,animateScale:!0},aspectRatio:1,legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var n=t.data,i=n.datasets,r=n.labels;if(i.length)for(var a=0;a<i[0].data.length;++a)e.push('<li><span style="background-color:'+i[0].backgroundColor[a]+'">'),r[a]&&e.push(r[a]),e.push("</span></li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var n=t.data;return n.labels.length&&n.datasets.length?n.labels.map(function(i,r){var a=t.getDatasetMeta(0),o=n.datasets[0],s=a.data[r],l=s.custom||{},d=e.getValueAtIndexOrDefault,u=t.options.elements.arc,c=l.backgroundColor?l.backgroundColor:d(o.backgroundColor,r,u.backgroundColor),h=l.borderColor?l.borderColor:d(o.borderColor,r,u.borderColor),f=l.borderWidth?l.borderWidth:d(o.borderWidth,r,u.borderWidth);return{text:i,fillStyle:c,strokeStyle:h,lineWidth:f,hidden:isNaN(o.data[r])||a.data[r].hidden,index:r}}):[]}},onClick:function(t,e){var n,i,r,a=e.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;i>n;++n)r=o.getDatasetMeta(n),r.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}}}},t.controllers.polarArea=t.DatasetController.extend({dataElementType:t.elements.Arc,linkScales:e.noop,update:function(t){var n=this,i=n.chart,r=i.chartArea,a=this.getMeta(),o=i.options,s=o.elements.arc,l=Math.min(r.right-r.left,r.bottom-r.top);i.outerRadius=Math.max((l-s.borderWidth/2)/2,0),i.innerRadius=Math.max(o.cutoutPercentage?i.outerRadius/100*o.cutoutPercentage:1,0),i.radiusLength=(i.outerRadius-i.innerRadius)/i.getVisibleDatasetCount(),n.outerRadius=i.outerRadius-i.radiusLength*n.index,n.innerRadius=n.outerRadius-i.radiusLength,a.count=n.countVisibleElements(),e.each(a.data,function(e,i){n.updateElement(e,i,t)})},updateElement:function(t,n,i){for(var r=this,a=r.chart,o=a.chartArea,s=r.getDataset(),l=a.options,d=l.animation,u=l.elements.arc,c=t.custom||{},h=a.scale,f=e.getValueAtIndexOrDefault,p=a.data.labels,m=r.calculateCircumference(s.data[n]),_=(o.left+o.right)/2,g=(o.top+o.bottom)/2,y=0,v=r.getMeta(),b=0;n>b;++b)isNaN(s.data[b])||v.data[b].hidden||++y;var M=t.hidden?0:h.getDistanceFromCenterForValue(s.data[n]),w=-.5*Math.PI+m*y,k=w+(t.hidden?0:m),x={x:_,y:g,innerRadius:0,outerRadius:d.animateScale?0:h.getDistanceFromCenterForValue(s.data[n]),startAngle:d.animateRotate?Math.PI*-.5:w,endAngle:d.animateRotate?Math.PI*-.5:k,backgroundColor:c.backgroundColor?c.backgroundColor:f(s.backgroundColor,n,u.backgroundColor),borderWidth:c.borderWidth?c.borderWidth:f(s.borderWidth,n,u.borderWidth),borderColor:c.borderColor?c.borderColor:f(s.borderColor,n,u.borderColor),label:f(p,n,p[n])};e.extend(t,{_datasetIndex:r.index,_index:n,_scale:h,_model:i?x:{x:_,y:g,innerRadius:0,outerRadius:M,startAngle:w,endAngle:k,backgroundColor:c.backgroundColor?c.backgroundColor:f(s.backgroundColor,n,u.backgroundColor),borderWidth:c.borderWidth?c.borderWidth:f(s.borderWidth,n,u.borderWidth),borderColor:c.borderColor?c.borderColor:f(s.borderColor,n,u.borderColor),label:f(p,n,p[n])}}),t.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},countVisibleElements:function(){var t=this.getDataset(),n=this.getMeta(),i=0;return e.each(n.data,function(e,n){isNaN(t.data[n])||e.hidden||i++}),i},calculateCircumference:function(t){var e=this.getMeta().count;return e>0&&!isNaN(t)?2*Math.PI/e:0}})}},{}],20:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.radar={scale:{type:"radialLinear"},elements:{line:{tension:0}}},t.controllers.radar=t.DatasetController.extend({datasetElementType:t.elements.Line,dataElementType:t.elements.Point,linkScales:e.noop,addElementAndReset:function(e){t.DatasetController.prototype.addElementAndReset.call(this,e),this.updateBezierControlPoints()},update:function(t){var n=this.getMeta(),i=n.dataset,r=n.data,a=i.custom||{},o=this.getDataset(),s=this.chart.options.elements.line,l=this.chart.scale;void 0!==o.tension&&void 0===o.lineTension&&(o.lineTension=o.tension),e.extend(n.dataset,{_datasetIndex:this.index,_children:r,_loop:!0,_model:{tension:a.tension?a.tension:e.getValueOrDefault(o.lineTension,s.tension),backgroundColor:a.backgroundColor?a.backgroundColor:o.backgroundColor||s.backgroundColor,borderWidth:a.borderWidth?a.borderWidth:o.borderWidth||s.borderWidth,borderColor:a.borderColor?a.borderColor:o.borderColor||s.borderColor,fill:a.fill?a.fill:void 0!==o.fill?o.fill:s.fill,borderCapStyle:a.borderCapStyle?a.borderCapStyle:o.borderCapStyle||s.borderCapStyle,borderDash:a.borderDash?a.borderDash:o.borderDash||s.borderDash,borderDashOffset:a.borderDashOffset?a.borderDashOffset:o.borderDashOffset||s.borderDashOffset,borderJoinStyle:a.borderJoinStyle?a.borderJoinStyle:o.borderJoinStyle||s.borderJoinStyle,scaleTop:l.top,scaleBottom:l.bottom,scaleZero:l.getBasePosition()}}),n.dataset.pivot(),e.each(r,function(e,n){this.updateElement(e,n,t)},this),this.updateBezierControlPoints()},updateElement:function(t,n,i){var r=t.custom||{},a=this.getDataset(),o=this.chart.scale,s=this.chart.options.elements.point,l=o.getPointPositionForValue(n,a.data[n]);e.extend(t,{_datasetIndex:this.index,_index:n,_scale:o,_model:{x:i?o.xCenter:l.x,y:i?o.yCenter:l.y,tension:r.tension?r.tension:e.getValueOrDefault(a.tension,this.chart.options.elements.line.tension),radius:r.radius?r.radius:e.getValueAtIndexOrDefault(a.pointRadius,n,s.radius),backgroundColor:r.backgroundColor?r.backgroundColor:e.getValueAtIndexOrDefault(a.pointBackgroundColor,n,s.backgroundColor),borderColor:r.borderColor?r.borderColor:e.getValueAtIndexOrDefault(a.pointBorderColor,n,s.borderColor),borderWidth:r.borderWidth?r.borderWidth:e.getValueAtIndexOrDefault(a.pointBorderWidth,n,s.borderWidth),pointStyle:r.pointStyle?r.pointStyle:e.getValueAtIndexOrDefault(a.pointStyle,n,s.pointStyle),hitRadius:r.hitRadius?r.hitRadius:e.getValueAtIndexOrDefault(a.hitRadius,n,s.hitRadius)}}),t._model.skip=r.skip?r.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var t=this.chart.chartArea,n=this.getMeta();e.each(n.data,function(i,r){var a=i._model,o=e.splineCurve(e.previousItem(n.data,r,!0)._model,a,e.nextItem(n.data,r,!0)._model,a.tension);a.controlPointPreviousX=Math.max(Math.min(o.previous.x,t.right),t.left),a.controlPointPreviousY=Math.max(Math.min(o.previous.y,t.bottom),t.top),a.controlPointNextX=Math.max(Math.min(o.next.x,t.right),t.left),a.controlPointNextY=Math.max(Math.min(o.next.y,t.bottom),t.top),i.pivot()},this)},draw:function(t){var n=this.getMeta(),i=t||1;e.each(n.data,function(t,e){t.transition(i)}),n.dataset.transition(i).draw(),e.each(n.data,function(t){t.draw()})},setHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t.custom||{},r=t._index,a=t._model;a.radius=i.hoverRadius?i.hoverRadius:e.getValueAtIndexOrDefault(n.pointHoverRadius,r,this.chart.options.elements.point.hoverRadius),a.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:e.getValueAtIndexOrDefault(n.pointHoverBackgroundColor,r,e.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor?i.hoverBorderColor:e.getValueAtIndexOrDefault(n.pointHoverBorderColor,r,e.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:e.getValueAtIndexOrDefault(n.pointHoverBorderWidth,r,a.borderWidth)},removeHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t.custom||{},r=t._index,a=t._model,o=this.chart.options.elements.point;a.radius=i.radius?i.radius:e.getValueAtIndexOrDefault(n.radius,r,o.radius),a.backgroundColor=i.backgroundColor?i.backgroundColor:e.getValueAtIndexOrDefault(n.pointBackgroundColor,r,o.backgroundColor),a.borderColor=i.borderColor?i.borderColor:e.getValueAtIndexOrDefault(n.pointBorderColor,r,o.borderColor),a.borderWidth=i.borderWidth?i.borderWidth:e.getValueAtIndexOrDefault(n.pointBorderWidth,r,o.borderWidth)}})}},{}],21:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.global.animation={duration:1e3,easing:"easeOutQuart",onProgress:e.noop,onComplete:e.noop},t.Animation=t.Element.extend({currentStep:null,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),t.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,n,i){i||(t.animating=!0);for(var r=0;r<this.animations.length;++r)if(this.animations[r].chartInstance===t)return void(this.animations[r].animationObject=e);this.animations.push({chartInstance:t,animationObject:e}),1===this.animations.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var n=e.findIndex(this.animations,function(e){return e.chartInstance===t});-1!==n&&(this.animations.splice(n,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=e.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){var t=Date.now(),e=0;this.dropFrames>1&&(e=Math.floor(this.dropFrames),this.dropFrames=this.dropFrames%1);for(var n=0;n<this.animations.length;)null===this.animations[n].animationObject.currentStep&&(this.animations[n].animationObject.currentStep=0),this.animations[n].animationObject.currentStep+=1+e,this.animations[n].animationObject.currentStep>this.animations[n].animationObject.numSteps&&(this.animations[n].animationObject.currentStep=this.animations[n].animationObject.numSteps),this.animations[n].animationObject.render(this.animations[n].chartInstance,this.animations[n].animationObject),this.animations[n].animationObject.onAnimationProgress&&this.animations[n].animationObject.onAnimationProgress.call&&this.animations[n].animationObject.onAnimationProgress.call(this.animations[n].chartInstance,this.animations[n]),this.animations[n].animationObject.currentStep===this.animations[n].animationObject.numSteps?(this.animations[n].animationObject.onAnimationComplete&&this.animations[n].animationObject.onAnimationComplete.call&&this.animations[n].animationObject.onAnimationComplete.call(this.animations[n].chartInstance,this.animations[n]),this.animations[n].chartInstance.animating=!1,this.animations.splice(n,1)):++n;var i=Date.now(),r=(i-t)/this.frameDuration;this.dropFrames+=r,this.animations.length>0&&this.requestAnimationFrame()}}}},{}],22:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.types={},t.instances={},t.controllers={},t.Controller=function(n){return this.chart=n,this.config=n.config,this.options=this.config.options=e.configMerge(t.defaults.global,t.defaults[this.config.type],this.config.options||{}),this.id=e.uid(),Object.defineProperty(this,"data",{get:function(){return this.config.data}}),t.instances[this.id]=this,this.options.responsive&&this.resize(!0),this.initialize(),this},e.extend(t.Controller.prototype,{initialize:function(){return t.pluginService.notifyPlugins("beforeInit",[this]),this.bindEvents(),this.ensureScalesHaveIDs(),this.buildOrUpdateControllers(),this.buildScales(),this.buildSurroundingItems(),this.updateLayout(),this.resetElements(),this.initToolTip(),this.update(),t.pluginService.notifyPlugins("afterInit",[this]),this},clear:function(){return e.clear(this.chart),this},stop:function(){return t.animationService.cancelAnimation(this),this},resize:function(t){var n=this.chart.canvas,i=e.getMaximumWidth(this.chart.canvas),r=this.options.maintainAspectRatio&&isNaN(this.chart.aspectRatio)===!1&&isFinite(this.chart.aspectRatio)&&0!==this.chart.aspectRatio?i/this.chart.aspectRatio:e.getMaximumHeight(this.chart.canvas),a=this.chart.width!==i||this.chart.height!==r;return a?(n.width=this.chart.width=i,n.height=this.chart.height=r,e.retinaScale(this.chart),t||(this.stop(),this.update(this.options.responsiveAnimationDuration)),this):this},ensureScalesHaveIDs:function(){var t=this.options,n=t.scales||{},i=t.scale;e.each(n.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),e.each(n.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),i&&(i.id=i.id||"scale")},buildScales:function(){var n=this,i=n.options,r=n.scales={},a=[];i.scales&&(a=a.concat((i.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category"}}),(i.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear"}}))),i.scale&&a.push({options:i.scale,dtype:"radialLinear",isDefault:!0}),e.each(a,function(i,a){var o=i.options,s=e.getValueOrDefault(o.type,i.dtype),l=t.scaleService.getScaleConstructor(s);if(l){var d=new l({id:o.id,options:o,ctx:n.chart.ctx,chart:n});r[d.id]=d,i.isDefault&&(n.scale=d)}}),t.scaleService.addScalesToLayout(this)},buildSurroundingItems:function(){this.options.title&&(this.titleBlock=new t.Title({ctx:this.chart.ctx,options:this.options.title,chart:this}),t.layoutService.addBox(this,this.titleBlock)),this.options.legend&&(this.legend=new t.Legend({ctx:this.chart.ctx,options:this.options.legend,chart:this}),t.layoutService.addBox(this,this.legend))},updateLayout:function(){t.layoutService.update(this,this.chart.width,this.chart.height)},buildOrUpdateControllers:function(){var n=[],i=[];if(e.each(this.data.datasets,function(e,r){var a=this.getDatasetMeta(r);a.type||(a.type=e.type||this.config.type),n.push(a.type),a.controller?a.controller.updateIndex(r):(a.controller=new t.controllers[a.type](this,r),i.push(a.controller))},this),n.length>1)for(var r=1;r<n.length;r++)if(n[r]!==n[r-1]){this.isCombo=!0;break}return i},resetElements:function(){e.each(this.data.datasets,function(t,e){this.getDatasetMeta(e).controller.reset()},this)},update:function(n,i){t.pluginService.notifyPlugins("beforeUpdate",[this]),this.tooltip._data=this.data;var r=this.buildOrUpdateControllers();e.each(this.data.datasets,function(t,e){this.getDatasetMeta(e).controller.buildOrUpdateElements()},this),t.layoutService.update(this,this.chart.width,this.chart.height),t.pluginService.notifyPlugins("afterScaleUpdate",[this]),e.each(r,function(t){t.reset()}),e.each(this.data.datasets,function(t,e){this.getDatasetMeta(e).controller.update()},this),t.pluginService.notifyPlugins("afterUpdate",[this]),this.render(n,i)},render:function(n,i){t.pluginService.notifyPlugins("beforeRender",[this]);var r=this.options.animation;if(r&&("undefined"!=typeof n&&0!==n||"undefined"==typeof n&&0!==r.duration)){var a=new t.Animation;a.numSteps=(n||r.duration)/16.66,a.easing=r.easing,a.render=function(t,n){var i=e.easingEffects[n.easing],r=n.currentStep/n.numSteps,a=i(r);t.draw(a,r,n.currentStep)},a.onAnimationProgress=r.onProgress,a.onAnimationComplete=r.onComplete,t.animationService.addAnimation(this,a,n,i)}else this.draw(),r&&r.onComplete&&r.onComplete.call&&r.onComplete.call(this);return this},draw:function(n){var i=n||1;this.clear(),t.pluginService.notifyPlugins("beforeDraw",[this,i]),e.each(this.boxes,function(t){t.draw(this.chartArea)},this),this.scale&&this.scale.draw();var r=this.chart.ctx;r.save(),r.beginPath(),r.rect(this.chartArea.left,this.chartArea.top,this.chartArea.right-this.chartArea.left,this.chartArea.bottom-this.chartArea.top),r.clip(),e.each(this.data.datasets,function(t,e){this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.draw(n)},this,!0),r.restore(),this.tooltip.transition(i).draw(),t.pluginService.notifyPlugins("afterDraw",[this,i])},getElementAtEvent:function(t){var n=e.getRelativePosition(t,this.chart),i=[];return e.each(this.data.datasets,function(t,r){if(this.isDatasetVisible(r)){var a=this.getDatasetMeta(r);e.each(a.data,function(t,e){return t.inRange(n.x,n.y)?(i.push(t),i):void 0})}},this),i},getElementsAtEvent:function(t){var n=e.getRelativePosition(t,this.chart),i=[],r=function(){if(this.data.datasets)for(var t=0;t<this.data.datasets.length;t++){var e=this.getDatasetMeta(t);if(this.isDatasetVisible(t))for(var i=0;i<e.data.length;i++)if(e.data[i].inRange(n.x,n.y))return e.data[i]}}.call(this);return r?(e.each(this.data.datasets,function(t,e){if(this.isDatasetVisible(e)){var n=this.getDatasetMeta(e);i.push(n.data[r._index])}},this),i):i},getElementsAtEventForMode:function(t,e){var n=this;switch(e){case"single":return n.getElementAtEvent(t);case"label":return n.getElementsAtEvent(t);case"dataset":return n.getDatasetAtEvent(t);default:return t}},getDatasetAtEvent:function(t){var e=this.getElementAtEvent(t);return e.length>0&&(e=this.getDatasetMeta(e[0]._datasetIndex).data),e},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}),n},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;n>e;++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)},destroy:function(){this.clear(),e.unbindEvents(this,this.events),e.removeResizeListener(this.chart.canvas.parentNode);var n=this.chart.canvas;n.width=this.chart.width,n.height=this.chart.height,void 0!==this.chart.originalDevicePixelRatio&&this.chart.ctx.scale(1/this.chart.originalDevicePixelRatio,1/this.chart.originalDevicePixelRatio),n.style.width=this.chart.originalCanvasStyleWidth,n.style.height=this.chart.originalCanvasStyleHeight,t.pluginService.notifyPlugins("destroy",[this]),delete t.instances[this.id]},toBase64Image:function(){return this.chart.canvas.toDataURL.apply(this.chart.canvas,arguments)},initToolTip:function(){this.tooltip=new t.Tooltip({_chart:this.chart,_chartInstance:this,_data:this.data,_options:this.options},this)},bindEvents:function(){e.bindEvents(this,this.options.events,function(t){this.eventHandler(t)})},updateHoverStyle:function(t,e,n){var i,r,a,o=n?"setHoverStyle":"removeHoverStyle";switch(e){case"single":t=[t[0]];break;case"label":case"dataset":break;default:return}for(r=0,a=t.length;a>r;++r)i=t[r],i&&this.getDatasetMeta(i._datasetIndex).controller[o](i)},eventHandler:function(t){var n=this,i=n.tooltip,r=n.options||{},a=r.hover,o=r.tooltips;return n.lastActive=n.lastActive||[],n.lastTooltipActive=n.lastTooltipActive||[],"mouseout"===t.type?(n.active=[],n.tooltipActive=[]):(n.active=n.getElementsAtEventForMode(t,a.mode),n.tooltipActive=n.getElementsAtEventForMode(t,o.mode)),a.onHover&&a.onHover.call(n,n.active),"mouseup"!==t.type&&"click"!==t.type||(r.onClick&&r.onClick.call(n,t,n.active),n.legend&&n.legend.handleEvent&&n.legend.handleEvent(t)),n.lastActive.length&&n.updateHoverStyle(n.lastActive,a.mode,!1),n.active.length&&a.mode&&n.updateHoverStyle(n.active,a.mode,!0),(o.enabled||o.custom)&&(i.initialize(),i._active=n.tooltipActive,i.update(!0)),i.pivot(),n.animating||e.arrayEquals(n.active,n.lastActive)&&e.arrayEquals(n.tooltipActive,n.lastTooltipActive)||(n.stop(),(o.enabled||o.custom)&&i.update(!0),n.render(a.animationDuration,!0)),n.lastActive=n.active,n.lastTooltipActive=n.tooltipActive,n}})}},{}],23:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n=e.noop;t.DatasetController=function(t,e){this.initialize.call(this,t,e)},e.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.getDataset();null===t.xAxisID&&(t.xAxisID=e.xAxisID||this.chart.options.scales.xAxes[0].id),null===t.yAxisID&&(t.yAxisID=e.yAxisID||this.chart.options.scales.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]},reset:function(){this.update(!0)},createMetaDataset:function(){var t=this,e=t.datasetElementType;return e&&new e({_chart:t.chart.chart,_datasetIndex:t.index})},createMetaData:function(t){var e=this,n=e.dataElementType;return n&&new n({_chart:e.chart.chart,_datasetIndex:e.index,_index:t})},addElements:function(){var t,e,n=this,i=n.getMeta(),r=n.getDataset().data||[],a=i.data;for(t=0,e=r.length;e>t;++t)a[t]=a[t]||n.createMetaData(i,t);i.dataset=i.dataset||n.createMetaDataset()},addElementAndReset:function(t){var e=this,n=e.createMetaData(t);e.getMeta().data.splice(t,0,n),e.updateElement(n,t,!0)},buildOrUpdateElements:function(){var t=this.getMeta(),e=t.data,n=this.getDataset().data.length,i=e.length;if(i>n)e.splice(n,i-n);else if(n>i)for(var r=i;n>r;++r)this.addElementAndReset(r)},update:n,draw:function(t){var n=t||1;e.each(this.getMeta().data,function(t,e){t.transition(n).draw()})},removeHoverStyle:function(t,n){var i=this.chart.data.datasets[t._datasetIndex],r=t._index,a=t.custom||{},o=e.getValueAtIndexOrDefault,s=(e.color,t._model);s.backgroundColor=a.backgroundColor?a.backgroundColor:o(i.backgroundColor,r,n.backgroundColor),s.borderColor=a.borderColor?a.borderColor:o(i.borderColor,r,n.borderColor),s.borderWidth=a.borderWidth?a.borderWidth:o(i.borderWidth,r,n.borderWidth)},setHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t._index,r=t.custom||{},a=e.getValueAtIndexOrDefault,o=(e.color,e.getHoverColor),s=t._model;s.backgroundColor=r.hoverBackgroundColor?r.hoverBackgroundColor:a(n.hoverBackgroundColor,i,o(s.backgroundColor)),s.borderColor=r.hoverBorderColor?r.hoverBorderColor:a(n.hoverBorderColor,i,o(s.borderColor)),s.borderWidth=r.hoverBorderWidth?r.hoverBorderWidth:a(n.hoverBorderWidth,i,s.borderWidth)}}),t.DatasetController.extend=e.inherits}},{}],24:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.elements={},t.Element=function(t){e.extend(this,t),this.initialize.apply(this,arguments)},e.extend(t.Element.prototype,{initialize:function(){this.hidden=!1},pivot:function(){return this._view||(this._view=e.clone(this._model)),this._start=e.clone(this._view),this},transition:function(t){return this._view||(this._view=e.clone(this._model)),1===t?(this._view=this._model,this._start=null,this):(this._start||this.pivot(),e.each(this._model,function(n,i){if("_"===i[0]);else if(this._view.hasOwnProperty(i))if(n===this._view[i]);else if("string"==typeof n)try{var r=e.color(this._model[i]).mix(e.color(this._start[i]),t);this._view[i]=r.rgbString()}catch(a){this._view[i]=n}else if("number"==typeof n){var o=void 0!==this._start[i]&&isNaN(this._start[i])===!1?this._start[i]:0;this._view[i]=(this._model[i]-o)*t+o}else this._view[i]=n;else"number"!=typeof n||isNaN(this._view[i])?this._view[i]=n:this._view[i]=n*t},this),this)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return e.isNumber(this._model.x)&&e.isNumber(this._model.y)}}),t.Element.extend=e.inherits}},{}],25:[function(t,e,n){"use strict";var i=t("chartjs-color");e.exports=function(t){function e(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 n(t){return void 0!==t&&null!==t&&"none"!==t}function r(t,i,r){var a=document.defaultView,o=t.parentNode,s=a.getComputedStyle(t)[i],l=a.getComputedStyle(o)[i],d=n(s),u=n(l),c=Number.POSITIVE_INFINITY;return d||u?Math.min(d?e(s,t,r):c,u?e(l,o,r):c):"none"}var a=t.helpers={};a.each=function(t,e,n,i){var r,o;if(a.isArray(t))if(o=t.length,i)for(r=o-1;r>=0;r--)e.call(n,t[r],r);else for(r=0;o>r;r++)e.call(n,t[r],r);else if("object"==typeof t){
var s=Object.keys(t);for(o=s.length,r=0;o>r;r++)e.call(n,t[s[r]],s[r])}},a.clone=function(t){var e={};return a.each(t,function(t,n){a.isArray(t)?e[n]=t.slice(0):"object"==typeof t&&null!==t?e[n]=a.clone(t):e[n]=t}),e},a.extend=function(t){for(var e=arguments.length,n=[],i=1;e>i;i++)n.push(arguments[i]);return a.each(n,function(e){a.each(e,function(e,n){t[n]=e})}),t},a.configMerge=function(e){var n=a.clone(e);return a.each(Array.prototype.slice.call(arguments,1),function(e){a.each(e,function(e,i){if("scales"===i)n[i]=a.scaleMerge(n.hasOwnProperty(i)?n[i]:{},e);else if("scale"===i)n[i]=a.configMerge(n.hasOwnProperty(i)?n[i]:{},t.scaleService.getScaleDefaults(e.type),e);else if(n.hasOwnProperty(i)&&a.isArray(n[i])&&a.isArray(e)){var r=n[i];a.each(e,function(t,e){e<r.length?"object"==typeof r[e]&&null!==r[e]&&"object"==typeof t&&null!==t?r[e]=a.configMerge(r[e],t):r[e]=t:r.push(t)})}else n.hasOwnProperty(i)&&"object"==typeof n[i]&&null!==n[i]&&"object"==typeof e?n[i]=a.configMerge(n[i],e):n[i]=e})}),n},a.extendDeep=function(t){function e(t){return a.each(arguments,function(n){n!==t&&a.each(n,function(n,i){t[i]&&t[i].constructor&&t[i].constructor===Object?e(t[i],n):t[i]=n})}),t}return e.apply(this,arguments)},a.scaleMerge=function(e,n){var i=a.clone(e);return a.each(n,function(e,n){"xAxes"===n||"yAxes"===n?i.hasOwnProperty(n)?a.each(e,function(e,r){var o=a.getValueOrDefault(e.type,"xAxes"===n?"category":"linear"),s=t.scaleService.getScaleDefaults(o);r>=i[n].length||!i[n][r].type?i[n].push(a.configMerge(s,e)):e.type&&e.type!==i[n][r].type?i[n][r]=a.configMerge(i[n][r],s,e):i[n][r]=a.configMerge(i[n][r],e)}):(i[n]=[],a.each(e,function(e){var r=a.getValueOrDefault(e.type,"xAxes"===n?"category":"linear");i[n].push(a.configMerge(t.scaleService.getScaleDefaults(r),e))})):i.hasOwnProperty(n)&&"object"==typeof i[n]&&null!==i[n]&&"object"==typeof e?i[n]=a.configMerge(i[n],e):i[n]=e}),i},a.getValueAtIndexOrDefault=function(t,e,n){return void 0===t||null===t?n:a.isArray(t)?e<t.length?t[e]:n:t},a.getValueOrDefault=function(t,e){return void 0===t?e:t},a.indexOf=function(t,e){if(Array.prototype.indexOf)return t.indexOf(e);for(var n=0;n<t.length;n++)if(t[n]===e)return n;return-1},a.where=function(t,e){if(a.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return a.each(t,function(t){e(t)&&n.push(t)}),n},a.findIndex=function(t,e,n){var i=-1;if(Array.prototype.findIndex)i=t.findIndex(e,n);else for(var r=0;r<t.length;++r)if(n=void 0!==n?n:t,e.call(n,t[r],r,t)){i=r;break}return i},a.findNextWhere=function(t,e,n){void 0!==n&&null!==n||(n=-1);for(var i=n+1;i<t.length;i++){var r=t[i];if(e(r))return r}},a.findPreviousWhere=function(t,e,n){void 0!==n&&null!==n||(n=t.length);for(var i=n-1;i>=0;i--){var r=t[i];if(e(r))return r}},a.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=a.inherits,t&&a.extend(n.prototype,t),n.__super__=e.prototype,n},a.noop=function(){},a.uid=function(){var t=0;return function(){return t++}}(),a.warn=function(t){console&&"function"==typeof console.warn},a.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},a.almostEquals=function(t,e,n){return Math.abs(t-e)<n},a.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},a.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},a.sign=function(t){return Math.sign?Math.sign(t):(t=+t,0===t||isNaN(t)?t:t>0?1:-1)},a.log10=function(t){return Math.log10?Math.log10(t):Math.log(t)/Math.LN10},a.toRadians=function(t){return t*(Math.PI/180)},a.toDegrees=function(t){return t*(180/Math.PI)},a.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}},a.aliasPixel=function(t){return t%2===0?0:.5},a.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)),d=s/(s+l),u=l/(s+l);d=isNaN(d)?0:d,u=isNaN(u)?0:u;var c=i*d,h=i*u;return{previous:{x:a.x-c*(o.x-r.x),y:a.y-c*(o.y-r.y)},next:{x:a.x+h*(o.x-r.x),y:a.y+h*(o.y-r.y)}}},a.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]},a.previousItem=function(t,e,n){return n?0>=e?t[t.length-1]:t[e-1]:0>=e?t[0]:t[e-1]},a.niceNum=function(t,e){var n,i=Math.floor(a.log10(t)),r=t/Math.pow(10,i);return n=e?1.5>r?1:3>r?2:7>r?5:10:1>=r?1:2>=r?2:5>=r?5:10,n*Math.pow(10,i)};var o=a.easingEffects={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-1*t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-0.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1*((t=t/1-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-1*((t=t/1-1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-0.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return 1*(t/=1)*t*t*t*t},easeOutQuint:function(t){return 1*((t=t/1-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/1*(Math.PI/2))+1},easeOutSine:function(t){return 1*Math.sin(t/1*(Math.PI/2))},easeInOutSine:function(t){return-0.5*(Math.cos(Math.PI*t/1)-1)},easeInExpo:function(t){return 0===t?1:1*Math.pow(2,10*(t/1-1))},easeOutExpo:function(t){return 1===t?1:1*(-Math.pow(2,-10*t/1)+1)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(-Math.pow(2,-10*--t)+2)},easeInCirc:function(t){return t>=1?t:-1*(Math.sqrt(1-(t/=1)*t)-1)},easeOutCirc:function(t){return 1*Math.sqrt(1-(t=t/1-1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-0.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)?1:(n||(n=.3),i<Math.abs(1)?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-(i*Math.pow(2,10*(t-=1))*Math.sin((1*t-e)*(2*Math.PI)/n)))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===(t/=1)?1:(n||(n=.3),i<Math.abs(1)?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((1*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=1*(.3*1.5)),i<Math.abs(1)?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),1>t?-.5*(i*Math.pow(2,10*(t-=1))*Math.sin((1*t-e)*(2*Math.PI)/n)):i*Math.pow(2,-10*(t-=1))*Math.sin((1*t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return 1*(t/=1)*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return 1*((t=t/1-1)*t*((e+1)*t+e)+1)},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:function(t){return 1-o.easeOutBounce(1-t)},easeOutBounce:function(t){return(t/=1)<1/2.75?1*(7.5625*t*t):2/2.75>t?1*(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1*(7.5625*(t-=2.25/2.75)*t+.9375):1*(7.5625*(t-=2.625/2.75)*t+.984375)},easeInOutBounce:function(t){return.5>t?.5*o.easeInBounce(2*t):.5*o.easeOutBounce(2*t-1)+.5}};a.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)}}(),a.cancelAnimFrame=function(){return window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(t){return window.clearTimeout(t,1e3/60)}}(),a.getRelativePosition=function(t,e){var n,i,r=t.originalEvent||t,o=t.currentTarget||t.srcElement,s=o.getBoundingClientRect(),l=r.touches;l&&l.length>0?(n=l[0].clientX,i=l[0].clientY):(n=r.clientX,i=r.clientY);var d=parseFloat(a.getStyle(o,"padding-left")),u=parseFloat(a.getStyle(o,"padding-top")),c=parseFloat(a.getStyle(o,"padding-right")),h=parseFloat(a.getStyle(o,"padding-bottom")),f=s.right-s.left-d-c,p=s.bottom-s.top-u-h;return n=Math.round((n-s.left-d)/f*o.width/e.currentDevicePixelRatio),i=Math.round((i-s.top-u)/p*o.height/e.currentDevicePixelRatio),{x:n,y:i}},a.addEvent=function(t,e,n){t.addEventListener?t.addEventListener(e,n):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n},a.removeEvent=function(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=a.noop},a.bindEvents=function(t,e,n){var i=t.events=t.events||{};a.each(e,function(e){i[e]=function(){n.apply(t,arguments)},a.addEvent(t.chart.canvas,e,i[e])})},a.unbindEvents=function(t,e){var n=t.chart.canvas;a.each(e,function(t,e){a.removeEvent(n,e,t)})},a.getConstraintWidth=function(t){return r(t,"max-width","clientWidth")},a.getConstraintHeight=function(t){return r(t,"max-height","clientHeight")},a.getMaximumWidth=function(t){var e=t.parentNode,n=parseInt(a.getStyle(e,"padding-left"))+parseInt(a.getStyle(e,"padding-right")),i=e.clientWidth-n,r=a.getConstraintWidth(t);return isNaN(r)?i:Math.min(i,r)},a.getMaximumHeight=function(t){var e=t.parentNode,n=parseInt(a.getStyle(e,"padding-top"))+parseInt(a.getStyle(e,"padding-bottom")),i=e.clientHeight-n,r=a.getConstraintHeight(t);return isNaN(r)?i:Math.min(i,r)},a.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},a.retinaScale=function(t){var e=t.ctx,n=t.canvas,i=n.width,r=n.height,a=t.currentDevicePixelRatio=window.devicePixelRatio||1;1!==a&&(n.height=r*a,n.width=i*a,e.scale(a,a),t.originalDevicePixelRatio=t.originalDevicePixelRatio||a),n.style.width=i+"px",n.style.height=r+"px"},a.clear=function(t){t.ctx.clearRect(0,0,t.width,t.height)},a.fontString=function(t,e,n){return e+" "+t+"px "+n},a.longestText=function(t,e,n,i){i=i||{};var r=i.data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(r=i.data={},o=i.garbageCollect=[],i.font=e),t.font=e;var s=0;a.each(n,function(e){if(void 0!==e&&null!==e){var n=r[e];n||(n=r[e]=t.measureText(e).width,o.push(e)),n>s&&(s=n)}});var l=o.length/2;if(l>n.length){for(var d=0;l>d;d++)delete r[o[d]];o.splice(0,l)}return s},a.drawRoundedRectangle=function(t,e,n,i,r,a){t.beginPath(),t.moveTo(e+a,n),t.lineTo(e+i-a,n),t.quadraticCurveTo(e+i,n,e+i,n+a),t.lineTo(e+i,n+r-a),t.quadraticCurveTo(e+i,n+r,e+i-a,n+r),t.lineTo(e+a,n+r),t.quadraticCurveTo(e,n+r,e,n+r-a),t.lineTo(e,n+a),t.quadraticCurveTo(e,n,e+a,n),t.closePath()},a.color=function(e){return i?i(e instanceof CanvasGradient?t.defaults.global.defaultColor:e):e},a.addResizeListener=function(t,e){var n=document.createElement("iframe"),i="chartjs-hidden-iframe";n.classlist?n.classlist.add(i):n.setAttribute("class",i);var r=n.style;r.width="100%",r.display="block",r.border=0,r.height=0,r.margin=0,r.position="absolute",r.left=0,r.right=0,r.top=0,r.bottom=0,t.insertBefore(n,t.firstChild),(n.contentWindow||n).onresize=function(){e&&e()}},a.removeResizeListener=function(t){var e=t.querySelector(".chartjs-hidden-iframe");e&&e.parentNode.removeChild(e)},a.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)},a.arrayEquals=function(t,e){var n,i,r,o;if(!t||!e||t.length!=e.length)return!1;for(n=0,i=t.length;i>n;++n)if(r=t[n],o=e[n],r instanceof Array&&o instanceof Array){if(!a.arrayEquals(r,o))return!1}else if(r!=o)return!1;return!0},a.pushAllIfDefined=function(t,e){"undefined"!=typeof t&&(a.isArray(t)?e.push.apply(e,t):e.push(t))},a.callCallback=function(t,e,n){t&&"function"==typeof t.call&&t.apply(n,e)},a.getHoverColor=function(t){return t instanceof CanvasPattern?t:a.color(t).saturate(.5).darken(.1).rgbString()}}},{"chartjs-color":3}],26:[function(t,e,n){"use strict";e.exports=function(){var t=function(e,n){this.config=n,e.length&&e[0].getContext&&(e=e[0]),e.getContext&&(e=e.getContext("2d")),this.ctx=e,this.canvas=e.canvas,this.width=e.canvas.width||parseInt(t.helpers.getStyle(e.canvas,"width"))||t.helpers.getMaximumWidth(e.canvas),this.height=e.canvas.height||parseInt(t.helpers.getStyle(e.canvas,"height"))||t.helpers.getMaximumHeight(e.canvas),this.aspectRatio=this.width/this.height,(isNaN(this.aspectRatio)||isFinite(this.aspectRatio)===!1)&&(this.aspectRatio=void 0!==n.aspectRatio?n.aspectRatio:2),this.originalCanvasStyleWidth=e.canvas.style.width,this.originalCanvasStyleHeight=e.canvas.style.height,t.helpers.retinaScale(this),n&&(this.controller=new t.Controller(this));var i=this;return t.helpers.addResizeListener(e.canvas.parentNode,function(){i.controller&&i.controller.config.options.responsive&&i.controller.resize()}),this.controller?this.controller:this};return t.defaults={global:{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"single",animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');for(var n=0;n<t.data.datasets.length;n++)e.push('<li><span style="background-color:'+t.data.datasets[n].backgroundColor+'"></span>'),t.data.datasets[n].label&&e.push(t.data.datasets[n].label),e.push("</li>");return e.push("</ul>"),e.join("")}}},t}},{}],27:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.layoutService={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),t.boxes.push(e)},removeBox:function(t,e){t.boxes&&t.boxes.splice(t.boxes.indexOf(e),1)},update:function(t,n,i){function r(t){var e,n=t.isHorizontal();n?(e=t.update(t.options.fullWidth?m:M,b),w-=e.height):(e=t.update(v,y),M-=e.width),k.push({horizontal:n,minSize:e,box:t})}function a(t){var n=e.findNextWhere(k,function(e){return e.box===t});if(n)if(t.isHorizontal()){var i={left:x,right:L,top:0,bottom:0};t.update(t.options.fullWidth?m:M,_/2,i)}else t.update(n.minSize.width,w)}function o(t){var n=e.findNextWhere(k,function(e){return e.box===t}),i={left:0,right:0,top:D,bottom:T};n&&t.update(n.minSize.width,w,i)}function s(t){t.isHorizontal()?(t.left=t.options.fullWidth?l:x,t.right=t.options.fullWidth?n-l:x+M,t.top=H,t.bottom=H+t.height,H=t.bottom):(t.left=C,t.right=C+t.width,t.top=D,t.bottom=D+w,C=t.right)}if(t){var l=0,d=0,u=e.where(t.boxes,function(t){return"left"===t.options.position}),c=e.where(t.boxes,function(t){return"right"===t.options.position}),h=e.where(t.boxes,function(t){return"top"===t.options.position}),f=e.where(t.boxes,function(t){return"bottom"===t.options.position}),p=e.where(t.boxes,function(t){return"chartArea"===t.options.position});h.sort(function(t,e){return(e.options.fullWidth?1:0)-(t.options.fullWidth?1:0)}),f.sort(function(t,e){return(t.options.fullWidth?1:0)-(e.options.fullWidth?1:0)});var m=n-2*l,_=i-2*d,g=m/2,y=_/2,v=(n-g)/(u.length+c.length),b=(i-y)/(h.length+f.length),M=m,w=_,k=[];e.each(u.concat(c,h,f),r);var x=l,L=l,D=d,T=d;e.each(u.concat(c),a),e.each(u,function(t){x+=t.width}),e.each(c,function(t){L+=t.width}),e.each(h.concat(f),a),e.each(h,function(t){D+=t.height}),e.each(f,function(t){T+=t.height}),e.each(u.concat(c),o),x=l,L=l,D=d,T=d,e.each(u,function(t){x+=t.width}),e.each(c,function(t){L+=t.width}),e.each(h,function(t){D+=t.height}),e.each(f,function(t){T+=t.height});var Y=i-D-T,S=n-x-L;S===M&&Y===w||(e.each(u,function(t){t.height=Y}),e.each(c,function(t){t.height=Y}),e.each(h,function(t){t.options.fullWidth||(t.width=S)}),e.each(f,function(t){t.options.fullWidth||(t.width=S)}),w=Y,M=S);var C=l,H=d;e.each(u.concat(h),s),C+=M,H+=w,e.each(c,s),e.each(f,s),t.chartArea={left:x,top:D,right:x+M,bottom:D+w},e.each(p,function(e){e.left=t.chartArea.left,e.top=t.chartArea.top,e.right=t.chartArea.right,e.bottom=t.chartArea.bottom,e.update(M,w)})}}}}},{}],28:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n=e.noop;t.defaults.global.legend={display:!0,position:"top",fullWidth:!0,reverse:!1,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()},labels:{boxWidth:40,padding:10,generateLabels:function(t){var n=t.data;return e.isArray(n.datasets)?n.datasets.map(function(e,n){return{text:e.label,fillStyle:e.backgroundColor,hidden:!t.isDatasetVisible(n),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,datasetIndex:n}},this):[]}}},t.Legend=t.Element.extend({initialize:function(t){e.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:n,update:function(t,e,n){return this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this.margins=n,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this.beforeBuildLabels(),this.buildLabels(),this.afterBuildLabels(),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate(),this.minSize},afterUpdate:n,beforeSetDimensions:n,setDimensions:function(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0,this.minSize={width:0,height:0}},afterSetDimensions:n,beforeBuildLabels:n,buildLabels:function(){this.legendItems=this.options.labels.generateLabels.call(this,this.chart),this.options.reverse&&this.legendItems.reverse()},afterBuildLabels:n,beforeFit:n,fit:function(){var n=this.options,i=n.labels,r=n.display,a=this.ctx,o=t.defaults.global,s=e.getValueOrDefault,l=s(i.fontSize,o.defaultFontSize),d=s(i.fontStyle,o.defaultFontStyle),u=s(i.fontFamily,o.defaultFontFamily),c=e.fontString(l,d,u),h=this.legendHitBoxes=[],f=this.minSize,p=this.isHorizontal();if(p?(f.width=this.maxWidth,f.height=r?10:0):(f.width=r?10:0,f.height=this.maxHeight),r&&p){var m=this.lineWidths=[0],_=this.legendItems.length?l+i.padding:0;a.textAlign="left",a.textBaseline="top",a.font=c,e.each(this.legendItems,function(t,e){var n=i.boxWidth+l/2+a.measureText(t.text).width;m[m.length-1]+n+i.padding>=this.width&&(_+=l+i.padding,m[m.length]=this.left),h[e]={left:0,top:0,width:n,height:l},m[m.length-1]+=n+i.padding},this),f.height+=_}this.width=f.width,this.height=f.height},afterFit:n,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var n=this.options,i=n.labels,r=t.defaults.global,a=r.elements.line,o=this.width,s=this.lineWidths;if(n.display){var l=this.ctx,d={x:this.left+(o-s[0])/2,y:this.top+i.padding,line:0},u=e.getValueOrDefault,c=u(i.fontColor,r.defaultFontColor),h=u(i.fontSize,r.defaultFontSize),f=u(i.fontStyle,r.defaultFontStyle),p=u(i.fontFamily,r.defaultFontFamily),m=e.fontString(h,f,p);if(this.isHorizontal()){l.textAlign="left",l.textBaseline="top",l.lineWidth=.5,l.strokeStyle=c,l.fillStyle=c,l.font=m;var _=i.boxWidth,g=this.legendHitBoxes;e.each(this.legendItems,function(t,e){var n=l.measureText(t.text).width,c=_+h/2+n,f=d.x,p=d.y;f+c>=o&&(p=d.y+=h+i.padding,d.line++,f=d.x=this.left+(o-s[d.line])/2),l.save(),l.fillStyle=u(t.fillStyle,r.defaultColor),l.lineCap=u(t.lineCap,a.borderCapStyle),l.lineDashOffset=u(t.lineDashOffset,a.borderDashOffset),l.lineJoin=u(t.lineJoin,a.borderJoinStyle),l.lineWidth=u(t.lineWidth,a.borderWidth),l.strokeStyle=u(t.strokeStyle,r.defaultColor),l.setLineDash&&l.setLineDash(u(t.lineDash,a.borderDash)),l.strokeRect(f,p,_,h),l.fillRect(f,p,_,h),l.restore(),g[e].left=f,g[e].top=p,l.fillText(t.text,_+h/2+f,p),t.hidden&&(l.beginPath(),l.lineWidth=2,l.moveTo(_+h/2+f,p+h/2),l.lineTo(_+h/2+f+n,p+h/2),l.stroke()),d.x+=c+i.padding},this)}}},handleEvent:function(t){var n=e.getRelativePosition(t,this.chart.chart),i=n.x,r=n.y,a=this.options;if(i>=this.left&&i<=this.right&&r>=this.top&&r<=this.bottom)for(var o=this.legendHitBoxes,s=0;s<o.length;++s){var l=o[s];if(i>=l.left&&i<=l.left+l.width&&r>=l.top&&r<=l.top+l.height){a.onClick&&a.onClick.call(this,t,this.legendItems[s]);break}}}})}},{}],29:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.plugins=[],t.pluginService={register:function(e){var n=t.plugins;-1===n.indexOf(e)&&n.push(e)},remove:function(e){var n=t.plugins,i=n.indexOf(e);-1!==i&&n.splice(i,1)},notifyPlugins:function(n,i,r){e.each(t.plugins,function(t){t[n]&&"function"==typeof t[n]&&t[n].apply(r,i)},r)}};var n=e.noop;t.PluginBase=t.Element.extend({beforeInit:n,afterInit:n,beforeUpdate:n,afterUpdate:n,beforeDraw:n,afterDraw:n,destroy:n})}},{}],30:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.scale={display:!0,position:"left",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)",offsetGridLines:!1},scaleLabel:{labelString:"",display:!1},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:10,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:function(t){return""+t}}},t.Scale=t.Element.extend({beforeUpdate:function(){e.callCallback(this.options.beforeUpdate,[this])},update:function(t,n,i){return this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this.margins=e.extend({left:0,right:0,top:0,bottom:0},i),this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this.beforeBuildTicks(),this.buildTicks(),this.afterBuildTicks(),this.beforeTickToLabelConversion(),this.convertTicksToLabels(),this.afterTickToLabelConversion(),this.beforeCalculateTickRotation(),this.calculateTickRotation(),this.afterCalculateTickRotation(),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate(),this.minSize},afterUpdate:function(){e.callCallback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){e.callCallback(this.options.beforeSetDimensions,[this])},setDimensions:function(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0},afterSetDimensions:function(){e.callCallback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){e.callCallback(this.options.beforeDataLimits,[this])},determineDataLimits:e.noop,afterDataLimits:function(){e.callCallback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){e.callCallback(this.options.beforeBuildTicks,[this])},buildTicks:e.noop,afterBuildTicks:function(){e.callCallback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){e.callCallback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){this.ticks=this.ticks.map(function(t,e,n){return this.options.ticks.userCallback?this.options.ticks.userCallback(t,e,n):this.options.ticks.callback(t,e,n)},this)},afterTickToLabelConversion:function(){e.callCallback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){e.callCallback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var n=this.ctx,i=t.defaults.global,r=this.options.ticks,a=e.getValueOrDefault(r.fontSize,i.defaultFontSize),o=e.getValueOrDefault(r.fontStyle,i.defaultFontStyle),s=e.getValueOrDefault(r.fontFamily,i.defaultFontFamily),l=e.fontString(a,o,s);n.font=l;var d,u=n.measureText(this.ticks[0]).width,c=n.measureText(this.ticks[this.ticks.length-1]).width;if(this.labelRotation=r.minRotation||0,this.paddingRight=0,this.paddingLeft=0,this.options.display&&this.isHorizontal()){this.paddingRight=c/2+3,this.paddingLeft=u/2+3,this.longestTextCache||(this.longestTextCache={});for(var h,f,p=e.longestText(n,l,this.ticks,this.longestTextCache),m=p,_=this.getPixelForTick(1)-this.getPixelForTick(0)-6;m>_&&this.labelRotation<r.maxRotation;){if(h=Math.cos(e.toRadians(this.labelRotation)),f=Math.sin(e.toRadians(this.labelRotation)),d=h*u,d+a/2>this.yLabelWidth&&(this.paddingLeft=d+a/2),this.paddingRight=a/2,f*p>this.maxHeight){this.labelRotation--;break}this.labelRotation++,m=h*p}}this.margins&&(this.paddingLeft=Math.max(this.paddingLeft-this.margins.left,0),this.paddingRight=Math.max(this.paddingRight-this.margins.right,0))},afterCalculateTickRotation:function(){e.callCallback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){e.callCallback(this.options.beforeFit,[this])},fit:function(){var n=this.minSize={width:0,height:0},i=this.options,r=t.defaults.global,a=i.ticks,o=i.scaleLabel,s=i.display,l=this.isHorizontal(),d=e.getValueOrDefault(a.fontSize,r.defaultFontSize),u=e.getValueOrDefault(a.fontStyle,r.defaultFontStyle),c=e.getValueOrDefault(a.fontFamily,r.defaultFontFamily),h=e.fontString(d,u,c),f=e.getValueOrDefault(o.fontSize,r.defaultFontSize),p=e.getValueOrDefault(o.fontStyle,r.defaultFontStyle),m=e.getValueOrDefault(o.fontFamily,r.defaultFontFamily),_=(e.fontString(f,p,m),i.gridLines.tickMarkLength);if(l?n.width=this.isFullWidth()?this.maxWidth-this.margins.left-this.margins.right:this.maxWidth:n.width=s?_:0,l?n.height=s?_:0:n.height=this.maxHeight,o.display&&s&&(l?n.height+=1.5*f:n.width+=1.5*f),a.display&&s){this.longestTextCache||(this.longestTextCache={});var g=e.longestText(this.ctx,h,this.ticks,this.longestTextCache);if(l){this.longestLabelWidth=g;var y=Math.sin(e.toRadians(this.labelRotation))*this.longestLabelWidth+1.5*d;n.height=Math.min(this.maxHeight,n.height+y),this.ctx.font=h;var v=this.ctx.measureText(this.ticks[0]).width,b=this.ctx.measureText(this.ticks[this.ticks.length-1]).width,M=Math.cos(e.toRadians(this.labelRotation)),w=Math.sin(e.toRadians(this.labelRotation));this.paddingLeft=0!==this.labelRotation?M*v+3:v/2+3,this.paddingRight=0!==this.labelRotation?w*(d/2)+3:b/2+3}else{var k=this.maxWidth-n.width,x=a.mirror;x?g=0:g+=this.options.ticks.padding,k>g?n.width+=g:n.width=this.maxWidth,this.paddingTop=d/2,this.paddingBottom=d/2}}this.margins&&(this.paddingLeft=Math.max(this.paddingLeft-this.margins.left,0),this.paddingTop=Math.max(this.paddingTop-this.margins.top,0),this.paddingRight=Math.max(this.paddingRight-this.margins.right,0),this.paddingBottom=Math.max(this.paddingBottom-this.margins.bottom,0)),this.width=n.width,this.height=n.height},afterFit:function(){e.callCallback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function n(t){return null===t||"undefined"==typeof t?NaN:"number"==typeof t&&isNaN(t)?NaN:"object"==typeof t?t instanceof Date||t.isValid?t:n(this.isHorizontal()?t.x:t.y):t},getLabelForIndex:e.noop,getPixelForValue:e.noop,getValueForPixel:e.noop,getPixelForTick:function(t,e){if(this.isHorizontal()){var n=this.width-(this.paddingLeft+this.paddingRight),i=n/Math.max(this.ticks.length-(this.options.gridLines.offsetGridLines?0:1),1),r=i*t+this.paddingLeft;e&&(r+=i/2);var a=this.left+Math.round(r);return a+=this.isFullWidth()?this.margins.left:0}var o=this.height-(this.paddingTop+this.paddingBottom);return this.top+t*(o/(this.ticks.length-1))},getPixelForDecimal:function(t){if(this.isHorizontal()){var e=this.width-(this.paddingLeft+this.paddingRight),n=e*t+this.paddingLeft,i=this.left+Math.round(n);return i+=this.isFullWidth()?this.margins.left:0}return this.top+t*this.height},getBasePixel:function(){var t=this,e=t.min,n=t.max;return t.getPixelForValue(t.beginAtZero?0:0>e&&0>n?n:e>0&&n>0?e:0)},draw:function(n){var i=this.options;if(i.display){var r,a,o,s,l,d=this.ctx,u=t.defaults.global,c=i.ticks,h=i.gridLines,f=i.scaleLabel,p=0!==this.labelRotation,m=c.autoSkip;c.maxTicksLimit&&(l=c.maxTicksLimit);var _=e.getValueOrDefault(c.fontColor,u.defaultFontColor),g=e.getValueOrDefault(c.fontSize,u.defaultFontSize),y=e.getValueOrDefault(c.fontStyle,u.defaultFontStyle),v=e.getValueOrDefault(c.fontFamily,u.defaultFontFamily),b=e.fontString(g,y,v),M=h.tickMarkLength,w=e.getValueOrDefault(f.fontColor,u.defaultFontColor),k=e.getValueOrDefault(f.fontSize,u.defaultFontSize),x=e.getValueOrDefault(f.fontStyle,u.defaultFontStyle),L=e.getValueOrDefault(f.fontFamily,u.defaultFontFamily),D=e.fontString(k,x,L),T=e.toRadians(this.labelRotation),Y=Math.cos(T),S=(Math.sin(T),this.longestLabelWidth*Y);if(d.fillStyle=_,this.isHorizontal()){r=!0;var C="bottom"===i.position?this.top:this.bottom-M,H="bottom"===i.position?this.top+M:this.bottom;if(a=!1,p&&(S/=2),(S+c.autoSkipPadding)*this.ticks.length>this.width-(this.paddingLeft+this.paddingRight)&&(a=1+Math.floor((S+c.autoSkipPadding)*this.ticks.length/(this.width-(this.paddingLeft+this.paddingRight)))),l&&this.ticks.length>l)for(;!a||this.ticks.length/(a||1)>l;)a||(a=1),a+=1;m||(a=!1),e.each(this.ticks,function(t,o){var s=this.ticks.length===o+1,l=a>1&&o%a>0||o%a===0&&o+a>=this.ticks.length;if((!l||s)&&void 0!==t&&null!==t){var u=this.getPixelForTick(o),f=this.getPixelForTick(o,h.offsetGridLines);h.display&&(o===("undefined"!=typeof this.zeroLineIndex?this.zeroLineIndex:0)?(d.lineWidth=h.zeroLineWidth,d.strokeStyle=h.zeroLineColor,r=!0):r&&(d.lineWidth=h.lineWidth,d.strokeStyle=h.color,r=!1),u+=e.aliasPixel(d.lineWidth),d.beginPath(),h.drawTicks&&(d.moveTo(u,C),d.lineTo(u,H)),h.drawOnChartArea&&(d.moveTo(u,n.top),d.lineTo(u,n.bottom)),d.stroke()),c.display&&(d.save(),d.translate(f+c.labelOffset,p?this.top+12:"top"===i.position?this.bottom-M:this.top+M),d.rotate(-1*T),d.font=b,d.textAlign=p?"right":"center",d.textBaseline=p?"middle":"top"===i.position?"bottom":"top",d.fillText(t,0,0),d.restore())}},this),f.display&&(d.textAlign="center",d.textBaseline="middle",d.fillStyle=w,d.font=D,o=this.left+(this.right-this.left)/2,s="bottom"===i.position?this.bottom-k/2:this.top+k/2,d.fillText(f.labelString,o,s))}else{r=!0;var A="right"===i.position?this.left:this.right-5,j="right"===i.position?this.left+5:this.right;if(e.each(this.ticks,function(t,a){if(void 0!==t&&null!==t){var o=this.getPixelForTick(a);if(h.display&&(a===("undefined"!=typeof this.zeroLineIndex?this.zeroLineIndex:0)?(d.lineWidth=h.zeroLineWidth,d.strokeStyle=h.zeroLineColor,r=!0):r&&(d.lineWidth=h.lineWidth,d.strokeStyle=h.color,r=!1),o+=e.aliasPixel(d.lineWidth),d.beginPath(),h.drawTicks&&(d.moveTo(A,o),d.lineTo(j,o)),h.drawOnChartArea&&(d.moveTo(n.left,o),d.lineTo(n.right,o)),d.stroke()),c.display){var s,l=this.getPixelForTick(a,h.offsetGridLines);d.save(),"left"===i.position?c.mirror?(s=this.right+c.padding,d.textAlign="left"):(s=this.right-c.padding,d.textAlign="right"):c.mirror?(s=this.left-c.padding,d.textAlign="right"):(s=this.left+c.padding,d.textAlign="left"),d.translate(s,l+c.labelOffset),d.rotate(-1*T),d.font=b,d.textBaseline="middle",d.fillText(t,0,0),d.restore()}}},this),f.display){o="left"===i.position?this.left+k/2:this.right-k/2,s=this.top+(this.bottom-this.top)/2;var P="left"===i.position?-.5*Math.PI:.5*Math.PI;d.save(),d.translate(o,s),d.rotate(P),d.textAlign="center",d.fillStyle=w,d.font=D,d.textBaseline="middle",d.fillText(f.labelString,0,0),d.restore()}}if(h.drawBorder){d.lineWidth=h.lineWidth,d.strokeStyle=h.color;var E=this.left,I=this.right,W=this.top,F=this.bottom,O=e.aliasPixel(d.lineWidth);this.isHorizontal()?(W=F="top"===i.position?this.bottom:this.top,W+=O,F+=O):(E=I="left"===i.position?this.right:this.left,E+=O,I+=O),d.beginPath(),d.moveTo(E,W),d.lineTo(I,F),d.stroke()}}}})}},{}],31:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.scaleService={constructors:{},defaults:{},registerScaleType:function(t,n,i){this.constructors[t]=n,this.defaults[t]=e.clone(i)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(n){return this.defaults.hasOwnProperty(n)?e.scaleMerge(t.defaults.scale,this.defaults[n]):{};
},updateScaleDefaults:function(t,n){var i=this.defaults;i.hasOwnProperty(t)&&(i[t]=e.extend(i[t],n))},addScalesToLayout:function(n){e.each(n.scales,function(e){t.layoutService.addBox(n,e)})}}}},{}],32:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.global.title={display:!1,position:"top",fullWidth:!0,fontStyle:"bold",padding:10,text:""};var n=e.noop;t.Title=t.Element.extend({initialize:function(n){e.extend(this,n),this.options=e.configMerge(t.defaults.global.title,n.options),this.legendHitBoxes=[]},beforeUpdate:n,update:function(t,e,n){return this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this.margins=n,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this.beforeBuildLabels(),this.buildLabels(),this.afterBuildLabels(),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate(),this.minSize},afterUpdate:n,beforeSetDimensions:n,setDimensions:function(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0,this.minSize={width:0,height:0}},afterSetDimensions:n,beforeBuildLabels:n,buildLabels:n,afterBuildLabels:n,beforeFit:n,fit:function(){var n=this,i=(n.ctx,e.getValueOrDefault),r=n.options,a=t.defaults.global,o=r.display,s=i(r.fontSize,a.defaultFontSize),l=n.minSize;n.isHorizontal()?(l.width=n.maxWidth,l.height=o?s+2*r.padding:0):(l.width=o?s+2*r.padding:0,l.height=n.maxHeight),n.width=l.width,n.height=l.height},afterFit:n,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var n=this,i=n.ctx,r=e.getValueOrDefault,a=n.options,o=t.defaults.global;if(a.display){var s,l,d=r(a.fontSize,o.defaultFontSize),u=r(a.fontStyle,o.defaultFontStyle),c=r(a.fontFamily,o.defaultFontFamily),h=e.fontString(d,u,c),f=0,p=n.top,m=n.left,_=n.bottom,g=n.right;i.fillStyle=r(a.fontColor,o.defaultFontColor),i.font=h,n.isHorizontal()?(s=m+(g-m)/2,l=p+(_-p)/2):(s="left"===a.position?m+d/2:g-d/2,l=p+(_-p)/2,f=Math.PI*("left"===a.position?-.5:.5)),i.save(),i.translate(s,l),i.rotate(f),i.textAlign="center",i.textBaseline="middle",i.fillText(a.text,0,0),i.restore()}}})}},{}],33:[function(t,e,n){"use strict";e.exports=function(t){function e(t,e){return e&&(n.isArray(e)?t=t.concat(e):t.push(e)),t}var n=t.helpers;t.defaults.global.tooltips={enabled:!0,custom:null,mode:"single",backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleColor:"#fff",titleAlign:"left",bodySpacing:2,bodyColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,yAlign:"center",xAlign:"center",caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",callbacks:{beforeTitle:n.noop,title:function(t,e){var n="";return t.length>0&&(t[0].xLabel?n=t[0].xLabel:e.labels.length>0&&t[0].index<e.labels.length&&(n=e.labels[t[0].index])),n},afterTitle:n.noop,beforeBody:n.noop,beforeLabel:n.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n+": "+t.yLabel},afterLabel:n.noop,afterBody:n.noop,beforeFooter:n.noop,footer:n.noop,afterFooter:n.noop}},t.Tooltip=t.Element.extend({initialize:function(){var e=t.defaults.global,i=this._options,r=i.tooltips;n.extend(this,{_model:{xPadding:r.xPadding,yPadding:r.yPadding,xAlign:r.yAlign,yAlign:r.xAlign,bodyColor:r.bodyColor,_bodyFontFamily:n.getValueOrDefault(r.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:n.getValueOrDefault(r.bodyFontStyle,e.defaultFontStyle),_bodyAlign:r.bodyAlign,bodyFontSize:n.getValueOrDefault(r.bodyFontSize,e.defaultFontSize),bodySpacing:r.bodySpacing,titleColor:r.titleColor,_titleFontFamily:n.getValueOrDefault(r.titleFontFamily,e.defaultFontFamily),_titleFontStyle:n.getValueOrDefault(r.titleFontStyle,e.defaultFontStyle),titleFontSize:n.getValueOrDefault(r.titleFontSize,e.defaultFontSize),_titleAlign:r.titleAlign,titleSpacing:r.titleSpacing,titleMarginBottom:r.titleMarginBottom,footerColor:r.footerColor,_footerFontFamily:n.getValueOrDefault(r.footerFontFamily,e.defaultFontFamily),_footerFontStyle:n.getValueOrDefault(r.footerFontStyle,e.defaultFontStyle),footerFontSize:n.getValueOrDefault(r.footerFontSize,e.defaultFontSize),_footerAlign:r.footerAlign,footerSpacing:r.footerSpacing,footerMarginTop:r.footerMarginTop,caretSize:r.caretSize,cornerRadius:r.cornerRadius,backgroundColor:r.backgroundColor,opacity:0,legendColorBackground:r.multiKeyBackground}})},getTitle:function(){var t=this._options.tooltips.callbacks.beforeTitle.apply(this,arguments),n=this._options.tooltips.callbacks.title.apply(this,arguments),i=this._options.tooltips.callbacks.afterTitle.apply(this,arguments),r=[];return r=e(r,t),r=e(r,n),r=e(r,i)},getBeforeBody:function(){var t=this._options.tooltips.callbacks.beforeBody.apply(this,arguments);return n.isArray(t)?t:void 0!==t?[t]:[]},getBody:function(t,e){var i=[];return n.each(t,function(t){n.pushAllIfDefined(this._options.tooltips.callbacks.beforeLabel.call(this,t,e),i),n.pushAllIfDefined(this._options.tooltips.callbacks.label.call(this,t,e),i),n.pushAllIfDefined(this._options.tooltips.callbacks.afterLabel.call(this,t,e),i)},this),i},getAfterBody:function(){var t=this._options.tooltips.callbacks.afterBody.apply(this,arguments);return n.isArray(t)?t:void 0!==t?[t]:[]},getFooter:function(){var t=this._options.tooltips.callbacks.beforeFooter.apply(this,arguments),n=this._options.tooltips.callbacks.footer.apply(this,arguments),i=this._options.tooltips.callbacks.afterFooter.apply(this,arguments),r=[];return r=e(r,t),r=e(r,n),r=e(r,i)},getAveragePosition:function(t){if(!t.length)return!1;var e=[],i=[];n.each(t,function(t){if(t&&t.hasValue()){var n=t.tooltipPosition();e.push(n.x),i.push(n.y)}});for(var r=0,a=0,o=0;o<e.length;o++)r+=e[o],a+=i[o];return{x:Math.round(r/e.length),y:Math.round(a/e.length)}},update:function(t){if(this._active.length){this._model.opacity=1;var e,i=this._active[0],r=[],a=[];if("single"===this._options.tooltips.mode){var o=i._yScale||i._scale;a.push({xLabel:i._xScale?i._xScale.getLabelForIndex(i._index,i._datasetIndex):"",yLabel:o?o.getLabelForIndex(i._index,i._datasetIndex):"",index:i._index,datasetIndex:i._datasetIndex}),e=this.getAveragePosition(this._active)}else n.each(this._data.datasets,function(t,e){if(this._chartInstance.isDatasetVisible(e)){var n=this._chartInstance.getDatasetMeta(e),r=n.data[i._index];if(r){var o=i._yScale||i._scale;a.push({xLabel:r._xScale?r._xScale.getLabelForIndex(r._index,r._datasetIndex):"",yLabel:o?o.getLabelForIndex(r._index,r._datasetIndex):"",index:i._index,datasetIndex:e})}}},this),n.each(this._active,function(t){t&&r.push({borderColor:t._view.borderColor,backgroundColor:t._view.backgroundColor})},null),e=this.getAveragePosition(this._active);n.extend(this._model,{title:this.getTitle(a,this._data),beforeBody:this.getBeforeBody(a,this._data),body:this.getBody(a,this._data),afterBody:this.getAfterBody(a,this._data),footer:this.getFooter(a,this._data)}),n.extend(this._model,{x:Math.round(e.x),y:Math.round(e.y),caretPadding:n.getValueOrDefault(e.padding,2),labelColors:r});var s=this.getTooltipSize(this._model);this.determineAlignment(s),n.extend(this._model,this.getBackgroundPoint(this._model,s))}else this._model.opacity=0;return t&&this._options.tooltips.custom&&this._options.tooltips.custom.call(this,this._model),this},getTooltipSize:function(t){var e=this._chart.ctx,i={height:2*t.yPadding,width:0},r=t.body.length+t.beforeBody.length+t.afterBody.length;return i.height+=t.title.length*t.titleFontSize,i.height+=(t.title.length-1)*t.titleSpacing,i.height+=t.title.length?t.titleMarginBottom:0,i.height+=r*t.bodyFontSize,i.height+=r?(r-1)*t.bodySpacing:0,i.height+=t.footer.length?t.footerMarginTop:0,i.height+=t.footer.length*t.footerFontSize,i.height+=t.footer.length?(t.footer.length-1)*t.footerSpacing:0,e.font=n.fontString(t.titleFontSize,t._titleFontStyle,t._titleFontFamily),n.each(t.title,function(t){i.width=Math.max(i.width,e.measureText(t).width)}),e.font=n.fontString(t.bodyFontSize,t._bodyFontStyle,t._bodyFontFamily),n.each(t.beforeBody.concat(t.afterBody),function(t){i.width=Math.max(i.width,e.measureText(t).width)}),n.each(t.body,function(n){i.width=Math.max(i.width,e.measureText(n).width+("single"!==this._options.tooltips.mode?t.bodyFontSize+2:0))},this),e.font=n.fontString(t.footerFontSize,t._footerFontStyle,t._footerFontFamily),n.each(t.footer,function(t){i.width=Math.max(i.width,e.measureText(t).width)}),i.width+=2*t.xPadding,i},determineAlignment:function(t){this._model.y<t.height?this._model.yAlign="top":this._model.y>this._chart.height-t.height&&(this._model.yAlign="bottom");var e,n,i,r,a,o=this,s=(this._chartInstance.chartArea.left+this._chartInstance.chartArea.right)/2,l=(this._chartInstance.chartArea.top+this._chartInstance.chartArea.bottom)/2;"center"===this._model.yAlign?(e=function(t){return s>=t},n=function(t){return t>s}):(e=function(e){return e<=t.width/2},n=function(e){return e>=o._chart.width-t.width/2}),i=function(e){return e+t.width>o._chart.width},r=function(e){return e-t.width<0},a=function(t){return l>=t?"top":"bottom"},e(this._model.x)?(this._model.xAlign="left",i(this._model.x)&&(this._model.xAlign="center",this._model.yAlign=a(this._model.y))):n(this._model.x)&&(this._model.xAlign="right",r(this._model.x)&&(this._model.xAlign="center",this._model.yAlign=a(this._model.y)))},getBackgroundPoint:function(t,e){var n={x:t.x,y:t.y};return"right"===t.xAlign?n.x-=e.width:"center"===t.xAlign&&(n.x-=e.width/2),"top"===t.yAlign?n.y+=t.caretPadding+t.caretSize:"bottom"===t.yAlign?n.y-=e.height+t.caretPadding+t.caretSize:n.y-=e.height/2,"center"===t.yAlign?"left"===t.xAlign?n.x+=t.caretPadding+t.caretSize:"right"===t.xAlign&&(n.x-=t.caretPadding+t.caretSize):"left"===t.xAlign?n.x-=t.cornerRadius+t.caretPadding:"right"===t.xAlign&&(n.x+=t.cornerRadius+t.caretPadding),n},drawCaret:function(t,e,i,r){var a,o,s,l,d,u,c=this._view,h=this._chart.ctx;"center"===c.yAlign?("left"===c.xAlign?(a=t.x,o=a-c.caretSize,s=a):(a=t.x+e.width,o=a+c.caretSize,s=a),d=t.y+e.height/2,l=d-c.caretSize,u=d+c.caretSize):("left"===c.xAlign?(a=t.x+c.cornerRadius,o=a+c.caretSize,s=o+c.caretSize):"right"===c.xAlign?(a=t.x+e.width-c.cornerRadius,o=a-c.caretSize,s=o-c.caretSize):(o=t.x+e.width/2,a=o-c.caretSize,s=o+c.caretSize),"top"===c.yAlign?(l=t.y,d=l-c.caretSize,u=l):(l=t.y+e.height,d=l+c.caretSize,u=l));var f=n.color(c.backgroundColor);h.fillStyle=f.alpha(i*f.alpha()).rgbString(),h.beginPath(),h.moveTo(a,l),h.lineTo(o,d),h.lineTo(s,u),h.closePath(),h.fill()},drawTitle:function(t,e,i,r){if(e.title.length){i.textAlign=e._titleAlign,i.textBaseline="top";var a=n.color(e.titleColor);i.fillStyle=a.alpha(r*a.alpha()).rgbString(),i.font=n.fontString(e.titleFontSize,e._titleFontStyle,e._titleFontFamily),n.each(e.title,function(n,r){i.fillText(n,t.x,t.y),t.y+=e.titleFontSize+e.titleSpacing,r+1===e.title.length&&(t.y+=e.titleMarginBottom-e.titleSpacing)})}},drawBody:function(t,e,i,r){i.textAlign=e._bodyAlign,i.textBaseline="top";var a=n.color(e.bodyColor);i.fillStyle=a.alpha(r*a.alpha()).rgbString(),i.font=n.fontString(e.bodyFontSize,e._bodyFontStyle,e._bodyFontFamily),n.each(e.beforeBody,function(n){i.fillText(n,t.x,t.y),t.y+=e.bodyFontSize+e.bodySpacing}),n.each(e.body,function(a,o){"single"!==this._options.tooltips.mode&&(i.fillStyle=n.color(e.legendColorBackground).alpha(r).rgbaString(),i.fillRect(t.x,t.y,e.bodyFontSize,e.bodyFontSize),i.strokeStyle=n.color(e.labelColors[o].borderColor).alpha(r).rgbaString(),i.strokeRect(t.x,t.y,e.bodyFontSize,e.bodyFontSize),i.fillStyle=n.color(e.labelColors[o].backgroundColor).alpha(r).rgbaString(),i.fillRect(t.x+1,t.y+1,e.bodyFontSize-2,e.bodyFontSize-2),i.fillStyle=n.color(e.bodyColor).alpha(r).rgbaString()),i.fillText(a,t.x+("single"!==this._options.tooltips.mode?e.bodyFontSize+2:0),t.y),t.y+=e.bodyFontSize+e.bodySpacing},this),n.each(e.afterBody,function(n){i.fillText(n,t.x,t.y),t.y+=e.bodyFontSize}),t.y-=e.bodySpacing},drawFooter:function(t,e,i,r){if(e.footer.length){t.y+=e.footerMarginTop,i.textAlign=e._footerAlign,i.textBaseline="top";var a=n.color(e.footerColor);i.fillStyle=a.alpha(r*a.alpha()).rgbString(),i.font=n.fontString(e.footerFontSize,e._footerFontStyle,e._footerFontFamily),n.each(e.footer,function(n){i.fillText(n,t.x,t.y),t.y+=e.footerFontSize+e.footerSpacing})}},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var i=e.caretPadding,r=this.getTooltipSize(e),a={x:e.x,y:e.y},o=Math.abs(e.opacity<.001)?0:e.opacity;if(this._options.tooltips.enabled){var s=n.color(e.backgroundColor);t.fillStyle=s.alpha(o*s.alpha()).rgbString(),n.drawRoundedRectangle(t,a.x,a.y,r.width,r.height,e.cornerRadius),t.fill(),this.drawCaret(a,r,o,i),a.x+=e.xPadding,a.y+=e.yPadding,this.drawTitle(a,e,t,o),this.drawBody(a,e,t,o),this.drawFooter(a,e,t,o)}}}})}},{}],34:[function(t,e,n){"use strict";e.exports=function(t,e){var n=t.helpers,i=t.defaults.global;i.elements.arc={backgroundColor:i.defaultColor,borderColor:"#fff",borderWidth:2},t.elements.Arc=t.Element.extend({inLabelRange:function(t){var e=this._view;return e?Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2):!1},inRange:function(t,e){var i=this._view;if(i){for(var r=n.getAngleFromPoint(i,{x:t,y:e}),a=r.angle,o=r.distance,s=i.startAngle,l=i.endAngle;s>l;)l+=2*Math.PI;for(;a>l;)a-=2*Math.PI;for(;s>a;)a+=2*Math.PI;var d=a>=s&&l>=a,u=o>=i.innerRadius&&o<=i.outerRadius;return d&&u}return!1},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=this._chart.ctx,e=this._view,n=e.startAngle,i=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,n,i),t.arc(e.x,e.y,e.innerRadius,i,n,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})}},{}],35:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n=t.defaults.global;t.defaults.global.elements.line={tension:.4,backgroundColor:n.defaultColor,borderWidth:3,borderColor:n.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",fill:!0},t.elements.Line=t.Element.extend({lineToNextPoint:function(t,e,n,i,r){var a=this._chart.ctx;e._view.skip?i.call(this,t,e,n):t._view.skip?r.call(this,t,e,n):0===e._view.tension?a.lineTo(e._view.x,e._view.y):a.bezierCurveTo(t._view.controlPointNextX,t._view.controlPointNextY,e._view.controlPointPreviousX,e._view.controlPointPreviousY,e._view.x,e._view.y)},draw:function(){function t(t){o._view.skip||s._view.skip?t&&a.lineTo(i._view.scaleZero.x,i._view.scaleZero.y):a.bezierCurveTo(s._view.controlPointNextX,s._view.controlPointNextY,o._view.controlPointPreviousX,o._view.controlPointPreviousY,o._view.x,o._view.y)}var i=this,r=this._view,a=this._chart.ctx,o=this._children[0],s=this._children[this._children.length-1];a.save(),this._children.length>0&&r.fill&&(a.beginPath(),e.each(this._children,function(t,n){var i=e.previousItem(this._children,n),o=e.nextItem(this._children,n);0===n?(this._loop?a.moveTo(r.scaleZero.x,r.scaleZero.y):a.moveTo(t._view.x,r.scaleZero),t._view.skip?this._loop||a.moveTo(o._view.x,this._view.scaleZero):a.lineTo(t._view.x,t._view.y)):this.lineToNextPoint(i,t,o,function(t,e,n){this._loop?a.lineTo(this._view.scaleZero.x,this._view.scaleZero.y):(a.lineTo(t._view.x,this._view.scaleZero),a.moveTo(n._view.x,this._view.scaleZero))},function(t,e){a.lineTo(e._view.x,e._view.y)})},this),this._loop?t(!0):(a.lineTo(this._children[this._children.length-1]._view.x,r.scaleZero),a.lineTo(this._children[0]._view.x,r.scaleZero)),a.fillStyle=r.backgroundColor||n.defaultColor,a.closePath(),a.fill());var l=n.elements.line;a.lineCap=r.borderCapStyle||l.borderCapStyle,a.setLineDash&&a.setLineDash(r.borderDash||l.borderDash),a.lineDashOffset=r.borderDashOffset||l.borderDashOffset,a.lineJoin=r.borderJoinStyle||l.borderJoinStyle,a.lineWidth=r.borderWidth||l.borderWidth,a.strokeStyle=r.borderColor||n.defaultColor,a.beginPath(),e.each(this._children,function(t,n){var i=e.previousItem(this._children,n),r=e.nextItem(this._children,n);0===n?a.moveTo(t._view.x,t._view.y):this.lineToNextPoint(i,t,r,function(t,e,n){a.moveTo(n._view.x,n._view.y)},function(t,e){a.moveTo(e._view.x,e._view.y)})},this),this._loop&&this._children.length>0&&t(),a.stroke(),a.restore()}})}},{}],36:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n=t.defaults.global,i=n.defaultColor;n.elements.point={radius:3,pointStyle:"circle",backgroundColor:i,borderWidth:1,borderColor:i,hitRadius:1,hoverRadius:4,hoverBorderWidth:1},t.elements.Point=t.Element.extend({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):!1},inLabelRange:function(t){var e=this._view;return e?Math.pow(t-e.x,2)<Math.pow(e.radius+e.hitRadius,2):!1},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(){var t,r,a,o,s,l,d=this._view,u=this._chart.ctx,c=d.pointStyle,h=d.radius,f=d.x,p=d.y;if(!d.skip){if("object"==typeof c&&(t=c.toString(),"[object HTMLImageElement]"===t||"[object HTMLCanvasElement]"===t))return void u.drawImage(c,f-c.width/2,p-c.height/2);if(!(isNaN(h)||0>=h)){switch(u.strokeStyle=d.borderColor||i,u.lineWidth=e.getValueOrDefault(d.borderWidth,n.elements.point.borderWidth),u.fillStyle=d.backgroundColor||i,c){default:u.beginPath(),u.arc(f,p,h,0,2*Math.PI),u.closePath(),u.fill();break;case"triangle":u.beginPath(),r=3*h/Math.sqrt(3),s=r*Math.sqrt(3)/2,u.moveTo(f-r/2,p+s/3),u.lineTo(f+r/2,p+s/3),u.lineTo(f,p-2*s/3),u.closePath(),u.fill();break;case"rect":l=1/Math.SQRT2*h,u.fillRect(f-l,p-l,2*l,2*l),u.strokeRect(f-l,p-l,2*l,2*l);break;case"rectRot":u.translate(f,p),u.rotate(Math.PI/4),l=1/Math.SQRT2*h,u.fillRect(-l,-l,2*l,2*l),u.strokeRect(-l,-l,2*l,2*l),u.setTransform(1,0,0,1,0,0);break;case"cross":u.beginPath(),u.moveTo(f,p+h),u.lineTo(f,p-h),u.moveTo(f-h,p),u.lineTo(f+h,p),u.closePath();break;case"crossRot":u.beginPath(),a=Math.cos(Math.PI/4)*h,o=Math.sin(Math.PI/4)*h,u.moveTo(f-a,p-o),u.lineTo(f+a,p+o),u.moveTo(f-a,p+o),u.lineTo(f+a,p-o),u.closePath();break;case"star":u.beginPath(),u.moveTo(f,p+h),u.lineTo(f,p-h),u.moveTo(f-h,p),u.lineTo(f+h,p),a=Math.cos(Math.PI/4)*h,o=Math.sin(Math.PI/4)*h,u.moveTo(f-a,p-o),u.lineTo(f+a,p+o),u.moveTo(f-a,p+o),u.lineTo(f+a,p-o),u.closePath();break;case"line":u.beginPath(),u.moveTo(f-h,p),u.lineTo(f+h,p),u.closePath();break;case"dash":u.beginPath(),u.moveTo(f,p),u.lineTo(f+h,p),u.closePath()}u.stroke()}}}})}},{}],37:[function(t,e,n){"use strict";e.exports=function(t){var e=(t.helpers,t.defaults.global);e.elements.rectangle={backgroundColor:e.defaultColor,borderWidth:0,borderColor:e.defaultColor,borderSkipped:"bottom"},t.elements.Rectangle=t.Element.extend({draw:function(){function t(t){return l[(u+t)%4]}var e=this._chart.ctx,n=this._view,i=n.width/2,r=n.x-i,a=n.x+i,o=n.base-(n.base-n.y),s=n.borderWidth/2;n.borderWidth&&(r+=s,a-=s,o+=s),e.beginPath(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth;var l=[[r,n.base],[r,o],[a,o],[a,n.base]],d=["bottom","left","top","right"],u=d.indexOf(n.borderSkipped,0);-1===u&&(u=0),e.moveTo.apply(e,t(0));for(var c=1;4>c;c++)e.lineTo.apply(e,t(c));e.fill(),n.borderWidth&&e.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var n=this._view;return n?n.y<n.base?t>=n.x-n.width/2&&t<=n.x+n.width/2&&e>=n.y&&e<=n.base:t>=n.x-n.width/2&&t<=n.x+n.width/2&&e>=n.base&&e<=n.y:!1},inLabelRange:function(t){var e=this._view;return e?t>=e.x-e.width/2&&t<=e.x+e.width/2:!1},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})}},{}],38:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n={position:"bottom"},i=t.Scale.extend({determineDataLimits:function(){this.minIndex=0,this.maxIndex=this.chart.data.labels.length-1;var t;void 0!==this.options.ticks.min&&(t=e.indexOf(this.chart.data.labels,this.options.ticks.min),this.minIndex=-1!==t?t:this.minIndex),void 0!==this.options.ticks.max&&(t=e.indexOf(this.chart.data.labels,this.options.ticks.max),this.maxIndex=-1!==t?t:this.maxIndex),this.min=this.chart.data.labels[this.minIndex],this.max=this.chart.data.labels[this.maxIndex]},buildTicks:function(t){this.ticks=0===this.minIndex&&this.maxIndex===this.chart.data.labels.length-1?this.chart.data.labels:this.chart.data.labels.slice(this.minIndex,this.maxIndex+1)},getLabelForIndex:function(t,e){return this.ticks[t]},getPixelForValue:function(t,e,n,i){var r=Math.max(this.maxIndex+1-this.minIndex-(this.options.gridLines.offsetGridLines?0:1),1);if(this.isHorizontal()){var a=this.width-(this.paddingLeft+this.paddingRight),o=a/r,s=o*(e-this.minIndex)+this.paddingLeft;return this.options.gridLines.offsetGridLines&&i&&(s+=o/2),this.left+Math.round(s)}var l=this.height-(this.paddingTop+this.paddingBottom),d=l/r,u=d*(e-this.minIndex)+this.paddingTop;return this.options.gridLines.offsetGridLines&&i&&(u+=d/2),this.top+Math.round(u)},getPixelForTick:function(t,e){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null,e)},getValueForPixel:function(t){var e,n=Math.max(this.ticks.length-(this.options.gridLines.offsetGridLines?0:1),1),i=this.isHorizontal(),r=i?this.width-(this.paddingLeft+this.paddingRight):this.height-(this.paddingTop+this.paddingBottom),a=r/n;return this.options.gridLines.offsetGridLines&&(t-=a/2),t-=i?this.paddingLeft:this.paddingTop,e=0>=t?0:Math.round(t/a)}});t.scaleService.registerScaleType("category",i,n)}},{}],39:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n={position:"left",ticks:{callback:function(t,n,i){var r=i.length>3?i[2]-i[1]:i[1]-i[0];Math.abs(r)>1&&t!==Math.floor(t)&&(r=t-Math.floor(t));var a=e.log10(Math.abs(r)),o="";if(0!==t){var s=-1*Math.floor(a);s=Math.max(Math.min(s,20),0),o=t.toFixed(s)}else o="0";return o}}},i=t.Scale.extend({determineDataLimits:function(){function t(t){return l?t.xAxisID===n.id:t.yAxisID===n.id}var n=this,i=n.options,r=i.ticks,a=n.chart,o=a.data,s=o.datasets,l=n.isHorizontal();if(n.min=null,n.max=null,i.stacked){var d={},u=!1,c=!1;e.each(s,function(r,o){var s=a.getDatasetMeta(o);void 0===d[s.type]&&(d[s.type]={positiveValues:[],negativeValues:[]});var l=d[s.type].positiveValues,h=d[s.type].negativeValues;a.isDatasetVisible(o)&&t(s)&&e.each(r.data,function(t,e){var r=+n.getRightValue(t);isNaN(r)||s.data[e].hidden||(l[e]=l[e]||0,h[e]=h[e]||0,i.relativePoints?l[e]=100:0>r?(c=!0,h[e]+=r):(u=!0,l[e]+=r))})}),e.each(d,function(t){var i=t.positiveValues.concat(t.negativeValues),r=e.min(i),a=e.max(i);n.min=null===n.min?r:Math.min(n.min,r),n.max=null===n.max?a:Math.max(n.max,a)})}else e.each(s,function(i,r){var o=a.getDatasetMeta(r);a.isDatasetVisible(r)&&t(o)&&e.each(i.data,function(t,e){var i=+n.getRightValue(t);isNaN(i)||o.data[e].hidden||(null===n.min?n.min=i:i<n.min&&(n.min=i),null===n.max?n.max=i:i>n.max&&(n.max=i))})});if(r.beginAtZero){var h=e.sign(n.min),f=e.sign(n.max);0>h&&0>f?n.max=0:h>0&&f>0&&(n.min=0)}void 0!==r.min?n.min=r.min:void 0!==r.suggestedMin&&(n.min=Math.min(n.min,r.suggestedMin)),void 0!==r.max?n.max=r.max:void 0!==r.suggestedMax&&(n.max=Math.max(n.max,r.suggestedMax)),n.min===n.max&&(n.max++,r.beginAtZero||n.min--)},buildTicks:function(){var n,i=this,r=i.options,a=r.ticks,o=e.getValueOrDefault,s=i.isHorizontal(),l=i.ticks=[];if(s)n=Math.min(a.maxTicksLimit?a.maxTicksLimit:11,Math.ceil(i.width/50));else{var d=o(a.fontSize,t.defaults.global.defaultFontSize);n=Math.min(a.maxTicksLimit?a.maxTicksLimit:11,Math.ceil(i.height/(2*d)))}n=Math.max(2,n);var u,c=a.fixedStepSize&&a.fixedStepSize>0||a.stepSize&&a.stepSize>0;if(c)u=o(a.fixedStepSize,a.stepSize);else{var h=e.niceNum(i.max-i.min,!1);u=e.niceNum(h/(n-1),!0)}var f=Math.floor(i.min/u)*u,p=Math.ceil(i.max/u)*u,m=(p-f)/u;m=e.almostEquals(m,Math.round(m),u/1e3)?Math.round(m):Math.ceil(m),l.push(void 0!==a.min?a.min:f);for(var _=1;m>_;++_)l.push(f+_*u);l.push(void 0!==a.max?a.max:p),s||l.reverse(),i.max=e.max(l),i.min=e.min(l),a.reverse?(l.reverse(),i.start=i.max,i.end=i.min):(i.start=i.min,i.end=i.max)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),t.Scale.prototype.convertTicksToLabels.call(e)},getPixelForValue:function(t,e,n,i){var r,a,o=this,s=o.paddingLeft,l=o.paddingBottom,d=o.start,u=+o.getRightValue(t),c=o.end-d;return o.isHorizontal()?(a=o.width-(s+o.paddingRight),r=o.left+a/c*(u-d),Math.round(r+s)):(a=o.height-(o.paddingTop+l),r=o.bottom-l-a/c*(u-d),Math.round(r))},getValueForPixel:function(t){var e=this,n=e.isHorizontal(),i=e.paddingLeft,r=e.paddingBottom,a=n?e.width-(i+e.paddingRight):e.height-(e.paddingTop+r),o=(n?t-e.left-i:e.bottom-r-t)/a;return e.start+(e.end-e.start)*o},getPixelForTick:function(t,e){return this.getPixelForValue(this.ticksAsNumbers[t],null,null,e)}});t.scaleService.registerScaleType("linear",i,n)}},{}],40:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n={position:"left",ticks:{callback:function(t,n,i){var r=t/Math.pow(10,Math.floor(e.log10(t)));return 1===r||2===r||5===r||0===n||n===i.length-1?t.toExponential():""}}},i=t.Scale.extend({determineDataLimits:function(){function t(t){return d?t.xAxisID===n.id:t.yAxisID===n.id}var n=this,i=n.options,r=i.ticks,a=n.chart,o=a.data,s=o.datasets,l=e.getValueOrDefault,d=n.isHorizontal();if(n.min=null,n.max=null,i.stacked){var u={};e.each(s,function(r,o){var s=a.getDatasetMeta(o);a.isDatasetVisible(o)&&t(s)&&(void 0===u[s.type]&&(u[s.type]=[]),e.each(r.data,function(t,e){var r=u[s.type],a=+n.getRightValue(t);isNaN(a)||s.data[e].hidden||(r[e]=r[e]||0,i.relativePoints?r[e]=100:r[e]+=a)}))}),e.each(u,function(t){var i=e.min(t),r=e.max(t);n.min=null===n.min?i:Math.min(n.min,i),n.max=null===n.max?r:Math.max(n.max,r)})}else e.each(s,function(i,r){var o=a.getDatasetMeta(r);a.isDatasetVisible(r)&&t(o)&&e.each(i.data,function(t,e){var i=+n.getRightValue(t);isNaN(i)||o.data[e].hidden||(null===n.min?n.min=i:i<n.min&&(n.min=i),null===n.max?n.max=i:i>n.max&&(n.max=i))})});n.min=l(r.min,n.min),n.max=l(r.max,n.max),n.min===n.max&&(0!==n.min&&null!==n.min?(n.min=Math.pow(10,Math.floor(e.log10(n.min))-1),n.max=Math.pow(10,Math.floor(e.log10(n.max))+1)):(n.min=1,n.max=10))},buildTicks:function(){for(var t=this,n=t.options,i=n.ticks,r=e.getValueOrDefault,a=t.ticks=[],o=r(i.min,Math.pow(10,Math.floor(e.log10(t.min))));o<t.max;){a.push(o);var s=Math.floor(e.log10(o)),l=Math.floor(o/Math.pow(10,s))+1;10===l&&(l=1,++s),o=l*Math.pow(10,s)}var d=r(i.max,o);a.push(d),t.isHorizontal()||a.reverse(),t.max=e.max(a),t.min=e.min(a),i.reverse?(a.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),t.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t,e){return this.getPixelForValue(this.tickValues[t],null,null,e)},getPixelForValue:function(t,n,i,r){var a,o,s=this,l=s.start,d=+s.getRightValue(t),u=e.log10(s.end)-e.log10(l),c=s.paddingTop,h=s.paddingBottom,f=s.paddingLeft;return s.isHorizontal()?0===d?o=s.left+f:(a=s.width-(f+s.paddingRight),o=s.left+a/u*(e.log10(d)-e.log10(l)),o+=f):0===d?o=s.top+c:(a=s.height-(c+h),o=s.bottom-h-a/u*(e.log10(d)-e.log10(l))),o},getValueForPixel:function(t){var n,i,r=this,a=e.log10(r.end)-e.log10(r.start);return r.isHorizontal()?(i=r.width-(r.paddingLeft+r.paddingRight),n=r.start*Math.pow(10,(t-r.left-r.paddingLeft)*a/i)):(i=r.height-(r.paddingTop+r.paddingBottom),n=Math.pow(10,(r.bottom-r.paddingBottom-t)*a/i)/r.start),n}});t.scaleService.registerScaleType("logarithmic",i,n)}},{}],41:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n=t.defaults.global,i={display:!0,animate:!0,lineArc:!1,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2},pointLabels:{fontSize:10,callback:function(t){return t}}},r=t.Scale.extend({getValueCount:function(){return this.chart.data.labels.length},setDimensions:function(){var t=this.options;this.width=this.maxWidth,this.height=this.maxHeight,this.xCenter=Math.round(this.width/2),this.yCenter=Math.round(this.height/2);var i=e.min([this.height,this.width]),r=e.getValueOrDefault(t.ticks.fontSize,n.defaultFontSize);this.drawingArea=t.display?i/2-(r/2+t.ticks.backdropPaddingY):i/2},determineDataLimits:function(){if(this.min=null,this.max=null,e.each(this.chart.data.datasets,function(t,n){if(this.chart.isDatasetVisible(n)){var i=this.chart.getDatasetMeta(n);e.each(t.data,function(t,e){var n=+this.getRightValue(t);isNaN(n)||i.data[e].hidden||(null===this.min?this.min=n:n<this.min&&(this.min=n),null===this.max?this.max=n:n>this.max&&(this.max=n))},this)}},this),this.options.ticks.beginAtZero){var t=e.sign(this.min),n=e.sign(this.max);0>t&&0>n?this.max=0:t>0&&n>0&&(this.min=0)}void 0!==this.options.ticks.min?this.min=this.options.ticks.min:void 0!==this.options.ticks.suggestedMin&&(this.min=Math.min(this.min,this.options.ticks.suggestedMin)),void 0!==this.options.ticks.max?this.max=this.options.ticks.max:void 0!==this.options.ticks.suggestedMax&&(this.max=Math.max(this.max,this.options.ticks.suggestedMax)),this.min===this.max&&(this.min--,this.max++)},buildTicks:function(){this.ticks=[];var t=e.getValueOrDefault(this.options.ticks.fontSize,n.defaultFontSize),i=Math.min(this.options.ticks.maxTicksLimit?this.options.ticks.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*t)));i=Math.max(2,i);var r=e.niceNum(this.max-this.min,!1),a=e.niceNum(r/(i-1),!0),o=Math.floor(this.min/a)*a,s=Math.ceil(this.max/a)*a,l=Math.ceil((s-o)/a);this.ticks.push(void 0!==this.options.ticks.min?this.options.ticks.min:o);for(var d=1;l>d;++d)this.ticks.push(o+d*a);this.ticks.push(void 0!==this.options.ticks.max?this.options.ticks.max:s),this.max=e.max(this.ticks),this.min=e.min(this.ticks),this.options.ticks.reverse?(this.ticks.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),this.zeroLineIndex=this.ticks.indexOf(0)},convertTicksToLabels:function(){t.Scale.prototype.convertTicksToLabels.call(this),this.pointLabels=this.chart.data.labels.map(this.options.pointLabels.callback,this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t,i,r,a,o,s,l,d,u,c,h,f,p=this.options.pointLabels,m=e.getValueOrDefault(p.fontSize,n.defaultFontSize),_=e.getValueOrDefault(p.fontStyle,n.defaultFontStyle),g=e.getValueOrDefault(p.fontFamily,n.defaultFontFamily),y=e.fontString(m,_,g),v=e.min([this.height/2-m-5,this.width/2]),b=this.width,M=0;for(this.ctx.font=y,i=0;i<this.getValueCount();i++)t=this.getPointPosition(i,v),r=this.ctx.measureText(this.pointLabels[i]?this.pointLabels[i]:"").width+5,0===i||i===this.getValueCount()/2?(a=r/2,t.x+a>b&&(b=t.x+a,o=i),t.x-a<M&&(M=t.x-a,l=i)):i<this.getValueCount()/2?t.x+r>b&&(b=t.x+r,o=i):i>this.getValueCount()/2&&t.x-r<M&&(M=t.x-r,l=i);u=M,c=Math.ceil(b-this.width),s=this.getIndexAngle(o),d=this.getIndexAngle(l),h=c/Math.sin(s+Math.PI/2),f=u/Math.sin(d+Math.PI/2),h=e.isNumber(h)?h:0,f=e.isNumber(f)?f:0,this.drawingArea=Math.round(v-(f+h)/2),this.setCenterPoint(f,h)},setCenterPoint:function(t,e){var n=this.width-e-this.drawingArea,i=t+this.drawingArea;this.xCenter=Math.round((i+n)/2+this.left),this.yCenter=Math.round(this.height/2+this.top)},getIndexAngle:function(t){var e=2*Math.PI/this.getValueCount();return t*e-Math.PI/2},getDistanceFromCenterForValue:function(t){if(null===t)return 0;var e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e},getPointPosition:function(t,e){
var n=this.getIndexAngle(t);return{x:Math.round(Math.cos(n)*e)+this.xCenter,y:Math.round(Math.sin(n)*e)+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this,e=t.min,n=t.max;return t.getPointPositionForValue(0,t.beginAtZero?0:0>e&&0>n?n:e>0&&n>0?e:0)},draw:function(){if(this.options.display){var t=this.ctx;if(e.each(this.ticks,function(i,r){if(r>0||this.options.reverse){var a=this.getDistanceFromCenterForValue(this.ticks[r]),o=this.yCenter-a;if(this.options.gridLines.display)if(t.strokeStyle=this.options.gridLines.color,t.lineWidth=this.options.gridLines.lineWidth,this.options.lineArc)t.beginPath(),t.arc(this.xCenter,this.yCenter,a,0,2*Math.PI),t.closePath(),t.stroke();else{t.beginPath();for(var s=0;s<this.getValueCount();s++){var l=this.getPointPosition(s,this.getDistanceFromCenterForValue(this.ticks[r]));0===s?t.moveTo(l.x,l.y):t.lineTo(l.x,l.y)}t.closePath(),t.stroke()}if(this.options.ticks.display){var d=e.getValueOrDefault(this.options.ticks.fontColor,n.defaultFontColor),u=e.getValueOrDefault(this.options.ticks.fontSize,n.defaultFontSize),c=e.getValueOrDefault(this.options.ticks.fontStyle,n.defaultFontStyle),h=e.getValueOrDefault(this.options.ticks.fontFamily,n.defaultFontFamily),f=e.fontString(u,c,h);if(t.font=f,this.options.ticks.showLabelBackdrop){var p=t.measureText(i).width;t.fillStyle=this.options.ticks.backdropColor,t.fillRect(this.xCenter-p/2-this.options.ticks.backdropPaddingX,o-u/2-this.options.ticks.backdropPaddingY,p+2*this.options.ticks.backdropPaddingX,u+2*this.options.ticks.backdropPaddingY)}t.textAlign="center",t.textBaseline="middle",t.fillStyle=d,t.fillText(i,this.xCenter,o)}}},this),!this.options.lineArc){t.lineWidth=this.options.angleLines.lineWidth,t.strokeStyle=this.options.angleLines.color;for(var i=this.getValueCount()-1;i>=0;i--){if(this.options.angleLines.display){var r=this.getPointPosition(i,this.getDistanceFromCenterForValue(this.options.reverse?this.min:this.max));t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(r.x,r.y),t.stroke(),t.closePath()}var a=this.getPointPosition(i,this.getDistanceFromCenterForValue(this.options.reverse?this.min:this.max)+5),o=e.getValueOrDefault(this.options.pointLabels.fontColor,n.defaultFontColor),s=e.getValueOrDefault(this.options.pointLabels.fontSize,n.defaultFontSize),l=e.getValueOrDefault(this.options.pointLabels.fontStyle,n.defaultFontStyle),d=e.getValueOrDefault(this.options.pointLabels.fontFamily,n.defaultFontFamily),u=e.fontString(s,l,d);t.font=u,t.fillStyle=o;var c=this.pointLabels.length,h=this.pointLabels.length/2,f=h/2,p=f>i||i>c-f,m=i===f||i===c-f;0===i?t.textAlign="center":i===h?t.textAlign="center":h>i?t.textAlign="left":t.textAlign="right",m?t.textBaseline="middle":p?t.textBaseline="bottom":t.textBaseline="top",t.fillText(this.pointLabels[i]?this.pointLabels[i]:"",a.x,a.y)}}}}});t.scaleService.registerScaleType("radialLinear",r,i)}},{}],42:[function(t,e,n){"use strict";var i=t("moment");i="function"==typeof i?i:window.moment,e.exports=function(t){var e=t.helpers,n={units:[{name:"millisecond",steps:[1,2,5,10,20,50,100,250,500]},{name:"second",steps:[1,2,5,10,30]},{name:"minute",steps:[1,2,5,10,30]},{name:"hour",steps:[1,2,3,6,12]},{name:"day",steps:[1,2,5]},{name:"week",maxStep:4},{name:"month",maxStep:3},{name:"quarter",maxStep:4},{name:"year",maxStep:!1}]},r={position:"bottom",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm:ss a",hour:"MMM D, hA",day:"ll",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1}},a=t.Scale.extend({initialize:function(){if(!i)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");t.Scale.prototype.initialize.call(this)},getLabelMoment:function(t,e){return this.labelMoments[t][e]},getMomentStartOf:function(t){return"week"===this.options.time.unit&&this.options.time.isoWeekday!==!1?t.clone().startOf("isoWeek").isoWeekday(this.options.time.isoWeekday):t.clone().startOf(this.tickUnit)},determineDataLimits:function(){this.labelMoments=[];var t=[];this.chart.data.labels&&this.chart.data.labels.length>0?(e.each(this.chart.data.labels,function(e,n){var i=this.parseTime(e);i.isValid()&&(this.options.time.round&&i.startOf(this.options.time.round),t.push(i))},this),this.firstTick=i.min.call(this,t),this.lastTick=i.max.call(this,t)):(this.firstTick=null,this.lastTick=null),e.each(this.chart.data.datasets,function(n,r){var a=[],o=this.chart.isDatasetVisible(r);"object"==typeof n.data[0]&&null!==n.data[0]?e.each(n.data,function(t,e){var n=this.parseTime(this.getRightValue(t));n.isValid()&&(this.options.time.round&&n.startOf(this.options.time.round),a.push(n),o&&(this.firstTick=null!==this.firstTick?i.min(this.firstTick,n):n,this.lastTick=null!==this.lastTick?i.max(this.lastTick,n):n))},this):a=t,this.labelMoments.push(a)},this),this.options.time.min&&(this.firstTick=this.parseTime(this.options.time.min)),this.options.time.max&&(this.lastTick=this.parseTime(this.options.time.max)),this.firstTick=(this.firstTick||i()).clone(),this.lastTick=(this.lastTick||i()).clone()},buildTicks:function(i){this.ctx.save();var r=e.getValueOrDefault(this.options.ticks.fontSize,t.defaults.global.defaultFontSize),a=e.getValueOrDefault(this.options.ticks.fontStyle,t.defaults.global.defaultFontStyle),o=e.getValueOrDefault(this.options.ticks.fontFamily,t.defaults.global.defaultFontFamily),s=e.fontString(r,a,o);if(this.ctx.font=s,this.ticks=[],this.unitScale=1,this.scaleSizeInUnits=0,this.options.time.unit)this.tickUnit=this.options.time.unit||"day",this.displayFormat=this.options.time.displayFormats[this.tickUnit],this.scaleSizeInUnits=this.lastTick.diff(this.firstTick,this.tickUnit,!0),this.unitScale=e.getValueOrDefault(this.options.time.unitStepSize,1);else{var l=this.isHorizontal()?this.width-(this.paddingLeft+this.paddingRight):this.height-(this.paddingTop+this.paddingBottom),d=this.tickFormatFunction(this.firstTick,0,[]),u=this.ctx.measureText(d).width,c=Math.cos(e.toRadians(this.options.ticks.maxRotation)),h=Math.sin(e.toRadians(this.options.ticks.maxRotation));u=u*c+r*h;var f=l/u;this.tickUnit="millisecond",this.scaleSizeInUnits=this.lastTick.diff(this.firstTick,this.tickUnit,!0),this.displayFormat=this.options.time.displayFormats[this.tickUnit];for(var p=0,m=n.units[p];p<n.units.length;){if(this.unitScale=1,e.isArray(m.steps)&&Math.ceil(this.scaleSizeInUnits/f)<e.max(m.steps)){for(var _=0;_<m.steps.length;++_)if(m.steps[_]>=Math.ceil(this.scaleSizeInUnits/f)){this.unitScale=e.getValueOrDefault(this.options.time.unitStepSize,m.steps[_]);break}break}if(m.maxStep===!1||Math.ceil(this.scaleSizeInUnits/f)<m.maxStep){this.unitScale=e.getValueOrDefault(this.options.time.unitStepSize,Math.ceil(this.scaleSizeInUnits/f));break}++p,m=n.units[p],this.tickUnit=m.name;var g=this.firstTick.diff(this.getMomentStartOf(this.firstTick),this.tickUnit,!0),y=this.getMomentStartOf(this.lastTick.clone().add(1,this.tickUnit)).diff(this.lastTick,this.tickUnit,!0);this.scaleSizeInUnits=this.lastTick.diff(this.firstTick,this.tickUnit,!0)+g+y,this.displayFormat=this.options.time.displayFormats[m.name]}}var v;if(this.options.time.min?v=this.getMomentStartOf(this.firstTick):(this.firstTick=this.getMomentStartOf(this.firstTick),v=this.firstTick),!this.options.time.max){var b=this.getMomentStartOf(this.lastTick);0!==b.diff(this.lastTick,this.tickUnit,!0)&&(this.lastTick=this.getMomentStartOf(this.lastTick.add(1,this.tickUnit)))}this.smallestLabelSeparation=this.width,e.each(this.chart.data.datasets,function(t,e){for(var n=1;n<this.labelMoments[e].length;n++)this.smallestLabelSeparation=Math.min(this.smallestLabelSeparation,this.labelMoments[e][n].diff(this.labelMoments[e][n-1],this.tickUnit,!0))},this),this.options.time.displayFormat&&(this.displayFormat=this.options.time.displayFormat),this.ticks.push(this.firstTick.clone());for(var M=1;M<=this.scaleSizeInUnits;++M){var w=v.clone().add(M,this.tickUnit);if(this.options.time.max&&w.diff(this.lastTick,this.tickUnit,!0)>=0)break;M%this.unitScale===0&&this.ticks.push(w)}var k=this.ticks[this.ticks.length-1].diff(this.lastTick,this.tickUnit);0===k&&0!==this.scaleSizeInUnits||(this.options.time.max?(this.ticks.push(this.lastTick.clone()),this.scaleSizeInUnits=this.lastTick.diff(this.ticks[0],this.tickUnit,!0)):(this.ticks.push(this.lastTick.clone()),this.scaleSizeInUnits=this.lastTick.diff(this.firstTick,this.tickUnit,!0))),this.ctx.restore()},getLabelForIndex:function(t,e){var n=this.chart.data.labels&&t<this.chart.data.labels.length?this.chart.data.labels[t]:"";return"object"==typeof this.chart.data.datasets[e].data[0]&&(n=this.getRightValue(this.chart.data.datasets[e].data[t])),this.options.time.tooltipFormat&&(n=this.parseTime(n).format(this.options.time.tooltipFormat)),n},tickFormatFunction:function(t,n,i){var r=t.format(this.displayFormat),a=this.options.ticks,o=e.getValueOrDefault(a.callback,a.userCallback);return o?o(r,n,i):r},convertTicksToLabels:function(){this.tickMoments=this.ticks,this.ticks=this.ticks.map(this.tickFormatFunction,this)},getPixelForValue:function(t,e,n,i){var r=t&&t.isValid&&t.isValid()?t:this.getLabelMoment(n,e);if(r){var a=r.diff(this.firstTick,this.tickUnit,!0),o=a/this.scaleSizeInUnits;if(this.isHorizontal()){var s=this.width-(this.paddingLeft+this.paddingRight),l=(s/Math.max(this.ticks.length-1,1),s*o+this.paddingLeft);return this.left+Math.round(l)}var d=this.height-(this.paddingTop+this.paddingBottom),u=(d/Math.max(this.ticks.length-1,1),d*o+this.paddingTop);return this.top+Math.round(u)}},getPixelForTick:function(t,e){return this.getPixelForValue(this.tickMoments[t],null,null,e)},getValueForPixel:function(t){var e=this.isHorizontal()?this.width-(this.paddingLeft+this.paddingRight):this.height-(this.paddingTop+this.paddingBottom),n=(t-(this.isHorizontal()?this.left+this.paddingLeft:this.top+this.paddingTop))/e;return n*=this.scaleSizeInUnits,this.firstTick.clone().add(i.duration(n,this.tickUnit).asSeconds(),"seconds")},parseTime:function(t){return"string"==typeof this.options.time.parser?i(t,this.options.time.parser):"function"==typeof this.options.time.parser?this.options.time.parser(t):"function"==typeof t.getMonth||"number"==typeof t?i(t):t.isValid&&t.isValid()?t:"string"!=typeof this.options.time.format&&this.options.time.format.call?this.options.time.format(t):i(t,this.options.time.format)}});t.scaleService.registerScaleType("time",a,r)}},{moment:1}]},{},[7]),function(t,e,n){!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):jQuery&&!jQuery.fn.sparkline&&t(jQuery)}(function(i){"use strict";var r,a,o,s,l,d,u,c,h,f,p,m,_,g,y,v,b,M,w,k,x,L,D,T,Y,S,C,H,A,j,P,E,I={},W=0;r=function(){return{common:{type:"line",lineColor:"#00f",fillColor:"#cdf",defaultPixelsPerValue:3,width:"auto",height:"auto",composite:!1,tagValuesAttribute:"values",tagOptionsPrefix:"spark",enableTagOptions:!1,enableHighlight:!0,highlightLighten:1.4,tooltipSkipNull:!0,tooltipPrefix:"",tooltipSuffix:"",disableHiddenCheck:!1,numberFormatter:!1,numberDigitGroupCount:3,numberDigitGroupSep:",",numberDecimalMark:".",disableTooltips:!1,disableInteraction:!1},line:{spotColor:"#f80",highlightSpotColor:"#5f5",highlightLineColor:"#f22",spotRadius:1.5,minSpotColor:"#f80",maxSpotColor:"#f80",lineWidth:1,normalRangeMin:n,normalRangeMax:n,normalRangeColor:"#ccc",drawNormalOnTop:!1,chartRangeMin:n,chartRangeMax:n,chartRangeMinX:n,chartRangeMaxX:n,tooltipFormat:new o('<span style="color: {{color}}">&#9679;</span> {{prefix}}{{y}}{{suffix}}')},bar:{barColor:"#3366cc",negBarColor:"#f44",stackedBarColor:["#3366cc","#dc3912","#ff9900","#109618","#66aa00","#dd4477","#0099c6","#990099"],zeroColor:n,nullColor:n,zeroAxis:!0,barWidth:4,barSpacing:1,chartRangeMax:n,chartRangeMin:n,chartRangeClip:!1,colorMap:n,tooltipFormat:new o('<span style="color: {{color}}">&#9679;</span> {{prefix}}{{value}}{{suffix}}')},tristate:{barWidth:4,barSpacing:1,posBarColor:"#6f6",negBarColor:"#f44",zeroBarColor:"#999",colorMap:{},tooltipFormat:new o('<span style="color: {{color}}">&#9679;</span> {{value:map}}'),tooltipValueLookups:{map:{"-1":"Loss",0:"Draw",1:"Win"}}},discrete:{lineHeight:"auto",thresholdColor:n,thresholdValue:0,chartRangeMax:n,chartRangeMin:n,chartRangeClip:!1,tooltipFormat:new o("{{prefix}}{{value}}{{suffix}}")},bullet:{targetColor:"#f33",targetWidth:3,performanceColor:"#33f",rangeColors:["#d3dafe","#a8b6ff","#7f94ff"],base:n,tooltipFormat:new o("{{fieldkey:fields}} - {{value}}"),tooltipValueLookups:{fields:{r:"Range",p:"Performance",t:"Target"}}},pie:{offset:0,sliceColors:["#3366cc","#dc3912","#ff9900","#109618","#66aa00","#dd4477","#0099c6","#990099"],borderWidth:0,borderColor:"#000",tooltipFormat:new o('<span style="color: {{color}}">&#9679;</span> {{value}} ({{percent.1}}%)')},box:{raw:!1,boxLineColor:"#000",boxFillColor:"#cdf",whiskerColor:"#000",outlierLineColor:"#333",outlierFillColor:"#fff",medianColor:"#f00",showOutliers:!0,outlierIQR:1.5,spotRadius:1.5,target:n,targetColor:"#4a2",chartRangeMax:n,chartRangeMin:n,tooltipFormat:new o("{{field:fields}}: {{value}}"),tooltipFormatFieldlistKey:"field",tooltipValueLookups:{fields:{lq:"Lower Quartile",med:"Median",uq:"Upper Quartile",lo:"Left Outlier",ro:"Right Outlier",lw:"Left Whisker",rw:"Right Whisker"}}}}},S='.jqstooltip { position: absolute;left: 0px;top: 0px;visibility: hidden;background: rgb(0, 0, 0) transparent;background-color: rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";color: white;font: 10px arial, san serif;text-align: left;white-space: nowrap;padding: 5px;border: 1px solid white;box-sizing: content-box;z-index: 10000;}.jqsfield { color: white;font: 10px arial, san serif;text-align: left;}',a=function(){var t,e;return t=function(){this.init.apply(this,arguments)},arguments.length>1?(arguments[0]?(t.prototype=i.extend(new arguments[0],arguments[arguments.length-1]),t._super=arguments[0].prototype):t.prototype=arguments[arguments.length-1],arguments.length>2&&(e=Array.prototype.slice.call(arguments,1,-1),e.unshift(t.prototype),i.extend.apply(i,e))):t.prototype=arguments[0],t.prototype.cls=t,t},i.SPFormatClass=o=a({fre:/\{\{([\w.]+?)(:(.+?))?\}\}/g,precre:/(\w+)\.(\d+)/,init:function(t,e){this.format=t,this.fclass=e},render:function(t,e,i){var r,a,o,s,l,d=this,u=t;return this.format.replace(this.fre,function(){var t;return a=arguments[1],o=arguments[3],r=d.precre.exec(a),r?(l=r[2],a=r[1]):l=!1,s=u[a],s===n?"":o&&e&&e[o]?(t=e[o],t.get?e[o].get(s)||s:e[o][s]||s):(h(s)&&(s=i.get("numberFormatter")?i.get("numberFormatter")(s):g(s,l,i.get("numberDigitGroupCount"),i.get("numberDigitGroupSep"),i.get("numberDecimalMark"))),s)})}}),i.spformat=function(t,e){return new o(t,e)},s=function(t,e,n){return e>t?e:t>n?n:t},l=function(t,n){var i;return 2===n?(i=e.floor(t.length/2),t.length%2?t[i]:(t[i-1]+t[i])/2):t.length%2?(i=(t.length*n+n)/4,i%1?(t[e.floor(i)]+t[e.floor(i)-1])/2:t[i-1]):(i=(t.length*n+2)/4,i%1?(t[e.floor(i)]+t[e.floor(i)-1])/2:t[i-1])},d=function(t){var e;switch(t){case"undefined":t=n;break;case"null":t=null;break;case"true":t=!0;break;case"false":t=!1;break;default:e=parseFloat(t),t==e&&(t=e)}return t},u=function(t){var e,n=[];for(e=t.length;e--;)n[e]=d(t[e]);return n},c=function(t,e){var n,i,r=[];for(n=0,i=t.length;i>n;n++)t[n]!==e&&r.push(t[n]);return r},h=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},g=function(t,e,n,r,a){var o,s;for(t=(e===!1?parseFloat(t).toString():t.toFixed(e)).split(""),o=(o=i.inArray(".",t))<0?t.length:o,o<t.length&&(t[o]=a),s=o-n;s>0;s-=n)t.splice(s,0,r);return t.join("")},f=function(t,e,n){var i;for(i=e.length;i--;)if((!n||null!==e[i])&&e[i]!==t)return!1;return!0},p=function(t){var e,n=0;for(e=t.length;e--;)n+="number"==typeof t[e]?t[e]:0;return n},_=function(t){return i.isArray(t)?t:[t]},m=function(e){var n,i;if(t.createStyleSheet)try{return void(t.createStyleSheet().cssText=e)}catch(r){i=!0}n=t.createElement("style"),n.type="text/css",t.getElementsByTagName("head")[0].appendChild(n),i?t.styleSheets[t.styleSheets.length-1].cssText=e:n["string"==typeof t.body.style.WebkitAppearance?"innerText":"innerHTML"]=e},i.fn.simpledraw=function(e,r,a,o){var s,l;if(a&&(s=this.data("_jqs_vcanvas")))return s;if(i.fn.sparkline.canvas===!1)return!1;if(i.fn.sparkline.canvas===n){var d=t.createElement("canvas");if(d.getContext&&d.getContext("2d"))i.fn.sparkline.canvas=function(t,e,n,i){return new j(t,e,n,i)};else{if(!t.namespaces||t.namespaces.v)return i.fn.sparkline.canvas=!1,!1;t.namespaces.add("v","urn:schemas-microsoft-com:vml","#default#VML"),i.fn.sparkline.canvas=function(t,e,n,i){return new P(t,e,n)}}}return e===n&&(e=i(this).innerWidth()),r===n&&(r=i(this).innerHeight()),s=i.fn.sparkline.canvas(e,r,this,o),l=i(this).data("_jqs_mhandler"),l&&l.registerCanvas(s),s},i.fn.cleardraw=function(){var t=this.data("_jqs_vcanvas");t&&t.reset()},i.RangeMapClass=y=a({init:function(t){var e,n,i=[];for(e in t)t.hasOwnProperty(e)&&"string"==typeof e&&e.indexOf(":")>-1&&(n=e.split(":"),n[0]=0===n[0].length?-(1/0):parseFloat(n[0]),n[1]=0===n[1].length?1/0:parseFloat(n[1]),n[2]=t[e],i.push(n));this.map=t,this.rangelist=i||!1},get:function(t){var e,i,r,a=this.rangelist;if((r=this.map[t])!==n)return r;if(a)for(e=a.length;e--;)if(i=a[e],i[0]<=t&&i[1]>=t)return i[2];return n}}),i.range_map=function(t){return new y(t)},v=a({init:function(t,e){var n=i(t);this.$el=n,this.options=e,this.currentPageX=0,this.currentPageY=0,this.el=t,this.splist=[],this.tooltip=null,this.over=!1,this.displayTooltips=!e.get("disableTooltips"),this.highlightEnabled=!e.get("disableHighlight")},registerSparkline:function(t){this.splist.push(t),this.over&&this.updateDisplay()},registerCanvas:function(t){var e=i(t.canvas);this.canvas=t,this.$canvas=e,e.mouseenter(i.proxy(this.mouseenter,this)),e.mouseleave(i.proxy(this.mouseleave,this)),e.click(i.proxy(this.mouseclick,this))},reset:function(t){this.splist=[],this.tooltip&&t&&(this.tooltip.remove(),this.tooltip=n)},mouseclick:function(t){var e=i.Event("sparklineClick");e.originalEvent=t,e.sparklines=this.splist,this.$el.trigger(e)},mouseenter:function(e){i(t.body).unbind("mousemove.jqs"),i(t.body).bind("mousemove.jqs",i.proxy(this.mousemove,this)),this.over=!0,this.currentPageX=e.pageX,this.currentPageY=e.pageY,this.currentEl=e.target,!this.tooltip&&this.displayTooltips&&(this.tooltip=new b(this.options),this.tooltip.updatePosition(e.pageX,e.pageY)),this.updateDisplay()},mouseleave:function(){i(t.body).unbind("mousemove.jqs");var e,n,r=this.splist,a=r.length,o=!1;for(this.over=!1,this.currentEl=null,this.tooltip&&(this.tooltip.remove(),this.tooltip=null),n=0;a>n;n++)e=r[n],e.clearRegionHighlight()&&(o=!0);o&&this.canvas.render()},mousemove:function(t){this.currentPageX=t.pageX,this.currentPageY=t.pageY,this.currentEl=t.target,this.tooltip&&this.tooltip.updatePosition(t.pageX,t.pageY),this.updateDisplay()},updateDisplay:function(){var t,e,n,r,a,o=this.splist,s=o.length,l=!1,d=this.$canvas.offset(),u=this.currentPageX-d.left,c=this.currentPageY-d.top;if(this.over){for(n=0;s>n;n++)e=o[n],r=e.setRegionHighlight(this.currentEl,u,c),r&&(l=!0);if(l){if(a=i.Event("sparklineRegionChange"),a.sparklines=this.splist,this.$el.trigger(a),this.tooltip){for(t="",n=0;s>n;n++)e=o[n],t+=e.getCurrentRegionTooltip();this.tooltip.setContent(t)}this.disableHighlight||this.canvas.render()}null===r&&this.mouseleave()}}}),b=a({sizeStyle:"position: static !important;display: block !important;visibility: hidden !important;float: left !important;",init:function(e){var n,r=e.get("tooltipClassname","jqstooltip"),a=this.sizeStyle;this.container=e.get("tooltipContainer")||t.body,this.tooltipOffsetX=e.get("tooltipOffsetX",10),this.tooltipOffsetY=e.get("tooltipOffsetY",12),i("#jqssizetip").remove(),i("#jqstooltip").remove(),this.sizetip=i("<div/>",{id:"jqssizetip",style:a,"class":r}),this.tooltip=i("<div/>",{id:"jqstooltip","class":r}).appendTo(this.container),n=this.tooltip.offset(),this.offsetLeft=n.left,this.offsetTop=n.top,this.hidden=!0,i(window).unbind("resize.jqs scroll.jqs"),i(window).bind("resize.jqs scroll.jqs",i.proxy(this.updateWindowDims,this)),this.updateWindowDims()},updateWindowDims:function(){this.scrollTop=i(window).scrollTop(),this.scrollLeft=i(window).scrollLeft(),this.scrollRight=this.scrollLeft+i(window).width(),this.updatePosition()},getSize:function(t){this.sizetip.html(t).appendTo(this.container),this.width=this.sizetip.width()+1,this.height=this.sizetip.height(),this.sizetip.remove()},setContent:function(t){return t?(this.getSize(t),this.tooltip.html(t).css({width:this.width,height:this.height,visibility:"visible"}),void(this.hidden&&(this.hidden=!1,this.updatePosition()))):(this.tooltip.css("visibility","hidden"),void(this.hidden=!0))},updatePosition:function(t,e){if(t===n){if(this.mousex===n)return;t=this.mousex-this.offsetLeft,e=this.mousey-this.offsetTop}else this.mousex=t-=this.offsetLeft,this.mousey=e-=this.offsetTop;this.height&&this.width&&!this.hidden&&(e-=this.height+this.tooltipOffsetY,t+=this.tooltipOffsetX,e<this.scrollTop&&(e=this.scrollTop),t<this.scrollLeft?t=this.scrollLeft:t+this.width>this.scrollRight&&(t=this.scrollRight-this.width),this.tooltip.css({left:t,top:e}))},remove:function(){this.tooltip.remove(),this.sizetip.remove(),this.sizetip=this.tooltip=n,i(window).unbind("resize.jqs scroll.jqs")}}),C=function(){m(S)},i(C),E=[],i.fn.sparkline=function(e,r){return this.each(function(){var a,o,s=new i.fn.sparkline.options(this,r),l=i(this);if(a=function(){var r,a,o,d,u,c,h;return"html"===e||e===n?(h=this.getAttribute(s.get("tagValuesAttribute")),h!==n&&null!==h||(h=l.html()),r=h.replace(/(^\s*<!--)|(-->\s*$)|\s+/g,"").split(",")):r=e,a="auto"===s.get("width")?r.length*s.get("defaultPixelsPerValue"):s.get("width"),"auto"===s.get("height")?s.get("composite")&&i.data(this,"_jqs_vcanvas")||(d=t.createElement("span"),d.innerHTML="a",l.html(d),o=i(d).innerHeight()||i(d).height(),i(d).remove(),d=null):o=s.get("height"),s.get("disableInteraction")?u=!1:(u=i.data(this,"_jqs_mhandler"),u?s.get("composite")||u.reset():(u=new v(this,s),i.data(this,"_jqs_mhandler",u))),s.get("composite")&&!i.data(this,"_jqs_vcanvas")?void(i.data(this,"_jqs_errnotify")||(alert("Attempted to attach a composite sparkline to an element with no existing sparkline"),i.data(this,"_jqs_errnotify",!0))):(c=new(i.fn.sparkline[s.get("type")])(this,r,s,a,o),c.render(),void(u&&u.registerSparkline(c)))},i(this).html()&&!s.get("disableHiddenCheck")&&i(this).is(":hidden")||!i(this).parents("body").length){if(!s.get("composite")&&i.data(this,"_jqs_pending"))for(o=E.length;o;o--)E[o-1][0]==this&&E.splice(o-1,1);E.push([this,a]),i.data(this,"_jqs_pending",!0)}else a.call(this)})},i.fn.sparkline.defaults=r(),i.sparkline_display_visible=function(){var t,e,n,r=[];for(e=0,n=E.length;n>e;e++)t=E[e][0],i(t).is(":visible")&&!i(t).parents().is(":hidden")?(E[e][1].call(t),i.data(E[e][0],"_jqs_pending",!1),r.push(e)):i(t).closest("html").length||i.data(t,"_jqs_pending")||(i.data(E[e][0],"_jqs_pending",!1),r.push(e));for(e=r.length;e;e--)E.splice(r[e-1],1)},i.fn.sparkline.options=a({init:function(t,e){var n,r,a,o;this.userOptions=e=e||{},this.tag=t,this.tagValCache={},r=i.fn.sparkline.defaults,a=r.common,this.tagOptionsPrefix=e.enableTagOptions&&(e.tagOptionsPrefix||a.tagOptionsPrefix),o=this.getTagSetting("type"),n=o===I?r[e.type||a.type]:r[o],this.mergedOptions=i.extend({},a,n,e)},getTagSetting:function(t){var e,i,r,a,o=this.tagOptionsPrefix;if(o===!1||o===n)return I;if(this.tagValCache.hasOwnProperty(t))e=this.tagValCache.key;else{if(e=this.tag.getAttribute(o+t),e===n||null===e)e=I;else if("["===e.substr(0,1))for(e=e.substr(1,e.length-2).split(","),i=e.length;i--;)e[i]=d(e[i].replace(/(^\s*)|(\s*$)/g,""));else if("{"===e.substr(0,1))for(r=e.substr(1,e.length-2).split(","),e={},i=r.length;i--;)a=r[i].split(":",2),e[a[0].replace(/(^\s*)|(\s*$)/g,"")]=d(a[1].replace(/(^\s*)|(\s*$)/g,""));else e=d(e);this.tagValCache.key=e}return e},get:function(t,e){var i,r=this.getTagSetting(t);return r!==I?r:(i=this.mergedOptions[t])===n?e:i}}),i.fn.sparkline._base=a({disabled:!1,init:function(t,e,r,a,o){this.el=t,this.$el=i(t),this.values=e,this.options=r,this.width=a,this.height=o,this.currentRegion=n},initTarget:function(){var t=!this.options.get("disableInteraction");(this.target=this.$el.simpledraw(this.width,this.height,this.options.get("composite"),t))?(this.canvasWidth=this.target.pixelWidth,this.canvasHeight=this.target.pixelHeight):this.disabled=!0},render:function(){return this.disabled?(this.el.innerHTML="",!1):!0},getRegion:function(t,e){},setRegionHighlight:function(t,e,i){var r,a=this.currentRegion,o=!this.options.get("disableHighlight");return e>this.canvasWidth||i>this.canvasHeight||0>e||0>i?null:(r=this.getRegion(t,e,i),a!==r?(a!==n&&o&&this.removeHighlight(),this.currentRegion=r,r!==n&&o&&this.renderHighlight(),!0):!1)},clearRegionHighlight:function(){return this.currentRegion!==n?(this.removeHighlight(),this.currentRegion=n,!0):!1},renderHighlight:function(){this.changeHighlight(!0)},removeHighlight:function(){this.changeHighlight(!1)},changeHighlight:function(t){},getCurrentRegionTooltip:function(){var t,e,r,a,s,l,d,u,c,h,f,p,m,_,g=this.options,y="",v=[];if(this.currentRegion===n)return"";if(t=this.getCurrentRegionFields(),f=g.get("tooltipFormatter"))return f(this,g,t);if(g.get("tooltipChartTitle")&&(y+='<div class="jqs jqstitle">'+g.get("tooltipChartTitle")+"</div>\n"),e=this.options.get("tooltipFormat"),!e)return"";if(i.isArray(e)||(e=[e]),i.isArray(t)||(t=[t]),d=this.options.get("tooltipFormatFieldlist"),u=this.options.get("tooltipFormatFieldlistKey"),d&&u){for(c=[],l=t.length;l--;)h=t[l][u],-1!=(_=i.inArray(h,d))&&(c[_]=t[l]);t=c}for(r=e.length,m=t.length,l=0;r>l;l++)for(p=e[l],"string"==typeof p&&(p=new o(p)),a=p.fclass||"jqsfield",_=0;m>_;_++)t[_].isNull&&g.get("tooltipSkipNull")||(i.extend(t[_],{prefix:g.get("tooltipPrefix"),suffix:g.get("tooltipSuffix")}),s=p.render(t[_],g.get("tooltipValueLookups"),g),v.push('<div class="'+a+'">'+s+"</div>"));return v.length?y+v.join("\n"):""},getCurrentRegionFields:function(){},calcHighlightColor:function(t,n){var i,r,a,o,l=n.get("highlightColor"),d=n.get("highlightLighten");if(l)return l;if(d&&(i=/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i.exec(t)||/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(t))){for(a=[],r=4===t.length?16:1,o=0;3>o;o++)a[o]=s(e.round(parseInt(i[o+1],16)*r*d),0,255);return"rgb("+a.join(",")+")"}return t}}),M={changeHighlight:function(t){var e,n=this.currentRegion,r=this.target,a=this.regionShapes[n];a&&(e=this.renderRegion(n,t),i.isArray(e)||i.isArray(a)?(r.replaceWithShapes(a,e),this.regionShapes[n]=i.map(e,function(t){return t.id})):(r.replaceWithShape(a,e),this.regionShapes[n]=e.id))},render:function(){var t,e,n,r,a=this.values,o=this.target,s=this.regionShapes;if(this.cls._super.render.call(this)){for(n=a.length;n--;)if(t=this.renderRegion(n))if(i.isArray(t)){for(e=[],r=t.length;r--;)t[r].append(),e.push(t[r].id);s[n]=e}else t.append(),s[n]=t.id;else s[n]=null;o.render()}}},i.fn.sparkline.line=w=a(i.fn.sparkline._base,{type:"line",init:function(t,e,n,i,r){w._super.init.call(this,t,e,n,i,r),this.vertices=[],this.regionMap=[],this.xvalues=[],this.yvalues=[],this.yminmax=[],this.hightlightSpotId=null,this.lastShapeId=null,this.initTarget()},getRegion:function(t,e,i){var r,a=this.regionMap;for(r=a.length;r--;)if(null!==a[r]&&e>=a[r][0]&&e<=a[r][1])return a[r][2];return n},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:null===this.yvalues[t],x:this.xvalues[t],y:this.yvalues[t],color:this.options.get("lineColor"),fillColor:this.options.get("fillColor"),offset:t}},renderHighlight:function(){var t,e,i=this.currentRegion,r=this.target,a=this.vertices[i],o=this.options,s=o.get("spotRadius"),l=o.get("highlightSpotColor"),d=o.get("highlightLineColor");a&&(s&&l&&(t=r.drawCircle(a[0],a[1],s,n,l),this.highlightSpotId=t.id,r.insertAfterShape(this.lastShapeId,t)),d&&(e=r.drawLine(a[0],this.canvasTop,a[0],this.canvasTop+this.canvasHeight,d),this.highlightLineId=e.id,r.insertAfterShape(this.lastShapeId,e)))},removeHighlight:function(){var t=this.target;this.highlightSpotId&&(t.removeShapeId(this.highlightSpotId),this.highlightSpotId=null),this.highlightLineId&&(t.removeShapeId(this.highlightLineId),this.highlightLineId=null)},scanValues:function(){var t,n,i,r,a,o=this.values,s=o.length,l=this.xvalues,d=this.yvalues,u=this.yminmax;for(t=0;s>t;t++)n=o[t],i="string"==typeof o[t],r="object"==typeof o[t]&&o[t]instanceof Array,a=i&&o[t].split(":"),i&&2===a.length?(l.push(Number(a[0])),d.push(Number(a[1])),u.push(Number(a[1]))):r?(l.push(n[0]),d.push(n[1]),u.push(n[1])):(l.push(t),null===o[t]||"null"===o[t]?d.push(null):(d.push(Number(n)),u.push(Number(n))));this.options.get("xvalues")&&(l=this.options.get("xvalues")),this.maxy=this.maxyorg=e.max.apply(e,u),this.miny=this.minyorg=e.min.apply(e,u),this.maxx=e.max.apply(e,l),this.minx=e.min.apply(e,l),this.xvalues=l,this.yvalues=d,this.yminmax=u},processRangeOptions:function(){var t=this.options,e=t.get("normalRangeMin"),i=t.get("normalRangeMax");e!==n&&(e<this.miny&&(this.miny=e),i>this.maxy&&(this.maxy=i)),t.get("chartRangeMin")!==n&&(t.get("chartRangeClip")||t.get("chartRangeMin")<this.miny)&&(this.miny=t.get("chartRangeMin")),t.get("chartRangeMax")!==n&&(t.get("chartRangeClip")||t.get("chartRangeMax")>this.maxy)&&(this.maxy=t.get("chartRangeMax")),t.get("chartRangeMinX")!==n&&(t.get("chartRangeClipX")||t.get("chartRangeMinX")<this.minx)&&(this.minx=t.get("chartRangeMinX")),t.get("chartRangeMaxX")!==n&&(t.get("chartRangeClipX")||t.get("chartRangeMaxX")>this.maxx)&&(this.maxx=t.get("chartRangeMaxX"))},drawNormalRange:function(t,i,r,a,o){var s=this.options.get("normalRangeMin"),l=this.options.get("normalRangeMax"),d=i+e.round(r-r*((l-this.miny)/o)),u=e.round(r*(l-s)/o);this.target.drawRect(t,d,a,u,n,this.options.get("normalRangeColor")).append()},render:function(){var t,r,a,o,s,l,d,u,c,h,f,p,m,_,g,v,b,M,k,x,L,D,T,Y,S,C=this.options,H=this.target,A=this.canvasWidth,j=this.canvasHeight,P=this.vertices,E=C.get("spotRadius"),I=this.regionMap;if(w._super.render.call(this)&&(this.scanValues(),this.processRangeOptions(),T=this.xvalues,Y=this.yvalues,this.yminmax.length&&!(this.yvalues.length<2))){for(o=s=0,t=this.maxx-this.minx===0?1:this.maxx-this.minx,r=this.maxy-this.miny===0?1:this.maxy-this.miny,a=this.yvalues.length-1,E&&(4*E>A||4*E>j)&&(E=0),E&&(L=C.get("highlightSpotColor")&&!C.get("disableInteraction"),(L||C.get("minSpotColor")||C.get("spotColor")&&Y[a]===this.miny)&&(j-=e.ceil(E)),(L||C.get("maxSpotColor")||C.get("spotColor")&&Y[a]===this.maxy)&&(j-=e.ceil(E),o+=e.ceil(E)),(L||(C.get("minSpotColor")||C.get("maxSpotColor"))&&(Y[0]===this.miny||Y[0]===this.maxy))&&(s+=e.ceil(E),A-=e.ceil(E)),(L||C.get("spotColor")||C.get("minSpotColor")||C.get("maxSpotColor")&&(Y[a]===this.miny||Y[a]===this.maxy))&&(A-=e.ceil(E))),j--,C.get("normalRangeMin")===n||C.get("drawNormalOnTop")||this.drawNormalRange(s,o,j,A,r),d=[],u=[d],_=g=null,v=Y.length,S=0;v>S;S++)c=T[S],f=T[S+1],h=Y[S],p=s+e.round((c-this.minx)*(A/t)),m=v-1>S?s+e.round((f-this.minx)*(A/t)):A,g=p+(m-p)/2,I[S]=[_||0,g,S],_=g,null===h?S&&(null!==Y[S-1]&&(d=[],u.push(d)),P.push(null)):(h<this.miny&&(h=this.miny),h>this.maxy&&(h=this.maxy),d.length||d.push([p,o+j]),l=[p,o+e.round(j-j*((h-this.miny)/r))],d.push(l),P.push(l));for(b=[],M=[],k=u.length,S=0;k>S;S++)d=u[S],d.length&&(C.get("fillColor")&&(d.push([d[d.length-1][0],o+j]),M.push(d.slice(0)),d.pop()),d.length>2&&(d[0]=[d[0][0],d[1][1]]),b.push(d));for(k=M.length,S=0;k>S;S++)H.drawShape(M[S],C.get("fillColor"),C.get("fillColor")).append();for(C.get("normalRangeMin")!==n&&C.get("drawNormalOnTop")&&this.drawNormalRange(s,o,j,A,r),
k=b.length,S=0;k>S;S++)H.drawShape(b[S],C.get("lineColor"),n,C.get("lineWidth")).append();if(E&&C.get("valueSpots"))for(x=C.get("valueSpots"),x.get===n&&(x=new y(x)),S=0;v>S;S++)D=x.get(Y[S]),D&&H.drawCircle(s+e.round((T[S]-this.minx)*(A/t)),o+e.round(j-j*((Y[S]-this.miny)/r)),E,n,D).append();E&&C.get("spotColor")&&null!==Y[a]&&H.drawCircle(s+e.round((T[T.length-1]-this.minx)*(A/t)),o+e.round(j-j*((Y[a]-this.miny)/r)),E,n,C.get("spotColor")).append(),this.maxy!==this.minyorg&&(E&&C.get("minSpotColor")&&(c=T[i.inArray(this.minyorg,Y)],H.drawCircle(s+e.round((c-this.minx)*(A/t)),o+e.round(j-j*((this.minyorg-this.miny)/r)),E,n,C.get("minSpotColor")).append()),E&&C.get("maxSpotColor")&&(c=T[i.inArray(this.maxyorg,Y)],H.drawCircle(s+e.round((c-this.minx)*(A/t)),o+e.round(j-j*((this.maxyorg-this.miny)/r)),E,n,C.get("maxSpotColor")).append())),this.lastShapeId=H.getLastShapeId(),this.canvasTop=o,H.render()}}}),i.fn.sparkline.bar=k=a(i.fn.sparkline._base,M,{type:"bar",init:function(t,r,a,o,l){var h,f,p,m,_,g,v,b,M,w,x,L,D,T,Y,S,C,H,A,j,P,E,I=parseInt(a.get("barWidth"),10),W=parseInt(a.get("barSpacing"),10),F=a.get("chartRangeMin"),O=a.get("chartRangeMax"),R=a.get("chartRangeClip"),N=1/0,z=-(1/0);for(k._super.init.call(this,t,r,a,o,l),g=0,v=r.length;v>g;g++)j=r[g],h="string"==typeof j&&j.indexOf(":")>-1,(h||i.isArray(j))&&(Y=!0,h&&(j=r[g]=u(j.split(":"))),j=c(j,null),f=e.min.apply(e,j),p=e.max.apply(e,j),N>f&&(N=f),p>z&&(z=p));this.stacked=Y,this.regionShapes={},this.barWidth=I,this.barSpacing=W,this.totalBarWidth=I+W,this.width=o=r.length*I+(r.length-1)*W,this.initTarget(),R&&(D=F===n?-(1/0):F,T=O===n?1/0:O),_=[],m=Y?[]:_;var B=[],$=[];for(g=0,v=r.length;v>g;g++)if(Y)for(S=r[g],r[g]=A=[],B[g]=0,m[g]=$[g]=0,C=0,H=S.length;H>C;C++)j=A[C]=R?s(S[C],D,T):S[C],null!==j&&(j>0&&(B[g]+=j),0>N&&z>0?0>j?$[g]+=e.abs(j):m[g]+=j:m[g]+=e.abs(j-(0>j?z:N)),_.push(j));else j=R?s(r[g],D,T):r[g],j=r[g]=d(j),null!==j&&_.push(j);this.max=L=e.max.apply(e,_),this.min=x=e.min.apply(e,_),this.stackMax=z=Y?e.max.apply(e,B):L,this.stackMin=N=Y?e.min.apply(e,_):x,a.get("chartRangeMin")!==n&&(a.get("chartRangeClip")||a.get("chartRangeMin")<x)&&(x=a.get("chartRangeMin")),a.get("chartRangeMax")!==n&&(a.get("chartRangeClip")||a.get("chartRangeMax")>L)&&(L=a.get("chartRangeMax")),this.zeroAxis=M=a.get("zeroAxis",!0),w=0>=x&&L>=0&&M?0:0==M?x:x>0?x:L,this.xaxisOffset=w,b=Y?e.max.apply(e,m)+e.max.apply(e,$):L-x,this.canvasHeightEf=M&&0>x?this.canvasHeight-2:this.canvasHeight-1,w>x?(E=Y&&L>=0?z:L,P=(E-w)/b*this.canvasHeight,P!==e.ceil(P)&&(this.canvasHeightEf-=2,P=e.ceil(P))):P=this.canvasHeight,this.yoffset=P,i.isArray(a.get("colorMap"))?(this.colorMapByIndex=a.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=a.get("colorMap"),this.colorMapByValue&&this.colorMapByValue.get===n&&(this.colorMapByValue=new y(this.colorMapByValue))),this.range=b},getRegion:function(t,i,r){var a=e.floor(i/this.totalBarWidth);return 0>a||a>=this.values.length?n:a},getCurrentRegionFields:function(){var t,e,n=this.currentRegion,i=_(this.values[n]),r=[];for(e=i.length;e--;)t=i[e],r.push({isNull:null===t,value:t,color:this.calcColor(e,t,n),offset:n});return r},calcColor:function(t,e,r){var a,o,s=this.colorMapByIndex,l=this.colorMapByValue,d=this.options;return a=this.stacked?d.get("stackedBarColor"):0>e?d.get("negBarColor"):d.get("barColor"),0===e&&d.get("zeroColor")!==n&&(a=d.get("zeroColor")),l&&(o=l.get(e))?a=o:s&&s.length>r&&(a=s[r]),i.isArray(a)?a[t%a.length]:a},renderRegion:function(t,r){var a,o,s,l,d,u,c,h,p,m,_=this.values[t],g=this.options,y=this.xaxisOffset,v=[],b=this.range,M=this.stacked,w=this.target,k=t*this.totalBarWidth,x=this.canvasHeightEf,L=this.yoffset;if(_=i.isArray(_)?_:[_],c=_.length,h=_[0],l=f(null,_),m=f(y,_,!0),l)return g.get("nullColor")?(s=r?g.get("nullColor"):this.calcHighlightColor(g.get("nullColor"),g),a=L>0?L-1:L,w.drawRect(k,a,this.barWidth-1,0,s,s)):n;for(d=L,u=0;c>u;u++){if(h=_[u],M&&h===y){if(!m||p)continue;p=!0}o=b>0?e.floor(x*(e.abs(h-y)/b))+1:1,y>h||h===y&&0===L?(a=d,d+=o):(a=L-o,L-=o),s=this.calcColor(u,h,t),r&&(s=this.calcHighlightColor(s,g)),v.push(w.drawRect(k,a,this.barWidth-1,o-1,s,s))}return 1===v.length?v[0]:v}}),i.fn.sparkline.tristate=x=a(i.fn.sparkline._base,M,{type:"tristate",init:function(t,e,r,a,o){var s=parseInt(r.get("barWidth"),10),l=parseInt(r.get("barSpacing"),10);x._super.init.call(this,t,e,r,a,o),this.regionShapes={},this.barWidth=s,this.barSpacing=l,this.totalBarWidth=s+l,this.values=i.map(e,Number),this.width=a=e.length*s+(e.length-1)*l,i.isArray(r.get("colorMap"))?(this.colorMapByIndex=r.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=r.get("colorMap"),this.colorMapByValue&&this.colorMapByValue.get===n&&(this.colorMapByValue=new y(this.colorMapByValue))),this.initTarget()},getRegion:function(t,n,i){return e.floor(n/this.totalBarWidth)},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:this.values[t]===n,value:this.values[t],color:this.calcColor(this.values[t],t),offset:t}},calcColor:function(t,e){var n,i,r=this.values,a=this.options,o=this.colorMapByIndex,s=this.colorMapByValue;return n=s&&(i=s.get(t))?i:o&&o.length>e?o[e]:r[e]<0?a.get("negBarColor"):r[e]>0?a.get("posBarColor"):a.get("zeroBarColor")},renderRegion:function(t,n){var i,r,a,o,s,l,d=this.values,u=this.options,c=this.target;return i=c.pixelHeight,a=e.round(i/2),o=t*this.totalBarWidth,d[t]<0?(s=a,r=a-1):d[t]>0?(s=0,r=a-1):(s=a-1,r=2),l=this.calcColor(d[t],t),null!==l?(n&&(l=this.calcHighlightColor(l,u)),c.drawRect(o,s,this.barWidth-1,r-1,l,l)):void 0}}),i.fn.sparkline.discrete=L=a(i.fn.sparkline._base,M,{type:"discrete",init:function(t,r,a,o,s){L._super.init.call(this,t,r,a,o,s),this.regionShapes={},this.values=r=i.map(r,Number),this.min=e.min.apply(e,r),this.max=e.max.apply(e,r),this.range=this.max-this.min,this.width=o="auto"===a.get("width")?2*r.length:this.width,this.interval=e.floor(o/r.length),this.itemWidth=o/r.length,a.get("chartRangeMin")!==n&&(a.get("chartRangeClip")||a.get("chartRangeMin")<this.min)&&(this.min=a.get("chartRangeMin")),a.get("chartRangeMax")!==n&&(a.get("chartRangeClip")||a.get("chartRangeMax")>this.max)&&(this.max=a.get("chartRangeMax")),this.initTarget(),this.target&&(this.lineHeight="auto"===a.get("lineHeight")?e.round(.3*this.canvasHeight):a.get("lineHeight"))},getRegion:function(t,n,i){return e.floor(n/this.itemWidth)},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:this.values[t]===n,value:this.values[t],offset:t}},renderRegion:function(t,n){var i,r,a,o,l=this.values,d=this.options,u=this.min,c=this.max,h=this.range,f=this.interval,p=this.target,m=this.canvasHeight,_=this.lineHeight,g=m-_;return r=s(l[t],u,c),o=t*f,i=e.round(g-g*((r-u)/h)),a=d.get("thresholdColor")&&r<d.get("thresholdValue")?d.get("thresholdColor"):d.get("lineColor"),n&&(a=this.calcHighlightColor(a,d)),p.drawLine(o,i,o,i+_,a)}}),i.fn.sparkline.bullet=D=a(i.fn.sparkline._base,{type:"bullet",init:function(t,i,r,a,o){var s,l,d;D._super.init.call(this,t,i,r,a,o),this.values=i=u(i),d=i.slice(),d[0]=null===d[0]?d[2]:d[0],d[1]=null===i[1]?d[2]:d[1],s=e.min.apply(e,i),l=e.max.apply(e,i),s=r.get("base")===n?0>s?s:0:r.get("base"),this.min=s,this.max=l,this.range=l-s,this.shapes={},this.valueShapes={},this.regiondata={},this.width=a="auto"===r.get("width")?"4.0em":a,this.target=this.$el.simpledraw(a,o,r.get("composite")),i.length||(this.disabled=!0),this.initTarget()},getRegion:function(t,e,i){var r=this.target.getShapeAt(t,e,i);return r!==n&&this.shapes[r]!==n?this.shapes[r]:n},getCurrentRegionFields:function(){var t=this.currentRegion;return{fieldkey:t.substr(0,1),value:this.values[t.substr(1)],region:t}},changeHighlight:function(t){var e,n=this.currentRegion,i=this.valueShapes[n];switch(delete this.shapes[i],n.substr(0,1)){case"r":e=this.renderRange(n.substr(1),t);break;case"p":e=this.renderPerformance(t);break;case"t":e=this.renderTarget(t)}this.valueShapes[n]=e.id,this.shapes[e.id]=n,this.target.replaceWithShape(i,e)},renderRange:function(t,n){var i=this.values[t],r=e.round(this.canvasWidth*((i-this.min)/this.range)),a=this.options.get("rangeColors")[t-2];return n&&(a=this.calcHighlightColor(a,this.options)),this.target.drawRect(0,0,r-1,this.canvasHeight-1,a,a)},renderPerformance:function(t){var n=this.values[1],i=e.round(this.canvasWidth*((n-this.min)/this.range)),r=this.options.get("performanceColor");return t&&(r=this.calcHighlightColor(r,this.options)),this.target.drawRect(0,e.round(.3*this.canvasHeight),i-1,e.round(.4*this.canvasHeight)-1,r,r)},renderTarget:function(t){var n=this.values[0],i=e.round(this.canvasWidth*((n-this.min)/this.range)-this.options.get("targetWidth")/2),r=e.round(.1*this.canvasHeight),a=this.canvasHeight-2*r,o=this.options.get("targetColor");return t&&(o=this.calcHighlightColor(o,this.options)),this.target.drawRect(i,r,this.options.get("targetWidth")-1,a-1,o,o)},render:function(){var t,e,n=this.values.length,i=this.target;if(D._super.render.call(this)){for(t=2;n>t;t++)e=this.renderRange(t).append(),this.shapes[e.id]="r"+t,this.valueShapes["r"+t]=e.id;null!==this.values[1]&&(e=this.renderPerformance().append(),this.shapes[e.id]="p1",this.valueShapes.p1=e.id),null!==this.values[0]&&(e=this.renderTarget().append(),this.shapes[e.id]="t0",this.valueShapes.t0=e.id),i.render()}}}),i.fn.sparkline.pie=T=a(i.fn.sparkline._base,{type:"pie",init:function(t,n,r,a,o){var s,l=0;if(T._super.init.call(this,t,n,r,a,o),this.shapes={},this.valueShapes={},this.values=n=i.map(n,Number),"auto"===r.get("width")&&(this.width=this.height),n.length>0)for(s=n.length;s--;)l+=n[s];this.total=l,this.initTarget(),this.radius=e.floor(e.min(this.canvasWidth,this.canvasHeight)/2)},getRegion:function(t,e,i){var r=this.target.getShapeAt(t,e,i);return r!==n&&this.shapes[r]!==n?this.shapes[r]:n},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:this.values[t]===n,value:this.values[t],percent:this.values[t]/this.total*100,color:this.options.get("sliceColors")[t%this.options.get("sliceColors").length],offset:t}},changeHighlight:function(t){var e=this.currentRegion,n=this.renderSlice(e,t),i=this.valueShapes[e];delete this.shapes[i],this.target.replaceWithShape(i,n),this.valueShapes[e]=n.id,this.shapes[n.id]=e},renderSlice:function(t,i){var r,a,o,s,l,d=this.target,u=this.options,c=this.radius,h=u.get("borderWidth"),f=u.get("offset"),p=2*e.PI,m=this.values,_=this.total,g=f?2*e.PI*(f/360):0;for(s=m.length,o=0;s>o;o++){if(r=g,a=g,_>0&&(a=g+p*(m[o]/_)),t===o)return l=u.get("sliceColors")[o%u.get("sliceColors").length],i&&(l=this.calcHighlightColor(l,u)),d.drawPieSlice(c,c,c-h,r,a,n,l);g=a}},render:function(){var t,i,r=this.target,a=this.values,o=this.options,s=this.radius,l=o.get("borderWidth");if(T._super.render.call(this)){for(l&&r.drawCircle(s,s,e.floor(s-l/2),o.get("borderColor"),n,l).append(),i=a.length;i--;)a[i]&&(t=this.renderSlice(i).append(),this.valueShapes[i]=t.id,this.shapes[t.id]=i);r.render()}}}),i.fn.sparkline.box=Y=a(i.fn.sparkline._base,{type:"box",init:function(t,e,n,r,a){Y._super.init.call(this,t,e,n,r,a),this.values=i.map(e,Number),this.width="auto"===n.get("width")?"4.0em":r,this.initTarget(),this.values.length||(this.disabled=1)},getRegion:function(){return 1},getCurrentRegionFields:function(){var t=[{field:"lq",value:this.quartiles[0]},{field:"med",value:this.quartiles[1]},{field:"uq",value:this.quartiles[2]}];return this.loutlier!==n&&t.push({field:"lo",value:this.loutlier}),this.routlier!==n&&t.push({field:"ro",value:this.routlier}),this.lwhisker!==n&&t.push({field:"lw",value:this.lwhisker}),this.rwhisker!==n&&t.push({field:"rw",value:this.rwhisker}),t},render:function(){var t,i,r,a,o,s,d,u,c,h,f,p=this.target,m=this.values,_=m.length,g=this.options,y=this.canvasWidth,v=this.canvasHeight,b=g.get("chartRangeMin")===n?e.min.apply(e,m):g.get("chartRangeMin"),M=g.get("chartRangeMax")===n?e.max.apply(e,m):g.get("chartRangeMax"),w=0;if(Y._super.render.call(this)){if(g.get("raw"))g.get("showOutliers")&&m.length>5?(i=m[0],t=m[1],a=m[2],o=m[3],s=m[4],d=m[5],u=m[6]):(t=m[0],a=m[1],o=m[2],s=m[3],d=m[4]);else if(m.sort(function(t,e){return t-e}),a=l(m,1),o=l(m,2),s=l(m,3),r=s-a,g.get("showOutliers")){for(t=d=n,c=0;_>c;c++)t===n&&m[c]>a-r*g.get("outlierIQR")&&(t=m[c]),m[c]<s+r*g.get("outlierIQR")&&(d=m[c]);i=m[0],u=m[_-1]}else t=m[0],d=m[_-1];this.quartiles=[a,o,s],this.lwhisker=t,this.rwhisker=d,this.loutlier=i,this.routlier=u,f=y/(M-b+1),g.get("showOutliers")&&(w=e.ceil(g.get("spotRadius")),y-=2*e.ceil(g.get("spotRadius")),f=y/(M-b+1),t>i&&p.drawCircle((i-b)*f+w,v/2,g.get("spotRadius"),g.get("outlierLineColor"),g.get("outlierFillColor")).append(),u>d&&p.drawCircle((u-b)*f+w,v/2,g.get("spotRadius"),g.get("outlierLineColor"),g.get("outlierFillColor")).append()),p.drawRect(e.round((a-b)*f+w),e.round(.1*v),e.round((s-a)*f),e.round(.8*v),g.get("boxLineColor"),g.get("boxFillColor")).append(),p.drawLine(e.round((t-b)*f+w),e.round(v/2),e.round((a-b)*f+w),e.round(v/2),g.get("lineColor")).append(),p.drawLine(e.round((t-b)*f+w),e.round(v/4),e.round((t-b)*f+w),e.round(v-v/4),g.get("whiskerColor")).append(),p.drawLine(e.round((d-b)*f+w),e.round(v/2),e.round((s-b)*f+w),e.round(v/2),g.get("lineColor")).append(),p.drawLine(e.round((d-b)*f+w),e.round(v/4),e.round((d-b)*f+w),e.round(v-v/4),g.get("whiskerColor")).append(),p.drawLine(e.round((o-b)*f+w),e.round(.1*v),e.round((o-b)*f+w),e.round(.9*v),g.get("medianColor")).append(),g.get("target")&&(h=e.ceil(g.get("spotRadius")),p.drawLine(e.round((g.get("target")-b)*f+w),e.round(v/2-h),e.round((g.get("target")-b)*f+w),e.round(v/2+h),g.get("targetColor")).append(),p.drawLine(e.round((g.get("target")-b)*f+w-h),e.round(v/2),e.round((g.get("target")-b)*f+w+h),e.round(v/2),g.get("targetColor")).append()),p.render()}}}),H=a({init:function(t,e,n,i){this.target=t,this.id=e,this.type=n,this.args=i},append:function(){return this.target.appendShape(this),this}}),A=a({_pxregex:/(\d+)(px)?\s*$/i,init:function(t,e,n){t&&(this.width=t,this.height=e,this.target=n,this.lastShapeId=null,n[0]&&(n=n[0]),i.data(n,"_jqs_vcanvas",this))},drawLine:function(t,e,n,i,r,a){return this.drawShape([[t,e],[n,i]],r,a)},drawShape:function(t,e,n,i){return this._genShape("Shape",[t,e,n,i])},drawCircle:function(t,e,n,i,r,a){return this._genShape("Circle",[t,e,n,i,r,a])},drawPieSlice:function(t,e,n,i,r,a,o){return this._genShape("PieSlice",[t,e,n,i,r,a,o])},drawRect:function(t,e,n,i,r,a){return this._genShape("Rect",[t,e,n,i,r,a])},getElement:function(){return this.canvas},getLastShapeId:function(){return this.lastShapeId},reset:function(){alert("reset not implemented")},_insert:function(t,e){i(e).html(t)},_calculatePixelDims:function(t,e,n){var r;r=this._pxregex.exec(e),r?this.pixelHeight=r[1]:this.pixelHeight=i(n).height(),r=this._pxregex.exec(t),r?this.pixelWidth=r[1]:this.pixelWidth=i(n).width()},_genShape:function(t,e){var n=W++;return e.unshift(n),new H(this,n,t,e)},appendShape:function(t){alert("appendShape not implemented")},replaceWithShape:function(t,e){alert("replaceWithShape not implemented")},insertAfterShape:function(t,e){alert("insertAfterShape not implemented")},removeShapeId:function(t){alert("removeShapeId not implemented")},getShapeAt:function(t,e,n){alert("getShapeAt not implemented")},render:function(){alert("render not implemented")}}),j=a(A,{init:function(e,r,a,o){j._super.init.call(this,e,r,a),this.canvas=t.createElement("canvas"),a[0]&&(a=a[0]),i.data(a,"_jqs_vcanvas",this),i(this.canvas).css({display:"inline-block",width:e,height:r,verticalAlign:"top"}),this._insert(this.canvas,a),this._calculatePixelDims(e,r,this.canvas),this.canvas.width=this.pixelWidth,this.canvas.height=this.pixelHeight,this.interact=o,this.shapes={},this.shapeseq=[],this.currentTargetShapeId=n,i(this.canvas).css({width:this.pixelWidth,height:this.pixelHeight})},_getContext:function(t,e,i){var r=this.canvas.getContext("2d");return t!==n&&(r.strokeStyle=t),r.lineWidth=i===n?1:i,e!==n&&(r.fillStyle=e),r},reset:function(){var t=this._getContext();t.clearRect(0,0,this.pixelWidth,this.pixelHeight),this.shapes={},this.shapeseq=[],this.currentTargetShapeId=n},_drawShape:function(t,e,i,r,a){var o,s,l=this._getContext(i,r,a);for(l.beginPath(),l.moveTo(e[0][0]+.5,e[0][1]+.5),o=1,s=e.length;s>o;o++)l.lineTo(e[o][0]+.5,e[o][1]+.5);i!==n&&l.stroke(),r!==n&&l.fill(),this.targetX!==n&&this.targetY!==n&&l.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=t)},_drawCircle:function(t,i,r,a,o,s,l){var d=this._getContext(o,s,l);d.beginPath(),d.arc(i,r,a,0,2*e.PI,!1),this.targetX!==n&&this.targetY!==n&&d.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=t),o!==n&&d.stroke(),s!==n&&d.fill()},_drawPieSlice:function(t,e,i,r,a,o,s,l){var d=this._getContext(s,l);d.beginPath(),d.moveTo(e,i),d.arc(e,i,r,a,o,!1),d.lineTo(e,i),d.closePath(),s!==n&&d.stroke(),l&&d.fill(),this.targetX!==n&&this.targetY!==n&&d.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=t)},_drawRect:function(t,e,n,i,r,a,o){return this._drawShape(t,[[e,n],[e+i,n],[e+i,n+r],[e,n+r],[e,n]],a,o)},appendShape:function(t){return this.shapes[t.id]=t,this.shapeseq.push(t.id),this.lastShapeId=t.id,t.id},replaceWithShape:function(t,e){var n,i=this.shapeseq;for(this.shapes[e.id]=e,n=i.length;n--;)i[n]==t&&(i[n]=e.id);delete this.shapes[t]},replaceWithShapes:function(t,e){var n,i,r,a=this.shapeseq,o={};for(i=t.length;i--;)o[t[i]]=!0;for(i=a.length;i--;)n=a[i],o[n]&&(a.splice(i,1),delete this.shapes[n],r=i);for(i=e.length;i--;)a.splice(r,0,e[i].id),this.shapes[e[i].id]=e[i]},insertAfterShape:function(t,e){var n,i=this.shapeseq;for(n=i.length;n--;)if(i[n]===t)return i.splice(n+1,0,e.id),void(this.shapes[e.id]=e)},removeShapeId:function(t){var e,n=this.shapeseq;for(e=n.length;e--;)if(n[e]===t){n.splice(e,1);break}delete this.shapes[t]},getShapeAt:function(t,e,n){return this.targetX=e,this.targetY=n,this.render(),this.currentTargetShapeId},render:function(){var t,e,n,i=this.shapeseq,r=this.shapes,a=i.length,o=this._getContext();for(o.clearRect(0,0,this.pixelWidth,this.pixelHeight),n=0;a>n;n++)t=i[n],e=r[t],this["_draw"+e.type].apply(this,e.args);this.interact||(this.shapes={},this.shapeseq=[])}}),P=a(A,{init:function(e,n,r){var a;P._super.init.call(this,e,n,r),r[0]&&(r=r[0]),i.data(r,"_jqs_vcanvas",this),this.canvas=t.createElement("span"),i(this.canvas).css({display:"inline-block",position:"relative",overflow:"hidden",width:e,height:n,margin:"0px",padding:"0px",verticalAlign:"top"}),this._insert(this.canvas,r),this._calculatePixelDims(e,n,this.canvas),this.canvas.width=this.pixelWidth,this.canvas.height=this.pixelHeight,a='<v:group coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" style="position:absolute;top:0;left:0;width:'+this.pixelWidth+"px;height="+this.pixelHeight+'px;"></v:group>',this.canvas.insertAdjacentHTML("beforeEnd",a),this.group=i(this.canvas).children()[0],this.rendered=!1,this.prerender=""},_drawShape:function(t,e,i,r,a){var o,s,l,d,u,c,h,f=[];for(h=0,c=e.length;c>h;h++)f[h]=""+e[h][0]+","+e[h][1];return o=f.splice(0,1),a=a===n?1:a,s=i===n?' stroked="false" ':' strokeWeight="'+a+'px" strokeColor="'+i+'" ',l=r===n?' filled="false"':' fillColor="'+r+'" filled="true" ',d=f[0]===f[f.length-1]?"x ":"",u='<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" id="jqsshape'+t+'" '+s+l+' style="position:absolute;left:0px;top:0px;height:'+this.pixelHeight+"px;width:"+this.pixelWidth+'px;padding:0px;margin:0px;" path="m '+o+" l "+f.join(", ")+" "+d+'e"> </v:shape>'},_drawCircle:function(t,e,i,r,a,o,s){var l,d,u;return e-=r,i-=r,l=a===n?' stroked="false" ':' strokeWeight="'+s+'px" strokeColor="'+a+'" ',d=o===n?' filled="false"':' fillColor="'+o+'" filled="true" ',u='<v:oval id="jqsshape'+t+'" '+l+d+' style="position:absolute;top:'+i+"px; left:"+e+"px; width:"+2*r+"px; height:"+2*r+'px"></v:oval>'},_drawPieSlice:function(t,i,r,a,o,s,l,d){var u,c,h,f,p,m,_,g;if(o===s)return"";if(s-o===2*e.PI&&(o=0,s=2*e.PI),c=i+e.round(e.cos(o)*a),h=r+e.round(e.sin(o)*a),f=i+e.round(e.cos(s)*a),p=r+e.round(e.sin(s)*a),c===f&&h===p){if(s-o<e.PI)return"";c=f=i+a,h=p=r}return c===f&&h===p&&s-o<e.PI?"":(u=[i-a,r-a,i+a,r+a,c,h,f,p],m=l===n?' stroked="false" ':' strokeWeight="1px" strokeColor="'+l+'" ',_=d===n?' filled="false"':' fillColor="'+d+'" filled="true" ',g='<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" id="jqsshape'+t+'" '+m+_+' style="position:absolute;left:0px;top:0px;height:'+this.pixelHeight+"px;width:"+this.pixelWidth+'px;padding:0px;margin:0px;" path="m '+i+","+r+" wa "+u.join(", ")+' x e"> </v:shape>')},_drawRect:function(t,e,n,i,r,a,o){return this._drawShape(t,[[e,n],[e,n+r],[e+i,n+r],[e+i,n],[e,n]],a,o)},reset:function(){this.group.innerHTML=""},appendShape:function(t){var e=this["_draw"+t.type].apply(this,t.args);return this.rendered?this.group.insertAdjacentHTML("beforeEnd",e):this.prerender+=e,this.lastShapeId=t.id,t.id},replaceWithShape:function(t,e){var n=i("#jqsshape"+t),r=this["_draw"+e.type].apply(this,e.args);n[0].outerHTML=r},replaceWithShapes:function(t,e){var n,r=i("#jqsshape"+t[0]),a="",o=e.length;for(n=0;o>n;n++)a+=this["_draw"+e[n].type].apply(this,e[n].args);for(r[0].outerHTML=a,n=1;n<t.length;n++)i("#jqsshape"+t[n]).remove()},insertAfterShape:function(t,e){var n=i("#jqsshape"+t),r=this["_draw"+e.type].apply(this,e.args);n[0].insertAdjacentHTML("afterEnd",r)},removeShapeId:function(t){var e=i("#jqsshape"+t);this.group.removeChild(e[0])},getShapeAt:function(t,e,n){var i=t.id.substr(8);return i},render:function(){this.rendered||(this.group.innerHTML=this.prerender,this.rendered=!0)}})})}(document,Math),!function(t,e,n){"use strict";!function i(t,e,n){function r(o,s){if(!e[o]){if(!t[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(a)return a(o,!0);var d=new Error("Cannot find module '"+o+"'");throw d.code="MODULE_NOT_FOUND",d}var u=e[o]={exports:{}};t[o][0].call(u.exports,function(e){var n=t[o][1][e];return r(n?n:e)},u,u.exports,i,t,e,n)}return e[o].exports}for(var a="function"==typeof require&&require,o=0;o<n.length;o++)r(n[o]);return r}({1:[function(i,r,a){var o=function(t){return t&&t.__esModule?t:{"default":t}};Object.defineProperty(a,"__esModule",{value:!0});var s,l,d,u,c=i("./modules/handle-dom"),h=i("./modules/utils"),f=i("./modules/handle-swal-dom"),p=i("./modules/handle-click"),m=i("./modules/handle-key"),_=o(m),g=i("./modules/default-params"),y=o(g),v=i("./modules/set-params"),b=o(v);a["default"]=d=u=function(){function i(t){var e=r;return e[t]===n?y["default"][t]:e[t]}var r=arguments[0];if(c.addClass(e.body,"stop-scrolling"),f.resetInput(),r===n)return h.logStr("SweetAlert expects at least 1 attribute!"),!1;var a=h.extend({},y["default"]);switch(typeof r){case"string":a.title=r,a.text=arguments[1]||"",a.type=arguments[2]||"";break;case"object":if(r.title===n)return h.logStr('Missing "title" argument!'),!1;a.title=r.title;for(var o in y["default"])a[o]=i(o);a.confirmButtonText=a.showCancelButton?"Confirm":y["default"].confirmButtonText,a.confirmButtonText=i("confirmButtonText"),a.doneFunction=arguments[1]||null;break;default:return h.logStr('Unexpected type of argument! Expected "string" or "object", got '+typeof r),!1}b["default"](a),f.fixVerticalPosition(),f.openModal(arguments[1]);for(var d=f.getModal(),m=d.querySelectorAll("button"),g=["onclick","onmouseover","onmouseout","onmousedown","onmouseup","onfocus"],v=function(t){return p.handleButton(t,a,d)},M=0;M<m.length;M++)for(var w=0;w<g.length;w++){var k=g[w];m[M][k]=v}f.getOverlay().onclick=v,s=t.onkeydown;var x=function(t){return _["default"](t,a,d)};t.onkeydown=x,t.onfocus=function(){setTimeout(function(){l!==n&&(l.focus(),l=n)},0)},u.enableButtons()},d.setDefaults=u.setDefaults=function(t){if(!t)throw new Error("userParams is required");if("object"!=typeof t)throw new Error("userParams has to be a object");h.extend(y["default"],t)},d.close=u.close=function(){var i=f.getModal();c.fadeOut(f.getOverlay(),5),c.fadeOut(i,5),c.removeClass(i,"showSweetAlert"),c.addClass(i,"hideSweetAlert"),c.removeClass(i,"visible");var r=i.querySelector(".sa-icon.sa-success");c.removeClass(r,"animate"),c.removeClass(r.querySelector(".sa-tip"),"animateSuccessTip"),c.removeClass(r.querySelector(".sa-long"),"animateSuccessLong");var a=i.querySelector(".sa-icon.sa-error");c.removeClass(a,"animateErrorIcon"),c.removeClass(a.querySelector(".sa-x-mark"),"animateXMark");var o=i.querySelector(".sa-icon.sa-warning");return c.removeClass(o,"pulseWarning"),c.removeClass(o.querySelector(".sa-body"),"pulseWarningIns"),c.removeClass(o.querySelector(".sa-dot"),"pulseWarningIns"),setTimeout(function(){var t=i.getAttribute("data-custom-class");c.removeClass(i,t)},300),c.removeClass(e.body,"stop-scrolling"),t.onkeydown=s,t.previousActiveElement&&t.previousActiveElement.focus(),l=n,clearTimeout(i.timeout),!0},d.showInputError=u.showInputError=function(t){var e=f.getModal(),n=e.querySelector(".sa-input-error");c.addClass(n,"show");var i=e.querySelector(".sa-error-container");c.addClass(i,"show"),i.querySelector("p").innerHTML=t,setTimeout(function(){d.enableButtons()},1),e.querySelector("input").focus()},d.resetInputError=u.resetInputError=function(t){if(t&&13===t.keyCode)return!1;var e=f.getModal(),n=e.querySelector(".sa-input-error");c.removeClass(n,"show");var i=e.querySelector(".sa-error-container");c.removeClass(i,"show")},d.disableButtons=u.disableButtons=function(){var t=f.getModal(),e=t.querySelector("button.confirm"),n=t.querySelector("button.cancel");e.disabled=!0,n.disabled=!0},d.enableButtons=u.enableButtons=function(){var t=f.getModal(),e=t.querySelector("button.confirm"),n=t.querySelector("button.cancel");e.disabled=!1,n.disabled=!1},"undefined"!=typeof t?t.sweetAlert=t.swal=d:h.logStr("SweetAlert is a frontend module!"),r.exports=a["default"]},{"./modules/default-params":2,"./modules/handle-click":3,"./modules/handle-dom":4,"./modules/handle-key":5,"./modules/handle-swal-dom":6,"./modules/set-params":8,"./modules/utils":9}],2:[function(t,e,n){Object.defineProperty(n,"__esModule",{value:!0});var i={title:"",text:"",type:null,allowOutsideClick:!1,showConfirmButton:!0,showCancelButton:!1,closeOnConfirm:!0,closeOnCancel:!0,confirmButtonText:"OK",confirmButtonColor:"#8CD4F5",cancelButtonText:"Cancel",imageUrl:null,imageSize:null,timer:null,customClass:"",html:!1,animation:!0,allowEscapeKey:!0,inputType:"text",inputPlaceholder:"",inputValue:"",showLoaderOnConfirm:!1};n["default"]=i,e.exports=n["default"]},{}],3:[function(e,n,i){Object.defineProperty(i,"__esModule",{value:!0});var r=e("./utils"),a=(e("./handle-swal-dom"),e("./handle-dom")),o=function(e,n,i){function o(t){p&&n.confirmButtonColor&&(f.style.backgroundColor=t)}var d,u,c,h=e||t.event,f=h.target||h.srcElement,p=-1!==f.className.indexOf("confirm"),m=-1!==f.className.indexOf("sweet-overlay"),_=a.hasClass(i,"visible"),g=n.doneFunction&&"true"===i.getAttribute("data-has-done-function");switch(p&&n.confirmButtonColor&&(d=n.confirmButtonColor,u=r.colorLuminance(d,-.04),c=r.colorLuminance(d,-.14)),h.type){case"mouseover":o(u);break;case"mouseout":o(d);break;case"mousedown":o(c);break;case"mouseup":o(u);break;case"focus":var y=i.querySelector("button.confirm"),v=i.querySelector("button.cancel");p?v.style.boxShadow="none":y.style.boxShadow="none";break;case"click":var b=i===f,M=a.isDescendant(i,f);if(!b&&!M&&_&&!n.allowOutsideClick)break;p&&g&&_?s(i,n):g&&_||m?l(i,n):a.isDescendant(i,f)&&"BUTTON"===f.tagName&&sweetAlert.close()}},s=function(t,e){var n=!0;a.hasClass(t,"show-input")&&(n=t.querySelector("input").value,n||(n="")),e.doneFunction(n),e.closeOnConfirm&&sweetAlert.close(),e.showLoaderOnConfirm&&sweetAlert.disableButtons()},l=function(t,e){var n=String(e.doneFunction).replace(/\s/g,""),i="function("===n.substring(0,9)&&")"!==n.substring(9,10);i&&e.doneFunction(!1),e.closeOnCancel&&sweetAlert.close()};i["default"]={handleButton:o,handleConfirm:s,handleCancel:l},n.exports=i["default"]},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],4:[function(n,i,r){Object.defineProperty(r,"__esModule",{value:!0});var a=function(t,e){return new RegExp(" "+e+" ").test(" "+t.className+" ")},o=function(t,e){a(t,e)||(t.className+=" "+e)},s=function(t,e){var n=" "+t.className.replace(/[\t\r\n]/g," ")+" ";if(a(t,e)){for(;n.indexOf(" "+e+" ")>=0;)n=n.replace(" "+e+" "," ");t.className=n.replace(/^\s+|\s+$/g,"")}},l=function(t){var n=e.createElement("div");return n.appendChild(e.createTextNode(t)),n.innerHTML},d=function(t){t.style.opacity="",t.style.display="block"},u=function(t){if(t&&!t.length)return d(t);for(var e=0;e<t.length;++e)d(t[e])},c=function(t){t.style.opacity="",t.style.display="none"},h=function(t){if(t&&!t.length)return c(t);for(var e=0;e<t.length;++e)c(t[e])},f=function(t,e){for(var n=e.parentNode;null!==n;){if(n===t)return!0;n=n.parentNode}return!1},p=function(t){t.style.left="-9999px",t.style.display="block";var e,n=t.clientHeight;return e="undefined"!=typeof getComputedStyle?parseInt(getComputedStyle(t).getPropertyValue("padding-top"),10):parseInt(t.currentStyle.padding),t.style.left="",t.style.display="none","-"+parseInt((n+e)/2)+"px"},m=function(t,e){if(+t.style.opacity<1){e=e||16,t.style.opacity=0,t.style.display="block";var n=+new Date,i=function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){t.style.opacity=+t.style.opacity+(new Date-n)/100,n=+new Date,+t.style.opacity<1&&setTimeout(i,e)});i()}t.style.display="block"},_=function(t,e){e=e||16,t.style.opacity=1;var n=+new Date,i=function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){t.style.opacity=+t.style.opacity-(new Date-n)/100,n=+new Date,+t.style.opacity>0?setTimeout(i,e):t.style.display="none"});i()},g=function(n){if("function"==typeof MouseEvent){var i=new MouseEvent("click",{view:t,bubbles:!1,cancelable:!0});n.dispatchEvent(i)}else if(e.createEvent){var r=e.createEvent("MouseEvents");r.initEvent("click",!1,!1),n.dispatchEvent(r)}else e.createEventObject?n.fireEvent("onclick"):"function"==typeof n.onclick&&n.onclick()},y=function(e){"function"==typeof e.stopPropagation?(e.stopPropagation(),e.preventDefault()):t.event&&t.event.hasOwnProperty("cancelBubble")&&(t.event.cancelBubble=!0)};r.hasClass=a,r.addClass=o,r.removeClass=s,r.escapeHtml=l,r._show=d,r.show=u,r._hide=c,r.hide=h,r.isDescendant=f,r.getTopMargin=p,r.fadeIn=m,r.fadeOut=_,r.fireClick=g,r.stopEventPropagation=y},{}],5:[function(e,i,r){Object.defineProperty(r,"__esModule",{value:!0});var a=e("./handle-dom"),o=e("./handle-swal-dom"),s=function(e,i,r){var s=e||t.event,l=s.keyCode||s.which,d=r.querySelector("button.confirm"),u=r.querySelector("button.cancel"),c=r.querySelectorAll("button[tabindex]");if(-1!==[9,13,32,27].indexOf(l)){for(var h=s.target||s.srcElement,f=-1,p=0;p<c.length;p++)if(h===c[p]){f=p;break}9===l?(h=-1===f?d:f===c.length-1?c[0]:c[f+1],a.stopEventPropagation(s),h.focus(),i.confirmButtonColor&&o.setFocusStyle(h,i.confirmButtonColor)):13===l?("INPUT"===h.tagName&&(h=d,d.focus()),h=-1===f?d:n):27===l&&i.allowEscapeKey===!0?(h=u,a.fireClick(h,s)):h=n}};r["default"]=s,i.exports=r["default"]},{"./handle-dom":4,"./handle-swal-dom":6}],6:[function(n,i,r){var a=function(t){return t&&t.__esModule?t:{"default":t}};Object.defineProperty(r,"__esModule",{value:!0});var o=n("./utils"),s=n("./handle-dom"),l=n("./default-params"),d=a(l),u=n("./injected-html"),c=a(u),h=".sweet-alert",f=".sweet-overlay",p=function(){var t=e.createElement("div");for(t.innerHTML=c["default"];t.firstChild;)e.body.appendChild(t.firstChild)},m=function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){var t=e.querySelector(h);return t||(p(),t=m()),t}),_=function(){var t=m();return t?t.querySelector("input"):void 0},g=function(){return e.querySelector(f)},y=function(t,e){var n=o.hexToRgb(e);t.style.boxShadow="0 0 2px rgba("+n+", 0.8), inset 0 0 0 1px rgba(0, 0, 0, 0.05)";
},v=function(n){var i=m();s.fadeIn(g(),10),s.show(i),s.addClass(i,"showSweetAlert"),s.removeClass(i,"hideSweetAlert"),t.previousActiveElement=e.activeElement;var r=i.querySelector("button.confirm");r.focus(),setTimeout(function(){s.addClass(i,"visible")},500);var a=i.getAttribute("data-timer");if("null"!==a&&""!==a){var o=n;i.timeout=setTimeout(function(){var t=(o||null)&&"true"===i.getAttribute("data-has-done-function");t?o(null):sweetAlert.close()},a)}},b=function(){var t=m(),e=_();s.removeClass(t,"show-input"),e.value=d["default"].inputValue,e.setAttribute("type",d["default"].inputType),e.setAttribute("placeholder",d["default"].inputPlaceholder),M()},M=function(t){if(t&&13===t.keyCode)return!1;var e=m(),n=e.querySelector(".sa-input-error");s.removeClass(n,"show");var i=e.querySelector(".sa-error-container");s.removeClass(i,"show")},w=function(){var t=m();t.style.marginTop=s.getTopMargin(m())};r.sweetAlertInitialize=p,r.getModal=m,r.getOverlay=g,r.getInput=_,r.setFocusStyle=y,r.openModal=v,r.resetInput=b,r.resetInputError=M,r.fixVerticalPosition=w},{"./default-params":2,"./handle-dom":4,"./injected-html":7,"./utils":9}],7:[function(t,e,n){Object.defineProperty(n,"__esModule",{value:!0});var i='<div class="sweet-overlay" tabIndex="-1"></div><div class="sweet-alert"><div class="sa-icon sa-error">\n <span class="sa-x-mark">\n <span class="sa-line sa-left"></span>\n <span class="sa-line sa-right"></span>\n </span>\n </div><div class="sa-icon sa-warning">\n <span class="sa-body"></span>\n <span class="sa-dot"></span>\n </div><div class="sa-icon sa-info"></div><div class="sa-icon sa-success">\n <span class="sa-line sa-tip"></span>\n <span class="sa-line sa-long"></span>\n\n <div class="sa-placeholder"></div>\n <div class="sa-fix"></div>\n </div><div class="sa-icon sa-custom"></div><h2>Title</h2>\n <p>Text</p>\n <fieldset>\n <input type="text" tabIndex="3" />\n <div class="sa-input-error"></div>\n </fieldset><div class="sa-error-container">\n <div class="icon">!</div>\n <p>Not valid!</p>\n </div><div class="sa-button-container">\n <button class="cancel" tabIndex="2">Cancel</button>\n <div class="sa-confirm-button-container">\n <button class="confirm" tabIndex="1">OK</button><div class="la-ball-fall">\n <div></div>\n <div></div>\n <div></div>\n </div>\n </div>\n </div></div>';n["default"]=i,e.exports=n["default"]},{}],8:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0});var r=t("./utils"),a=t("./handle-swal-dom"),o=t("./handle-dom"),s=["error","warning","info","success","input","prompt"],l=function(t){var e=a.getModal(),i=e.querySelector("h2"),l=e.querySelector("p"),d=e.querySelector("button.cancel"),u=e.querySelector("button.confirm");if(i.innerHTML=t.html?t.title:o.escapeHtml(t.title).split("\n").join("<br>"),l.innerHTML=t.html?t.text:o.escapeHtml(t.text||"").split("\n").join("<br>"),t.text&&o.show(l),t.customClass)o.addClass(e,t.customClass),e.setAttribute("data-custom-class",t.customClass);else{var c=e.getAttribute("data-custom-class");o.removeClass(e,c),e.setAttribute("data-custom-class","")}if(o.hide(e.querySelectorAll(".sa-icon")),t.type&&!r.isIE8()){var h=function(){for(var i=!1,r=0;r<s.length;r++)if(t.type===s[r]){i=!0;break}if(!i)return logStr("Unknown alert type: "+t.type),{v:!1};var l=["success","error","warning","info"],d=n;-1!==l.indexOf(t.type)&&(d=e.querySelector(".sa-icon.sa-"+t.type),o.show(d));var u=a.getInput();switch(t.type){case"success":o.addClass(d,"animate"),o.addClass(d.querySelector(".sa-tip"),"animateSuccessTip"),o.addClass(d.querySelector(".sa-long"),"animateSuccessLong");break;case"error":o.addClass(d,"animateErrorIcon"),o.addClass(d.querySelector(".sa-x-mark"),"animateXMark");break;case"warning":o.addClass(d,"pulseWarning"),o.addClass(d.querySelector(".sa-body"),"pulseWarningIns"),o.addClass(d.querySelector(".sa-dot"),"pulseWarningIns");break;case"input":case"prompt":u.setAttribute("type",t.inputType),u.value=t.inputValue,u.setAttribute("placeholder",t.inputPlaceholder),o.addClass(e,"show-input"),setTimeout(function(){u.focus(),u.addEventListener("keyup",swal.resetInputError)},400)}}();if("object"==typeof h)return h.v}if(t.imageUrl){var f=e.querySelector(".sa-icon.sa-custom");f.style.backgroundImage="url("+t.imageUrl+")",o.show(f);var p=80,m=80;if(t.imageSize){var _=t.imageSize.toString().split("x"),g=_[0],y=_[1];g&&y?(p=g,m=y):logStr("Parameter imageSize expects value with format WIDTHxHEIGHT, got "+t.imageSize)}f.setAttribute("style",f.getAttribute("style")+"width:"+p+"px; height:"+m+"px")}e.setAttribute("data-has-cancel-button",t.showCancelButton),t.showCancelButton?d.style.display="inline-block":o.hide(d),e.setAttribute("data-has-confirm-button",t.showConfirmButton),t.showConfirmButton?u.style.display="inline-block":o.hide(u),t.cancelButtonText&&(d.innerHTML=o.escapeHtml(t.cancelButtonText)),t.confirmButtonText&&(u.innerHTML=o.escapeHtml(t.confirmButtonText)),t.confirmButtonColor&&(u.style.backgroundColor=t.confirmButtonColor,u.style.borderLeftColor=t.confirmLoadingButtonColor,u.style.borderRightColor=t.confirmLoadingButtonColor,a.setFocusStyle(u,t.confirmButtonColor)),e.setAttribute("data-allow-outside-click",t.allowOutsideClick);var v=!!t.doneFunction;e.setAttribute("data-has-done-function",v),t.animation?"string"==typeof t.animation?e.setAttribute("data-animation",t.animation):e.setAttribute("data-animation","pop"):e.setAttribute("data-animation","none"),e.setAttribute("data-timer",t.timer)};i["default"]=l,e.exports=i["default"]},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],9:[function(e,n,i){Object.defineProperty(i,"__esModule",{value:!0});var r=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},a=function(t){var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?parseInt(e[1],16)+", "+parseInt(e[2],16)+", "+parseInt(e[3],16):null},o=function(){return t.attachEvent&&!t.addEventListener},s=function(e){t.console&&t.console.log("SweetAlert: "+e)},l=function(t,e){t=String(t).replace(/[^0-9a-f]/gi,""),t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),e=e||0;var n,i,r="#";for(i=0;3>i;i++)n=parseInt(t.substr(2*i,2),16),n=Math.round(Math.min(Math.max(0,n+n*e),255)).toString(16),r+=("00"+n).substr(n.length);return r};i.extend=r,i.hexToRgb=a,i.isIE8=o,i.logStr=s,i.colorLuminance=l},{}]},{},[1]),"function"==typeof define&&define.amd?define(function(){return sweetAlert}):"undefined"!=typeof module&&module.exports&&(module.exports=sweetAlert)}(window,document),function(t){t.fn.strengthify=function(e){var n=this,i={zxcvbn:"https://cdnjs.cloudflare.com/ajax/libs/zxcvbn/2.0.2/zxcvbn.min.js"},r=t.extend(i,e);return t(".strengthify-wrapper").append('<div class="strengthify-bg" />').append('<div class="strengthify-container" />').append('<div class="strengthify-separator" style="left: 25%" />').append('<div class="strengthify-separator" style="left: 50%" />').append('<div class="strengthify-separator" style="left: 75%" />'),t.ajax({cache:!0,dataType:"script",url:r.zxcvbn}).done(function(){n.bind("keyup input",function(){var e=t(this).val(),n=""===e?0:1,i=zxcvbn(e),r="",a=t(".strengthify-container"),o=t(".strengthify-wrapper");switch(o.children().css("opacity",n).css("-ms-filter",'"progid:DXImageTransform.Microsoft.Alpha(Opacity='+100*n+')"'),i.score){case 0:case 1:r="password-bad";break;case 2:r="password-medium";break;case 3:case 4:r="password-good"}a.attr("class",r+" strengthify-container").css("width",25*(0===i.score?1:i.score)+"%"),""===e&&a.css("width",0)})}),n}}(jQuery),$(function(){function t(t,e){$(".block-"+t).removeClass("show").addClass("hidden"),$(".block-"+e).removeClass("hidden").addClass("show"),$(".steps .step").removeClass("active").filter(":lt("+e+")").addClass("active")}$.ajaxPrefilter(function(t,e,n){var i;return t.crossDomain||(i=$('meta[name="token"]').attr("content"),i&&n.setRequestHeader("X-CSRF-Token",i)),n}),$.ajaxSetup({beforeSend:function(t){t.setRequestHeader("Accept","application/json")},statusCode:{401:function(){window.location.href="/"},403:function(){window.location.href="/"}}}),$("form").submit(function(){var t=$(this);t.find(":submit").prop("disabled",!0)}),autosize($("textarea.autosize")),$("[data-method]").not(".disabled").append(function(){var t="\n";return t+="<form action='"+$(this).attr("href")+"' method='POST' style='display:none'>\n",t+="<input type='hidden' name='_method' value='"+$(this).attr("data-method")+"'>\n",t+="<input type='hidden' name='_token' value='"+$("meta[name=token]").attr("content")+"'>\n",t+="</form>\n"}).removeAttr("href").on("click",function(){var t=$(this);t.hasClass("confirm-action")?askConfirmation(function(){t.find("form").submit()}):t.find("form").submit()}),Messenger.options={extraClasses:"messenger-fixed messenger-on-top",theme:"air"},window.Cachet={},moment.locale(Global.locale),$("abbr.timeago").each(function(){var t=$(this);t.livestamp(t.data("timeago")).tooltip()}),window.Cachet.Notifier=function(){this.notify=function(t,e,n){_.isPlainObject(t)&&(t=t.detail),e="undefined"==typeof e||"error"===e?"error":e;var i={message:t,type:e,showCloseButton:!0};n=_.extend(i,n),Messenger().post(n)}},$(".sidebar-toggler").click(function(t){t.preventDefault(),$(".wrapper").toggleClass("toggled")}),$(".color-code").minicolors({control:"hue",defaultValue:$(this).val()||"",inline:!1,letterCase:"lowercase",opacity:!1,position:"bottom left",theme:"bootstrap"}),$('[data-toggle="tooltip"]').tooltip(),$("button.close").on("click",function(){$(this).parents("div.alert").addClass("hide")}),$("form[name=IncidentForm] select[name=component_id]").on("change",function(){var t=$(this).find("option:selected"),e=$("#component-status");0!==parseInt(t.val(),10)?e.hasClass("hidden")&&e.removeClass("hidden"):e.addClass("hidden")}),$("input[rel=datepicker]").datetimepicker({format:"DD/MM/YYYY HH:mm",minDate:new Date,sideBySide:!0,icons:{time:"ion-clock",date:"ion-android-calendar",up:"ion-ios-arrow-up",down:"ion-ios-arrow-down",previous:"ion-ios-arrow-left",next:"ion-ios-arrow-right",today:"ion-android-home",clear:"ion-trash-a"}}),$("input[rel=datepicker-any]").datetimepicker({format:"DD/MM/YYYY HH:mm",sideBySide:!0,icons:{time:"ion-clock",date:"ion-android-calendar",up:"ion-ios-arrow-up",down:"ion-ios-arrow-down",previous:"ion-ios-arrow-left",next:"ion-ios-arrow-right",today:"ion-android-home",clear:"ion-trash-a"}});var e=document.getElementById("component-list");e&&new Sortable(e,{group:"omega",handle:".drag-handle",onUpdate:function(){var t=$.map($("#component-list .striped-list-item"),function(t){return $(t).data("component-id")});$.ajax({async:!0,url:"/dashboard/api/components/order",type:"POST",data:{ids:t},success:function(){(new Cachet.Notifier).notify("Component orders updated.","success")},error:function(){(new Cachet.Notifier).notify("Component orders not updated.","error")}})}});var n=document.getElementById("component-group-list");if(n&&new Sortable(n,{group:"omega",handle:".drag-handle",onUpdate:function(){var t=$.map($("#component-group-list .striped-list-item"),function(t){return $(t).data("group-id")});$.ajax({async:!0,url:"/dashboard/api/components/groups/order",type:"POST",data:{ids:t},success:function(){(new Cachet.Notifier).notify("Component groups order has been updated.","success")},error:function(){(new Cachet.Notifier).notify("Component groups order could not be updated.","error")}})}}),$("form.component-inline").on("click","input[type=radio]",function(){var t=$(this).parents("form"),e=t.serializeObject();$.ajax({async:!0,url:"/dashboard/api/components/"+e.component_id,type:"POST",data:e,success:function(e){(new Cachet.Notifier).notify(t.data("messenger"),"success")},error:function(t,e,n){(new Cachet.Notifier).notify("Something went wrong updating the component.")}})}),$("select[name=template]").on("change",function(){var t=$(this).find("option:selected"),e=t.val();e&&$.ajax({async:!0,data:{slug:e},url:"/dashboard/api/incidents/templates",success:function(t){var e=$("form[role=form]");e.find("input[name=name]").val(t.name),e.find("textarea[name=message]").val(t.template)},error:function(){(new Cachet.Notifier).notify("There was an error finding that template.")}})}),$("#remove-banner").click(function(){$("#banner-view").remove(),$("input[name=remove_banner]").val("1")}),$(".group-name").on("click",function(){var t=$(this);t.find(".group-toggle").toggleClass("ion-ios-minus-outline").toggleClass("ion-ios-plus-outline"),t.next(".group-items").toggleClass("hide")}),$(".wizard-next").on("click",function(){var e=$("#setup-form"),n=$(this),i=n.data("currentBlock"),r=n.data("nextBlock");if(n.button("loading"),r>i){var a="/setup/step"+i;return $.post(a,e.serializeObject()).done(function(e){t(i,r)}).fail(function(t){var e=_.toArray(t.responseJSON.errors);_.each(e,function(t){(new Cachet.Notifier).notify(t)})}).always(function(){n.button("reset")}),!1}t(i,r),n.button("reset")}),$.fn.sparkline){var i=function(){$(".sparkline").each(function(){var t=$(this).data();t.valueSpots={"0:":t.spotColor},$(this).sparkline(t.data,t);var e=t.compositedata;if(e){var n=$(this).attr("data-stack-line-color"),i=$(this).attr("data-stack-fill-color"),r=$(this).attr("data-stack-spot-color"),a=$(this).attr("data-stack-spot-radius");$(this).sparkline(e,{composite:!0,lineColor:n,fillColor:i,spotColor:r,highlightSpotColor:r,spotRadius:a,valueSpots:{"0:":r}})}})};i(!1)}$(".password-strength").strengthify(),$("#update-alert").length>0&&$.ajax({async:!0,dataType:"json",url:"/api/v1/version"}).done(function(t){t.meta.on_latest===!1&&$("#update-alert").removeClass("hidden")})});