21 lines
656 KiB
JavaScript
21 lines
656 KiB
JavaScript
function askConfirmation(e){swal({type:"warning",title:"Confirm your action",text:"Are you sure you want to do this?",confirmButtonText:"Yes",confirmButtonColor:"#FF6F6F",showCancelButton:!0},function(){e()})}if(function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=!!e&&"length"in e&&e.length,n=ae.type(e);return"function"!==n&&!ae.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function i(e,t,n){if(ae.isFunction(t))return ae.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)return ae.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(me.test(t))return ae.filter(t,e,n);t=ae.filter(t,e)}return ae.grep(e,function(e){return K.call(t,e)>-1!==n})}function r(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function a(e){var t={};return ae.each(e.match(Me)||[],function(e,n){t[n]=!0}),t}function o(){G.removeEventListener("DOMContentLoaded",o),e.removeEventListener("load",o),ae.ready()}function s(){this.expando=ae.expando+s.uid++}function l(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(Ye,"-$&").toLowerCase(),n=e.getAttribute(i),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Te.test(n)?ae.parseJSON(n):n)}catch(r){}De.set(e,t,n)}else n=void 0;return n}function u(e,t,n,i){var r,a=1,o=20,s=i?function(){return i.cur()}:function(){return ae.css(e,t,"")},l=s(),u=n&&n[3]||(ae.cssNumber[t]?"":"px"),d=(ae.cssNumber[t]||"px"!==u&&+l)&&Ce.exec(ae.css(e,t));if(d&&d[3]!==u){u=u||d[3],n=n||[],d=+l||1;do a=a||".5",d/=a,ae.style(e,t,d+u);while(a!==(a=s()/l)&&1!==a&&--o)}return n&&(d=+d||+l||0,r=n[1]?d+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=d,i.end=r)),r}function d(e,t){var n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&ae.nodeName(e,t)?ae.merge([e],n):n}function c(e,t){for(var n=0,i=e.length;n<i;n++)xe.set(e[n],"globalEval",!t||xe.get(t[n],"globalEval"))}function h(e,t,n,i,r){for(var a,o,s,l,u,h,f=t.createDocumentFragment(),p=[],m=0,_=e.length;m<_;m++)if(a=e[m],a||0===a)if("object"===ae.type(a))ae.merge(p,a.nodeType?[a]:a);else if(Fe.test(a)){for(o=o||f.appendChild(t.createElement("div")),s=(Pe.exec(a)||["",""])[1].toLowerCase(),l=Ie[s]||Ie._default,o.innerHTML=l[1]+ae.htmlPrefilter(a)+l[2],h=l[0];h--;)o=o.lastChild;ae.merge(p,o.childNodes),o=f.firstChild,o.textContent=""}else p.push(t.createTextNode(a));for(f.textContent="",m=0;a=p[m++];)if(i&&ae.inArray(a,i)>-1)r&&r.push(a);else if(u=ae.contains(a.ownerDocument,a),o=d(f.appendChild(a),"script"),u&&c(o),n)for(h=0;a=o[h++];)Ee.test(a.type||"")&&n.push(a);return f}function f(){return!0}function p(){return!1}function m(){try{return G.activeElement}catch(e){}}function _(e,t,n,i,r,a){var o,s;if("object"==typeof t){"string"!=typeof n&&(i=i||n,n=void 0);for(s in t)_(e,s,n,i,t[s],a);return e}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 e;return 1===a&&(o=r,r=function(e){return ae().off(e),o.apply(this,arguments)},r.guid=o.guid||(o.guid=ae.guid++)),e.each(function(){ae.event.add(this,t,r,i,n)})}function g(e,t){return ae.nodeName(e,"table")&&ae.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function y(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function v(e){var t=$e.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function b(e,t){var n,i,r,a,o,s,l,u;if(1===t.nodeType){if(xe.hasData(e)&&(a=xe.access(e),o=xe.set(t,a),u=a.events)){delete o.handle,o.events={};for(r in u)for(n=0,i=u[r].length;n<i;n++)ae.event.add(t,r,u[r][n])}De.hasData(e)&&(s=De.access(e),l=ae.extend({},s),De.set(t,l))}}function M(e,t){var n=t.nodeName.toLowerCase();"input"===n&&je.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function w(e,t,n,i){t=Q.apply([],t);var r,a,o,s,l,u,c=0,f=e.length,p=f-1,m=t[0],_=ae.isFunction(m);if(_||f>1&&"string"==typeof m&&!ie.checkClone&&Be.test(m))return e.each(function(r){var a=e.eq(r);_&&(t[0]=m.call(this,r,a.html())),w(a,t,n,i)});if(f&&(r=h(t,e[0].ownerDocument,!1,e,i),a=r.firstChild,1===r.childNodes.length&&(r=a),a||i)){for(o=ae.map(d(r,"script"),y),s=o.length;c<f;c++)l=r,c!==p&&(l=ae.clone(l,!0,!0),s&&ae.merge(o,d(l,"script"))),n.call(e[c],l,c);if(s)for(u=o[o.length-1].ownerDocument,ae.map(o,v),c=0;c<s;c++)l=o[c],Ee.test(l.type||"")&&!xe.access(l,"globalEval")&&ae.contains(u,l)&&(l.src?ae._evalUrl&&ae._evalUrl(l.src):ae.globalEval(l.textContent.replace(Ve,"")))}return e}function k(e,t,n){for(var i,r=t?ae.filter(t,e):e,a=0;null!=(i=r[a]);a++)n||1!==i.nodeType||ae.cleanData(d(i)),i.parentNode&&(n&&ae.contains(i.ownerDocument,i)&&c(d(i,"script")),i.parentNode.removeChild(i));return e}function L(e,t){var n=ae(t.createElement(e)).appendTo(t.body),i=ae.css(n[0],"display");return n.detach(),i}function x(e){var t=G,n=Ue[e];return n||(n=L(e,t),"none"!==n&&n||(qe=(qe||ae("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=qe[0].contentDocument,t.write(),t.close(),n=L(e,t),qe.detach()),Ue[e]=n),n}function D(e,t,n){var i,r,a,o,s=e.style;return n=n||Xe(e),o=n?n.getPropertyValue(t)||n[t]:void 0,""!==o&&void 0!==o||ae.contains(e.ownerDocument,e)||(o=ae.style(e,t)),n&&!ie.pixelMarginRight()&&Ge.test(o)&&Je.test(t)&&(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(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function Y(e){if(e in it)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=nt.length;n--;)if(e=nt[n]+t,e in it)return e}function S(e,t,n){var i=Ce.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function C(e,t,n,i,r){for(var a=n===(i?"border":"content")?4:"width"===t?1:0,o=0;a<4;a+=2)"margin"===n&&(o+=ae.css(e,n+He[a],!0,r)),i?("content"===n&&(o-=ae.css(e,"padding"+He[a],!0,r)),"margin"!==n&&(o-=ae.css(e,"border"+He[a]+"Width",!0,r))):(o+=ae.css(e,"padding"+He[a],!0,r),"padding"!==n&&(o+=ae.css(e,"border"+He[a]+"Width",!0,r)));return o}function H(e,t,n){var i=!0,r="width"===t?e.offsetWidth:e.offsetHeight,a=Xe(e),o="border-box"===ae.css(e,"boxSizing",!1,a);if(r<=0||null==r){if(r=D(e,t,a),(r<0||null==r)&&(r=e.style[t]),Ge.test(r))return r;i=o&&(ie.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+C(e,t,n||(o?"border":"content"),i,a)+"px"}function A(e,t){for(var n,i,r,a=[],o=0,s=e.length;o<s;o++)i=e[o],i.style&&(a[o]=xe.get(i,"olddisplay"),n=i.style.display,t?(a[o]||"none"!==n||(i.style.display=""),""===i.style.display&&Ae(i)&&(a[o]=xe.access(i,"olddisplay",x(i.nodeName)))):(r=Ae(i),"none"===n&&r||xe.set(i,"olddisplay",r?n:ae.css(i,"display"))));for(o=0;o<s;o++)i=e[o],i.style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?a[o]||"":"none"));return e}function j(e,t,n,i,r){return new j.prototype.init(e,t,n,i,r)}function P(){return e.setTimeout(function(){rt=void 0}),rt=ae.now()}function E(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)n=He[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function I(e,t,n){for(var i,r=(W.tweeners[t]||[]).concat(W.tweeners["*"]),a=0,o=r.length;a<o;a++)if(i=r[a].call(n,t,e))return i}function F(e,t,n){var i,r,a,o,s,l,u,d,c=this,h={},f=e.style,p=e.nodeType&&Ae(e),m=xe.get(e,"fxshow");n.queue||(s=ae._queueHooks(e,"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--,ae.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],u=ae.css(e,"display"),d="none"===u?xe.get(e,"olddisplay")||x(e.nodeName):u,"inline"===d&&"none"===ae.css(e,"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 t)if(r=t[i],ot.exec(r)){if(delete t[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]||ae.style(e,i)}else u=void 0;if(ae.isEmptyObject(h))"inline"===("none"===u?x(e.nodeName):u)&&(f.display=u);else{m?"hidden"in m&&(p=m.hidden):m=xe.access(e,"fxshow",{}),a&&(m.hidden=!p),p?ae(e).show():c.done(function(){ae(e).hide()}),c.done(function(){var t;xe.remove(e,"fxshow");for(t in h)ae.style(e,t,h[t])});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 O(e,t){var n,i,r,a,o;for(n in e)if(i=ae.camelCase(n),r=t[i],a=e[n],ae.isArray(a)&&(r=a[1],a=e[n]=a[0]),n!==i&&(e[i]=a,delete e[n]),o=ae.cssHooks[i],o&&"expand"in o){a=o.expand(a),delete e[i];for(n in a)n in e||(e[n]=a[n],t[n]=r)}else t[i]=r}function W(e,t,n){var i,r,a=0,o=W.prefilters.length,s=ae.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=rt||P(),n=Math.max(0,u.startTime+u.duration-t),i=n/u.duration||0,a=1-i,o=0,l=u.tweens.length;o<l;o++)u.tweens[o].run(a);return s.notifyWith(e,[u,a,n]),a<1&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:ae.extend({},t),opts:ae.extend(!0,{specialEasing:{},easing:ae.easing._default},n),originalProperties:t,originalOptions:n,startTime:rt||P(),duration:n.duration,tweens:[],createTween:function(t,n){var i=ae.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),d=u.props;for(O(d,u.opts.specialEasing);a<o;a++)if(i=W.prefilters[a].call(u,e,d,u.opts))return ae.isFunction(i.stop)&&(ae._queueHooks(u.elem,u.opts.queue).stop=ae.proxy(i.stop,i)),i;return ae.map(d,I,u),ae.isFunction(u.opts.start)&&u.opts.start.call(e,u),ae.fx.timer(ae.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function R(e){return e.getAttribute&&e.getAttribute("class")||""}function N(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,a=t.toLowerCase().match(Me)||[];if(ae.isFunction(n))for(;i=a[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function z(e,t,n,i){function r(s){var l;return a[s]=!0,ae.each(e[s]||[],function(e,s){var u=s(t,n,i);return"string"!=typeof u||o||a[u]?o?!(l=u):void 0:(t.dataTypes.unshift(u),r(u),!1)}),l}var a={},o=e===Dt;return r(t.dataTypes[0])||!a["*"]&&r("*")}function B(e,t){var n,i,r=ae.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&ae.extend(!0,e,i),e}function $(e,t,n){for(var i,r,a,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.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]||e.converters[r+" "+l[0]]){a=r;break}o||(o=r)}a=a||o}if(a)return a!==l[0]&&l.unshift(a),n[a]}function V(e,t,n,i){var r,a,o,s,l,u={},d=e.dataTypes.slice();if(d[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(a=d.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=d.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(o=u[l+" "+a]||u["* "+a],!o)for(r in u)if(s=r.split(" "),s[1]===a&&(o=u[l+" "+s[0]]||u["* "+s[0]])){o===!0?o=u[r]:u[r]!==!0&&(a=s[0],d.unshift(s[1]));break}if(o!==!0)if(o&&e["throws"])t=o(t);else try{t=o(t)}catch(c){return{state:"parsererror",error:o?c:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}function q(e,t,n,i){var r;if(ae.isArray(t))ae.each(t,function(t,r){n||Ct.test(e)?i(e,r):q(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==ae.type(t))i(e,t);else for(r in t)q(e+"["+r+"]",t[r],n,i)}function U(e){return ae.isWindow(e)?e:9===e.nodeType&&e.defaultView}var J=[],G=e.document,X=J.slice,Q=J.concat,Z=J.push,K=J.indexOf,ee={},te=ee.toString,ne=ee.hasOwnProperty,ie={},re="2.2.4",ae=function(e,t){return new ae.fn.init(e,t)},oe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,se=/^-ms-/,le=/-([\da-z])/gi,ue=function(e,t){return t.toUpperCase()};ae.fn=ae.prototype={jquery:re,constructor:ae,selector:"",length:0,toArray:function(){return X.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:X.call(this)},pushStack:function(e){var t=ae.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return ae.each(this,e)},map:function(e){return this.pushStack(ae.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(X.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:Z,sort:J.sort,splice:J.splice},ae.extend=ae.fn.extend=function(){var e,t,n,i,r,a,o=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[s]||{},s++),"object"==typeof o||ae.isFunction(o)||(o={}),s===l&&(o=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)n=o[t],i=e[t],o!==i&&(u&&i&&(ae.isPlainObject(i)||(r=ae.isArray(i)))?(r?(r=!1,a=n&&ae.isArray(n)?n:[]):a=n&&ae.isPlainObject(n)?n:{},o[t]=ae.extend(u,a,i)):void 0!==i&&(o[t]=i));return o},ae.extend({expando:"jQuery"+(re+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===ae.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!ae.isArray(e)&&t-parseFloat(t)+1>=0},isPlainObject:function(e){var t;if("object"!==ae.type(e)||e.nodeType||ae.isWindow(e))return!1;if(e.constructor&&!ne.call(e,"constructor")&&!ne.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||ne.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ee[te.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;e=ae.trim(e),e&&(1===e.indexOf("use strict")?(t=G.createElement("script"),t.text=e,G.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(se,"ms-").replace(le,ue)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var i,r=0;if(n(e))for(i=e.length;r<i&&t.call(e[r],r,e[r])!==!1;r++);else for(r in e)if(t.call(e[r],r,e[r])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(oe,"")},makeArray:function(e,t){var i=t||[];return null!=e&&(n(Object(e))?ae.merge(i,"string"==typeof e?[e]:e):Z.call(i,e)),i},inArray:function(e,t,n){return null==t?-1:K.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i,r=[],a=0,o=e.length,s=!n;a<o;a++)i=!t(e[a],a),i!==s&&r.push(e[a]);return r},map:function(e,t,i){var r,a,o=0,s=[];if(n(e))for(r=e.length;o<r;o++)a=t(e[o],o,i),null!=a&&s.push(a);else for(o in e)a=t(e[o],o,i),null!=a&&s.push(a);return Q.apply([],s)},guid:1,proxy:function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),ae.isFunction(e))return i=X.call(arguments,2),r=function(){return e.apply(t||this,i.concat(X.call(arguments)))},r.guid=e.guid=e.guid||ae.guid++,r},now:Date.now,support:ie}),"function"==typeof Symbol&&(ae.fn[Symbol.iterator]=J[Symbol.iterator]),ae.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ee["[object "+t+"]"]=t.toLowerCase()});var de=function(e){function t(e,t,n,i){var r,a,o,s,l,u,c,f,p=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!i&&((t?t.ownerDocument||t:R)!==A&&H(t),t=t||A,P)){if(11!==m&&(u=ge.exec(e)))if(r=u[1]){if(9===m){if(!(o=t.getElementById(r)))return n;if(o.id===r)return n.push(o),n}else if(p&&(o=p.getElementById(r))&&O(t,o)&&o.id===r)return n.push(o),n}else{if(u[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((r=u[3])&&M.getElementsByClassName&&t.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(r)),n}if(M.qsa&&!V[e+" "]&&(!E||!E.test(e))){if(1!==m)p=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(ve,"\\$&"):t.setAttribute("id",s=W),c=x(e),a=c.length,l=he.test(s)?"#"+s:"[id='"+s+"']";a--;)c[a]=l+" "+h(c[a]);f=c.join(","),p=ye.test(e)&&d(t.parentNode)||t}if(f)try{return Z.apply(n,p.querySelectorAll(f)),n}catch(_){}finally{s===W&&t.removeAttribute("id")}}}return T(e.replace(se,"$1"),t,n,i)}function n(){function e(n,i){return t.push(n+" ")>w.cacheLength&&delete e[t.shift()],e[n+" "]=i}var t=[];return e}function i(e){return e[W]=!0,e}function r(e){var t=A.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(e,t){for(var n=e.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=t}function o(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||U)-(~e.sourceIndex||U);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function u(e){return i(function(t){return t=+t,i(function(n,i){for(var r,a=e([],n.length,t),o=a.length;o--;)n[r=a[o]]&&(n[r]=!(i[r]=n[r]))})})}function d(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function c(){}function h(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function f(e,t,n){var i=t.dir,r=n&&"parentNode"===i,a=z++;return t.first?function(t,n,a){for(;t=t[i];)if(1===t.nodeType||r)return e(t,n,a)}:function(t,n,o){var s,l,u,d=[N,a];if(o){for(;t=t[i];)if((1===t.nodeType||r)&&e(t,n,o))return!0}else for(;t=t[i];)if(1===t.nodeType||r){if(u=t[W]||(t[W]={}),l=u[t.uniqueID]||(u[t.uniqueID]={}),(s=l[i])&&s[0]===N&&s[1]===a)return d[2]=s[2];if(l[i]=d,d[2]=e(t,n,o))return!0}}}function p(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function m(e,n,i){for(var r=0,a=n.length;r<a;r++)t(e,n[r],i);return i}function _(e,t,n,i,r){for(var a,o=[],s=0,l=e.length,u=null!=t;s<l;s++)(a=e[s])&&(n&&!n(a,i,r)||(o.push(a),u&&t.push(s)));return o}function g(e,t,n,r,a,o){return r&&!r[W]&&(r=g(r)),a&&!a[W]&&(a=g(a,o)),i(function(i,o,s,l){var u,d,c,h=[],f=[],p=o.length,g=i||m(t||"*",s.nodeType?[s]:s,[]),y=!e||!i&&t?g:_(g,h,e,s,l),v=n?a||(i?e:p||r)?[]:o:y;if(n&&n(y,v,s,l),r)for(u=_(v,f),r(u,[],s,l),d=u.length;d--;)(c=u[d])&&(v[f[d]]=!(y[f[d]]=c));if(i){if(a||e){if(a){for(u=[],d=v.length;d--;)(c=v[d])&&u.push(y[d]=c);a(null,v=[],u,l)}for(d=v.length;d--;)(c=v[d])&&(u=a?ee(i,c):h[d])>-1&&(i[u]=!(o[u]=c))}}else v=_(v===o?v.splice(p,v.length):v),a?a(null,o,v,l):Z.apply(o,v)})}function y(e){for(var t,n,i,r=e.length,a=w.relative[e[0].type],o=a||w.relative[" "],s=a?1:0,l=f(function(e){return e===t},o,!0),u=f(function(e){return ee(t,e)>-1},o,!0),d=[function(e,n,i){var r=!a&&(i||n!==Y)||((t=n).nodeType?l(e,n,i):u(e,n,i));return t=null,r}];s<r;s++)if(n=w.relative[e[s].type])d=[f(p(d),n)];else{if(n=w.filter[e[s].type].apply(null,e[s].matches),n[W]){for(i=++s;i<r&&!w.relative[e[i].type];i++);return g(s>1&&p(d),s>1&&h(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s<i&&y(e.slice(s,i)),i<r&&y(e=e.slice(i)),i<r&&h(e))}d.push(n)}return p(d)}function v(e,n){var r=n.length>0,a=e.length>0,o=function(i,o,s,l,u){var d,c,h,f=0,p="0",m=i&&[],g=[],y=Y,v=i||a&&w.find.TAG("*",u),b=N+=null==y?1:Math.random()||.1,M=v.length;for(u&&(Y=o===A||o||u);p!==M&&null!=(d=v[p]);p++){if(a&&d){for(c=0,o||d.ownerDocument===A||(H(d),s=!P);h=e[c++];)if(h(d,o||A,s)){l.push(d);break}u&&(N=b)}r&&((d=!h&&d)&&f--,i&&m.push(d))}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),u&&!i&&g.length>0&&f+n.length>1&&t.uniqueSort(l)}return u&&(N=b,Y=y),m};return r?i(o):o}var b,M,w,k,L,x,D,T,Y,S,C,H,A,j,P,E,I,F,O,W="sizzle"+1*new Date,R=e.document,N=0,z=0,B=n(),$=n(),V=n(),q=function(e,t){return e===t&&(C=!0),0},U=1<<31,J={}.hasOwnProperty,G=[],X=G.pop,Q=G.push,Z=G.push,K=G.slice,ee=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",re="\\["+ne+"*("+ie+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+ne+"*\\]",ae=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+re+")*)|.*)\\)|)",oe=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),le=new RegExp("^"+ne+"*,"+ne+"*"),ue=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),de=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),ce=new RegExp(ae),he=new RegExp("^"+ie+"$"),fe={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie+"|[*])"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,_e=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,ve=/'|\\/g,be=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),Me=function(e,t,n){var i="0x"+t-65536;return i!==i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},we=function(){H()};try{Z.apply(G=K.call(R.childNodes),R.childNodes),G[R.childNodes.length].nodeType}catch(ke){Z={apply:G.length?function(e,t){Q.apply(e,K.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}M=t.support={},L=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},H=t.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:R;return i!==A&&9===i.nodeType&&i.documentElement?(A=i,j=A.documentElement,P=!L(A),(n=A.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",we,!1):n.attachEvent&&n.attachEvent("onunload",we)),M.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),M.getElementsByTagName=r(function(e){return e.appendChild(A.createComment("")),!e.getElementsByTagName("*").length}),M.getElementsByClassName=_e.test(A.getElementsByClassName),M.getById=r(function(e){return j.appendChild(e).id=W,!A.getElementsByName||!A.getElementsByName(W).length}),M.getById?(w.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&P){var n=t.getElementById(e);return n?[n]:[]}},w.filter.ID=function(e){var t=e.replace(be,Me);return function(e){return e.getAttribute("id")===t}}):(delete w.find.ID,w.filter.ID=function(e){var t=e.replace(be,Me);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),w.find.TAG=M.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):M.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[r++];)1===n.nodeType&&i.push(n);return i}return a},w.find.CLASS=M.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&P)return t.getElementsByClassName(e)},I=[],E=[],(M.qsa=_e.test(A.querySelectorAll))&&(r(function(e){j.appendChild(e).innerHTML="<a id='"+W+"'></a><select id='"+W+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&E.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||E.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+W+"-]").length||E.push("~="),e.querySelectorAll(":checked").length||E.push(":checked"),e.querySelectorAll("a#"+W+"+*").length||E.push(".#.+[+~]")}),r(function(e){var t=A.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&E.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||E.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),E.push(",.*:")})),(M.matchesSelector=_e.test(F=j.matches||j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&r(function(e){M.disconnectedMatch=F.call(e,"div"),F.call(e,"[s!='']:x"),I.push("!=",ae)}),E=E.length&&new RegExp(E.join("|")),I=I.length&&new RegExp(I.join("|")),t=_e.test(j.compareDocumentPosition),O=t||_e.test(j.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},q=t?function(e,t){if(e===t)return C=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!M.sortDetached&&t.compareDocumentPosition(e)===n?e===A||e.ownerDocument===R&&O(R,e)?-1:t===A||t.ownerDocument===R&&O(R,t)?1:S?ee(S,e)-ee(S,t):0:4&n?-1:1)}:function(e,t){if(e===t)return C=!0,0;var n,i=0,r=e.parentNode,a=t.parentNode,s=[e],l=[t];if(!r||!a)return e===A?-1:t===A?1:r?-1:a?1:S?ee(S,e)-ee(S,t):0;if(r===a)return o(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;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},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==A&&H(e),n=n.replace(de,"='$1']"),M.matchesSelector&&P&&!V[n+" "]&&(!I||!I.test(n))&&(!E||!E.test(n)))try{var i=F.call(e,n);if(i||M.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(r){}return t(n,A,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==A&&H(e),O(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==A&&H(e);var n=w.attrHandle[t.toLowerCase()],i=n&&J.call(w.attrHandle,t.toLowerCase())?n(e,t,!P):void 0;return void 0!==i?i:M.attributes||!P?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],i=0,r=0;if(C=!M.detectDuplicates,S=!M.sortStable&&e.slice(0),e.sort(q),C){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return S=null,e},k=t.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=k(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=k(t);return n},w=t.selectors={cacheLength:50,createPseudo:i,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,Me),e[3]=(e[3]||e[4]||e[5]||"").replace(be,Me),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ce.test(n)&&(t=x(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(be,Me).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(r){var a=t.attr(r,e);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(oe," ")+" ").indexOf(i)>-1:"|="===n&&(a===i||a.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,r){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var u,d,c,h,f,p,m=a!==o?"nextSibling":"previousSibling",_=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!l&&!s,v=!1;if(_){if(a){for(;m;){for(h=t;h=h[m];)if(s?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[o?_.firstChild:_.lastChild],o&&y){for(h=_,c=h[W]||(h[W]={}),d=c[h.uniqueID]||(c[h.uniqueID]={}),u=d[e]||[],f=u[0]===N&&u[1],v=f&&u[2],h=f&&_.childNodes[f];h=++f&&h&&h[m]||(v=f=0)||p.pop();)if(1===h.nodeType&&++v&&h===t){d[e]=[N,f,v];break}}else if(y&&(h=t,c=h[W]||(h[W]={}),d=c[h.uniqueID]||(c[h.uniqueID]={}),u=d[e]||[],f=u[0]===N&&u[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[W]||(h[W]={}),d=c[h.uniqueID]||(c[h.uniqueID]={}),d[e]=[N,v]),h!==t)););return v-=r,v===i||v%i===0&&v/i>=0}}},PSEUDO:function(e,n){var r,a=w.pseudos[e]||w.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return a[W]?a(n):a.length>1?(r=[e,e,"",n],w.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,t){for(var i,r=a(e,n),o=r.length;o--;)i=ee(e,r[o]),e[i]=!(t[i]=r[o])}):function(e){return a(e,0,r)}):a}},pseudos:{not:i(function(e){var t=[],n=[],r=D(e.replace(se,"$1"));return r[W]?i(function(e,t,n,i){for(var a,o=r(e,null,i,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))}):function(e,i,a){return t[0]=e,r(t,null,a,n),t[0]=null,!n.pop()}}),has:i(function(e){return function(n){return t(e,n).length>0}}),contains:i(function(e){return e=e.replace(be,Me),function(t){return(t.textContent||t.innerText||k(t)).indexOf(e)>-1}}),lang:i(function(e){return he.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,Me).toLowerCase(),function(t){var n;do if(n=P?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===j},focus:function(e){return e===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase());
|
||
},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[n<0?n+t:n]}),even:u(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:u(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var i=n<0?n+t:n;--i>=0;)e.push(i);return e}),gt:u(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}},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,x=t.tokenize=function(e,n){var i,r,a,o,s,l,u,d=$[e+" "];if(d)return n?0:d.slice(0);for(s=e,l=[],u=w.preFilter;s;){i&&!(r=le.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(a=[])),i=!1,(r=ue.exec(s))&&(i=r.shift(),a.push({value:i,type:r[0].replace(se," ")}),s=s.slice(i.length));for(o in w.filter)!(r=fe[o].exec(s))||u[o]&&!(r=u[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?t.error(e):$(e,l).slice(0)},D=t.compile=function(e,t){var n,i=[],r=[],a=V[e+" "];if(!a){for(t||(t=x(e)),n=t.length;n--;)a=y(t[n]),a[W]?i.push(a):r.push(a);a=V(e,v(r,i)),a.selector=e}return a},T=t.select=function(e,t,n,i){var r,a,o,s,l,u="function"==typeof e&&e,c=!i&&x(e=u.selector||e);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===t.nodeType&&P&&w.relative[a[1].type]){if(t=(w.find.ID(o.matches[0].replace(be,Me),t)||[])[0],!t)return n;u&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(r=fe.needsContext.test(e)?0:a.length;r--&&(o=a[r],!w.relative[s=o.type]);)if((l=w.find[s])&&(i=l(o.matches[0].replace(be,Me),ye.test(a[0].type)&&d(t.parentNode)||t))){if(a.splice(r,1),e=i.length&&h(a),!e)return Z.apply(n,i),n;break}}return(u||D(e,c))(i,t,!P,n,!t||ye.test(e)&&d(t.parentNode)||t),n},M.sortStable=W.split("").sort(q).join("")===W,M.detectDuplicates=!!C,H(),M.sortDetached=r(function(e){return 1&e.compareDocumentPosition(A.createElement("div"))}),r(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||a("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),M.attributes&&r(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||a("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||a(te,function(e,t,n){var i;if(!n)return e[t]===!0?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),t}(e);ae.find=de,ae.expr=de.selectors,ae.expr[":"]=ae.expr.pseudos,ae.uniqueSort=ae.unique=de.uniqueSort,ae.text=de.getText,ae.isXMLDoc=de.isXML,ae.contains=de.contains;var ce=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&ae(e).is(n))break;i.push(e)}return i},he=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},fe=ae.expr.match.needsContext,pe=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,me=/^.[^:#\[\.,]*$/;ae.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?ae.find.matchesSelector(i,e)?[i]:[]:ae.find.matches(e,ae.grep(t,function(e){return 1===e.nodeType}))},ae.fn.extend({find:function(e){var t,n=this.length,i=[],r=this;if("string"!=typeof e)return this.pushStack(ae(e).filter(function(){for(t=0;t<n;t++)if(ae.contains(r[t],this))return!0}));for(t=0;t<n;t++)ae.find(e,r[t],i);return i=this.pushStack(n>1?ae.unique(i):i),i.selector=this.selector?this.selector+" "+e:e,i},filter:function(e){return this.pushStack(i(this,e||[],!1))},not:function(e){return this.pushStack(i(this,e||[],!0))},is:function(e){return!!i(this,"string"==typeof e&&fe.test(e)?ae(e):e||[],!1).length}});var _e,ge=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ye=ae.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||_e,"string"==typeof e){if(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:ge.exec(e),!i||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof ae?t[0]:t,ae.merge(this,ae.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:G,!0)),pe.test(i[1])&&ae.isPlainObject(t))for(i in t)ae.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return r=G.getElementById(i[2]),r&&r.parentNode&&(this.length=1,this[0]=r),this.context=G,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ae.isFunction(e)?void 0!==n.ready?n.ready(e):e(ae):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),ae.makeArray(e,this))};ye.prototype=ae.fn,_e=ae(G);var ve=/^(?:parents|prev(?:Until|All))/,be={children:!0,contents:!0,next:!0,prev:!0};ae.fn.extend({has:function(e){var t=ae(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ae.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,i=0,r=this.length,a=[],o=fe.test(e)||"string"!=typeof e?ae(e,t||this.context):0;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&ae.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?ae.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?K.call(ae(e),this[0]):K.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ae.uniqueSort(ae.merge(this.get(),ae(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ae.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ce(e,"parentNode")},parentsUntil:function(e,t,n){return ce(e,"parentNode",n)},next:function(e){return r(e,"nextSibling")},prev:function(e){return r(e,"previousSibling")},nextAll:function(e){return ce(e,"nextSibling")},prevAll:function(e){return ce(e,"previousSibling")},nextUntil:function(e,t,n){return ce(e,"nextSibling",n)},prevUntil:function(e,t,n){return ce(e,"previousSibling",n)},siblings:function(e){return he((e.parentNode||{}).firstChild,e)},children:function(e){return he(e.firstChild)},contents:function(e){return e.contentDocument||ae.merge([],e.childNodes)}},function(e,t){ae.fn[e]=function(n,i){var r=ae.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=ae.filter(i,r)),this.length>1&&(be[e]||ae.uniqueSort(r),ve.test(e)&&r.reverse()),this.pushStack(r)}});var Me=/\S+/g;ae.Callbacks=function(e){e="string"==typeof e?a(e):ae.extend({},e);var t,n,i,r,o=[],s=[],l=-1,u=function(){for(r=e.once,i=t=!0;s.length;l=-1)for(n=s.shift();++l<o.length;)o[l].apply(n[0],n[1])===!1&&e.stopOnFalse&&(l=o.length,n=!1);e.memory||(n=!1),t=!1,r&&(o=n?[]:"")},d={add:function(){return o&&(n&&!t&&(l=o.length-1,s.push(n)),function i(t){ae.each(t,function(t,n){ae.isFunction(n)?e.unique&&d.has(n)||o.push(n):n&&n.length&&"string"!==ae.type(n)&&i(n)})}(arguments),n&&!t&&u()),this},remove:function(){return ae.each(arguments,function(e,t){for(var n;(n=ae.inArray(t,o,n))>-1;)o.splice(n,1),n<=l&&l--}),this},has:function(e){return e?ae.inArray(e,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(e,n){return r||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||u()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},ae.extend({Deferred:function(e){var t=[["resolve","done",ae.Callbacks("once memory"),"resolved"],["reject","fail",ae.Callbacks("once memory"),"rejected"],["notify","progress",ae.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ae.Deferred(function(n){ae.each(t,function(t,a){var o=ae.isFunction(e[t])&&e[t];r[a[1]](function(){var e=o&&o.apply(this,arguments);e&&ae.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[a[0]+"With"](this===i?n.promise():this,o?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ae.extend(e,i):i}},r={};return i.pipe=i.then,ae.each(t,function(e,a){var o=a[2],s=a[3];i[a[1]]=o.add,s&&o.add(function(){n=s},t[1^e][2].disable,t[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),e&&e.call(r,r),r},when:function(e){var t,n,i,r=0,a=X.call(arguments),o=a.length,s=1!==o||e&&ae.isFunction(e.promise)?o:0,l=1===s?e:ae.Deferred(),u=function(e,n,i){return function(r){n[e]=this,i[e]=arguments.length>1?X.call(arguments):r,i===t?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(o>1)for(t=new Array(o),n=new Array(o),i=new Array(o);r<o;r++)a[r]&&ae.isFunction(a[r].promise)?a[r].promise().progress(u(r,n,t)).done(u(r,i,a)).fail(l.reject):--s;return s||l.resolveWith(i,a),l.promise()}});var we;ae.fn.ready=function(e){return ae.ready.promise().done(e),this},ae.extend({isReady:!1,readyWait:1,holdReady:function(e){e?ae.readyWait++:ae.ready(!0)},ready:function(e){(e===!0?--ae.readyWait:ae.isReady)||(ae.isReady=!0,e!==!0&&--ae.readyWait>0||(we.resolveWith(G,[ae]),ae.fn.triggerHandler&&(ae(G).triggerHandler("ready"),ae(G).off("ready"))))}}),ae.ready.promise=function(t){return we||(we=ae.Deferred(),"complete"===G.readyState||"loading"!==G.readyState&&!G.documentElement.doScroll?e.setTimeout(ae.ready):(G.addEventListener("DOMContentLoaded",o),e.addEventListener("load",o))),we.promise(t)},ae.ready.promise();var ke=function(e,t,n,i,r,a,o){var s=0,l=e.length,u=null==n;if("object"===ae.type(n)){r=!0;for(s in n)ke(e,t,s,n[s],!0,a,o)}else if(void 0!==i&&(r=!0,ae.isFunction(i)||(o=!0),u&&(o?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(ae(e),n)})),t))for(;s<l;s++)t(e[s],n,o?i:i.call(e[s],s,t(e[s],n)));return r?e:u?t.call(e):l?t(e[0],n):a},Le=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};s.uid=1,s.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!Le(e))return{};var t=e[this.expando];return t||(t={},Le(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[t]=n;else for(i in t)r[i]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var i;return void 0===t||t&&"string"==typeof t&&void 0===n?(i=this.get(e,t),void 0!==i?i:this.get(e,ae.camelCase(t))):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i,r,a=e[this.expando];if(void 0!==a){if(void 0===t)this.register(e);else{ae.isArray(t)?i=t.concat(t.map(ae.camelCase)):(r=ae.camelCase(t),t in a?i=[t,r]:(i=r,i=i in a?[i]:i.match(Me)||[])),n=i.length;for(;n--;)delete a[i[n]]}(void 0===t||ae.isEmptyObject(a))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ae.isEmptyObject(t)}};var xe=new s,De=new s,Te=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ye=/[A-Z]/g;ae.extend({hasData:function(e){return De.hasData(e)||xe.hasData(e)},data:function(e,t,n){return De.access(e,t,n)},removeData:function(e,t){De.remove(e,t)},_data:function(e,t,n){return xe.access(e,t,n)},_removeData:function(e,t){xe.remove(e,t)}}),ae.fn.extend({data:function(e,t){var n,i,r,a=this[0],o=a&&a.attributes;if(void 0===e){if(this.length&&(r=De.get(a),1===a.nodeType&&!xe.get(a,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&(i=o[n].name,0===i.indexOf("data-")&&(i=ae.camelCase(i.slice(5)),l(a,i,r[i])));xe.set(a,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each(function(){De.set(this,e)}):ke(this,function(t){var n,i;if(a&&void 0===t){if(n=De.get(a,e)||De.get(a,e.replace(Ye,"-$&").toLowerCase()),void 0!==n)return n;if(i=ae.camelCase(e),n=De.get(a,i),void 0!==n)return n;if(n=l(a,i,void 0),void 0!==n)return n}else i=ae.camelCase(e),this.each(function(){var n=De.get(this,i);De.set(this,i,t),e.indexOf("-")>-1&&void 0!==n&&De.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){De.remove(this,e)})}}),ae.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=xe.get(e,t),n&&(!i||ae.isArray(n)?i=xe.access(e,t,ae.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=ae.queue(e,t),i=n.length,r=n.shift(),a=ae._queueHooks(e,t),o=function(){ae.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete a.stop,r.call(e,o,a)),!i&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return xe.get(e,n)||xe.access(e,n,{empty:ae.Callbacks("once memory").add(function(){xe.remove(e,[t+"queue",n])})})}}),ae.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?ae.queue(this[0],e):void 0===t?this:this.each(function(){var n=ae.queue(this,e,t);ae._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&ae.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ae.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=ae.Deferred(),a=this,o=this.length,s=function(){--i||r.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)n=xe.get(a[o],e+"queueHooks"),n&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(t)}});var Se=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ce=new RegExp("^(?:([+-])=|)("+Se+")([a-z%]*)$","i"),He=["Top","Right","Bottom","Left"],Ae=function(e,t){return e=t||e,"none"===ae.css(e,"display")||!ae.contains(e.ownerDocument,e)},je=/^(?:checkbox|radio)$/i,Pe=/<([\w:-]+)/,Ee=/^$|\/(?:java|ecma)script/i,Ie={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,"",""]};Ie.optgroup=Ie.option,Ie.tbody=Ie.tfoot=Ie.colgroup=Ie.caption=Ie.thead,Ie.th=Ie.td;var Fe=/<|&#?\w+;/;!function(){var e=G.createDocumentFragment(),t=e.appendChild(G.createElement("div")),n=G.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),ie.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",ie.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var Oe=/^key/,We=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Re=/^([^.]*)(?:\.(.+)|)/;ae.event={global:{},add:function(e,t,n,i,r){var a,o,s,l,u,d,c,h,f,p,m,_=xe.get(e);if(_)for(n.handler&&(a=n,n=a.handler,r=a.selector),n.guid||(n.guid=ae.guid++),(l=_.events)||(l=_.events={}),(o=_.handle)||(o=_.handle=function(t){return"undefined"!=typeof ae&&ae.event.triggered!==t.type?ae.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Me)||[""],u=t.length;u--;)s=Re.exec(t[u])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f&&(c=ae.event.special[f]||{},f=(r?c.delegateType:c.bindType)||f,c=ae.event.special[f]||{},d=ae.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&ae.expr.match.needsContext.test(r),namespace:p.join(".")},a),(h=l[f])||(h=l[f]=[],h.delegateCount=0,c.setup&&c.setup.call(e,i,p,o)!==!1||e.addEventListener&&e.addEventListener(f,o)),c.add&&(c.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,d):h.push(d),ae.event.global[f]=!0)},remove:function(e,t,n,i,r){var a,o,s,l,u,d,c,h,f,p,m,_=xe.hasData(e)&&xe.get(e);if(_&&(l=_.events)){for(t=(t||"").match(Me)||[""],u=t.length;u--;)if(s=Re.exec(t[u])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f){for(c=ae.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--;)d=h[a],!r&&m!==d.origType||n&&n.guid!==d.guid||s&&!s.test(d.namespace)||i&&i!==d.selector&&("**"!==i||!d.selector)||(h.splice(a,1),d.selector&&h.delegateCount--,c.remove&&c.remove.call(e,d));o&&!h.length&&(c.teardown&&c.teardown.call(e,p,_.handle)!==!1||ae.removeEvent(e,f,_.handle),delete l[f])}else for(f in l)ae.event.remove(e,f+t[u],n,i,!0);ae.isEmptyObject(l)&&xe.remove(e,"handle events")}},dispatch:function(e){e=ae.event.fix(e);var t,n,i,r,a,o=[],s=X.call(arguments),l=(xe.get(this,"events")||{})[e.type]||[],u=ae.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,e)!==!1){for(o=ae.event.handlers.call(this,e,l),t=0;(r=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,n=0;(a=r.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(a.namespace)||(e.handleObj=a,e.data=a.data,i=((ae.event.special[a.origType]||{}).handle||a.handler).apply(r.elem,s),void 0!==i&&(e.result=i)===!1&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,r,a,o=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==e.type)){for(i=[],n=0;n<s;n++)a=t[n],r=a.selector+" ",void 0===i[r]&&(i[r]=a.needsContext?ae(r,this).index(l)>-1:ae.find(r,this,null,[l]).length),i[r]&&i.push(a);i.length&&o.push({elem:l,handlers:i})}return s<t.length&&o.push({elem:this,handlers:t.slice(s)}),o},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,r,a=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||G,i=n.documentElement,r=n.body,e.pageX=t.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),e}},fix:function(e){if(e[ae.expando])return e;var t,n,i,r=e.type,a=e,o=this.fixHooks[r];for(o||(this.fixHooks[r]=o=We.test(r)?this.mouseHooks:Oe.test(r)?this.keyHooks:{}),i=o.props?this.props.concat(o.props):this.props,e=new ae.Event(a),t=i.length;t--;)n=i[t],e[n]=a[n];return e.target||(e.target=G),3===e.target.nodeType&&(e.target=e.target.parentNode),o.filter?o.filter(e,a):e},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==m()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===m()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&ae.nodeName(this,"input"))return this.click(),!1},_default:function(e){return ae.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ae.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ae.Event=function(e,t){return this instanceof ae.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?f:p):this.type=e,t&&ae.extend(this,t),this.timeStamp=e&&e.timeStamp||ae.now(),void(this[ae.expando]=!0)):new ae.Event(e,t)},ae.Event.prototype={constructor:ae.Event,isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=f,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=f,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=f,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ae.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){ae.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,a=e.handleObj;return r&&(r===i||ae.contains(i,r))||(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}}),ae.fn.extend({on:function(e,t,n,i){return _(this,e,t,n,i)},one:function(e,t,n,i){return _(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,ae(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=p),this.each(function(){ae.event.remove(this,e,n,t)})}});var Ne=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ze=/<script|<style|<link/i,Be=/checked\s*(?:[^=]|=\s*.checked.)/i,$e=/^true\/(.*)/,Ve=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;ae.extend({htmlPrefilter:function(e){return e.replace(Ne,"<$1></$2>")},clone:function(e,t,n){var i,r,a,o,s=e.cloneNode(!0),l=ae.contains(e.ownerDocument,e);if(!(ie.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ae.isXMLDoc(e)))for(o=d(s),a=d(e),i=0,r=a.length;i<r;i++)M(a[i],o[i]);if(t)if(n)for(a=a||d(e),o=o||d(s),i=0,r=a.length;i<r;i++)b(a[i],o[i]);else b(e,s);return o=d(s,"script"),o.length>0&&c(o,!l&&d(e,"script")),s},cleanData:function(e){for(var t,n,i,r=ae.event.special,a=0;void 0!==(n=e[a]);a++)if(Le(n)){if(t=n[xe.expando]){if(t.events)for(i in t.events)r[i]?ae.event.remove(n,i):ae.removeEvent(n,i,t.handle);n[xe.expando]=void 0}n[De.expando]&&(n[De.expando]=void 0)}}}),ae.fn.extend({domManip:w,detach:function(e){return k(this,e,!0)},remove:function(e){return k(this,e)},text:function(e){return ke(this,function(e){return void 0===e?ae.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return w(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=g(this,e);t.appendChild(e)}})},prepend:function(){return w(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=g(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return w(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return w(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ae.cleanData(d(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ae.clone(this,e,t)})},html:function(e){return ke(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ze.test(e)&&!Ie[(Pe.exec(e)||["",""])[1].toLowerCase()]){e=ae.htmlPrefilter(e);try{for(;n<i;n++)t=this[n]||{},1===t.nodeType&&(ae.cleanData(d(t,!1)),t.innerHTML=e);t=0}catch(r){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return w(this,arguments,function(t){var n=this.parentNode;ae.inArray(this,e)<0&&(ae.cleanData(d(this)),n&&n.replaceChild(t,this))},e)}}),ae.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ae.fn[e]=function(e){for(var n,i=[],r=ae(e),a=r.length-1,o=0;o<=a;o++)n=o===a?this:this.clone(!0),ae(r[o])[t](n),Z.apply(i,n.get());return this.pushStack(i)}});var qe,Ue={HTML:"block",BODY:"block"},Je=/^margin/,Ge=new RegExp("^("+Se+")(?!px)[a-z%]+$","i"),Xe=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Qe=function(e,t,n,i){var r,a,o={};for(a in t)o[a]=e.style[a],e.style[a]=t[a];r=n.apply(e,i||[]);for(a in t)e.style[a]=o[a];return r},Ze=G.documentElement;!function(){function t(){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="",Ze.appendChild(o);var t=e.getComputedStyle(s);n="1%"!==t.top,a="2px"===t.marginLeft,i="4px"===t.width,s.style.marginRight="50%",r="4px"===t.marginRight,Ze.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="",ie.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),ae.extend(ie,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return null==i&&t(),i},pixelMarginRight:function(){return null==i&&t(),r},reliableMarginLeft:function(){return null==i&&t(),a},reliableMarginRight:function(){var t,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",Ze.appendChild(o),t=!parseFloat(e.getComputedStyle(n).marginRight),Ze.removeChild(o),s.removeChild(n),t}}))}();var Ke=/^(none|table(?!-c[ea]).+)/,et={position:"absolute",visibility:"hidden",display:"block"},tt={letterSpacing:"0",fontWeight:"400"},nt=["Webkit","O","Moz","ms"],it=G.createElement("div").style;ae.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=D(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,a,o,s=ae.camelCase(t),l=e.style;return t=ae.cssProps[s]||(ae.cssProps[s]=Y(s)||s),o=ae.cssHooks[t]||ae.cssHooks[s],void 0===n?o&&"get"in o&&void 0!==(r=o.get(e,!1,i))?r:l[t]:(a=typeof n,"string"===a&&(r=Ce.exec(n))&&r[1]&&(n=u(e,t,r),a="number"),null!=n&&n===n&&("number"===a&&(n+=r&&r[3]||(ae.cssNumber[s]?"":"px")),ie.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,i))||(l[t]=n)),void 0)}},css:function(e,t,n,i){var r,a,o,s=ae.camelCase(t);return t=ae.cssProps[s]||(ae.cssProps[s]=Y(s)||s),o=ae.cssHooks[t]||ae.cssHooks[s],o&&"get"in o&&(r=o.get(e,!0,n)),void 0===r&&(r=D(e,t,i)),"normal"===r&&t in tt&&(r=tt[t]),""===n||n?(a=parseFloat(r),n===!0||isFinite(a)?a||0:r):r}}),ae.each(["height","width"],function(e,t){ae.cssHooks[t]={get:function(e,n,i){if(n)return Ke.test(ae.css(e,"display"))&&0===e.offsetWidth?Qe(e,et,function(){return H(e,t,i)}):H(e,t,i)},set:function(e,n,i){var r,a=i&&Xe(e),o=i&&C(e,t,i,"border-box"===ae.css(e,"boxSizing",!1,a),a);return o&&(r=Ce.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=ae.css(e,t)),S(e,n,o)}}}),ae.cssHooks.marginLeft=T(ie.reliableMarginLeft,function(e,t){if(t)return(parseFloat(D(e,"marginLeft"))||e.getBoundingClientRect().left-Qe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ae.cssHooks.marginRight=T(ie.reliableMarginRight,function(e,t){if(t)return Qe(e,{display:"inline-block"},D,[e,"marginRight"])}),ae.each({margin:"",padding:"",border:"Width"},function(e,t){ae.cssHooks[e+t]={expand:function(n){for(var i=0,r={},a="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+He[i]+t]=a[i]||a[i-2]||a[0];return r}},Je.test(e)||(ae.cssHooks[e+t].set=S)}),ae.fn.extend({css:function(e,t){return ke(this,function(e,t,n){var i,r,a={},o=0;if(ae.isArray(t)){for(i=Xe(e),r=t.length;o<r;o++)a[t[o]]=ae.css(e,t[o],!1,i);return a}return void 0!==n?ae.style(e,t,n):ae.css(e,t)},e,t,arguments.length>1)},show:function(){return A(this,!0)},hide:function(){return A(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ae(this)?ae(this).show():ae(this).hide()})}}),ae.Tween=j,j.prototype={constructor:j,init:function(e,t,n,i,r,a){this.elem=e,this.prop=n,this.easing=r||ae.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=a||(ae.cssNumber[n]?"":"px")},cur:function(){var e=j.propHooks[this.prop];return e&&e.get?e.get(this):j.propHooks._default.get(this)},run:function(e){var t,n=j.propHooks[this.prop];return this.options.duration?this.pos=t=ae.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):j.propHooks._default.set(this),this}},j.prototype.init.prototype=j.prototype,j.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ae.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){ae.fx.step[e.prop]?ae.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[ae.cssProps[e.prop]]&&!ae.cssHooks[e.prop]?e.elem[e.prop]=e.now:ae.style(e.elem,e.prop,e.now+e.unit)}}},j.propHooks.scrollTop=j.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ae.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ae.fx=j.prototype.init,ae.fx.step={};var rt,at,ot=/^(?:toggle|show|hide)$/,st=/queueHooks$/;ae.Animation=ae.extend(W,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return u(n.elem,e,Ce.exec(t),n),n}]},tweener:function(e,t){ae.isFunction(e)?(t=e,e=["*"]):e=e.match(Me);for(var n,i=0,r=e.length;i<r;i++)n=e[i],W.tweeners[n]=W.tweeners[n]||[],W.tweeners[n].unshift(t)},prefilters:[F],prefilter:function(e,t){t?W.prefilters.unshift(e):W.prefilters.push(e)}}),ae.speed=function(e,t,n){var i=e&&"object"==typeof e?ae.extend({},e):{complete:n||!n&&t||ae.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ae.isFunction(t)&&t};return i.duration=ae.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in ae.fx.speeds?ae.fx.speeds[i.duration]:ae.fx.speeds._default,null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){ae.isFunction(i.old)&&i.old.call(this),i.queue&&ae.dequeue(this,i.queue)},i},ae.fn.extend({fadeTo:function(e,t,n,i){return this.filter(Ae).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=ae.isEmptyObject(e),a=ae.speed(t,n,i),o=function(){var t=W(this,ae.extend({},e),a);(r||xe.get(this,"finish"))&&t.stop(!0)};return o.finish=o,r||a.queue===!1?this.each(o):this.queue(a.queue,o)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",a=ae.timers,o=xe.get(this);if(r)o[r]&&o[r].stop&&i(o[r]);else for(r in o)o[r]&&o[r].stop&&st.test(r)&&i(o[r]);for(r=a.length;r--;)a[r].elem!==this||null!=e&&a[r].queue!==e||(a[r].anim.stop(n),t=!1,a.splice(r,1));!t&&n||ae.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=xe.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],a=ae.timers,o=i?i.length:0;for(n.finish=!0,ae.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<o;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),ae.each(["toggle","show","hide"],function(e,t){var n=ae.fn[t];ae.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(E(t,!0),e,i,r)}}),ae.each({slideDown:E("show"),slideUp:E("hide"),slideToggle:E("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ae.fn[e]=function(e,n,i){
|
||
return this.animate(t,e,n,i)}}),ae.timers=[],ae.fx.tick=function(){var e,t=0,n=ae.timers;for(rt=ae.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||ae.fx.stop(),rt=void 0},ae.fx.timer=function(e){ae.timers.push(e),e()?ae.fx.start():ae.timers.pop()},ae.fx.interval=13,ae.fx.start=function(){at||(at=e.setInterval(ae.fx.tick,ae.fx.interval))},ae.fx.stop=function(){e.clearInterval(at),at=null},ae.fx.speeds={slow:600,fast:200,_default:400},ae.fn.delay=function(t,n){return t=ae.fx?ae.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,i){var r=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(r)}})},function(){var e=G.createElement("input"),t=G.createElement("select"),n=t.appendChild(G.createElement("option"));e.type="checkbox",ie.checkOn=""!==e.value,ie.optSelected=n.selected,t.disabled=!0,ie.optDisabled=!n.disabled,e=G.createElement("input"),e.value="t",e.type="radio",ie.radioValue="t"===e.value}();var lt,ut=ae.expr.attrHandle;ae.fn.extend({attr:function(e,t){return ke(this,ae.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ae.removeAttr(this,e)})}}),ae.extend({attr:function(e,t,n){var i,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return"undefined"==typeof e.getAttribute?ae.prop(e,t,n):(1===a&&ae.isXMLDoc(e)||(t=t.toLowerCase(),r=ae.attrHooks[t]||(ae.expr.match.bool.test(t)?lt:void 0)),void 0!==n?null===n?void ae.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:(i=ae.find.attr(e,t),null==i?void 0:i))},attrHooks:{type:{set:function(e,t){if(!ie.radioValue&&"radio"===t&&ae.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i,r=0,a=t&&t.match(Me);if(a&&1===e.nodeType)for(;n=a[r++];)i=ae.propFix[n]||n,ae.expr.match.bool.test(n)&&(e[i]=!1),e.removeAttribute(n)}}),lt={set:function(e,t,n){return t===!1?ae.removeAttr(e,n):e.setAttribute(n,n),n}},ae.each(ae.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ut[t]||ae.find.attr;ut[t]=function(e,t,i){var r,a;return i||(a=ut[t],ut[t]=r,r=null!=n(e,t,i)?t.toLowerCase():null,ut[t]=a),r}});var dt=/^(?:input|select|textarea|button)$/i,ct=/^(?:a|area)$/i;ae.fn.extend({prop:function(e,t){return ke(this,ae.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[ae.propFix[e]||e]})}}),ae.extend({prop:function(e,t,n){var i,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&ae.isXMLDoc(e)||(t=ae.propFix[t]||t,r=ae.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=ae.find.attr(e,"tabindex");return t?parseInt(t,10):dt.test(e.nodeName)||ct.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ie.optSelected||(ae.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ae.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ae.propFix[this.toLowerCase()]=this});var ht=/[\t\r\n\f]/g;ae.fn.extend({addClass:function(e){var t,n,i,r,a,o,s,l=0;if(ae.isFunction(e))return this.each(function(t){ae(this).addClass(e.call(this,t,R(this)))});if("string"==typeof e&&e)for(t=e.match(Me)||[];n=this[l++];)if(r=R(n),i=1===n.nodeType&&(" "+r+" ").replace(ht," ")){for(o=0;a=t[o++];)i.indexOf(" "+a+" ")<0&&(i+=a+" ");s=ae.trim(i),r!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,i,r,a,o,s,l=0;if(ae.isFunction(e))return this.each(function(t){ae(this).removeClass(e.call(this,t,R(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Me)||[];n=this[l++];)if(r=R(n),i=1===n.nodeType&&(" "+r+" ").replace(ht," ")){for(o=0;a=t[o++];)for(;i.indexOf(" "+a+" ")>-1;)i=i.replace(" "+a+" "," ");s=ae.trim(i),r!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):ae.isFunction(e)?this.each(function(n){ae(this).toggleClass(e.call(this,n,R(this),t),t)}):this.each(function(){var t,i,r,a;if("string"===n)for(i=0,r=ae(this),a=e.match(Me)||[];t=a[i++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else void 0!==e&&"boolean"!==n||(t=R(this),t&&xe.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":xe.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+R(n)+" ").replace(ht," ").indexOf(t)>-1)return!0;return!1}});var ft=/\r/g,pt=/[\x20\t\r\n\f]+/g;ae.fn.extend({val:function(e){var t,n,i,r=this[0];{if(arguments.length)return i=ae.isFunction(e),this.each(function(n){var r;1===this.nodeType&&(r=i?e.call(this,n,ae(this).val()):e,null==r?r="":"number"==typeof r?r+="":ae.isArray(r)&&(r=ae.map(r,function(e){return null==e?"":e+""})),t=ae.valHooks[this.type]||ae.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))});if(r)return t=ae.valHooks[r.type]||ae.valHooks[r.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(ft,""):null==n?"":n)}}}),ae.extend({valHooks:{option:{get:function(e){var t=ae.find.attr(e,"value");return null!=t?t:ae.trim(ae.text(e)).replace(pt," ")}},select:{get:function(e){for(var t,n,i=e.options,r=e.selectedIndex,a="select-one"===e.type||r<0,o=a?null:[],s=a?r+1:i.length,l=r<0?s:a?r:0;l<s;l++)if(n=i[l],(n.selected||l===r)&&(ie.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ae.nodeName(n.parentNode,"optgroup"))){if(t=ae(n).val(),a)return t;o.push(t)}return o},set:function(e,t){for(var n,i,r=e.options,a=ae.makeArray(t),o=r.length;o--;)i=r[o],(i.selected=ae.inArray(ae.valHooks.option.get(i),a)>-1)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),ae.each(["radio","checkbox"],function(){ae.valHooks[this]={set:function(e,t){if(ae.isArray(t))return e.checked=ae.inArray(ae(e).val(),t)>-1}},ie.checkOn||(ae.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var mt=/^(?:focusinfocus|focusoutblur)$/;ae.extend(ae.event,{trigger:function(t,n,i,r){var a,o,s,l,u,d,c,h=[i||G],f=ne.call(t,"type")?t.type:t,p=ne.call(t,"namespace")?t.namespace.split("."):[];if(o=s=i=i||G,3!==i.nodeType&&8!==i.nodeType&&!mt.test(f+ae.event.triggered)&&(f.indexOf(".")>-1&&(p=f.split("."),f=p.shift(),p.sort()),u=f.indexOf(":")<0&&"on"+f,t=t[ae.expando]?t:new ae.Event(f,"object"==typeof t&&t),t.isTrigger=r?2:3,t.namespace=p.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:ae.makeArray(n,[t]),c=ae.event.special[f]||{},r||!c.trigger||c.trigger.apply(i,n)!==!1)){if(!r&&!c.noBubble&&!ae.isWindow(i)){for(l=c.delegateType||f,mt.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||e)}for(a=0;(o=h[a++])&&!t.isPropagationStopped();)t.type=a>1?l:c.bindType||f,d=(xe.get(o,"events")||{})[t.type]&&xe.get(o,"handle"),d&&d.apply(o,n),d=u&&o[u],d&&d.apply&&Le(o)&&(t.result=d.apply(o,n),t.result===!1&&t.preventDefault());return t.type=f,r||t.isDefaultPrevented()||c._default&&c._default.apply(h.pop(),n)!==!1||!Le(i)||u&&ae.isFunction(i[f])&&!ae.isWindow(i)&&(s=i[u],s&&(i[u]=null),ae.event.triggered=f,i[f](),ae.event.triggered=void 0,s&&(i[u]=s)),t.result}},simulate:function(e,t,n){var i=ae.extend(new ae.Event,n,{type:e,isSimulated:!0});ae.event.trigger(i,null,t)}}),ae.fn.extend({trigger:function(e,t){return this.each(function(){ae.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ae.event.trigger(e,t,n,!0)}}),ae.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){ae.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ae.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),ie.focusin="onfocusin"in e,ie.focusin||ae.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){ae.event.simulate(t,e.target,ae.event.fix(e))};ae.event.special[t]={setup:function(){var i=this.ownerDocument||this,r=xe.access(i,t);r||i.addEventListener(e,n,!0),xe.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=xe.access(i,t)-1;r?xe.access(i,t,r):(i.removeEventListener(e,n,!0),xe.remove(i,t))}}});var _t=e.location,gt=ae.now(),yt=/\?/;ae.parseJSON=function(e){return JSON.parse(e+"")},ae.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(i){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||ae.error("Invalid XML: "+t),n};var vt=/#.*$/,bt=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,wt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,kt=/^(?:GET|HEAD)$/,Lt=/^\/\//,xt={},Dt={},Tt="*/".concat("*"),Yt=G.createElement("a");Yt.href=_t.href,ae.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_t.href,type:"GET",isLocal:wt.test(_t.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Tt,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":ae.parseJSON,"text xml":ae.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?B(B(e,ae.ajaxSettings),t):B(ae.ajaxSettings,e)},ajaxPrefilter:N(xt),ajaxTransport:N(Dt),ajax:function(t,n){function i(t,n,i,s){var u,c,y,v,M,k=n;2!==b&&(b=2,l&&e.clearTimeout(l),r=void 0,o=s||"",w.readyState=t>0?4:0,u=t>=200&&t<300||304===t,i&&(v=$(h,w,i)),v=V(h,v,w,u),u?(h.ifModified&&(M=w.getResponseHeader("Last-Modified"),M&&(ae.lastModified[a]=M),M=w.getResponseHeader("etag"),M&&(ae.etag[a]=M)),204===t||"HEAD"===h.type?k="nocontent":304===t?k="notmodified":(k=v.state,c=v.data,y=v.error,u=!y)):(y=k,!t&&k||(k="error",t<0&&(t=0))),w.status=t,w.statusText=(n||k)+"",u?m.resolveWith(f,[c,k,w]):m.rejectWith(f,[w,k,y]),w.statusCode(g),g=void 0,d&&p.trigger(u?"ajaxSuccess":"ajaxError",[w,h,u?c:y]),_.fireWith(f,[w,k]),d&&(p.trigger("ajaxComplete",[w,h]),--ae.active||ae.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,a,o,s,l,u,d,c,h=ae.ajaxSetup({},n),f=h.context||h,p=h.context&&(f.nodeType||f.jquery)?ae(f):ae.event,m=ae.Deferred(),_=ae.Callbacks("once memory"),g=h.statusCode||{},y={},v={},b=0,M="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!s)for(s={};t=Mt.exec(o);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?o:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)g[t]=[g[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||M;return r&&r.abort(t),i(0,t),this}};if(m.promise(w).complete=_.add,w.success=w.done,w.error=w.fail,h.url=((t||h.url||_t.href)+"").replace(vt,"").replace(Lt,_t.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=ae.trim(h.dataType||"*").toLowerCase().match(Me)||[""],null==h.crossDomain){u=G.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=Yt.protocol+"//"+Yt.host!=u.protocol+"//"+u.host}catch(k){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=ae.param(h.data,h.traditional)),z(xt,h,n,w),2===b)return w;d=ae.event&&h.global,d&&0===ae.active++&&ae.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!kt.test(h.type),a=h.url,h.hasContent||(h.data&&(a=h.url+=(yt.test(a)?"&":"?")+h.data,delete h.data),h.cache===!1&&(h.url=bt.test(a)?a.replace(bt,"$1_="+gt++):a+(yt.test(a)?"&":"?")+"_="+gt++)),h.ifModified&&(ae.lastModified[a]&&w.setRequestHeader("If-Modified-Since",ae.lastModified[a]),ae.etag[a]&&w.setRequestHeader("If-None-Match",ae.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]?", "+Tt+"; 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(Dt,h,n,w)){if(w.readyState=1,d&&p.trigger("ajaxSend",[w,h]),2===b)return w;h.async&&h.timeout>0&&(l=e.setTimeout(function(){w.abort("timeout")},h.timeout));try{b=1,r.send(y,i)}catch(k){if(!(b<2))throw k;i(-1,k)}}else i(-1,"No Transport");return w},getJSON:function(e,t,n){return ae.get(e,t,n,"json")},getScript:function(e,t){return ae.get(e,void 0,t,"script")}}),ae.each(["get","post"],function(e,t){ae[t]=function(e,n,i,r){return ae.isFunction(n)&&(r=r||i,i=n,n=void 0),ae.ajax(ae.extend({url:e,type:t,dataType:r,data:n,success:i},ae.isPlainObject(e)&&e))}}),ae._evalUrl=function(e){return ae.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},ae.fn.extend({wrapAll:function(e){var t;return ae.isFunction(e)?this.each(function(t){ae(this).wrapAll(e.call(this,t))}):(this[0]&&(t=ae(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return ae.isFunction(e)?this.each(function(t){ae(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ae(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ae.isFunction(e);return this.each(function(n){ae(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ae.nodeName(this,"body")||ae(this).replaceWith(this.childNodes)}).end()}}),ae.expr.filters.hidden=function(e){return!ae.expr.filters.visible(e)},ae.expr.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0};var St=/%20/g,Ct=/\[\]$/,Ht=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;ae.param=function(e,t){var n,i=[],r=function(e,t){t=ae.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=ae.ajaxSettings&&ae.ajaxSettings.traditional),ae.isArray(e)||e.jquery&&!ae.isPlainObject(e))ae.each(e,function(){r(this.name,this.value)});else for(n in e)q(n,e[n],t,r);return i.join("&").replace(St,"+")},ae.fn.extend({serialize:function(){return ae.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ae.prop(this,"elements");return e?ae.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ae(this).is(":disabled")&&jt.test(this.nodeName)&&!At.test(e)&&(this.checked||!je.test(e))}).map(function(e,t){var n=ae(this).val();return null==n?null:ae.isArray(n)?ae.map(n,function(e){return{name:t.name,value:e.replace(Ht,"\r\n")}}):{name:t.name,value:n.replace(Ht,"\r\n")}}).get()}}),ae.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var Pt={0:200,1223:204},Et=ae.ajaxSettings.xhr();ie.cors=!!Et&&"withCredentials"in Et,ie.ajax=Et=!!Et,ae.ajaxTransport(function(t){var n,i;if(ie.cors||Et&&!t.crossDomain)return{send:function(r,a){var o,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)s[o]=t.xhrFields[o];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)s.setRequestHeader(o,r[o]);n=function(e){return function(){n&&(n=i=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(Pt[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&&e.setTimeout(function(){n&&i()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(l){if(n)throw l}},abort:function(){n&&n()}}}),ae.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ae.globalEval(e),e}}}),ae.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ae.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,r){t=ae("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),G.head.appendChild(t[0])},abort:function(){n&&n()}}}});var It=[],Ft=/(=)\?(?=&|$)|\?\?/;ae.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=It.pop()||ae.expando+"_"+gt++;return this[e]=!0,e}}),ae.ajaxPrefilter("json jsonp",function(t,n,i){var r,a,o,s=t.jsonp!==!1&&(Ft.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ft.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=ae.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ft,"$1"+r):t.jsonp!==!1&&(t.url+=(yt.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return o||ae.error(r+" was not called"),o[0]},t.dataTypes[0]="json",a=e[r],e[r]=function(){o=arguments},i.always(function(){void 0===a?ae(e).removeProp(r):e[r]=a,t[r]&&(t.jsonpCallback=n.jsonpCallback,It.push(r)),o&&ae.isFunction(a)&&a(o[0]),o=a=void 0}),"script"}),ae.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||G;var i=pe.exec(e),r=!n&&[];return i?[t.createElement(i[1])]:(i=h([e],t,r),r&&r.length&&ae(r).remove(),ae.merge([],i.childNodes))};var Ot=ae.fn.load;ae.fn.load=function(e,t,n){if("string"!=typeof e&&Ot)return Ot.apply(this,arguments);var i,r,a,o=this,s=e.indexOf(" ");return s>-1&&(i=ae.trim(e.slice(s)),e=e.slice(0,s)),ae.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),o.length>0&&ae.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){a=arguments,o.html(i?ae("<div>").append(ae.parseHTML(e)).find(i):e)}).always(n&&function(e,t){o.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},ae.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ae.fn[t]=function(e){return this.on(t,e)}}),ae.expr.filters.animated=function(e){return ae.grep(ae.timers,function(t){return e===t.elem}).length},ae.offset={setOffset:function(e,t,n){var i,r,a,o,s,l,u,d=ae.css(e,"position"),c=ae(e),h={};"static"===d&&(e.style.position="relative"),s=c.offset(),a=ae.css(e,"top"),l=ae.css(e,"left"),u=("absolute"===d||"fixed"===d)&&(a+l).indexOf("auto")>-1,u?(i=c.position(),o=i.top,r=i.left):(o=parseFloat(a)||0,r=parseFloat(l)||0),ae.isFunction(t)&&(t=t.call(e,n,ae.extend({},s))),null!=t.top&&(h.top=t.top-s.top+o),null!=t.left&&(h.left=t.left-s.left+r),"using"in t?t.using.call(e,h):c.css(h)}},ae.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){ae.offset.setOffset(this,e,t)});var t,n,i=this[0],r={top:0,left:0},a=i&&i.ownerDocument;if(a)return t=a.documentElement,ae.contains(t,i)?(r=i.getBoundingClientRect(),n=U(a),{top:r.top+n.pageYOffset-t.clientTop,left:r.left+n.pageXOffset-t.clientLeft}):r},position:function(){if(this[0]){var e,t,n=this[0],i={top:0,left:0};return"fixed"===ae.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ae.nodeName(e[0],"html")||(i=e.offset()),i.top+=ae.css(e[0],"borderTopWidth",!0),i.left+=ae.css(e[0],"borderLeftWidth",!0)),{top:t.top-i.top-ae.css(n,"marginTop",!0),left:t.left-i.left-ae.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===ae.css(e,"position");)e=e.offsetParent;return e||Ze})}}),ae.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;ae.fn[e]=function(i){return ke(this,function(e,i,r){var a=U(e);return void 0===r?a?a[t]:e[i]:void(a?a.scrollTo(n?a.pageXOffset:r,n?r:a.pageYOffset):e[i]=r)},e,i,arguments.length)}}),ae.each(["top","left"],function(e,t){ae.cssHooks[t]=T(ie.pixelPosition,function(e,n){if(n)return n=D(e,t),Ge.test(n)?ae(e).position()[t]+"px":n})}),ae.each({Height:"height",Width:"width"},function(e,t){ae.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){ae.fn[i]=function(i,r){var a=arguments.length&&(n||"boolean"!=typeof i),o=n||(i===!0||r===!0?"margin":"border");return ke(this,function(t,n,i){var r;return ae.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===i?ae.css(t,n,o):ae.style(t,n,i,o)},t,a?i:void 0,a,null)}})}),ae.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),ae.fn.andSelf=ae.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ae});var Wt=e.jQuery,Rt=e.$;return ae.noConflict=function(t){return e.$===ae&&(e.$=Rt),t&&e.jQuery===ae&&(e.jQuery=Wt),ae},t||(e.jQuery=e.$=ae),ae}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(e){"use strict";var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||t[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(jQuery),+function(e){"use strict";function t(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}e.fn.emulateTransitionEnd=function(t){var n=!1,i=this;e(this).one("bsTransitionEnd",function(){n=!0});var r=function(){n||e(i).trigger(e.support.transition.end)};return setTimeout(r,t),this},e(function(){e.support.transition=t(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var n=e(this),r=n.data("bs.alert");r||n.data("bs.alert",r=new i(this)),"string"==typeof t&&r[t].call(n)})}var n='[data-dismiss="alert"]',i=function(t){e(t).on("click",n,this.close)};i.VERSION="3.3.6",i.TRANSITION_DURATION=150,i.prototype.close=function(t){function n(){o.detach().trigger("closed.bs.alert").remove()}var r=e(this),a=r.attr("data-target");a||(a=r.attr("href"),a=a&&a.replace(/.*(?=#[^\s]*$)/,""));var o=e(a);t&&t.preventDefault(),o.length||(o=r.closest(".alert")),o.trigger(t=e.Event("close.bs.alert")),t.isDefaultPrevented()||(o.removeClass("in"),e.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n())};var r=e.fn.alert;e.fn.alert=t,e.fn.alert.Constructor=i,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.bs.alert.data-api",n,i.prototype.close)}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var i=e(this),r=i.data("bs.button"),a="object"==typeof t&&t;r||i.data("bs.button",r=new n(this,a)),"toggle"==t?r.toggle():t&&r.setState(t)})}var n=function(t,i){this.$element=e(t),this.options=e.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.3.6",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(t){var n="disabled",i=this.$element,r=i.is("input")?"val":"html",a=i.data();t+="Text",null==a.resetText&&i.data("resetText",i[r]()),setTimeout(e.proxy(function(){i[r](null==a[t]?this.options[t]:a[t]),"loadingText"==t?(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 e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(e=!1),t.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),e&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=e.fn.button;e.fn.button=t,e.fn.button.Constructor=n,e.fn.button.noConflict=function(){return e.fn.button=i,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=e(n.target);i.hasClass("btn")||(i=i.closest(".btn")),t.call(i,"toggle"),e(n.target).is('input[type="radio"]')||e(n.target).is('input[type="checkbox"]')||n.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){e(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var i=e(this),r=i.data("bs.carousel"),a=e.extend({},n.DEFAULTS,i.data(),"object"==typeof t&&t),o="string"==typeof t?t:a.slide;r||i.data("bs.carousel",r=new n(this,a)),"number"==typeof t?r.to(t):o?r[o]():a.interval&&r.pause().cycle()})}var n=function(t,n){this.$element=e(t),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",e.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.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(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},n.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},n.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t),i="prev"==e&&0===n||"next"==e&&n==this.$items.length-1;if(i&&!this.options.wrap)return t;var r="prev"==e?-1:1,a=(n+r)%this.$items.length;return this.$items.eq(a)},n.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",this.$items.eq(e))},n.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){if(!this.sliding)return this.slide("next")},n.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},n.prototype.slide=function(t,i){var r=this.$element.find(".item.active"),a=i||this.getItemForDirection(t,r),o=this.interval,s="next"==t?"left":"right",l=this;if(a.hasClass("active"))return this.sliding=!1;var u=a[0],d=e.Event("slide.bs.carousel",{relatedTarget:u,direction:s});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,o&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var c=e(this.$indicators.children()[this.getItemIndex(a)]);c&&c.addClass("active")}var h=e.Event("slid.bs.carousel",{relatedTarget:u,direction:s});return e.support.transition&&this.$element.hasClass("slide")?(a.addClass(t),a[0].offsetWidth,r.addClass(s),a.addClass(s),r.one("bsTransitionEnd",function(){a.removeClass([t,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=e.fn.carousel;e.fn.carousel=t,e.fn.carousel.Constructor=n,e.fn.carousel.noConflict=function(){return e.fn.carousel=i,this};var r=function(n){var i,r=e(this),a=e(r.attr("data-target")||(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(a.hasClass("carousel")){var o=e.extend({},a.data(),r.data()),s=r.attr("data-slide-to");s&&(o.interval=!1),t.call(a,o),s&&a.data("bs.carousel").to(s),n.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r),e(window).on("load",function(){e('[data-ride="carousel"]').each(function(){var n=e(this);t.call(n,n.data())})})}(jQuery),+function(e){"use strict";function t(t){var n,i=t.attr("data-target")||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return e(i)}function n(t){return this.each(function(){var n=e(this),r=n.data("bs.collapse"),a=e.extend({},i.DEFAULTS,n.data(),"object"==typeof t&&t);!r&&a.toggle&&/show|hide/.test(t)&&(a.toggle=!1),r||n.data("bs.collapse",r=new i(this,a)),"string"==typeof t&&r[t]()})}var i=function(t,n){this.$element=e(t),this.options=e.extend({},i.DEFAULTS,n),this.$trigger=e('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.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 e=this.$element.hasClass("width");return e?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(r&&r.length&&(t=r.data("bs.collapse"),t&&t.transitioning))){var a=e.Event("show.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){r&&r.length&&(n.call(r,"hide"),t||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(!e.support.transition)return s.call(this);var l=e.camelCase(["scroll",o].join("-"));this.$element.one("bsTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[o](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){
|
||
var t=e.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.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 e.support.transition?void this.$element[n](0).one("bsTransitionEnd",e.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 e(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(n,i){var r=e(i);this.addAriaAndCollapsedClass(t(r),r)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var r=e.fn.collapse;e.fn.collapse=n,e.fn.collapse.Constructor=i,e.fn.collapse.noConflict=function(){return e.fn.collapse=r,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var r=e(this);r.attr("data-target")||i.preventDefault();var a=t(r),o=a.data("bs.collapse"),s=o?"toggle":r.data();n.call(a,s)})}(jQuery),+function(e){"use strict";function t(t){var n=t.attr("data-target");n||(n=t.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&e(n);return i&&i.length?i:t.parent()}function n(n){n&&3===n.which||(e(r).remove(),e(a).each(function(){var i=e(this),r=t(i),a={relatedTarget:this};r.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&e.contains(r[0],n.target)||(r.trigger(n=e.Event("hide.bs.dropdown",a)),n.isDefaultPrevented()||(i.attr("aria-expanded","false"),r.removeClass("open").trigger(e.Event("hidden.bs.dropdown",a)))))}))}function i(t){return this.each(function(){var n=e(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new o(this)),"string"==typeof t&&i[t].call(n)})}var r=".dropdown-backdrop",a='[data-toggle="dropdown"]',o=function(t){e(t).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.6",o.prototype.toggle=function(i){var r=e(this);if(!r.is(".disabled, :disabled")){var a=t(r),o=a.hasClass("open");if(n(),!o){"ontouchstart"in document.documentElement&&!a.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",n);var s={relatedTarget:this};if(a.trigger(i=e.Event("show.bs.dropdown",s)),i.isDefaultPrevented())return;r.trigger("focus").attr("aria-expanded","true"),a.toggleClass("open").trigger(e.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=e(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var r=t(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 u=l.index(n.target);38==n.which&&u>0&&u--,40==n.which&&u<l.length-1&&u++,~u||(u=0),l.eq(u).trigger("focus")}}}};var s=e.fn.dropdown;e.fn.dropdown=i,e.fn.dropdown.Constructor=o,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=s,this},e(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.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(e){"use strict";function t(t,i){return this.each(function(){var r=e(this),a=r.data("bs.modal"),o=e.extend({},n.DEFAULTS,r.data(),"object"==typeof t&&t);a||r.data("bs.modal",a=new n(this,o)),"string"==typeof t?a[t](i):o.show&&a.show(i)})}var n=function(t,n){this.options=n,this.$body=e(document.body),this.$element=e(t),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,e.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(e){return this.isShown?this.hide():this.show(e)},n.prototype.show=function(t){var i=this,r=e.Event("show.bs.modal",{relatedTarget:t});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"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(t){e(t.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var r=e.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=e.Event("shown.bs.modal",{relatedTarget:t});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(t){t&&t.preventDefault(),t=e.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),e(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"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy(function(e){this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy(function(e){27==e.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(t){var i=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var a=e.support.transition&&r;if(this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+r).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy(function(e){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),a&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;a?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var o=function(){i.removeBackdrop(),t&&t()};e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):o()}else t&&t()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",e+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},n.prototype.measureScrollbar=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var t=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),t};var i=e.fn.modal;e.fn.modal=t,e.fn.modal.Constructor=n,e.fn.modal.noConflict=function(){return e.fn.modal=i,this},e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var i=e(this),r=i.attr("href"),a=e(i.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),o=a.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},a.data(),i.data());i.is("a")&&n.preventDefault(),a.one("show.bs.modal",function(e){e.isDefaultPrevented()||a.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),t.call(a,o,this)})}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var i=e(this),r=i.data("bs.tooltip"),a="object"==typeof t&&t;!r&&/destroy|hide/.test(t)||(r||i.data("bs.tooltip",r=new n(this,a)),"string"==typeof t&&r[t]())})}var n=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};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(t,n,i){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&e(e.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,e.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,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(t){return t=e.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},n.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,i){n[e]!=i&&(t[e]=i)}),t},n.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusin"==t.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 e in this.inState)if(this.inState[e])return!0;return!1},n.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusout"==t.type?"focus":"hover"]=!1),!n.isInStateTrue())return 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 t=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var i=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.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,u=l.test(s);u&&(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 d=this.getPosition(),c=a[0].offsetWidth,h=a[0].offsetHeight;if(u){var f=s,p=this.getPosition(this.$viewport);s="bottom"==s&&d.bottom+h>p.bottom?"top":"top"==s&&d.top-h<p.top?"bottom":"right"==s&&d.right+c>p.width?"left":"left"==s&&d.left-c<p.left?"right":s,a.removeClass(f).addClass(s)}var m=this.getCalculatedOffset(s,d,c,h);this.applyPlacement(m,s);var _=function(){var e=r.hoverState;r.$element.trigger("shown.bs."+r.type),r.hoverState=null,"out"==e&&r.leave(r)};e.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",_).emulateTransitionEnd(n.TRANSITION_DURATION):_()}},n.prototype.applyPlacement=function(t,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),t.top+=o,t.left+=s,e.offset.setOffset(i[0],e.extend({using:function(e){i.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),i.addClass("in");var l=i[0].offsetWidth,u=i[0].offsetHeight;"top"==n&&u!=a&&(t.top=t.top+a-u);var d=this.getViewportAdjustedDelta(n,t,l,u);d.left?t.left+=d.left:t.top+=d.top;var c=/top|bottom/.test(n),h=c?2*d.left-r+l:2*d.top-a+u,f=c?"offsetWidth":"offsetHeight";i.offset(t),this.replaceArrow(h,i[0][f],c)},n.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},n.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},n.prototype.hide=function(t){function i(){"in"!=r.hoverState&&a.detach(),r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),t&&t()}var r=this,a=e(this.$tip),o=e.Event("hide.bs."+this.type);if(this.$element.trigger(o),!o.isDefaultPrevented())return a.removeClass("in"),e.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i(),this.hoverState=null,this},n.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(t){t=t||this.$element;var n=t[0],i="BODY"==n.tagName,r=n.getBoundingClientRect();null==r.width&&(r=e.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var a=i?{top:0,left:0}:t.offset(),o={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},s=i?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},r,o,s,a)},n.prototype.getCalculatedOffset=function(e,t,n,i){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-i,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-i/2,left:t.left-n}:{top:t.top+t.height/2-i/2,left:t.left+t.width}},n.prototype.getViewportAdjustedDelta=function(e,t,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(e)){var s=t.top-a-o.scroll,l=t.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 u=t.left-a,d=t.left+a+n;u<o.left?r.left=o.left-u:d>o.right&&(r.left=o.left+o.width-d)}return r},n.prototype.getTitle=function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||("function"==typeof n.title?n.title.call(t[0]):n.title)},n.prototype.getUID=function(e){do e+=~~(1e6*Math.random());while(document.getElementById(e));return e},n.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(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(t){var n=this;t&&(n=e(t.currentTarget).data("bs."+this.type),n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),t?(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 e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null})};var i=e.fn.tooltip;e.fn.tooltip=t,e.fn.tooltip.Constructor=n,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=i,this}}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var i=e(this),r=i.data("bs.popover"),a="object"==typeof t&&t;!r&&/destroy|hide/.test(t)||(r||i.data("bs.popover",r=new n(this,a)),"string"==typeof t&&r[t]())})}var n=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.6",n.DEFAULTS=e.extend({},e.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=e.extend({},e.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=e.fn.popover;e.fn.popover=t,e.fn.popover.Constructor=n,e.fn.popover.noConflict=function(){return e.fn.popover=i,this}}(jQuery),+function(e){"use strict";function t(n,i){this.$body=e(document.body),this.$scrollElement=e(e(n).is(document.body)?window:n),this.options=e.extend({},t.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",e.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var i=e(this),r=i.data("bs.scrollspy"),a="object"==typeof n&&n;r||i.data("bs.scrollspy",r=new t(this,a)),"string"==typeof n&&r[n]()})}t.VERSION="3.3.6",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var t=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=e(this),r=t.data("target")||t.attr("href"),a=/^#./.test(r)&&e(r);return a&&a.length&&a.is(":visible")&&[[a[n]().top+i,r]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},t.prototype.process=function(){var e,t=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(),t>=i)return o!=(e=a[a.length-1])&&this.activate(e);if(o&&t<r[0])return this.activeTarget=null,this.clear();for(e=r.length;e--;)o!=a[e]&&t>=r[e]&&(void 0===r[e+1]||t<r[e+1])&&this.activate(a[e])},t.prototype.activate=function(t){this.activeTarget=t,this.clear();var n=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=e(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},t.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=e.fn.scrollspy;e.fn.scrollspy=n,e.fn.scrollspy.Constructor=t,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=i,this},e(window).on("load.bs.scrollspy.data-api",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);n.call(t,t.data())})})}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var i=e(this),r=i.data("bs.tab");r||i.data("bs.tab",r=new n(this)),"string"==typeof t&&r[t]()})}var n=function(t){this.element=e(t)};n.VERSION="3.3.6",n.TRANSITION_DURATION=150,n.prototype.show=function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),i=t.data("target");if(i||(i=t.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var r=n.find(".active:last a"),a=e.Event("hide.bs.tab",{relatedTarget:t[0]}),o=e.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(a),t.trigger(o),!o.isDefaultPrevented()&&!a.isDefaultPrevented()){var s=e(i);this.activate(t.closest("li"),n),this.activate(s,s.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:r[0]})})}}},n.prototype.activate=function(t,i,r){function a(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),r&&r()}var o=i.find("> .active"),s=r&&e.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=e.fn.tab;e.fn.tab=t,e.fn.tab.Constructor=n,e.fn.tab.noConflict=function(){return e.fn.tab=i,this};var r=function(n){n.preventDefault(),t.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var i=e(this),r=i.data("bs.affix"),a="object"==typeof t&&t;r||i.data("bs.affix",r=new n(this,a)),"string"==typeof t&&r[t]()})}var n=function(t,i){this.options=e.extend({},n.DEFAULTS,i),this.$target=e(this.options.target).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(t),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(e,t,n,i){var r=this.$target.scrollTop(),a=this.$element.offset(),o=this.$target.height();if(null!=n&&"top"==this.affixed)return r<n&&"top";if("bottom"==this.affixed)return null!=n?!(r+this.unpin<=a.top)&&"bottom":!(r+o<=e-i)&&"bottom";var s=null==this.affixed,l=s?r:a.top,u=s?o:t;return null!=n&&r<=n?"top":null!=i&&l+u>=e-i&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},n.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),i=this.options.offset,r=i.top,a=i.bottom,o=Math.max(e(document).height(),e(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,t,r,a);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),u=e.Event(l+".bs.affix");if(this.$element.trigger(u),u.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-t-a})}};var i=e.fn.affix;e.fn.affix=t,e.fn.affix.Constructor=n,e.fn.affix.noConflict=function(){return e.fn.affix=i,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var n=e(this),i=n.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),t.call(n,i)})})}(jQuery),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";function e(){return ir.apply(null,arguments)}function t(e){ir=e}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function r(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function o(e,t){for(var n in t)a(t,n)&&(e[n]=t[n]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function s(e,t,n,i){return Ee(e,t,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 u(e){return null==e._pf&&(e._pf=l()),e._pf}function d(e){if(null==e._isValid){var t=u(e),n=rr.call(t.parsedDateParts,function(e){return null!=e});e._isValid=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(e._isValid=e._isValid&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)}return e._isValid}function c(e){var t=s(NaN);return null!=e?o(u(t),e):u(t).userInvalidated=!0,t}function h(e){return void 0===e}function f(e,t){var n,i,r;if(h(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),h(t._i)||(e._i=t._i),h(t._f)||(e._f=t._f),h(t._l)||(e._l=t._l),h(t._strict)||(e._strict=t._strict),h(t._tzm)||(e._tzm=t._tzm),h(t._isUTC)||(e._isUTC=t._isUTC),h(t._offset)||(e._offset=t._offset),h(t._pf)||(e._pf=u(t)),h(t._locale)||(e._locale=t._locale),ar.length>0)for(n in ar)i=ar[n],r=t[i],h(r)||(e[i]=r);return e}function p(t){f(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),or===!1&&(or=!0,e.updateOffset(this),or=!1)}function m(e){return e instanceof p||null!=e&&null!=e._isAMomentObject}function _(e){return e<0?Math.ceil(e):Math.floor(e)}function g(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=_(t)),n}function y(e,t,n){var i,r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&g(e[i])!==g(t[i]))&&o++;return o+a}function v(t){e.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn}function b(t,n){var i=!0;return o(function(){return null!=e.deprecationHandler&&e.deprecationHandler(null,t),i&&(v(t+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),i=!1),n.apply(this,arguments)},n)}function M(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),sr[t]||(v(n),sr[t]=!0)}function w(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function k(e){return"[object Object]"===Object.prototype.toString.call(e)}function L(e){var t,n;for(n in e)t=e[n],w(t)?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function x(e,t){var n,i=o({},e);for(n in t)a(t,n)&&(k(e[n])&&k(t[n])?(i[n]={},o(i[n],e[n]),o(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);return i}function D(e){null!=e&&this.set(e)}function T(e){return e?e.toLowerCase().replace("_","-"):e}function Y(e){for(var t,n,i,r,a=0;a<e.length;){for(r=T(e[a]).split("-"),t=r.length,n=T(e[a+1]),n=n?n.split("-"):null;t>0;){if(i=S(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&y(r,n,!0)>=t-1)break;t--}a++}return null}function S(e){var t=null;if(!cr[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=ur._abbr,require("./locale/"+e),C(t)}catch(n){}return cr[e]}function C(e,t){var n;return e&&(n=h(t)?j(e):H(e,t),n&&(ur=n)),ur._abbr}function H(e,t){return null!==t?(t.abbr=e,null!=cr[e]?(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"),t=x(cr[e]._config,t)):null!=t.parentLocale&&(null!=cr[t.parentLocale]?t=x(cr[t.parentLocale]._config,t):M("parentLocaleUndefined","specified parentLocale is not defined yet")),cr[e]=new D(t),C(e),cr[e]):(delete cr[e],null)}function A(e,t){if(null!=t){var n;null!=cr[e]&&(t=x(cr[e]._config,t)),n=new D(t),n.parentLocale=cr[e],cr[e]=n,C(e)}else null!=cr[e]&&(null!=cr[e].parentLocale?cr[e]=cr[e].parentLocale:null!=cr[e]&&delete cr[e]);return cr[e]}function j(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ur;if(!n(e)){if(t=S(e))return t;e=[e]}return Y(e)}function P(){return lr(cr)}function E(e,t){var n=e.toLowerCase();hr[n]=hr[n+"s"]=hr[t]=e}function I(e){return"string"==typeof e?hr[e]||hr[e.toLowerCase()]:void 0}function F(e){var t,n,i={};for(n in e)a(e,n)&&(t=I(n),t&&(i[t]=e[n]));return i}function O(t,n){return function(i){return null!=i?(R(this,t,i),e.updateOffset(this,n),this):W(this,t)}}function W(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function R(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n);
|
||
}function N(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(e=I(e),w(this[e]))return this[e](t);return this}function z(e,t,n){var i=""+Math.abs(e),r=t-i.length,a=e>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function B(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(_r[e]=r),t&&(_r[t[0]]=function(){return z(r.apply(this,arguments),t[1],t[2])}),n&&(_r[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function $(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function V(e){var t,n,i=e.match(fr);for(t=0,n=i.length;t<n;t++)_r[i[t]]?i[t]=_r[i[t]]:i[t]=$(i[t]);return function(t){var r,a="";for(r=0;r<n;r++)a+=i[r]instanceof Function?i[r].call(t,e):i[r];return a}}function q(e,t){return e.isValid()?(t=U(t,e.localeData()),mr[t]=mr[t]||V(t),mr[t](e)):e.localeData().invalidDate()}function U(e,t){function n(e){return t.longDateFormat(e)||e}var i=5;for(pr.lastIndex=0;i>=0&&pr.test(e);)e=e.replace(pr,n),pr.lastIndex=0,i-=1;return e}function J(e,t,n){Pr[e]=w(t)?t:function(e,i){return e&&n?n:t}}function G(e,t){return a(Pr,e)?Pr[e](t._strict,t._locale):new RegExp(X(e))}function X(e){return Q(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r}))}function Q(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Z(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(i=function(e,n){n[t]=g(e)}),n=0;n<e.length;n++)Er[e[n]]=i}function K(e,t){Z(e,function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)})}function ee(e,t,n){null!=t&&a(Er,e)&&Er[e](t,n._a,n,e)}function te(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function ne(e,t){return n(this._months)?this._months[e.month()]:this._months[Vr.test(t)?"format":"standalone"][e.month()]}function ie(e,t){return n(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Vr.test(t)?"format":"standalone"][e.month()]}function re(e,t,n){var i,r,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=s([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?(r=dr.call(this._shortMonthsParse,o),r!==-1?r:null):(r=dr.call(this._longMonthsParse,o),r!==-1?r:null):"MMM"===t?(r=dr.call(this._shortMonthsParse,o),r!==-1?r:(r=dr.call(this._longMonthsParse,o),r!==-1?r:null)):(r=dr.call(this._longMonthsParse,o),r!==-1?r:(r=dr.call(this._shortMonthsParse,o),r!==-1?r:null))}function ae(e,t,n){var i,r,a;if(this._monthsParseExact)return re.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;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"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}}function oe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=g(t);else if(t=e.localeData().monthsParse(t),"number"!=typeof t)return e;return n=Math.min(e.date(),te(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function se(t){return null!=t?(oe(this,t),e.updateOffset(this,!0),this):W(this,"Month")}function le(){return te(this.year(),this.month())}function ue(e){return this._monthsParseExact?(a(this,"_monthsRegex")||ce.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}function de(e){return this._monthsParseExact?(a(this,"_monthsRegex")||ce.call(this),e?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}function ce(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],a=[];for(t=0;t<12;t++)n=s([2e3,t]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(i.sort(e),r.sort(e),a.sort(e),t=0;t<12;t++)i[t]=Q(i[t]),r[t]=Q(r[t]),a[t]=Q(a[t]);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 he(e){var t,n=e._a;return n&&u(e).overflow===-2&&(t=n[Fr]<0||n[Fr]>11?Fr:n[Or]<1||n[Or]>te(n[Ir],n[Fr])?Or:n[Wr]<0||n[Wr]>24||24===n[Wr]&&(0!==n[Rr]||0!==n[Nr]||0!==n[zr])?Wr:n[Rr]<0||n[Rr]>59?Rr:n[Nr]<0||n[Nr]>59?Nr:n[zr]<0||n[zr]>999?zr:-1,u(e)._overflowDayOfYear&&(t<Ir||t>Or)&&(t=Or),u(e)._overflowWeeks&&t===-1&&(t=Br),u(e)._overflowWeekday&&t===-1&&(t=$r),u(e).overflow=t),e}function fe(e){var t,n,i,r,a,o,s=e._i,l=Xr.exec(s)||Qr.exec(s);if(l){for(u(e).iso=!0,t=0,n=Kr.length;t<n;t++)if(Kr[t][1].exec(l[1])){r=Kr[t][0],i=Kr[t][2]!==!1;break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=ea.length;t<n;t++)if(ea[t][1].exec(l[3])){a=(l[2]||" ")+ea[t][0];break}if(null==a)return void(e._isValid=!1)}if(!i&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Zr.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=r+(a||"")+(o||""),Ye(e)}else e._isValid=!1}function pe(t){var n=ta.exec(t._i);return null!==n?void(t._d=new Date((+n[1]))):(fe(t),void(t._isValid===!1&&(delete t._isValid,e.createFromInputFallback(t))))}function me(e,t,n,i,r,a,o){var s=new Date(e,t,n,i,r,a,o);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function _e(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ge(e){return ye(e)?366:365}function ye(e){return e%4===0&&e%100!==0||e%400===0}function ve(){return ye(this.year())}function be(e,t,n){var i=7+t-n,r=(7+_e(e,0,i).getUTCDay()-t)%7;return-r+i-1}function Me(e,t,n,i,r){var a,o,s=(7+n-i)%7,l=be(e,i,r),u=1+7*(t-1)+s+l;return u<=0?(a=e-1,o=ge(a)+u):u>ge(e)?(a=e+1,o=u-ge(e)):(a=e,o=u),{year:a,dayOfYear:o}}function we(e,t,n){var i,r,a=be(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?(r=e.year()-1,i=o+ke(r,t,n)):o>ke(e.year(),t,n)?(i=o-ke(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function ke(e,t,n){var i=be(e,t,n),r=be(e+1,t,n);return(ge(e)-i+r)/7}function Le(e,t,n){return null!=e?e:null!=t?t:n}function xe(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function De(e){var t,n,i,r,a=[];if(!e._d){for(i=xe(e),e._w&&null==e._a[Or]&&null==e._a[Fr]&&Te(e),e._dayOfYear&&(r=Le(e._a[Ir],i[Ir]),e._dayOfYear>ge(r)&&(u(e)._overflowDayOfYear=!0),n=_e(r,0,e._dayOfYear),e._a[Fr]=n.getUTCMonth(),e._a[Or]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=i[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Wr]&&0===e._a[Rr]&&0===e._a[Nr]&&0===e._a[zr]&&(e._nextDay=!0,e._a[Wr]=0),e._d=(e._useUTC?_e:me).apply(null,a),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Wr]=24)}}function Te(e){var t,n,i,r,a,o,s,l;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(a=1,o=4,n=Le(t.GG,e._a[Ir],we(Ie(),1,4).year),i=Le(t.W,1),r=Le(t.E,1),(r<1||r>7)&&(l=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,n=Le(t.gg,e._a[Ir],we(Ie(),a,o).year),i=Le(t.w,1),null!=t.d?(r=t.d,(r<0||r>6)&&(l=!0)):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(l=!0)):r=a),i<1||i>ke(n,a,o)?u(e)._overflowWeeks=!0:null!=l?u(e)._overflowWeekday=!0:(s=Me(n,i,r,a,o),e._a[Ir]=s.year,e._dayOfYear=s.dayOfYear)}function Ye(t){if(t._f===e.ISO_8601)return void fe(t);t._a=[],u(t).empty=!0;var n,i,r,a,o,s=""+t._i,l=s.length,d=0;for(r=U(t._f,t._locale).match(fr)||[],n=0;n<r.length;n++)a=r[n],i=(s.match(G(a,t))||[])[0],i&&(o=s.substr(0,s.indexOf(i)),o.length>0&&u(t).unusedInput.push(o),s=s.slice(s.indexOf(i)+i.length),d+=i.length),_r[a]?(i?u(t).empty=!1:u(t).unusedTokens.push(a),ee(a,i,t)):t._strict&&!i&&u(t).unusedTokens.push(a);u(t).charsLeftOver=l-d,s.length>0&&u(t).unusedInput.push(s),u(t).bigHour===!0&&t._a[Wr]<=12&&t._a[Wr]>0&&(u(t).bigHour=void 0),u(t).parsedDateParts=t._a.slice(0),u(t).meridiem=t._meridiem,t._a[Wr]=Se(t._locale,t._a[Wr],t._meridiem),De(t),he(t)}function Se(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(i=e.isPM(n),i&&t<12&&(t+=12),i||12!==t||(t=0),t):t}function Ce(e){var t,n,i,r,a;if(0===e._f.length)return u(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)a=0,t=f({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Ye(t),d(t)&&(a+=u(t).charsLeftOver,a+=10*u(t).unusedTokens.length,u(t).score=a,(null==i||a<i)&&(i=a,n=t));o(e,n||t)}function He(e){if(!e._d){var t=F(e._i);e._a=r([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),De(e)}}function Ae(e){var t=new p(he(je(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function je(e){var t=e._i,r=e._f;return e._locale=e._locale||j(e._l),null===t||void 0===r&&""===t?c({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),m(t)?new p(he(t)):(n(r)?Ce(e):r?Ye(e):i(t)?e._d=t:Pe(e),d(e)||(e._d=null),e))}function Pe(t){var a=t._i;void 0===a?t._d=new Date(e.now()):i(a)?t._d=new Date(a.valueOf()):"string"==typeof a?pe(t):n(a)?(t._a=r(a.slice(0),function(e){return parseInt(e,10)}),De(t)):"object"==typeof a?He(t):"number"==typeof a?t._d=new Date(a):e.createFromInputFallback(t)}function Ee(e,t,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=e,a._f=t,a._strict=i,Ae(a)}function Ie(e,t,n,i){return Ee(e,t,n,i,!1)}function Fe(e,t){var i,r;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return Ie();for(i=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](i)||(i=t[r]);return i}function Oe(){var e=[].slice.call(arguments,0);return Fe("isBefore",e)}function We(){var e=[].slice.call(arguments,0);return Fe("isAfter",e)}function Re(e){var t=F(e),n=t.year||0,i=t.quarter||0,r=t.month||0,a=t.week||0,o=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,d=t.millisecond||0;this._milliseconds=+d+1e3*u+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 Ne(e){return e instanceof Re}function ze(e,t){B(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+z(~~(e/60),2)+t+z(~~e%60,2)})}function Be(e,t){var n=(t||"").match(e)||[],i=n[n.length-1]||[],r=(i+"").match(oa)||["-",0,0],a=+(60*r[1])+g(r[2]);return"+"===r[0]?a:-a}function $e(t,n){var r,a;return n._isUTC?(r=n.clone(),a=(m(t)||i(t)?t.valueOf():Ie(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+a),e.updateOffset(r,!1),r):Ie(t).local()}function Ve(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function qe(t,n){var i,r=this._offset||0;return this.isValid()?null!=t?("string"==typeof t?t=Be(Hr,t):Math.abs(t)<16&&(t=60*t),!this._isUTC&&n&&(i=Ve(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!n||this._changeInProgress?ut(this,it(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?r:Ve(this):null!=t?this:NaN}function Ue(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Je(e){return this.utcOffset(0,e)}function Ge(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ve(this),"m")),this}function Xe(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Be(Cr,this._i)),this}function Qe(e){return!!this.isValid()&&(e=e?Ie(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function Ze(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ke(){if(!h(this._isDSTShifted))return this._isDSTShifted;var e={};if(f(e,this),e=je(e),e._a){var t=e._isUTC?s(e._a):Ie(e._a);this._isDSTShifted=this.isValid()&&y(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function et(){return!!this.isValid()&&!this._isUTC}function tt(){return!!this.isValid()&&this._isUTC}function nt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function it(e,t){var n,i,r,o=e,s=null;return Ne(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(s=sa.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:g(s[Or])*n,h:g(s[Wr])*n,m:g(s[Rr])*n,s:g(s[Nr])*n,ms:g(s[zr])*n}):(s=la.exec(e))?(n="-"===s[1]?-1:1,o={y:rt(s[2],n),M:rt(s[3],n),w:rt(s[4],n),d:rt(s[5],n),h:rt(s[6],n),m:rt(s[7],n),s:rt(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=ot(Ie(o.from),Ie(o.to)),o={},o.ms=r.milliseconds,o.M=r.months),i=new Re(o),Ne(e)&&a(e,"_locale")&&(i._locale=e._locale),i}function rt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function at(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function ot(e,t){var n;return e.isValid()&&t.isValid()?(t=$e(t,e),e.isBefore(t)?n=at(e,t):(n=at(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function st(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function lt(e,t){return function(n,i){var r,a;return null===i||isNaN(+i)||(M(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),a=n,n=i,i=a),n="string"==typeof n?+n:n,r=it(n,i),ut(this,r,e),this}}function ut(t,n,i,r){var a=n._milliseconds,o=st(n._days),s=st(n._months);t.isValid()&&(r=null==r||r,a&&t._d.setTime(t._d.valueOf()+a*i),o&&R(t,"Date",W(t,"Date")+o*i),s&&oe(t,W(t,"Month")+s*i),r&&e.updateOffset(t,o||s))}function dt(e,t){var n=e||Ie(),i=$e(n,this).startOf("day"),r=this.diff(i,"days",!0),a=r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse",o=t&&(w(t[a])?t[a]():t[a]);return this.format(o||this.localeData().calendar(a,this,Ie(n)))}function ct(){return new p(this)}function ht(e,t){var n=m(e)?e:Ie(e);return!(!this.isValid()||!n.isValid())&&(t=I(h(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function ft(e,t){var n=m(e)?e:Ie(e);return!(!this.isValid()||!n.isValid())&&(t=I(h(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function pt(e,t,n,i){return i=i||"()",("("===i[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))}function mt(e,t){var n,i=m(e)?e:Ie(e);return!(!this.isValid()||!i.isValid())&&(t=I(t||"millisecond"),"millisecond"===t?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function _t(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function gt(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function yt(e,t,n){var i,r,a,o;return this.isValid()?(i=$e(e,this),i.isValid()?(r=6e4*(i.utcOffset()-this.utcOffset()),t=I(t),"year"===t||"month"===t||"quarter"===t?(o=vt(this,i),"quarter"===t?o/=3:"year"===t&&(o/=12)):(a=this-i,o="second"===t?a/1e3:"minute"===t?a/6e4:"hour"===t?a/36e5:"day"===t?(a-r)/864e5:"week"===t?(a-r)/6048e5:a),n?o:_(o)):NaN):NaN}function vt(e,t){var n,i,r=12*(t.year()-e.year())+(t.month()-e.month()),a=e.clone().add(r,"months");return t-a<0?(n=e.clone().add(r-1,"months"),i=(t-a)/(a-n)):(n=e.clone().add(r+1,"months"),i=(t-a)/(n-a)),-(r+i)||0}function bt(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Mt(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?w(Date.prototype.toISOString)?this.toDate().toISOString():q(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):q(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function wt(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=q(this,t);return this.localeData().postformat(n)}function kt(e,t){return this.isValid()&&(m(e)&&e.isValid()||Ie(e).isValid())?it({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Lt(e){return this.from(Ie(),e)}function xt(e,t){return this.isValid()&&(m(e)&&e.isValid()||Ie(e).isValid())?it({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Dt(e){return this.to(Ie(),e)}function Tt(e){var t;return void 0===e?this._locale._abbr:(t=j(e),null!=t&&(this._locale=t),this)}function Yt(){return this._locale}function St(e){switch(e=I(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function Ct(e){return e=I(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function Ht(){return this._d.valueOf()-6e4*(this._offset||0)}function At(){return Math.floor(this.valueOf()/1e3)}function jt(){return this._offset?new Date(this.valueOf()):this._d}function Pt(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Et(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function It(){return this.isValid()?this.toISOString():null}function Ft(){return d(this)}function Ot(){return o({},u(this))}function Wt(){return u(this).overflow}function Rt(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Nt(e,t){B(0,[e,e.length],0,t)}function zt(e){return qt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Bt(e){return qt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function $t(){return ke(this.year(),1,4)}function Vt(){var e=this.localeData()._week;return ke(this.year(),e.dow,e.doy)}function qt(e,t,n,i,r){var a;return null==e?we(this,i,r).year:(a=ke(e,i,r),t>a&&(t=a),Ut.call(this,e,t,n,i,r))}function Ut(e,t,n,i,r){var a=Me(e,t,n,i,r),o=_e(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function Jt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Gt(e){return we(e,this._week.dow,this._week.doy).week}function Xt(){return this._week.dow}function Qt(){return this._week.doy}function Zt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Kt(e){var t=we(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function en(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function tn(e,t){return n(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]}function nn(e){return this._weekdaysShort[e.day()]}function rn(e){return this._weekdaysMin[e.day()]}function an(e,t,n){var i,r,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++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"===t?(r=dr.call(this._weekdaysParse,o),r!==-1?r:null):"ddd"===t?(r=dr.call(this._shortWeekdaysParse,o),r!==-1?r:null):(r=dr.call(this._minWeekdaysParse,o),r!==-1?r:null):"dddd"===t?(r=dr.call(this._weekdaysParse,o),r!==-1?r:(r=dr.call(this._shortWeekdaysParse,o),r!==-1?r:(r=dr.call(this._minWeekdaysParse,o),r!==-1?r:null))):"ddd"===t?(r=dr.call(this._shortWeekdaysParse,o),r!==-1?r:(r=dr.call(this._weekdaysParse,o),r!==-1?r:(r=dr.call(this._minWeekdaysParse,o),r!==-1?r:null))):(r=dr.call(this._minWeekdaysParse,o),r!==-1?r:(r=dr.call(this._weekdaysParse,o),r!==-1?r:(r=dr.call(this._shortWeekdaysParse,o),r!==-1?r:null)))}function on(e,t,n){var i,r,a;if(this._weekdaysParseExact)return an.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;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"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}}function sn(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=en(e,this.localeData()),this.add(e-t,"d")):t}function ln(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function un(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN}function dn(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||fn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}function cn(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||fn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function hn(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||fn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function fn(){function e(e,t){return t.length-e.length}var t,n,i,r,a,o=[],l=[],u=[],d=[];for(t=0;t<7;t++)n=s([2e3,1]).day(t),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(i),l.push(r),u.push(a),d.push(i),d.push(r),d.push(a);for(o.sort(e),l.sort(e),u.sort(e),d.sort(e),t=0;t<7;t++)l[t]=Q(l[t]),u[t]=Q(u[t]),d[t]=Q(d[t]);this._weekdaysRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function pn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function mn(){return this.hours()%12||12}function _n(){return this.hours()||24}function gn(e,t){B(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function yn(e,t){return t._meridiemParse}function vn(e){return"p"===(e+"").toLowerCase().charAt(0)}function bn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Mn(e,t){t[zr]=g(1e3*("0."+e))}function wn(){return this._isUTC?"UTC":""}function kn(){return this._isUTC?"Coordinated Universal Time":""}function Ln(e){return Ie(1e3*e)}function xn(){return Ie.apply(null,arguments).parseZone()}function Dn(e,t,n){var i=this._calendar[e];return w(i)?i.call(t,n):i}function Tn(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function Yn(){return this._invalidDate}function Sn(e){return this._ordinal.replace("%d",e)}function Cn(e){return e}function Hn(e,t,n,i){var r=this._relativeTime[n];return w(r)?r(e,t,n,i):r.replace(/%d/i,e)}function An(e,t){var n=this._relativeTime[e>0?"future":"past"];return w(n)?n(t):n.replace(/%s/i,t)}function jn(e,t,n,i){var r=j(),a=s().set(i,t);return r[n](a,e)}function Pn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return jn(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=jn(e,i,n,"month");return r}function En(e,t,n,i){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var r=j(),a=e?r._week.dow:0;if(null!=n)return jn(t,(n+a)%7,i,"day");var o,s=[];for(o=0;o<7;o++)s[o]=jn(t,(o+a)%7,i,"day");return s}function In(e,t){return Pn(e,t,"months")}function Fn(e,t){return Pn(e,t,"monthsShort")}function On(e,t,n){return En(e,t,n,"weekdays")}function Wn(e,t,n){return En(e,t,n,"weekdaysShort")}function Rn(e,t,n){return En(e,t,n,"weekdaysMin")}function Nn(){var e=this._data;return this._milliseconds=Ea(this._milliseconds),this._days=Ea(this._days),this._months=Ea(this._months),e.milliseconds=Ea(e.milliseconds),e.seconds=Ea(e.seconds),e.minutes=Ea(e.minutes),e.hours=Ea(e.hours),e.months=Ea(e.months),e.years=Ea(e.years),this}function zn(e,t,n,i){var r=it(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function Bn(e,t){return zn(this,e,t,1)}function $n(e,t){return zn(this,e,t,-1)}function Vn(e){return e<0?Math.floor(e):Math.ceil(e)}function qn(){var e,t,n,i,r,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Vn(Jn(s)+o),o=0,s=0),l.milliseconds=a%1e3,e=_(a/1e3),l.seconds=e%60,t=_(e/60),l.minutes=t%60,n=_(t/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(e){return 4800*e/146097}function Jn(e){return 146097*e/4800}function Gn(e){var t,n,i=this._milliseconds;if(e=I(e),"month"===e||"year"===e)return t=this._days+i/864e5,n=this._months+Un(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Jn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}}function Xn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*g(this._months/12)}function Qn(e){return function(){return this.as(e)}}function Zn(e){return e=I(e),this[e+"s"]()}function Kn(e){return function(){return this._data[e]}}function ei(){return _(this.days()/7)}function ti(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function ni(e,t,n){var i=it(e).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")),u=Qa(i.as("y")),d=r<Za.s&&["s",r]||a<=1&&["m"]||a<Za.m&&["mm",a]||o<=1&&["h"]||o<Za.h&&["hh",o]||s<=1&&["d"]||s<Za.d&&["dd",s]||l<=1&&["M"]||l<Za.M&&["MM",l]||u<=1&&["y"]||["yy",u];return d[2]=t,d[3]=+e>0,d[4]=n,ti.apply(null,d)}function ii(e,t){return void 0!==Za[e]&&(void 0===t?Za[e]:(Za[e]=t,!0))}function ri(e){var t=this.localeData(),n=ni(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function ai(){var e,t,n,i=Ka(this._milliseconds)/1e3,r=Ka(this._days),a=Ka(this._months);e=_(i/60),t=_(e/60),i%=60,e%=60,n=_(a/12),a%=12;var o=n,s=a,l=r,u=t,d=e,c=i,h=this.asSeconds();return h?(h<0?"-":"")+"P"+(o?o+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(u||d||c?"T":"")+(u?u+"H":"")+(d?d+"M":"")+(c?c+"S":""):"P0D"}function oi(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function si(e,t,n){var i={mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+oi(i[n],+e)}function li(e,t,n){var i={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+ci(i[n],e)}function ui(e){switch(di(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function di(e){return e>9?di(e%10):e}function ci(e,t){return 2===t?hi(e):e}function hi(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}function fi(e,t,n){var i=e+" ";switch(n){case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return i+=1===e?"dan":"dana";case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}function pi(e){return e>1&&e<5&&1!==~~(e/10)}function mi(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"pár sekund":"pár sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?r+(pi(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(pi(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?r+(pi(e)?"dny":"dní"):r+"dny";case"M":return t||i?"měsíc":"měsícem";case"MM":return t||i?r+(pi(e)?"měsíce":"měsíců"):r+"měsíci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?r+(pi(e)?"roky":"let"):r+"lety"}}function _i(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}function gi(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}function yi(e,t,n,i){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}function vi(e,t,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(e,i)+" "+r}function bi(e,t){return e<10?t?xo[e]:Lo[e]:e}function Mi(e,t,n){var i=e+" ";switch(n){case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return i+=1===e?"dan":"dana";case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}function wi(e,t,n,i){var r=e;switch(n){case"s":return i||t?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return r+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" óra":" órája");case"hh":return r+(i||t?" óra":" órája");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return r+(i||t?" nap":" napja");
|
||
case"M":return"egy"+(i||t?" hónap":" hónapja");case"MM":return r+(i||t?" hónap":" hónapja");case"y":return"egy"+(i||t?" év":" éve");case"yy":return r+(i||t?" év":" éve")}return""}function ki(e){return(e?"":"[múlt] ")+"["+Eo[this.day()]+"] LT[-kor]"}function Li(e){return e%100===11||e%10!==1}function xi(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return t?"mínúta":"mínútu";case"mm":return Li(e)?r+(t||i?"mínútur":"mínútum"):t?r+"mínúta":r+"mínútu";case"hh":return Li(e)?r+(t||i?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return t?"dagur":i?"dag":"degi";case"dd":return Li(e)?t?r+"dagar":r+(i?"daga":"dögum"):t?r+"dagur":r+(i?"dag":"degi");case"M":return t?"mánuður":i?"mánuð":"mánuði";case"MM":return Li(e)?t?r+"mánuðir":r+(i?"mánuði":"mánuðum"):t?r+"mánuður":r+(i?"mánuð":"mánuði");case"y":return t||i?"ár":"ári";case"yy":return Li(e)?r+(t||i?"ár":"árum"):r+(t||i?"ár":"ári")}}function Di(e,t,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 t?r[n][0]:r[n][1]}function Ti(e){var t=e.substr(0,e.indexOf(" "));return Si(t)?"a "+e:"an "+e}function Yi(e){var t=e.substr(0,e.indexOf(" "));return Si(t)?"viru "+e:"virun "+e}function Si(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,n=e/10;return Si(0===t?n:t)}if(e<1e4){for(;e>=10;)e/=10;return Si(e)}return e/=1e3,Si(e)}function Ci(e,t,n,i){return t?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"}function Hi(e,t,n,i){return t?ji(n)[0]:i?ji(n)[1]:ji(n)[2]}function Ai(e){return e%10===0||e>10&&e<20}function ji(e){return Oo[e].split("_")}function Pi(e,t,n,i){var r=e+" ";return 1===e?r+Hi(e,t,n[0],i):t?r+(Ai(e)?ji(n)[1]:ji(n)[0]):i?r+ji(n)[1]:r+(Ai(e)?ji(n)[1]:ji(n)[2])}function Ei(e,t,n){return n?t%10===1&&11!==t?e[2]:e[3]:t%10===1&&11!==t?e[0]:e[1]}function Ii(e,t,n){return e+" "+Ei(Wo[n],e,t)}function Fi(e,t,n){return Ei(Wo[n],e,t)}function Oi(e,t){return t?"dažas sekundes":"dažām sekundēm"}function Wi(e,t,n,i){var r="";if(t)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,e)}function Ri(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function Ni(e,t,n){var i=e+" ";switch(n){case"m":return t?"minuta":"minutę";case"mm":return i+(Ri(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return i+(Ri(e)?"godziny":"godzin");case"MM":return i+(Ri(e)?"miesiące":"miesięcy");case"yy":return i+(Ri(e)?"lata":"lat")}}function zi(e,t,n){var i={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},r=" ";return(e%100>=20||e>=100&&e%100===0)&&(r=" de "),e+r+i[n]}function Bi(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function $i(e,t,n){var i={mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===n?t?"минута":"минуту":e+" "+Bi(i[n],+e)}function Vi(e){return e>1&&e<5}function qi(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":i?"minútu":"minútou";case"mm":return t||i?r+(Vi(e)?"minúty":"minút"):r+"minútami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(Vi(e)?"hodiny":"hodín"):r+"hodinami";case"d":return t||i?"deň":"dňom";case"dd":return t||i?r+(Vi(e)?"dni":"dní"):r+"dňami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?r+(Vi(e)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?r+(Vi(e)?"roky":"rokov"):r+"rokmi"}}function Ui(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"m":return t?"ena minuta":"eno minuto";case"mm":return r+=1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return r+=1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami";case"d":return t||i?"en dan":"enim dnem";case"dd":return r+=1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi";case"M":return t||i?"en mesec":"enim mesecem";case"MM":return r+=1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci";case"y":return t||i?"eno leto":"enim letom";case"yy":return r+=1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti"}}function Ji(e){var t=e;return t=e.indexOf("jaj")!==-1?t.slice(0,-3)+"leS":e.indexOf("jar")!==-1?t.slice(0,-3)+"waQ":e.indexOf("DIS")!==-1?t.slice(0,-3)+"nem":t+" pIq"}function Gi(e){var t=e;return t=e.indexOf("jaj")!==-1?t.slice(0,-3)+"Hu’":e.indexOf("jar")!==-1?t.slice(0,-3)+"wen":e.indexOf("DIS")!==-1?t.slice(0,-3)+"ben":t+" ret"}function Xi(e,t,n,i){var r=Qi(e);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(e){var t=Math.floor(e%1e3/100),n=Math.floor(e%100/10),i=e%10,r="";return t>0&&(r+=os[t]+"vatlh"),n>0&&(r+=(""!==r?" ":"")+os[n]+"maH"),i>0&&(r+=(""!==r?" ":"")+os[i]),""===r?"pagh":r}function Zi(e,t,n,i){var r={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",""+e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",""+e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",""+e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",""+e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",""+e+" ars"]};return i?r[n][0]:t?r[n][0]:r[n][1]}function Ki(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function er(e,t,n){var i={mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+Ki(i[n],+e)}function tr(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},i=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative";return n[i][e.day()]}function nr(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var ir,rr;rr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1};var ar=e.momentProperties=[],or=!1,sr={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var lr;lr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var ur,dr,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?/,Lr=/\d\d\d\d\d\d?/,xr=/\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,Fr=1,Or=2,Wr=3,Rr=4,Nr=5,zr=6,Br=7,$r=8;dr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},B("M",["MM",2],"Mo",function(){return this.month()+1}),B("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),B("MMMM",0,0,function(e){return this.localeData().months(this,e)}),E("month","M"),J("M",wr),J("MM",wr,yr),J("MMM",function(e,t){return t.monthsShortRegex(e)}),J("MMMM",function(e,t){return t.monthsRegex(e)}),Z(["M","MM"],function(e,t){t[Fr]=g(e)-1}),Z(["MMM","MMMM"],function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[Fr]=r:u(n).invalidMonth=e});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}/]],ea=[["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/]],ta=/^\/?Date\((\-?\d+)/i;e.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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),B("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),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(t,n){n[Ir]=2===t.length?e.parseTwoDigitYear(t):g(t)}),Z("YY",function(t,n){n[Ir]=e.parseTwoDigitYear(t)}),Z("Y",function(e,t){t[Ir]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return g(e)+(g(e)>68?1900:2e3)};var na=O("FullYear",!0);e.ISO_8601=function(){};var ia=b("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=Ie.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:c()}),ra=b("moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=Ie.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:c()}),aa=function(){return Date.now?Date.now():+new Date};ze("Z",":"),ze("ZZ",""),J("Z",Hr),J("ZZ",Hr),Z(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Be(Hr,e)});var oa=/([\+\-]|\d\d)/gi;e.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)?)?$/;it.fn=Re.prototype;var ua=lt(1,"add"),da=lt(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.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(e){return void 0===e?this.localeData():this.locale(e)});B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Nt("gggg","weekYear"),Nt("ggggg","weekYear"),Nt("GGGG","isoWeekYear"),Nt("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(e,t,n,i){t[i.substr(0,2)]=g(e)}),K(["gg","GG"],function(t,n,i,r){n[r]=e.parseTwoDigitYear(t)}),B("Q",0,"Qo","quarter"),E("quarter","Q"),J("Q",gr),Z("Q",function(e,t){t[Fr]=3*(g(e)-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(e,t,n,i){t[i.substr(0,1)]=g(e)});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(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),Z(["D","DD"],Or),Z("Do",function(e,t){t[Or]=g(e.match(wr)[0],10)});var fa=O("Date",!0);B("d",0,"do","day"),B("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),B("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),B("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),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(e,t){return t.weekdaysMinRegex(e)}),J("ddd",function(e,t){return t.weekdaysShortRegex(e)}),J("dddd",function(e,t){return t.weekdaysRegex(e)}),K(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:u(n).invalidWeekday=e}),K(["d","e","E"],function(e,t,n,i){t[i]=g(e)});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",xr),J("DDDD",vr),Z(["DDD","DDDD"],function(e,t,n){n._dayOfYear=g(e)}),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",Lr),J("Hmm",kr),J("Hmmss",Lr),Z(["H","HH"],Wr),Z(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),Z(["h","hh"],function(e,t,n){t[Wr]=g(e),u(n).bigHour=!0}),Z("hmm",function(e,t,n){var i=e.length-2;t[Wr]=g(e.substr(0,i)),t[Rr]=g(e.substr(i)),u(n).bigHour=!0}),Z("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[Wr]=g(e.substr(0,i)),t[Rr]=g(e.substr(i,2)),t[Nr]=g(e.substr(r)),u(n).bigHour=!0}),Z("Hmm",function(e,t,n){var i=e.length-2;t[Wr]=g(e.substr(0,i)),t[Rr]=g(e.substr(i))}),Z("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[Wr]=g(e.substr(0,i)),t[Rr]=g(e.substr(i,2)),t[Nr]=g(e.substr(r))});var ba=/[ap]\.?m?\.?/i,Ma=O("Hours",!0);B("m",["mm",2],0,"minute"),E("minute","m"),J("m",wr),J("mm",wr,yr),Z(["m","mm"],Rr);var wa=O("Minutes",!1);B("s",["ss",2],0,"second"),E("second","s"),J("s",wr),J("ss",wr,yr),Z(["s","ss"],Nr);var ka=O("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",xr,gr),J("SS",xr,yr),J("SSS",xr,vr);var La;for(La="SSSS";La.length<=9;La+="S")J(La,Yr);for(La="S";La.length<=9;La+="S")Z(La,Mn);var xa=O("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var Da=p.prototype;Da.add=ua,Da.calendar=dt,Da.clone=ct,Da.diff=yt,Da.endOf=Ct,Da.format=wt,Da.from=kt,Da.fromNow=Lt,Da.to=xt,Da.toNow=Dt,Da.get=N,Da.invalidAt=Wt,Da.isAfter=ht,Da.isBefore=ft,Da.isBetween=pt,Da.isSame=mt,Da.isSameOrAfter=_t,Da.isSameOrBefore=gt,Da.isValid=Ft,Da.lang=ca,Da.locale=Tt,Da.localeData=Yt,Da.max=ra,Da.min=ia,Da.parsingFlags=Ot,Da.set=N,Da.startOf=St,Da.subtract=da,Da.toArray=Pt,Da.toObject=Et,Da.toDate=jt,Da.toISOString=Mt,Da.toJSON=It,Da.toString=bt,Da.unix=At,Da.valueOf=Ht,Da.creationData=Rt,Da.year=na,Da.isLeapYear=ve,Da.weekYear=zt,Da.isoWeekYear=Bt,Da.quarter=Da.quarters=Jt,Da.month=se,Da.daysInMonth=le,Da.week=Da.weeks=Zt,Da.isoWeek=Da.isoWeeks=Kt,Da.weeksInYear=Vt,Da.isoWeeksInYear=$t,Da.date=fa,Da.day=Da.days=sn,Da.weekday=ln,Da.isoWeekday=un,Da.dayOfYear=pn,Da.hour=Da.hours=Ma,Da.minute=Da.minutes=wa,Da.second=Da.seconds=ka,Da.millisecond=Da.milliseconds=xa,Da.utcOffset=qe,Da.utc=Je,Da.local=Ge,Da.parseZone=Xe,Da.hasAlignedHourOffset=Qe,Da.isDST=Ze,Da.isDSTShifted=Ke,Da.isLocal=et,Da.isUtcOffset=tt,Da.isUtc=nt,Da.isUTC=nt,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",se),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",Ue);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=L,Pa.months=ne,Pa._months=qr,Pa.monthsShort=ie,Pa._monthsShort=Ur,Pa.monthsParse=ae,Pa._monthsRegex=Gr,Pa.monthsRegex=de,Pa._monthsShortRegex=Jr,Pa.monthsShortRegex=ue,Pa.week=Gt,Pa._week=ha,Pa.firstDayOfYear=Qt,Pa.firstDayOfWeek=Xt,Pa.weekdays=tn,Pa._weekdays=pa,Pa.weekdaysMin=rn,Pa._weekdaysMin=_a,Pa.weekdaysShort=nn,Pa._weekdaysShort=ma,Pa.weekdaysParse=on,Pa._weekdaysRegex=ga,Pa.weekdaysRegex=dn,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(e){var t=e%10,n=1===g(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),e.lang=b("moment.lang is deprecated. Use moment.locale instead.",C),e.langData=b("moment.langData is deprecated. Use moment.localeData instead.",j);var Ea=Math.abs,Ia=Qn("ms"),Fa=Qn("s"),Oa=Qn("m"),Wa=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,eo=Re.prototype;eo.abs=Nn,eo.add=Bn,eo.subtract=$n,eo.as=Gn,eo.asMilliseconds=Ia,eo.asSeconds=Fa,eo.asMinutes=Oa,eo.asHours=Wa,eo.asDays=Ra,eo.asWeeks=Na,eo.asMonths=za,eo.asYears=Ba,eo.valueOf=Xn,eo._bubble=qn,eo.get=Zn,eo.milliseconds=$a,eo.seconds=Va,eo.minutes=qa,eo.hours=Ua,eo.days=Ja,eo.weeks=ei,eo.months=Ga,eo.years=Xa,eo.humanize=ri,eo.toISOString=ai,eo.toString=ai,eo.toJSON=ai,eo.locale=Tt,eo.localeData=Yt,eo.toIsoString=b("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ai),eo.lang=ca,B("X",0,0,"unix"),B("x",0,0,"valueOf"),J("x",Sr),J("X",Ar),Z("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),Z("x",function(e,t,n){n._d=new Date(g(e))}),e.version="2.13.0",t(Ie),e.fn=Ta,e.min=Oe,e.max=We,e.now=aa,e.utc=s,e.unix=Ln,e.months=In,e.isDate=i,e.locale=C,e.invalid=c,e.duration=it,e.isMoment=m,e.weekdays=On,e.parseZone=xn,e.localeData=j,e.isDuration=Ne,e.monthsShort=Fn,e.weekdaysMin=Rn,e.defineLocale=H,e.updateLocale=A,e.locales=P,e.weekdaysShort=Wn,e.normalizeUnits=I,e.relativeTimeThreshold=ii,e.prototype=Ta;var to=e,no=(to.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(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}}),to.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=(to.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return io[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return no[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),to.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(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%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(e){return function(t,n,i,r){var a=oo(t),o=so[e][oo(t)];return 2===a&&(o=o[n?0:1]),o.replace(/%d/i,t)}},uo=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"],co=(to.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(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s: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(e){return e.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return ao[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return ro[e]}).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=(to.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var t=e%10,n=e%100-t,i=e>=100?100:null;return e+(co[t]||co[n]||co[i])},week:{dow:1,doy:7}}),to.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(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!==2&&e%10!==3||e%100===12||e%100===13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}}),to.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}}),{1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"}),fo={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},po=(to.defineLocale("bn",{months:"জানুয়ারী_ফেবুয়ারী_মার্চ_এপ্রিল_মে_জুন_জুলাই_অগাস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপর_মে_জুন_জুল_অগ_সেপ্ট_অক্টো_নভ_ডিসেম্".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পত্তিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পত্তি_শুক্র_শনি".split("_"),weekdaysMin:"রব_সম_মঙ্গ_বু_ব্রিহ_শু_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"
|
||
},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return fo[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return ho[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}}),{1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"}),mo={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},_o=(to.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return mo[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return po[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}}),to.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:ui},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var t=1===e?"añ":"vet";return e+t},week:{dow:1,doy:4}}),to.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}}),to.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(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}}),"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=(to.defineLocale("cs",{months:_o,monthsShort:go,monthsParse:function(e,t){var n,i=[];for(n=0;n<12;n++)i[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return i}(_o,go),shortMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(go),longMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","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}}),to.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},ordinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}}),to.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t=e,n="",i=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=i[t]),e+n},week:{dow:1,doy:4}}),to.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}}),to.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}}),to.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=(to.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(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}}),to.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n=this._calendarEl[e],i=t&&t.hours();return w(n)&&(n=n.apply(t)),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}}),to.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}}),to.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),to.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}}),to.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}}),to.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}}),to.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-an de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}}),"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=(to.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){return/-MMM-/.test(t)?Mo[e.month()]:bo[e.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),to.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}}),to.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"},Lo=(to.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندین ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return ko[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return wo[e]}).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(" ")),xo=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",Lo[7],Lo[8],Lo[9]],Do=(to.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}}),to.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}}),to.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(e){return e+(1===e?"er":"e")}}),to.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(e){return e+(1===e?"er":"e")},week:{dow:1,doy:4}}),to.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(e){return e+(1===e?"er":"")},week:{dow:1,doy:4}}),"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=(to.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,t){return/-MMM-/.test(t)?To[e.month()]:Do[e.month()]},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,
|
||
longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}}),["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=(to.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(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}}),to.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(e){return"uns segundos"===e?"nuns segundos":"en "+e},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:7}}),to.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10===0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"}),Po={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},Eo=(to.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return Po[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return jo[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}}),to.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=(to.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?n===!0?"de":"DE":n===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return 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}}),to.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}}),to.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),to.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:xi,m:xi,mm:xi,h:"klukkustund",hh:xi,d:xi,dd:xi,M:xi,MM:xi,y:xi,yy:xi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),to.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),weekdaysMin:"Do_Lu_Ma_Me_Gi_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),to.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS:"Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m分 dddd"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},ordinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}}),to.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}}),to.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20===0||e%100===0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}}),{0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"}),Fo=(to.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var t=e%10,n=e>=100?100:null;return e+(Io[e]||Io[t]||Io[n])},week:{dow:1,doy:7}}),to.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}}),to.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h시 m분",LLLL:"YYYY년 MMMM D일 dddd A h시 m분"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"일분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}}),{0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"}),Oo=(to.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var t=e%10,n=e>=100?100:null;return e+(Fo[e]||Fo[t]||Fo[n])},week:{dow:1,doy:7}}),to.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}}),to.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},ordinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}}),{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"}),Wo=(to.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(e){return e+"-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=(to.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:Oi,m:Fi,mm:Ii,h:Fi,hh:Ii,d:Fi,dd:Ii,M:Fi,MM:Ii,y:Fi,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(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,t,n){var i=Ro.words[n];return 1===n.length?t?i[0]:i[1]:e+" "+Ro.correctGrammaticalCase(e,i)}}),No=(to.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m: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}}),to.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}}),to.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"}),zo={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},Bo=(to.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:Wi,m:Wi,mm:Wi,h:Wi,hh:Wi,d:Wi,dd:Wi,M:Wi,MM:Wi,y:Wi,yy:Wi},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return zo[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return No[e]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}}),to.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){
|
||
return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),to.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),{1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"}),$o={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},Vo=(to.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){return $o[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Bo[e]})},week:{dow:1,doy:4}}),to.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=(to.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return qo[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Vo[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}}),"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=(to.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,t){return/-MMM-/.test(t)?Jo[e.month()]:Uo[e.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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}}),to.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=(to.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return Xo[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Go[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}}),"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=(to.defineLocale("pl",{months:function(e,t){return""===t?"("+Zo[e.month()]+"|"+Qo[e.month()]+")":/D MMMM/.test(t)?Zo[e.month()]:Qo[e.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"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}}),to.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º"}),to.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}}),to.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]),es=(to.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(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:$i,mm:$i,h:"час",hh:$i,d:"день",dd:$i,M:"месяц",MM:$i,y:"год",yy:$i},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:7}}),to.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}}),to.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},ordinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}}),"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_")),ts="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),ns=(to.defineLocale("sk",{months:es,monthsShort:ts,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}}),to.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}}),to.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,t,n){var i=ns.words[n];return 1===n.length?t?i[0]:i[1]:e+" "+ns.correctGrammaticalCase(e,i)}}),is=(to.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m: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(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,t,n){var i=is.words[n];return 1===n.length?t?i[0]:i[1]:e+" "+is.correctGrammaticalCase(e,i)}}),rs=(to.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m: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}}),to.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},ordinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}}),to.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"e":1===t?"a":2===t?"a":"e";return e+n},week:{dow:1,doy:4}}),to.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=(to.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return as[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return rs[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}}),to.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},ordinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}}),to.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(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}}),to.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(e){return e},week:{dow:1,doy:4}}),"pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_")),ss=(to.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future: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=(to.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(e){if(0===e)return e+"'ıncı";var t=e%10,n=e%100-t,i=e>=100?100:null;return e+(ss[t]||ss[n]||ss[i])},week:{dow:1,doy:7}}),to.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s: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}}),to.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}}),to.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}}),to.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:tr,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:er,mm:er,h:"годину",hh:er,d:"день",dd:er,M:"місяць",MM:er,y:"рік",yy:er},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}}),to.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}}),to.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),to.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}}),to.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var e,t;return e=to().startOf("week"),t=this.diff(e,"days")>=7?"[下]":"[本]",0===this.minutes()?t+"dddAh点整":t+"dddAh点mm"},lastWeek:function(){var e,t;return e=to().startOf("week"),t=this.unix()<e.unix()?"[上]":"[本]",0===this.minutes()?t+"dddAh点整":t+"dddAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}}),to.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1分鐘",mm:"%d分鐘",h:"1小時",hh:"%d小時",d:"1天",dd:"%d天",M:"1個月",MM:"%d個月",y:"1年",yy:"%d年"}}),to);return ls.locale("en"),ls}),function(e,t){"use strict";if("function"==typeof define&&define.amd)define(["jquery","moment"],t);else if("object"==typeof exports)t(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");t(e.jQuery,moment)}}(this,function(e,t){"use strict";if("undefined"==typeof t)throw new Error("momentjs is required");var n=0,i=function(i,r){var a,o=e.fn.datetimepicker.defaults,s={time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down"},l=this,u=!1,d=function(){var a,u,d=!1;if(l.options=e.extend({},o,r),l.options.icons=e.extend({},s,l.options.icons),l.element=e(i),h(),!l.options.pickTime&&!l.options.pickDate)throw new Error("Must choose at least one picker");if(l.id=n++,t.locale(l.options.language),l.date=t(),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=t().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&&(a.longDateFormat("LT").indexOf(" A")!==-1?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&&(d=l.component.find("span")),l.options.pickTime&&d&&d.addClass(l.options.icons.time),l.options.pickDate&&d&&(d.removeClass(l.options.icons.time),d.addClass(l.options.icons.date)),l.options.widgetParent="string"==typeof l.options.widgetParent&&l.options.widgetParent||l.element.parents().filter(function(){return"scroll"===e(this).css("overflow-y")}).get(0)||"body",l.widget=e(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&&(u=l.options.minuteStepping,l.date.minutes(Math.round(l.date.minutes()/u)*u%60).seconds(0))},c=function(){var e;if(l.isInput)return l.element;if(e=l.element.find(".datepickerinput"),0===e.size())e=l.element.find("input");else if(!e.is("input"))throw new Error('CSS class "datepickerinput" cannot be applied to non input element');return e},h=function(){var e;e=l.element.is("input")?l.element.data():l.element.find("input").data(),void 0!==e.dateFormat&&(l.options.format=e.dateFormat),void 0!==e.datePickdate&&(l.options.pickDate=e.datePickdate),void 0!==e.datePicktime&&(l.options.pickTime=e.datePicktime),void 0!==e.dateUseminutes&&(l.options.useMinutes=e.dateUseminutes),void 0!==e.dateUseseconds&&(l.options.useSeconds=e.dateUseseconds),void 0!==e.dateUsecurrent&&(l.options.useCurrent=e.dateUsecurrent),void 0!==e.calendarWeeks&&(l.options.calendarWeeks=e.calendarWeeks),void 0!==e.dateMinutestepping&&(l.options.minuteStepping=e.dateMinutestepping),void 0!==e.dateMindate&&(l.options.minDate=e.dateMindate),void 0!==e.dateMaxdate&&(l.options.maxDate=e.dateMaxdate),void 0!==e.dateShowtoday&&(l.options.showToday=e.dateShowtoday),void 0!==e.dateCollapse&&(l.options.collapse=e.dateCollapse),void 0!==e.dateLanguage&&(l.options.language=e.dateLanguage),void 0!==e.dateDefaultdate&&(l.options.defaultDate=e.dateDefaultdate),void 0!==e.dateDisableddates&&(l.options.disabledDates=e.dateDisableddates),void 0!==e.dateEnableddates&&(l.options.enabledDates=e.dateEnableddates),void 0!==e.dateIcons&&(l.options.icons=e.dateIcons),void 0!==e.dateUsestrict&&(l.options.useStrict=e.dateUsestrict),void 0!==e.dateDirection&&(l.options.direction=e.dateDirection),void 0!==e.dateSidebyside&&(l.options.sideBySide=e.dateSidebyside),void 0!==e.dateDaysofweekdisabled&&(l.options.daysOfWeekDisabled=e.dateDaysofweekdisabled)},f=function(){var t,n="absolute",i=l.component?l.component.offset():l.element.offset(),r=e(window);l.width=l.component?l.component.outerWidth():l.element.outerWidth(),i.top=i.top+l.element.outerHeight(),"up"===l.options.direction?t="top":"bottom"===l.options.direction?t="bottom":"auto"===l.options.direction&&(t=i.top+l.widget.height()>r.height()+r.scrollTop()&&l.widget.height()+l.element.outerHeight()<i.top?"top":"bottom"),"top"===t?(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"===t?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(e,n){t(l.date).isSame(t(e))&&!u||(u=!1,l.element.trigger({type:"dp.change",date:t(l.date),oldDate:t(e)}),"change"!==n&&l.element.change())},m=function(e){u=!0,l.element.trigger({type:"dp.error",date:t(e,l.format,l.options.useStrict)})},_=function(e){t.locale(l.options.language);var n=e;n||(n=c().val(),n&&(l.date=t(n,l.format,l.options.useStrict)),l.date||(l.date=t())),l.viewDate=t(l.date).startOf("month"),v(),k()},g=function(){t.locale(l.options.language);var n,i=e("<tr>"),r=t.weekdaysMin();if(l.options.calendarWeeks===!0&&i.append('<th class="cw">#</th>'),0===t().localeData()._week.dow)for(n=0;n<7;n++)i.append('<th class="dow">'+r[n]+"</th>");else for(n=1;n<8;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(){t.locale(l.options.language);var e,n="",i=t.monthsShort();for(e=0;e<12;e++)n+='<span class="month">'+i[e]+"</span>";l.widget.find(".datepicker-months td").append(n)},v=function(){if(l.options.pickDate){t.locale(l.options.language);var n,i,r,a,o,s,u,d,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=t.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=t(l.viewDate,l.format,l.options.useStrict).subtract(1,"months"),u=i.daysInMonth(),i.date(u).startOf("week"),(h===p&&f<=m||h<p)&&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=t(i).add(42,"d");i.isBefore(r);){if(i.weekday()===t().startOf("week").weekday()&&(a=e("<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(t({y:l.date.year(),M:l.date.month(),d:l.date.date()}))&&(o+=" active"),!O(i,"day")&&W(i)||(o+=" disabled"),l.options.showToday===!0&&i.isSame(t(),"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"),h-1<p&&l.widget.find(".datepicker-months th:eq(0)").addClass("disabled"),h+1>_&&l.widget.find(".datepicker-months th:eq(2)").addClass("disabled"),s=0;s<12;s++)h===p&&m>s||h<p?e(v[s]).addClass("disabled"):(h===_&&g<s||h>_)&&e(v[s]).addClass("disabled");for(y="",h=10*parseInt(h/10,10),d=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;s<11;s++)y+='<span class="year'+(s===-1||10===s?" old":"")+(c===h?" active":"")+(h<p||h>_?" disabled":"")+'">'+h+"</span>",h+=1;d.html(y)}},b=function(){t.locale(l.options.language);var e,n,i,r=l.widget.find(".timepicker .timepicker-hours table"),a="";if(r.parent().hide(),l.use24hours)for(e=0,n=0;n<6;n+=1){for(a+="<tr>",i=0;i<4;i+=1)a+='<td class="hour">'+N(e.toString())+"</td>",e++;a+="</tr>"}else for(e=1,n=0;n<3;n+=1){for(a+="<tr>",i=0;i<4;i+=1)a+='<td class="hour">'+N(e.toString())+"</td>",e++;a+="</tr>"}r.html(a)},M=function(){var e,t,n=l.widget.find(".timepicker .timepicker-minutes table"),i="",r=0,a=l.options.minuteStepping;for(n.parent().hide(),1===a&&(a=5),e=0;e<Math.ceil(60/a/4);e++){for(i+="<tr>",t=0;t<4;t+=1)r<60?(i+='<td class="minute">'+N(r.toString())+"</td>",r+=a):i+="<td></td>";i+="</tr>"}n.html(i)},w=function(){var e,t,n=l.widget.find(".timepicker .timepicker-seconds table"),i="",r=0;for(n.parent().hide(),e=0;e<3;e++){for(i+="<tr>",t=0;t<4;t+=1)i+='<td class="second">'+N(r.toString())+"</td>",r+=5;i+="</tr>"}n.html(i)},k=function(){if(l.date){var e=l.widget.find(".timepicker span[data-time-component]"),t=l.date.hours(),n=l.date.format("A");l.use24hours||(0===t?t=12:12!==t&&(t%=12),l.widget.find(".timepicker [data-action=togglePeriod]").text(n)),e.filter("[data-time-component=hours]").text(N(t)),e.filter("[data-time-component=minutes]").text(N(l.date.minutes())),e.filter("[data-time-component=seconds]").text(N(l.date.second()))}},L=function(n){n.stopPropagation(),n.preventDefault(),l.unset=!1;var i,r,a,o,s=e(n.target).closest("span, td, th"),u=t(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),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=t({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(u,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=t({y:r,M:i,d:o,h:l.date.hours(),m:l.date.minutes(),s:l.date.seconds()}),l.viewDate=t({y:r,M:i,d:Math.min(28,o)}),v(),I(),p(u,n.type))}},x={incrementHours:function(){F("add","hours",1)},incrementMinutes:function(){F("add","minutes",l.options.minuteStepping)},incrementSeconds:function(){F("add","seconds",1)},decrementHours:function(){F("subtract","hours",1)},decrementMinutes:function(){F("subtract","minutes",l.options.minuteStepping)},decrementSeconds:function(){F("subtract","seconds",1)},togglePeriod:function(){var e=l.date.hours();e>=12?e-=12:e+=12,l.date.hours(e)},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(t){var n=parseInt(e(t.target).text(),10);l.use24hours||(l.date.hours()>=12?12!==n&&(n+=12):12===n&&(n=0)),l.date.hours(n),x.showPicker.call(l)},selectMinute:function(t){l.date.minutes(parseInt(e(t.target).text(),10)),x.showPicker.call(l)},selectSecond:function(t){l.date.seconds(parseInt(e(t.target).text(),10)),x.showPicker.call(l)}},D=function(n){var i=t(l.date),r=e(n.currentTarget).data("action"),a=x[r].apply(l,arguments);return T(n),l.date||(l.date=t({y:1970})),I(),k(),p(i,n.type),a},T=function(e){e.stopPropagation(),e.preventDefault()},Y=function(e){27===e.keyCode&&l.hide()},S=function(n){t.locale(l.options.language);var i=e(n.target),r=t(l.date),a=t(i.val(),l.format,l.options.useStrict);a.isValid()&&!O(a)&&W(a)?(_(),l.setValue(a),p(r,n.type),I()):(l.viewDate=r,l.unset=!0,p(r,n.type),m(a))},C=function(e){e&&(l.viewMode=Math.max(l.minViewMode,Math.min(2,l.viewMode+e))),l.widget.find(".datepicker > div").hide().filter(".datepicker-"+B.modes[l.viewMode].clsName).show()},H=function(){var t,n,i,r,a;l.widget.on("click",".datepicker *",e.proxy(L,this)),l.widget.on("click","[data-action]",e.proxy(D,this)),l.widget.on("mousedown",e.proxy(T,this)),l.element.on("keydown",e.proxy(Y,this)),l.options.pickDate&&l.options.pickTime&&l.widget.on("click.togglePicker",".accordion-toggle",function(o){if(o.stopPropagation(),t=e(this),n=t.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"),t.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:e.proxy(l.show,this),focus:e.proxy(l.show,this),change:e.proxy(S,this),blur:e.proxy(l.hide,this)}):(l.element.on({change:e.proxy(S,this)},"input"),l.component?(l.component.on("click",e.proxy(l.show,this)),l.component.on("mousedown",e.proxy(T,this))):l.element.on("click",e.proxy(l.show,this)))},A=function(){e(window).on("resize.datetimepicker"+l.id,e.proxy(f,this)),l.isInput||e(document).on("mousedown.datetimepicker"+l.id,e.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(){e(window).off("resize.datetimepicker"+l.id),l.isInput||e(document).off("mousedown.datetimepicker"+l.id)},E=function(){if(l.element){var t,n=l.element.parents(),i=!1;for(t=0;t<n.length;t++)if("fixed"===e(n[t]).css("position")){i=!0;break}return i}return!1},I=function(){t.locale(l.options.language);var e="";l.unset||(e=t(l.date).format(l.format)),c().val(e),l.element.data("date",e),l.options.pickTime||l.hide()},F=function(e,n,i){t.locale(l.options.language);var r;return"add"===e?(r=t(l.date),23===r.hours()&&r.add(i,n),r.add(i,n)):r=t(l.date).subtract(i,n),O(t(r.subtract(i,n)))||O(r)?void m(r.format(l.format)):("add"===e?l.date.add(i,n):l.date.subtract(i,n),void(l.unset=!1))},O=function(e,n){t.locale(l.options.language);var i=t(l.options.maxDate,l.format,l.options.useStrict),r=t(l.options.minDate,l.format,l.options.useStrict);return n&&(i=i.endOf(n),r=r.startOf(n)),!(!e.isAfter(i)&&!e.isBefore(r))||l.options.disabledDates!==!1&&l.options.disabledDates[e.format("YYYY-MM-DD")]===!0},W=function(e){return t.locale(l.options.language),l.options.enabledDates===!1||l.options.enabledDates[e.format("YYYY-MM-DD")]===!0},R=function(e){var n,i={},r=0;for(n=0;n<e.length;n++)a=t.isMoment(e[n])||e[n]instanceof Date?t(e[n]):t(e[n],l.format,l.options.useStrict),a.isValid()&&(i[a.format("YYYY-MM-DD")]=!0,r++);return r>0&&i},N=function(e){return e=e.toString(),e.length>=2?e:"0"+e},z=function(){var e='<thead><tr><th class="prev">‹</th><th colspan="'+(l.options.calendarWeeks?"6":"5")+'" class="picker-switch"></th><th class="next">›</th></tr></thead>',t='<tbody><tr><td colspan="'+(l.options.calendarWeeks?"8":"7")+'"></td></tr></tbody>',n='<div class="datepicker-days"><table class="table-condensed">'+e+'<tbody></tbody></table></div><div class="datepicker-months"><table class="table-condensed">'+e+t+'</table></div><div class="datepicker-years"><table class="table-condensed">'+e+t+"</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(e){if(!c().prop("disabled")){if(l.options.useCurrent&&""===c().val()){if(1!==l.options.minuteStepping){var n=t(),i=l.options.minuteStepping;n.minutes(Math.round(n.minutes()/i)*i%60).seconds(0),l.setValue(n.format(l.format))}else l.setValue(t().format(l.format));p("",e.type)}e&&"click"===e.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:t(l.date)}),A(),e&&T(e))}},l.disable=function(){var e=c();e.prop("disabled")||(e.prop("disabled",!0),j())},l.enable=function(){var e=c();e.prop("disabled")&&(e.prop("disabled",!1),H())},l.hide=function(){var e,n,i=l.widget.find(".collapse");for(e=0;e<i.length;e++)if(n=i.eq(e).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:t(l.date)}),P()},l.setValue=function(e){t.locale(l.options.language),e?l.unset=!1:(l.unset=!0,I()),e=t.isMoment(e)?e.locale(l.options.language):e instanceof Date?t(e):t(e,l.format,l.options.useStrict),e.isValid()?(l.date=e,I(),l.viewDate=t({y:l.date.year(),M:l.date.month()}),v(),k()):m(e)},l.getDate=function(){return l.unset?null:t(l.date)},l.setDate=function(e){var n=t(l.date);e?l.setValue(e):l.setValue(null),p(n,"function")},l.setDisabledDates=function(e){l.options.disabledDates=R(e),l.viewDate&&_()},l.setEnabledDates=function(e){l.options.enabledDates=R(e),l.viewDate&&_()},l.setMaxDate=function(e){void 0!==e&&(t.isMoment(e)||e instanceof Date?l.options.maxDate=t(e):l.options.maxDate=t(e,l.format,l.options.useStrict),l.viewDate&&_())},l.setMinDate=function(e){void 0!==e&&(t.isMoment(e)||e instanceof Date?l.options.minDate=t(e):l.options.minDate=t(e,l.format,l.options.useStrict),l.viewDate&&_())},d()};e.fn.datetimepicker=function(t){return this.each(function(){var n=e(this),r=n.data("DateTimePicker");r||n.data("DateTimePicker",new i(this,t))})},e.fn.datetimepicker.defaults={format:!1,pickDate:!0,pickTime:!0,useMinutes:!0,useSeconds:!1,useCurrent:!0,calendarWeeks:!1,minuteStepping:1,minDate:t({y:1900}),maxDate:t().add(100,"y"),showToday:!0,collapse:!0,language:t.locale(),defaultDate:"",disabledDates:!1,enabledDates:!1,icons:{},useStrict:!1,direction:"auto",sideBySide:!1,daysOfWeekDisabled:[],widgetParent:!1}}),function(){function e(e,t){return e.set(t[0],t[1]),e}function t(e,t){return e.add(t),e}function n(e,t,n){var i=n.length;switch(i){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function i(e,t,n,i){for(var r=-1,a=e?e.length:0;++r<a;){var o=e[r];t(i,o,n(o),e)}return i}function r(e,t){for(var n=-1,i=e?e.length:0;++n<i&&t(e[n],n,e)!==!1;);return e}function a(e,t){for(var n=e?e.length:0;n--&&t(e[n],n,e)!==!1;);return e}function o(e,t){for(var n=-1,i=e?e.length:0;++n<i;)if(!t(e[n],n,e))return!1;return!0}function s(e,t){for(var n=-1,i=e?e.length:0,r=0,a=[];++n<i;){var o=e[n];t(o,n,e)&&(a[r++]=o)}return a}function l(e,t){var n=e?e.length:0;return!!n&&g(e,t,0)>-1}function u(e,t,n){for(var i=-1,r=e?e.length:0;++i<r;)if(n(t,e[i]))return!0;return!1}function d(e,t){for(var n=-1,i=e?e.length:0,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}function c(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}function h(e,t,n,i){var r=-1,a=e?e.length:0;for(i&&a&&(n=e[++r]);++r<a;)n=t(n,e[r],r,e);return n}function f(e,t,n,i){var r=e?e.length:0;for(i&&r&&(n=e[--r]);r--;)n=t(n,e[r],r,e);return n}function p(e,t){for(var n=-1,i=e?e.length:0;++n<i;)if(t(e[n],n,e))return!0;return!1}function m(e,t,n){var i;return n(e,function(e,n,r){if(t(e,n,r))return i=n,!1}),i}function _(e,t,n,i){for(var r=e.length,a=n+(i?1:-1);i?a--:++a<r;)if(t(e[a],a,e))return a;return-1}function g(e,t,n){if(t!==t)return I(e,n);for(var i=n-1,r=e.length;++i<r;)if(e[i]===t)return i;return-1}function y(e,t,n,i){for(var r=n-1,a=e.length;++r<a;)if(i(e[r],t))return r;return-1}function v(e,t){var n=e?e.length:0;return n?w(e,t)/n:Me}function b(e,t,n,i,r){return r(e,function(e,r,a){n=i?(i=!1,e):t(n,e,r,a)}),n}function M(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function w(e,t){for(var n,i=-1,r=e.length;++i<r;){var a=t(e[i]);a!==U&&(n=n===U?a:n+a)}return n}function k(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function L(e,t){return d(t,function(t){return[t,e[t]]})}function x(e){return function(t){return e(t)}}function D(e,t){return d(t,function(t){return e[t]})}function T(e,t){return e.has(t)}function Y(e,t){for(var n=-1,i=e.length;++n<i&&g(t,e[n],0)>-1;);return n}function S(e,t){for(var n=e.length;n--&&g(t,e[n],0)>-1;);return n}function C(e){return e&&e.Object===Object?e:null}function H(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&i++;return i}function A(e){return Ln[e]}function j(e){return xn[e]}function P(e){return"\\"+Tn[e]}function E(e,t){return null==e?U:e[t]}function I(e,t,n){for(var i=e.length,r=t+(n?1:-1);n?r--:++r<i;){var a=e[r];if(a!==a)return r}return-1}function F(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}function O(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function W(e){var t=-1,n=Array(e.size);return e.forEach(function(e,i){n[++t]=[i,e]}),n}function R(e,t){for(var n=-1,i=e.length,r=0,a=[];++n<i;){var o=e[n];o!==t&&o!==Z||(e[n]=Z,a[r++]=n)}return a}function N(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function z(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function B(e){if(!e||!yn.test(e))return e.length;for(var t=_n.lastIndex=0;_n.test(e);)t++;return t}function $(e){return e.match(_n)}function V(e){return Dn[e]}function q(C){function Ct(e){if(ys(e)&&!_c(e)&&!(e instanceof jt)){if(e instanceof At)return e;if(Su.call(e,"__wrapped__"))return ca(e)}return new At(e)}function Ht(){}function At(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=U}function jt(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=we,this.__views__=[]}function Pt(){var e=new jt(this.__wrapped__);return e.__actions__=nr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=nr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=nr(this.__views__),e}function Et(){if(this.__filtered__){var e=new jt(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function It(){var e=this.__wrapped__.value(),t=this.__dir__,n=_c(e),i=t<0,r=n?e.length:0,a=zr(0,r,this.__views__),o=a.start,s=a.end,l=s-o,u=i?s:o-1,d=this.__iteratees__,c=d.length,h=0,f=Ku(l,this.__takeCount__);if(!n||r<G||r==l&&f==l)return Fi(e,this.__actions__);var p=[];e:for(;l--&&h<f;){u+=t;for(var m=-1,_=e[u];++m<c;){var g=d[m],y=g.iteratee,v=g.type,b=y(_);if(v==_e)_=b;else if(!b){if(v==me)continue e;break e}}p[h++]=_}return p}function Ft(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Ot(){this.__data__=dd?dd(null):{}}function Wt(e){return this.has(e)&&delete this.__data__[e]}function Rt(e){var t=this.__data__;if(dd){var n=t[e];return n===Q?U:n}return Su.call(t,e)?t[e]:U}function Nt(e){var t=this.__data__;return dd?t[e]!==U:Su.call(t,e)}function zt(e,t){var n=this.__data__;return n[e]=dd&&t===U?Q:t,this}function Bt(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function $t(){this.__data__=[]}function Vt(e){var t=this.__data__,n=_n(t,e);if(n<0)return!1;var i=t.length-1;return n==i?t.pop():$u.call(t,n,1),!0}function qt(e){var t=this.__data__,n=_n(t,e);return n<0?U:t[n][1]}function Ut(e){return _n(this.__data__,e)>-1}function Jt(e,t){var n=this.__data__,i=_n(n,e);return i<0?n.push([e,t]):n[i][1]=t,this}function Gt(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Xt(){this.__data__={hash:new Ft,map:new(od||Bt),string:new Ft}}function Qt(e){return Ir(this,e)["delete"](e)}function Zt(e){return Ir(this,e).get(e)}function Kt(e){return Ir(this,e).has(e)}function en(e,t){return Ir(this,e).set(e,t),this}function tn(e){var t=-1,n=e?e.length:0;for(this.__data__=new Gt;++t<n;)this.add(e[t])}function nn(e){return this.__data__.set(e,Q),this}function rn(e){return this.__data__.has(e)}function an(e){this.__data__=new Bt(e)}function on(){this.__data__=new Bt}function sn(e){return this.__data__["delete"](e)}function ln(e){return this.__data__.get(e)}function un(e){return this.__data__.has(e)}function dn(e,t){var n=this.__data__;return n instanceof Bt&&n.__data__.length==G&&(n=this.__data__=new Gt(n.__data__)),n.set(e,t),this}function cn(e,t,n,i){return e===U||ts(e,Lu[n])&&!Su.call(i,n)?t:e}function hn(e,t,n){(n===U||ts(e[t],n))&&("number"!=typeof t||n!==U||t in e)||(e[t]=n)}function fn(e,t,n){var i=e[t];Su.call(e,t)&&ts(i,n)&&(n!==U||t in e)||(e[t]=n)}function _n(e,t){for(var n=e.length;n--;)if(ts(e[n][0],t))return n;return-1}function Ln(e,t,n,i){return wd(e,function(e,r,a){t(i,e,n(e),a)}),i}function xn(e,t){return e&&ir(t,il(t),e)}function Dn(e,t){for(var n=-1,i=null==e,r=t.length,a=Array(r);++n<r;)a[n]=i?U:el(e,t[n]);return a}function Tn(e,t,n){return e===e&&(n!==U&&(e=e<=n?e:n),t!==U&&(e=e>=t?e:t)),e}function Cn(e,t,n,i,a,o,s){var l;if(i&&(l=o?i(e,a,o,s):i(e)),l!==U)return l;if(!gs(e))return e;var u=_c(e);if(u){if(l=$r(e),!t)return nr(e,l)}else{var d=Nr(e),c=d==Ce||d==He;if(gc(e))return $i(e,t);if(d==Pe||d==xe||c&&!o){if(F(e))return o?e:{};if(l=Vr(c?{}:e),!t)return rr(e,xn(l,e))}else{if(!kn[d])return o?e:{};l=qr(e,d,Cn,t)}}s||(s=new an);var h=s.get(e);if(h)return h;if(s.set(e,l),!u)var f=n?Hr(e):il(e);return r(f||e,function(r,a){f&&(a=r,r=e[a]),fn(l,a,Cn(r,t,n,i,a,e,s))}),l}function Hn(e){var t=il(e),n=t.length;return function(i){if(null==i)return!n;for(var r=n;r--;){var a=t[r],o=e[a],s=i[a];if(s===U&&!(a in Object(i))||!o(s))return!1}return!0}}function jn(e){return gs(e)?zu(e):{}}function Pn(e,t,n){if("function"!=typeof e)throw new wu(X);return Vu(function(){e.apply(U,n)},t)}function En(e,t,n,i){var r=-1,a=l,o=!0,s=e.length,c=[],h=t.length;if(!s)return c;n&&(t=d(t,x(n))),i?(a=u,o=!1):t.length>=G&&(a=T,o=!1,t=new tn(t));e:for(;++r<s;){var f=e[r],p=n?n(f):f;if(f=i||0!==f?f:0,o&&p===p){for(var m=h;m--;)if(t[m]===p)continue e;c.push(f)}else a(t,p,i)||c.push(f)}return c}function On(e,t){var n=!0;return wd(e,function(e,i,r){return n=!!t(e,i,r)}),n}function Wn(e,t,n){for(var i=-1,r=e.length;++i<r;){var a=e[i],o=t(a);if(null!=o&&(s===U?o===o&&!As(o):n(o,s)))var s=o,l=a}return l}function Rn(e,t,n,i){var r=e.length;for(n=Ws(n),n<0&&(n=-n>r?0:r+n),i=i===U||i>r?r:Ws(i),i<0&&(i+=r),i=n>i?0:Rs(i);n<i;)e[n++]=t;return e}function Nn(e,t){var n=[];return wd(e,function(e,i,r){t(e,i,r)&&n.push(e)}),n}function zn(e,t,n,i,r){var a=-1,o=e.length;for(n||(n=Jr),r||(r=[]);++a<o;){var s=e[a];t>0&&n(s)?t>1?zn(s,t-1,n,i,r):c(r,s):i||(r[r.length]=s)}return r}function Bn(e,t){return e&&Ld(e,t,il)}function $n(e,t){return e&&xd(e,t,il)}function Vn(e,t){return s(t,function(t){return ps(e[t])})}function qn(e,t){t=Zr(t,e)?[t]:zi(t);for(var n=0,i=t.length;null!=e&&n<i;)e=e[ua(t[n++])];return n&&n==i?e:U}function Un(e,t,n){var i=t(e);return _c(e)?i:c(i,n(e))}function Jn(e,t){return e>t}function Gn(e,t){return null!=e&&(Su.call(e,t)||"object"==typeof e&&t in e&&null===Wr(e))}function Xn(e,t){return null!=e&&t in Object(e)}function Qn(e,t,n){return e>=Ku(t,n)&&e<Zu(t,n)}function Zn(e,t,n){for(var i=n?u:l,r=e[0].length,a=e.length,o=a,s=Array(a),c=1/0,h=[];o--;){var f=e[o];o&&t&&(f=d(f,x(t))),c=Ku(f.length,c),s[o]=!n&&(t||r>=120&&f.length>=120)?new tn(o&&f):U}f=e[0];var p=-1,m=s[0];e:for(;++p<r&&h.length<c;){var _=f[p],g=t?t(_):_;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(e[o],g,n)))continue e}m&&m.push(g),h.push(_)}}return h}function Kn(e,t,n,i){return Bn(e,function(e,r,a){t(i,n(e),r,a)}),i}function ei(e,t,i){Zr(t,e)||(t=zi(t),e=sa(e,t),t=Ca(t));var r=null==e?e:e[ua(t)];return null==r?U:n(r,e,i)}function ti(e,t,n,i,r){return e===t||(null==e||null==t||!gs(e)&&!ys(t)?e!==e&&t!==t:ni(e,t,ti,n,i,r))}function ni(e,t,n,i,r,a){var o=_c(e),s=_c(t),l=De,u=De;o||(l=Nr(e),l=l==xe?Pe:l),s||(u=Nr(t),u=u==xe?Pe:u);var d=l==Pe&&!F(e),c=u==Pe&&!F(t),h=l==u;if(h&&!d)return a||(a=new an),o||js(e)?Yr(e,t,n,i,r,a):Sr(e,t,l,n,i,r,a);if(!(r&de)){var f=d&&Su.call(e,"__wrapped__"),p=c&&Su.call(t,"__wrapped__");if(f||p){var m=f?e.value():e,_=p?t.value():t;return a||(a=new an),n(m,_,i,r,a)}}return!!h&&(a||(a=new an),Cr(e,t,n,i,r,a))}function ii(e,t,n,i){var r=n.length,a=r,o=!i;if(null==e)return!a;for(e=Object(e);r--;){var s=n[r];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++r<a;){s=n[r];var l=s[0],u=e[l],d=s[1];if(o&&s[2]){if(u===U&&!(l in e))return!1}else{var c=new an;if(i)var h=i(u,d,l,e,t,c);if(!(h===U?ti(d,u,i,ue|de,c):h))return!1}}return!0}function ri(e){if(!gs(e)||ta(e))return!1;var t=ps(e)||F(e)?Pu:Lt;return t.test(da(e))}function ai(e){return"function"==typeof e?e:null==e?ql:"object"==typeof e?_c(e)?ci(e[0],e[1]):di(e):eu(e)}function oi(e){return Qu(Object(e))}function si(e){e=null==e?e:Object(e);var t=[];for(var n in e)t.push(n);return t}function li(e,t){return e<t}function ui(e,t){var n=-1,i=rs(e)?Array(e.length):[];return wd(e,function(e,r,a){i[++n]=t(e,r,a)}),i}function di(e){var t=Fr(e);return 1==t.length&&t[0][2]?ra(t[0][0],t[0][1]):function(n){return n===e||ii(n,e,t)}}function ci(e,t){return Zr(e)&&ia(t)?ra(ua(e),t):function(n){var i=el(n,e);return i===U&&i===t?nl(n,e):ti(t,i,U,ue|de)}}function hi(e,t,n,i,a){if(e!==t){if(!_c(t)&&!js(t))var o=rl(t);r(o||t,function(r,s){if(o&&(s=r,r=t[s]),gs(r))a||(a=new an),fi(e,t,s,n,hi,i,a);else{var l=i?i(e[s],r,s+"",e,t,a):U;l===U&&(l=r),hn(e,s,l)}})}}function fi(e,t,n,i,r,a,o){var s=e[n],l=t[n],u=o.get(l);if(u)return void hn(e,n,u);var d=a?a(s,l,n+"",e,t,o):U,c=d===U;c&&(d=l,_c(l)||js(l)?_c(s)?d=s:as(s)?d=nr(s):(c=!1,d=Cn(l,!0)):Ts(l)||ns(l)?ns(s)?d=zs(s):!gs(s)||i&&ps(s)?(c=!1,d=Cn(l,!0)):d=s:c=!1),o.set(l,d),c&&r(d,l,i,a,o),o["delete"](l),hn(e,n,d)}function pi(e,t){var n=e.length;if(n)return t+=t<0?n:0,Xr(t,n)?e[t]:U}function mi(e,t,n){var i=-1;t=d(t.length?t:[ql],x(Er()));var r=ui(e,function(e,n,r){var a=d(t,function(t){return t(e)});return{criteria:a,index:++i,value:e}});return M(r,function(e,t){return Ki(e,t,n)})}function _i(e,t){return e=Object(e),h(t,function(t,n){return n in e&&(t[n]=e[n]),t},{})}function gi(e,t){for(var n=-1,i=Ar(e),r=i.length,a={};++n<r;){var o=i[n],s=e[o];t(s,o)&&(a[o]=s)}return a}function yi(e){return function(t){return null==t?U:t[e]}}function vi(e){return function(t){return qn(t,e)}}function bi(e,t,n,i){var r=i?y:g,a=-1,o=t.length,s=e;for(e===t&&(t=nr(t)),n&&(s=d(e,x(n)));++a<o;)for(var l=0,u=t[a],c=n?n(u):u;(l=r(s,c,l,i))>-1;)s!==e&&$u.call(s,l,1),$u.call(e,l,1);return e}function Mi(e,t){for(var n=e?t.length:0,i=n-1;n--;){var r=t[n];if(n==i||r!==a){var a=r;if(Xr(r))$u.call(e,r,1);else if(Zr(r,e))delete e[ua(r)];else{var o=zi(r),s=sa(e,o);null!=s&&delete s[ua(Ca(o))]}}}return e}function wi(e,t){return e+Uu(td()*(t-e+1))}function ki(e,t,n,i){for(var r=-1,a=Zu(qu((t-e)/(n||1)),0),o=Array(a);a--;)o[i?a:++r]=e,e+=n;return o}function Li(e,t){var n="";if(!e||t<1||t>ve)return n;do t%2&&(n+=e),t=Uu(t/2),t&&(e+=e);while(t);return n}function xi(e,t,n,i){t=Zr(t,e)?[t]:zi(t);for(var r=-1,a=t.length,o=a-1,s=e;null!=s&&++r<a;){var l=ua(t[r]);if(gs(s)){var u=n;if(r!=o){var d=s[l];u=i?i(d,l,s):U,u===U&&(u=null==d?Xr(t[r+1])?[]:{}:d)}fn(s,l,u)}s=s[l]}return e}function Di(e,t,n){var i=-1,r=e.length;t<0&&(t=-t>r?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(r);++i<r;)a[i]=e[i+t];return a}function Ti(e,t){var n;return wd(e,function(e,i,r){return n=t(e,i,r),!n}),!!n}function Yi(e,t,n){var i=0,r=e?e.length:i;if("number"==typeof t&&t===t&&r<=Le){for(;i<r;){var a=i+r>>>1,o=e[a];null!==o&&!As(o)&&(n?o<=t:o<t)?i=a+1:r=a}return r}return Si(e,t,ql,n)}function Si(e,t,n,i){t=n(t);for(var r=0,a=e?e.length:0,o=t!==t,s=null===t,l=As(t),u=t===U;r<a;){var d=Uu((r+a)/2),c=n(e[d]),h=c!==U,f=null===c,p=c===c,m=As(c);if(o)var _=i||p;else _=u?p&&(i||h):s?p&&h&&(i||!f):l?p&&h&&!f&&(i||!m):!f&&!m&&(i?c<=t:c<t);_?r=d+1:a=d}return Ku(a,ke)}function Ci(e,t){for(var n=-1,i=e.length,r=0,a=[];++n<i;){var o=e[n],s=t?t(o):o;if(!n||!ts(s,l)){var l=s;a[r++]=0===o?0:o}}return a}function Hi(e){return"number"==typeof e?e:As(e)?Me:+e}function Ai(e){if("string"==typeof e)return e;if(As(e))return Md?Md.call(e):"";var t=e+"";return"0"==t&&1/e==-ye?"-0":t}function ji(e,t,n){var i=-1,r=l,a=e.length,o=!0,s=[],d=s;if(n)o=!1,r=u;else if(a>=G){var c=t?null:Td(e);if(c)return N(c);o=!1,r=T,d=new tn}else d=t?[]:s;e:for(;++i<a;){var h=e[i],f=t?t(h):h;if(h=n||0!==h?h:0,o&&f===f){for(var p=d.length;p--;)if(d[p]===f)continue e;t&&d.push(f),s.push(h)}else r(d,f,n)||(d!==s&&d.push(f),s.push(h))}return s}function Pi(e,t){t=Zr(t,e)?[t]:zi(t),e=sa(e,t);var n=ua(Ca(t));return!(null!=e&&Gn(e,n))||delete e[n]}function Ei(e,t,n,i){return xi(e,t,n(qn(e,t)),i)}function Ii(e,t,n,i){for(var r=e.length,a=i?r:-1;(i?a--:++a<r)&&t(e[a],a,e););return n?Di(e,i?0:a,i?a+1:r):Di(e,i?a+1:0,i?r:a)}function Fi(e,t){var n=e;return n instanceof jt&&(n=n.value()),h(t,function(e,t){return t.func.apply(t.thisArg,c([e],t.args))},n)}function Oi(e,t,n){for(var i=-1,r=e.length;++i<r;)var a=a?c(En(a,e[i],t,n),En(e[i],a,t,n)):e[i];return a&&a.length?ji(a,t,n):[]}function Wi(e,t,n){for(var i=-1,r=e.length,a=t.length,o={};++i<r;){var s=i<a?t[i]:U;n(o,e[i],s)}return o}function Ri(e){return as(e)?e:[]}function Ni(e){return"function"==typeof e?e:ql}function zi(e){return _c(e)?e:jd(e)}function Bi(e,t,n){var i=e.length;return n=n===U?i:n,!t&&n>=i?e:Di(e,t,n)}function $i(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}function Vi(e){var t=new e.constructor(e.byteLength);return new Ou(t).set(new Ou(e)),t}function qi(e,t){var n=t?Vi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Ui(t,n,i){var r=n?i(W(t),!0):W(t);return h(r,e,new t.constructor)}function Ji(e){var t=new e.constructor(e.source,bt.exec(e));return t.lastIndex=e.lastIndex,t}function Gi(e,n,i){var r=n?i(N(e),!0):N(e);return h(r,t,new e.constructor)}function Xi(e){return bd?Object(bd.call(e)):{}}function Qi(e,t){var n=t?Vi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Zi(e,t){if(e!==t){var n=e!==U,i=null===e,r=e===e,a=As(e),o=t!==U,s=null===t,l=t===t,u=As(t);if(!s&&!u&&!a&&e>t||a&&o&&l&&!s&&!u||i&&o&&l||!n&&l||!r)return 1;if(!i&&!a&&!u&&e<t||u&&n&&r&&!i&&!a||s&&n&&r||!o&&r||!l)return-1}return 0}function Ki(e,t,n){for(var i=-1,r=e.criteria,a=t.criteria,o=r.length,s=n.length;++i<o;){var l=Zi(r[i],a[i]);if(l){if(i>=s)return l;var u=n[i];return l*("desc"==u?-1:1)}}return e.index-t.index}function er(e,t,n,i){for(var r=-1,a=e.length,o=n.length,s=-1,l=t.length,u=Zu(a-o,0),d=Array(l+u),c=!i;++s<l;)d[s]=t[s];for(;++r<o;)(c||r<a)&&(d[n[r]]=e[r]);for(;u--;)d[s++]=e[r++];return d}function tr(e,t,n,i){for(var r=-1,a=e.length,o=-1,s=n.length,l=-1,u=t.length,d=Zu(a-s,0),c=Array(d+u),h=!i;++r<d;)c[r]=e[r];for(var f=r;++l<u;)c[f+l]=t[l];for(;++o<s;)(h||r<a)&&(c[f+n[o]]=e[r++]);return c}function nr(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}function ir(e,t,n,i){n||(n={});for(var r=-1,a=t.length;++r<a;){var o=t[r],s=i?i(n[o],e[o],o,n,e):e[o];fn(n,o,s)}return n}function rr(e,t){return ir(e,Rr(e),t)}function ar(e,t){return function(n,r){var a=_c(n)?i:Ln,o=t?t():{};return a(n,e,Er(r),o)}}function or(e){return Vo(function(t,n){var i=-1,r=n.length,a=r>1?n[r-1]:U,o=r>2?n[2]:U;for(a=e.length>3&&"function"==typeof a?(r--,a):U,o&&Qr(n[0],n[1],o)&&(a=r<3?U:a,r=1),t=Object(t);++i<r;){var s=n[i];s&&e(t,s,i,a)}return t})}function sr(e,t){return function(n,i){if(null==n)return n;if(!rs(n))return e(n,i);for(var r=n.length,a=t?r:-1,o=Object(n);(t?a--:++a<r)&&i(o[a],a,o)!==!1;);return n}}function lr(e){return function(t,n,i){for(var r=-1,a=Object(t),o=i(t),s=o.length;s--;){var l=o[e?s:++r];if(n(a[l],l,a)===!1)break}return t}}function ur(e,t,n){function i(){var t=this&&this!==In&&this instanceof i?a:e;return t.apply(r?n:this,arguments)}var r=t&K,a=hr(e);return i}function dr(e){return function(t){t=$s(t);var n=yn.test(t)?$(t):U,i=n?n[0]:t.charAt(0),r=n?Bi(n,1).join(""):t.slice(1);return i[e]()+r}}function cr(e){return function(t){return h(zl(wl(t).replace(pn,"")),e,"")}}function hr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=jn(e.prototype),i=e.apply(n,t);return gs(i)?i:n}}function fr(e,t,i){function r(){for(var o=arguments.length,s=Array(o),l=o,u=Pr(r);l--;)s[l]=arguments[l];var d=o<3&&s[0]!==u&&s[o-1]!==u?[]:R(s,u);if(o-=d.length,o<i)return Lr(e,t,_r,r.placeholder,U,s,d,U,U,i-o);var c=this&&this!==In&&this instanceof r?a:e;return n(c,this,s)}var a=hr(e);return r}function pr(e){return function(t,n,i){var r=Object(t);if(n=Er(n,3),!rs(t))var a=il(t);var o=e(a||t,function(e,t){return a&&(t=e,e=r[t]),n(e,t,r)},i);return o>-1?t[a?a[o]:o]:U}}function mr(e){return Vo(function(t){t=zn(t,1);var n=t.length,i=n,r=At.prototype.thru;for(e&&t.reverse();i--;){var a=t[i];if("function"!=typeof a)throw new wu(X);if(r&&!o&&"wrapper"==jr(a))var o=new At([],(!0))}for(i=o?i:n;++i<n;){a=t[i];var s=jr(a),l="wrapper"==s?Yd(a):U;o=l&&ea(l[0])&&l[1]==(oe|ne|re|se)&&!l[4].length&&1==l[9]?o[jr(l[0])].apply(o,l[3]):1==a.length&&ea(a)?o[s]():o.thru(a)}return function(){var e=arguments,i=e[0];if(o&&1==e.length&&_c(i)&&i.length>=G)return o.plant(i).value();for(var r=0,a=n?t[r].apply(this,e):i;++r<n;)a=t[r].call(this,a);return a}})}function _r(e,t,n,i,r,a,o,s,l,u){function d(){for(var g=arguments.length,y=Array(g),v=g;v--;)y[v]=arguments[v];if(p)var b=Pr(d),M=H(y,b);if(i&&(y=er(y,i,r,p)),a&&(y=tr(y,a,o,p)),g-=M,p&&g<u){var w=R(y,b);return Lr(e,t,_r,d.placeholder,n,y,w,s,l,u-g)}var k=h?n:this,L=f?k[e]:e;return g=y.length,s?y=la(y,s):m&&g>1&&y.reverse(),c&&l<g&&(y.length=l),this&&this!==In&&this instanceof d&&(L=_||hr(L)),L.apply(k,y)}var c=t&oe,h=t&K,f=t&ee,p=t&(ne|ie),m=t&le,_=f?U:hr(e);return d}function gr(e,t){return function(n,i){return Kn(n,e,t(i),{})}}function yr(e){return function(t,n){var i;if(t===U&&n===U)return 0;if(t!==U&&(i=t),n!==U){if(i===U)return n;"string"==typeof t||"string"==typeof n?(t=Ai(t),n=Ai(n)):(t=Hi(t),n=Hi(n)),i=e(t,n)}return i}}function vr(e){return Vo(function(t){return t=1==t.length&&_c(t[0])?d(t[0],x(Er())):d(zn(t,1,Gr),x(Er())),Vo(function(i){var r=this;return e(t,function(e){return n(e,r,i)})})})}function br(e,t){t=t===U?" ":Ai(t);var n=t.length;if(n<2)return n?Li(t,e):t;var i=Li(t,qu(e/B(t)));return yn.test(t)?Bi($(i),0,e).join(""):i.slice(0,e)}function Mr(e,t,i,r){function a(){for(var t=-1,l=arguments.length,u=-1,d=r.length,c=Array(d+l),h=this&&this!==In&&this instanceof a?s:e;++u<d;)c[u]=r[u];for(;l--;)c[u++]=arguments[++t];return n(h,o?i:this,c)}var o=t&K,s=hr(e);return a}function wr(e){return function(t,n,i){return i&&"number"!=typeof i&&Qr(t,n,i)&&(n=i=U),t=Ns(t),t=t===t?t:0,n===U?(n=t,t=0):n=Ns(n)||0,i=i===U?t<n?1:-1:Ns(i)||0,ki(t,n,i,e)}}function kr(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Ns(t),n=Ns(n)),e(t,n)}}function Lr(e,t,n,i,r,a,o,s,l,u){var d=t&ne,c=d?o:U,h=d?U:o,f=d?a:U,p=d?U:a;t|=d?re:ae,t&=~(d?ae:re),t&te||(t&=~(K|ee));var m=[e,t,r,f,c,p,h,s,l,u],_=n.apply(U,m);return ea(e)&&Ad(_,m),_.placeholder=i,_}function xr(e){var t=bu[e];return function(e,n){if(e=Ns(e),n=Ku(Ws(n),292)){var i=($s(e)+"e").split("e"),r=t(i[0]+"e"+(+i[1]+n));return i=($s(r)+"e").split("e"),+(i[0]+"e"+(+i[1]-n))}return t(e)}}function Dr(e){return function(t){var n=Nr(t);return n==Ae?W(t):n==Fe?z(t):L(t,e(t))}}function Tr(e,t,n,i,r,a,o,s){var l=tⅇif(!l&&"function"!=typeof e)throw new wu(X);var u=i?i.length:0;if(u||(t&=~(re|ae),i=r=U),o=o===U?o:Zu(Ws(o),0),s=s===U?s:Ws(s),u-=r?r.length:0,t&ae){var d=i,c=r;i=r=U}var h=l?U:Yd(e),f=[e,t,n,i,r,d,c,a,o,s];if(h&&aa(f,h),e=f[0],t=f[1],n=f[2],i=f[3],r=f[4],s=f[9]=null==f[9]?l?0:e.length:Zu(f[9]-u,0),!s&&t&(ne|ie)&&(t&=~(ne|ie)),t&&t!=K)p=t==ne||t==ie?fr(e,t,s):t!=re&&t!=(K|re)||r.length?_r.apply(U,f):Mr(e,t,n,i);else var p=ur(e,t,n);var m=h?Dd:Ad;return m(p,f)}function Yr(e,t,n,i,r,a){var o=r&de,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var u=a.get(e);if(u)return u==t;var d=-1,c=!0,h=r&ue?new tn:U;for(a.set(e,t);++d<s;){var f=e[d],m=t[d];if(i)var _=o?i(m,f,d,t,e,a):i(f,m,d,e,t,a);if(_!==U){if(_)continue;c=!1;break}if(h){if(!p(t,function(e,t){if(!h.has(t)&&(f===e||n(f,e,i,r,a)))return h.add(t)})){c=!1;break}}else if(f!==m&&!n(f,m,i,r,a)){c=!1;break}}return a["delete"](e),c}function Sr(e,t,n,i,r,a,o){switch(n){case Be:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ze:return!(e.byteLength!=t.byteLength||!i(new Ou(e),new Ou(t)));case Te:case Ye:return+e==+t;case Se:return e.name==t.name&&e.message==t.message;case je:return e!=+e?t!=+t:e==+t;case Ie:case Oe:return e==t+"";case Ae:var s=W;case Fe:var l=a&de;if(s||(s=N),e.size!=t.size&&!l)return!1;var u=o.get(e);return u?u==t:(a|=ue,o.set(e,t),Yr(s(e),s(t),i,r,a,o));case We:if(bd)return bd.call(e)==bd.call(t)}return!1}function Cr(e,t,n,i,r,a){var o=r&de,s=il(e),l=s.length,u=il(t),d=u.length;if(l!=d&&!o)return!1;for(var c=l;c--;){var h=s[c];if(!(o?h in t:Gn(t,h)))return!1}var f=a.get(e);if(f)return f==t;var p=!0;a.set(e,t);for(var m=o;++c<l;){h=s[c];var _=e[h],g=t[h];if(i)var y=o?i(g,_,h,t,e,a):i(_,g,h,e,t,a);if(!(y===U?_===g||n(_,g,i,r,a):y)){p=!1;break}m||(m="constructor"==h)}if(p&&!m){var v=e.constructor,b=t.constructor;v!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b)&&(p=!1)}return a["delete"](e),p}function Hr(e){return Un(e,il,Rr)}function Ar(e){return Un(e,rl,Cd)}function jr(e){for(var t=e.name+"",n=fd[t],i=Su.call(fd,t)?n.length:0;i--;){var r=n[i],a=r.func;if(null==a||a==e)return r.name}return t}function Pr(e){var t=Su.call(Ct,"placeholder")?Ct:e;return t.placeholder}function Er(){var e=Ct.iteratee||Ul;return e=e===Ul?ai:e,arguments.length?e(arguments[0],arguments[1]):e}function Ir(e,t){var n=e.__data__;return Kr(t)?n["string"==typeof t?"string":"hash"]:n.map}function Fr(e){for(var t=il(e),n=t.length;n--;){var i=t[n],r=e[i];t[n]=[i,r,ia(r)]}return t}function Or(e,t){var n=E(e,t);return ri(n)?n:U}function Wr(e){return Ju(Object(e))}function Rr(e){return Ru(Object(e))}function Nr(e){return Au.call(e)}function zr(e,t,n){for(var i=-1,r=n.length;++i<r;){var a=n[i],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=Ku(t,e+o);break;case"takeRight":e=Zu(e,t-o)}}return{start:e,end:t}}function Br(e,t,n){t=Zr(t,e)?[t]:zi(t);for(var i,r=-1,a=t.length;++r<a;){var o=ua(t[r]);if(!(i=null!=e&&n(e,o)))break;e=e[o]}if(i)return i;var a=e?e.length:0;return!!a&&_s(a)&&Xr(o,a)&&(_c(e)||Hs(e)||ns(e))}function $r(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&Su.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function Vr(e){return"function"!=typeof e.constructor||na(e)?{}:jn(Wr(e))}function qr(e,t,n,i){var r=e.constructor;switch(t){case ze:return Vi(e);case Te:case Ye:return new r((+e));case Be:return qi(e,i);case $e:case Ve:case qe:case Ue:case Je:case Ge:case Xe:case Qe:case Ze:return Qi(e,i);case Ae:return Ui(e,i,n);case je:case Oe:return new r(e);case Ie:return Ji(e);case Fe:return Gi(e,i,n);case We:return Xi(e)}}function Ur(e){var t=e?e.length:U;return _s(t)&&(_c(e)||Hs(e)||ns(e))?k(t,String):null}function Jr(e){return _c(e)||ns(e)}function Gr(e){return _c(e)&&!(2==e.length&&!ps(e[0]))}function Xr(e,t){return t=null==t?ve:t,!!t&&("number"==typeof e||Dt.test(e))&&e>-1&&e%1==0&&e<t}function Qr(e,t,n){if(!gs(n))return!1;var i=typeof t;return!!("number"==i?rs(n)&&Xr(t,n.length):"string"==i&&t in n)&&ts(n[t],e)}function Zr(e,t){if(_c(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!As(e))||(dt.test(e)||!ut.test(e)||null!=t&&e in Object(t))}function Kr(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function ea(e){var t=jr(e),n=Ct[t];if("function"!=typeof n||!(t in jt.prototype))return!1;if(e===n)return!0;var i=Yd(n);return!!i&&e===i[0]}function ta(e){return!!Tu&&Tu in e}function na(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||Lu;return e===n}function ia(e){return e===e&&!gs(e)}function ra(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==U||e in Object(n)))}}function aa(e,t){var n=e[1],i=t[1],r=n|i,a=r<(K|ee|oe),o=i==oe&&n==ne||i==oe&&n==se&&e[7].length<=t[8]||i==(oe|se)&&t[7].length<=t[8]&&n==ne;if(!a&&!o)return e;i&K&&(e[2]=t[2],r|=n&K?0:te);var s=t[3];if(s){var l=e[3];e[3]=l?er(l,s,t[4]):s,e[4]=l?R(e[3],Z):t[4]}return s=t[5],s&&(l=e[5],e[5]=l?tr(l,s,t[6]):s,e[6]=l?R(e[5],Z):t[6]),s=t[7],s&&(e[7]=s),i&oe&&(e[8]=null==e[8]?t[8]:Ku(e[8],t[8])),
|
||
null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=r,e}function oa(e,t,n,i,r,a){return gs(e)&&gs(t)&&hi(e,t,U,oa,a.set(t,e)),e}function sa(e,t){return 1==t.length?e:qn(e,Di(t,0,-1))}function la(e,t){for(var n=e.length,i=Ku(t.length,n),r=nr(e);i--;){var a=t[i];e[i]=Xr(a,n)?r[a]:U}return e}function ua(e){if("string"==typeof e||As(e))return e;var t=e+"";return"0"==t&&1/e==-ye?"-0":t}function da(e){if(null!=e){try{return Yu.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function ca(e){if(e instanceof jt)return e.clone();var t=new At(e.__wrapped__,e.__chain__);return t.__actions__=nr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function ha(e,t,n){t=(n?Qr(e,t,n):t===U)?1:Zu(Ws(t),0);var i=e?e.length:0;if(!i||t<1)return[];for(var r=0,a=0,o=Array(qu(i/t));r<i;)o[a++]=Di(e,r,r+=t);return o}function fa(e){for(var t=-1,n=e?e.length:0,i=0,r=[];++t<n;){var a=e[t];a&&(r[i++]=a)}return r}function pa(){for(var e=arguments.length,t=Array(e?e-1:0),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return e?c(_c(n)?nr(n):[n],zn(t,1)):[]}function ma(e,t,n){var i=e?e.length:0;return i?(t=n||t===U?1:Ws(t),Di(e,t<0?0:t,i)):[]}function _a(e,t,n){var i=e?e.length:0;return i?(t=n||t===U?1:Ws(t),t=i-t,Di(e,0,t<0?0:t)):[]}function ga(e,t){return e&&e.length?Ii(e,Er(t,3),!0,!0):[]}function ya(e,t){return e&&e.length?Ii(e,Er(t,3),!0):[]}function va(e,t,n,i){var r=e?e.length:0;return r?(n&&"number"!=typeof n&&Qr(e,t,n)&&(n=0,i=r),Rn(e,t,n,i)):[]}function ba(e,t,n){var i=e?e.length:0;if(!i)return-1;var r=null==n?0:Ws(n);return r<0&&(r=Zu(i+r,0)),_(e,Er(t,3),r)}function Ma(e,t,n){var i=e?e.length:0;if(!i)return-1;var r=i-1;return n!==U&&(r=Ws(n),r=n<0?Zu(i+r,0):Ku(r,i-1)),_(e,Er(t,3),r,!0)}function wa(e){var t=e?e.length:0;return t?zn(e,1):[]}function ka(e){var t=e?e.length:0;return t?zn(e,ye):[]}function La(e,t){var n=e?e.length:0;return n?(t=t===U?1:Ws(t),zn(e,t)):[]}function xa(e){for(var t=-1,n=e?e.length:0,i={};++t<n;){var r=e[t];i[r[0]]=r[1]}return i}function Da(e){return e&&e.length?e[0]:U}function Ta(e,t,n){var i=e?e.length:0;if(!i)return-1;var r=null==n?0:Ws(n);return r<0&&(r=Zu(i+r,0)),g(e,t,r)}function Ya(e){return _a(e,1)}function Sa(e,t){return e?Xu.call(e,t):""}function Ca(e){var t=e?e.length:0;return t?e[t-1]:U}function Ha(e,t,n){var i=e?e.length:0;if(!i)return-1;var r=i;if(n!==U&&(r=Ws(n),r=(r<0?Zu(i+r,0):Ku(r,i-1))+1),t!==t)return I(e,r-1,!0);for(;r--;)if(e[r]===t)return r;return-1}function Aa(e,t){return e&&e.length?pi(e,Ws(t)):U}function ja(e,t){return e&&e.length&&t&&t.length?bi(e,t):e}function Pa(e,t,n){return e&&e.length&&t&&t.length?bi(e,t,Er(n)):e}function Ea(e,t,n){return e&&e.length&&t&&t.length?bi(e,t,U,n):e}function Ia(e,t){var n=[];if(!e||!e.length)return n;var i=-1,r=[],a=e.length;for(t=Er(t,3);++i<a;){var o=e[i];t(o,i,e)&&(n.push(o),r.push(i))}return Mi(e,r),n}function Fa(e){return e?id.call(e):e}function Oa(e,t,n){var i=e?e.length:0;return i?(n&&"number"!=typeof n&&Qr(e,t,n)?(t=0,n=i):(t=null==t?0:Ws(t),n=n===U?i:Ws(n)),Di(e,t,n)):[]}function Wa(e,t){return Yi(e,t)}function Ra(e,t,n){return Si(e,t,Er(n))}function Na(e,t){var n=e?e.length:0;if(n){var i=Yi(e,t);if(i<n&&ts(e[i],t))return i}return-1}function za(e,t){return Yi(e,t,!0)}function Ba(e,t,n){return Si(e,t,Er(n),!0)}function $a(e,t){var n=e?e.length:0;if(n){var i=Yi(e,t,!0)-1;if(ts(e[i],t))return i}return-1}function Va(e){return e&&e.length?Ci(e):[]}function qa(e,t){return e&&e.length?Ci(e,Er(t)):[]}function Ua(e){return ma(e,1)}function Ja(e,t,n){return e&&e.length?(t=n||t===U?1:Ws(t),Di(e,0,t<0?0:t)):[]}function Ga(e,t,n){var i=e?e.length:0;return i?(t=n||t===U?1:Ws(t),t=i-t,Di(e,t<0?0:t,i)):[]}function Xa(e,t){return e&&e.length?Ii(e,Er(t,3),!1,!0):[]}function Qa(e,t){return e&&e.length?Ii(e,Er(t,3)):[]}function Za(e){return e&&e.length?ji(e):[]}function Ka(e,t){return e&&e.length?ji(e,Er(t)):[]}function eo(e,t){return e&&e.length?ji(e,U,t):[]}function to(e){if(!e||!e.length)return[];var t=0;return e=s(e,function(e){if(as(e))return t=Zu(e.length,t),!0}),k(t,function(t){return d(e,yi(t))})}function no(e,t){if(!e||!e.length)return[];var i=to(e);return null==t?i:d(i,function(e){return n(t,U,e)})}function io(e,t){return Wi(e||[],t||[],fn)}function ro(e,t){return Wi(e||[],t||[],xi)}function ao(e){var t=Ct(e);return t.__chain__=!0,t}function oo(e,t){return t(e),e}function so(e,t){return t(e)}function lo(){return ao(this)}function uo(){return new At(this.value(),this.__chain__)}function co(){this.__values__===U&&(this.__values__=Fs(this.value()));var e=this.__index__>=this.__values__.length,t=e?U:this.__values__[this.__index__++];return{done:e,value:t}}function ho(){return this}function fo(e){for(var t,n=this;n instanceof Ht;){var i=ca(n);i.__index__=0,i.__values__=U,t?r.__wrapped__=i:t=i;var r=i;n=n.__wrapped__}return r.__wrapped__=e,t}function po(){var e=this.__wrapped__;if(e instanceof jt){var t=e;return this.__actions__.length&&(t=new jt(this)),t=t.reverse(),t.__actions__.push({func:so,args:[Fa],thisArg:U}),new At(t,this.__chain__)}return this.thru(Fa)}function mo(){return Fi(this.__wrapped__,this.__actions__)}function _o(e,t,n){var i=_c(e)?o:On;return n&&Qr(e,t,n)&&(t=U),i(e,Er(t,3))}function go(e,t){var n=_c(e)?s:Nn;return n(e,Er(t,3))}function yo(e,t){return zn(Lo(e,t),1)}function vo(e,t){return zn(Lo(e,t),ye)}function bo(e,t,n){return n=n===U?1:Ws(n),zn(Lo(e,t),n)}function Mo(e,t){var n=_c(e)?r:wd;return n(e,Er(t,3))}function wo(e,t){var n=_c(e)?a:kd;return n(e,Er(t,3))}function ko(e,t,n,i){e=rs(e)?e:_l(e),n=n&&!i?Ws(n):0;var r=e.length;return n<0&&(n=Zu(r+n,0)),Hs(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&g(e,t,n)>-1}function Lo(e,t){var n=_c(e)?d:ui;return n(e,Er(t,3))}function xo(e,t,n,i){return null==e?[]:(_c(t)||(t=null==t?[]:[t]),n=i?U:n,_c(n)||(n=null==n?[]:[n]),mi(e,t,n))}function Do(e,t,n){var i=_c(e)?h:b,r=arguments.length<3;return i(e,Er(t,4),n,r,wd)}function To(e,t,n){var i=_c(e)?f:b,r=arguments.length<3;return i(e,Er(t,4),n,r,kd)}function Yo(e,t){var n=_c(e)?s:Nn;return t=Er(t,3),n(e,function(e,n,i){return!t(e,n,i)})}function So(e){var t=rs(e)?e:_l(e),n=t.length;return n>0?t[wi(0,n-1)]:U}function Co(e,t,n){var i=-1,r=Fs(e),a=r.length,o=a-1;for(t=(n?Qr(e,t,n):t===U)?1:Tn(Ws(t),0,a);++i<t;){var s=wi(i,o),l=r[s];r[s]=r[i],r[i]=l}return r.length=t,r}function Ho(e){return Co(e,we)}function Ao(e){if(null==e)return 0;if(rs(e)){var t=e.length;return t&&Hs(e)?B(e):t}if(ys(e)){var n=Nr(e);if(n==Ae||n==Fe)return e.size}return il(e).length}function jo(e,t,n){var i=_c(e)?p:Ti;return n&&Qr(e,t,n)&&(t=U),i(e,Er(t,3))}function Po(){return yu.now()}function Eo(e,t){if("function"!=typeof t)throw new wu(X);return e=Ws(e),function(){if(--e<1)return t.apply(this,arguments)}}function Io(e,t,n){return t=n?U:t,t=e&&null==t?e.length:t,Tr(e,oe,U,U,U,U,t)}function Fo(e,t){var n;if("function"!=typeof t)throw new wu(X);return e=Ws(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=U),n}}function Oo(e,t,n){t=n?U:t;var i=Tr(e,ne,U,U,U,U,U,t);return i.placeholder=Oo.placeholder,i}function Wo(e,t,n){t=n?U:t;var i=Tr(e,ie,U,U,U,U,U,t);return i.placeholder=Wo.placeholder,i}function Ro(e,t,n){function i(t){var n=h,i=f;return h=f=U,y=t,m=e.apply(i,n)}function r(e){return y=e,_=Vu(s,t),v?i(e):m}function a(e){var n=e-g,i=e-y,r=t-n;return b?Ku(r,p-i):r}function o(e){var n=e-g,i=e-y;return g===U||n>=t||n<0||b&&i>=p}function s(){var e=Po();return o(e)?l(e):void(_=Vu(s,a(e)))}function l(e){return _=U,M&&h?i(e):(h=f=U,m)}function u(){y=0,h=g=f=_=U}function d(){return _===U?m:l(Po())}function c(){var e=Po(),n=o(e);if(h=arguments,f=this,g=e,n){if(_===U)return r(g);if(b)return _=Vu(s,t),i(g)}return _===U&&(_=Vu(s,t)),m}var h,f,p,m,_,g,y=0,v=!1,b=!1,M=!0;if("function"!=typeof e)throw new wu(X);return t=Ns(t)||0,gs(n)&&(v=!!n.leading,b="maxWait"in n,p=b?Zu(Ns(n.maxWait)||0,t):p,M="trailing"in n?!!n.trailing:M),c.cancel=u,c.flush=d,c}function No(e){return Tr(e,le)}function zo(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new wu(X);var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=e.apply(this,i);return n.cache=a.set(r,o),o};return n.cache=new(zo.Cache||Gt),n}function Bo(e){if("function"!=typeof e)throw new wu(X);return function(){return!e.apply(this,arguments)}}function $o(e){return Fo(2,e)}function Vo(e,t){if("function"!=typeof e)throw new wu(X);return t=Zu(t===U?e.length-1:Ws(t),0),function(){for(var i=arguments,r=-1,a=Zu(i.length-t,0),o=Array(a);++r<a;)o[r]=i[t+r];switch(t){case 0:return e.call(this,o);case 1:return e.call(this,i[0],o);case 2:return e.call(this,i[0],i[1],o)}var s=Array(t+1);for(r=-1;++r<t;)s[r]=i[r];return s[t]=o,n(e,this,s)}}function qo(e,t){if("function"!=typeof e)throw new wu(X);return t=t===U?0:Zu(Ws(t),0),Vo(function(i){var r=i[t],a=Bi(i,0,t);return r&&c(a,r),n(e,this,a)})}function Uo(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new wu(X);return gs(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Ro(e,t,{leading:i,maxWait:t,trailing:r})}function Jo(e){return Io(e,1)}function Go(e,t){return t=null==t?ql:t,cc(t,e)}function Xo(){if(!arguments.length)return[];var e=arguments[0];return _c(e)?e:[e]}function Qo(e){return Cn(e,!1,!0)}function Zo(e,t){return Cn(e,!1,!0,t)}function Ko(e){return Cn(e,!0,!0)}function es(e,t){return Cn(e,!0,!0,t)}function ts(e,t){return e===t||e!==e&&t!==t}function ns(e){return as(e)&&Su.call(e,"callee")&&(!Bu.call(e,"callee")||Au.call(e)==xe)}function is(e){return ys(e)&&Au.call(e)==ze}function rs(e){return null!=e&&_s(Sd(e))&&!ps(e)}function as(e){return ys(e)&&rs(e)}function os(e){return e===!0||e===!1||ys(e)&&Au.call(e)==Te}function ss(e){return ys(e)&&Au.call(e)==Ye}function ls(e){return!!e&&1===e.nodeType&&ys(e)&&!Ts(e)}function us(e){if(rs(e)&&(_c(e)||Hs(e)||ps(e.splice)||ns(e)||gc(e)))return!e.length;if(ys(e)){var t=Nr(e);if(t==Ae||t==Fe)return!e.size}for(var n in e)if(Su.call(e,n))return!1;return!(hd&&il(e).length)}function ds(e,t){return ti(e,t)}function cs(e,t,n){n="function"==typeof n?n:U;var i=n?n(e,t):U;return i===U?ti(e,t,n):!!i}function hs(e){return!!ys(e)&&(Au.call(e)==Se||"string"==typeof e.message&&"string"==typeof e.name)}function fs(e){return"number"==typeof e&&Gu(e)}function ps(e){var t=gs(e)?Au.call(e):"";return t==Ce||t==He}function ms(e){return"number"==typeof e&&e==Ws(e)}function _s(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=ve}function gs(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function ys(e){return!!e&&"object"==typeof e}function vs(e){return ys(e)&&Nr(e)==Ae}function bs(e,t){return e===t||ii(e,t,Fr(t))}function Ms(e,t,n){return n="function"==typeof n?n:U,ii(e,t,Fr(t),n)}function ws(e){return Ds(e)&&e!=+e}function ks(e){if(Hd(e))throw new vu("This method is not supported with `core-js`. Try https://github.com/es-shims.");return ri(e)}function Ls(e){return null===e}function xs(e){return null==e}function Ds(e){return"number"==typeof e||ys(e)&&Au.call(e)==je}function Ts(e){if(!ys(e)||Au.call(e)!=Pe||F(e))return!1;var t=Wr(e);if(null===t)return!0;var n=Su.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Yu.call(n)==Hu}function Ys(e){return gs(e)&&Au.call(e)==Ie}function Ss(e){return ms(e)&&e>=-ve&&e<=ve}function Cs(e){return ys(e)&&Nr(e)==Fe}function Hs(e){return"string"==typeof e||!_c(e)&&ys(e)&&Au.call(e)==Oe}function As(e){return"symbol"==typeof e||ys(e)&&Au.call(e)==We}function js(e){return ys(e)&&_s(e.length)&&!!wn[Au.call(e)]}function Ps(e){return e===U}function Es(e){return ys(e)&&Nr(e)==Re}function Is(e){return ys(e)&&Au.call(e)==Ne}function Fs(e){if(!e)return[];if(rs(e))return Hs(e)?$(e):nr(e);if(Nu&&e[Nu])return O(e[Nu]());var t=Nr(e),n=t==Ae?W:t==Fe?N:_l;return n(e)}function Os(e){if(!e)return 0===e?e:0;if(e=Ns(e),e===ye||e===-ye){var t=e<0?-1:1;return t*be}return e===e?e:0}function Ws(e){var t=Os(e),n=t%1;return t===t?n?t-n:t:0}function Rs(e){return e?Tn(Ws(e),0,we):0}function Ns(e){if("number"==typeof e)return e;if(As(e))return Me;if(gs(e)){var t=ps(e.valueOf)?e.valueOf():e;e=gs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(pt,"");var n=kt.test(e);return n||xt.test(e)?Sn(e.slice(2),n?2:8):wt.test(e)?Me:+e}function zs(e){return ir(e,rl(e))}function Bs(e){return Tn(Ws(e),-ve,ve)}function $s(e){return null==e?"":Ai(e)}function Vs(e,t){var n=jn(e);return t?xn(n,t):n}function qs(e,t){return m(e,Er(t,3),Bn)}function Us(e,t){return m(e,Er(t,3),$n)}function Js(e,t){return null==e?e:Ld(e,Er(t,3),rl)}function Gs(e,t){return null==e?e:xd(e,Er(t,3),rl)}function Xs(e,t){return e&&Bn(e,Er(t,3))}function Qs(e,t){return e&&$n(e,Er(t,3))}function Zs(e){return null==e?[]:Vn(e,il(e))}function Ks(e){return null==e?[]:Vn(e,rl(e))}function el(e,t,n){var i=null==e?U:qn(e,t);return i===U?n:i}function tl(e,t){return null!=e&&Br(e,t,Gn)}function nl(e,t){return null!=e&&Br(e,t,Xn)}function il(e){var t=na(e);if(!t&&!rs(e))return oi(e);var n=Ur(e),i=!!n,r=n||[],a=r.length;for(var o in e)!Gn(e,o)||i&&("length"==o||Xr(o,a))||t&&"constructor"==o||r.push(o);return r}function rl(e){for(var t=-1,n=na(e),i=si(e),r=i.length,a=Ur(e),o=!!a,s=a||[],l=s.length;++t<r;){var u=i[t];o&&("length"==u||Xr(u,l))||"constructor"==u&&(n||!Su.call(e,u))||s.push(u)}return s}function al(e,t){var n={};return t=Er(t,3),Bn(e,function(e,i,r){n[t(e,i,r)]=e}),n}function ol(e,t){var n={};return t=Er(t,3),Bn(e,function(e,i,r){n[i]=t(e,i,r)}),n}function sl(e,t){return t=Er(t),gi(e,function(e,n){return!t(e,n)})}function ll(e,t){return null==e?{}:gi(e,Er(t))}function ul(e,t,n){t=Zr(t,e)?[t]:zi(t);var i=-1,r=t.length;for(r||(e=U,r=1);++i<r;){var a=null==e?U:e[ua(t[i])];a===U&&(i=r,a=n),e=ps(a)?a.call(e):a}return e}function dl(e,t,n){return null==e?e:xi(e,t,n)}function cl(e,t,n,i){return i="function"==typeof i?i:U,null==e?e:xi(e,t,n,i)}function hl(e,t,n){var i=_c(e)||js(e);if(t=Er(t,4),null==n)if(i||gs(e)){var a=e.constructor;n=i?_c(e)?new a:[]:ps(a)?jn(Wr(e)):{}}else n={};return(i?r:Bn)(e,function(e,i,r){return t(n,e,i,r)}),n}function fl(e,t){return null==e||Pi(e,t)}function pl(e,t,n){return null==e?e:Ei(e,t,Ni(n))}function ml(e,t,n,i){return i="function"==typeof i?i:U,null==e?e:Ei(e,t,Ni(n),i)}function _l(e){return e?D(e,il(e)):[]}function gl(e){return null==e?[]:D(e,rl(e))}function yl(e,t,n){return n===U&&(n=t,t=U),n!==U&&(n=Ns(n),n=n===n?n:0),t!==U&&(t=Ns(t),t=t===t?t:0),Tn(Ns(e),t,n)}function vl(e,t,n){return t=Ns(t)||0,n===U?(n=t,t=0):n=Ns(n)||0,e=Ns(e),Qn(e,t,n)}function bl(e,t,n){if(n&&"boolean"!=typeof n&&Qr(e,t,n)&&(t=n=U),n===U&&("boolean"==typeof t?(n=t,t=U):"boolean"==typeof e&&(n=e,e=U)),e===U&&t===U?(e=0,t=1):(e=Ns(e)||0,t===U?(t=e,e=0):t=Ns(t)||0),e>t){var i=e;e=t,t=i}if(n||e%1||t%1){var r=td();return Ku(e+r*(t-e+Yn("1e-"+((r+"").length-1))),t)}return wi(e,t)}function Ml(e){return Bc($s(e).toLowerCase())}function wl(e){return e=$s(e),e&&e.replace(Tt,A).replace(mn,"")}function kl(e,t,n){e=$s(e),t=Ai(t);var i=e.length;return n=n===U?i:Tn(Ws(n),0,i),n-=t.length,n>=0&&e.indexOf(t,n)==n}function Ll(e){return e=$s(e),e&&at.test(e)?e.replace(it,j):e}function xl(e){return e=$s(e),e&&ft.test(e)?e.replace(ht,"\\$&"):e}function Dl(e,t,n){e=$s(e),t=Ws(t);var i=t?B(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return br(Uu(r),n)+e+br(qu(r),n)}function Tl(e,t,n){e=$s(e),t=Ws(t);var i=t?B(e):0;return t&&i<t?e+br(t-i,n):e}function Yl(e,t,n){e=$s(e),t=Ws(t);var i=t?B(e):0;return t&&i<t?br(t-i,n)+e:e}function Sl(e,t,n){return n||null==t?t=0:t&&(t=+t),e=$s(e).replace(pt,""),ed(e,t||(Mt.test(e)?16:10))}function Cl(e,t,n){return t=(n?Qr(e,t,n):t===U)?1:Ws(t),Li($s(e),t)}function Hl(){var e=arguments,t=$s(e[0]);return e.length<3?t:nd.call(t,e[1],e[2])}function Al(e,t,n){return n&&"number"!=typeof n&&Qr(e,t,n)&&(t=n=U),(n=n===U?we:n>>>0)?(e=$s(e),e&&("string"==typeof t||null!=t&&!Ys(t))&&(t=Ai(t),""==t&&yn.test(e))?Bi($(e),0,n):rd.call(e,t,n)):[]}function jl(e,t,n){return e=$s(e),n=Tn(Ws(n),0,e.length),e.lastIndexOf(Ai(t),n)==n}function Pl(e,t,n){var i=Ct.templateSettings;n&&Qr(e,t,n)&&(t=U),e=$s(e),t=wc({},t,i,cn);var r,a,o=wc({},t.imports,i.imports,cn),s=il(o),l=D(o,s),u=0,d=t.interpolate||Yt,c="__p += '",h=Mu((t.escape||Yt).source+"|"+d.source+"|"+(d===lt?vt:Yt).source+"|"+(t.evaluate||Yt).source+"|$","g"),f="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++Mn+"]")+"\n";e.replace(h,function(t,n,i,o,s,l){return i||(i=o),c+=e.slice(u,l).replace(St,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'"),u=l+t.length,t}),c+="';\n";var p=t.variable;p||(c="with (obj) {\n"+c+"\n}\n"),c=(a?c.replace(Ke,""):c).replace(et,"$1").replace(tt,"$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(e){return $s(e).toLowerCase()}function Il(e){return $s(e).toUpperCase()}function Fl(e,t,n){if(e=$s(e),e&&(n||t===U))return e.replace(pt,"");if(!e||!(t=Ai(t)))return e;var i=$(e),r=$(t),a=Y(i,r),o=S(i,r)+1;return Bi(i,a,o).join("")}function Ol(e,t,n){if(e=$s(e),e&&(n||t===U))return e.replace(_t,"");if(!e||!(t=Ai(t)))return e;var i=$(e),r=S(i,$(t))+1;return Bi(i,0,r).join("")}function Wl(e,t,n){if(e=$s(e),e&&(n||t===U))return e.replace(mt,"");if(!e||!(t=Ai(t)))return e;var i=$(e),r=Y(i,$(t));return Bi(i,r).join("")}function Rl(e,t){var n=ce,i=he;if(gs(t)){var r="separator"in t?t.separator:r;n="length"in t?Ws(t.length):n,i="omission"in t?Ai(t.omission):i}e=$s(e);var a=e.length;if(yn.test(e)){var o=$(e);a=o.length}if(n>=a)return e;var s=n-B(i);if(s<1)return i;var l=o?Bi(o,0,s).join(""):e.slice(0,s);if(r===U)return l+i;if(o&&(s+=l.length-s),Ys(r)){if(e.slice(s).search(r)){var u,d=l;for(r.global||(r=Mu(r.source,$s(bt.exec(r))+"g")),r.lastIndex=0;u=r.exec(d);)var c=u.index;l=l.slice(0,c===U?s:c)}}else if(e.indexOf(Ai(r),s)!=s){var h=l.lastIndexOf(r);h>-1&&(l=l.slice(0,h))}return l+i}function Nl(e){return e=$s(e),e&&rt.test(e)?e.replace(nt,V):e}function zl(e,t,n){return e=$s(e),t=n?U:t,t===U&&(t=vn.test(e)?gn:gt),e.match(t)||[]}function Bl(e){var t=e?e.length:0,i=Er();return e=t?d(e,function(e){if("function"!=typeof e[1])throw new wu(X);return[i(e[0]),e[1]]}):[],Vo(function(i){for(var r=-1;++r<t;){var a=e[r];if(n(a[0],this,i))return n(a[1],this,i)}})}function $l(e){return Hn(Cn(e,!0))}function Vl(e){return function(){return e}}function ql(e){return e}function Ul(e){return ai("function"==typeof e?e:Cn(e,!0))}function Jl(e){return di(Cn(e,!0))}function Gl(e,t){return ci(e,Cn(t,!0))}function Xl(e,t,n){var i=il(t),a=Vn(t,i);null!=n||gs(t)&&(a.length||!i.length)||(n=t,t=e,e=this,a=Vn(t,il(t)));var o=!(gs(n)&&"chain"in n&&!n.chain),s=ps(e);return r(a,function(n){var i=t[n];e[n]=i,s&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),r=n.__actions__=nr(this.__actions__);return r.push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,c([this.value()],arguments))})}),e}function Ql(){return In._===this&&(In._=ju),this}function Zl(){}function Kl(e){return e=Ws(e),Vo(function(t){return pi(t,e)})}function eu(e){return Zr(e)?yi(ua(e)):vi(e)}function tu(e){return function(t){return null==e?U:qn(e,t)}}function nu(){return[]}function iu(){return!1}function ru(){return{}}function au(){return""}function ou(){return!0}function su(e,t){if(e=Ws(e),e<1||e>ve)return[];var n=we,i=Ku(e,we);t=Er(t),e-=we;for(var r=k(i,t);++n<e;)t(n);return r}function lu(e){return _c(e)?d(e,ua):As(e)?[e]:nr(jd(e))}function uu(e){var t=++Cu;return $s(e)+t}function du(e){return e&&e.length?Wn(e,ql,Jn):U}function cu(e,t){return e&&e.length?Wn(e,Er(t),Jn):U}function hu(e){return v(e,ql)}function fu(e,t){return v(e,Er(t))}function pu(e){return e&&e.length?Wn(e,ql,li):U}function mu(e,t){return e&&e.length?Wn(e,Er(t),li):U}function _u(e){return e&&e.length?w(e,ql):0}function gu(e,t){return e&&e.length?w(e,Er(t)):0}C=C?Fn.defaults({},C,Fn.pick(In,bn)):In;var yu=C.Date,vu=C.Error,bu=C.Math,Mu=C.RegExp,wu=C.TypeError,ku=C.Array.prototype,Lu=C.Object.prototype,xu=C.String.prototype,Du=C["__core-js_shared__"],Tu=function(){var e=/[^.]+$/.exec(Du&&Du.keys&&Du.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Yu=C.Function.prototype.toString,Su=Lu.hasOwnProperty,Cu=0,Hu=Yu.call(Object),Au=Lu.toString,ju=In._,Pu=Mu("^"+Yu.call(Su).replace(ht,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Eu=An?C.Buffer:U,Iu=C.Reflect,Fu=C.Symbol,Ou=C.Uint8Array,Wu=Iu?Iu.enumerate:U,Ru=Object.getOwnPropertySymbols,Nu="symbol"==typeof(Nu=Fu&&Fu.iterator)?Nu:U,zu=Object.create,Bu=Lu.propertyIsEnumerable,$u=ku.splice,Vu=function(e,t){return C.setTimeout.call(In,e,t)},qu=bu.ceil,Uu=bu.floor,Ju=Object.getPrototypeOf,Gu=C.isFinite,Xu=ku.join,Qu=Object.keys,Zu=bu.max,Ku=bu.min,ed=C.parseInt,td=bu.random,nd=xu.replace,id=ku.reverse,rd=xu.split,ad=Or(C,"DataView"),od=Or(C,"Map"),sd=Or(C,"Promise"),ld=Or(C,"Set"),ud=Or(C,"WeakMap"),dd=Or(Object,"create"),cd=ud&&new ud,hd=!Bu.call({valueOf:1},"valueOf"),fd={},pd=da(ad),md=da(od),_d=da(sd),gd=da(ld),yd=da(ud),vd=Fu?Fu.prototype:U,bd=vd?vd.valueOf:U,Md=vd?vd.toString:U;Ct.templateSettings={escape:ot,evaluate:st,interpolate:lt,variable:"",imports:{_:Ct}},Ct.prototype=Ht.prototype,Ct.prototype.constructor=Ct,At.prototype=jn(Ht.prototype),At.prototype.constructor=At,jt.prototype=jn(Ht.prototype),jt.prototype.constructor=jt,Ft.prototype.clear=Ot,Ft.prototype["delete"]=Wt,Ft.prototype.get=Rt,Ft.prototype.has=Nt,Ft.prototype.set=zt,Bt.prototype.clear=$t,Bt.prototype["delete"]=Vt,Bt.prototype.get=qt,Bt.prototype.has=Ut,Bt.prototype.set=Jt,Gt.prototype.clear=Xt,Gt.prototype["delete"]=Qt,Gt.prototype.get=Zt,Gt.prototype.has=Kt,Gt.prototype.set=en,tn.prototype.add=tn.prototype.push=nn,tn.prototype.has=rn,an.prototype.clear=on,an.prototype["delete"]=sn,an.prototype.get=ln,an.prototype.has=un,an.prototype.set=dn;var wd=sr(Bn),kd=sr($n,!0),Ld=lr(),xd=lr(!0);Wu&&!Bu.call({valueOf:1},"valueOf")&&(si=function(e){return O(Wu(e))});var Dd=cd?function(e,t){return cd.set(e,t),e}:ql,Td=ld&&1/N(new ld([,-0]))[1]==ye?function(e){return new ld(e)}:Zl,Yd=cd?function(e){return cd.get(e)}:Zl,Sd=yi("length");Ru||(Rr=nu);var Cd=Ru?function(e){for(var t=[];e;)c(t,Rr(e)),e=Wr(e);return t}:Rr;(ad&&Nr(new ad(new ArrayBuffer(1)))!=Be||od&&Nr(new od)!=Ae||sd&&Nr(sd.resolve())!=Ee||ld&&Nr(new ld)!=Fe||ud&&Nr(new ud)!=Re)&&(Nr=function(e){var t=Au.call(e),n=t==Pe?e.constructor:U,i=n?da(n):U;if(i)switch(i){case pd:return Be;case md:return Ae;case _d:return Ee;case gd:return Fe;case yd:return Re}return t});var Hd=Du?ps:iu,Ad=function(){var e=0,t=0;return function(n,i){var r=Po(),a=pe-(r-t);if(t=r,a>0){if(++e>=fe)return n}else e=0;return Dd(n,i)}}(),jd=zo(function(e){var t=[];return $s(e).replace(ct,function(e,n,i,r){t.push(i?r.replace(yt,"$1"):n||e)}),t}),Pd=Vo(function(e,t){return as(e)?En(e,zn(t,1,as,!0)):[]}),Ed=Vo(function(e,t){var n=Ca(t);return as(n)&&(n=U),as(e)?En(e,zn(t,1,as,!0),Er(n)):[]}),Id=Vo(function(e,t){var n=Ca(t);return as(n)&&(n=U),as(e)?En(e,zn(t,1,as,!0),U,n):[]}),Fd=Vo(function(e){var t=d(e,Ri);return t.length&&t[0]===e[0]?Zn(t):[]}),Od=Vo(function(e){var t=Ca(e),n=d(e,Ri);return t===Ca(n)?t=U:n.pop(),n.length&&n[0]===e[0]?Zn(n,Er(t)):[]}),Wd=Vo(function(e){var t=Ca(e),n=d(e,Ri);return t===Ca(n)?t=U:n.pop(),n.length&&n[0]===e[0]?Zn(n,U,t):[]}),Rd=Vo(ja),Nd=Vo(function(e,t){t=zn(t,1);var n=e?e.length:0,i=Dn(e,t);return Mi(e,d(t,function(e){return Xr(e,n)?+e:e}).sort(Zi)),i}),zd=Vo(function(e){return ji(zn(e,1,as,!0))}),Bd=Vo(function(e){var t=Ca(e);return as(t)&&(t=U),ji(zn(e,1,as,!0),Er(t))}),$d=Vo(function(e){var t=Ca(e);return as(t)&&(t=U),ji(zn(e,1,as,!0),U,t)}),Vd=Vo(function(e,t){return as(e)?En(e,t):[]}),qd=Vo(function(e){return Oi(s(e,as))}),Ud=Vo(function(e){var t=Ca(e);return as(t)&&(t=U),Oi(s(e,as),Er(t))}),Jd=Vo(function(e){var t=Ca(e);return as(t)&&(t=U),Oi(s(e,as),U,t)}),Gd=Vo(to),Xd=Vo(function(e){var t=e.length,n=t>1?e[t-1]:U;return n="function"==typeof n?(e.pop(),n):U,no(e,n)}),Qd=Vo(function(e){e=zn(e,1);var t=e.length,n=t?e[0]:0,i=this.__wrapped__,r=function(t){return Dn(t,e)};return!(t>1||this.__actions__.length)&&i instanceof jt&&Xr(n)?(i=i.slice(n,+n+(t?1:0)),i.__actions__.push({func:so,args:[r],thisArg:U}),new At(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(U),e})):this.thru(r)}),Zd=ar(function(e,t,n){Su.call(e,n)?++e[n]:e[n]=1}),Kd=pr(ba),ec=pr(Ma),tc=ar(function(e,t,n){Su.call(e,n)?e[n].push(t):e[n]=[t]}),nc=Vo(function(e,t,i){var r=-1,a="function"==typeof t,o=Zr(t),s=rs(e)?Array(e.length):[];return wd(e,function(e){var l=a?t:o&&null!=e?e[t]:U;s[++r]=l?n(l,e,i):ei(e,t,i)}),s}),ic=ar(function(e,t,n){e[n]=t}),rc=ar(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),ac=Vo(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Qr(e,t[0],t[1])?t=[]:n>2&&Qr(t[0],t[1],t[2])&&(t=[t[0]]),t=1==t.length&&_c(t[0])?t[0]:zn(t,1,Gr),mi(e,t,[])}),oc=Vo(function(e,t,n){var i=K;if(n.length){var r=R(n,Pr(oc));i|=re}return Tr(e,i,t,n,r)}),sc=Vo(function(e,t,n){var i=K|ee;if(n.length){var r=R(n,Pr(sc));i|=re}return Tr(t,i,e,n,r)}),lc=Vo(function(e,t){return Pn(e,1,t)}),uc=Vo(function(e,t,n){return Pn(e,Ns(t)||0,n)});zo.Cache=Gt;var dc=Vo(function(e,t){t=1==t.length&&_c(t[0])?d(t[0],x(Er())):d(zn(t,1,Gr),x(Er()));var i=t.length;return Vo(function(r){for(var a=-1,o=Ku(r.length,i);++a<o;)r[a]=t[a].call(this,r[a]);return n(e,this,r)})}),cc=Vo(function(e,t){var n=R(t,Pr(cc));return Tr(e,re,U,t,n)}),hc=Vo(function(e,t){var n=R(t,Pr(hc));return Tr(e,ae,U,t,n)}),fc=Vo(function(e,t){return Tr(e,se,U,U,U,zn(t,1))}),pc=kr(Jn),mc=kr(function(e,t){return e>=t}),_c=Array.isArray,gc=Eu?function(e){return e instanceof Eu}:iu,yc=kr(li),vc=kr(function(e,t){return e<=t}),bc=or(function(e,t){if(hd||na(t)||rs(t))return void ir(t,il(t),e);for(var n in t)Su.call(t,n)&&fn(e,n,t[n])}),Mc=or(function(e,t){if(hd||na(t)||rs(t))return void ir(t,rl(t),e);for(var n in t)fn(e,n,t[n])}),wc=or(function(e,t,n,i){ir(t,rl(t),e,i)}),kc=or(function(e,t,n,i){ir(t,il(t),e,i)}),Lc=Vo(function(e,t){return Dn(e,zn(t,1))}),xc=Vo(function(e){return e.push(U,cn),n(wc,U,e)}),Dc=Vo(function(e){return e.push(U,oa),n(Hc,U,e)}),Tc=gr(function(e,t,n){e[t]=n},Vl(ql)),Yc=gr(function(e,t,n){Su.call(e,t)?e[t].push(n):e[t]=[n]},Er),Sc=Vo(ei),Cc=or(function(e,t,n){hi(e,t,n)}),Hc=or(function(e,t,n,i){hi(e,t,n,i)}),Ac=Vo(function(e,t){return null==e?{}:(t=d(zn(t,1),ua),_i(e,En(Ar(e),t)))}),jc=Vo(function(e,t){return null==e?{}:_i(e,d(zn(t,1),ua))}),Pc=Dr(il),Ec=Dr(rl),Ic=cr(function(e,t,n){return t=t.toLowerCase(),e+(n?Ml(t):t)}),Fc=cr(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Oc=cr(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Wc=dr("toLowerCase"),Rc=cr(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Nc=cr(function(e,t,n){return e+(n?" ":"")+Bc(t)}),zc=cr(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Bc=dr("toUpperCase"),$c=Vo(function(e,t){try{return n(e,U,t)}catch(i){return hs(i)?i:new vu(i)}}),Vc=Vo(function(e,t){return r(zn(t,1),function(t){t=ua(t),e[t]=oc(e[t],e)}),e}),qc=mr(),Uc=mr(!0),Jc=Vo(function(e,t){return function(n){return ei(n,e,t)}}),Gc=Vo(function(e,t){return function(n){return ei(e,n,t)}}),Xc=vr(d),Qc=vr(o),Zc=vr(p),Kc=wr(),eh=wr(!0),th=yr(function(e,t){return e+t}),nh=xr("ceil"),ih=yr(function(e,t){return e/t}),rh=xr("floor"),ah=yr(function(e,t){return e*t}),oh=xr("round"),sh=yr(function(e,t){return e-t});return Ct.after=Eo,Ct.ary=Io,Ct.assign=bc,Ct.assignIn=Mc,Ct.assignInWith=wc,Ct.assignWith=kc,Ct.at=Lc,Ct.before=Fo,Ct.bind=oc,Ct.bindAll=Vc,Ct.bindKey=sc,Ct.castArray=Xo,Ct.chain=ao,Ct.chunk=ha,Ct.compact=fa,Ct.concat=pa,Ct.cond=Bl,Ct.conforms=$l,Ct.constant=Vl,Ct.countBy=Zd,Ct.create=Vs,Ct.curry=Oo,Ct.curryRight=Wo,Ct.debounce=Ro,Ct.defaults=xc,Ct.defaultsDeep=Dc,Ct.defer=lc,Ct.delay=uc,Ct.difference=Pd,Ct.differenceBy=Ed,Ct.differenceWith=Id,Ct.drop=ma,Ct.dropRight=_a,Ct.dropRightWhile=ga,Ct.dropWhile=ya,Ct.fill=va,Ct.filter=go,Ct.flatMap=yo,Ct.flatMapDeep=vo,Ct.flatMapDepth=bo,Ct.flatten=wa,Ct.flattenDeep=ka,Ct.flattenDepth=La,Ct.flip=No,Ct.flow=qc,Ct.flowRight=Uc,Ct.fromPairs=xa,Ct.functions=Zs,Ct.functionsIn=Ks,Ct.groupBy=tc,Ct.initial=Ya,Ct.intersection=Fd,Ct.intersectionBy=Od,Ct.intersectionWith=Wd,Ct.invert=Tc,Ct.invertBy=Yc,Ct.invokeMap=nc,Ct.iteratee=Ul,Ct.keyBy=ic,Ct.keys=il,Ct.keysIn=rl,Ct.map=Lo,Ct.mapKeys=al,Ct.mapValues=ol,Ct.matches=Jl,Ct.matchesProperty=Gl,Ct.memoize=zo,Ct.merge=Cc,Ct.mergeWith=Hc,Ct.method=Jc,Ct.methodOf=Gc,Ct.mixin=Xl,Ct.negate=Bo,Ct.nthArg=Kl,Ct.omit=Ac,Ct.omitBy=sl,Ct.once=$o,Ct.orderBy=xo,Ct.over=Xc,Ct.overArgs=dc,Ct.overEvery=Qc,Ct.overSome=Zc,Ct.partial=cc,Ct.partialRight=hc,Ct.partition=rc,Ct.pick=jc,Ct.pickBy=ll,Ct.property=eu,Ct.propertyOf=tu,Ct.pull=Rd,Ct.pullAll=ja,Ct.pullAllBy=Pa,Ct.pullAllWith=Ea,Ct.pullAt=Nd,Ct.range=Kc,Ct.rangeRight=eh,Ct.rearg=fc,Ct.reject=Yo,Ct.remove=Ia,Ct.rest=Vo,Ct.reverse=Fa,Ct.sampleSize=Co,Ct.set=dl,Ct.setWith=cl,Ct.shuffle=Ho,Ct.slice=Oa,Ct.sortBy=ac,Ct.sortedUniq=Va,Ct.sortedUniqBy=qa,Ct.split=Al,Ct.spread=qo,Ct.tail=Ua,Ct.take=Ja,Ct.takeRight=Ga,Ct.takeRightWhile=Xa,Ct.takeWhile=Qa,Ct.tap=oo,Ct.throttle=Uo,Ct.thru=so,Ct.toArray=Fs,Ct.toPairs=Pc,Ct.toPairsIn=Ec,Ct.toPath=lu,Ct.toPlainObject=zs,Ct.transform=hl,Ct.unary=Jo,Ct.union=zd,Ct.unionBy=Bd,Ct.unionWith=$d,Ct.uniq=Za,Ct.uniqBy=Ka,Ct.uniqWith=eo,Ct.unset=fl,Ct.unzip=to,Ct.unzipWith=no,Ct.update=pl,Ct.updateWith=ml,Ct.values=_l,Ct.valuesIn=gl,Ct.without=Vd,Ct.words=zl,Ct.wrap=Go,Ct.xor=qd,Ct.xorBy=Ud,Ct.xorWith=Jd,Ct.zip=Gd,Ct.zipObject=io,Ct.zipObjectDeep=ro,Ct.zipWith=Xd,Ct.entries=Pc,Ct.entriesIn=Ec,Ct.extend=Mc,Ct.extendWith=wc,Xl(Ct,Ct),Ct.add=th,Ct.attempt=$c,Ct.camelCase=Ic,Ct.capitalize=Ml,Ct.ceil=nh,Ct.clamp=yl,Ct.clone=Qo,Ct.cloneDeep=Ko,Ct.cloneDeepWith=es,Ct.cloneWith=Zo,Ct.deburr=wl,Ct.divide=ih,Ct.endsWith=kl,Ct.eq=ts,Ct.escape=Ll,Ct.escapeRegExp=xl,Ct.every=_o,Ct.find=Kd,Ct.findIndex=ba,Ct.findKey=qs,Ct.findLast=ec,Ct.findLastIndex=Ma,Ct.findLastKey=Us,Ct.floor=rh,Ct.forEach=Mo,Ct.forEachRight=wo,Ct.forIn=Js,Ct.forInRight=Gs,Ct.forOwn=Xs,Ct.forOwnRight=Qs,Ct.get=el,Ct.gt=pc,Ct.gte=mc,Ct.has=tl,Ct.hasIn=nl,Ct.head=Da,Ct.identity=ql,Ct.includes=ko,Ct.indexOf=Ta,Ct.inRange=vl,Ct.invoke=Sc,Ct.isArguments=ns,Ct.isArray=_c,Ct.isArrayBuffer=is,Ct.isArrayLike=rs,Ct.isArrayLikeObject=as,Ct.isBoolean=os,Ct.isBuffer=gc,Ct.isDate=ss,Ct.isElement=ls,Ct.isEmpty=us,Ct.isEqual=ds,Ct.isEqualWith=cs,Ct.isError=hs,Ct.isFinite=fs,Ct.isFunction=ps,Ct.isInteger=ms,Ct.isLength=_s,Ct.isMap=vs,Ct.isMatch=bs,Ct.isMatchWith=Ms,Ct.isNaN=ws,Ct.isNative=ks,Ct.isNil=xs,Ct.isNull=Ls,Ct.isNumber=Ds,Ct.isObject=gs,Ct.isObjectLike=ys,Ct.isPlainObject=Ts,Ct.isRegExp=Ys,Ct.isSafeInteger=Ss,Ct.isSet=Cs,Ct.isString=Hs,Ct.isSymbol=As,Ct.isTypedArray=js,Ct.isUndefined=Ps,Ct.isWeakMap=Es,Ct.isWeakSet=Is,Ct.join=Sa,Ct.kebabCase=Fc,Ct.last=Ca,Ct.lastIndexOf=Ha,Ct.lowerCase=Oc,Ct.lowerFirst=Wc,Ct.lt=yc,Ct.lte=vc,Ct.max=du,Ct.maxBy=cu,Ct.mean=hu,Ct.meanBy=fu,Ct.min=pu,Ct.minBy=mu,Ct.stubArray=nu,Ct.stubFalse=iu,Ct.stubObject=ru,Ct.stubString=au,Ct.stubTrue=ou,Ct.multiply=ah,Ct.nth=Aa,Ct.noConflict=Ql,Ct.noop=Zl,Ct.now=Po,Ct.pad=Dl,Ct.padEnd=Tl,Ct.padStart=Yl,Ct.parseInt=Sl,Ct.random=bl,Ct.reduce=Do,Ct.reduceRight=To,Ct.repeat=Cl,Ct.replace=Hl,Ct.result=ul,Ct.round=oh,Ct.runInContext=q,Ct.sample=So,Ct.size=Ao,Ct.snakeCase=Rc,Ct.some=jo,Ct.sortedIndex=Wa,Ct.sortedIndexBy=Ra,Ct.sortedIndexOf=Na,Ct.sortedLastIndex=za,Ct.sortedLastIndexBy=Ba,Ct.sortedLastIndexOf=$a,Ct.startCase=Nc,Ct.startsWith=jl,Ct.subtract=sh,Ct.sum=_u,Ct.sumBy=gu,Ct.template=Pl,Ct.times=su,Ct.toFinite=Os,Ct.toInteger=Ws,Ct.toLength=Rs,Ct.toLower=El,Ct.toNumber=Ns,Ct.toSafeInteger=Bs,Ct.toString=$s,Ct.toUpper=Il,Ct.trim=Fl,Ct.trimEnd=Ol,Ct.trimStart=Wl,Ct.truncate=Rl,Ct.unescape=Nl,Ct.uniqueId=uu,Ct.upperCase=zc,Ct.upperFirst=Bc,Ct.each=Mo,Ct.eachRight=wo,Ct.first=Da,Xl(Ct,function(){var e={};return Bn(Ct,function(t,n){Su.call(Ct.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),Ct.VERSION=J,r(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){
|
||
Ct[e].placeholder=Ct}),r(["drop","take"],function(e,t){jt.prototype[e]=function(n){var i=this.__filtered__;if(i&&!t)return new jt(this);n=n===U?1:Zu(Ws(n),0);var r=this.clone();return i?r.__takeCount__=Ku(n,r.__takeCount__):r.__views__.push({size:Ku(n,we),type:e+(r.__dir__<0?"Right":"")}),r},jt.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),r(["filter","map","takeWhile"],function(e,t){var n=t+1,i=n==me||n==ge;jt.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Er(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}}),r(["head","last"],function(e,t){var n="take"+(t?"Right":"");jt.prototype[e]=function(){return this[n](1).value()[0]}}),r(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");jt.prototype[e]=function(){return this.__filtered__?new jt(this):this[n](1)}}),jt.prototype.compact=function(){return this.filter(ql)},jt.prototype.find=function(e){return this.filter(e).head()},jt.prototype.findLast=function(e){return this.reverse().find(e)},jt.prototype.invokeMap=Vo(function(e,t){return"function"==typeof e?new jt(this):this.map(function(n){return ei(n,e,t)})}),jt.prototype.reject=function(e){return e=Er(e,3),this.filter(function(t){return!e(t)})},jt.prototype.slice=function(e,t){e=Ws(e);var n=this;return n.__filtered__&&(e>0||t<0)?new jt(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==U&&(t=Ws(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},jt.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},jt.prototype.toArray=function(){return this.take(we)},Bn(jt.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),r=Ct[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);r&&(Ct.prototype[t]=function(){var t=this.__wrapped__,o=i?[1]:arguments,s=t instanceof jt,l=o[0],u=s||_c(t),d=function(e){var t=r.apply(Ct,c([e],o));return i&&h?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(s=u=!1);var h=this.__chain__,f=!!this.__actions__.length,p=a&&!h,m=s&&!f;if(!a&&u){t=m?t:new jt(this);var _=e.apply(t,o);return _.__actions__.push({func:so,args:[d],thisArg:U}),new At(_,h)}return p&&m?e.apply(this,o):(_=this.thru(d),p?i?_.value()[0]:_.value():_)})}),r(["pop","push","shift","sort","splice","unshift"],function(e){var t=ku[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);Ct.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(_c(r)?r:[],e)}return this[n](function(n){return t.apply(_c(n)?n:[],e)})}}),Bn(jt.prototype,function(e,t){var n=Ct[t];if(n){var i=n.name+"",r=fd[i]||(fd[i]=[]);r.push({name:t,func:n})}}),fd[_r(U,ee).name]=[{name:"wrapper",func:U}],jt.prototype.clone=Pt,jt.prototype.reverse=Et,jt.prototype.value=It,Ct.prototype.at=Qd,Ct.prototype.chain=lo,Ct.prototype.commit=uo,Ct.prototype.next=co,Ct.prototype.plant=fo,Ct.prototype.reverse=po,Ct.prototype.toJSON=Ct.prototype.valueOf=Ct.prototype.value=mo,Nu&&(Ct.prototype[Nu]=ho),Ct}var U,J="4.13.1",G=200,X="Expected a function",Q="__lodash_hash_undefined__",Z="__lodash_placeholder__",K=1,ee=2,te=4,ne=8,ie=16,re=32,ae=64,oe=128,se=256,le=512,ue=1,de=2,ce=30,he="...",fe=150,pe=16,me=1,_e=2,ge=3,ye=1/0,ve=9007199254740991,be=1.7976931348623157e308,Me=NaN,we=4294967295,ke=we-1,Le=we>>>1,xe="[object Arguments]",De="[object Array]",Te="[object Boolean]",Ye="[object Date]",Se="[object Error]",Ce="[object Function]",He="[object GeneratorFunction]",Ae="[object Map]",je="[object Number]",Pe="[object Object]",Ee="[object Promise]",Ie="[object RegExp]",Fe="[object Set]",Oe="[object String]",We="[object Symbol]",Re="[object WeakMap]",Ne="[object WeakSet]",ze="[object ArrayBuffer]",Be="[object DataView]",$e="[object Float32Array]",Ve="[object Float64Array]",qe="[object Int8Array]",Ue="[object Int16Array]",Je="[object Int32Array]",Ge="[object Uint8Array]",Xe="[object Uint8ClampedArray]",Qe="[object Uint16Array]",Ze="[object Uint32Array]",Ke=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,nt=/&(?:amp|lt|gt|quot|#39|#96);/g,it=/[&<>"'`]/g,rt=RegExp(nt.source),at=RegExp(it.source),ot=/<%-([\s\S]+?)%>/g,st=/<%([\s\S]+?)%>/g,lt=/<%=([\s\S]+?)%>/g,ut=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,dt=/^\w*$/,ct=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(\.|\[\])(?:\4|$))/g,ht=/[\\^$.*+?()[\]{}|]/g,ft=RegExp(ht.source),pt=/^\s+|\s+$/g,mt=/^\s+/,_t=/\s+$/,gt=/[a-zA-Z0-9]+/g,yt=/\\(\\)?/g,vt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,bt=/\w*$/,Mt=/^0x/i,wt=/^[-+]0x[0-9a-f]+$/i,kt=/^0b[01]+$/i,Lt=/^\[object .+?Constructor\]$/,xt=/^0o[0-7]+$/i,Dt=/^(?:0|[1-9]\d*)$/,Tt=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Yt=/($^)/,St=/['\n\r\u2028\u2029\\]/g,Ct="\\ud800-\\udfff",Ht="\\u0300-\\u036f\\ufe20-\\ufe23",At="\\u20d0-\\u20f0",jt="\\u2700-\\u27bf",Pt="a-z\\xdf-\\xf6\\xf8-\\xff",Et="\\xac\\xb1\\xd7\\xf7",It="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ft="\\u2000-\\u206f",Ot=" \\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",Wt="A-Z\\xc0-\\xd6\\xd8-\\xde",Rt="\\ufe0e\\ufe0f",Nt=Et+It+Ft+Ot,zt="['’]",Bt="["+Ct+"]",$t="["+Nt+"]",Vt="["+Ht+At+"]",qt="\\d+",Ut="["+jt+"]",Jt="["+Pt+"]",Gt="[^"+Ct+Nt+qt+jt+Pt+Wt+"]",Xt="\\ud83c[\\udffb-\\udfff]",Qt="(?:"+Vt+"|"+Xt+")",Zt="[^"+Ct+"]",Kt="(?:\\ud83c[\\udde6-\\uddff]){2}",en="[\\ud800-\\udbff][\\udc00-\\udfff]",tn="["+Wt+"]",nn="\\u200d",rn="(?:"+Jt+"|"+Gt+")",an="(?:"+tn+"|"+Gt+")",on="(?:"+zt+"(?:d|ll|m|re|s|t|ve))?",sn="(?:"+zt+"(?:D|LL|M|RE|S|T|VE))?",ln=Qt+"?",un="["+Rt+"]?",dn="(?:"+nn+"(?:"+[Zt,Kt,en].join("|")+")"+un+ln+")*",cn=un+ln+dn,hn="(?:"+[Ut,Kt,en].join("|")+")"+cn,fn="(?:"+[Zt+Vt+"?",Vt,Kt,en,Bt].join("|")+")",pn=RegExp(zt,"g"),mn=RegExp(Vt,"g"),_n=RegExp(Xt+"(?="+Xt+")|"+fn+cn,"g"),gn=RegExp([tn+"?"+Jt+"+"+on+"(?="+[$t,tn,"$"].join("|")+")",an+"+"+sn+"(?="+[$t,tn+rn,"$"].join("|")+")",tn+"?"+rn+"+"+on,tn+"+"+sn,qt,hn].join("|"),"g"),yn=RegExp("["+nn+Ct+Ht+At+Rt+"]"),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[$e]=wn[Ve]=wn[qe]=wn[Ue]=wn[Je]=wn[Ge]=wn[Xe]=wn[Qe]=wn[Ze]=!0,wn[xe]=wn[De]=wn[ze]=wn[Te]=wn[Be]=wn[Ye]=wn[Se]=wn[Ce]=wn[Ae]=wn[je]=wn[Pe]=wn[Ie]=wn[Fe]=wn[Oe]=wn[Re]=!1;var kn={};kn[xe]=kn[De]=kn[ze]=kn[Be]=kn[Te]=kn[Ye]=kn[$e]=kn[Ve]=kn[qe]=kn[Ue]=kn[Je]=kn[Ae]=kn[je]=kn[Pe]=kn[Ie]=kn[Fe]=kn[Oe]=kn[We]=kn[Ge]=kn[Xe]=kn[Qe]=kn[Ze]=!0,kn[Se]=kn[Ce]=kn[Re]=!1;var Ln={"À":"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"},xn={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Dn={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},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")(),Fn=q();(Pn||{})._=Fn,"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return Fn}):Hn?((Hn.exports=Fn)._=Fn,Cn._=Fn):In._=Fn}.call(this),function(e,t){if("function"==typeof define&&define.amd)define(["exports","module"],t);else if("undefined"!=typeof exports&&"undefined"!=typeof module)t(exports,module);else{var n={exports:{}};t(n.exports,n),e.autosize=n.exports}}(this,function(e,t){"use strict";function n(e){function t(){var t=window.getComputedStyle(e,null);f=t.overflowY,"vertical"===t.resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),h="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(h)&&(h=0),r()}function n(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,f=t,c&&(e.style.overflowY=t),i()}function i(){var t=window.pageYOffset,n=document.body.scrollTop,i=e.style.height;e.style.height="auto";var r=e.scrollHeight+h;return 0===e.scrollHeight?void(e.style.height=i):(e.style.height=r+"px",p=e.clientWidth,document.documentElement.scrollTop=t,void(document.body.scrollTop=n))}function r(){var t=e.style.height;i();var r=window.getComputedStyle(e,null);if(r.height!==e.style.height?"visible"!==f&&n("visible"):"hidden"!==f&&n("hidden"),t!==e.style.height){var a=o("autosize:resized");e.dispatchEvent(a)}}var s=void 0===arguments[1]?{}:arguments[1],l=s.setOverflowX,u=void 0===l||l,d=s.setOverflowY,c=void 0===d||d;if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!a.has(e)){var h=null,f=null,p=e.clientWidth,m=function(){e.clientWidth!==p&&r()},_=function(t){window.removeEventListener("resize",m,!1),e.removeEventListener("input",r,!1),e.removeEventListener("keyup",r,!1),e.removeEventListener("autosize:destroy",_,!1),e.removeEventListener("autosize:update",r,!1),a["delete"](e),Object.keys(t).forEach(function(n){e.style[n]=t[n]})}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",_,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",r,!1),window.addEventListener("resize",m,!1),e.addEventListener("input",r,!1),e.addEventListener("autosize:update",r,!1),a.add(e),u&&(e.style.overflowX="hidden",e.style.wordWrap="break-word"),t()}}function i(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName){var t=o("autosize:destroy");e.dispatchEvent(t)}}function r(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName){var t=o("autosize:update");e.dispatchEvent(t)}}var a="function"==typeof Set?new Set:function(){var e=[];return{has:function(t){return Boolean(e.indexOf(t)>-1)},add:function(t){e.push(t)},"delete":function(t){e.splice(e.indexOf(t),1)}}}(),o=function(e){return new Event(e)};try{new Event("test")}catch(s){o=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}var l=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(l=function(e){return e},l.destroy=function(e){return e},l.update=function(e){return e}):(l=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return n(e,t)}),e},l.destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],i),e},l.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e}),t.exports=l}),function(){var e,t=window.Messenger;e=window.Messenger=function(){return e._call.apply(this,arguments)},window.Messenger.noConflict=function(){return window.Messenger=t,e}}(),window.Messenger._=function(){if(window._)return window._;var e=Array.prototype,t=Object.prototype,n=Function.prototype,i=(e.push,e.slice),r=(e.concat,t.toString),a=(t.hasOwnProperty,e.forEach),o=(e.map,e.reduce,e.reduceRight,e.filter),s=(e.every,e.some,e.indexOf,e.lastIndexOf,Array.isArray,Object.keys),l=n.bind,u={},d={},c=u.each=u.forEach=function(e,t,n){if(null!=e)if(a&&e.forEach===a)e.forEach(t,n);else if(e.length===+e.length){for(var i=0,r=e.length;i<r;i++)if(t.call(n,e[i],i,e)===d)return}else for(var o in e)if(u.has(e,o)&&t.call(n,e[o],o,e)===d)return};u.result=function(e,t){if(null==e)return null;var n=e[t];return u.isFunction(n)?n.call(e):n},u.once=function(e){var t,n=!1;return function(){return n?t:(n=!0,t=e.apply(this,arguments),e=null,t)}};var h=0;return u.uniqueId=function(e){var t=++h+"";return e?e+t:t},u.filter=u.select=function(e,t,n){var i=[];return null==e?i:o&&e.filter===o?e.filter(t,n):(c(e,function(e,r,a){t.call(n,e,r,a)&&(i[i.length]=e)}),i)},c(["Arguments","Function","String","Number","Date","RegExp"],function(e){u["is"+e]=function(t){return r.call(t)=="[object "+e+"]"}}),u.defaults=function(e){return c(i.call(arguments,1),function(t){if(t)for(var n in t)null==e[n]&&(e[n]=t[n])}),e},u.extend=function(e){return c(i.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e},u.keys=s||function(e){if(e!==Object(e))throw new TypeError("Invalid object");var t=[];for(var n in e)u.has(e,n)&&(t[t.length]=n);return t},u.bind=function(e,t){if(e.bind===l&&l)return l.apply(e,i.call(arguments,1));var n=i.call(arguments,2);return function(){return e.apply(t,n.concat(i.call(arguments)))}},u.isObject=function(e){return e===Object(e)},u}(),window.Messenger.Events=function(){if(window.Backbone&&Backbone.Events)return Backbone.Events;var e=function(){var e=/\s+/,t=function(t,n,i,r){if(!i)return!0;if("object"==typeof i)for(var a in i)t[n].apply(t,[a,i[a]].concat(r));else{if(!e.test(i))return!0;for(var o=i.split(e),s=0,l=o.length;s<l;s++)t[n].apply(t,[o[s]].concat(r))}},n=function(e,t){var n,i=-1,r=e.length;switch(t.length){case 0:for(;++i<r;)(n=e[i]).callback.call(n.ctx);return;case 1:for(;++i<r;)(n=e[i]).callback.call(n.ctx,t[0]);return;case 2:for(;++i<r;)(n=e[i]).callback.call(n.ctx,t[0],t[1]);return;case 3:for(;++i<r;)(n=e[i]).callback.call(n.ctx,t[0],t[1],t[2]);return;default:for(;++i<r;)(n=e[i]).callback.apply(n.ctx,t)}},i={on:function(e,n,i){if(!t(this,"on",e,[n,i])||!n)return this;this._events||(this._events={});var r=this._events[e]||(this._events[e]=[]);return r.push({callback:n,context:i,ctx:i||this}),this},once:function(e,n,i){if(!t(this,"once",e,[n,i])||!n)return this;var r=this,a=_.once(function(){r.off(e,a),n.apply(this,arguments)});return a._callback=n,this.on(e,a,i),this},off:function(e,n,i){var r,a,o,s,l,u,d,c;if(!this._events||!t(this,"off",e,[n,i]))return this;if(!e&&!n&&!i)return this._events={},this;for(s=e?[e]:_.keys(this._events),l=0,u=s.length;l<u;l++)if(e=s[l],r=this._events[e]){if(o=[],n||i)for(d=0,c=r.length;d<c;d++)a=r[d],(n&&n!==a.callback&&n!==a.callback._callback||i&&i!==a.context)&&o.push(a);this._events[e]=o}return this},trigger:function(e){if(!this._events)return this;var i=Array.prototype.slice.call(arguments,1);if(!t(this,"trigger",e,i))return this;var r=this._events[e],a=this._events.all;return r&&n(r,i),a&&n(a,arguments),this},listenTo:function(e,t,n){var i=this._listeners||(this._listeners={}),r=e._listenerId||(e._listenerId=_.uniqueId("l"));return i[r]=e,e.on(t,"object"==typeof t?this:n,this),this},stopListening:function(e,t,n){var i=this._listeners;if(i){if(e)e.off(t,"object"==typeof t?this:n,this),t||n||delete i[e._listenerId];else{"object"==typeof t&&(n=this);for(var r in i)i[r].off(t,n,this);this._listeners={}}return this}}};return i.bind=i.on,i.unbind=i.off,i};return e()}(),function(){var e,t,n,i,r,a,o,s,l,u,d,c={}.hasOwnProperty,h=function(e,t){function n(){this.constructor=e}for(var i in t)c.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},f=[].slice,p=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1};e=jQuery,a=null!=(l=window._)?l:window.Messenger._,i=null!=(u="undefined"!=typeof Backbone&&null!==Backbone?Backbone.Events:void 0)?u:window.Messenger.Events,n=function(){function t(t){e.extend(this,i),a.isObject(t)&&(t.el&&this.setElement(t.el),this.model=t.model),this.initialize.apply(this,arguments)}return t.prototype.setElement=function(t){return this.$el=e(t),this.el=this.$el[0]},t.prototype.delegateEvents=function(e){var t,n,i,r,o,s,l;if(e||(e=a.result(this,"events"))){this.undelegateEvents(),t=/^(\S+)\s*(.*)$/,l=[];for(i in e){if(o=e[i],a.isFunction(o)||(o=this[e[i]]),!o)throw new Error('Method "'+e[i]+'" does not exist');r=i.match(t),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}},t.prototype.jqon=function(e,t,n){var i;return null!=this.$el.on?(i=this.$el).on.apply(i,arguments):(null==n&&(n=t,t=void 0),null!=t?this.$el.delegate(t,e,n):this.$el.bind(e,n))},t.prototype.jqoff=function(e){var t;return null!=this.$el.off?(t=this.$el).off.apply(t,arguments):(this.$el.undelegate(),this.$el.unbind(e))},t.prototype.undelegateEvents=function(){return this.jqoff(".delegateEvents"+this.cid)},t.prototype.remove=function(){return this.undelegateEvents(),this.$el.remove()},t}(),o=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return h(n,t),n.prototype.defaults={hideAfter:10,scroll:!0,closeButtonText:"×",escapeText:!1},n.prototype.initialize=function(t){return null==t&&(t={}),this.shown=!1,this.rendered=!1,this.messenger=t.messenger,this.options=e.extend({},this.options,t,this.defaults)},n.prototype.show=function(){var e;if(this.rendered||this.render(),this.$message.removeClass("messenger-hidden"),e=this.shown,this.shown=!0,!e)return this.trigger("show")},n.prototype.hide=function(){var e;if(this.rendered)return this.$message.addClass("messenger-hidden"),e=this.shown,this.shown=!1,e?this.trigger("hide"):void 0},n.prototype.cancel=function(){return this.hide()},n.prototype.update=function(t){var n,i=this;return a.isString(t)&&(t={message:t}),e.extend(this.options,t),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(){if(this.options.scroll)return e.scrollTo(this.$el,{duration:400,offset:{left:0,top:-20}})},n.prototype.timeSinceUpdate=function(){return this.lastUpdate?new Date-this.lastUpdate:null},n.prototype.actionsToEvents=function(){var e,t,n,i,r=this;n=this.options.actions,i=[];for(t in n)e=n[t],i.push(this.events['click [data-action="'+t+'"] a']=function(e){return function(n){return n.preventDefault(),n.stopPropagation(),r.trigger("action:"+t,e,n),e.action.call(r,n,r)}}(e));return i},n.prototype.checkClickable=function(){var e,t,n,i;n=this.events,i=[];for(t in n)e=n[t],"click"===t?i.push(this.$message.addClass("messenger-clickable")):i.push(void 0);return i},n.prototype.undelegateEvents=function(){var e;return n.__super__.undelegateEvents.apply(this,arguments),null!=(e=this.$message)?e.removeClass("messenger-clickable"):void 0},n.prototype.parseActions=function(){var t,n,i,r,a,o;n=[],a=this.options.actions;for(r in a)t=a[r],i=e.extend({},t),i.name=r,null==(o=i.label)&&(i.label=r),n.push(i);return n},n.prototype.template=function(t){var n,i,r,a,o,s,l,u,d,c,h=this;for(o=e("<div class='messenger-message message alert "+t.type+" message-"+t.type+" alert-"+t.type+"'>"),t.showCloseButton&&(r=e('<button type="button" class="messenger-close" data-dismiss="alert">'),r.html(t.closeButtonText),r.click(function(){var e;return h.cancel(),"function"==typeof(e=h.options).onClickClose&&e.onClickClose(),!0}),o.append(r)),s=t.escapeText?e('<div class="messenger-message-inner"></div>').text(t.message):e('<div class="messenger-message-inner">'+t.message+"</div>"),o.append(s),t.actions.length&&(i=e('<div class="messenger-actions">')),c=t.actions,u=0,d=c.length;u<d;u++)l=c[u],n=e("<span>"),n.attr("data-action",""+l.name),a=e("<a>"),a.html(l.label),n.append(e('<span class="messenger-phrase">')),n.append(a),i.append(n);return o.append(i),o},n.prototype.render=function(){var t;if(!this.rendered)return this._hasSlot||(this.setElement(this.messenger._reserveMessageSlot(this)),this._hasSlot=!0),t=e.extend({},this.options,{actions:this.parseActions()}),this.$message=e(this.template(t)),this.$el.html(this.$message),this.shown=!0,this.rendered=!0,this.trigger("render")},n}(n),r=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return h(t,e),t.prototype.initialize=function(){return t.__super__.initialize.apply(this,arguments),this._timers={}},t.prototype.cancel=function(){if(this.clearTimers(),this.hide(),null!=this._actionInstance&&null!=this._actionInstance.abort)return this._actionInstance.abort()},t.prototype.clearTimers=function(){var e,t,n,i;n=this._timers;for(e in n)t=n[e],clearTimeout(t);return this._timers={},null!=(i=this.$message)?i.removeClass("messenger-retry-soon messenger-retry-later"):void 0},t.prototype.render=function(){var e,n,i,r;t.__super__.render.apply(this,arguments),this.clearTimers(),i=this.options.actions,r=[];for(n in i)e=i[n],e.auto?r.push(this.startCountdown(n,e)):r.push(void 0);return r},t.prototype.renderPhrase=function(e,t){var n;return n=e.phrase.replace("TIME",this.formatTime(t))},t.prototype.formatTime=function(e){var t;return t=function(e,t){return e=Math.floor(e),1!==e&&(t+="s"),"in "+e+" "+t},0===Math.floor(e)?"now...":e<60?t(e,"second"):(e/=60,e<60?t(e,"minute"):(e/=60,t(e,"hour")))},t.prototype.startCountdown=function(e,t){var n,i,r,a,o=this;if(null==this._timers[e])return n=this.$message.find("[data-action='"+e+"'] .messenger-phrase"),i=null!=(a=t.delay)?a:3,i<=10?(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(t,i)),i>0?(a=Math.min(i,1),i-=a,o._timers[e]=setTimeout(r,1e3*a)):(o.$message.removeClass("messenger-retry-soon messenger-retry-later"),delete o._timers[e],t.action())})()},t}(o),s=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return h(n,t),n.prototype.tagName="ul",n.prototype.className="messenger",n.prototype.messageDefaults={type:"info"},n.prototype.initialize=function(t){return this.options=null!=t?t:{},this.history=[],this.messageDefaults=e.extend({},this.messageDefaults,this.options.messageDefaults)},n.prototype.render=function(){return this.updateMessageSlotClasses()},n.prototype.findById=function(e){return a.filter(this.history,function(t){return t.msg.options.id===e})},n.prototype._reserveMessageSlot=function(t){var n,i,r=this;for(n=e("<li>"),n.addClass("messenger-message-slot"),this.$el.prepend(n),this.history.push({msg:t,$slot:n}),this._enforceIdConstraint(t),t.on("update",function(){return r._enforceIdConstraint(t)});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(e){var t,n,i,r,a;if(null!=e.options.id)for(a=this.history,n=0,i=a.length;n<i;n++)if(t=a[n],r=t.msg,null!=r.options.id&&r.options.id===e.options.id&&e!==r){if(e.options.singleton)return void e.hide();r.hide()}},n.prototype.newMessage=function(e){var t,n,i,a,s=this;return null==e&&(e={}),e.messenger=this,o=null!=(n=null!=(i=Messenger.themes[null!=(a=e.theme)?a:this.options.theme])?i.Message:void 0)?n:r,t=new o(e),t.on("show",function(){if(e.scrollTo&&"fixed"!==s.$el.css("position"))return t.scrollTo()}),t.on("hide show render",this.updateMessageSlotClasses,this),t},n.prototype.updateMessageSlotClasses=function(){var e,t,n,i,r,a,o;for(i=!0,t=null,e=!1,o=this.history,r=0,a=o.length;r<a;r++)n=o[r],n.$slot.removeClass("messenger-first messenger-last messenger-shown"),n.msg.shown&&n.msg.rendered&&(n.$slot.addClass("messenger-shown"),e=!0,t=n,i&&(i=!1,n.$slot.addClass("messenger-first")));return null!=t&&t.$slot.addClass("messenger-last"),this.$el[""+(e?"remove":"add")+"Class"]("messenger-empty")},n.prototype.hideAll=function(){var e,t,n,i,r;for(i=this.history,r=[],t=0,n=i.length;t<n;t++)e=i[t],r.push(e.msg.hide());return r},n.prototype.post=function(t){var n;return a.isString(t)&&(t={message:t}),t=e.extend(!0,{},this.messageDefaults,t),n=this.newMessage(t),n.update(t),n},n}(n),t=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return h(n,t),n.prototype.doDefaults={progressMessage:null,successMessage:null,errorMessage:"Error connecting to the server.",showSuccessWithoutError:!0,retry:{auto:!0,allow:!0},action:e.ajax},n.prototype.hookBackboneAjax=function(t){var n,i=this;if(null==t&&(t={}),null==window.Backbone)throw"Expected Backbone to be defined";return t=a.defaults(t,{id:"BACKBONE_ACTION",errorMessage:!1,successMessage:"Request completed successfully.",showSuccessWithoutError:!1}),n=function(e){var n;return n=a.extend({},t,e.messenger),i["do"](n,e)},null!=Backbone.ajax?(Backbone.ajax._withoutMessenger&&(Backbone.ajax=Backbone.ajax._withoutMessenger),null!=t.action&&t.action!==this.doDefaults.action||(t.action=Backbone.ajax),n._withoutMessenger=Backbone.ajax,Backbone.ajax=n):Backbone.sync=a.wrap(Backbone.sync,function(){var t,i,r;return r=arguments[0],t=2<=arguments.length?f.call(arguments,1):[],i=e.ajax,e.ajax=n,r.call.apply(r,[this].concat(f.call(t))),e.ajax=i})},n.prototype._getHandlerResponse=function(e){return e!==!1&&(e===!0||null==e||e)},n.prototype._parseEvents=function(e){var t,n,i,r,a,o,s;null==e&&(e={}),a={};for(r in e)i=e[r],n=r.indexOf(" "),o=r.substring(0,n),t=r.substring(n+1),null==(s=a[o])&&(a[o]={}),a[o][t]=i;return a},n.prototype._normalizeResponse=function(){var e,t,n,i,r,o,s;for(n=1<=arguments.length?f.call(arguments,0):[],i=null,r=null,e=null,o=0,s=n.length;o<s;o++)t=n[o],"success"===t||"timeout"===t||"abort"===t?i=t:null!=(null!=t?t.readyState:void 0)&&null!=(null!=t?t.responseText:void 0)?r=t:a.isObject(t)&&(e=t);return[i,e,r]},n.prototype.run=function(){var t,n,i,r,o,s,l,u,d,c,h,m=this;if(s=arguments[0],d=arguments[1],t=3<=arguments.length?f.call(arguments,2):[],null==d&&(d={}),s=e.extend(!0,{},this.messageDefaults,this.doDefaults,null!=s?s:{}),n=this._parseEvents(s.events),i=function(e,t){var n;return n=s[e+"Message"],a.isFunction(n)?n.call(m,e,t):n},l=null!=(h=s.messageInstance)?h:this.newMessage(s),null!=s.id&&(l.options.id=s.id),null!=s.progressMessage&&l.update(e.extend({},s,{message:i("progress",null),type:"info"})),o={},a.each(["error","success"],function(r){var u;return u=d[r],o[r]=function(){var o,c,h,_,g,y,v,b,M,w,k,L,x,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 u?u.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!=(L=n[r])?L:{},hideOnNavigate:"success"===r},_=e.extend({},s,c,v),"number"==typeof(null!=(x=_.retry)?x.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,[_,d].concat(f.call(t)))},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],u=d[c],d[c]=r;return l._actionInstance=s.action.apply(s,[d].concat(f.call(t))),s.returnsPromise&&l._actionInstance.then(o.success,o.error),l},n.prototype["do"]=n.prototype.run,n.prototype.ajax=function(){var t,n;return n=arguments[0],t=2<=arguments.length?f.call(arguments,1):[],n.action=e.ajax,this.run.apply(this,[n].concat(f.call(t)))},n.prototype.expectPromise=function(e,t){return t=a.extend({},t,{action:e,returnsPromise:!0}),this.run(t)},n.prototype.error=function(e){return null==e&&(e={}),"string"==typeof e&&(e={message:e}),e.type="error",this.post(e)},n.prototype.info=function(e){return null==e&&(e={}),"string"==typeof e&&(e={message:e}),e.type="info",this.post(e)},n.prototype.success=function(e){return null==e&&(e={}),"string"==typeof e&&(e={message:e}),e.type="success",this.post(e)},n}(s),e.fn.messenger=function(){var n,i,r,o,l,u,d,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!=(u=null!=(d=Messenger.themes[l.theme])?d.Messenger:void 0)?u:t,n.data("messenger",o=new s(e.extend({el:n},l))),o.render()),n.data("messenger"))},window.Messenger._call=function(t){var n,i,r,a,o,s,l,u,d,c,h;if(s={extraClasses:"messenger-fixed messenger-on-bottom messenger-on-right",theme:"future",maxMessages:9,parentLocations:["body"]},t=e.extend(s,e._messengerDefaults,Messenger.options,t),null!=t.theme&&(t.extraClasses+=" messenger-theme-"+t.theme),l=t.instance||Messenger.instance,null==t.instance){for(d=t.parentLocations,i=null,r=null,c=0,h=d.length;c<h;c++)if(u=d[c],i=e(u),i.length){a=u;break}l?e(l._location).is(e(a))||(l.$el.detach(),i.prepend(l.$el)):(n=e("<ul>"),i.prepend(n),l=n.messenger(t),l._location=a,Messenger.instance=l)}return null!=l._addedClasses&&l.$el.removeClass(l._addedClasses),l.$el.addClass(o=""+l.className+" "+t.extraClasses),l._addedClasses=o,l},e.extend(Messenger,{Message:r,Messenger:t,themes:null!=(d=Messenger.themes)?d:{}}),e.globalMessenger=window.Messenger=Messenger}.call(this),function(e){"use strict";"function"==typeof define&&define.amd?define(e):"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=e():"undefined"!=typeof Package?Sortable=e():window.Sortable=e()}(function(){"use strict";function e(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(e);this.el=e,this.options=t=g({},t),e[F]=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(e.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",ignore:"a, img",filter:null,animation:0,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1};for(var i in n)!(i in t)&&(t[i]=n[i]);U(t);for(var a in this)"_"===a.charAt(0)&&(this[a]=this[a].bind(this));this.nativeDraggable=!t.forceFallback&&N,r(e,"mousedown",this._onTapStart),r(e,"touchstart",this._onTapStart),this.nativeDraggable&&(r(e,"dragover",this),r(e,"dragenter",this)),V.push(this._onDragOver),t.store&&this.sort(t.store.get(this))}function t(e){M&&M.state!==e&&(s(M,"display",e?"none":""),!e&&M.state&&w.insertBefore(M,y),M.state=e)}function n(e,t,n){if(e){n=n||W,t=t.split(".");var i=t.shift().toUpperCase(),r=new RegExp("\\s("+t.join("|")+")(?=\\s)","g");do if(">*"===i&&e.parentNode===n||(""===i||e.nodeName.toUpperCase()==i)&&(!t.length||((" "+e.className+" ").match(r)||[]).length==t.length))return e;while(e!==n&&(e=e.parentNode))}return null}function i(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),
|
||
e.preventDefault()}function r(e,t,n){e.addEventListener(t,n,!1)}function a(e,t,n){e.removeEventListener(t,n,!1)}function o(e,t,n){if(e)if(e.classList)e.classList[n?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(I," ").replace(" "+t+" "," ");e.className=(i+(n?" "+t:"")).replace(I," ")}}function s(e,t,n){var i=e&&e.style;if(i){if(void 0===n)return W.defaultView&&W.defaultView.getComputedStyle?n=W.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in i||(t="-webkit-"+t),i[t]=n+("string"==typeof n?"":"px")}}function l(e,t,n){if(e){var i=e.getElementsByTagName(t),r=0,a=i.length;if(n)for(;r<a;r++)n(i[r],r);return i}return[]}function u(e,t,n,i,r,a,o){var s=W.createEvent("Event"),l=(e||t[F]).options,u="on"+n.charAt(0).toUpperCase()+n.substr(1);s.initEvent(n,!0,!0),s.to=t,s.from=r||t,s.item=i||t,s.clone=M,s.oldIndex=a,s.newIndex=o,t.dispatchEvent(s),l[u]&&l[u].call(e,s)}function d(e,t,n,i,r,a){var o,s,l=e[F],u=l.options.onMove;return o=W.createEvent("Event"),o.initEvent("move",!0,!0),o.to=t,o.from=e,o.dragged=n,o.draggedRect=i,o.related=r||t,o.relatedRect=a||t.getBoundingClientRect(),e.dispatchEvent(o),u&&(s=u.call(l,o)),s}function c(e){e.draggable=!1}function h(){B=!1}function f(e,t){var n=e.lastElementChild,i=n.getBoundingClientRect();return(t.clientY-(i.top+i.height)>5||t.clientX-(i.right+i.width)>5)&&n}function p(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,i=0;n--;)i+=t.charCodeAt(n);return i.toString(36)}function m(e){var t=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"!==e.nodeName.toUpperCase()&&t++;return t}function _(e,t){var n,i;return function(){void 0===n&&(n=arguments,i=this,setTimeout(function(){1===n.length?e.call(i,n[0]):e.apply(i,n),n=void 0},t))}}function g(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var y,v,b,M,w,k,L,x,D,T,Y,S,C,H,A,j,P,E={},I=/\s+/g,F="Sortable"+(new Date).getTime(),O=window,W=O.document,R=O.parseInt,N=!!("draggable"in W.createElement("div")),z=function(e){return e=W.createElement("x"),e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}(),B=!1,$=Math.abs,V=([].slice,[]),q=_(function(e,t,n){if(n&&t.scroll){var i,r,a,o,s=t.scrollSensitivity,l=t.scrollSpeed,u=e.clientX,d=e.clientY,c=window.innerWidth,h=window.innerHeight;if(x!==n&&(L=t.scroll,x=n,L===!0)){L=n;do if(L.offsetWidth<L.scrollWidth||L.offsetHeight<L.scrollHeight)break;while(L=L.parentNode)}L&&(i=L,r=L.getBoundingClientRect(),a=($(r.right-u)<=s)-($(r.left-u)<=s),o=($(r.bottom-d)<=s)-($(r.top-d)<=s)),a||o||(a=(c-u<=s)-(u<=s),o=(h-d<=s)-(d<=s),(a||o)&&(i=O)),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===O?O.scrollTo(O.pageXOffset+a*l,O.pageYOffset+o*l):(o&&(i.scrollTop+=o*l),a&&(i.scrollLeft+=a*l))},24)))}},30),U=function(e){var t=e.group;t&&"object"==typeof t||(t=e.group={name:t}),["pull","put"].forEach(function(e){e in t||(t[e]=!0)}),e.groups=" "+t.name+(t.put.join?" "+t.put.join(" "):"")+" "};return e.prototype={constructor:e,_onTapStart:function(e){var t=this,i=this.el,r=this.options,a=e.type,o=e.touches&&e.touches[0],s=(o||e).target,l=s,d=r.filter;if(!("mousedown"===a&&0!==e.button||r.disabled)&&(s=n(s,r.draggable,i))){if(S=m(s),"function"==typeof d){if(d.call(this,e,s,this))return u(t,l,"filter",s,i,S),void e.preventDefault()}else if(d&&(d=d.split(",").some(function(e){if(e=n(l,e.trim(),i))return u(t,e,"filter",s,i,S),!0})))return void e.preventDefault();r.handle&&!n(l,r.handle,i)||this._prepareDragStart(e,o,s)}},_prepareDragStart:function(e,t,n){var i,a=this,s=a.el,u=a.options,d=s.ownerDocument;n&&!y&&n.parentNode===s&&(A=e,w=s,y=n,v=y.parentNode,k=y.nextSibling,H=u.group,i=function(){a._disableDelayedDrag(),y.draggable=!0,o(y,a.options.chosenClass,!0),a._triggerDragStart(t)},u.ignore.split(",").forEach(function(e){l(y,e.trim(),c)}),r(d,"mouseup",a._onDrop),r(d,"touchend",a._onDrop),r(d,"touchcancel",a._onDrop),u.delay?(r(d,"mouseup",a._disableDelayedDrag),r(d,"touchend",a._disableDelayedDrag),r(d,"touchcancel",a._disableDelayedDrag),r(d,"mousemove",a._disableDelayedDrag),r(d,"touchmove",a._disableDelayedDrag),a._dragStartTimer=setTimeout(i,u.delay)):i())},_disableDelayedDrag:function(){var e=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(e,"mouseup",this._disableDelayedDrag),a(e,"touchend",this._disableDelayedDrag),a(e,"touchcancel",this._disableDelayedDrag),a(e,"mousemove",this._disableDelayedDrag),a(e,"touchmove",this._disableDelayedDrag)},_triggerDragStart:function(e){e?(A={target:y,clientX:e.clientX,clientY:e.clientY},this._onDragStart(A,"touch")):this.nativeDraggable?(r(y,"dragend",this),r(w,"dragstart",this._onDragStart)):this._onDragStart(A,!0);try{W.selection?W.selection.empty():window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(){w&&y&&(o(y,this.options.ghostClass,!0),e.active=this,u(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 e=W.elementFromPoint(j.clientX,j.clientY),t=e,n=" "+this.options.group.name,i=V.length;if(t)do{if(t[F]&&t[F].options.groups.indexOf(n)>-1){for(;i--;)V[i]({clientX:j.clientX,clientY:j.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);z||s(b,"display","")}},_onTouchMove:function(t){if(A){e.active||this._dragStarted(),this._appendGhost();var n=t.touches?t.touches[0]:t,i=n.clientX-A.clientX,r=n.clientY-A.clientY,a=t.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),t.preventDefault()}},_appendGhost:function(){if(!b){var e,t=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",t.top-R(n.marginTop,10)),s(b,"left",t.left-R(n.marginLeft,10)),s(b,"width",t.width),s(b,"height",t.height),s(b,"opacity","0.8"),s(b,"position","fixed"),s(b,"zIndex","100000"),s(b,"pointerEvents","none"),i.fallbackOnBody&&W.body.appendChild(b)||w.appendChild(b),e=b.getBoundingClientRect(),s(b,"width",2*t.width-e.width),s(b,"height",2*t.height-e.height)}},_onDragStart:function(e,t){var n=e.dataTransfer,i=this.options;this._offUpEvents(),"clone"==H.pull&&(M=y.cloneNode(!0),s(M,"display","none"),w.insertBefore(M,y)),t?("touch"===t?(r(W,"touchmove",this._onTouchMove),r(W,"touchend",this._onDrop),r(W,"touchcancel",this._onDrop)):(r(W,"mousemove",this._onTouchMove),r(W,"mouseup",this._onDrop)),this._loopId=setInterval(this._emulateDragOver,50)):(n&&(n.effectAllowed="move",i.setData&&i.setData.call(this,n,y)),r(W,"drop",this),setTimeout(this._dragStarted,0))},_onDragOver:function(e){var i,r,a,o=this.el,l=this.options,u=l.group,c=u.put,p=H===u,m=l.sort;if(void 0!==e.preventDefault&&(e.preventDefault(),!l.dragoverBubble&&e.stopPropagation()),P=!0,H&&!l.disabled&&(p?m||(a=!w.contains(y)):H.pull&&c&&(H.name===u.name||c.indexOf&&~c.indexOf(H.name)))&&(void 0===e.rootEl||e.rootEl===this.el)){if(q(e,l,this.el),B)return;if(i=n(e.target,l.draggable,o),r=y.getBoundingClientRect(),a)return t(!0),void(M||k?w.insertBefore(y,M||k):m||w.appendChild(y));if(0===o.children.length||o.children[0]===b||o===e.target&&(i=f(o,e))){if(i){if(i.animated)return;g=i.getBoundingClientRect()}t(p),d(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[F]){D!==i&&(D=i,T=s(i),Y=s(i.parentNode));var _,g=i.getBoundingClientRect(),L=g.right-g.left,x=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?(e.clientX-g.left)/L:(e.clientY-g.top)/x)>.5,E=i.nextElementSibling,I=d(w,o,y,r,i,g);if(I!==!1){if(B=!0,setTimeout(h,30),t(p),1===I||I===-1)_=1===I;else if(S){var O=y.offsetTop,W=i.offsetTop;_=O===W?i.previousElementSibling===y&&!C||j&&C:W>O}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(e,t){var n=this.options.animation;if(n){var i=t.getBoundingClientRect();s(t,"transition","none"),s(t,"transform","translate3d("+(e.left-i.left)+"px,"+(e.top-i.top)+"px,0)"),t.offsetWidth,s(t,"transition","all "+n+"ms"),s(t,"transform","translate3d(0,0,0)"),clearTimeout(t.animated),t.animated=setTimeout(function(){s(t,"transition",""),s(t,"transform",""),t.animated=!1},n)}},_offUpEvents:function(){var e=this.el.ownerDocument;a(W,"touchmove",this._onTouchMove),a(e,"mouseup",this._onDrop),a(e,"touchend",this._onDrop),a(e,"touchcancel",this._onDrop)},_onDrop:function(t){var n=this.el,i=this.options;clearInterval(this._loopId),clearInterval(E.pid),clearTimeout(this._dragStartTimer),a(W,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(W,"drop",this),a(n,"dragstart",this._onDragStart)),this._offUpEvents(),t&&(P&&(t.preventDefault(),!i.dropBubble&&t.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&&(u(null,v,"sort",y,w,S,C),u(this,w,"sort",y,w,S,C),u(null,v,"add",y,w,S,C),u(this,w,"remove",y,w,S,C))):(M&&M.parentNode.removeChild(M),y.nextSibling!==k&&(C=m(y),C>=0&&(u(this,w,"update",y,w,S,C),u(this,w,"sort",y,w,S,C)))),e.active&&(null!==C&&C!==-1||(C=S),u(this,w,"end",y,w,S,C),this.save())),w=y=v=b=k=M=L=x=A=j=P=C=D=T=H=e.active=null)},handleEvent:function(e){var t=e.type;"dragover"===t||"dragenter"===t?y&&(this._onDragOver(e),i(e)):"drop"!==t&&"dragend"!==t||this._onDrop(e)},toArray:function(){for(var e,t=[],i=this.el.children,r=0,a=i.length,o=this.options;r<a;r++)e=i[r],n(e,o.draggable,this.el)&&t.push(e.getAttribute(o.dataIdAttr)||p(e));return t},sort:function(e){var t={},i=this.el;this.toArray().forEach(function(e,r){var a=i.children[r];n(a,this.options.draggable,i)&&(t[e]=a)},this),e.forEach(function(e){t[e]&&(i.removeChild(t[e]),i.appendChild(t[e]))})},save:function(){var e=this.options.store;e&&e.set(this)},closest:function(e,t){return n(e,t||this.options.draggable,this.el)},option:function(e,t){var n=this.options;return void 0===t?n[e]:(n[e]=t,void("group"===e&&U(n)))},destroy:function(){var e=this.el;e[F]=null,a(e,"mousedown",this._onTapStart),a(e,"touchstart",this._onTapStart),this.nativeDraggable&&(a(e,"dragover",this),a(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),V.splice(V.indexOf(this._onDragOver),1),this._onDrop(),this.el=e=null}},e.utils={on:r,off:a,css:s,find:l,is:function(e,t){return!!n(e,t,e)},extend:g,throttle:_,closest:n,toggleClass:o,index:m},e.create=function(t,n){return new e(t,n)},e.version="1.4.2",e}),function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)}(function(e,t){var n=1e3,i=!1,r=e([]),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=t(i),t.isMoment(i)&&!isNaN(+i)){var o=e.extend({},{original:n.contents()},a);o.moment=t(i),n.data("livestampdata",o).empty(),r.push(n[0])}},s=function(){i||(l.update(),setTimeout(s,n))},l={update:function(){e("[data-livestamp]").each(function(){var t=e(this);o(t,t.data("livestamp"))});var n=[];r.each(function(){var i=e(this),r=i.data("livestampdata");if(void 0===r)n.push(this);else if(t.isMoment(r.moment)){var a=i.html(),o=r.moment.fromNow();if(a!=o){var s=e.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(e){return void 0===e?n:void(n=e)}},u={add:function(n,i){return"number"==typeof i&&(i*=1e3),i=t(i),t.isMoment(i)&&!isNaN(+i)&&(n.each(function(){o(e(this),i)}),l.update()),n},destroy:function(t){return r=r.not(t),t.each(function(){var n=e(this),i=n.data("livestampdata");return void 0===i?t:void n.html(i.original?i.original:"").removeData("livestampdata")}),t},isLivestamp:function(e){return void 0!==e.data("livestampdata")}};e.livestamp=l,e(a),e.fn.livestamp=function(e,t){return u[e]||(t=e,e="add"),u[e](this,t)}}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){function t(t,n){var i=e('<div class="minicolors" />'),r=e.minicolors.defaults;t.data("minicolors-initialized")||(n=e.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&&e.each(n.position.split(" "),function(){i.addClass("minicolors-position-"+this)}),t.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||(t.after('<span class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></span>'),t.next(".minicolors-swatch").on("click",function(e){e.preventDefault(),t.focus()})),t.parent().find(".minicolors-panel").on("selectstart",function(){return!1}).end(),n.inline&&t.parent().addClass("minicolors-inline"),s(t,!1),t.data("minicolors-initialized",!0))}function n(e){var t=e.parent();e.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),t.before(e).remove()}function i(e){var t=e.parent(),n=t.find(".minicolors-panel"),i=e.data("minicolors-settings");!e.data("minicolors-initialized")||e.prop("disabled")||t.hasClass("minicolors-inline")||t.hasClass("minicolors-focus")||(r(),t.addClass("minicolors-focus"),n.stop(!0,!0).fadeIn(i.showSpeed,function(){i.show&&i.show.call(e.get(0))}))}function r(){e(".minicolors-focus").each(function(){var t=e(this),n=t.find(".minicolors-input"),i=t.find(".minicolors-panel"),r=n.data("minicolors-settings");i.fadeOut(r.hideSpeed,function(){r.hide&&r.hide.call(n.get(0)),t.removeClass("minicolors-focus")})})}function a(e,t,n){var i,r,a,s,l=e.parents(".minicolors").find(".minicolors-input"),u=l.data("minicolors-settings"),d=e.find("[class$=-picker]"),c=e.offset().left,h=e.offset().top,f=Math.round(t.pageX-c),p=Math.round(t.pageY-h),m=n?u.animationSpeed:0;t.originalEvent.changedTouches&&(f=t.originalEvent.changedTouches[0].pageX-c,p=t.originalEvent.changedTouches[0].pageY-h),f<0&&(f=0),p<0&&(p=0),f>e.width()&&(f=e.width()),p>e.height()&&(p=e.height()),e.parent().is(".minicolors-slider-wheel")&&d.parent().is(".minicolors-grid")&&(i=75-f,r=75-p,a=Math.sqrt(i*i+r*r),s=Math.atan2(r,i),s<0&&(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)),e.is(".minicolors-grid")?d.stop(!0).animate({top:p+"px",left:f+"px"},m,u.animationEasing,function(){o(l,e)}):d.stop(!0).animate({top:p+"px"},m,u.animationEasing,function(){o(l,e)})}function o(e,t){function n(e,t){var n,i;return e.length&&t?(n=e.offset().left,i=e.offset().top,{x:n-t.offset().left+e.outerWidth()/2,y:i-t.offset().top+e.outerHeight()/2}):null}var i,r,a,o,s,u,d,h=e.val(),p=e.attr("data-opacity"),m=e.parent(),g=e.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]"),L=M.find("[class$=-picker]"),x=n(w,v),D=n(k,b),T=n(L,M);if(t.is(".minicolors-grid, .minicolors-slider")){switch(g.control){case"wheel":o=v.width()/2-x.x,s=v.height()/2-x.y,u=Math.sqrt(o*o+s*s),d=Math.atan2(s,o),d<0&&(d+=2*Math.PI),u>75&&(u=75,x.x=69-75*Math.cos(d),x.y=69-75*Math.sin(d)),r=f(u/.75,0,100),i=f(180*d/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(x.x*(360/v.width()),10),0,360),r=f(100-Math.floor(D.y*(100/b.height())),0,100),a=f(100-Math.floor(x.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(x.x*(360/v.width()),10),0,360),r=f(100-Math.floor(x.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(x.x*(100/v.width())),0,100),a=f(100-Math.floor(x.y*(100/v.height())),0,100),h=_({h:i,s:r,b:a}),v.css("backgroundColor",_({h:i,s:100,b:100}))}e.val(c(h,g.letterCase))}t.is(".minicolors-opacity-slider")&&(p=g.opacity?parseFloat(1-T.y/M.height()).toFixed(2):1,g.opacity&&e.attr("data-opacity",p)),y.find("SPAN").css({backgroundColor:h,opacity:p}),l(e,h,p)}function s(e,t){var n,i,r,a,o,s,u,d=e.parent(),p=e.data("minicolors-settings"),m=d.find(".minicolors-swatch"),y=d.find(".minicolors-grid"),v=d.find(".minicolors-slider"),b=d.find(".minicolors-opacity-slider"),M=y.find("[class$=-picker]"),w=v.find("[class$=-picker]"),k=b.find("[class$=-picker]");switch(n=c(h(e.val(),!0),p.letterCase),n||(n=c(h(p.defaultValue,!0),p.letterCase)),i=g(n),t||e.val(n),p.opacity&&(r=""===e.attr("data-opacity")?1:f(parseFloat(e.attr("data-opacity")).toFixed(2),0,1),isNaN(r)&&(r=1),e.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),u=i.h*Math.PI/180,a=f(75-Math.cos(u)*s,0,y.width()),o=f(75-Math.sin(u)*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})),d.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})),d.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}))}e.data("minicolors-initialized")&&l(e,n,r)}function l(e,t,n){var i=e.data("minicolors-settings"),r=e.data("minicolors-lastChange");r&&r.hex===t&&r.opacity===n||(e.data("minicolors-lastChange",{hex:t,opacity:n}),i.change&&(i.changeDelay?(clearTimeout(e.data("minicolors-changeTimeout")),e.data("minicolors-changeTimeout",setTimeout(function(){i.change.call(e.get(0),t,n)},i.changeDelay))):i.change.call(e.get(0),t,n)),e.trigger("change").trigger("input"))}function u(t){var n=h(e(t).val(),!0),i=v(n),r=e(t).attr("data-opacity");return i?(void 0!==r&&e.extend(i,{a:parseFloat(r)}),i):null}function d(t,n){var i=h(e(t).val(),!0),r=v(i),a=e(t).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(e,t){return"uppercase"===t?e.toUpperCase():e.toLowerCase()}function h(e,t){return e=e.replace(/[^A-F0-9]/gi,""),3!==e.length&&6!==e.length?"":(3===e.length&&t&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),"#"+e)}function f(e,t,n){return e<t&&(e=t),e>n&&(e=n),e}function p(e){var t={},n=Math.round(e.h),i=Math.round(255*e.s/100),r=Math.round(255*e.b/100);if(0===i)t.r=t.g=t.b=r;else{var a=r,o=(255-i)*r/255,s=(a-o)*(n%60)/60;360===n&&(n=0),n<60?(t.r=a,t.b=o,t.g=o+s):n<120?(t.g=a,t.b=o,t.r=a-s):n<180?(t.g=a,t.r=o,t.b=o+s):n<240?(t.b=a,t.r=o,t.g=a-s):n<300?(t.b=a,t.g=o,t.r=o+s):n<360?(t.r=a,t.g=o,t.b=a-s):(t.r=0,t.g=0,t.b=0)}return{r:Math.round(t.r),g:Math.round(t.g),b:Math.round(t.b)}}function m(t){var n=[t.r.toString(16),t.g.toString(16),t.b.toString(16)];return e.each(n,function(e,t){1===t.length&&(n[e]="0"+t)}),"#"+n.join("")}function _(e){return m(p(e))}function g(e){var t=y(v(e));return 0===t.s&&(t.h=360),t}function y(e){var t={h:0,s:0,b:0},n=Math.min(e.r,e.g,e.b),i=Math.max(e.r,e.g,e.b),r=i-n;return t.b=i,t.s=0!==i?255*r/i:0,0!==t.s?e.r===i?t.h=(e.g-e.b)/r:e.g===i?t.h=2+(e.b-e.r)/r:t.h=4+(e.r-e.g)/r:t.h=-1,t.h*=60,t.h<0&&(t.h+=360),t.s*=100/255,t.b*=100/255,t}function v(e){return e=parseInt(e.indexOf("#")>-1?e.substring(1):e,16),{r:e>>16,g:(65280&e)>>8,b:255&e}}e.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"}},e.extend(e.fn,{minicolors:function(a,o){switch(a){case"destroy":return e(this).each(function(){n(e(this))}),e(this);case"hide":return r(),e(this);case"opacity":return void 0===o?e(this).attr("data-opacity"):(e(this).each(function(){s(e(this).attr("data-opacity",o))}),e(this));case"rgbObject":return u(e(this),"rgbaObject"===a);case"rgbString":case"rgbaString":return d(e(this),"rgbaString"===a);case"settings":return void 0===o?e(this).data("minicolors-settings"):(e(this).each(function(){var t=e(this).data("minicolors-settings")||{};n(e(this)),e(this).minicolors(e.extend(!0,t,o))}),e(this));case"show":return i(e(this).eq(0)),e(this);case"value":return void 0===o?e(this).val():(e(this).each(function(){s(e(this).val(o))}),e(this));default:return"create"!==a&&(o=a),e(this).each(function(){t(e(this),o)}),e(this)}}}),e(document).on("mousedown.minicolors touchstart.minicolors",function(t){e(t.target).parents().add(t.target).hasClass("minicolors")||r()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(t){var n=e(this);t.preventDefault(),e(document).data("minicolors-target",n),a(n,t,!0)}).on("mousemove.minicolors touchmove.minicolors",function(t){var n=e(document).data("minicolors-target");n&&a(n,t)}).on("mouseup.minicolors touchend.minicolors",function(){e(this).removeData("minicolors-target")}).on("mousedown.minicolors touchstart.minicolors",".minicolors-swatch",function(t){var n=e(this).parent().find(".minicolors-input");t.preventDefault(),i(n)}).on("focus.minicolors",".minicolors-input",function(){var t=e(this);t.data("minicolors-initialized")&&i(t)}).on("blur.minicolors",".minicolors-input",function(){var t=e(this),n=t.data("minicolors-settings");t.data("minicolors-initialized")&&(t.val(h(t.val(),!0)),""===t.val()&&t.val(h(n.defaultValue,!0)),t.val(c(t.val(),n.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(t){var n=e(this);if(n.data("minicolors-initialized"))switch(t.keyCode){case 9:r();break;case 13:case 27:r(),n.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var t=e(this);t.data("minicolors-initialized")&&s(t,!0)}).on("paste.minicolors",".minicolors-input",function(){var t=e(this);t.data("minicolors-initialized")&&setTimeout(function(){s(t,!0)},1)})}),jQuery.fn.serializeObject=function(){for(var e={},t=this.serializeArray(),n=0,i=t.length;n<i;n++){var r=t[n],a=r.name,o=null!=r.value?r.value:"";void 0!==e[a]?(e[a].push||(e[a]=[e[a]]),e[a].push(o)):e[a]=o}return e},function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.Chart=e()}}(function(){return function e(t,n,i){function r(o,s){if(!n[o]){if(!t[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(a)return a(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var d=n[o]={exports:{}};t[o][0].call(d.exports,function(e){var n=t[o][1][e];return r(n?n:e)},d,d.exports,e,t,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(e,t,n){},{}],2:[function(e,t,n){function i(e){if(e){var t=/^#([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=e.match(t);if(l){l=l[1];for(var u=0;u<o.length;u++)o[u]=parseInt(l[u]+l[u],16)}else if(l=e.match(n)){l=l[1];for(var u=0;u<o.length;u++)o[u]=parseInt(l.slice(2*u,2*u+2),16)}else if(l=e.match(i)){for(var u=0;u<o.length;u++)o[u]=parseInt(l[u+1]);s=parseFloat(l[4])}else if(l=e.match(r)){for(var u=0;u<o.length;u++)o[u]=Math.round(2.55*parseFloat(l[u+1]));s=parseFloat(l[4])}else if(l=e.match(a)){if("transparent"==l[1])return[0,0,0,0];if(o=b[l[1]],!o)return}for(var u=0;u<o.length;u++)o[u]=y(o[u],0,255);return s=s||0==s?y(s,0,1):1,o[3]=s,o}}function r(e){if(e){var t=/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=e.match(t);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(e){if(e){var t=/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=e.match(t);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(e){var t=i(e);return t&&t.slice(0,3)}function s(e){var t=r(e);return t&&t.slice(0,3)}function l(e){var t=i(e);return t?t[3]:(t=r(e))?t[3]:(t=a(e))?t[3]:void 0}function u(e){return"#"+v(e[0])+v(e[1])+v(e[2])}function d(e,t){return t<1||e[3]&&e[3]<1?c(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"}function c(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function h(e,t){if(t<1||e[3]&&e[3]<1)return f(e,t);var n=Math.round(e[0]/255*100),i=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return"rgb("+n+"%, "+i+"%, "+r+"%)"}function f(e,t){var n=Math.round(e[0]/255*100),i=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return"rgba("+n+"%, "+i+"%, "+r+"%, "+(t||e[3]||1)+")"}function p(e,t){return t<1||e[3]&&e[3]<1?m(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"}function m(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function _(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"}function g(e){return M[e.slice(0,3)]}function y(e,t,n){return Math.min(Math.max(t,e),n)}function v(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var b=e(6);t.exports={getRgba:i,getHsla:r,getRgb:o,getHsl:s,getHwb:a,getAlpha:l,hexString:u,rgbString:d,rgbaString:c,percentString:h,percentaString:f,hslString:p,hslaString:m,hwbString:_,keyword:g};var M={};for(var w in b)M[b[w]]=w},{6:6}],3:[function(e,t,n){var i=e(5),r=e(2),a=function(e){if(e instanceof a)return e;if(!(this instanceof a))return new a(e);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 t;if("string"==typeof e)if(t=r.getRgba(e))this.setValues("rgb",t);else if(t=r.getHsla(e))this.setValues("hsl",t);else{if(!(t=r.getHwb(e)))throw new Error('Unable to parse color from string "'+e+'"');this.setValues("hwb",t)}else if("object"==typeof e)if(t=e,void 0!==t.r||void 0!==t.red)this.setValues("rgb",t);else if(void 0!==t.l||void 0!==t.lightness)this.setValues("hsl",t);else if(void 0!==t.v||void 0!==t.value)this.setValues("hsv",t);else if(void 0!==t.w||void 0!==t.whiteness)this.setValues("hwb",t);else{if(void 0===t.c&&void 0===t.cyan)throw new Error("Unable to parse color from object "+JSON.stringify(e));this.setValues("cmyk",t)}};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 e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e%=360,e=e<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},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 e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var i=e[n]/255;t[n]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb,t=(299*e[0]+587*e[1]+114*e[2])/1e3;return t<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];
|
||
return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=this,i=e,r=void 0===t?.5:t,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 e,t,n=new a,i=this.values,r=n.values;for(var o in i)i.hasOwnProperty(o)&&(e=i[o],t={}.toString.call(e),"[object Array]"===t?r[o]=e.slice(0):"[object Number]"===t&&(r[o]=e));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(e){for(var t=this.values,n={},i=0;i<e.length;i++)n[e.charAt(i)]=t[e][i];return 1!==t.alpha&&(n.a=t.alpha),n},a.prototype.setValues=function(e,t){var n,r=this.values,a=this.spaces,o=this.maxes,s=1;if("alpha"===e)s=t;else if(t.length)r[e]=t.slice(0,e.length),s=t[e.length];else if(void 0!==t[e.charAt(0)]){for(n=0;n<e.length;n++)r[e][n]=t[e.charAt(n)];s=t.a}else if(void 0!==t[a[e][0]]){var l=a[e];for(n=0;n<e.length;n++)r[e][n]=t[l[n]];s=t.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===s?r.alpha:s)),"alpha"===e)return!1;var u;for(n=0;n<e.length;n++)u=Math.max(0,Math.min(o[e][n],r[e][n])),r[e][n]=Math.round(u);for(var d in a)d!==e&&(r[d]=i[e][d](r[e]));return!0},a.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},a.prototype.setChannel=function(e,t,n){var i=this.values[e];return void 0===n?i[t]:n===i[t]?this:(i[t]=n,this.setValues(e,i),this)},"undefined"!=typeof window&&(window.Color=a),t.exports=a},{2:2,5:5}],4:[function(e,t,n){function i(e){var t,n,i,r=e[0]/255,a=e[1]/255,o=e[2]/255,s=Math.min(r,a,o),l=Math.max(r,a,o),u=l-s;return l==s?t=0:r==l?t=(a-o)/u:a==l?t=2+(o-r)/u:o==l&&(t=4+(r-a)/u),t=Math.min(60*t,360),t<0&&(t+=360),i=(s+l)/2,n=l==s?0:i<=.5?u/(l+s):u/(2-l-s),[t,100*n,100*i]}function a(e){var t,n,i,r=e[0],a=e[1],o=e[2],s=Math.min(r,a,o),l=Math.max(r,a,o),u=l-s;return n=0==l?0:u/l*1e3/10,l==s?t=0:r==l?t=(a-o)/u:a==l?t=2+(o-r)/u:o==l&&(t=4+(r-a)/u),t=Math.min(60*t,360),t<0&&(t+=360),i=l/255*1e3/10,[t,n,i]}function o(e){var t=e[0],n=e[1],r=e[2],a=i(e)[0],o=1/255*Math.min(t,Math.min(n,r)),r=1-1/255*Math.max(t,Math.max(n,r));return[a,100*o,100*r]}function s(e){var t,n,i,r,a=e[0]/255,o=e[1]/255,s=e[2]/255;return r=Math.min(1-a,1-o,1-s),t=(1-a-r)/(1-r)||0,n=(1-o-r)/(1-r)||0,i=(1-s-r)/(1-r)||0,[100*t,100*n,100*i,100*r]}function l(e){return Q[JSON.stringify(e)]}function u(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/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*t+.3576*n+.1805*i,a=.2126*t+.7152*n+.0722*i,o=.0193*t+.1192*n+.9505*i;return[100*r,100*a,100*o]}function d(e){var t,n,i,r=u(e),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,t=116*o-16,n=500*(a-o),i=200*(o-s),[t,n,i]}function c(e){return O(d(e))}function h(e){var t,n,i,r,a,o=e[0]/360,s=e[1]/100,l=e[2]/100;if(0==s)return a=255*l,[a,a,a];n=l<.5?l*(1+s):l+s-l*s,t=2*l-n,r=[0,0,0];for(var u=0;u<3;u++)i=o+1/3*-(u-1),i<0&&i++,i>1&&i--,a=6*i<1?t+6*(n-t)*i:2*i<1?n:3*i<2?t+(n-t)*(2/3-i)*6:t,r[u]=255*a;return r}function f(e){var t,n,i=e[0],r=e[1]/100,a=e[2]/100;return 0===a?[0,0,0]:(a*=2,r*=a<=1?a:2-a,n=(a+r)/2,t=2*r/(a+r),[i,100*t,100*n])}function p(e){return o(h(e))}function m(e){return s(h(e))}function _(e){return l(h(e))}function y(e){var t=e[0]/60,n=e[1]/100,i=e[2]/100,r=Math.floor(t)%6,a=t-Math.floor(t),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(e){var t,n,i=e[0],r=e[1]/100,a=e[2]/100;return n=(2-r)*a,t=r*a,t/=n<=1?n:2-n,t=t||0,n/=2,[i,100*t,100*n]}function M(e){return o(y(e))}function w(e){return s(y(e))}function k(e){return l(y(e))}function L(e){var t,n,i,a,o=e[0]/360,s=e[1]/100,l=e[2]/100,u=s+l;switch(u>1&&(s/=u,l/=u),t=Math.floor(6*o),n=1-l,i=6*o-t,0!=(1&t)&&(i=1-i),a=s+i*(n-s),t){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 x(e){return i(L(e))}function D(e){return a(L(e))}function T(e){return s(L(e))}function Y(e){return l(L(e))}function S(e){var t,n,i,r=e[0]/100,a=e[1]/100,o=e[2]/100,s=e[3]/100;return t=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*t,255*n,255*i]}function C(e){return i(S(e))}function H(e){return a(S(e))}function A(e){return o(S(e))}function j(e){return l(S(e))}function P(e){var t,n,i,r=e[0]/100,a=e[1]/100,o=e[2]/100;return t=3.2406*r+a*-1.5372+o*-.4986,n=r*-.9689+1.8758*a+.0415*o,i=.0557*r+a*-.204+1.057*o,t=t>.0031308?1.055*Math.pow(t,1/2.4)-.055:t=12.92*t,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,t=Math.min(Math.max(0,t),1),n=Math.min(Math.max(0,n),1),i=Math.min(Math.max(0,i),1),[255*t,255*n,255*i]}function E(e){var t,n,i,r=e[0],a=e[1],o=e[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,t=116*a-16,n=500*(r-a),i=200*(a-o),[t,n,i]}function I(e){return O(E(e))}function F(e){var t,n,i,r,a=e[0],o=e[1],s=e[2];return a<=8?(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)),t=t/95.047<=.008856?t=95.047*(o/500+r-16/116)/7.787:95.047*Math.pow(o/500+r,3),i=i/108.883<=.008859?i=108.883*(r-s/200-16/116)/7.787:108.883*Math.pow(r-s/200,3),[t,n,i]}function O(e){var t,n,i,r=e[0],a=e[1],o=e[2];return t=Math.atan2(o,a),n=360*t/2/Math.PI,n<0&&(n+=360),i=Math.sqrt(a*a+o*o),[r,i,n]}function W(e){return P(F(e))}function R(e){var t,n,i,r=e[0],a=e[1],o=e[2];return i=o/360*2*Math.PI,t=a*Math.cos(i),n=a*Math.sin(i),[r,t,n]}function N(e){return F(R(e))}function z(e){return W(R(e))}function B(e){return X[e]}function $(e){return i(B(e))}function V(e){return a(B(e))}function q(e){return o(B(e))}function U(e){return s(B(e))}function J(e){return d(B(e))}function G(e){return u(B(e))}t.exports={rgb2hsl:i,rgb2hsv:a,rgb2hwb:o,rgb2cmyk:s,rgb2keyword:l,rgb2xyz:u,rgb2lab:d,rgb2lch:c,hsl2rgb:h,hsl2hsv:f,hsl2hwb:p,hsl2cmyk:m,hsl2keyword:_,hsv2rgb:y,hsv2hsl:v,hsv2hwb:M,hsv2cmyk:w,hsv2keyword:k,hwb2rgb:L,hwb2hsl:x,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:F,lab2rgb:W,lab2lch:O,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(e,t,n){var i=e(4),r=function(){return new u};for(var a in i){r[a+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),i[e](t)}}(a);var o=/(\w+)2(\w+)/.exec(a),s=o[1],l=o[2];r[s]=r[s]||{},r[s][l]=r[a]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=i[e](t);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 u=function(){this.convs={}};u.prototype.routeSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n))},u.prototype.setValues=function(e,t){return this.space=e,this.convs={},this.convs[e]=t,this},u.prototype.getValues=function(e){var t=this.convs[e];if(!t){var n=this.space,i=this.convs[n];t=r[n][e](i),this.convs[e]=t}return t},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(e){u.prototype[e]=function(t){return this.routeSpace(e,arguments)}}),t.exports=r},{4:4}],6:[function(e,t,n){t.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(e,t,n){var i=e(26)();e(25)(i),e(24)(i),e(21)(i),e(22)(i),e(23)(i),e(27)(i),e(31)(i),e(29)(i),e(30)(i),e(32)(i),e(28)(i),e(33)(i),e(34)(i),e(35)(i),e(36)(i),e(37)(i),e(40)(i),e(38)(i),e(39)(i),e(41)(i),e(42)(i),e(43)(i),e(15)(i),e(16)(i),e(17)(i),e(18)(i),e(19)(i),e(20)(i),e(8)(i),e(9)(i),e(10)(i),e(11)(i),e(12)(i),e(13)(i),e(14)(i),window.Chart=t.exports=i},{10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30,31:31,32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,8:8,9:9}],8:[function(e,t,n){"use strict";t.exports=function(e){e.Bar=function(t,n){return n.type="bar",new e(t,n)}}},{}],9:[function(e,t,n){"use strict";t.exports=function(e){e.Bubble=function(t,n){return n.type="bubble",new e(t,n)}}},{}],10:[function(e,t,n){"use strict";t.exports=function(e){e.Doughnut=function(t,n){return n.type="doughnut",new e(t,n)}}},{}],11:[function(e,t,n){"use strict";t.exports=function(e){e.Line=function(t,n){return n.type="line",new e(t,n)}}},{}],12:[function(e,t,n){"use strict";t.exports=function(e){e.PolarArea=function(t,n){return n.type="polarArea",new e(t,n)}}},{}],13:[function(e,t,n){"use strict";t.exports=function(e){e.Radar=function(t,n){return n.options=e.helpers.configMerge({aspectRatio:1},n.options),n.type="radar",new e(t,n)}}},{}],14:[function(e,t,n){"use strict";t.exports=function(e){var t={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(e,t){return""},label:function(e,t){return"("+e.xLabel+", "+e.yLabel+")"}}}};e.defaults.scatter=t,e.controllers.scatter=e.controllers.line,e.Scatter=function(t,n){return n.type="scatter",new e(t,n)}}},{}],15:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.bar={hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}},e.controllers.bar=e.DatasetController.extend({dataElementType:e.elements.Rectangle,initialize:function(t,n){e.DatasetController.prototype.initialize.call(this,t,n),this.getMeta().bar=!0},getBarCount:function(){var e=this,n=0;return t.each(e.chart.data.datasets,function(t,i){var r=e.chart.getDatasetMeta(i);r.bar&&e.chart.isDatasetVisible(i)&&++n},e),n},update:function(e){var n=this;t.each(n.getMeta().data,function(t,i){n.updateElement(t,i,e)},n)},updateElement:function(e,n,i){var r=this,a=r.getMeta(),o=r.getScaleForId(a.xAxisID),s=r.getScaleForId(a.yAxisID),l=s.getBasePixel(),u=r.chart.options.elements.rectangle,d=e.custom||{},c=r.getDataset();t.extend(e,{_xScale:o,_yScale:s,_datasetIndex:r.index,_index:n,_model:{x:r.calculateBarX(n,r.index),y:i?l:r.calculateBarY(n,r.index),label:r.chart.data.labels[n],datasetLabel:c.label,base:i?l:r.calculateBarBase(r.index,n),width:r.calculateBarWidth(n),backgroundColor:d.backgroundColor?d.backgroundColor:t.getValueAtIndexOrDefault(c.backgroundColor,n,u.backgroundColor),borderSkipped:d.borderSkipped?d.borderSkipped:u.borderSkipped,borderColor:d.borderColor?d.borderColor:t.getValueAtIndexOrDefault(c.borderColor,n,u.borderColor),borderWidth:d.borderWidth?d.borderWidth:t.getValueAtIndexOrDefault(c.borderWidth,n,u.borderWidth)}}),e.pivot()},calculateBarBase:function(e,t){var n=this,i=n.getMeta(),r=n.getScaleForId(i.yAxisID),a=0;if(r.options.stacked){var o=n.chart,s=o.data.datasets,l=s[e].data[t];if(l<0)for(var u=0;u<e;u++){var d=s[u],c=o.getDatasetMeta(u);c.bar&&c.yAxisID===r.id&&o.isDatasetVisible(u)&&(a+=d.data[t]<0?d.data[t]:0)}else for(var h=0;h<e;h++){var f=s[h],p=o.getDatasetMeta(h);p.bar&&p.yAxisID===r.id&&o.isDatasetVisible(h)&&(a+=f.data[t]>0?f.data[t]:0)}return r.getPixelForValue(a)}return r.getBasePixel()},getRuler:function(e){var t,n=this,i=n.getMeta(),r=n.getScaleForId(i.xAxisID),a=n.getBarCount();t="category"===r.options.type?r.getPixelForTick(e+1)-r.getPixelForTick(e):r.width/r.ticks.length;var o=t*r.options.categoryPercentage,s=(t-t*r.options.categoryPercentage)/2,l=o/a;if(r.ticks.length!==n.chart.data.labels.length){var u=r.ticks.length/n.chart.data.labels.length;l*=u}var d=l*r.options.barPercentage,c=l-l*r.options.barPercentage;return{datasetCount:a,tickWidth:t,categoryWidth:o,categorySpacing:s,fullBarWidth:l,barWidth:d,barSpacing:c}},calculateBarWidth:function(e){var t=this.getScaleForId(this.getMeta().xAxisID),n=this.getRuler(e);return t.options.stacked?n.categoryWidth:n.barWidth},getBarIndex:function(e){var t,n,i=0;for(n=0;n<e;++n)t=this.chart.getDatasetMeta(n),t.bar&&this.chart.isDatasetVisible(n)&&++i;return i},calculateBarX:function(e,t){var n=this,i=n.getMeta(),r=n.getScaleForId(i.xAxisID),a=n.getBarIndex(t),o=n.getRuler(e),s=r.getPixelForValue(null,e,t,n.chart.isCombo);return s-=n.chart.isCombo?o.tickWidth/2:0,r.options.stacked?s+o.categoryWidth/2+o.categorySpacing:s+o.barWidth/2+o.categorySpacing+o.barWidth*a+o.barSpacing/2+o.barSpacing*a},calculateBarY:function(e,t){var n=this,i=n.getMeta(),r=n.getScaleForId(i.yAxisID),a=n.getDataset().data[e];if(r.options.stacked){for(var o=0,s=0,l=0;l<t;l++){var u=n.chart.data.datasets[l],d=n.chart.getDatasetMeta(l);d.bar&&d.yAxisID===r.id&&n.chart.isDatasetVisible(l)&&(u.data[e]<0?s+=u.data[e]||0:o+=u.data[e]||0)}return a<0?r.getPixelForValue(s+a):r.getPixelForValue(o+a)}return r.getPixelForValue(a)},draw:function(e){var n=this,i=e||1;t.each(n.getMeta().data,function(e,t){var r=n.getDataset().data[t];null===r||void 0===r||isNaN(r)||e.transition(i).draw()},n)},setHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],i=e._index,r=e.custom||{},a=e._model;a.backgroundColor=r.hoverBackgroundColor?r.hoverBackgroundColor:t.getValueAtIndexOrDefault(n.hoverBackgroundColor,i,t.getHoverColor(a.backgroundColor)),a.borderColor=r.hoverBorderColor?r.hoverBorderColor:t.getValueAtIndexOrDefault(n.hoverBorderColor,i,t.getHoverColor(a.borderColor)),a.borderWidth=r.hoverBorderWidth?r.hoverBorderWidth:t.getValueAtIndexOrDefault(n.hoverBorderWidth,i,a.borderWidth)},removeHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],i=e._index,r=e.custom||{},a=e._model,o=this.chart.options.elements.rectangle;a.backgroundColor=r.backgroundColor?r.backgroundColor:t.getValueAtIndexOrDefault(n.backgroundColor,i,o.backgroundColor),a.borderColor=r.borderColor?r.borderColor:t.getValueAtIndexOrDefault(n.borderColor,i,o.borderColor),a.borderWidth=r.borderWidth?r.borderWidth:t.getValueAtIndexOrDefault(n.borderWidth,i,o.borderWidth)}}),e.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(e,t){var n="";return e.length>0&&(e[0].yLabel?n=e[0].yLabel:t.labels.length>0&&e[0].index<t.labels.length&&(n=t.labels[e[0].index])),n},label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n+": "+e.xLabel}}}},e.controllers.horizontalBar=e.controllers.bar.extend({updateElement:function(e,n,i,r){var a=this,o=a.getMeta(),s=a.getScaleForId(o.xAxisID),l=a.getScaleForId(o.yAxisID),u=s.getBasePixel(),d=e.custom||{},c=a.getDataset(),h=a.chart.options.elements.rectangle;t.extend(e,{_xScale:s,_yScale:l,_datasetIndex:a.index,_index:n,_model:{x:i?u:a.calculateBarX(n,a.index),y:a.calculateBarY(n,a.index),label:a.chart.data.labels[n],datasetLabel:c.label,base:i?u:a.calculateBarBase(a.index,n),height:a.calculateBarHeight(n),backgroundColor:d.backgroundColor?d.backgroundColor:t.getValueAtIndexOrDefault(c.backgroundColor,n,h.backgroundColor),borderSkipped:d.borderSkipped?d.borderSkipped:h.borderSkipped,borderColor:d.borderColor?d.borderColor:t.getValueAtIndexOrDefault(c.borderColor,n,h.borderColor),borderWidth:d.borderWidth?d.borderWidth:t.getValueAtIndexOrDefault(c.borderWidth,n,h.borderWidth)},draw:function(){function e(e){return l[(d+e)%4]}var t=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),t.beginPath(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth;var l=[[n.base,a],[n.base,r],[o,r],[o,a]],u=["bottom","left","top","right"],d=u.indexOf(n.borderSkipped,0);d===-1&&(d=0),t.moveTo.apply(t,e(0));for(var c=1;c<4;c++)t.lineTo.apply(t,e(c));t.fill(),n.borderWidth&&t.stroke()},inRange:function(e,t){var n=this._view,i=!1;return n&&(i=n.x<n.base?t>=n.y-n.height/2&&t<=n.y+n.height/2&&e>=n.x&&e<=n.base:t>=n.y-n.height/2&&t<=n.y+n.height/2&&e>=n.base&&e<=n.x),i}}),e.pivot()},calculateBarBase:function(e,t){var n=this,i=n.getMeta(),r=n.getScaleForId(i.xAxisID),a=0;if(r.options.stacked){var o=n.chart.data.datasets[e].data[t];if(o<0)for(var s=0;s<e;s++){var l=n.chart.data.datasets[s],u=n.chart.getDatasetMeta(s);u.bar&&u.xAxisID===r.id&&n.chart.isDatasetVisible(s)&&(a+=l.data[t]<0?l.data[t]:0)}else for(var d=0;d<e;d++){var c=n.chart.data.datasets[d],h=n.chart.getDatasetMeta(d);h.bar&&h.xAxisID===r.id&&n.chart.isDatasetVisible(d)&&(a+=c.data[t]>0?c.data[t]:0)}return r.getPixelForValue(a)}return r.getBasePixel()},getRuler:function(e){var t,n=this,i=n.getMeta(),r=n.getScaleForId(i.yAxisID),a=n.getBarCount();t="category"===r.options.type?r.getPixelForTick(e+1)-r.getPixelForTick(e):r.width/r.ticks.length;var o=t*r.options.categoryPercentage,s=(t-t*r.options.categoryPercentage)/2,l=o/a;if(r.ticks.length!==n.chart.data.labels.length){var u=r.ticks.length/n.chart.data.labels.length;l*=u}var d=l*r.options.barPercentage,c=l-l*r.options.barPercentage;return{datasetCount:a,tickHeight:t,categoryHeight:o,categorySpacing:s,fullBarHeight:l,barHeight:d,barSpacing:c}},calculateBarHeight:function(e){var t=this,n=t.getScaleForId(t.getMeta().yAxisID),i=t.getRuler(e);return n.options.stacked?i.categoryHeight:i.barHeight},calculateBarX:function(e,t){var n=this,i=n.getMeta(),r=n.getScaleForId(i.xAxisID),a=n.getDataset().data[e];if(r.options.stacked){for(var o=0,s=0,l=0;l<t;l++){var u=n.chart.data.datasets[l],d=n.chart.getDatasetMeta(l);d.bar&&d.xAxisID===r.id&&n.chart.isDatasetVisible(l)&&(u.data[e]<0?s+=u.data[e]||0:o+=u.data[e]||0)}return a<0?r.getPixelForValue(s+a):r.getPixelForValue(o+a)}return r.getPixelForValue(a)},calculateBarY:function(e,t){var n=this,i=n.getMeta(),r=n.getScaleForId(i.yAxisID),a=n.getBarIndex(t),o=n.getRuler(e),s=r.getPixelForValue(null,e,t,n.chart.isCombo);return s-=n.chart.isCombo?o.tickHeight/2:0,r.options.stacked?s+o.categoryHeight/2+o.categorySpacing:s+o.barHeight/2+o.categorySpacing+o.barHeight*a+o.barSpacing/2+o.barSpacing*a}})}},{}],16:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.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(e,t){return""},label:function(e,t){var n=t.datasets[e.datasetIndex].label||"",i=t.datasets[e.datasetIndex].data[e.index];return n+": ("+i.x+", "+i.y+", "+i.r+")"}}}},e.controllers.bubble=e.DatasetController.extend({dataElementType:e.elements.Point,update:function(e){var n=this,i=n.getMeta(),r=i.data;t.each(r,function(t,i){n.updateElement(t,i,e)})},updateElement:function(n,i,r){var a=this,o=a.getMeta(),s=a.getScaleForId(o.xAxisID),l=a.getScaleForId(o.yAxisID),u=n.custom||{},d=a.getDataset(),c=d.data[i],h=a.chart.options.elements.point,f=a.index;t.extend(n,{_xScale:s,_yScale:l,_datasetIndex:f,_index:i,_model:{x:r?s.getPixelForDecimal(.5):s.getPixelForValue(c,i,f,a.chart.isCombo),y:r?l.getBasePixel():l.getPixelForValue(c,i,f),radius:r?0:u.radius?u.radius:a.getRadius(c),hitRadius:u.hitRadius?u.hitRadius:t.getValueAtIndexOrDefault(d.hitRadius,i,h.hitRadius)}}),e.DatasetController.prototype.removeHoverStyle.call(a,n,h);var p=n._model;p.skip=u.skip?u.skip:isNaN(p.x)||isNaN(p.y),n.pivot()},getRadius:function(e){return e.r||this.chart.options.elements.point.radius},setHoverStyle:function(n){var i=this;e.DatasetController.prototype.setHoverStyle.call(i,n);var r=i.chart.data.datasets[n._datasetIndex],a=n._index,o=n.custom||{},s=n._model;s.radius=o.hoverRadius?o.hoverRadius:t.getValueAtIndexOrDefault(r.hoverRadius,a,i.chart.options.elements.point.hoverRadius)+i.getRadius(r.data[a])},removeHoverStyle:function(t){var n=this;e.DatasetController.prototype.removeHoverStyle.call(n,t,n.chart.options.elements.point);var i=n.chart.data.datasets[t._datasetIndex].data[t._index],r=t.custom||{},a=t._model;a.radius=r.radius?r.radius:n.getRadius(i)}})}},{}],17:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.defaults;n.doughnut={animation:{animateRotate:!0,animateScale:!1},aspectRatio:1,hover:{mode:"single"},legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');var n=e.data,i=n.datasets,r=n.labels;if(i.length)for(var a=0;a<i[0].data.length;++a)t.push('<li><span style="background-color:'+i[0].backgroundColor[a]+'"></span>'),r[a]&&t.push(r[a]),t.push("</li>");return t.push("</ul>"),t.join("")},legend:{labels:{generateLabels:function(e){var n=e.data;return n.labels.length&&n.datasets.length?n.labels.map(function(i,r){var a=e.getDatasetMeta(0),o=n.datasets[0],s=a.data[r],l=s.custom||{},u=t.getValueAtIndexOrDefault,d=e.options.elements.arc,c=l.backgroundColor?l.backgroundColor:u(o.backgroundColor,r,d.backgroundColor),h=l.borderColor?l.borderColor:u(o.borderColor,r,d.borderColor),f=l.borderWidth?l.borderWidth:u(o.borderWidth,r,d.borderWidth);return{text:i,fillStyle:c,strokeStyle:h,lineWidth:f,hidden:isNaN(o.data[r])||a.data[r].hidden,index:r}}):[]}},onClick:function(e,t){var n,i,r,a=t.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++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(e,t){return t.labels[e.index]+": "+t.datasets[e.datasetIndex].data[e.index]}}}},n.pie=t.clone(n.doughnut),t.extend(n.pie,{cutoutPercentage:0}),e.controllers.doughnut=e.controllers.pie=e.DatasetController.extend({dataElementType:e.elements.Arc,linkScales:t.noop,getRingIndex:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(e){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,u=Math.min(s,l),d={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=p<=0&&0<=m||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))},L={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))},x={width:.5*(L.x-k.x),height:.5*(L.y-k.y)};u=Math.min(s/x.width,l/x.height),d={x:(L.x+k.x)*-.5,y:(L.y+k.y)*-.5}}i.outerRadius=Math.max(u/2,0),i.innerRadius=Math.max(h?i.outerRadius/100*h:1,0),i.radiusLength=(i.outerRadius-i.innerRadius)/i.getVisibleDatasetCount(),i.offsetX=d.x*i.outerRadius,i.offsetY=d.y*i.outerRadius,c.total=n.calculateTotal(),n.outerRadius=i.outerRadius-i.radiusLength*n.getRingIndex(n.index),n.innerRadius=n.outerRadius-i.radiusLength,t.each(c.data,function(t,i){n.updateElement(t,i,e)})},updateElement:function(e,n,i){var r=this,a=r.chart,o=a.chartArea,s=a.options,l=s.animation,u=(s.elements.arc,(o.left+o.right)/2),d=(o.top+o.bottom)/2,c=s.rotation,h=s.rotation,f=r.getDataset(),p=i&&l.animateRotate?0:e.hidden?0:r.calculateCircumference(f.data[n])*(s.circumference/(2*Math.PI)),m=i&&l.animateScale?0:r.innerRadius,_=i&&l.animateScale?0:r.outerRadius,g=(e.custom||{},t.getValueAtIndexOrDefault);t.extend(e,{_datasetIndex:r.index,_index:n,_model:{x:u+a.offsetX,y:d+a.offsetY,startAngle:c,endAngle:h,circumference:p,outerRadius:_,innerRadius:m,label:g(f.label,n,a.data.labels[n])}});var y=e._model;this.removeHoverStyle(e),i&&l.animateRotate||(0===n?y.startAngle=s.rotation:y.startAngle=r.getMeta().data[n-1]._model.endAngle,y.endAngle=y.startAngle+y.circumference),e.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},calculateTotal:function(){var e,n=this.getDataset(),i=this.getMeta(),r=0;return t.each(i.data,function(t,i){e=n.data[i],isNaN(e)||t.hidden||(r+=Math.abs(e))}),r},
|
||
calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?2*Math.PI*(e/t):0}})}},{}],18:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){return n.getValueOrDefault(e.showLine,t.showLines)}var n=e.helpers;e.defaults.line={showLines:!0,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}},e.controllers.line=e.DatasetController.extend({datasetElementType:e.elements.Line,dataElementType:e.elements.Point,addElementAndReset:function(n){var i=this,r=i.chart.options,a=i.getMeta();e.DatasetController.prototype.addElementAndReset.call(i,n),t(i.getDataset(),r)&&0!==a.dataset._model.tension&&i.updateBezierControlPoints()},update:function(e){var i,r,a,o=this,s=o.getMeta(),l=s.dataset,u=s.data||[],d=o.chart.options,c=d.elements.line,h=o.getScaleForId(s.yAxisID),f=o.getDataset(),p=t(f,d);for(p&&(a=l.custom||{},void 0!==f.tension&&void 0===f.lineTension&&(f.lineTension=f.tension),l._scale=h,l._datasetIndex=o.index,l._children=u,l._model={spanGaps:!!f.spanGaps&&f.spanGaps,tension:a.tension?a.tension:n.getValueOrDefault(f.lineTension,c.tension),backgroundColor:a.backgroundColor?a.backgroundColor:f.backgroundColor||c.backgroundColor,borderWidth:a.borderWidth?a.borderWidth:f.borderWidth||c.borderWidth,borderColor:a.borderColor?a.borderColor:f.borderColor||c.borderColor,borderCapStyle:a.borderCapStyle?a.borderCapStyle:f.borderCapStyle||c.borderCapStyle,borderDash:a.borderDash?a.borderDash:f.borderDash||c.borderDash,borderDashOffset:a.borderDashOffset?a.borderDashOffset:f.borderDashOffset||c.borderDashOffset,borderJoinStyle:a.borderJoinStyle?a.borderJoinStyle:f.borderJoinStyle||c.borderJoinStyle,fill:a.fill?a.fill:void 0!==f.fill?f.fill:c.fill,scaleTop:h.top,scaleBottom:h.bottom,scaleZero:h.getBasePixel()},l.pivot()),i=0,r=u.length;i<r;++i)o.updateElement(u[i],i,e);for(p&&0!==l._model.tension&&o.updateBezierControlPoints(),i=0,r=u.length;i<r;++i)u[i].pivot()},getPointBackgroundColor:function(e,t){var i=this.chart.options.elements.point.backgroundColor,r=this.getDataset(),a=e.custom||{};return a.backgroundColor?i=a.backgroundColor:r.pointBackgroundColor?i=n.getValueAtIndexOrDefault(r.pointBackgroundColor,t,i):r.backgroundColor&&(i=r.backgroundColor),i},getPointBorderColor:function(e,t){var i=this.chart.options.elements.point.borderColor,r=this.getDataset(),a=e.custom||{};return a.borderColor?i=a.borderColor:r.pointBorderColor?i=n.getValueAtIndexOrDefault(r.pointBorderColor,t,i):r.borderColor&&(i=r.borderColor),i},getPointBorderWidth:function(e,t){var i=this.chart.options.elements.point.borderWidth,r=this.getDataset(),a=e.custom||{};return a.borderWidth?i=a.borderWidth:r.pointBorderWidth?i=n.getValueAtIndexOrDefault(r.pointBorderWidth,t,i):r.borderWidth&&(i=r.borderWidth),i},updateElement:function(e,t,i){var r,a,o=this,s=o.getMeta(),l=e.custom||{},u=o.getDataset(),d=o.index,c=u.data[t],h=o.getScaleForId(s.yAxisID),f=o.getScaleForId(s.xAxisID),p=o.chart.options.elements.point;void 0!==u.radius&&void 0===u.pointRadius&&(u.pointRadius=u.radius),void 0!==u.hitRadius&&void 0===u.pointHitRadius&&(u.pointHitRadius=u.hitRadius),r=f.getPixelForValue(c,t,d,o.chart.isCombo),a=i?h.getBasePixel():o.calculatePointY(c,t,d,o.chart.isCombo),e._xScale=f,e._yScale=h,e._datasetIndex=d,e._index=t,e._model={x:r,y:a,skip:l.skip||isNaN(r)||isNaN(a),radius:l.radius||n.getValueAtIndexOrDefault(u.pointRadius,t,p.radius),pointStyle:l.pointStyle||n.getValueAtIndexOrDefault(u.pointStyle,t,p.pointStyle),backgroundColor:o.getPointBackgroundColor(e,t),borderColor:o.getPointBorderColor(e,t),borderWidth:o.getPointBorderWidth(e,t),tension:s.dataset._model?s.dataset._model.tension:0,hitRadius:l.hitRadius||n.getValueAtIndexOrDefault(u.pointHitRadius,t,p.hitRadius)}},calculatePointY:function(e,t,n,i){var r,a,o,s=this,l=s.chart,u=s.getMeta(),d=s.getScaleForId(u.yAxisID),c=0,h=0;if(d.options.stacked){for(r=0;r<n;r++)a=l.data.datasets[r],o=l.getDatasetMeta(r),"line"===o.type&&l.isDatasetVisible(r)&&(a.data[t]<0?h+=a.data[t]||0:c+=a.data[t]||0);return e<0?d.getPixelForValue(h+e):d.getPixelForValue(c+e)}return d.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,i,r,a,o=this.getMeta(),s=(this.chart.chartArea,o.data||[]);for(e=0,t=s.length;e<t;++e)i=s[e],r=i._model,a=n.splineCurve(n.previousItem(s,e)._model,r,n.nextItem(s,e)._model,o.dataset._model.tension),r.controlPointPreviousX=a.previous.x,r.controlPointPreviousY=a.previous.y,r.controlPointNextX=a.next.x,r.controlPointNextY=a.next.y},draw:function(e){var n,i,r=this,a=r.getMeta(),o=a.data||[],s=e||1;for(n=0,i=o.length;n<i;++n)o[n].transition(s);for(t(r.getDataset(),r.chart.options)&&a.dataset.transition(s).draw(),n=0,i=o.length;n<i;++n)o[n].draw()},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],i=e._index,r=e.custom||{},a=e._model;a.radius=r.hoverRadius||n.getValueAtIndexOrDefault(t.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),a.backgroundColor=r.hoverBackgroundColor||n.getValueAtIndexOrDefault(t.pointHoverBackgroundColor,i,n.getHoverColor(a.backgroundColor)),a.borderColor=r.hoverBorderColor||n.getValueAtIndexOrDefault(t.pointHoverBorderColor,i,n.getHoverColor(a.borderColor)),a.borderWidth=r.hoverBorderWidth||n.getValueAtIndexOrDefault(t.pointHoverBorderWidth,i,a.borderWidth)},removeHoverStyle:function(e){var t=this,i=t.chart.data.datasets[e._datasetIndex],r=e._index,a=e.custom||{},o=e._model;void 0!==i.radius&&void 0===i.pointRadius&&(i.pointRadius=i.radius),o.radius=a.radius||n.getValueAtIndexOrDefault(i.pointRadius,r,t.chart.options.elements.point.radius),o.backgroundColor=t.getPointBackgroundColor(e,r),o.borderColor=t.getPointBorderColor(e,r),o.borderWidth=t.getPointBorderWidth(e,r)}})}},{}],19:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.polarArea={scale:{type:"radialLinear",lineArc:!0},animation:{animateRotate:!0,animateScale:!0},aspectRatio:1,legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');var n=e.data,i=n.datasets,r=n.labels;if(i.length)for(var a=0;a<i[0].data.length;++a)t.push('<li><span style="background-color:'+i[0].backgroundColor[a]+'">'),r[a]&&t.push(r[a]),t.push("</span></li>");return t.push("</ul>"),t.join("")},legend:{labels:{generateLabels:function(e){var n=e.data;return n.labels.length&&n.datasets.length?n.labels.map(function(i,r){var a=e.getDatasetMeta(0),o=n.datasets[0],s=a.data[r],l=s.custom||{},u=t.getValueAtIndexOrDefault,d=e.options.elements.arc,c=l.backgroundColor?l.backgroundColor:u(o.backgroundColor,r,d.backgroundColor),h=l.borderColor?l.borderColor:u(o.borderColor,r,d.borderColor),f=l.borderWidth?l.borderWidth:u(o.borderWidth,r,d.borderWidth);return{text:i,fillStyle:c,strokeStyle:h,lineWidth:f,hidden:isNaN(o.data[r])||a.data[r].hidden,index:r}}):[]}},onClick:function(e,t){var n,i,r,a=t.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)r=o.getDatasetMeta(n),r.data[a].hidden=!r.data[a].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}},e.controllers.polarArea=e.DatasetController.extend({dataElementType:e.elements.Arc,linkScales:t.noop,update:function(e){var n=this,i=n.chart,r=i.chartArea,a=n.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(),t.each(a.data,function(t,i){n.updateElement(t,i,e)})},updateElement:function(e,n,i){for(var r=this,a=r.chart,o=a.chartArea,s=r.getDataset(),l=a.options,u=l.animation,d=(l.elements.arc,e.custom||{},a.scale),c=t.getValueAtIndexOrDefault,h=a.data.labels,f=r.calculateCircumference(s.data[n]),p=(o.left+o.right)/2,m=(o.top+o.bottom)/2,_=0,g=r.getMeta(),y=0;y<n;++y)isNaN(s.data[y])||g.data[y].hidden||++_;var v=-.5*Math.PI,b=e.hidden?0:d.getDistanceFromCenterForValue(s.data[n]),M=v+f*_,w=M+(e.hidden?0:f),k=u.animateScale?0:d.getDistanceFromCenterForValue(s.data[n]);t.extend(e,{_datasetIndex:r.index,_index:n,_scale:d,_model:{x:p,y:m,innerRadius:0,outerRadius:i?k:b,startAngle:i&&u.animateRotate?v:M,endAngle:i&&u.animateRotate?v:w,label:c(h,n,h[n])}}),r.removeHoverStyle(e),e.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},countVisibleElements:function(){var e=this.getDataset(),n=this.getMeta(),i=0;return t.each(n.data,function(t,n){isNaN(e.data[n])||t.hidden||i++}),i},calculateCircumference:function(e){var t=this.getMeta().count;return t>0&&!isNaN(e)?2*Math.PI/t:0}})}},{}],20:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.radar={scale:{type:"radialLinear"},elements:{line:{tension:0}}},e.controllers.radar=e.DatasetController.extend({datasetElementType:e.elements.Line,dataElementType:e.elements.Point,linkScales:t.noop,addElementAndReset:function(t){e.DatasetController.prototype.addElementAndReset.call(this,t),this.updateBezierControlPoints()},update:function(e){var n=this,i=n.getMeta(),r=i.dataset,a=i.data,o=r.custom||{},s=n.getDataset(),l=n.chart.options.elements.line,u=n.chart.scale;void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),t.extend(i.dataset,{_datasetIndex:n.index,_children:a,_loop:!0,_model:{tension:o.tension?o.tension:t.getValueOrDefault(s.lineTension,l.tension),backgroundColor:o.backgroundColor?o.backgroundColor:s.backgroundColor||l.backgroundColor,borderWidth:o.borderWidth?o.borderWidth:s.borderWidth||l.borderWidth,borderColor:o.borderColor?o.borderColor:s.borderColor||l.borderColor,fill:o.fill?o.fill:void 0!==s.fill?s.fill:l.fill,borderCapStyle:o.borderCapStyle?o.borderCapStyle:s.borderCapStyle||l.borderCapStyle,borderDash:o.borderDash?o.borderDash:s.borderDash||l.borderDash,borderDashOffset:o.borderDashOffset?o.borderDashOffset:s.borderDashOffset||l.borderDashOffset,borderJoinStyle:o.borderJoinStyle?o.borderJoinStyle:s.borderJoinStyle||l.borderJoinStyle,scaleTop:u.top,scaleBottom:u.bottom,scaleZero:u.getBasePosition()}}),i.dataset.pivot(),t.each(a,function(t,i){n.updateElement(t,i,e)},n),n.updateBezierControlPoints()},updateElement:function(e,n,i){var r=this,a=e.custom||{},o=r.getDataset(),s=r.chart.scale,l=r.chart.options.elements.point,u=s.getPointPositionForValue(n,o.data[n]);t.extend(e,{_datasetIndex:r.index,_index:n,_scale:s,_model:{x:i?s.xCenter:u.x,y:i?s.yCenter:u.y,tension:a.tension?a.tension:t.getValueOrDefault(o.tension,r.chart.options.elements.line.tension),radius:a.radius?a.radius:t.getValueAtIndexOrDefault(o.pointRadius,n,l.radius),backgroundColor:a.backgroundColor?a.backgroundColor:t.getValueAtIndexOrDefault(o.pointBackgroundColor,n,l.backgroundColor),borderColor:a.borderColor?a.borderColor:t.getValueAtIndexOrDefault(o.pointBorderColor,n,l.borderColor),borderWidth:a.borderWidth?a.borderWidth:t.getValueAtIndexOrDefault(o.pointBorderWidth,n,l.borderWidth),pointStyle:a.pointStyle?a.pointStyle:t.getValueAtIndexOrDefault(o.pointStyle,n,l.pointStyle),hitRadius:a.hitRadius?a.hitRadius:t.getValueAtIndexOrDefault(o.hitRadius,n,l.hitRadius)}}),e._model.skip=a.skip?a.skip:isNaN(e._model.x)||isNaN(e._model.y)},updateBezierControlPoints:function(){var e=this.chart.chartArea,n=this.getMeta();t.each(n.data,function(i,r){var a=i._model,o=t.splineCurve(t.previousItem(n.data,r,!0)._model,a,t.nextItem(n.data,r,!0)._model,a.tension);a.controlPointPreviousX=Math.max(Math.min(o.previous.x,e.right),e.left),a.controlPointPreviousY=Math.max(Math.min(o.previous.y,e.bottom),e.top),a.controlPointNextX=Math.max(Math.min(o.next.x,e.right),e.left),a.controlPointNextY=Math.max(Math.min(o.next.y,e.bottom),e.top),i.pivot()})},draw:function(e){var n=this.getMeta(),i=e||1;t.each(n.data,function(e,t){e.transition(i)}),n.dataset.transition(i).draw(),t.each(n.data,function(e){e.draw()})},setHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],i=e.custom||{},r=e._index,a=e._model;a.radius=i.hoverRadius?i.hoverRadius:t.getValueAtIndexOrDefault(n.pointHoverRadius,r,this.chart.options.elements.point.hoverRadius),a.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:t.getValueAtIndexOrDefault(n.pointHoverBackgroundColor,r,t.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor?i.hoverBorderColor:t.getValueAtIndexOrDefault(n.pointHoverBorderColor,r,t.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:t.getValueAtIndexOrDefault(n.pointHoverBorderWidth,r,a.borderWidth)},removeHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],i=e.custom||{},r=e._index,a=e._model,o=this.chart.options.elements.point;a.radius=i.radius?i.radius:t.getValueAtIndexOrDefault(n.radius,r,o.radius),a.backgroundColor=i.backgroundColor?i.backgroundColor:t.getValueAtIndexOrDefault(n.pointBackgroundColor,r,o.backgroundColor),a.borderColor=i.borderColor?i.borderColor:t.getValueAtIndexOrDefault(n.pointBorderColor,r,o.borderColor),a.borderWidth=i.borderWidth?i.borderWidth:t.getValueAtIndexOrDefault(n.pointBorderWidth,r,o.borderWidth)}})}},{}],21:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.global.animation={duration:1e3,easing:"easeOutQuart",onProgress:t.noop,onComplete:t.noop},e.Animation=e.Element.extend({currentStep:null,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),e.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(e,t,n,i){var r=this;i||(e.animating=!0);for(var a=0;a<r.animations.length;++a)if(r.animations[a].chartInstance===e)return void(r.animations[a].animationObject=t);r.animations.push({chartInstance:e,animationObject:t}),1===r.animations.length&&r.requestAnimationFrame()},cancelAnimation:function(e){var n=t.findIndex(this.animations,function(t){return t.chartInstance===e});n!==-1&&(this.animations.splice(n,1),e.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=t.requestAnimFrame.call(window,function(){e.request=null,e.startDigest()}))},startDigest:function(){var e=this,t=Date.now(),n=0;e.dropFrames>1&&(n=Math.floor(e.dropFrames),e.dropFrames=e.dropFrames%1);for(var i=0;i<e.animations.length;)null===e.animations[i].animationObject.currentStep&&(e.animations[i].animationObject.currentStep=0),e.animations[i].animationObject.currentStep+=1+n,e.animations[i].animationObject.currentStep>e.animations[i].animationObject.numSteps&&(e.animations[i].animationObject.currentStep=e.animations[i].animationObject.numSteps),e.animations[i].animationObject.render(e.animations[i].chartInstance,e.animations[i].animationObject),e.animations[i].animationObject.onAnimationProgress&&e.animations[i].animationObject.onAnimationProgress.call&&e.animations[i].animationObject.onAnimationProgress.call(e.animations[i].chartInstance,e.animations[i]),e.animations[i].animationObject.currentStep===e.animations[i].animationObject.numSteps?(e.animations[i].animationObject.onAnimationComplete&&e.animations[i].animationObject.onAnimationComplete.call&&e.animations[i].animationObject.onAnimationComplete.call(e.animations[i].chartInstance,e.animations[i]),e.animations[i].chartInstance.animating=!1,e.animations.splice(i,1)):++i;var r=Date.now(),a=(r-t)/e.frameDuration;e.dropFrames+=a,e.animations.length>0&&e.requestAnimationFrame()}}}},{}],22:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.types={},e.instances={},e.controllers={},e.Controller=function(n){return this.chart=n,this.config=n.config,this.options=this.config.options=t.configMerge(e.defaults.global,e.defaults[this.config.type],this.config.options||{}),this.id=t.uid(),Object.defineProperty(this,"data",{get:function(){return this.config.data}}),e.instances[this.id]=this,this.options.responsive&&this.resize(!0),this.initialize(),this},t.extend(e.Controller.prototype,{initialize:function(){var t=this;return e.plugins.notify("beforeInit",[t]),t.bindEvents(),t.ensureScalesHaveIDs(),t.buildOrUpdateControllers(),t.buildScales(),t.updateLayout(),t.resetElements(),t.initToolTip(),t.update(),e.plugins.notify("afterInit",[t]),t},clear:function(){return t.clear(this.chart),this},stop:function(){return e.animationService.cancelAnimation(this),this},resize:function(n){var i=this,r=i.chart,a=r.canvas,o=t.getMaximumWidth(a),s=r.aspectRatio,l=i.options.maintainAspectRatio&&isNaN(s)===!1&&isFinite(s)&&0!==s?o/s:t.getMaximumHeight(a),u=r.width!==o||r.height!==l;if(!u)return i;a.width=r.width=o,a.height=r.height=l,t.retinaScale(r);var d={width:o,height:l};return e.plugins.notify("resize",[i,d]),i.options.onResize&&i.options.onResize(i,d),n||(i.stop(),i.update(i.options.responsiveAnimationDuration)),i},ensureScalesHaveIDs:function(){var e=this.options,n=e.scales||{},i=e.scale;t.each(n.xAxes,function(e,t){e.id=e.id||"x-axis-"+t}),t.each(n.yAxes,function(e,t){e.id=e.id||"y-axis-"+t}),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(e){return{options:e,dtype:"category"}}),(i.scales.yAxes||[]).map(function(e){return{options:e,dtype:"linear"}}))),i.scale&&a.push({options:i.scale,dtype:"radialLinear",isDefault:!0}),t.each(a,function(i,a){var o=i.options,s=t.getValueOrDefault(o.type,i.dtype),l=e.scaleService.getScaleConstructor(s);if(l){var u=new l({id:o.id,options:o,ctx:n.chart.ctx,chart:n});r[u.id]=u,i.isDefault&&(n.scale=u)}}),e.scaleService.addScalesToLayout(this)},updateLayout:function(){e.layoutService.update(this,this.chart.width,this.chart.height)},buildOrUpdateControllers:function(){var n=this,i=[],r=[];if(t.each(n.data.datasets,function(t,a){var o=n.getDatasetMeta(a);o.type||(o.type=t.type||n.config.type),i.push(o.type),o.controller?o.controller.updateIndex(a):(o.controller=new e.controllers[o.type](n,a),r.push(o.controller))},n),i.length>1)for(var a=1;a<i.length;a++)if(i[a]!==i[a-1]){n.isCombo=!0;break}return r},resetElements:function(){var e=this;t.each(e.data.datasets,function(t,n){e.getDatasetMeta(n).controller.reset()},e)},update:function(n,i){var r=this;e.plugins.notify("beforeUpdate",[r]),r.tooltip._data=r.data;var a=r.buildOrUpdateControllers();t.each(r.data.datasets,function(e,t){r.getDatasetMeta(t).controller.buildOrUpdateElements()},r),e.layoutService.update(r,r.chart.width,r.chart.height),e.plugins.notify("afterScaleUpdate",[r]),t.each(a,function(e){e.reset()}),r.updateDatasets(),e.plugins.notify("afterUpdate",[r]),r.render(n,i)},updateDatasets:function(){var t,n,i=this;if(e.plugins.notify("beforeDatasetsUpdate",[i])){for(t=0,n=i.data.datasets.length;t<n;++t)i.getDatasetMeta(t).controller.update();e.plugins.notify("afterDatasetsUpdate",[i])}},render:function(n,i){var r=this;e.plugins.notify("beforeRender",[r]);var a=r.options.animation;if(a&&("undefined"!=typeof n&&0!==n||"undefined"==typeof n&&0!==a.duration)){var o=new e.Animation;o.numSteps=(n||a.duration)/16.66,o.easing=a.easing,o.render=function(e,n){var i=t.easingEffects[n.easing],r=n.currentStep/n.numSteps,a=i(r);e.draw(a,r,n.currentStep)},o.onAnimationProgress=a.onProgress,o.onAnimationComplete=a.onComplete,e.animationService.addAnimation(r,o,n,i)}else r.draw(),a&&a.onComplete&&a.onComplete.call&&a.onComplete.call(r);return r},draw:function(n){var i=this,r=n||1;i.clear(),e.plugins.notify("beforeDraw",[i,r]),t.each(i.boxes,function(e){e.draw(i.chartArea)},i),i.scale&&i.scale.draw(),e.plugins.notify("beforeDatasetsDraw",[i,r]),t.each(i.data.datasets,function(e,t){i.isDatasetVisible(t)&&i.getDatasetMeta(t).controller.draw(n)},i,!0),e.plugins.notify("afterDatasetsDraw",[i,r]),i.tooltip.transition(r).draw(),e.plugins.notify("afterDraw",[i,r])},getElementAtEvent:function(e){var n=this,i=t.getRelativePosition(e,n.chart),r=[];return t.each(n.data.datasets,function(e,a){if(n.isDatasetVisible(a)){var o=n.getDatasetMeta(a);t.each(o.data,function(e,t){if(e.inRange(i.x,i.y))return r.push(e),r})}}),r},getElementsAtEvent:function(e){var n=this,i=t.getRelativePosition(e,n.chart),r=[],a=function(){if(n.data.datasets)for(var e=0;e<n.data.datasets.length;e++){var t=n.getDatasetMeta(e);if(n.isDatasetVisible(e))for(var r=0;r<t.data.length;r++)if(t.data[r].inRange(i.x,i.y))return t.data[r]}}.call(n);return a?(t.each(n.data.datasets,function(e,t){if(n.isDatasetVisible(t)){var i=n.getDatasetMeta(t);r.push(i.data[a._index])}},n),r):r},getElementsAtEventForMode:function(e,t){var n=this;switch(t){case"single":return n.getElementAtEvent(e);case"label":return n.getElementsAtEvent(e);case"dataset":return n.getDatasetAtEvent(e);default:return e}},getDatasetAtEvent:function(e){var t=this.getElementAtEvent(e);return t.length>0&&(t=this.getDatasetMeta(t[0]._datasetIndex).data),t},getDatasetMeta:function(e){var t=this,n=t.data.datasets[e];n._meta||(n._meta={});var i=n._meta[t.id];return i||(i=n._meta[t.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),i},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroy:function(){var n=this;n.stop(),n.clear(),t.unbindEvents(n,n.events),t.removeResizeListener(n.chart.canvas.parentNode);var i=n.chart.canvas;i.width=n.chart.width,i.height=n.chart.height,void 0!==n.chart.originalDevicePixelRatio&&n.chart.ctx.scale(1/n.chart.originalDevicePixelRatio,1/n.chart.originalDevicePixelRatio),i.style.width=n.chart.originalCanvasStyleWidth,i.style.height=n.chart.originalCanvasStyleHeight,e.plugins.notify("destroy",[n]),delete e.instances[n.id]},toBase64Image:function(){return this.chart.canvas.toDataURL.apply(this.chart.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new e.Tooltip({_chart:t.chart,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var e=this;t.bindEvents(e,e.options.events,function(t){e.eventHandler(t)})},updateHoverStyle:function(e,t,n){var i,r,a,o=n?"setHoverStyle":"removeHoverStyle";switch(t){case"single":e=[e[0]];break;case"label":case"dataset":break;default:return}for(r=0,a=e.length;r<a;++r)i=e[r],i&&this.getDatasetMeta(i._datasetIndex).controller[o](i)},eventHandler:function(e){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"===e.type?(n.active=[],n.tooltipActive=[]):(n.active=n.getElementsAtEventForMode(e,a.mode),n.tooltipActive=n.getElementsAtEventForMode(e,o.mode)),a.onHover&&a.onHover.call(n,n.active),"mouseup"!==e.type&&"click"!==e.type||(r.onClick&&r.onClick.call(n,e,n.active),n.legend&&n.legend.handleEvent&&n.legend.handleEvent(e)),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||t.arrayEquals(n.active,n.lastActive)&&t.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(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=t.noop;e.DatasetController=function(e,t){this.initialize.call(this,e,t)},t.extend(e.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements()},updateIndex:function(e){this.index=e},linkScales:function(){var e=this,t=e.getMeta(),n=e.getDataset();null===t.xAxisID&&(t.xAxisID=n.xAxisID||e.chart.options.scales.xAxes[0].id),null===t.yAxisID&&(t.yAxisID=n.yAxisID||e.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(e){return this.chart.scales[e]},reset:function(){this.update(!0)},createMetaDataset:function(){var e=this,t=e.datasetElementType;return t&&new t({_chart:e.chart.chart,_datasetIndex:e.index})},createMetaData:function(e){var t=this,n=t.dataElementType;return n&&new n({_chart:t.chart.chart,_datasetIndex:t.index,_index:e})},addElements:function(){var e,t,n=this,i=n.getMeta(),r=n.getDataset().data||[],a=i.data;for(e=0,t=r.length;e<t;++e)a[e]=a[e]||n.createMetaData(i,e);i.dataset=i.dataset||n.createMetaDataset()},addElementAndReset:function(e){var t=this,n=t.createMetaData(e);t.getMeta().data.splice(e,0,n),t.updateElement(n,e,!0)},buildOrUpdateElements:function(){var e=this.getMeta(),t=e.data,n=this.getDataset().data.length,i=t.length;if(n<i)t.splice(n,i-n);else if(n>i)for(var r=i;r<n;++r)this.addElementAndReset(r)},update:n,draw:function(e){var n=e||1;t.each(this.getMeta().data,function(e,t){e.transition(n).draw()})},removeHoverStyle:function(e,n){var i=this.chart.data.datasets[e._datasetIndex],r=e._index,a=e.custom||{},o=t.getValueAtIndexOrDefault,s=(t.color,e._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(e){var n=this.chart.data.datasets[e._datasetIndex],i=e._index,r=e.custom||{},a=t.getValueAtIndexOrDefault,o=(t.color,t.getHoverColor),s=e._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)}}),e.DatasetController.extend=t.inherits}},{}],24:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.elements={},e.Element=function(e){t.extend(this,e),this.initialize.apply(this,arguments)},t.extend(e.Element.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=t.clone(e._model)),e._start=t.clone(e._view),e},transition:function(e){var n=this;return n._view||(n._view=t.clone(n._model)),1===e?(n._view=n._model,n._start=null,n):(n._start||n.pivot(),t.each(n._model,function(i,r){if("_"===r[0]);else if(n._view.hasOwnProperty(r))if(i===n._view[r]);else if("string"==typeof i)try{var a=t.color(n._model[r]).mix(t.color(n._start[r]),e);n._view[r]=a.rgbString()}catch(o){n._view[r]=i}else if("number"==typeof i){var s=void 0!==n._start[r]&&isNaN(n._start[r])===!1?n._start[r]:0;n._view[r]=(n._model[r]-s)*e+s}else n._view[r]=i;else"number"!=typeof i||isNaN(n._view[r])?n._view[r]=i:n._view[r]=i*e},n),n)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return t.isNumber(this._model.x)&&t.isNumber(this._model.y)}}),e.Element.extend=t.inherits}},{}],25:[function(e,t,n){"use strict";var i=e(3);t.exports=function(e){function t(e,t,n){var i;return"string"==typeof e?(i=parseInt(e,10),e.indexOf("%")!=-1&&(i=i/100*t.parentNode[n])):i=e,i}function n(e){return void 0!==e&&null!==e&&"none"!==e}function r(e,i,r){var a=document.defaultView,o=e.parentNode,s=a.getComputedStyle(e)[i],l=a.getComputedStyle(o)[i],u=n(s),d=n(l),c=Number.POSITIVE_INFINITY;return u||d?Math.min(u?t(s,e,r):c,d?t(l,o,r):c):"none"}var a=e.helpers={};a.each=function(e,t,n,i){var r,o;if(a.isArray(e))if(o=e.length,i)for(r=o-1;r>=0;r--)t.call(n,e[r],r);else for(r=0;r<o;r++)t.call(n,e[r],r);else if("object"==typeof e){var s=Object.keys(e);for(o=s.length,r=0;r<o;r++)t.call(n,e[s[r]],s[r])}},a.clone=function(e){var t={};return a.each(e,function(e,n){a.isArray(e)?t[n]=e.slice(0):"object"==typeof e&&null!==e?t[n]=a.clone(e):t[n]=e}),t},a.extend=function(e){for(var t=function(t,n){e[n]=t},n=1,i=arguments.length;n<i;n++)a.each(arguments[n],t);return e},a.configMerge=function(t){var n=a.clone(t);return a.each(Array.prototype.slice.call(arguments,1),function(t){a.each(t,function(t,i){if("scales"===i)n[i]=a.scaleMerge(n.hasOwnProperty(i)?n[i]:{},t);else if("scale"===i)n[i]=a.configMerge(n.hasOwnProperty(i)?n[i]:{},e.scaleService.getScaleDefaults(t.type),t);else if(n.hasOwnProperty(i)&&a.isArray(n[i])&&a.isArray(t)){var r=n[i];a.each(t,function(e,t){t<r.length?"object"==typeof r[t]&&null!==r[t]&&"object"==typeof e&&null!==e?r[t]=a.configMerge(r[t],e):r[t]=e:r.push(e)})}else n.hasOwnProperty(i)&&"object"==typeof n[i]&&null!==n[i]&&"object"==typeof t?n[i]=a.configMerge(n[i],t):n[i]=t})}),n},a.scaleMerge=function(t,n){var i=a.clone(t);return a.each(n,function(t,n){"xAxes"===n||"yAxes"===n?i.hasOwnProperty(n)?a.each(t,function(t,r){var o=a.getValueOrDefault(t.type,"xAxes"===n?"category":"linear"),s=e.scaleService.getScaleDefaults(o);r>=i[n].length||!i[n][r].type?i[n].push(a.configMerge(s,t)):t.type&&t.type!==i[n][r].type?i[n][r]=a.configMerge(i[n][r],s,t):i[n][r]=a.configMerge(i[n][r],t)}):(i[n]=[],a.each(t,function(t){var r=a.getValueOrDefault(t.type,"xAxes"===n?"category":"linear");i[n].push(a.configMerge(e.scaleService.getScaleDefaults(r),t))})):i.hasOwnProperty(n)&&"object"==typeof i[n]&&null!==i[n]&&"object"==typeof t?i[n]=a.configMerge(i[n],t):i[n]=t}),i},a.getValueAtIndexOrDefault=function(e,t,n){return void 0===e||null===e?n:a.isArray(e)?t<e.length?e[t]:n:e},a.getValueOrDefault=function(e,t){return void 0===e?t:e},a.indexOf=Array.prototype.indexOf?function(e,t){return e.indexOf(t)}:function(e,t){for(var n=0,i=e.length;n<i;++n)if(e[n]===t)return n;return-1},a.where=function(e,t){if(a.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return a.each(e,function(e){t(e)&&n.push(e)}),n},a.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var i=0,r=e.length;i<r;++i)if(t.call(n,e[i],i,e))return i;return-1},a.findNextWhere=function(e,t,n){void 0!==n&&null!==n||(n=-1);for(var i=n+1;i<e.length;i++){var r=e[i];if(t(r))return r}},a.findPreviousWhere=function(e,t,n){void 0!==n&&null!==n||(n=e.length);for(var i=n-1;i>=0;i--){var r=e[i];if(t(r))return r}},a.inherits=function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},i=function(){this.constructor=n};return i.prototype=t.prototype,n.prototype=new i,n.extend=a.inherits,e&&a.extend(n.prototype,e),n.__super__=t.prototype,n},a.noop=function(){},a.uid=function(){var e=0;return function(){return e++}}(),a.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},a.almostEquals=function(e,t,n){return Math.abs(e-t)<n},a.max=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.max(e,t)},Number.NEGATIVE_INFINITY)},a.min=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.min(e,t)},Number.POSITIVE_INFINITY)},a.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return e=+e,0===e||isNaN(e)?e:e>0?1:-1},a.log10=Math.log10?function(e){return Math.log10(e)}:function(e){return Math.log(e)/Math.LN10},a.toRadians=function(e){return e*(Math.PI/180)},a.toDegrees=function(e){return e*(180/Math.PI)},a.getAngleFromPoint=function(e,t){var n=t.x-e.x,i=t.y-e.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(e){return e%2===0?0:.5},a.splineCurve=function(e,t,n,i){var r=e.skip?t:e,a=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2)),l=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),u=s/(s+l),d=l/(s+l);u=isNaN(u)?0:u,d=isNaN(d)?0:d;var c=i*u,h=i*d;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(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},a.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1];
|
||
},a.niceNum=function(e,t){var n,i=Math.floor(a.log10(e)),r=e/Math.pow(10,i);return n=t?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10,n*Math.pow(10,i)};var o=a.easingEffects={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-1*e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return 1*((e=e/1-1)*e*e+1)},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-1*((e=e/1-1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return 1*(e/=1)*e*e*e*e},easeOutQuint:function(e){return 1*((e=e/1-1)*e*e*e*e+1)},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return-1*Math.cos(e/1*(Math.PI/2))+1},easeOutSine:function(e){return 1*Math.sin(e/1*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e/1)-1)},easeInExpo:function(e){return 0===e?1:1*Math.pow(2,10*(e/1-1))},easeOutExpo:function(e){return 1===e?1:1*(-Math.pow(2,-10*e/1)+1)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(-Math.pow(2,-10*--e)+2)},easeInCirc:function(e){return e>=1?e:-1*(Math.sqrt(1-(e/=1)*e)-1)},easeOutCirc:function(e){return 1*Math.sqrt(1-(e=e/1-1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===(e/=1)?1:(n||(n=.3),i<Math.abs(1)?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),-(i*Math.pow(2,10*(e-=1))*Math.sin((1*e-t)*(2*Math.PI)/n)))},easeOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===(e/=1)?1:(n||(n=.3),i<Math.abs(1)?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*e)*Math.sin((1*e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:2===(e/=.5)?1:(n||(n=1*(.3*1.5)),i<Math.abs(1)?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),e<1?-.5*(i*Math.pow(2,10*(e-=1))*Math.sin((1*e-t)*(2*Math.PI)/n)):i*Math.pow(2,-10*(e-=1))*Math.sin((1*e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return 1*(e/=1)*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return 1*((e=e/1-1)*e*((t+1)*e+t)+1)},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:function(e){return 1-o.easeOutBounce(1-e)},easeOutBounce:function(e){return(e/=1)<1/2.75?1*(7.5625*e*e):e<2/2.75?1*(7.5625*(e-=1.5/2.75)*e+.75):e<2.5/2.75?1*(7.5625*(e-=2.25/2.75)*e+.9375):1*(7.5625*(e-=2.625/2.75)*e+.984375)},easeInOutBounce:function(e){return e<.5?.5*o.easeInBounce(2*e):.5*o.easeOutBounce(2*e-1)+.5}};a.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)}}(),a.cancelAnimFrame=function(){return window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(e){return window.clearTimeout(e,1e3/60)}}(),a.getRelativePosition=function(e,t){var n,i,r=e.originalEvent||e,o=e.currentTarget||e.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 u=parseFloat(a.getStyle(o,"padding-left")),d=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-u-c,p=s.bottom-s.top-d-h;return n=Math.round((n-s.left-u)/f*o.width/t.currentDevicePixelRatio),i=Math.round((i-s.top-d)/p*o.height/t.currentDevicePixelRatio),{x:n,y:i}},a.addEvent=function(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},a.removeEvent=function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=a.noop},a.bindEvents=function(e,t,n){var i=e.events=e.events||{};a.each(t,function(t){i[t]=function(){n.apply(e,arguments)},a.addEvent(e.chart.canvas,t,i[t])})},a.unbindEvents=function(e,t){var n=e.chart.canvas;a.each(t,function(e,t){a.removeEvent(n,t,e)})},a.getConstraintWidth=function(e){return r(e,"max-width","clientWidth")},a.getConstraintHeight=function(e){return r(e,"max-height","clientHeight")},a.getMaximumWidth=function(e){var t=e.parentNode,n=parseInt(a.getStyle(t,"padding-left"))+parseInt(a.getStyle(t,"padding-right")),i=t.clientWidth-n,r=a.getConstraintWidth(e);return isNaN(r)?i:Math.min(i,r)},a.getMaximumHeight=function(e){var t=e.parentNode,n=parseInt(a.getStyle(t,"padding-top"))+parseInt(a.getStyle(t,"padding-bottom")),i=t.clientHeight-n,r=a.getConstraintHeight(e);return isNaN(r)?i:Math.min(i,r)},a.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},a.retinaScale=function(e){var t=e.ctx,n=e.canvas,i=n.width,r=n.height,a=e.currentDevicePixelRatio=window.devicePixelRatio||1;1!==a&&(n.height=r*a,n.width=i*a,t.scale(a,a),e.originalDevicePixelRatio=e.originalDevicePixelRatio||a),n.style.width=i+"px",n.style.height=r+"px"},a.clear=function(e){e.ctx.clearRect(0,0,e.width,e.height)},a.fontString=function(e,t,n){return t+" "+e+"px "+n},a.longestText=function(e,t,n,i){i=i||{};var r=i.data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(r=i.data={},o=i.garbageCollect=[],i.font=t),e.font=t;var s=0;a.each(n,function(t){void 0!==t&&null!==t&&a.isArray(t)!==!0?s=a.measureText(e,r,o,s,t):a.isArray(t)&&a.each(t,function(t){void 0===t||null===t||a.isArray(t)||(s=a.measureText(e,r,o,s,t))})});var l=o.length/2;if(l>n.length){for(var u=0;u<l;u++)delete r[o[u]];o.splice(0,l)}return s},a.measureText=function(e,t,n,i,r){var a=t[r];return a||(a=t[r]=e.measureText(r).width,n.push(r)),a>i&&(i=a),i},a.numberOfLabelLines=function(e){var t=1;return a.each(e,function(e){a.isArray(e)&&e.length>t&&(t=e.length)}),t},a.drawRoundedRectangle=function(e,t,n,i,r,a){e.beginPath(),e.moveTo(t+a,n),e.lineTo(t+i-a,n),e.quadraticCurveTo(t+i,n,t+i,n+a),e.lineTo(t+i,n+r-a),e.quadraticCurveTo(t+i,n+r,t+i-a,n+r),e.lineTo(t+a,n+r),e.quadraticCurveTo(t,n+r,t,n+r-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath()},a.color=function(t){return i?i(t instanceof CanvasGradient?e.defaults.global.defaultColor:t):t},a.addResizeListener=function(e,t){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,e.insertBefore(n,e.firstChild),(n.contentWindow||n).onresize=function(){t&&t()}},a.removeResizeListener=function(e){var t=e.querySelector(".chartjs-hidden-iframe");t&&t.parentNode.removeChild(t)},a.isArray=Array.isArray?function(e){return Array.isArray(e)}:function(e){return"[object Array]"===Object.prototype.toString.call(e)},a.arrayEquals=function(e,t){var n,i,r,o;if(!e||!t||e.length!=t.length)return!1;for(n=0,i=e.length;n<i;++n)if(r=e[n],o=t[n],r instanceof Array&&o instanceof Array){if(!a.arrayEquals(r,o))return!1}else if(r!=o)return!1;return!0},a.callCallback=function(e,t,n){e&&"function"==typeof e.call&&e.apply(n,t)},a.getHoverColor=function(e){return e instanceof CanvasPattern?e:a.color(e).saturate(.5).darken(.1).rgbString()}}},{3:3}],26:[function(e,t,n){"use strict";t.exports=function(){var e=function(t,n){var i=this,r=e.helpers;return i.config=n,t.length&&t[0].getContext&&(t=t[0]),t.getContext&&(t=t.getContext("2d")),i.ctx=t,i.canvas=t.canvas,t.canvas.style.display=t.canvas.style.display||"block",i.width=t.canvas.width||parseInt(r.getStyle(t.canvas,"width"),10)||r.getMaximumWidth(t.canvas),i.height=t.canvas.height||parseInt(r.getStyle(t.canvas,"height"),10)||r.getMaximumHeight(t.canvas),i.aspectRatio=i.width/i.height,(isNaN(i.aspectRatio)||isFinite(i.aspectRatio)===!1)&&(i.aspectRatio=void 0!==n.aspectRatio?n.aspectRatio:2),i.originalCanvasStyleWidth=t.canvas.style.width,i.originalCanvasStyleHeight=t.canvas.style.height,r.retinaScale(i),n&&(i.controller=new e.Controller(i)),r.addResizeListener(t.canvas.parentNode,function(){i.controller&&i.controller.config.options.responsive&&i.controller.resize()}),i.controller?i.controller:i};return e.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(e){var t=[];t.push('<ul class="'+e.id+'-legend">');for(var n=0;n<e.data.datasets.length;n++)t.push('<li><span style="background-color:'+e.data.datasets[n].backgroundColor+'"></span>'),e.data.datasets[n].label&&t.push(e.data.datasets[n].label),t.push("</li>");return t.push("</ul>"),t.join("")}}},e.Chart=e,e}},{}],27:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.layoutService={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),e.boxes.push(t)},removeBox:function(e,t){e.boxes&&e.boxes.splice(e.boxes.indexOf(t),1)},update:function(e,n,i){function r(e){var t,n=e.isHorizontal();n?(t=e.update(e.options.fullWidth?m:M,b),w-=t.height):(t=e.update(v,y),M-=t.width),k.push({horizontal:n,minSize:t,box:e})}function a(e){var n=t.findNextWhere(k,function(t){return t.box===e});if(n)if(e.isHorizontal()){var i={left:L,right:x,top:0,bottom:0};e.update(e.options.fullWidth?m:M,_/2,i)}else e.update(n.minSize.width,w)}function o(e){var n=t.findNextWhere(k,function(t){return t.box===e}),i={left:0,right:0,top:D,bottom:T};n&&e.update(n.minSize.width,w,i)}function s(e){e.isHorizontal()?(e.left=e.options.fullWidth?l:L,e.right=e.options.fullWidth?n-l:L+M,e.top=H,e.bottom=H+e.height,H=e.bottom):(e.left=C,e.right=C+e.width,e.top=D,e.bottom=D+w,C=e.right)}if(e){var l=0,u=0,d=t.where(e.boxes,function(e){return"left"===e.options.position}),c=t.where(e.boxes,function(e){return"right"===e.options.position}),h=t.where(e.boxes,function(e){return"top"===e.options.position}),f=t.where(e.boxes,function(e){return"bottom"===e.options.position}),p=t.where(e.boxes,function(e){return"chartArea"===e.options.position});h.sort(function(e,t){return(t.options.fullWidth?1:0)-(e.options.fullWidth?1:0)}),f.sort(function(e,t){return(e.options.fullWidth?1:0)-(t.options.fullWidth?1:0)});var m=n-2*l,_=i-2*u,g=m/2,y=_/2,v=(n-g)/(d.length+c.length),b=(i-y)/(h.length+f.length),M=m,w=_,k=[];t.each(d.concat(c,h,f),r);var L=l,x=l,D=u,T=u;t.each(d.concat(c),a),t.each(d,function(e){L+=e.width}),t.each(c,function(e){x+=e.width}),t.each(h.concat(f),a),t.each(h,function(e){D+=e.height}),t.each(f,function(e){T+=e.height}),t.each(d.concat(c),o),L=l,x=l,D=u,T=u,t.each(d,function(e){L+=e.width}),t.each(c,function(e){x+=e.width}),t.each(h,function(e){D+=e.height}),t.each(f,function(e){T+=e.height});var Y=i-D-T,S=n-L-x;S===M&&Y===w||(t.each(d,function(e){e.height=Y}),t.each(c,function(e){e.height=Y}),t.each(h,function(e){e.options.fullWidth||(e.width=S)}),t.each(f,function(e){e.options.fullWidth||(e.width=S)}),w=Y,M=S);var C=l,H=u;t.each(d.concat(h),s),C+=M,H+=w,t.each(c,s),t.each(f,s),e.chartArea={left:L,top:D,right:L+M,bottom:D+w},t.each(p,function(t){t.left=e.chartArea.left,t.top=e.chartArea.top,t.right=e.chartArea.right,t.bottom=e.chartArea.bottom,t.update(M,w)})}}}}},{}],28:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=t.noop;e.defaults.global.legend={display:!0,position:"top",fullWidth:!0,reverse:!1,onClick:function(e,t){var n=t.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(e){var n=e.data;return t.isArray(n.datasets)?n.datasets.map(function(n,i){return{text:n.label,fillStyle:t.isArray(n.backgroundColor)?n.backgroundColor[0]:n.backgroundColor,hidden:!e.isDatasetVisible(i),lineCap:n.borderCapStyle,lineDash:n.borderDash,lineDashOffset:n.borderDashOffset,lineJoin:n.borderJoinStyle,lineWidth:n.borderWidth,strokeStyle:n.borderColor,datasetIndex:i}},this):[]}}},e.Legend=e.Element.extend({initialize:function(e){t.extend(this,e),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:n,update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:n,beforeSetDimensions:n,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:n,beforeBuildLabels:n,buildLabels:function(){var e=this;e.legendItems=e.options.labels.generateLabels.call(e,e.chart),e.options.reverse&&e.legendItems.reverse()},afterBuildLabels:n,beforeFit:n,fit:function(){var n=this,i=n.options,r=i.labels,a=i.display,o=n.ctx,s=e.defaults.global,l=t.getValueOrDefault,u=l(r.fontSize,s.defaultFontSize),d=l(r.fontStyle,s.defaultFontStyle),c=l(r.fontFamily,s.defaultFontFamily),h=t.fontString(u,d,c),f=n.legendHitBoxes=[],p=n.minSize,m=n.isHorizontal();if(m?(p.width=n.maxWidth,p.height=a?10:0):(p.width=a?10:0,p.height=n.maxHeight),a)if(o.font=h,m){var _=n.lineWidths=[0],g=n.legendItems.length?u+r.padding:0;o.textAlign="left",o.textBaseline="top",t.each(n.legendItems,function(e,t){var i=r.boxWidth+u/2+o.measureText(e.text).width;_[_.length-1]+i+r.padding>=n.width&&(g+=u+r.padding,_[_.length]=n.left),f[t]={left:0,top:0,width:i,height:u},_[_.length-1]+=i+r.padding}),p.height+=g}else{var y=r.padding,v=n.columnWidths=[],b=r.padding,M=0,w=0,k=u+y;t.each(n.legendItems,function(e,t){var n=r.boxWidth+u/2+o.measureText(e.text).width;w+k>p.height&&(b+=M+r.padding,v.push(M),M=0,w=0),M=Math.max(M,n),w+=k,f[t]={left:0,top:0,width:n,height:u}}),b+=M,v.push(M),p.width+=b}n.width=p.width,n.height=p.height},afterFit:n,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var n=this,i=n.options,r=i.labels,a=e.defaults.global,o=a.elements.line,s=n.width,l=(n.height,n.lineWidths);if(i.display){var u,d=n.ctx,c=t.getValueOrDefault,h=c(r.fontColor,a.defaultFontColor),f=c(r.fontSize,a.defaultFontSize),p=c(r.fontStyle,a.defaultFontStyle),m=c(r.fontFamily,a.defaultFontFamily),_=t.fontString(f,p,m);d.textAlign="left",d.textBaseline="top",d.lineWidth=.5,d.strokeStyle=h,d.fillStyle=h,d.font=_;var g=r.boxWidth,y=n.legendHitBoxes,v=function(e,t,n){d.save(),d.fillStyle=c(n.fillStyle,a.defaultColor),d.lineCap=c(n.lineCap,o.borderCapStyle),d.lineDashOffset=c(n.lineDashOffset,o.borderDashOffset),d.lineJoin=c(n.lineJoin,o.borderJoinStyle),d.lineWidth=c(n.lineWidth,o.borderWidth),d.strokeStyle=c(n.strokeStyle,a.defaultColor),d.setLineDash&&d.setLineDash(c(n.lineDash,o.borderDash)),d.strokeRect(e,t,g,f),d.fillRect(e,t,g,f),d.restore()},b=function(e,t,n,i){d.fillText(n.text,g+f/2+e,t),n.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(g+f/2+e,t+f/2),d.lineTo(g+f/2+e+i,t+f/2),d.stroke())},M=n.isHorizontal();u=M?{x:n.left+(s-l[0])/2,y:n.top+r.padding,line:0}:{x:n.left+r.padding,y:n.top,line:0};var w=f+r.padding;t.each(n.legendItems,function(e,t){var i=d.measureText(e.text).width,a=g+f/2+i,o=u.x,c=u.y;M?o+a>=s&&(c=u.y+=f+r.padding,u.line++,o=u.x=n.left+(s-l[u.line])/2):c+w>n.bottom&&(o=u.x=o+n.columnWidths[u.line]+r.padding,c=u.y=n.top,u.line++),v(o,c,e),y[t].left=o,y[t].top=c,b(o,c,e,i),M?u.x+=a+r.padding:u.y+=w})}},handleEvent:function(e){var n=this,i=t.getRelativePosition(e,n.chart.chart),r=i.x,a=i.y,o=n.options;if(r>=n.left&&r<=n.right&&a>=n.top&&a<=n.bottom)for(var s=n.legendHitBoxes,l=0;l<s.length;++l){var u=s[l];if(r>=u.left&&r<=u.left+u.width&&a>=u.top&&a<=u.top+u.height){o.onClick&&o.onClick.call(n,e,n.legendItems[l]);break}}}}),e.plugins.register({beforeInit:function(t){var n=t.options,i=n.legend;i&&(t.legend=new e.Legend({ctx:t.chart.ctx,options:i,chart:t}),e.layoutService.addBox(t,t.legend))}})}},{}],29:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers.noop;e.plugins={_plugins:[],register:function(e){var t=this._plugins;[].concat(e).forEach(function(e){t.indexOf(e)===-1&&t.push(e)})},unregister:function(e){var t=this._plugins;[].concat(e).forEach(function(e){var n=t.indexOf(e);n!==-1&&t.splice(n,1)})},clear:function(){this._plugins=[]},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t){var n,i,r=this._plugins,a=r.length;for(n=0;n<a;++n)if(i=r[n],"function"==typeof i[e]&&i[e].apply(i,t||[])===!1)return!1;return!0}},e.PluginBase=e.Element.extend({beforeInit:t,afterInit:t,beforeUpdate:t,afterUpdate:t,beforeDraw:t,afterDraw:t,destroy:t}),e.pluginService=e.plugins}},{}],30:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.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(e){return t.isArray(e)?e:""+e}}},e.Scale=e.Element.extend({beforeUpdate:function(){t.callCallback(this.options.beforeUpdate,[this])},update:function(e,n,i){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=n,r.margins=t.extend({left:0,right:0,top:0,bottom:0},i),r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeDataLimits(),r.determineDataLimits(),r.afterDataLimits(),r.beforeBuildTicks(),r.buildTicks(),r.afterBuildTicks(),r.beforeTickToLabelConversion(),r.convertTicksToLabels(),r.afterTickToLabelConversion(),r.beforeCalculateTickRotation(),r.calculateTickRotation(),r.afterCalculateTickRotation(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:function(){t.callCallback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){t.callCallback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){t.callCallback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){t.callCallback(this.options.beforeDataLimits,[this])},determineDataLimits:t.noop,afterDataLimits:function(){t.callCallback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){t.callCallback(this.options.beforeBuildTicks,[this])},buildTicks:t.noop,afterBuildTicks:function(){t.callCallback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){t.callCallback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this;e.ticks=e.ticks.map(function(t,n,i){return e.options.ticks.userCallback?e.options.ticks.userCallback(t,n,i):e.options.ticks.callback(t,n,i)},e)},afterTickToLabelConversion:function(){t.callCallback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){t.callCallback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var n=this,i=n.ctx,r=e.defaults.global,a=n.options.ticks,o=t.getValueOrDefault(a.fontSize,r.defaultFontSize),s=t.getValueOrDefault(a.fontStyle,r.defaultFontStyle),l=t.getValueOrDefault(a.fontFamily,r.defaultFontFamily),u=t.fontString(o,s,l);i.font=u;var d,c=i.measureText(n.ticks[0]).width,h=i.measureText(n.ticks[n.ticks.length-1]).width;if(n.labelRotation=a.minRotation||0,n.paddingRight=0,n.paddingLeft=0,n.options.display&&n.isHorizontal()){n.paddingRight=h/2+3,n.paddingLeft=c/2+3,n.longestTextCache||(n.longestTextCache={});for(var f,p,m=t.longestText(i,u,n.ticks,n.longestTextCache),_=m,g=n.getPixelForTick(1)-n.getPixelForTick(0)-6;_>g&&n.labelRotation<a.maxRotation;){if(f=Math.cos(t.toRadians(n.labelRotation)),p=Math.sin(t.toRadians(n.labelRotation)),d=f*c,d+o/2>n.yLabelWidth&&(n.paddingLeft=d+o/2),n.paddingRight=o/2,p*m>n.maxHeight){n.labelRotation--;break}n.labelRotation++,_=f*m}}n.margins&&(n.paddingLeft=Math.max(n.paddingLeft-n.margins.left,0),n.paddingRight=Math.max(n.paddingRight-n.margins.right,0))},afterCalculateTickRotation:function(){t.callCallback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){t.callCallback(this.options.beforeFit,[this])},fit:function(){var n=this,i=n.minSize={width:0,height:0},r=n.options,a=e.defaults.global,o=r.ticks,s=r.scaleLabel,l=r.display,u=n.isHorizontal(),d=t.getValueOrDefault(o.fontSize,a.defaultFontSize),c=t.getValueOrDefault(o.fontStyle,a.defaultFontStyle),h=t.getValueOrDefault(o.fontFamily,a.defaultFontFamily),f=t.fontString(d,c,h),p=t.getValueOrDefault(s.fontSize,a.defaultFontSize),m=t.getValueOrDefault(s.fontStyle,a.defaultFontStyle),_=t.getValueOrDefault(s.fontFamily,a.defaultFontFamily),g=(t.fontString(p,m,_),r.gridLines.tickMarkLength);if(u?i.width=n.isFullWidth()?n.maxWidth-n.margins.left-n.margins.right:n.maxWidth:i.width=l?g:0,u?i.height=l?g:0:i.height=n.maxHeight,s.display&&l&&(u?i.height+=1.5*p:i.width+=1.5*p),o.display&&l){n.longestTextCache||(n.longestTextCache={});var y=t.longestText(n.ctx,f,n.ticks,n.longestTextCache),v=t.numberOfLabelLines(n.ticks),b=.5*d;if(u){n.longestLabelWidth=y;var M=Math.sin(t.toRadians(n.labelRotation))*n.longestLabelWidth+d*v+b*v;i.height=Math.min(n.maxHeight,i.height+M),n.ctx.font=f;var w=n.ctx.measureText(n.ticks[0]).width,k=n.ctx.measureText(n.ticks[n.ticks.length-1]).width,L=Math.cos(t.toRadians(n.labelRotation)),x=Math.sin(t.toRadians(n.labelRotation));n.paddingLeft=0!==n.labelRotation?L*w+3:w/2+3,n.paddingRight=0!==n.labelRotation?x*(d/2)+3:k/2+3}else{var D=n.maxWidth-i.width,T=o.mirror;T?y=0:y+=n.options.ticks.padding,y<D?i.width+=y:i.width=n.maxWidth,n.paddingTop=d/2,n.paddingBottom=d/2}}n.margins&&(n.paddingLeft=Math.max(n.paddingLeft-n.margins.left,0),n.paddingTop=Math.max(n.paddingTop-n.margins.top,0),n.paddingRight=Math.max(n.paddingRight-n.margins.right,0),n.paddingBottom=Math.max(n.paddingBottom-n.margins.bottom,0)),n.width=i.width,n.height=i.height},afterFit:function(){t.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(e){return null===e||"undefined"==typeof e?NaN:"number"==typeof e&&isNaN(e)?NaN:"object"==typeof e?e instanceof Date||e.isValid?e:n(this.isHorizontal()?e.x:e.y):e},getLabelForIndex:t.noop,getPixelForValue:t.noop,getValueForPixel:t.noop,getPixelForTick:function(e,t){var n=this;if(n.isHorizontal()){var i=n.width-(n.paddingLeft+n.paddingRight),r=i/Math.max(n.ticks.length-(n.options.gridLines.offsetGridLines?0:1),1),a=r*e+n.paddingLeft;t&&(a+=r/2);var o=n.left+Math.round(a);return o+=n.isFullWidth()?n.margins.left:0}var s=n.height-(n.paddingTop+n.paddingBottom);return n.top+e*(s/(n.ticks.length-1))},getPixelForDecimal:function(e){var t=this;if(t.isHorizontal()){var n=t.width-(t.paddingLeft+t.paddingRight),i=n*e+t.paddingLeft,r=t.left+Math.round(i);return r+=t.isFullWidth()?t.margins.left:0}return t.top+e*t.height},getBasePixel:function(){var e=this,t=e.min,n=e.max;return e.getPixelForValue(e.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0)},draw:function(n){var i=this,r=i.options;if(r.display){var a,o,s=i.ctx,l=e.defaults.global,u=r.ticks,d=r.gridLines,c=r.scaleLabel,h=0!==i.labelRotation,f=u.autoSkip,p=i.isHorizontal();u.maxTicksLimit&&(o=u.maxTicksLimit);var m=t.getValueOrDefault(u.fontColor,l.defaultFontColor),_=t.getValueOrDefault(u.fontSize,l.defaultFontSize),g=t.getValueOrDefault(u.fontStyle,l.defaultFontStyle),y=t.getValueOrDefault(u.fontFamily,l.defaultFontFamily),v=t.fontString(_,g,y),b=d.tickMarkLength,M=t.getValueOrDefault(c.fontColor,l.defaultFontColor),w=t.getValueOrDefault(c.fontSize,l.defaultFontSize),k=t.getValueOrDefault(c.fontStyle,l.defaultFontStyle),L=t.getValueOrDefault(c.fontFamily,l.defaultFontFamily),x=t.fontString(w,k,L),D=t.toRadians(i.labelRotation),T=Math.cos(D),Y=(Math.sin(D),i.longestLabelWidth*T);s.fillStyle=m;var S=[];if(p){if(a=!1,h&&(Y/=2),(Y+u.autoSkipPadding)*i.ticks.length>i.width-(i.paddingLeft+i.paddingRight)&&(a=1+Math.floor((Y+u.autoSkipPadding)*i.ticks.length/(i.width-(i.paddingLeft+i.paddingRight)))),o&&i.ticks.length>o)for(;!a||i.ticks.length/(a||1)>o;)a||(a=1),a+=1;f||(a=!1)}var C="right"===r.position?i.left:i.right-b,H="right"===r.position?i.left+b:i.right,A="bottom"===r.position?i.top:i.bottom-b,j="bottom"===r.position?i.top+b:i.bottom;if(t.each(i.ticks,function(e,o){if(void 0!==e&&null!==e){var s=i.ticks.length===o+1,l=a>1&&o%a>0||o%a===0&&o+a>=i.ticks.length;if((!l||s)&&void 0!==e&&null!==e){var c,f;o===("undefined"!=typeof i.zeroLineIndex?i.zeroLineIndex:0)?(c=d.zeroLineWidth,f=d.zeroLineColor):(c=t.getValueAtIndexOrDefault(d.lineWidth,o),f=t.getValueAtIndexOrDefault(d.color,o));var m,_,g,y,v,M,w,k,L,x,T,Y="middle";if(p){h||(Y="top"===r.position?"bottom":"top"),T=h?"right":"center";var P=i.getPixelForTick(o)+t.aliasPixel(c);L=i.getPixelForTick(o,d.offsetGridLines)+u.labelOffset,x=h?i.top+12:"top"===r.position?i.bottom-b:i.top+b,m=g=v=w=P,_=A,y=j,M=n.top,k=n.bottom}else{"left"===r.position?u.mirror?(L=i.right+u.padding,T="left"):(L=i.right-u.padding,T="right"):u.mirror?(L=i.left-u.padding,T="right"):(L=i.left+u.padding,T="left");var E=i.getPixelForTick(o);E+=t.aliasPixel(c),x=i.getPixelForTick(o,d.offsetGridLines),m=C,g=H,v=n.left,w=n.right,_=y=M=k=E}S.push({tx1:m,ty1:_,tx2:g,ty2:y,x1:v,y1:M,x2:w,y2:k,labelX:L,labelY:x,glWidth:c,glColor:f,rotation:-1*D,label:e,textBaseline:Y,textAlign:T})}}}),t.each(S,function(e){if(d.display&&(s.lineWidth=e.glWidth,s.strokeStyle=e.glColor,s.beginPath(),d.drawTicks&&(s.moveTo(e.tx1,e.ty1),s.lineTo(e.tx2,e.ty2)),d.drawOnChartArea&&(s.moveTo(e.x1,e.y1),s.lineTo(e.x2,e.y2)),s.stroke()),u.display){s.save(),s.translate(e.labelX,e.labelY),s.rotate(e.rotation),s.font=v,s.textBaseline=e.textBaseline,s.textAlign=e.textAlign;var n=e.label;if(t.isArray(n))for(var i=0,r=0;i<n.length;++i)s.fillText(""+n[i],0,r),r+=1.5*_;else s.fillText(n,0,0);s.restore()}}),c.display){var P,E,I=0;if(p)P=i.left+(i.right-i.left)/2,E="bottom"===r.position?i.bottom-w/2:i.top+w/2;else{var F="left"===r.position;P=F?i.left+w/2:i.right-w/2,E=i.top+(i.bottom-i.top)/2,I=F?-.5*Math.PI:.5*Math.PI}s.save(),s.translate(P,E),s.rotate(I),s.textAlign="center",s.textBaseline="middle",s.fillStyle=M,s.font=x,s.fillText(c.labelString,0,0),s.restore()}if(d.drawBorder){s.lineWidth=t.getValueAtIndexOrDefault(d.lineWidth,0),s.strokeStyle=t.getValueAtIndexOrDefault(d.color,0);var O=i.left,W=i.right,R=i.top,N=i.bottom,z=t.aliasPixel(s.lineWidth);p?(R=N="top"===r.position?i.bottom:i.top,R+=z,N+=z):(O=W="left"===r.position?i.right:i.left,O+=z,W+=z),s.beginPath(),s.moveTo(O,R),s.lineTo(W,N),s.stroke()}}}})}},{}],31:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.scaleService={constructors:{},defaults:{},registerScaleType:function(e,n,i){this.constructors[e]=n,this.defaults[e]=t.clone(i)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(n){return this.defaults.hasOwnProperty(n)?t.scaleMerge(e.defaults.scale,this.defaults[n]):{}},updateScaleDefaults:function(e,n){var i=this.defaults;i.hasOwnProperty(e)&&(i[e]=t.extend(i[e],n))},addScalesToLayout:function(n){t.each(n.scales,function(t){e.layoutService.addBox(n,t)})}}}},{}],32:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.global.title={display:!1,position:"top",fullWidth:!0,fontStyle:"bold",padding:10,text:""};var n=t.noop;e.Title=e.Element.extend({initialize:function(n){var i=this;t.extend(i,n),i.options=t.configMerge(e.defaults.global.title,n.options),i.legendHitBoxes=[]},beforeUpdate:function(){var n=this.chart.options;n&&n.title&&(this.options=t.configMerge(e.defaults.global.title,n.title))},update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:n,beforeSetDimensions:n,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:n,beforeBuildLabels:n,buildLabels:n,afterBuildLabels:n,beforeFit:n,fit:function(){var n=this,i=(n.ctx,t.getValueOrDefault),r=n.options,a=e.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 e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var n=this,i=n.ctx,r=t.getValueOrDefault,a=n.options,o=e.defaults.global;if(a.display){var s,l,u=r(a.fontSize,o.defaultFontSize),d=r(a.fontStyle,o.defaultFontStyle),c=r(a.fontFamily,o.defaultFontFamily),h=t.fontString(u,d,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+u/2:g-u/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()}}}),e.plugins.register({beforeInit:function(t){var n=t.options,i=n.title;i&&(t.titleBlock=new e.Title({ctx:t.chart.ctx,options:i,chart:t}),e.layoutService.addBox(t,t.titleBlock))}})}},{}],33:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){return t&&(r.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function n(e){if(!e.length)return!1;var t,n,i=[],r=[];for(t=0,n=e.length;t<n;++t){var a=e[t];if(a&&a.hasValue()){var o=a.tooltipPosition();i.push(o.x),r.push(o.y)}}var s=0,l=0;for(t=0,n-i.length;t<n;++t)s+=i[t],l+=r[t];return{x:Math.round(s/i.length),y:Math.round(l/i.length)}}function i(e){var t=e._xScale,n=e._yScale||e._scale,i=e._index,r=e._datasetIndex;return{xLabel:t?t.getLabelForIndex(i,r):"",yLabel:n?n.getLabelForIndex(i,r):"",index:i,datasetIndex:r}}var r=e.helpers;e.defaults.global.tooltips={enabled:!0,custom:null,mode:"single",backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,yAlign:"center",xAlign:"center",caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",callbacks:{beforeTitle:r.noop,title:function(e,t){var n="",i=t.labels,r=i?i.length:0;if(e.length>0){var a=e[0];a.xLabel?n=a.xLabel:r>0&&a.index<r&&(n=i[a.index])}return n},afterTitle:r.noop,beforeBody:r.noop,beforeLabel:r.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n+": "+e.yLabel},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex),i=n.data[e.index],r=i._view;return{borderColor:r.borderColor,backgroundColor:r.backgroundColor}},afterLabel:r.noop,afterBody:r.noop,beforeFooter:r.noop,footer:r.noop,afterFooter:r.noop
|
||
}},e.Tooltip=e.Element.extend({initialize:function(){var t=this,n=e.defaults.global,i=t._options,a=r.getValueOrDefault;r.extend(t,{_model:{xPadding:i.xPadding,yPadding:i.yPadding,xAlign:i.yAlign,yAlign:i.xAlign,bodyFontColor:i.bodyFontColor,_bodyFontFamily:a(i.bodyFontFamily,n.defaultFontFamily),_bodyFontStyle:a(i.bodyFontStyle,n.defaultFontStyle),_bodyAlign:i.bodyAlign,bodyFontSize:a(i.bodyFontSize,n.defaultFontSize),bodySpacing:i.bodySpacing,titleFontColor:i.titleFontColor,_titleFontFamily:a(i.titleFontFamily,n.defaultFontFamily),_titleFontStyle:a(i.titleFontStyle,n.defaultFontStyle),titleFontSize:a(i.titleFontSize,n.defaultFontSize),_titleAlign:i.titleAlign,titleSpacing:i.titleSpacing,titleMarginBottom:i.titleMarginBottom,footerFontColor:i.footerFontColor,_footerFontFamily:a(i.footerFontFamily,n.defaultFontFamily),_footerFontStyle:a(i.footerFontStyle,n.defaultFontStyle),footerFontSize:a(i.footerFontSize,n.defaultFontSize),_footerAlign:i.footerAlign,footerSpacing:i.footerSpacing,footerMarginTop:i.footerMarginTop,caretSize:i.caretSize,cornerRadius:i.cornerRadius,backgroundColor:i.backgroundColor,opacity:0,legendColorBackground:i.multiKeyBackground}})},getTitle:function(){var e=this,n=e._options,i=n.callbacks,r=i.beforeTitle.apply(e,arguments),a=i.title.apply(e,arguments),o=i.afterTitle.apply(e,arguments),s=[];return s=t(s,r),s=t(s,a),s=t(s,o)},getBeforeBody:function(){var e=this._options.callbacks.beforeBody.apply(this,arguments);return r.isArray(e)?e:void 0!==e?[e]:[]},getBody:function(e,n){var i=this,a=i._options.callbacks,o=[];return r.each(e,function(e){var r={before:[],lines:[],after:[]};t(r.before,a.beforeLabel.call(i,e,n)),t(r.lines,a.label.call(i,e,n)),t(r.after,a.afterLabel.call(i,e,n)),o.push(r)}),o},getAfterBody:function(){var e=this._options.callbacks.afterBody.apply(this,arguments);return r.isArray(e)?e:void 0!==e?[e]:[]},getFooter:function(){var e=this,n=e._options.callbacks,i=n.beforeFooter.apply(e,arguments),r=n.footer.apply(e,arguments),a=n.afterFooter.apply(e,arguments),o=[];return o=t(o,i),o=t(o,r),o=t(o,a)},update:function(e){var t,a,o=this,s=o._options,l=o._model,u=o._active,d=o._data,c=o._chartInstance;if(u.length){l.opacity=1;var h=[],f=n(u),p=[];for(t=0,a=u.length;t<a;++t)p.push(i(u[t]));s.itemSort&&(p=p.sort(s.itemSort)),u.length>1&&r.each(p,function(e){h.push(s.callbacks.labelColor.call(o,e,c))}),r.extend(l,{title:o.getTitle(p,d),beforeBody:o.getBeforeBody(p,d),body:o.getBody(p,d),afterBody:o.getAfterBody(p,d),footer:o.getFooter(p,d),x:Math.round(f.x),y:Math.round(f.y),caretPadding:r.getValueOrDefault(f.padding,2),labelColors:h});var m=o.getTooltipSize(l);o.determineAlignment(m),r.extend(l,o.getBackgroundPoint(l,m))}else o._model.opacity=0;return e&&s.custom&&s.custom.call(o,l),o},getTooltipSize:function(e){var t=this._chart.ctx,n={height:2*e.yPadding,width:0},i=e.body,a=i.reduce(function(e,t){return e+t.before.length+t.lines.length+t.after.length},0);a+=e.beforeBody.length+e.afterBody.length;var o=e.title.length,s=e.footer.length,l=e.titleFontSize,u=e.bodyFontSize,d=e.footerFontSize;n.height+=o*l,n.height+=(o-1)*e.titleSpacing,n.height+=o?e.titleMarginBottom:0,n.height+=a*u,n.height+=a?(a-1)*e.bodySpacing:0,n.height+=s?e.footerMarginTop:0,n.height+=s*d,n.height+=s?(s-1)*e.footerSpacing:0;var c=0,h=function(e){n.width=Math.max(n.width,t.measureText(e).width+c)};return t.font=r.fontString(l,e._titleFontStyle,e._titleFontFamily),r.each(e.title,h),t.font=r.fontString(u,e._bodyFontStyle,e._bodyFontFamily),r.each(e.beforeBody.concat(e.afterBody),h),c=i.length>1?u+2:0,r.each(i,function(e){r.each(e.before,h),r.each(e.lines,h),r.each(e.after,h)}),c=0,t.font=r.fontString(d,e._footerFontStyle,e._footerFontFamily),r.each(e.footer,h),n.width+=2*e.xPadding,n},determineAlignment:function(e){var t=this,n=t._model,i=t._chart,r=t._chartInstance.chartArea;n.y<e.height?n.yAlign="top":n.y>i.height-e.height&&(n.yAlign="bottom");var a,o,s,l,u,d=(r.left+r.right)/2,c=(r.top+r.bottom)/2;"center"===n.yAlign?(a=function(e){return e<=d},o=function(e){return e>d}):(a=function(t){return t<=e.width/2},o=function(t){return t>=i.width-e.width/2}),s=function(t){return t+e.width>i.width},l=function(t){return t-e.width<0},u=function(e){return e<=c?"top":"bottom"},a(n.x)?(n.xAlign="left",s(n.x)&&(n.xAlign="center",n.yAlign=u(n.y))):o(n.x)&&(n.xAlign="right",l(n.x)&&(n.xAlign="center",n.yAlign=u(n.y)))},getBackgroundPoint:function(e,t){var n={x:e.x,y:e.y},i=e.caretSize,r=e.caretPadding,a=e.cornerRadius,o=e.xAlign,s=e.yAlign,l=i+r,u=a+r;return"right"===o?n.x-=t.width:"center"===o&&(n.x-=t.width/2),"top"===s?n.y+=l:"bottom"===s?n.y-=t.height+l:n.y-=t.height/2,"center"===s?"left"===o?n.x+=l:"right"===o&&(n.x-=l):"left"===o?n.x-=u:"right"===o&&(n.x+=u),n},drawCaret:function(e,t,n,i){var a,o,s,l,u,d,c=this._view,h=this._chart.ctx,f=c.caretSize,p=c.cornerRadius,m=c.xAlign,_=c.yAlign,g=e.x,y=e.y,v=t.width,b=t.height;"center"===_?("left"===m?(a=g,o=a-f,s=a):(a=g+v,o=a+f,s=a),u=y+b/2,l=u-f,d=u+f):("left"===m?(a=g+p,o=a+f,s=o+f):"right"===m?(a=g+v-p,o=a-f,s=o-f):(o=g+v/2,a=o-f,s=o+f),"top"===_?(l=y,u=l-f,d=l):(l=y+b,u=l+f,d=l));var M=r.color(c.backgroundColor);h.fillStyle=M.alpha(n*M.alpha()).rgbString(),h.beginPath(),h.moveTo(a,l),h.lineTo(o,u),h.lineTo(s,d),h.closePath(),h.fill()},drawTitle:function(e,t,n,i){var a=t.title;if(a.length){n.textAlign=t._titleAlign,n.textBaseline="top";var o=t.titleFontSize,s=t.titleSpacing,l=r.color(t.titleFontColor);n.fillStyle=l.alpha(i*l.alpha()).rgbString(),n.font=r.fontString(o,t._titleFontStyle,t._titleFontFamily);var u,d;for(u=0,d=a.length;u<d;++u)n.fillText(a[u],e.x,e.y),e.y+=o+s,u+1===a.length&&(e.y+=t.titleMarginBottom-s)}},drawBody:function(e,t,n,i){var a=t.bodyFontSize,o=t.bodySpacing,s=t.body;n.textAlign=t._bodyAlign,n.textBaseline="top";var l=r.color(t.bodyFontColor),u=l.alpha(i*l.alpha()).rgbString();n.fillStyle=u,n.font=r.fontString(a,t._bodyFontStyle,t._bodyFontFamily);var d=0,c=function(t){n.fillText(t,e.x+d,e.y),e.y+=a+o};r.each(t.beforeBody,c);var h=s.length>1;d=h?a+2:0,r.each(s,function(o,s){r.each(o.before,c),r.each(o.lines,function(o){h&&(n.fillStyle=r.color(t.legendColorBackground).alpha(i).rgbaString(),n.fillRect(e.x,e.y,a,a),n.strokeStyle=r.color(t.labelColors[s].borderColor).alpha(i).rgbaString(),n.strokeRect(e.x,e.y,a,a),n.fillStyle=r.color(t.labelColors[s].backgroundColor).alpha(i).rgbaString(),n.fillRect(e.x+1,e.y+1,a-2,a-2),n.fillStyle=u),c(o)}),r.each(o.after,c)}),d=0,r.each(t.afterBody,c),e.y-=o},drawFooter:function(e,t,n,i){var a=t.footer;if(a.length){e.y+=t.footerMarginTop,n.textAlign=t._footerAlign,n.textBaseline="top";var o=r.color(t.footerFontColor);n.fillStyle=o.alpha(i*o.alpha()).rgbString(),n.font=r.fontString(t.footerFontSize,t._footerFontStyle,t._footerFontFamily),r.each(a,function(i){n.fillText(i,e.x,e.y),e.y+=t.footerFontSize+t.footerSpacing})}},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n=this.getTooltipSize(t),i={x:t.x,y:t.y},a=Math.abs(t.opacity<.001)?0:t.opacity;if(this._options.enabled){var o=r.color(t.backgroundColor);e.fillStyle=o.alpha(a*o.alpha()).rgbString(),r.drawRoundedRectangle(e,i.x,i.y,n.width,n.height,t.cornerRadius),e.fill(),this.drawCaret(i,n,a,t.caretPadding),i.x+=t.xPadding,i.y+=t.yPadding,this.drawTitle(i,t,e,a),this.drawBody(i,t,e,a),this.drawFooter(i,t,e,a)}}}})}},{}],34:[function(e,t,n){"use strict";t.exports=function(e,t){var n=e.helpers,i=e.defaults.global;i.elements.arc={backgroundColor:i.defaultColor,borderColor:"#fff",borderWidth:2},e.elements.Arc=e.Element.extend({inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var i=this._view;if(i){for(var r=n.getAngleFromPoint(i,{x:e,y:t}),a=r.angle,o=r.distance,s=i.startAngle,l=i.endAngle;l<s;)l+=2*Math.PI;for(;a>l;)a-=2*Math.PI;for(;a<s;)a+=2*Math.PI;var u=a>=s&&a<=l,d=o>=i.innerRadius&&o<=i.outerRadius;return u&&d}return!1},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e=this._chart.ctx,t=this._view,n=t.startAngle,i=t.endAngle;e.beginPath(),e.arc(t.x,t.y,t.outerRadius,n,i),e.arc(t.x,t.y,t.innerRadius,i,n,!0),e.closePath(),e.strokeStyle=t.borderColor,e.lineWidth=t.borderWidth,e.fillStyle=t.backgroundColor,e.fill(),e.lineJoin="bevel",t.borderWidth&&e.stroke()}})}},{}],35:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.defaults.global;e.defaults.global.elements.line={tension:.4,backgroundColor:n.defaultColor,borderWidth:3,borderColor:n.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",fill:!0},e.elements.Line=e.Element.extend({lineToNextPoint:function(e,t,n,i,r){var a=this,o=a._chart.ctx,s=!!a._view&&a._view.spanGaps;t._view.skip&&!s?i.call(a,e,t,n):e._view.skip&&!s?r.call(a,e,t,n):0===t._view.tension?o.lineTo(t._view.x,t._view.y):o.bezierCurveTo(e._view.controlPointNextX,e._view.controlPointNextY,t._view.controlPointPreviousX,t._view.controlPointPreviousY,t._view.x,t._view.y)},draw:function(){function e(e){o._view.skip||s._view.skip?e&&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=i._view,a=i._chart.ctx,o=i._children[0],s=i._children[i._children.length-1];a.save(),i._children.length>0&&r.fill&&(a.beginPath(),t.each(i._children,function(e,n){var o=t.previousItem(i._children,n),s=t.nextItem(i._children,n);0===n?(i._loop?a.moveTo(r.scaleZero.x,r.scaleZero.y):a.moveTo(e._view.x,r.scaleZero),e._view.skip?i._loop||a.moveTo(s._view.x,i._view.scaleZero):a.lineTo(e._view.x,e._view.y)):i.lineToNextPoint(o,e,s,function(e,t,n){i._loop?a.lineTo(i._view.scaleZero.x,i._view.scaleZero.y):(a.lineTo(e._view.x,i._view.scaleZero),a.moveTo(n._view.x,i._view.scaleZero))},function(e,t){a.lineTo(t._view.x,t._view.y)})},i),i._loop?e(!0):(a.lineTo(i._children[i._children.length-1]._view.x,r.scaleZero),a.lineTo(i._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(),t.each(i._children,function(e,n){var r=t.previousItem(i._children,n),o=t.nextItem(i._children,n);0===n?a.moveTo(e._view.x,e._view.y):i.lineToNextPoint(r,e,o,function(e,t,n){a.moveTo(n._view.x,n._view.y)},function(e,t){a.moveTo(t._view.x,t._view.y)})},i),i._loop&&i._children.length>0&&e(),a.stroke(),a.restore()}})}},{}],36:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.defaults.global,i=n.defaultColor;n.elements.point={radius:3,pointStyle:"circle",backgroundColor:i,borderWidth:1,borderColor:i,hitRadius:1,hoverRadius:4,hoverBorderWidth:1},e.elements.Point=e.Element.extend({inRange:function(e,t){var n=this._view;return!!n&&Math.pow(e-n.x,2)+Math.pow(t-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hitRadius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(){var e,r,a,o,s,l,u=this._view,d=this._chart.ctx,c=u.pointStyle,h=u.radius,f=u.x,p=u.y;if(!u.skip){if("object"==typeof c&&(e=c.toString(),"[object HTMLImageElement]"===e||"[object HTMLCanvasElement]"===e))return void d.drawImage(c,f-c.width/2,p-c.height/2);if(!(isNaN(h)||h<=0)){switch(d.strokeStyle=u.borderColor||i,d.lineWidth=t.getValueOrDefault(u.borderWidth,n.elements.point.borderWidth),d.fillStyle=u.backgroundColor||i,c){default:d.beginPath(),d.arc(f,p,h,0,2*Math.PI),d.closePath(),d.fill();break;case"triangle":d.beginPath(),r=3*h/Math.sqrt(3),s=r*Math.sqrt(3)/2,d.moveTo(f-r/2,p+s/3),d.lineTo(f+r/2,p+s/3),d.lineTo(f,p-2*s/3),d.closePath(),d.fill();break;case"rect":l=1/Math.SQRT2*h,d.fillRect(f-l,p-l,2*l,2*l),d.strokeRect(f-l,p-l,2*l,2*l);break;case"rectRot":l=1/Math.SQRT2*h,d.beginPath(),d.moveTo(f-l,p),d.lineTo(f,p+l),d.lineTo(f+l,p),d.lineTo(f,p-l),d.closePath(),d.fill();break;case"cross":d.beginPath(),d.moveTo(f,p+h),d.lineTo(f,p-h),d.moveTo(f-h,p),d.lineTo(f+h,p),d.closePath();break;case"crossRot":d.beginPath(),a=Math.cos(Math.PI/4)*h,o=Math.sin(Math.PI/4)*h,d.moveTo(f-a,p-o),d.lineTo(f+a,p+o),d.moveTo(f-a,p+o),d.lineTo(f+a,p-o),d.closePath();break;case"star":d.beginPath(),d.moveTo(f,p+h),d.lineTo(f,p-h),d.moveTo(f-h,p),d.lineTo(f+h,p),a=Math.cos(Math.PI/4)*h,o=Math.sin(Math.PI/4)*h,d.moveTo(f-a,p-o),d.lineTo(f+a,p+o),d.moveTo(f-a,p+o),d.lineTo(f+a,p-o),d.closePath();break;case"line":d.beginPath(),d.moveTo(f-h,p),d.lineTo(f+h,p),d.closePath();break;case"dash":d.beginPath(),d.moveTo(f,p),d.lineTo(f+h,p),d.closePath()}d.stroke()}}}})}},{}],37:[function(e,t,n){"use strict";t.exports=function(e){var t=(e.helpers,e.defaults.global);t.elements.rectangle={backgroundColor:t.defaultColor,borderWidth:0,borderColor:t.defaultColor,borderSkipped:"bottom"},e.elements.Rectangle=e.Element.extend({draw:function(){function e(e){return l[(d+e)%4]}var t=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),t.beginPath(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth;var l=[[r,n.base],[r,o],[a,o],[a,n.base]],u=["bottom","left","top","right"],d=u.indexOf(n.borderSkipped,0);d===-1&&(d=0),t.moveTo.apply(t,e(0));for(var c=1;c<4;c++)t.lineTo.apply(t,e(c));t.fill(),n.borderWidth&&t.stroke()},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){var n=this._view;return!!n&&(n.y<n.base?e>=n.x-n.width/2&&e<=n.x+n.width/2&&t>=n.y&&t<=n.base:e>=n.x-n.width/2&&e<=n.x+n.width/2&&t>=n.base&&t<=n.y)},inLabelRange:function(e){var t=this._view;return!!t&&(e>=t.x-t.width/2&&e<=t.x+t.width/2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}})}},{}],38:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n={position:"bottom"},i=e.Scale.extend({determineDataLimits:function(){var e=this;e.minIndex=0,e.maxIndex=e.chart.data.labels.length-1;var n;void 0!==e.options.ticks.min&&(n=t.indexOf(e.chart.data.labels,e.options.ticks.min),e.minIndex=n!==-1?n:e.minIndex),void 0!==e.options.ticks.max&&(n=t.indexOf(e.chart.data.labels,e.options.ticks.max),e.maxIndex=n!==-1?n:e.maxIndex),e.min=e.chart.data.labels[e.minIndex],e.max=e.chart.data.labels[e.maxIndex]},buildTicks:function(e){var t=this;t.ticks=0===t.minIndex&&t.maxIndex===t.chart.data.labels.length-1?t.chart.data.labels:t.chart.data.labels.slice(t.minIndex,t.maxIndex+1)},getLabelForIndex:function(e,t){return this.ticks[e]},getPixelForValue:function(e,t,n,i){var r=this,a=Math.max(r.maxIndex+1-r.minIndex-(r.options.gridLines.offsetGridLines?0:1),1);if(r.isHorizontal()){var o=r.width-(r.paddingLeft+r.paddingRight),s=o/a,l=s*(t-r.minIndex)+r.paddingLeft;return r.options.gridLines.offsetGridLines&&i&&(l+=s/2),r.left+Math.round(l)}var u=r.height-(r.paddingTop+r.paddingBottom),d=u/a,c=d*(t-r.minIndex)+r.paddingTop;return r.options.gridLines.offsetGridLines&&i&&(c+=d/2),r.top+Math.round(c)},getPixelForTick:function(e,t){return this.getPixelForValue(this.ticks[e],e+this.minIndex,null,t)},getValueForPixel:function(e){var t,n=this,i=Math.max(n.ticks.length-(n.options.gridLines.offsetGridLines?0:1),1),r=n.isHorizontal(),a=r?n.width-(n.paddingLeft+n.paddingRight):n.height-(n.paddingTop+n.paddingBottom),o=a/i;return n.options.gridLines.offsetGridLines&&(e-=o/2),e-=r?n.paddingLeft:n.paddingTop,t=e<=0?0:Math.round(e/o)}});e.scaleService.registerScaleType("category",i,n)}},{}],39:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n={position:"left",ticks:{callback:function(e,n,i){var r=i.length>3?i[2]-i[1]:i[1]-i[0];Math.abs(r)>1&&e!==Math.floor(e)&&(r=e-Math.floor(e));var a=t.log10(Math.abs(r)),o="";if(0!==e){var s=-1*Math.floor(a);s=Math.max(Math.min(s,20),0),o=e.toFixed(s)}else o="0";return o}}},i=e.LinearScaleBase.extend({determineDataLimits:function(){function e(e){return s?e.xAxisID===n.id:e.yAxisID===n.id}var n=this,i=n.options,r=(i.ticks,n.chart),a=r.data,o=a.datasets,s=n.isHorizontal();if(n.min=null,n.max=null,i.stacked){var l={},u=!1,d=!1;t.each(o,function(a,o){var s=r.getDatasetMeta(o);void 0===l[s.type]&&(l[s.type]={positiveValues:[],negativeValues:[]});var c=l[s.type].positiveValues,h=l[s.type].negativeValues;r.isDatasetVisible(o)&&e(s)&&t.each(a.data,function(e,t){var r=+n.getRightValue(e);isNaN(r)||s.data[t].hidden||(c[t]=c[t]||0,h[t]=h[t]||0,i.relativePoints?c[t]=100:r<0?(d=!0,h[t]+=r):(u=!0,c[t]+=r))})}),t.each(l,function(e){var i=e.positiveValues.concat(e.negativeValues),r=t.min(i),a=t.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 t.each(o,function(i,a){var o=r.getDatasetMeta(a);r.isDatasetVisible(a)&&e(o)&&t.each(i.data,function(e,t){var i=+n.getRightValue(e);isNaN(i)||o.data[t].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))})});this.handleTickRangeOptions()},getTickLimit:function(){var n,i=this,r=i.options.ticks;if(i.isHorizontal())n=Math.min(r.maxTicksLimit?r.maxTicksLimit:11,Math.ceil(i.width/50));else{var a=t.getValueOrDefault(r.fontSize,e.defaults.global.defaultFontSize);n=Math.min(r.maxTicksLimit?r.maxTicksLimit:11,Math.ceil(i.height/(2*a)))}return n},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e,t,n,i){var r,a,o=this,s=o.paddingLeft,l=o.paddingBottom,u=o.start,d=+o.getRightValue(e),c=o.end-u;return o.isHorizontal()?(a=o.width-(s+o.paddingRight),r=o.left+a/c*(d-u),Math.round(r+s)):(a=o.height-(o.paddingTop+l),r=o.bottom-l-a/c*(d-u),Math.round(r))},getValueForPixel:function(e){var t=this,n=t.isHorizontal(),i=t.paddingLeft,r=t.paddingBottom,a=n?t.width-(i+t.paddingRight):t.height-(t.paddingTop+r),o=(n?e-t.left-i:t.bottom-r-e)/a;return t.start+(t.end-t.start)*o},getPixelForTick:function(e,t){return this.getPixelForValue(this.ticksAsNumbers[e],null,null,t)}});e.scaleService.registerScaleType("linear",i,n)}},{}],40:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=t.noop;e.LinearScaleBase=e.Scale.extend({handleTickRangeOptions:function(){var e=this,n=e.options,i=n.ticks;if(i.beginAtZero){var r=t.sign(e.min),a=t.sign(e.max);r<0&&a<0?e.max=0:r>0&&a>0&&(e.min=0)}void 0!==i.min?e.min=i.min:void 0!==i.suggestedMin&&(e.min=Math.min(e.min,i.suggestedMin)),void 0!==i.max?e.max=i.max:void 0!==i.suggestedMax&&(e.max=Math.max(e.max,i.suggestedMax)),e.min===e.max&&(e.max++,i.beginAtZero||e.min--)},getTickLimit:n,handleDirectionalChanges:n,buildTicks:function(){var e=this,n=e.options,i=n.ticks,r=t.getValueOrDefault,a=(e.isHorizontal(),e.ticks=[]),o=e.getTickLimit();o=Math.max(2,o);var s,l=i.fixedStepSize&&i.fixedStepSize>0||i.stepSize&&i.stepSize>0;if(l)s=r(i.fixedStepSize,i.stepSize);else{var u=t.niceNum(e.max-e.min,!1);s=t.niceNum(u/(o-1),!0)}var d=Math.floor(e.min/s)*s,c=Math.ceil(e.max/s)*s,h=(c-d)/s;h=t.almostEquals(h,Math.round(h),s/1e3)?Math.round(h):Math.ceil(h),a.push(void 0!==i.min?i.min:d);for(var f=1;f<h;++f)a.push(d+f*s);a.push(void 0!==i.max?i.max:c),e.handleDirectionalChanges(),e.max=t.max(a),e.min=t.min(a),i.reverse?(a.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),e.Scale.prototype.convertTicksToLabels.call(t)}})}},{}],41:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n={position:"left",ticks:{callback:function(e,n,i){var r=e/Math.pow(10,Math.floor(t.log10(e)));return 1===r||2===r||5===r||0===n||n===i.length-1?e.toExponential():""}}},i=e.Scale.extend({determineDataLimits:function(){function e(e){return u?e.xAxisID===n.id:e.yAxisID===n.id}var n=this,i=n.options,r=i.ticks,a=n.chart,o=a.data,s=o.datasets,l=t.getValueOrDefault,u=n.isHorizontal();if(n.min=null,n.max=null,i.stacked){var d={};t.each(s,function(r,o){var s=a.getDatasetMeta(o);a.isDatasetVisible(o)&&e(s)&&(void 0===d[s.type]&&(d[s.type]=[]),t.each(r.data,function(e,t){var r=d[s.type],a=+n.getRightValue(e);isNaN(a)||s.data[t].hidden||(r[t]=r[t]||0,i.relativePoints?r[t]=100:r[t]+=a)}))}),t.each(d,function(e){var i=t.min(e),r=t.max(e);n.min=null===n.min?i:Math.min(n.min,i),n.max=null===n.max?r:Math.max(n.max,r)})}else t.each(s,function(i,r){var o=a.getDatasetMeta(r);a.isDatasetVisible(r)&&e(o)&&t.each(i.data,function(e,t){var i=+n.getRightValue(e);isNaN(i)||o.data[t].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(t.log10(n.min))-1),n.max=Math.pow(10,Math.floor(t.log10(n.max))+1)):(n.min=1,n.max=10))},buildTicks:function(){for(var e=this,n=e.options,i=n.ticks,r=t.getValueOrDefault,a=e.ticks=[],o=r(i.min,Math.pow(10,Math.floor(t.log10(e.min))));o<e.max;){a.push(o);var s=Math.floor(t.log10(o)),l=Math.floor(o/Math.pow(10,s))+1;10===l&&(l=1,++s),o=l*Math.pow(10,s)}var u=r(i.max,o);a.push(u),e.isHorizontal()||a.reverse(),e.max=t.max(a),e.min=t.min(a),i.reverse?(a.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),e.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e,t){return this.getPixelForValue(this.tickValues[e],null,null,t)},getPixelForValue:function(e,n,i,r){var a,o,s=this,l=s.start,u=+s.getRightValue(e),d=t.log10(s.end)-t.log10(l),c=s.paddingTop,h=s.paddingBottom,f=s.paddingLeft;return s.isHorizontal()?0===u?o=s.left+f:(a=s.width-(f+s.paddingRight),o=s.left+a/d*(t.log10(u)-t.log10(l)),o+=f):0===u?o=s.top+c:(a=s.height-(c+h),o=s.bottom-h-a/d*(t.log10(u)-t.log10(l))),o},getValueForPixel:function(e){var n,i,r=this,a=t.log10(r.end)-t.log10(r.start);return r.isHorizontal()?(i=r.width-(r.paddingLeft+r.paddingRight),n=r.start*Math.pow(10,(e-r.left-r.paddingLeft)*a/i)):(i=r.height-(r.paddingTop+r.paddingBottom),n=Math.pow(10,(r.bottom-r.paddingBottom-e)*a/i)/r.start),n}});e.scaleService.registerScaleType("logarithmic",i,n)}},{}],42:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.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(e){return e}}},r=e.LinearScaleBase.extend({getValueCount:function(){return this.chart.data.labels.length},setDimensions:function(){var e=this,i=e.options,r=i.ticks;e.width=e.maxWidth,e.height=e.maxHeight,e.xCenter=Math.round(e.width/2),e.yCenter=Math.round(e.height/2);var a=t.min([e.height,e.width]),o=t.getValueOrDefault(r.fontSize,n.defaultFontSize);e.drawingArea=i.display?a/2-(o/2+r.backdropPaddingY):a/2},determineDataLimits:function(){var e=this,n=e.chart;e.min=null,e.max=null,t.each(n.data.datasets,function(i,r){if(n.isDatasetVisible(r)){var a=n.getDatasetMeta(r);t.each(i.data,function(t,n){var i=+e.getRightValue(t);isNaN(i)||a.data[n].hidden||(null===e.min?e.min=i:i<e.min&&(e.min=i),null===e.max?e.max=i:i>e.max&&(e.max=i))})}}),e.handleTickRangeOptions()},getTickLimit:function(){var e=this.options.ticks,i=t.getValueOrDefault(e.fontSize,n.defaultFontSize);return Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*i)))},convertTicksToLabels:function(){var t=this;e.LinearScaleBase.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(t.options.pointLabels.callback,t)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e,i,r,a,o,s,l,u,d,c,h,f,p=this.options.pointLabels,m=t.getValueOrDefault(p.fontSize,n.defaultFontSize),_=t.getValueOrDefault(p.fontStyle,n.defaultFontStyle),g=t.getValueOrDefault(p.fontFamily,n.defaultFontFamily),y=t.fontString(m,_,g),v=t.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++)e=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,e.x+a>b&&(b=e.x+a,o=i),e.x-a<M&&(M=e.x-a,l=i)):i<this.getValueCount()/2?e.x+r>b&&(b=e.x+r,o=i):i>this.getValueCount()/2&&e.x-r<M&&(M=e.x-r,l=i);d=M,c=Math.ceil(b-this.width),s=this.getIndexAngle(o),u=this.getIndexAngle(l),h=c/Math.sin(s+Math.PI/2),f=d/Math.sin(u+Math.PI/2),h=t.isNumber(h)?h:0,f=t.isNumber(f)?f:0,this.drawingArea=Math.round(v-(f+h)/2),this.setCenterPoint(f,h)},setCenterPoint:function(e,t){var n=this,i=n.width-t-n.drawingArea,r=e+n.drawingArea;n.xCenter=Math.round((r+i)/2+n.left),n.yCenter=Math.round(n.height/2+n.top)},getIndexAngle:function(e){var t=2*Math.PI/this.getValueCount();return e*t-Math.PI/2},getDistanceFromCenterForValue:function(e){var t=this;if(null===e)return 0;var n=t.drawingArea/(t.max-t.min);return t.options.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this,i=n.getIndexAngle(e);return{x:Math.round(Math.cos(i)*t)+n.xCenter,y:Math.round(Math.sin(i)*t)+n.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(){var e=this,t=e.min,n=e.max;return e.getPointPositionForValue(0,e.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0)},draw:function(){var e=this,i=e.options,r=i.gridLines,a=i.ticks,o=i.angleLines,s=i.pointLabels,l=t.getValueOrDefault;if(i.display){var u=e.ctx,d=l(a.fontSize,n.defaultFontSize),c=l(a.fontStyle,n.defaultFontStyle),h=l(a.fontFamily,n.defaultFontFamily),f=t.fontString(d,c,h);if(t.each(e.ticks,function(o,s){if(s>0||i.reverse){var c=e.getDistanceFromCenterForValue(e.ticksAsNumbers[s]),h=e.yCenter-c;if(r.display&&0!==s)if(u.strokeStyle=t.getValueAtIndexOrDefault(r.color,s-1),u.lineWidth=t.getValueAtIndexOrDefault(r.lineWidth,s-1),i.lineArc)u.beginPath(),u.arc(e.xCenter,e.yCenter,c,0,2*Math.PI),u.closePath(),u.stroke();else{u.beginPath();for(var p=0;p<e.getValueCount();p++){var m=e.getPointPosition(p,c);0===p?u.moveTo(m.x,m.y):u.lineTo(m.x,m.y)}u.closePath(),u.stroke()}if(a.display){var _=l(a.fontColor,n.defaultFontColor);if(u.font=f,a.showLabelBackdrop){var g=u.measureText(o).width;u.fillStyle=a.backdropColor,u.fillRect(e.xCenter-g/2-a.backdropPaddingX,h-d/2-a.backdropPaddingY,g+2*a.backdropPaddingX,d+2*a.backdropPaddingY)}u.textAlign="center",u.textBaseline="middle",u.fillStyle=_,u.fillText(o,e.xCenter,h)}}}),!i.lineArc){u.lineWidth=o.lineWidth,u.strokeStyle=o.color;for(var p=e.getDistanceFromCenterForValue(i.reverse?e.min:e.max),m=l(s.fontSize,n.defaultFontSize),_=l(s.fontStyle,n.defaultFontStyle),g=l(s.fontFamily,n.defaultFontFamily),y=t.fontString(m,_,g),v=e.getValueCount()-1;v>=0;v--){if(o.display){var b=e.getPointPosition(v,p);u.beginPath(),u.moveTo(e.xCenter,e.yCenter),u.lineTo(b.x,b.y),u.stroke(),u.closePath()}var M=e.getPointPosition(v,p+5),w=l(s.fontColor,n.defaultFontColor);u.font=y,u.fillStyle=w;var k=e.pointLabels,L=k.length,x=k.length/2,D=x/2,T=v<D||v>L-D,Y=v===D||v===L-D;0===v?u.textAlign="center":v===x?u.textAlign="center":v<x?u.textAlign="left":u.textAlign="right",Y?u.textBaseline="middle":T?u.textBaseline="bottom":u.textBaseline="top",u.fillText(k[v]?k[v]:"",M.x,M.y)}}}}});e.scaleService.registerScaleType("radialLinear",r,i)}},{}],43:[function(e,t,n){"use strict";var i=e(1);i="function"==typeof i?i:window.moment,t.exports=function(e){var t=e.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=e.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");e.Scale.prototype.initialize.call(this)},getLabelMoment:function(e,t){return this.labelMoments[e][t]},getMomentStartOf:function(e){var t=this;return"week"===t.options.time.unit&&t.options.time.isoWeekday!==!1?e.clone().startOf("isoWeek").isoWeekday(t.options.time.isoWeekday):e.clone().startOf(t.tickUnit)},determineDataLimits:function(){var e=this;e.labelMoments=[];var n=[];e.chart.data.labels&&e.chart.data.labels.length>0?(t.each(e.chart.data.labels,function(t,i){var r=e.parseTime(t);r.isValid()&&(e.options.time.round&&r.startOf(e.options.time.round),n.push(r))},e),e.firstTick=i.min.call(e,n),e.lastTick=i.max.call(e,n)):(e.firstTick=null,e.lastTick=null),t.each(e.chart.data.datasets,function(r,a){var o=[],s=e.chart.isDatasetVisible(a);"object"==typeof r.data[0]&&null!==r.data[0]?t.each(r.data,function(t,n){var r=e.parseTime(e.getRightValue(t));r.isValid()&&(e.options.time.round&&r.startOf(e.options.time.round),o.push(r),s&&(e.firstTick=null!==e.firstTick?i.min(e.firstTick,r):r,e.lastTick=null!==e.lastTick?i.max(e.lastTick,r):r))},e):o=n,e.labelMoments.push(o)},e),e.options.time.min&&(e.firstTick=e.parseTime(e.options.time.min)),e.options.time.max&&(e.lastTick=e.parseTime(e.options.time.max)),e.firstTick=(e.firstTick||i()).clone(),e.lastTick=(e.lastTick||i()).clone()},buildTicks:function(i){var r=this;r.ctx.save();var a=t.getValueOrDefault(r.options.ticks.fontSize,e.defaults.global.defaultFontSize),o=t.getValueOrDefault(r.options.ticks.fontStyle,e.defaults.global.defaultFontStyle),s=t.getValueOrDefault(r.options.ticks.fontFamily,e.defaults.global.defaultFontFamily),l=t.fontString(a,o,s);if(r.ctx.font=l,r.ticks=[],r.unitScale=1,r.scaleSizeInUnits=0,r.options.time.unit)r.tickUnit=r.options.time.unit||"day",r.displayFormat=r.options.time.displayFormats[r.tickUnit],r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0),r.unitScale=t.getValueOrDefault(r.options.time.unitStepSize,1);else{var u=r.isHorizontal()?r.width-(r.paddingLeft+r.paddingRight):r.height-(r.paddingTop+r.paddingBottom),d=r.tickFormatFunction(r.firstTick,0,[]),c=r.ctx.measureText(d).width,h=Math.cos(t.toRadians(r.options.ticks.maxRotation)),f=Math.sin(t.toRadians(r.options.ticks.maxRotation));c=c*h+a*f;var p=u/c;r.tickUnit="millisecond",r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0),r.displayFormat=r.options.time.displayFormats[r.tickUnit];for(var m=0,_=n.units[m];m<n.units.length;){if(r.unitScale=1,t.isArray(_.steps)&&Math.ceil(r.scaleSizeInUnits/p)<t.max(_.steps)){for(var g=0;g<_.steps.length;++g)if(_.steps[g]>=Math.ceil(r.scaleSizeInUnits/p)){r.unitScale=t.getValueOrDefault(r.options.time.unitStepSize,_.steps[g]);break}break}if(_.maxStep===!1||Math.ceil(r.scaleSizeInUnits/p)<_.maxStep){r.unitScale=t.getValueOrDefault(r.options.time.unitStepSize,Math.ceil(r.scaleSizeInUnits/p));break}++m,_=n.units[m],r.tickUnit=_.name;var y=r.firstTick.diff(r.getMomentStartOf(r.firstTick),r.tickUnit,!0),v=r.getMomentStartOf(r.lastTick.clone().add(1,r.tickUnit)).diff(r.lastTick,r.tickUnit,!0);r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0)+y+v,r.displayFormat=r.options.time.displayFormats[_.name]}}var b;if(r.options.time.min?b=r.getMomentStartOf(r.firstTick):(r.firstTick=r.getMomentStartOf(r.firstTick),
|
||
b=r.firstTick),!r.options.time.max){var M=r.getMomentStartOf(r.lastTick);0!==M.diff(r.lastTick,r.tickUnit,!0)&&(r.lastTick=r.getMomentStartOf(r.lastTick.add(1,r.tickUnit)))}r.smallestLabelSeparation=r.width,t.each(r.chart.data.datasets,function(e,t){for(var n=1;n<r.labelMoments[t].length;n++)r.smallestLabelSeparation=Math.min(r.smallestLabelSeparation,r.labelMoments[t][n].diff(r.labelMoments[t][n-1],r.tickUnit,!0))},r),r.options.time.displayFormat&&(r.displayFormat=r.options.time.displayFormat),r.ticks.push(r.firstTick.clone());for(var w=1;w<=r.scaleSizeInUnits;++w){var k=b.clone().add(w,r.tickUnit);if(r.options.time.max&&k.diff(r.lastTick,r.tickUnit,!0)>=0)break;w%r.unitScale===0&&r.ticks.push(k)}var L=r.ticks[r.ticks.length-1].diff(r.lastTick,r.tickUnit);0===L&&0!==r.scaleSizeInUnits||(r.options.time.max?(r.ticks.push(r.lastTick.clone()),r.scaleSizeInUnits=r.lastTick.diff(r.ticks[0],r.tickUnit,!0)):(r.ticks.push(r.lastTick.clone()),r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0))),r.ctx.restore()},getLabelForIndex:function(e,t){var n=this,i=n.chart.data.labels&&e<n.chart.data.labels.length?n.chart.data.labels[e]:"";return"object"==typeof n.chart.data.datasets[t].data[0]&&(i=n.getRightValue(n.chart.data.datasets[t].data[e])),n.options.time.tooltipFormat&&(i=n.parseTime(i).format(n.options.time.tooltipFormat)),i},tickFormatFunction:function(e,n,i){var r=e.format(this.displayFormat),a=this.options.ticks,o=t.getValueOrDefault(a.callback,a.userCallback);return o?o(r,n,i):r},convertTicksToLabels:function(){var e=this;e.tickMoments=e.ticks,e.ticks=e.ticks.map(e.tickFormatFunction,e)},getPixelForValue:function(e,t,n,i){var r=this,a=e&&e.isValid&&e.isValid()?e:r.getLabelMoment(n,t);if(a){var o=a.diff(r.firstTick,r.tickUnit,!0),s=o/r.scaleSizeInUnits;if(r.isHorizontal()){var l=r.width-(r.paddingLeft+r.paddingRight),u=(l/Math.max(r.ticks.length-1,1),l*s+r.paddingLeft);return r.left+Math.round(u)}var d=r.height-(r.paddingTop+r.paddingBottom),c=(d/Math.max(r.ticks.length-1,1),d*s+r.paddingTop);return r.top+Math.round(c)}},getPixelForTick:function(e,t){return this.getPixelForValue(this.tickMoments[e],null,null,t)},getValueForPixel:function(e){var t=this,n=t.isHorizontal()?t.width-(t.paddingLeft+t.paddingRight):t.height-(t.paddingTop+t.paddingBottom),r=(e-(t.isHorizontal()?t.left+t.paddingLeft:t.top+t.paddingTop))/n;return r*=t.scaleSizeInUnits,t.firstTick.clone().add(i.duration(r,t.tickUnit).asSeconds(),"seconds")},parseTime:function(e){var t=this;return"string"==typeof t.options.time.parser?i(e,t.options.time.parser):"function"==typeof t.options.time.parser?t.options.time.parser(e):"function"==typeof e.getMonth||"number"==typeof e?i(e):e.isValid&&e.isValid()?e:"string"!=typeof t.options.time.format&&t.options.time.format.call?t.options.time.format(e):i(e,t.options.time.format)}});e.scaleService.registerScaleType("time",a,r)}},{1:1}]},{},[7])(7)}),function(e,t,n){!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):jQuery&&!jQuery.fn.sparkline&&e(jQuery)}(function(i){"use strict";var r,a,o,s,l,u,d,c,h,f,p,m,_,g,y,v,b,M,w,k,L,x,D,T,Y,S,C,H,A,j,P,E,I={},F=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}}">●</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}}">●</span> {{prefix}}{{value}}{{suffix}}')},tristate:{barWidth:4,barSpacing:1,posBarColor:"#6f6",negBarColor:"#f44",zeroBarColor:"#999",colorMap:{},tooltipFormat:new o('<span style="color: {{color}}">●</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}}">●</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 e,t;return e=function(){this.init.apply(this,arguments)},arguments.length>1?(arguments[0]?(e.prototype=i.extend(new arguments[0],arguments[arguments.length-1]),e._super=arguments[0].prototype):e.prototype=arguments[arguments.length-1],arguments.length>2&&(t=Array.prototype.slice.call(arguments,1,-1),t.unshift(e.prototype),i.extend.apply(i,t))):e.prototype=arguments[0],e.prototype.cls=e,e},i.SPFormatClass=o=a({fre:/\{\{([\w.]+?)(:(.+?))?\}\}/g,precre:/(\w+)\.(\d+)/,init:function(e,t){this.format=e,this.fclass=t},render:function(e,t,i){var r,a,o,s,l,u=this,d=e;return this.format.replace(this.fre,function(){var e;return a=arguments[1],o=arguments[3],r=u.precre.exec(a),r?(l=r[2],a=r[1]):l=!1,s=d[a],s===n?"":o&&t&&t[o]?(e=t[o],e.get?t[o].get(s)||s:t[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(e,t){return new o(e,t)},s=function(e,t,n){return e<t?t:e>n?n:e},l=function(e,n){var i;return 2===n?(i=t.floor(e.length/2),e.length%2?e[i]:(e[i-1]+e[i])/2):e.length%2?(i=(e.length*n+n)/4,i%1?(e[t.floor(i)]+e[t.floor(i)-1])/2:e[i-1]):(i=(e.length*n+2)/4,i%1?(e[t.floor(i)]+e[t.floor(i)-1])/2:e[i-1])},u=function(e){var t;switch(e){case"undefined":e=n;break;case"null":e=null;break;case"true":e=!0;break;case"false":e=!1;break;default:t=parseFloat(e),e==t&&(e=t)}return e},d=function(e){var t,n=[];for(t=e.length;t--;)n[t]=u(e[t]);return n},c=function(e,t){var n,i,r=[];for(n=0,i=e.length;n<i;n++)e[n]!==t&&r.push(e[n]);return r},h=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},g=function(e,t,n,r,a){var o,s;for(e=(t===!1?parseFloat(e).toString():e.toFixed(t)).split(""),o=(o=i.inArray(".",e))<0?e.length:o,o<e.length&&(e[o]=a),s=o-n;s>0;s-=n)e.splice(s,0,r);return e.join("")},f=function(e,t,n){var i;for(i=t.length;i--;)if((!n||null!==t[i])&&t[i]!==e)return!1;return!0},p=function(e){var t,n=0;for(t=e.length;t--;)n+="number"==typeof e[t]?e[t]:0;return n},_=function(e){return i.isArray(e)?e:[e]},m=function(t){var n,i;if(e.createStyleSheet)try{return void(e.createStyleSheet().cssText=t)}catch(r){i=!0}n=e.createElement("style"),n.type="text/css",e.getElementsByTagName("head")[0].appendChild(n),i?e.styleSheets[e.styleSheets.length-1].cssText=t:n["string"==typeof e.body.style.WebkitAppearance?"innerText":"innerHTML"]=t},i.fn.simpledraw=function(t,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 u=e.createElement("canvas");if(u.getContext&&u.getContext("2d"))i.fn.sparkline.canvas=function(e,t,n,i){return new j(e,t,n,i)};else{if(!e.namespaces||e.namespaces.v)return i.fn.sparkline.canvas=!1,!1;e.namespaces.add("v","urn:schemas-microsoft-com:vml","#default#VML"),i.fn.sparkline.canvas=function(e,t,n,i){return new P(e,t,n)}}}return t===n&&(t=i(this).innerWidth()),r===n&&(r=i(this).innerHeight()),s=i.fn.sparkline.canvas(t,r,this,o),l=i(this).data("_jqs_mhandler"),l&&l.registerCanvas(s),s},i.fn.cleardraw=function(){var e=this.data("_jqs_vcanvas");e&&e.reset()},i.RangeMapClass=y=a({init:function(e){var t,n,i=[];for(t in e)e.hasOwnProperty(t)&&"string"==typeof t&&t.indexOf(":")>-1&&(n=t.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]=e[t],i.push(n));this.map=e,this.rangelist=i||!1},get:function(e){var t,i,r,a=this.rangelist;if((r=this.map[e])!==n)return r;if(a)for(t=a.length;t--;)if(i=a[t],i[0]<=e&&i[1]>=e)return i[2];return n}}),i.range_map=function(e){return new y(e)},v=a({init:function(e,t){var n=i(e);this.$el=n,this.options=t,this.currentPageX=0,this.currentPageY=0,this.el=e,this.splist=[],this.tooltip=null,this.over=!1,this.displayTooltips=!t.get("disableTooltips"),this.highlightEnabled=!t.get("disableHighlight")},registerSparkline:function(e){this.splist.push(e),this.over&&this.updateDisplay()},registerCanvas:function(e){var t=i(e.canvas);this.canvas=e,this.$canvas=t,t.mouseenter(i.proxy(this.mouseenter,this)),t.mouseleave(i.proxy(this.mouseleave,this)),t.click(i.proxy(this.mouseclick,this))},reset:function(e){this.splist=[],this.tooltip&&e&&(this.tooltip.remove(),this.tooltip=n)},mouseclick:function(e){var t=i.Event("sparklineClick");t.originalEvent=e,t.sparklines=this.splist,this.$el.trigger(t)},mouseenter:function(t){i(e.body).unbind("mousemove.jqs"),i(e.body).bind("mousemove.jqs",i.proxy(this.mousemove,this)),this.over=!0,this.currentPageX=t.pageX,this.currentPageY=t.pageY,this.currentEl=t.target,!this.tooltip&&this.displayTooltips&&(this.tooltip=new b(this.options),this.tooltip.updatePosition(t.pageX,t.pageY)),this.updateDisplay()},mouseleave:function(){i(e.body).unbind("mousemove.jqs");var t,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;n<a;n++)t=r[n],t.clearRegionHighlight()&&(o=!0);o&&this.canvas.render()},mousemove:function(e){this.currentPageX=e.pageX,this.currentPageY=e.pageY,this.currentEl=e.target,this.tooltip&&this.tooltip.updatePosition(e.pageX,e.pageY),this.updateDisplay()},updateDisplay:function(){var e,t,n,r,a,o=this.splist,s=o.length,l=!1,u=this.$canvas.offset(),d=this.currentPageX-u.left,c=this.currentPageY-u.top;if(this.over){for(n=0;n<s;n++)t=o[n],r=t.setRegionHighlight(this.currentEl,d,c),r&&(l=!0);if(l){if(a=i.Event("sparklineRegionChange"),a.sparklines=this.splist,this.$el.trigger(a),this.tooltip){for(e="",n=0;n<s;n++)t=o[n],e+=t.getCurrentRegionTooltip();this.tooltip.setContent(e)}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(t){var n,r=t.get("tooltipClassname","jqstooltip"),a=this.sizeStyle;this.container=t.get("tooltipContainer")||e.body,this.tooltipOffsetX=t.get("tooltipOffsetX",10),this.tooltipOffsetY=t.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(e){this.sizetip.html(e).appendTo(this.container),this.width=this.sizetip.width()+1,this.height=this.sizetip.height(),this.sizetip.remove()},setContent:function(e){return e?(this.getSize(e),this.tooltip.html(e).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(e,t){if(e===n){if(this.mousex===n)return;e=this.mousex-this.offsetLeft,t=this.mousey-this.offsetTop}else this.mousex=e-=this.offsetLeft,this.mousey=t-=this.offsetTop;this.height&&this.width&&!this.hidden&&(t-=this.height+this.tooltipOffsetY,e+=this.tooltipOffsetX,t<this.scrollTop&&(t=this.scrollTop),e<this.scrollLeft?e=this.scrollLeft:e+this.width>this.scrollRight&&(e=this.scrollRight-this.width),this.tooltip.css({left:e,top:t}))},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(t,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,u,d,c,h;return"html"===t||t===n?(h=this.getAttribute(s.get("tagValuesAttribute")),h!==n&&null!==h||(h=l.html()),r=h.replace(/(^\s*<!--)|(-->\s*$)|\s+/g,"").split(",")):r=t,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")||(u=e.createElement("span"),u.innerHTML="a",l.html(u),o=i(u).innerHeight()||i(u).height(),i(u).remove(),u=null):o=s.get("height"),s.get("disableInteraction")?d=!1:(d=i.data(this,"_jqs_mhandler"),d?s.get("composite")||d.reset():(d=new v(this,s),i.data(this,"_jqs_mhandler",d))),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(d&&d.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 e,t,n,r=[];for(t=0,n=E.length;t<n;t++)e=E[t][0],i(e).is(":visible")&&!i(e).parents().is(":hidden")?(E[t][1].call(e),i.data(E[t][0],"_jqs_pending",!1),r.push(t)):i(e).closest("html").length||i.data(e,"_jqs_pending")||(i.data(E[t][0],"_jqs_pending",!1),r.push(t));for(t=r.length;t;t--)E.splice(r[t-1],1)},i.fn.sparkline.options=a({init:function(e,t){var n,r,a,o;this.userOptions=t=t||{},this.tag=e,this.tagValCache={},r=i.fn.sparkline.defaults,a=r.common,this.tagOptionsPrefix=t.enableTagOptions&&(t.tagOptionsPrefix||a.tagOptionsPrefix),o=this.getTagSetting("type"),n=o===I?r[t.type||a.type]:r[o],this.mergedOptions=i.extend({},a,n,t)},getTagSetting:function(e){var t,i,r,a,o=this.tagOptionsPrefix;if(o===!1||o===n)return I;if(this.tagValCache.hasOwnProperty(e))t=this.tagValCache.key;else{if(t=this.tag.getAttribute(o+e),t===n||null===t)t=I;else if("["===t.substr(0,1))for(t=t.substr(1,t.length-2).split(","),i=t.length;i--;)t[i]=u(t[i].replace(/(^\s*)|(\s*$)/g,""));else if("{"===t.substr(0,1))for(r=t.substr(1,t.length-2).split(","),t={},i=r.length;i--;)a=r[i].split(":",2),t[a[0].replace(/(^\s*)|(\s*$)/g,"")]=u(a[1].replace(/(^\s*)|(\s*$)/g,""));else t=u(t);this.tagValCache.key=t}return t},get:function(e,t){var i,r=this.getTagSetting(e);return r!==I?r:(i=this.mergedOptions[e])===n?t:i}}),i.fn.sparkline._base=a({disabled:!1,init:function(e,t,r,a,o){this.el=e,this.$el=i(e),this.values=t,this.options=r,this.width=a,this.height=o,this.currentRegion=n},initTarget:function(){var e=!this.options.get("disableInteraction");(this.target=this.$el.simpledraw(this.width,this.height,this.options.get("composite"),e))?(this.canvasWidth=this.target.pixelWidth,this.canvasHeight=this.target.pixelHeight):this.disabled=!0},render:function(){return!this.disabled||(this.el.innerHTML="",!1)},getRegion:function(e,t){},setRegionHighlight:function(e,t,i){var r,a=this.currentRegion,o=!this.options.get("disableHighlight");return t>this.canvasWidth||i>this.canvasHeight||t<0||i<0?null:(r=this.getRegion(e,t,i),a!==r&&(a!==n&&o&&this.removeHighlight(),this.currentRegion=r,r!==n&&o&&this.renderHighlight(),!0))},clearRegionHighlight:function(){return this.currentRegion!==n&&(this.removeHighlight(),this.currentRegion=n,!0)},renderHighlight:function(){this.changeHighlight(!0)},removeHighlight:function(){this.changeHighlight(!1)},changeHighlight:function(e){},getCurrentRegionTooltip:function(){var e,t,r,a,s,l,u,d,c,h,f,p,m,_,g=this.options,y="",v=[];if(this.currentRegion===n)return"";if(e=this.getCurrentRegionFields(),f=g.get("tooltipFormatter"))return f(this,g,e);if(g.get("tooltipChartTitle")&&(y+='<div class="jqs jqstitle">'+g.get("tooltipChartTitle")+"</div>\n"),t=this.options.get("tooltipFormat"),!t)return"";if(i.isArray(t)||(t=[t]),i.isArray(e)||(e=[e]),u=this.options.get("tooltipFormatFieldlist"),d=this.options.get("tooltipFormatFieldlistKey"),u&&d){for(c=[],l=e.length;l--;)h=e[l][d],(_=i.inArray(h,u))!=-1&&(c[_]=e[l]);e=c}for(r=t.length,m=e.length,l=0;l<r;l++)for(p=t[l],"string"==typeof p&&(p=new o(p)),a=p.fclass||"jqsfield",_=0;_<m;_++)e[_].isNull&&g.get("tooltipSkipNull")||(i.extend(e[_],{prefix:g.get("tooltipPrefix"),suffix:g.get("tooltipSuffix")}),s=p.render(e[_],g.get("tooltipValueLookups"),g),v.push('<div class="'+a+'">'+s+"</div>"));return v.length?y+v.join("\n"):""},getCurrentRegionFields:function(){},calcHighlightColor:function(e,n){var i,r,a,o,l=n.get("highlightColor"),u=n.get("highlightLighten");if(l)return l;if(u&&(i=/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i.exec(e)||/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e))){for(a=[],r=4===e.length?16:1,o=0;o<3;o++)a[o]=s(t.round(parseInt(i[o+1],16)*r*u),0,255);return"rgb("+a.join(",")+")"}return e}}),M={changeHighlight:function(e){var t,n=this.currentRegion,r=this.target,a=this.regionShapes[n];a&&(t=this.renderRegion(n,e),i.isArray(t)||i.isArray(a)?(r.replaceWithShapes(a,t),this.regionShapes[n]=i.map(t,function(e){return e.id})):(r.replaceWithShape(a,t),this.regionShapes[n]=t.id))},render:function(){var e,t,n,r,a=this.values,o=this.target,s=this.regionShapes;if(this.cls._super.render.call(this)){for(n=a.length;n--;)if(e=this.renderRegion(n))if(i.isArray(e)){for(t=[],r=e.length;r--;)e[r].append(),t.push(e[r].id);s[n]=t}else e.append(),s[n]=e.id;else s[n]=null;o.render()}}},i.fn.sparkline.line=w=a(i.fn.sparkline._base,{type:"line",init:function(e,t,n,i,r){w._super.init.call(this,e,t,n,i,r),this.vertices=[],this.regionMap=[],this.xvalues=[],this.yvalues=[],this.yminmax=[],this.hightlightSpotId=null,this.lastShapeId=null,this.initTarget()},getRegion:function(e,t,i){var r,a=this.regionMap;for(r=a.length;r--;)if(null!==a[r]&&t>=a[r][0]&&t<=a[r][1])return a[r][2];return n},getCurrentRegionFields:function(){var e=this.currentRegion;return{isNull:null===this.yvalues[e],x:this.xvalues[e],y:this.yvalues[e],color:this.options.get("lineColor"),fillColor:this.options.get("fillColor"),offset:e}},renderHighlight:function(){var e,t,i=this.currentRegion,r=this.target,a=this.vertices[i],o=this.options,s=o.get("spotRadius"),l=o.get("highlightSpotColor"),u=o.get("highlightLineColor");a&&(s&&l&&(e=r.drawCircle(a[0],a[1],s,n,l),this.highlightSpotId=e.id,r.insertAfterShape(this.lastShapeId,e)),u&&(t=r.drawLine(a[0],this.canvasTop,a[0],this.canvasTop+this.canvasHeight,u),this.highlightLineId=t.id,r.insertAfterShape(this.lastShapeId,t)))},removeHighlight:function(){var e=this.target;this.highlightSpotId&&(e.removeShapeId(this.highlightSpotId),this.highlightSpotId=null),this.highlightLineId&&(e.removeShapeId(this.highlightLineId),this.highlightLineId=null)},scanValues:function(){var e,n,i,r,a,o=this.values,s=o.length,l=this.xvalues,u=this.yvalues,d=this.yminmax;for(e=0;e<s;e++)n=o[e],i="string"==typeof o[e],r="object"==typeof o[e]&&o[e]instanceof Array,a=i&&o[e].split(":"),i&&2===a.length?(l.push(Number(a[0])),u.push(Number(a[1])),d.push(Number(a[1]))):r?(l.push(n[0]),u.push(n[1]),d.push(n[1])):(l.push(e),null===o[e]||"null"===o[e]?u.push(null):(u.push(Number(n)),d.push(Number(n))));this.options.get("xvalues")&&(l=this.options.get("xvalues")),this.maxy=this.maxyorg=t.max.apply(t,d),this.miny=this.minyorg=t.min.apply(t,d),this.maxx=t.max.apply(t,l),this.minx=t.min.apply(t,l),this.xvalues=l,this.yvalues=u,this.yminmax=d},processRangeOptions:function(){var e=this.options,t=e.get("normalRangeMin"),i=e.get("normalRangeMax");t!==n&&(t<this.miny&&(this.miny=t),i>this.maxy&&(this.maxy=i)),e.get("chartRangeMin")!==n&&(e.get("chartRangeClip")||e.get("chartRangeMin")<this.miny)&&(this.miny=e.get("chartRangeMin")),e.get("chartRangeMax")!==n&&(e.get("chartRangeClip")||e.get("chartRangeMax")>this.maxy)&&(this.maxy=e.get("chartRangeMax")),e.get("chartRangeMinX")!==n&&(e.get("chartRangeClipX")||e.get("chartRangeMinX")<this.minx)&&(this.minx=e.get("chartRangeMinX")),e.get("chartRangeMaxX")!==n&&(e.get("chartRangeClipX")||e.get("chartRangeMaxX")>this.maxx)&&(this.maxx=e.get("chartRangeMaxX"))},drawNormalRange:function(e,i,r,a,o){var s=this.options.get("normalRangeMin"),l=this.options.get("normalRangeMax"),u=i+t.round(r-r*((l-this.miny)/o)),d=t.round(r*(l-s)/o);this.target.drawRect(e,u,a,d,n,this.options.get("normalRangeColor")).append()},render:function(){var e,r,a,o,s,l,u,d,c,h,f,p,m,_,g,v,b,M,k,L,x,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,e=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&&(A<4*E||j<4*E)&&(E=0),E&&(x=C.get("highlightSpotColor")&&!C.get("disableInteraction"),(x||C.get("minSpotColor")||C.get("spotColor")&&Y[a]===this.miny)&&(j-=t.ceil(E)),(x||C.get("maxSpotColor")||C.get("spotColor")&&Y[a]===this.maxy)&&(j-=t.ceil(E),o+=t.ceil(E)),(x||(C.get("minSpotColor")||C.get("maxSpotColor"))&&(Y[0]===this.miny||Y[0]===this.maxy))&&(s+=t.ceil(E),A-=t.ceil(E)),(x||C.get("spotColor")||C.get("minSpotColor")||C.get("maxSpotColor")&&(Y[a]===this.miny||Y[a]===this.maxy))&&(A-=t.ceil(E))),j--,C.get("normalRangeMin")===n||C.get("drawNormalOnTop")||this.drawNormalRange(s,o,j,A,r),u=[],d=[u],_=g=null,v=Y.length,S=0;S<v;S++)c=T[S],f=T[S+1],h=Y[S],p=s+t.round((c-this.minx)*(A/e)),m=S<v-1?s+t.round((f-this.minx)*(A/e)):A,g=p+(m-p)/2,I[S]=[_||0,g,S],_=g,null===h?S&&(null!==Y[S-1]&&(u=[],d.push(u)),P.push(null)):(h<this.miny&&(h=this.miny),h>this.maxy&&(h=this.maxy),u.length||u.push([p,o+j]),l=[p,o+t.round(j-j*((h-this.miny)/r))],u.push(l),P.push(l));for(b=[],M=[],k=d.length,S=0;S<k;S++)u=d[S],u.length&&(C.get("fillColor")&&(u.push([u[u.length-1][0],o+j]),M.push(u.slice(0)),u.pop()),u.length>2&&(u[0]=[u[0][0],u[1][1]]),b.push(u));for(k=M.length,S=0;S<k;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;S<k;S++)H.drawShape(b[S],C.get("lineColor"),n,C.get("lineWidth")).append();if(E&&C.get("valueSpots"))for(L=C.get("valueSpots"),L.get===n&&(L=new y(L)),S=0;S<v;S++)D=L.get(Y[S]),D&&H.drawCircle(s+t.round((T[S]-this.minx)*(A/e)),o+t.round(j-j*((Y[S]-this.miny)/r)),E,n,D).append();E&&C.get("spotColor")&&null!==Y[a]&&H.drawCircle(s+t.round((T[T.length-1]-this.minx)*(A/e)),o+t.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+t.round((c-this.minx)*(A/e)),o+t.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+t.round((c-this.minx)*(A/e)),o+t.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(e,r,a,o,l){var h,f,p,m,_,g,v,b,M,w,L,x,D,T,Y,S,C,H,A,j,P,E,I=parseInt(a.get("barWidth"),10),F=parseInt(a.get("barSpacing"),10),O=a.get("chartRangeMin"),W=a.get("chartRangeMax"),R=a.get("chartRangeClip"),N=1/0,z=-(1/0);for(k._super.init.call(this,e,r,a,o,l),g=0,v=r.length;g<v;g++)j=r[g],h="string"==typeof j&&j.indexOf(":")>-1,(h||i.isArray(j))&&(Y=!0,h&&(j=r[g]=d(j.split(":"))),j=c(j,null),f=t.min.apply(t,j),p=t.max.apply(t,j),f<N&&(N=f),p>z&&(z=p));this.stacked=Y,this.regionShapes={},this.barWidth=I,this.barSpacing=F,this.totalBarWidth=I+F,this.width=o=r.length*I+(r.length-1)*F,this.initTarget(),R&&(D=O===n?-(1/0):O,T=W===n?1/0:W),_=[],m=Y?[]:_;var B=[],$=[];for(g=0,v=r.length;g<v;g++)if(Y)for(S=r[g],r[g]=A=[],B[g]=0,m[g]=$[g]=0,C=0,H=S.length;C<H;C++)j=A[C]=R?s(S[C],D,T):S[C],null!==j&&(j>0&&(B[g]+=j),N<0&&z>0?j<0?$[g]+=t.abs(j):m[g]+=j:m[g]+=t.abs(j-(j<0?z:N)),_.push(j));else j=R?s(r[g],D,T):r[g],j=r[g]=u(j),null!==j&&_.push(j);this.max=x=t.max.apply(t,_),this.min=L=t.min.apply(t,_),this.stackMax=z=Y?t.max.apply(t,B):x,this.stackMin=N=Y?t.min.apply(t,_):L,a.get("chartRangeMin")!==n&&(a.get("chartRangeClip")||a.get("chartRangeMin")<L)&&(L=a.get("chartRangeMin")),a.get("chartRangeMax")!==n&&(a.get("chartRangeClip")||a.get("chartRangeMax")>x)&&(x=a.get("chartRangeMax")),this.zeroAxis=M=a.get("zeroAxis",!0),w=L<=0&&x>=0&&M?0:0==M?L:L>0?L:x,this.xaxisOffset=w,b=Y?t.max.apply(t,m)+t.max.apply(t,$):x-L,this.canvasHeightEf=M&&L<0?this.canvasHeight-2:this.canvasHeight-1,L<w?(E=Y&&x>=0?z:x,P=(E-w)/b*this.canvasHeight,P!==t.ceil(P)&&(this.canvasHeightEf-=2,P=t.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(e,i,r){var a=t.floor(i/this.totalBarWidth);return a<0||a>=this.values.length?n:a},getCurrentRegionFields:function(){var e,t,n=this.currentRegion,i=_(this.values[n]),r=[];for(t=i.length;t--;)e=i[t],r.push({isNull:null===e,value:e,color:this.calcColor(t,e,n),offset:n});return r},calcColor:function(e,t,r){var a,o,s=this.colorMapByIndex,l=this.colorMapByValue,u=this.options;return a=this.stacked?u.get("stackedBarColor"):t<0?u.get("negBarColor"):u.get("barColor"),0===t&&u.get("zeroColor")!==n&&(a=u.get("zeroColor")),l&&(o=l.get(t))?a=o:s&&s.length>r&&(a=s[r]),i.isArray(a)?a[e%a.length]:a},renderRegion:function(e,r){var a,o,s,l,u,d,c,h,p,m,_=this.values[e],g=this.options,y=this.xaxisOffset,v=[],b=this.range,M=this.stacked,w=this.target,k=e*this.totalBarWidth,L=this.canvasHeightEf,x=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=x>0?x-1:x,w.drawRect(k,a,this.barWidth-1,0,s,s)):n;for(u=x,d=0;d<c;d++){if(h=_[d],M&&h===y){if(!m||p)continue;p=!0}o=b>0?t.floor(L*(t.abs(h-y)/b))+1:1,h<y||h===y&&0===x?(a=u,u+=o):(a=x-o,x-=o),s=this.calcColor(d,h,e),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=L=a(i.fn.sparkline._base,M,{type:"tristate",init:function(e,t,r,a,o){var s=parseInt(r.get("barWidth"),10),l=parseInt(r.get("barSpacing"),10);L._super.init.call(this,e,t,r,a,o),this.regionShapes={},this.barWidth=s,this.barSpacing=l,this.totalBarWidth=s+l,this.values=i.map(t,Number),this.width=a=t.length*s+(t.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(e,n,i){return t.floor(n/this.totalBarWidth)},getCurrentRegionFields:function(){var e=this.currentRegion;return{isNull:this.values[e]===n,value:this.values[e],color:this.calcColor(this.values[e],e),offset:e}},calcColor:function(e,t){var n,i,r=this.values,a=this.options,o=this.colorMapByIndex,s=this.colorMapByValue;return n=s&&(i=s.get(e))?i:o&&o.length>t?o[t]:r[t]<0?a.get("negBarColor"):r[t]>0?a.get("posBarColor"):a.get("zeroBarColor")},renderRegion:function(e,n){var i,r,a,o,s,l,u=this.values,d=this.options,c=this.target;if(i=c.pixelHeight,a=t.round(i/2),o=e*this.totalBarWidth,u[e]<0?(s=a,r=a-1):u[e]>0?(s=0,r=a-1):(s=a-1,r=2),l=this.calcColor(u[e],e),null!==l)return n&&(l=this.calcHighlightColor(l,d)),c.drawRect(o,s,this.barWidth-1,r-1,l,l)}}),i.fn.sparkline.discrete=x=a(i.fn.sparkline._base,M,{type:"discrete",init:function(e,r,a,o,s){x._super.init.call(this,e,r,a,o,s),this.regionShapes={},this.values=r=i.map(r,Number),this.min=t.min.apply(t,r),this.max=t.max.apply(t,r),this.range=this.max-this.min,this.width=o="auto"===a.get("width")?2*r.length:this.width,this.interval=t.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")?t.round(.3*this.canvasHeight):a.get("lineHeight"))},getRegion:function(e,n,i){return t.floor(n/this.itemWidth)},getCurrentRegionFields:function(){var e=this.currentRegion;return{isNull:this.values[e]===n,value:this.values[e],offset:e}},renderRegion:function(e,n){var i,r,a,o,l=this.values,u=this.options,d=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[e],d,c),o=e*f,i=t.round(g-g*((r-d)/h)),a=u.get("thresholdColor")&&r<u.get("thresholdValue")?u.get("thresholdColor"):u.get("lineColor"),n&&(a=this.calcHighlightColor(a,u)),p.drawLine(o,i,o,i+_,a)}}),i.fn.sparkline.bullet=D=a(i.fn.sparkline._base,{type:"bullet",init:function(e,i,r,a,o){var s,l,u;D._super.init.call(this,e,i,r,a,o),this.values=i=d(i),u=i.slice(),u[0]=null===u[0]?u[2]:u[0],u[1]=null===i[1]?u[2]:u[1],s=t.min.apply(t,i),l=t.max.apply(t,i),s=r.get("base")===n?s<0?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(e,t,i){var r=this.target.getShapeAt(e,t,i);return r!==n&&this.shapes[r]!==n?this.shapes[r]:n},getCurrentRegionFields:function(){var e=this.currentRegion;return{fieldkey:e.substr(0,1),value:this.values[e.substr(1)],region:e}},changeHighlight:function(e){
|
||
var t,n=this.currentRegion,i=this.valueShapes[n];switch(delete this.shapes[i],n.substr(0,1)){case"r":t=this.renderRange(n.substr(1),e);break;case"p":t=this.renderPerformance(e);break;case"t":t=this.renderTarget(e)}this.valueShapes[n]=t.id,this.shapes[t.id]=n,this.target.replaceWithShape(i,t)},renderRange:function(e,n){var i=this.values[e],r=t.round(this.canvasWidth*((i-this.min)/this.range)),a=this.options.get("rangeColors")[e-2];return n&&(a=this.calcHighlightColor(a,this.options)),this.target.drawRect(0,0,r-1,this.canvasHeight-1,a,a)},renderPerformance:function(e){var n=this.values[1],i=t.round(this.canvasWidth*((n-this.min)/this.range)),r=this.options.get("performanceColor");return e&&(r=this.calcHighlightColor(r,this.options)),this.target.drawRect(0,t.round(.3*this.canvasHeight),i-1,t.round(.4*this.canvasHeight)-1,r,r)},renderTarget:function(e){var n=this.values[0],i=t.round(this.canvasWidth*((n-this.min)/this.range)-this.options.get("targetWidth")/2),r=t.round(.1*this.canvasHeight),a=this.canvasHeight-2*r,o=this.options.get("targetColor");return e&&(o=this.calcHighlightColor(o,this.options)),this.target.drawRect(i,r,this.options.get("targetWidth")-1,a-1,o,o)},render:function(){var e,t,n=this.values.length,i=this.target;if(D._super.render.call(this)){for(e=2;e<n;e++)t=this.renderRange(e).append(),this.shapes[t.id]="r"+e,this.valueShapes["r"+e]=t.id;null!==this.values[1]&&(t=this.renderPerformance().append(),this.shapes[t.id]="p1",this.valueShapes.p1=t.id),null!==this.values[0]&&(t=this.renderTarget().append(),this.shapes[t.id]="t0",this.valueShapes.t0=t.id),i.render()}}}),i.fn.sparkline.pie=T=a(i.fn.sparkline._base,{type:"pie",init:function(e,n,r,a,o){var s,l=0;if(T._super.init.call(this,e,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=t.floor(t.min(this.canvasWidth,this.canvasHeight)/2)},getRegion:function(e,t,i){var r=this.target.getShapeAt(e,t,i);return r!==n&&this.shapes[r]!==n?this.shapes[r]:n},getCurrentRegionFields:function(){var e=this.currentRegion;return{isNull:this.values[e]===n,value:this.values[e],percent:this.values[e]/this.total*100,color:this.options.get("sliceColors")[e%this.options.get("sliceColors").length],offset:e}},changeHighlight:function(e){var t=this.currentRegion,n=this.renderSlice(t,e),i=this.valueShapes[t];delete this.shapes[i],this.target.replaceWithShape(i,n),this.valueShapes[t]=n.id,this.shapes[n.id]=t},renderSlice:function(e,i){var r,a,o,s,l,u=this.target,d=this.options,c=this.radius,h=d.get("borderWidth"),f=d.get("offset"),p=2*t.PI,m=this.values,_=this.total,g=f?2*t.PI*(f/360):0;for(s=m.length,o=0;o<s;o++){if(r=g,a=g,_>0&&(a=g+p*(m[o]/_)),e===o)return l=d.get("sliceColors")[o%d.get("sliceColors").length],i&&(l=this.calcHighlightColor(l,d)),u.drawPieSlice(c,c,c-h,r,a,n,l);g=a}},render:function(){var e,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,t.floor(s-l/2),o.get("borderColor"),n,l).append(),i=a.length;i--;)a[i]&&(e=this.renderSlice(i).append(),this.valueShapes[i]=e.id,this.shapes[e.id]=i);r.render()}}}),i.fn.sparkline.box=Y=a(i.fn.sparkline._base,{type:"box",init:function(e,t,n,r,a){Y._super.init.call(this,e,t,n,r,a),this.values=i.map(t,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 e=[{field:"lq",value:this.quartiles[0]},{field:"med",value:this.quartiles[1]},{field:"uq",value:this.quartiles[2]}];return this.loutlier!==n&&e.push({field:"lo",value:this.loutlier}),this.routlier!==n&&e.push({field:"ro",value:this.routlier}),this.lwhisker!==n&&e.push({field:"lw",value:this.lwhisker}),this.rwhisker!==n&&e.push({field:"rw",value:this.rwhisker}),e},render:function(){var e,i,r,a,o,s,u,d,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?t.min.apply(t,m):g.get("chartRangeMin"),M=g.get("chartRangeMax")===n?t.max.apply(t,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],e=m[1],a=m[2],o=m[3],s=m[4],u=m[5],d=m[6]):(e=m[0],a=m[1],o=m[2],s=m[3],u=m[4]);else if(m.sort(function(e,t){return e-t}),a=l(m,1),o=l(m,2),s=l(m,3),r=s-a,g.get("showOutliers")){for(e=u=n,c=0;c<_;c++)e===n&&m[c]>a-r*g.get("outlierIQR")&&(e=m[c]),m[c]<s+r*g.get("outlierIQR")&&(u=m[c]);i=m[0],d=m[_-1]}else e=m[0],u=m[_-1];this.quartiles=[a,o,s],this.lwhisker=e,this.rwhisker=u,this.loutlier=i,this.routlier=d,f=y/(M-b+1),g.get("showOutliers")&&(w=t.ceil(g.get("spotRadius")),y-=2*t.ceil(g.get("spotRadius")),f=y/(M-b+1),i<e&&p.drawCircle((i-b)*f+w,v/2,g.get("spotRadius"),g.get("outlierLineColor"),g.get("outlierFillColor")).append(),d>u&&p.drawCircle((d-b)*f+w,v/2,g.get("spotRadius"),g.get("outlierLineColor"),g.get("outlierFillColor")).append()),p.drawRect(t.round((a-b)*f+w),t.round(.1*v),t.round((s-a)*f),t.round(.8*v),g.get("boxLineColor"),g.get("boxFillColor")).append(),p.drawLine(t.round((e-b)*f+w),t.round(v/2),t.round((a-b)*f+w),t.round(v/2),g.get("lineColor")).append(),p.drawLine(t.round((e-b)*f+w),t.round(v/4),t.round((e-b)*f+w),t.round(v-v/4),g.get("whiskerColor")).append(),p.drawLine(t.round((u-b)*f+w),t.round(v/2),t.round((s-b)*f+w),t.round(v/2),g.get("lineColor")).append(),p.drawLine(t.round((u-b)*f+w),t.round(v/4),t.round((u-b)*f+w),t.round(v-v/4),g.get("whiskerColor")).append(),p.drawLine(t.round((o-b)*f+w),t.round(.1*v),t.round((o-b)*f+w),t.round(.9*v),g.get("medianColor")).append(),g.get("target")&&(h=t.ceil(g.get("spotRadius")),p.drawLine(t.round((g.get("target")-b)*f+w),t.round(v/2-h),t.round((g.get("target")-b)*f+w),t.round(v/2+h),g.get("targetColor")).append(),p.drawLine(t.round((g.get("target")-b)*f+w-h),t.round(v/2),t.round((g.get("target")-b)*f+w+h),t.round(v/2),g.get("targetColor")).append()),p.render()}}}),H=a({init:function(e,t,n,i){this.target=e,this.id=t,this.type=n,this.args=i},append:function(){return this.target.appendShape(this),this}}),A=a({_pxregex:/(\d+)(px)?\s*$/i,init:function(e,t,n){e&&(this.width=e,this.height=t,this.target=n,this.lastShapeId=null,n[0]&&(n=n[0]),i.data(n,"_jqs_vcanvas",this))},drawLine:function(e,t,n,i,r,a){return this.drawShape([[e,t],[n,i]],r,a)},drawShape:function(e,t,n,i){return this._genShape("Shape",[e,t,n,i])},drawCircle:function(e,t,n,i,r,a){return this._genShape("Circle",[e,t,n,i,r,a])},drawPieSlice:function(e,t,n,i,r,a,o){return this._genShape("PieSlice",[e,t,n,i,r,a,o])},drawRect:function(e,t,n,i,r,a){return this._genShape("Rect",[e,t,n,i,r,a])},getElement:function(){return this.canvas},getLastShapeId:function(){return this.lastShapeId},reset:function(){alert("reset not implemented")},_insert:function(e,t){i(t).html(e)},_calculatePixelDims:function(e,t,n){var r;r=this._pxregex.exec(t),r?this.pixelHeight=r[1]:this.pixelHeight=i(n).height(),r=this._pxregex.exec(e),r?this.pixelWidth=r[1]:this.pixelWidth=i(n).width()},_genShape:function(e,t){var n=F++;return t.unshift(n),new H(this,n,e,t)},appendShape:function(e){alert("appendShape not implemented")},replaceWithShape:function(e,t){alert("replaceWithShape not implemented")},insertAfterShape:function(e,t){alert("insertAfterShape not implemented")},removeShapeId:function(e){alert("removeShapeId not implemented")},getShapeAt:function(e,t,n){alert("getShapeAt not implemented")},render:function(){alert("render not implemented")}}),j=a(A,{init:function(t,r,a,o){j._super.init.call(this,t,r,a),this.canvas=e.createElement("canvas"),a[0]&&(a=a[0]),i.data(a,"_jqs_vcanvas",this),i(this.canvas).css({display:"inline-block",width:t,height:r,verticalAlign:"top"}),this._insert(this.canvas,a),this._calculatePixelDims(t,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(e,t,i){var r=this.canvas.getContext("2d");return e!==n&&(r.strokeStyle=e),r.lineWidth=i===n?1:i,t!==n&&(r.fillStyle=t),r},reset:function(){var e=this._getContext();e.clearRect(0,0,this.pixelWidth,this.pixelHeight),this.shapes={},this.shapeseq=[],this.currentTargetShapeId=n},_drawShape:function(e,t,i,r,a){var o,s,l=this._getContext(i,r,a);for(l.beginPath(),l.moveTo(t[0][0]+.5,t[0][1]+.5),o=1,s=t.length;o<s;o++)l.lineTo(t[o][0]+.5,t[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=e)},_drawCircle:function(e,i,r,a,o,s,l){var u=this._getContext(o,s,l);u.beginPath(),u.arc(i,r,a,0,2*t.PI,!1),this.targetX!==n&&this.targetY!==n&&u.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=e),o!==n&&u.stroke(),s!==n&&u.fill()},_drawPieSlice:function(e,t,i,r,a,o,s,l){var u=this._getContext(s,l);u.beginPath(),u.moveTo(t,i),u.arc(t,i,r,a,o,!1),u.lineTo(t,i),u.closePath(),s!==n&&u.stroke(),l&&u.fill(),this.targetX!==n&&this.targetY!==n&&u.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=e)},_drawRect:function(e,t,n,i,r,a,o){return this._drawShape(e,[[t,n],[t+i,n],[t+i,n+r],[t,n+r],[t,n]],a,o)},appendShape:function(e){return this.shapes[e.id]=e,this.shapeseq.push(e.id),this.lastShapeId=e.id,e.id},replaceWithShape:function(e,t){var n,i=this.shapeseq;for(this.shapes[t.id]=t,n=i.length;n--;)i[n]==e&&(i[n]=t.id);delete this.shapes[e]},replaceWithShapes:function(e,t){var n,i,r,a=this.shapeseq,o={};for(i=e.length;i--;)o[e[i]]=!0;for(i=a.length;i--;)n=a[i],o[n]&&(a.splice(i,1),delete this.shapes[n],r=i);for(i=t.length;i--;)a.splice(r,0,t[i].id),this.shapes[t[i].id]=t[i]},insertAfterShape:function(e,t){var n,i=this.shapeseq;for(n=i.length;n--;)if(i[n]===e)return i.splice(n+1,0,t.id),void(this.shapes[t.id]=t)},removeShapeId:function(e){var t,n=this.shapeseq;for(t=n.length;t--;)if(n[t]===e){n.splice(t,1);break}delete this.shapes[e]},getShapeAt:function(e,t,n){return this.targetX=t,this.targetY=n,this.render(),this.currentTargetShapeId},render:function(){var e,t,n,i=this.shapeseq,r=this.shapes,a=i.length,o=this._getContext();for(o.clearRect(0,0,this.pixelWidth,this.pixelHeight),n=0;n<a;n++)e=i[n],t=r[e],this["_draw"+t.type].apply(this,t.args);this.interact||(this.shapes={},this.shapeseq=[])}}),P=a(A,{init:function(t,n,r){var a;P._super.init.call(this,t,n,r),r[0]&&(r=r[0]),i.data(r,"_jqs_vcanvas",this),this.canvas=e.createElement("span"),i(this.canvas).css({display:"inline-block",position:"relative",overflow:"hidden",width:t,height:n,margin:"0px",padding:"0px",verticalAlign:"top"}),this._insert(this.canvas,r),this._calculatePixelDims(t,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(e,t,i,r,a){var o,s,l,u,d,c,h,f=[];for(h=0,c=t.length;h<c;h++)f[h]=""+t[h][0]+","+t[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" ',u=f[0]===f[f.length-1]?"x ":"",d='<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" id="jqsshape'+e+'" '+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(", ")+" "+u+'e"> </v:shape>'},_drawCircle:function(e,t,i,r,a,o,s){var l,u,d;return t-=r,i-=r,l=a===n?' stroked="false" ':' strokeWeight="'+s+'px" strokeColor="'+a+'" ',u=o===n?' filled="false"':' fillColor="'+o+'" filled="true" ',d='<v:oval id="jqsshape'+e+'" '+l+u+' style="position:absolute;top:'+i+"px; left:"+t+"px; width:"+2*r+"px; height:"+2*r+'px"></v:oval>'},_drawPieSlice:function(e,i,r,a,o,s,l,u){var d,c,h,f,p,m,_,g;if(o===s)return"";if(s-o===2*t.PI&&(o=0,s=2*t.PI),c=i+t.round(t.cos(o)*a),h=r+t.round(t.sin(o)*a),f=i+t.round(t.cos(s)*a),p=r+t.round(t.sin(s)*a),c===f&&h===p){if(s-o<t.PI)return"";c=f=i+a,h=p=r}return c===f&&h===p&&s-o<t.PI?"":(d=[i-a,r-a,i+a,r+a,c,h,f,p],m=l===n?' stroked="false" ':' strokeWeight="1px" strokeColor="'+l+'" ',_=u===n?' filled="false"':' fillColor="'+u+'" filled="true" ',g='<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" id="jqsshape'+e+'" '+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 "+d.join(", ")+' x e"> </v:shape>')},_drawRect:function(e,t,n,i,r,a,o){return this._drawShape(e,[[t,n],[t,n+r],[t+i,n+r],[t+i,n],[t,n]],a,o)},reset:function(){this.group.innerHTML=""},appendShape:function(e){var t=this["_draw"+e.type].apply(this,e.args);return this.rendered?this.group.insertAdjacentHTML("beforeEnd",t):this.prerender+=t,this.lastShapeId=e.id,e.id},replaceWithShape:function(e,t){var n=i("#jqsshape"+e),r=this["_draw"+t.type].apply(this,t.args);n[0].outerHTML=r},replaceWithShapes:function(e,t){var n,r=i("#jqsshape"+e[0]),a="",o=t.length;for(n=0;n<o;n++)a+=this["_draw"+t[n].type].apply(this,t[n].args);for(r[0].outerHTML=a,n=1;n<e.length;n++)i("#jqsshape"+e[n]).remove()},insertAfterShape:function(e,t){var n=i("#jqsshape"+e),r=this["_draw"+t.type].apply(this,t.args);n[0].insertAdjacentHTML("afterEnd",r)},removeShapeId:function(e){var t=i("#jqsshape"+e);this.group.removeChild(t[0])},getShapeAt:function(e,t,n){var i=e.id.substr(8);return i},render:function(){this.rendered||(this.group.innerHTML=this.prerender,this.rendered=!0)}})})}(document,Math),!function(e,t,n){"use strict";!function i(e,t,n){function r(o,s){if(!t[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(a)return a(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var d=t[o]={exports:{}};e[o][0].call(d.exports,function(t){var n=e[o][1][t];return r(n?n:t)},d,d.exports,i,e,t,n)}return t[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(e){return e&&e.__esModule?e:{"default":e}};Object.defineProperty(a,"__esModule",{value:!0});var s,l,u,d,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"]=u=d=function(){function i(e){var t=r;return t[e]===n?y["default"][e]:t[e]}var r=arguments[0];if(c.addClass(t.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 u=f.getModal(),m=u.querySelectorAll("button"),g=["onclick","onmouseover","onmouseout","onmousedown","onmouseup","onfocus"],v=function(e){return p.handleButton(e,a,u)},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=e.onkeydown;var L=function(e){return _["default"](e,a,u)};e.onkeydown=L,e.onfocus=function(){setTimeout(function(){l!==n&&(l.focus(),l=n)},0)},d.enableButtons()},u.setDefaults=d.setDefaults=function(e){if(!e)throw new Error("userParams is required");if("object"!=typeof e)throw new Error("userParams has to be a object");h.extend(y["default"],e)},u.close=d.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 e=i.getAttribute("data-custom-class");c.removeClass(i,e)},300),c.removeClass(t.body,"stop-scrolling"),e.onkeydown=s,e.previousActiveElement&&e.previousActiveElement.focus(),l=n,clearTimeout(i.timeout),!0},u.showInputError=d.showInputError=function(e){var t=f.getModal(),n=t.querySelector(".sa-input-error");c.addClass(n,"show");var i=t.querySelector(".sa-error-container");c.addClass(i,"show"),i.querySelector("p").innerHTML=e,setTimeout(function(){u.enableButtons()},1),t.querySelector("input").focus()},u.resetInputError=d.resetInputError=function(e){if(e&&13===e.keyCode)return!1;var t=f.getModal(),n=t.querySelector(".sa-input-error");c.removeClass(n,"show");var i=t.querySelector(".sa-error-container");c.removeClass(i,"show")},u.disableButtons=d.disableButtons=function(){var e=f.getModal(),t=e.querySelector("button.confirm"),n=e.querySelector("button.cancel");t.disabled=!0,n.disabled=!0},u.enableButtons=d.enableButtons=function(){var e=f.getModal(),t=e.querySelector("button.confirm"),n=e.querySelector("button.cancel");t.disabled=!1,n.disabled=!1},"undefined"!=typeof e?e.sweetAlert=e.swal=u: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(e,t,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,t.exports=n["default"]},{}],3:[function(t,n,i){Object.defineProperty(i,"__esModule",{value:!0});var r=t("./utils"),a=(t("./handle-swal-dom"),t("./handle-dom")),o=function(t,n,i){function o(e){p&&n.confirmButtonColor&&(f.style.backgroundColor=e)}var u,d,c,h=t||e.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&&(u=n.confirmButtonColor,d=r.colorLuminance(u,-.04),c=r.colorLuminance(u,-.14)),h.type){case"mouseover":o(d);break;case"mouseout":o(u);break;case"mousedown":o(c);break;case"mouseup":o(d);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(e,t){var n=!0;a.hasClass(e,"show-input")&&(n=e.querySelector("input").value,n||(n="")),t.doneFunction(n),t.closeOnConfirm&&sweetAlert.close(),t.showLoaderOnConfirm&&sweetAlert.disableButtons()},l=function(e,t){var n=String(t.doneFunction).replace(/\s/g,""),i="function("===n.substring(0,9)&&")"!==n.substring(9,10);i&&t.doneFunction(!1),t.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(e,t){return new RegExp(" "+t+" ").test(" "+e.className+" ")},o=function(e,t){a(e,t)||(e.className+=" "+t)},s=function(e,t){var n=" "+e.className.replace(/[\t\r\n]/g," ")+" ";if(a(e,t)){for(;n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},l=function(e){var n=t.createElement("div");return n.appendChild(t.createTextNode(e)),n.innerHTML},u=function(e){e.style.opacity="",e.style.display="block"},d=function(e){if(e&&!e.length)return u(e);for(var t=0;t<e.length;++t)u(e[t])},c=function(e){e.style.opacity="",e.style.display="none"},h=function(e){if(e&&!e.length)return c(e);for(var t=0;t<e.length;++t)c(e[t])},f=function(e,t){for(var n=t.parentNode;null!==n;){if(n===e)return!0;n=n.parentNode}return!1},p=function(e){e.style.left="-9999px",e.style.display="block";var t,n=e.clientHeight;return t="undefined"!=typeof getComputedStyle?parseInt(getComputedStyle(e).getPropertyValue("padding-top"),10):parseInt(e.currentStyle.padding),e.style.left="",e.style.display="none","-"+parseInt((n+t)/2)+"px"},m=function(e,t){if(+e.style.opacity<1){t=t||16,e.style.opacity=0,e.style.display="block";var n=+new Date,i=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){e.style.opacity=+e.style.opacity+(new Date-n)/100,n=+new Date,+e.style.opacity<1&&setTimeout(i,t)});i()}e.style.display="block"},_=function(e,t){t=t||16,e.style.opacity=1;var n=+new Date,i=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){e.style.opacity=+e.style.opacity-(new Date-n)/100,n=+new Date,+e.style.opacity>0?setTimeout(i,t):e.style.display="none"});i()},g=function(n){if("function"==typeof MouseEvent){var i=new MouseEvent("click",{view:e,bubbles:!1,cancelable:!0});n.dispatchEvent(i)}else if(t.createEvent){var r=t.createEvent("MouseEvents");r.initEvent("click",!1,!1),n.dispatchEvent(r)}else t.createEventObject?n.fireEvent("onclick"):"function"==typeof n.onclick&&n.onclick()},y=function(t){"function"==typeof t.stopPropagation?(t.stopPropagation(),t.preventDefault()):e.event&&e.event.hasOwnProperty("cancelBubble")&&(e.event.cancelBubble=!0)};r.hasClass=a,r.addClass=o,r.removeClass=s,r.escapeHtml=l,r._show=u,r.show=d,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(t,i,r){Object.defineProperty(r,"__esModule",{value:!0});var a=t("./handle-dom"),o=t("./handle-swal-dom"),s=function(t,i,r){var s=t||e.event,l=s.keyCode||s.which,u=r.querySelector("button.confirm"),d=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?u: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=u,u.focus()),h=-1===f?u:n):27===l&&i.allowEscapeKey===!0?(h=d,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(e){return e&&e.__esModule?e:{"default":e}};Object.defineProperty(r,"__esModule",{value:!0});var o=n("./utils"),s=n("./handle-dom"),l=n("./default-params"),u=a(l),d=n("./injected-html"),c=a(d),h=".sweet-alert",f=".sweet-overlay",p=function(){var e=t.createElement("div");for(e.innerHTML=c["default"];e.firstChild;)t.body.appendChild(e.firstChild)},m=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){var e=t.querySelector(h);return e||(p(),e=m()),e}),_=function(){var e=m();return e?e.querySelector("input"):void 0},g=function(){return t.querySelector(f)},y=function(e,t){var n=o.hexToRgb(t);e.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"),e.previousActiveElement=t.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 e=(o||null)&&"true"===i.getAttribute("data-has-done-function");e?o(null):sweetAlert.close()},a)}},b=function(){var e=m(),t=_();s.removeClass(e,"show-input"),t.value=u["default"].inputValue,t.setAttribute("type",u["default"].inputType),t.setAttribute("placeholder",u["default"].inputPlaceholder),M()},M=function(e){if(e&&13===e.keyCode)return!1;var t=m(),n=t.querySelector(".sa-input-error");s.removeClass(n,"show");var i=t.querySelector(".sa-error-container");s.removeClass(i,"show")},w=function(){var e=m();e.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(e,t,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,t.exports=n["default"]},{}],8:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0});var r=e("./utils"),a=e("./handle-swal-dom"),o=e("./handle-dom"),s=["error","warning","info","success","input","prompt"],l=function(e){var t=a.getModal(),i=t.querySelector("h2"),l=t.querySelector("p"),u=t.querySelector("button.cancel"),d=t.querySelector("button.confirm");if(i.innerHTML=e.html?e.title:o.escapeHtml(e.title).split("\n").join("<br>"),l.innerHTML=e.html?e.text:o.escapeHtml(e.text||"").split("\n").join("<br>"),e.text&&o.show(l),e.customClass)o.addClass(t,e.customClass),t.setAttribute("data-custom-class",e.customClass);else{var c=t.getAttribute("data-custom-class");o.removeClass(t,c),t.setAttribute("data-custom-class","")}if(o.hide(t.querySelectorAll(".sa-icon")),e.type&&!r.isIE8()){var h=function(){for(var i=!1,r=0;r<s.length;r++)if(e.type===s[r]){i=!0;break}if(!i)return logStr("Unknown alert type: "+e.type),{v:!1};var l=["success","error","warning","info"],u=n;-1!==l.indexOf(e.type)&&(u=t.querySelector(".sa-icon.sa-"+e.type),o.show(u));var d=a.getInput();switch(e.type){case"success":o.addClass(u,"animate"),o.addClass(u.querySelector(".sa-tip"),"animateSuccessTip"),o.addClass(u.querySelector(".sa-long"),"animateSuccessLong");break;case"error":o.addClass(u,"animateErrorIcon"),o.addClass(u.querySelector(".sa-x-mark"),"animateXMark");break;case"warning":o.addClass(u,"pulseWarning"),o.addClass(u.querySelector(".sa-body"),"pulseWarningIns"),o.addClass(u.querySelector(".sa-dot"),"pulseWarningIns");break;case"input":case"prompt":d.setAttribute("type",e.inputType),d.value=e.inputValue,d.setAttribute("placeholder",e.inputPlaceholder),o.addClass(t,"show-input"),setTimeout(function(){d.focus(),d.addEventListener("keyup",swal.resetInputError)},400)}}();if("object"==typeof h)return h.v}if(e.imageUrl){var f=t.querySelector(".sa-icon.sa-custom");f.style.backgroundImage="url("+e.imageUrl+")",o.show(f);var p=80,m=80;if(e.imageSize){var _=e.imageSize.toString().split("x"),g=_[0],y=_[1];g&&y?(p=g,m=y):logStr("Parameter imageSize expects value with format WIDTHxHEIGHT, got "+e.imageSize)}f.setAttribute("style",f.getAttribute("style")+"width:"+p+"px; height:"+m+"px")}t.setAttribute("data-has-cancel-button",e.showCancelButton),e.showCancelButton?u.style.display="inline-block":o.hide(u),t.setAttribute("data-has-confirm-button",e.showConfirmButton),e.showConfirmButton?d.style.display="inline-block":o.hide(d),e.cancelButtonText&&(u.innerHTML=o.escapeHtml(e.cancelButtonText)),e.confirmButtonText&&(d.innerHTML=o.escapeHtml(e.confirmButtonText)),e.confirmButtonColor&&(d.style.backgroundColor=e.confirmButtonColor,d.style.borderLeftColor=e.confirmLoadingButtonColor,d.style.borderRightColor=e.confirmLoadingButtonColor,a.setFocusStyle(d,e.confirmButtonColor)),t.setAttribute("data-allow-outside-click",e.allowOutsideClick);var v=!!e.doneFunction;t.setAttribute("data-has-done-function",v),e.animation?"string"==typeof e.animation?t.setAttribute("data-animation",e.animation):t.setAttribute("data-animation","pop"):t.setAttribute("data-animation","none"),t.setAttribute("data-timer",e.timer)};i["default"]=l,t.exports=i["default"]},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],9:[function(t,n,i){Object.defineProperty(i,"__esModule",{value:!0});var r=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},a=function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?parseInt(t[1],16)+", "+parseInt(t[2],16)+", "+parseInt(t[3],16):null},o=function(){return e.attachEvent&&!e.addEventListener},s=function(t){e.console&&e.console.log("SweetAlert: "+t)},l=function(e,t){e=String(e).replace(/[^0-9a-f]/gi,""),e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),t=t||0;var n,i,r="#";for(i=0;3>i;i++)n=parseInt(e.substr(2*i,2),16),n=Math.round(Math.min(Math.max(0,n+n*t),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(e){e.fn.strengthify=function(t){var n=this,i={zxcvbn:"https://cdnjs.cloudflare.com/ajax/libs/zxcvbn/2.0.2/zxcvbn.min.js"},r=e.extend(i,t);return e(".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%" />'),e.ajax({cache:!0,dataType:"script",url:r.zxcvbn}).done(function(){n.bind("keyup input",function(){var t=e(this).val(),n=""===t?0:1,i=zxcvbn(t),r="",a=e(".strengthify-container"),o=e(".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)+"%"),""===t&&a.css("width",0)})}),n}}(jQuery),$(function(){function e(e,t){$(".block-"+e).removeClass("show").addClass("hidden"),
|
||
$(".block-"+t).removeClass("hidden").addClass("show"),$(".steps .step").removeClass("active").filter(":lt("+t+")").addClass("active")}$.ajaxPrefilter(function(e,t,n){var i;return e.crossDomain||(i=$('meta[name="token"]').attr("content"),i&&n.setRequestHeader("X-CSRF-Token",i)),n}),$.ajaxSetup({beforeSend:function(e){e.setRequestHeader("Accept","application/json")},statusCode:{401:function(){window.location.href="/"},403:function(){window.location.href="/"}}}),$("form").submit(function(){var e=$(this);e.find(":submit").prop("disabled",!0)}),autosize($("textarea.autosize")),$("[data-method]").not(".disabled").append(function(){var e="\n";return e+="<form action='"+$(this).attr("href")+"' method='POST' style='display:none'>\n",e+="<input type='hidden' name='_method' value='"+$(this).attr("data-method")+"'>\n",e+="<input type='hidden' name='_token' value='"+$("meta[name=token]").attr("content")+"'>\n",e+="</form>\n"}).removeAttr("href").on("click",function(){var e=$(this);e.hasClass("confirm-action")?askConfirmation(function(){e.find("form").submit()}):e.find("form").submit()}),Messenger.options={extraClasses:"messenger-fixed messenger-on-top",theme:"air"},window.Cachet={},moment.locale(Global.locale),$("abbr.timeago").each(function(){var e=$(this);e.livestamp(e.data("timeago")).tooltip()}),window.Cachet.Notifier=function(){this.notify=function(e,t,n){_.isPlainObject(e)&&(e=e.detail),t="undefined"==typeof t||"error"===t?"error":t;var i={message:e,type:t,showCloseButton:!0};n=_.extend(i,n),Messenger().post(n)}},$(".sidebar-toggler").click(function(e){e.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 e=$(this).find("option:selected"),t=$("#component-status");0!==parseInt(e.val(),10)?t.hasClass("hidden")&&t.removeClass("hidden"):t.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 t=document.getElementById("component-list");t&&new Sortable(t,{group:"omega",handle:".drag-handle",onUpdate:function(){var e=$.map($("#component-list .striped-list-item"),function(e){return $(e).data("component-id")});$.ajax({async:!0,url:"/dashboard/api/components/order",type:"POST",data:{ids:e},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 e=$.map($("#component-group-list .striped-list-item"),function(e){return $(e).data("group-id")});$.ajax({async:!0,url:"/dashboard/api/components/groups/order",type:"POST",data:{ids:e},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 e=$(this).parents("form"),t=e.serializeObject();$.ajax({async:!0,url:"/dashboard/api/components/"+t.component_id,type:"POST",data:t,success:function(t){(new Cachet.Notifier).notify(e.data("messenger"),"success")},error:function(e,t,n){(new Cachet.Notifier).notify("Something went wrong updating the component.")}})}),$("select[name=template]").on("change",function(){var e=$(this).find("option:selected"),t=e.val();t&&$.ajax({async:!0,data:{slug:t},url:"/dashboard/api/incidents/templates",success:function(e){var t=$("form[role=form]");t.find("input[name=name]").val(e.name),t.find("textarea[name=message]").val(e.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 e=$(this);e.find(".group-toggle").toggleClass("ion-ios-minus-outline").toggleClass("ion-ios-plus-outline"),e.next(".group-items").toggleClass("hide")}),$(".wizard-next").on("click",function(){var t=$("#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,t.serializeObject()).done(function(t){e(i,r)}).fail(function(e){var t=_.toArray(e.responseJSON.errors);_.each(t,function(e){(new Cachet.Notifier).notify(e)})}).always(function(){n.button("reset")}),!1}e(i,r),n.button("reset")}),$.fn.sparkline){var i=function(){$(".sparkline").each(function(){var e=$(this).data();e.valueSpots={"0:":e.spotColor},$(this).sparkline(e.data,e);var t=e.compositedata;if(t){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(t,{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(e){e.meta.on_latest===!1&&$("#update-alert").removeClass("hidden")})}); |