21 lines
679 KiB
JavaScript
21 lines
679 KiB
JavaScript
function askConfirmation(t){swal({type:"warning",title:"Confirm your action",text:"Are you sure you want to do this?",confirmButtonText:"Yes",confirmButtonColor:"#FF6F6F",showCancelButton:!0},function(){t()})}if(function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=!!t&&"length"in t&&t.length,n=rt.type(t);return"function"===n||rt.isWindow(t)?!1:"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t}function i(t,e,n){if(rt.isFunction(e))return rt.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return rt.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(mt.test(e))return rt.filter(e,t,n);e=rt.filter(e,t)}return rt.grep(t,function(t){return K.call(e,t)>-1!==n})}function a(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function r(t){var e={};return rt.each(t.match(Mt)||[],function(t,n){e[n]=!0}),e}function s(){G.removeEventListener("DOMContentLoaded",s),t.removeEventListener("load",s),rt.ready()}function o(){this.expando=rt.expando+o.uid++}function l(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(St,"-$&").toLowerCase(),n=t.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Tt.test(n)?rt.parseJSON(n):n}catch(a){}Dt.set(t,e,n)}else n=void 0;return n}function d(t,e,n,i){var a,r=1,s=20,o=i?function(){return i.cur()}:function(){return rt.css(t,e,"")},l=o(),d=n&&n[3]||(rt.cssNumber[e]?"":"px"),u=(rt.cssNumber[e]||"px"!==d&&+l)&&Ct.exec(rt.css(t,e));if(u&&u[3]!==d){d=d||u[3],n=n||[],u=+l||1;do r=r||".5",u/=r,rt.style(t,e,u+d);while(r!==(r=o()/l)&&1!==r&&--s)}return n&&(u=+u||+l||0,a=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=d,i.start=u,i.end=a)),a}function u(t,e){var n="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&rt.nodeName(t,e)?rt.merge([t],n):n}function h(t,e){for(var n=0,i=t.length;i>n;n++)Lt.set(t[n],"globalEval",!e||Lt.get(e[n],"globalEval"))}function c(t,e,n,i,a){for(var r,s,o,l,d,c,f=e.createDocumentFragment(),p=[],m=0,g=t.length;g>m;m++)if(r=t[m],r||0===r)if("object"===rt.type(r))rt.merge(p,r.nodeType?[r]:r);else if(Ft.test(r)){for(s=s||f.appendChild(e.createElement("div")),o=(Pt.exec(r)||["",""])[1].toLowerCase(),l=Et[o]||Et._default,s.innerHTML=l[1]+rt.htmlPrefilter(r)+l[2],c=l[0];c--;)s=s.lastChild;rt.merge(p,s.childNodes),s=f.firstChild,s.textContent=""}else p.push(e.createTextNode(r));for(f.textContent="",m=0;r=p[m++];)if(i&&rt.inArray(r,i)>-1)a&&a.push(r);else if(d=rt.contains(r.ownerDocument,r),s=u(f.appendChild(r),"script"),d&&h(s),n)for(c=0;r=s[c++];)It.test(r.type||"")&&n.push(r);return f}function f(){return!0}function p(){return!1}function m(){try{return G.activeElement}catch(t){}}function g(t,e,n,i,a,r){var s,o;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=void 0);for(o in e)g(t,o,n,i,e[o],r);return t}if(null==i&&null==a?(a=n,i=n=void 0):null==a&&("string"==typeof n?(a=i,i=void 0):(a=i,i=n,n=void 0)),a===!1)a=p;else if(!a)return t;return 1===r&&(s=a,a=function(t){return rt().off(t),s.apply(this,arguments)},a.guid=s.guid||(s.guid=rt.guid++)),t.each(function(){rt.event.add(this,e,a,i,n)})}function _(t,e){return rt.nodeName(t,"table")&&rt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function y(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function v(t){var e=Vt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function b(t,e){var n,i,a,r,s,o,l,d;if(1===e.nodeType){if(Lt.hasData(t)&&(r=Lt.access(t),s=Lt.set(e,r),d=r.events)){delete s.handle,s.events={};for(a in d)for(n=0,i=d[a].length;i>n;n++)rt.event.add(e,a,d[a][n])}Dt.hasData(t)&&(o=Dt.access(t),l=rt.extend({},o),Dt.set(e,l))}}function M(t,e){var n=e.nodeName.toLowerCase();"input"===n&&jt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function w(t,e,n,i){e=Q.apply([],e);var a,r,s,o,l,d,h=0,f=t.length,p=f-1,m=e[0],g=rt.isFunction(m);if(g||f>1&&"string"==typeof m&&!it.checkClone&&Bt.test(m))return t.each(function(a){var r=t.eq(a);g&&(e[0]=m.call(this,a,r.html())),w(r,e,n,i)});if(f&&(a=c(e,t[0].ownerDocument,!1,t,i),r=a.firstChild,1===a.childNodes.length&&(a=r),r||i)){for(s=rt.map(u(a,"script"),y),o=s.length;f>h;h++)l=a,h!==p&&(l=rt.clone(l,!0,!0),o&&rt.merge(s,u(l,"script"))),n.call(t[h],l,h);if(o)for(d=s[s.length-1].ownerDocument,rt.map(s,v),h=0;o>h;h++)l=s[h],It.test(l.type||"")&&!Lt.access(l,"globalEval")&&rt.contains(d,l)&&(l.src?rt._evalUrl&&rt._evalUrl(l.src):rt.globalEval(l.textContent.replace($t,"")))}return t}function x(t,e,n){for(var i,a=e?rt.filter(e,t):t,r=0;null!=(i=a[r]);r++)n||1!==i.nodeType||rt.cleanData(u(i)),i.parentNode&&(n&&rt.contains(i.ownerDocument,i)&&h(u(i,"script")),i.parentNode.removeChild(i));return t}function k(t,e){var n=rt(e.createElement(t)).appendTo(e.body),i=rt.css(n[0],"display");return n.detach(),i}function L(t){var e=G,n=Ut[t];return n||(n=k(t,e),"none"!==n&&n||(qt=(qt||rt("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=qt[0].contentDocument,e.write(),e.close(),n=k(t,e),qt.detach()),Ut[t]=n),n}function D(t,e,n){var i,a,r,s,o=t.style;return n=n||Xt(t),s=n?n.getPropertyValue(e)||n[e]:void 0,""!==s&&void 0!==s||rt.contains(t.ownerDocument,t)||(s=rt.style(t,e)),n&&!it.pixelMarginRight()&&Gt.test(s)&&Jt.test(e)&&(i=o.width,a=o.minWidth,r=o.maxWidth,o.minWidth=o.maxWidth=o.width=s,s=n.width,o.width=i,o.minWidth=a,o.maxWidth=r),void 0!==s?s+"":s}function T(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function S(t){if(t in ie)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=ne.length;n--;)if(t=ne[n]+e,t in ie)return t}function Y(t,e,n){var i=Ct.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function C(t,e,n,i,a){for(var r=n===(i?"border":"content")?4:"width"===e?1:0,s=0;4>r;r+=2)"margin"===n&&(s+=rt.css(t,n+At[r],!0,a)),i?("content"===n&&(s-=rt.css(t,"padding"+At[r],!0,a)),"margin"!==n&&(s-=rt.css(t,"border"+At[r]+"Width",!0,a))):(s+=rt.css(t,"padding"+At[r],!0,a),"padding"!==n&&(s+=rt.css(t,"border"+At[r]+"Width",!0,a)));return s}function A(e,n,i){var a=!0,r="width"===n?e.offsetWidth:e.offsetHeight,s=Xt(e),o="border-box"===rt.css(e,"boxSizing",!1,s);if(G.msFullscreenElement&&t.top!==t&&e.getClientRects().length&&(r=Math.round(100*e.getBoundingClientRect()[n])),0>=r||null==r){if(r=D(e,n,s),(0>r||null==r)&&(r=e.style[n]),Gt.test(r))return r;a=o&&(it.boxSizingReliable()||r===e.style[n]),r=parseFloat(r)||0}return r+C(e,n,i||(o?"border":"content"),a,s)+"px"}function H(t,e){for(var n,i,a,r=[],s=0,o=t.length;o>s;s++)i=t[s],i.style&&(r[s]=Lt.get(i,"olddisplay"),n=i.style.display,e?(r[s]||"none"!==n||(i.style.display=""),""===i.style.display&&Ht(i)&&(r[s]=Lt.access(i,"olddisplay",L(i.nodeName)))):(a=Ht(i),"none"===n&&a||Lt.set(i,"olddisplay",a?n:rt.css(i,"display"))));for(s=0;o>s;s++)i=t[s],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?r[s]||"":"none"));return t}function j(t,e,n,i,a){return new j.prototype.init(t,e,n,i,a)}function P(){return t.setTimeout(function(){ae=void 0}),ae=rt.now()}function I(t,e){var n,i=0,a={height:t};for(e=e?1:0;4>i;i+=2-e)n=At[i],a["margin"+n]=a["padding"+n]=t;return e&&(a.opacity=a.width=t),a}function E(t,e,n){for(var i,a=(W.tweeners[e]||[]).concat(W.tweeners["*"]),r=0,s=a.length;s>r;r++)if(i=a[r].call(n,e,t))return i}function F(t,e,n){var i,a,r,s,o,l,d,u,h=this,c={},f=t.style,p=t.nodeType&&Ht(t),m=Lt.get(t,"fxshow");n.queue||(o=rt._queueHooks(t,"fx"),null==o.unqueued&&(o.unqueued=0,l=o.empty.fire,o.empty.fire=function(){o.unqueued||l()}),o.unqueued++,h.always(function(){h.always(function(){o.unqueued--,rt.queue(t,"fx").length||o.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],d=rt.css(t,"display"),u="none"===d?Lt.get(t,"olddisplay")||L(t.nodeName):d,"inline"===u&&"none"===rt.css(t,"float")&&(f.display="inline-block")),n.overflow&&(f.overflow="hidden",h.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(i in e)if(a=e[i],se.exec(a)){if(delete e[i],r=r||"toggle"===a,a===(p?"hide":"show")){if("show"!==a||!m||void 0===m[i])continue;p=!0}c[i]=m&&m[i]||rt.style(t,i)}else d=void 0;if(rt.isEmptyObject(c))"inline"===("none"===d?L(t.nodeName):d)&&(f.display=d);else{m?"hidden"in m&&(p=m.hidden):m=Lt.access(t,"fxshow",{}),r&&(m.hidden=!p),p?rt(t).show():h.done(function(){rt(t).hide()}),h.done(function(){var e;Lt.remove(t,"fxshow");for(e in c)rt.style(t,e,c[e])});for(i in c)s=E(p?m[i]:0,i,h),i in m||(m[i]=s.start,p&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}}function O(t,e){var n,i,a,r,s;for(n in t)if(i=rt.camelCase(n),a=e[i],r=t[n],rt.isArray(r)&&(a=r[1],r=t[n]=r[0]),n!==i&&(t[i]=r,delete t[n]),s=rt.cssHooks[i],s&&"expand"in s){r=s.expand(r),delete t[i];for(n in r)n in t||(t[n]=r[n],e[n]=a)}else e[i]=a}function W(t,e,n){var i,a,r=0,s=W.prefilters.length,o=rt.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var e=ae||P(),n=Math.max(0,d.startTime+d.duration-e),i=n/d.duration||0,r=1-i,s=0,l=d.tweens.length;l>s;s++)d.tweens[s].run(r);return o.notifyWith(t,[d,r,n]),1>r&&l?n:(o.resolveWith(t,[d]),!1)},d=o.promise({elem:t,props:rt.extend({},e),opts:rt.extend(!0,{specialEasing:{},easing:rt.easing._default},n),originalProperties:e,originalOptions:n,startTime:ae||P(),duration:n.duration,tweens:[],createTween:function(e,n){var i=rt.Tween(t,d.opts,e,n,d.opts.specialEasing[e]||d.opts.easing);return d.tweens.push(i),i},stop:function(e){var n=0,i=e?d.tweens.length:0;if(a)return this;for(a=!0;i>n;n++)d.tweens[n].run(1);return e?(o.notifyWith(t,[d,1,0]),o.resolveWith(t,[d,e])):o.rejectWith(t,[d,e]),this}}),u=d.props;for(O(u,d.opts.specialEasing);s>r;r++)if(i=W.prefilters[r].call(d,t,u,d.opts))return rt.isFunction(i.stop)&&(rt._queueHooks(d.elem,d.opts.queue).stop=rt.proxy(i.stop,i)),i;return rt.map(u,E,d),rt.isFunction(d.opts.start)&&d.opts.start.call(t,d),rt.fx.timer(rt.extend(l,{elem:t,anim:d,queue:d.opts.queue})),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always)}function R(t){return t.getAttribute&&t.getAttribute("class")||""}function z(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,a=0,r=e.toLowerCase().match(Mt)||[];if(rt.isFunction(n))for(;i=r[a++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function N(t,e,n,i){function a(o){var l;return r[o]=!0,rt.each(t[o]||[],function(t,o){var d=o(e,n,i);return"string"!=typeof d||s||r[d]?s?!(l=d):void 0:(e.dataTypes.unshift(d),a(d),!1)}),l}var r={},s=t===De;return a(e.dataTypes[0])||!r["*"]&&a("*")}function B(t,e){var n,i,a=rt.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((a[n]?t:i||(i={}))[n]=e[n]);return i&&rt.extend(!0,t,i),t}function V(t,e,n){for(var i,a,r,s,o=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(a in o)if(o[a]&&o[a].test(i)){l.unshift(a);break}if(l[0]in n)r=l[0];else{for(a in n){if(!l[0]||t.converters[a+" "+l[0]]){r=a;break}s||(s=a)}r=r||s}return r?(r!==l[0]&&l.unshift(r),n[r]):void 0}function $(t,e,n,i){var a,r,s,o,l,d={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)d[s.toLowerCase()]=t.converters[s];for(r=u.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(s=d[l+" "+r]||d["* "+r],!s)for(a in d)if(o=a.split(" "),o[1]===r&&(s=d[l+" "+o[0]]||d["* "+o[0]])){s===!0?s=d[a]:d[a]!==!0&&(r=o[0],u.unshift(o[1]));break}if(s!==!0)if(s&&t["throws"])e=s(e);else try{e=s(e)}catch(h){return{state:"parsererror",error:s?h:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}function q(t,e,n,i){var a;if(rt.isArray(e))rt.each(e,function(e,a){n||Ce.test(t)?i(t,a):q(t+"["+("object"==typeof a&&null!=a?e:"")+"]",a,n,i)});else if(n||"object"!==rt.type(e))i(t,e);else for(a in e)q(t+"["+a+"]",e[a],n,i)}function U(t){return rt.isWindow(t)?t:9===t.nodeType&&t.defaultView}var J=[],G=t.document,X=J.slice,Q=J.concat,Z=J.push,K=J.indexOf,tt={},et=tt.toString,nt=tt.hasOwnProperty,it={},at="2.2.3",rt=function(t,e){return new rt.fn.init(t,e)},st=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ot=/^-ms-/,lt=/-([\da-z])/gi,dt=function(t,e){return e.toUpperCase()};rt.fn=rt.prototype={jquery:at,constructor:rt,selector:"",length:0,toArray:function(){return X.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:X.call(this)},pushStack:function(t){var e=rt.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t){return rt.each(this,t)},map:function(t){return this.pushStack(rt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(X.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:Z,sort:J.sort,splice:J.splice},rt.extend=rt.fn.extend=function(){var t,e,n,i,a,r,s=arguments[0]||{},o=1,l=arguments.length,d=!1;for("boolean"==typeof s&&(d=s,s=arguments[o]||{},o++),"object"==typeof s||rt.isFunction(s)||(s={}),o===l&&(s=this,o--);l>o;o++)if(null!=(t=arguments[o]))for(e in t)n=s[e],i=t[e],s!==i&&(d&&i&&(rt.isPlainObject(i)||(a=rt.isArray(i)))?(a?(a=!1,r=n&&rt.isArray(n)?n:[]):r=n&&rt.isPlainObject(n)?n:{},s[e]=rt.extend(d,r,i)):void 0!==i&&(s[e]=i));return s},rt.extend({expando:"jQuery"+(at+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===rt.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=t&&t.toString();return!rt.isArray(t)&&e-parseFloat(e)+1>=0},isPlainObject:function(t){var e;if("object"!==rt.type(t)||t.nodeType||rt.isWindow(t))return!1;if(t.constructor&&!nt.call(t,"constructor")&&!nt.call(t.constructor.prototype||{},"isPrototypeOf"))return!1;for(e in t);return void 0===e||nt.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?tt[et.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;t=rt.trim(t),t&&(1===t.indexOf("use strict")?(e=G.createElement("script"),e.text=t,G.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){return t.replace(ot,"ms-").replace(lt,dt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var i,a=0;if(n(t))for(i=t.length;i>a&&e.call(t[a],a,t[a])!==!1;a++);else for(a in t)if(e.call(t[a],a,t[a])===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(st,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?rt.merge(i,"string"==typeof t?[t]:t):Z.call(i,t)),i},inArray:function(t,e,n){return null==e?-1:K.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,a=t.length;n>i;i++)t[a++]=e[i];return t.length=a,t},grep:function(t,e,n){for(var i,a=[],r=0,s=t.length,o=!n;s>r;r++)i=!e(t[r],r),i!==o&&a.push(t[r]);return a},map:function(t,e,i){var a,r,s=0,o=[];if(n(t))for(a=t.length;a>s;s++)r=e(t[s],s,i),null!=r&&o.push(r);else for(s in t)r=e(t[s],s,i),null!=r&&o.push(r);return Q.apply([],o)},guid:1,proxy:function(t,e){var n,i,a;return"string"==typeof e&&(n=t[e],e=t,t=n),rt.isFunction(t)?(i=X.call(arguments,2),a=function(){return t.apply(e||this,i.concat(X.call(arguments)))},a.guid=t.guid=t.guid||rt.guid++,a):void 0},now:Date.now,support:it}),"function"==typeof Symbol&&(rt.fn[Symbol.iterator]=J[Symbol.iterator]),rt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){tt["[object "+e+"]"]=e.toLowerCase()});var ut=function(t){function e(t,e,n,i){var a,r,s,o,l,d,h,f,p=e&&e.ownerDocument,m=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==m&&9!==m&&11!==m)return n;if(!i&&((e?e.ownerDocument||e:R)!==H&&A(e),e=e||H,P)){if(11!==m&&(d=_t.exec(t)))if(a=d[1]){if(9===m){if(!(s=e.getElementById(a)))return n;if(s.id===a)return n.push(s),n}else if(p&&(s=p.getElementById(a))&&O(e,s)&&s.id===a)return n.push(s),n}else{if(d[2])return Z.apply(n,e.getElementsByTagName(t)),n;if((a=d[3])&&M.getElementsByClassName&&e.getElementsByClassName)return Z.apply(n,e.getElementsByClassName(a)),n}if(M.qsa&&!$[t+" "]&&(!I||!I.test(t))){if(1!==m)p=e,f=t;else if("object"!==e.nodeName.toLowerCase()){for((o=e.getAttribute("id"))?o=o.replace(vt,"\\$&"):e.setAttribute("id",o=W),h=L(t),r=h.length,l=ct.test(o)?"#"+o:"[id='"+o+"']";r--;)h[r]=l+" "+c(h[r]);f=h.join(","),p=yt.test(t)&&u(e.parentNode)||e}if(f)try{return Z.apply(n,p.querySelectorAll(f)),n}catch(g){}finally{o===W&&e.removeAttribute("id")}}}return T(t.replace(ot,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>w.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[W]=!0,t}function a(t){var e=H.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function r(t,e){for(var n=t.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||U)-(~t.sourceIndex||U);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function o(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function d(t){return i(function(e){return e=+e,i(function(n,i){for(var a,r=t([],n.length,e),s=r.length;s--;)n[a=r[s]]&&(n[a]=!(i[a]=n[a]))})})}function u(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function h(){}function c(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[e].value;return i}function f(t,e,n){var i=e.dir,a=n&&"parentNode"===i,r=N++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||a)return t(e,n,r)}:function(e,n,s){var o,l,d,u=[z,r];if(s){for(;e=e[i];)if((1===e.nodeType||a)&&t(e,n,s))return!0}else for(;e=e[i];)if(1===e.nodeType||a){if(d=e[W]||(e[W]={}),l=d[e.uniqueID]||(d[e.uniqueID]={}),(o=l[i])&&o[0]===z&&o[1]===r)return u[2]=o[2];if(l[i]=u,u[2]=t(e,n,s))return!0}}}function p(t){return t.length>1?function(e,n,i){for(var a=t.length;a--;)if(!t[a](e,n,i))return!1;return!0}:t[0]}function m(t,n,i){for(var a=0,r=n.length;r>a;a++)e(t,n[a],i);return i}function g(t,e,n,i,a){for(var r,s=[],o=0,l=t.length,d=null!=e;l>o;o++)(r=t[o])&&(n&&!n(r,i,a)||(s.push(r),d&&e.push(o)));return s}function _(t,e,n,a,r,s){return a&&!a[W]&&(a=_(a)),r&&!r[W]&&(r=_(r,s)),i(function(i,s,o,l){var d,u,h,c=[],f=[],p=s.length,_=i||m(e||"*",o.nodeType?[o]:o,[]),y=!t||!i&&e?_:g(_,c,t,o,l),v=n?r||(i?t:p||a)?[]:s:y;if(n&&n(y,v,o,l),a)for(d=g(v,f),a(d,[],o,l),u=d.length;u--;)(h=d[u])&&(v[f[u]]=!(y[f[u]]=h));if(i){if(r||t){if(r){for(d=[],u=v.length;u--;)(h=v[u])&&d.push(y[u]=h);r(null,v=[],d,l)}for(u=v.length;u--;)(h=v[u])&&(d=r?tt(i,h):c[u])>-1&&(i[d]=!(s[d]=h))}}else v=g(v===s?v.splice(p,v.length):v),r?r(null,s,v,l):Z.apply(s,v)})}function y(t){for(var e,n,i,a=t.length,r=w.relative[t[0].type],s=r||w.relative[" "],o=r?1:0,l=f(function(t){return t===e},s,!0),d=f(function(t){return tt(e,t)>-1},s,!0),u=[function(t,n,i){var a=!r&&(i||n!==S)||((e=n).nodeType?l(t,n,i):d(t,n,i));return e=null,a}];a>o;o++)if(n=w.relative[t[o].type])u=[f(p(u),n)];else{if(n=w.filter[t[o].type].apply(null,t[o].matches),n[W]){for(i=++o;a>i&&!w.relative[t[i].type];i++);return _(o>1&&p(u),o>1&&c(t.slice(0,o-1).concat({value:" "===t[o-2].type?"*":""})).replace(ot,"$1"),n,i>o&&y(t.slice(o,i)),a>i&&y(t=t.slice(i)),a>i&&c(t))}u.push(n)}return p(u)}function v(t,n){var a=n.length>0,r=t.length>0,s=function(i,s,o,l,d){var u,h,c,f=0,p="0",m=i&&[],_=[],y=S,v=i||r&&w.find.TAG("*",d),b=z+=null==y?1:Math.random()||.1,M=v.length;for(d&&(S=s===H||s||d);p!==M&&null!=(u=v[p]);p++){if(r&&u){for(h=0,s||u.ownerDocument===H||(A(u),o=!P);c=t[h++];)if(c(u,s||H,o)){l.push(u);break}d&&(z=b)}a&&((u=!c&&u)&&f--,i&&m.push(u))}if(f+=p,a&&p!==f){for(h=0;c=n[h++];)c(m,_,s,o);if(i){if(f>0)for(;p--;)m[p]||_[p]||(_[p]=X.call(l));_=g(_)}Z.apply(l,_),d&&!i&&_.length>0&&f+n.length>1&&e.uniqueSort(l)}return d&&(z=b,S=y),m};return a?i(s):s}var b,M,w,x,k,L,D,T,S,Y,C,A,H,j,P,I,E,F,O,W="sizzle"+1*new Date,R=t.document,z=0,N=0,B=n(),V=n(),$=n(),q=function(t,e){return t===e&&(C=!0),0},U=1<<31,J={}.hasOwnProperty,G=[],X=G.pop,Q=G.push,Z=G.push,K=G.slice,tt=function(t,e){for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return n;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",it="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",at="\\["+nt+"*("+it+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+it+"))|)"+nt+"*\\]",rt=":("+it+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+at+")*)|.*)\\)|)",st=new RegExp(nt+"+","g"),ot=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),lt=new RegExp("^"+nt+"*,"+nt+"*"),dt=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),ut=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),ht=new RegExp(rt),ct=new RegExp("^"+it+"$"),ft={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+at),PSEUDO:new RegExp("^"+rt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},pt=/^(?:input|select|textarea|button)$/i,mt=/^h\d$/i,gt=/^[^{]+\{\s*\[native \w/,_t=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,vt=/'|\\/g,bt=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),Mt=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},wt=function(){A()};try{Z.apply(G=K.call(R.childNodes),R.childNodes),G[R.childNodes.length].nodeType}catch(xt){Z={apply:G.length?function(t,e){Q.apply(t,K.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}M=e.support={},k=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},A=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:R;return i!==H&&9===i.nodeType&&i.documentElement?(H=i,j=H.documentElement,P=!k(H),(n=H.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",wt,!1):n.attachEvent&&n.attachEvent("onunload",wt)),M.attributes=a(function(t){return t.className="i",!t.getAttribute("className")}),M.getElementsByTagName=a(function(t){return t.appendChild(H.createComment("")),!t.getElementsByTagName("*").length}),M.getElementsByClassName=gt.test(H.getElementsByClassName),M.getById=a(function(t){return j.appendChild(t).id=W,!H.getElementsByName||!H.getElementsByName(W).length}),M.getById?(w.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&P){var n=e.getElementById(t);return n?[n]:[]}},w.filter.ID=function(t){var e=t.replace(bt,Mt);return function(t){return t.getAttribute("id")===e}}):(delete w.find.ID,w.filter.ID=function(t){var e=t.replace(bt,Mt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),w.find.TAG=M.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):M.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],a=0,r=e.getElementsByTagName(t);if("*"===t){for(;n=r[a++];)1===n.nodeType&&i.push(n);return i}return r},w.find.CLASS=M.getElementsByClassName&&function(t,e){return"undefined"!=typeof e.getElementsByClassName&&P?e.getElementsByClassName(t):void 0},E=[],I=[],(M.qsa=gt.test(H.querySelectorAll))&&(a(function(t){j.appendChild(t).innerHTML="<a id='"+W+"'></a><select id='"+W+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&I.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||I.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+W+"-]").length||I.push("~="),t.querySelectorAll(":checked").length||I.push(":checked"),t.querySelectorAll("a#"+W+"+*").length||I.push(".#.+[+~]")}),a(function(t){var e=H.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&I.push("name"+nt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||I.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),I.push(",.*:")})),(M.matchesSelector=gt.test(F=j.matches||j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&a(function(t){M.disconnectedMatch=F.call(t,"div"),F.call(t,"[s!='']:x"),E.push("!=",rt)}),I=I.length&&new RegExp(I.join("|")),E=E.length&&new RegExp(E.join("|")),e=gt.test(j.compareDocumentPosition),O=e||gt.test(j.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},q=e?function(t,e){if(t===e)return C=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!M.sortDetached&&e.compareDocumentPosition(t)===n?t===H||t.ownerDocument===R&&O(R,t)?-1:e===H||e.ownerDocument===R&&O(R,e)?1:Y?tt(Y,t)-tt(Y,e):0:4&n?-1:1)}:function(t,e){if(t===e)return C=!0,0;var n,i=0,a=t.parentNode,r=e.parentNode,o=[t],l=[e];if(!a||!r)return t===H?-1:e===H?1:a?-1:r?1:Y?tt(Y,t)-tt(Y,e):0;if(a===r)return s(t,e);for(n=t;n=n.parentNode;)o.unshift(n);for(n=e;n=n.parentNode;)l.unshift(n);for(;o[i]===l[i];)i++;return i?s(o[i],l[i]):o[i]===R?-1:l[i]===R?1:0},H):H},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==H&&A(t),n=n.replace(ut,"='$1']"),M.matchesSelector&&P&&!$[n+" "]&&(!E||!E.test(n))&&(!I||!I.test(n)))try{var i=F.call(t,n);if(i||M.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(a){}return e(n,H,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==H&&A(t),O(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==H&&A(t);var n=w.attrHandle[e.toLowerCase()],i=n&&J.call(w.attrHandle,e.toLowerCase())?n(t,e,!P):void 0;return void 0!==i?i:M.attributes||!P?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,a=0;if(C=!M.detectDuplicates,Y=!M.sortStable&&t.slice(0),t.sort(q),C){for(;e=t[a++];)e===t[a]&&(i=n.push(a));for(;i--;)t.splice(n[i],1)}return Y=null,t},x=e.getText=function(t){var e,n="",i=0,a=t.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=x(t)}else if(3===a||4===a)return t.nodeValue}else for(;e=t[i++];)n+=x(e);return n},w=e.selectors={cacheLength:50,createPseudo:i,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,Mt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,Mt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ht.test(n)&&(e=L(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,Mt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=B[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&B(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(a){var r=e.attr(a,t);return null==r?"!="===n:n?(r+="","="===n?r===i:"!="===n?r!==i:"^="===n?i&&0===r.indexOf(i):"*="===n?i&&r.indexOf(i)>-1:"$="===n?i&&r.slice(-i.length)===i:"~="===n?(" "+r.replace(st," ")+" ").indexOf(i)>-1:"|="===n?r===i||r.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(t,e,n,i,a){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),o="of-type"===e;return 1===i&&0===a?function(t){return!!t.parentNode}:function(e,n,l){var d,u,h,c,f,p,m=r!==s?"nextSibling":"previousSibling",g=e.parentNode,_=o&&e.nodeName.toLowerCase(),y=!l&&!o,v=!1;if(g){if(r){for(;m;){for(c=e;c=c[m];)if(o?c.nodeName.toLowerCase()===_:1===c.nodeType)return!1;p=m="only"===t&&!p&&"nextSibling"}return!0}if(p=[s?g.firstChild:g.lastChild],s&&y){for(c=g,h=c[W]||(c[W]={}),u=h[c.uniqueID]||(h[c.uniqueID]={}),d=u[t]||[],f=d[0]===z&&d[1],v=f&&d[2],c=f&&g.childNodes[f];c=++f&&c&&c[m]||(v=f=0)||p.pop();)if(1===c.nodeType&&++v&&c===e){u[t]=[z,f,v];break}}else if(y&&(c=e,h=c[W]||(c[W]={}),u=h[c.uniqueID]||(h[c.uniqueID]={}),d=u[t]||[],f=d[0]===z&&d[1],v=f),v===!1)for(;(c=++f&&c&&c[m]||(v=f=0)||p.pop())&&((o?c.nodeName.toLowerCase()!==_:1!==c.nodeType)||!++v||(y&&(h=c[W]||(c[W]={}),u=h[c.uniqueID]||(h[c.uniqueID]={}),u[t]=[z,v]),c!==e)););return v-=a,v===i||v%i===0&&v/i>=0}}},PSEUDO:function(t,n){var a,r=w.pseudos[t]||w.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return r[W]?r(n):r.length>1?(a=[t,t,"",n],w.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,a=r(t,n),s=a.length;s--;)i=tt(t,a[s]),t[i]=!(e[i]=a[s])}):function(t){return r(t,0,a)}):r}},pseudos:{not:i(function(t){var e=[],n=[],a=D(t.replace(ot,"$1"));return a[W]?i(function(t,e,n,i){for(var r,s=a(t,null,i,[]),o=t.length;o--;)(r=s[o])&&(t[o]=!(e[o]=r))}):function(t,i,r){return e[0]=t,a(e,null,r,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(bt,Mt),function(e){return(e.textContent||e.innerText||x(e)).indexOf(t)>-1}}),lang:i(function(t){return ct.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(bt,Mt).toLowerCase(),function(e){var n;do if(n=P?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===j},focus:function(t){return t===H.activeElement&&(!H.hasFocus||H.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!w.pseudos.empty(t)},header:function(t){return mt.test(t.nodeName)},input:function(t){return pt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},
|
||
text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:d(function(){return[0]}),last:d(function(t,e){return[e-1]}),eq:d(function(t,e,n){return[0>n?n+e:n]}),even:d(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:d(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:d(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:d(function(t,e,n){for(var i=0>n?n+e:n;++i<e;)t.push(i);return t})}},w.pseudos.nth=w.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[b]=o(b);for(b in{submit:!0,reset:!0})w.pseudos[b]=l(b);return h.prototype=w.filters=w.pseudos,w.setFilters=new h,L=e.tokenize=function(t,n){var i,a,r,s,o,l,d,u=V[t+" "];if(u)return n?0:u.slice(0);for(o=t,l=[],d=w.preFilter;o;){i&&!(a=lt.exec(o))||(a&&(o=o.slice(a[0].length)||o),l.push(r=[])),i=!1,(a=dt.exec(o))&&(i=a.shift(),r.push({value:i,type:a[0].replace(ot," ")}),o=o.slice(i.length));for(s in w.filter)!(a=ft[s].exec(o))||d[s]&&!(a=d[s](a))||(i=a.shift(),r.push({value:i,type:s,matches:a}),o=o.slice(i.length));if(!i)break}return n?o.length:o?e.error(t):V(t,l).slice(0)},D=e.compile=function(t,e){var n,i=[],a=[],r=$[t+" "];if(!r){for(e||(e=L(t)),n=e.length;n--;)r=y(e[n]),r[W]?i.push(r):a.push(r);r=$(t,v(a,i)),r.selector=t}return r},T=e.select=function(t,e,n,i){var a,r,s,o,l,d="function"==typeof t&&t,h=!i&&L(t=d.selector||t);if(n=n||[],1===h.length){if(r=h[0]=h[0].slice(0),r.length>2&&"ID"===(s=r[0]).type&&M.getById&&9===e.nodeType&&P&&w.relative[r[1].type]){if(e=(w.find.ID(s.matches[0].replace(bt,Mt),e)||[])[0],!e)return n;d&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(a=ft.needsContext.test(t)?0:r.length;a--&&(s=r[a],!w.relative[o=s.type]);)if((l=w.find[o])&&(i=l(s.matches[0].replace(bt,Mt),yt.test(r[0].type)&&u(e.parentNode)||e))){if(r.splice(a,1),t=i.length&&c(r),!t)return Z.apply(n,i),n;break}}return(d||D(t,h))(i,e,!P,n,!e||yt.test(t)&&u(e.parentNode)||e),n},M.sortStable=W.split("").sort(q).join("")===W,M.detectDuplicates=!!C,A(),M.sortDetached=a(function(t){return 1&t.compareDocumentPosition(H.createElement("div"))}),a(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||r("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),M.attributes&&a(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||r("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),a(function(t){return null==t.getAttribute("disabled")})||r(et,function(t,e,n){var i;return n?void 0:t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);rt.find=ut,rt.expr=ut.selectors,rt.expr[":"]=rt.expr.pseudos,rt.uniqueSort=rt.unique=ut.uniqueSort,rt.text=ut.getText,rt.isXMLDoc=ut.isXML,rt.contains=ut.contains;var ht=function(t,e,n){for(var i=[],a=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(a&&rt(t).is(n))break;i.push(t)}return i},ct=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},ft=rt.expr.match.needsContext,pt=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,mt=/^.[^:#\[\.,]*$/;rt.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?rt.find.matchesSelector(i,t)?[i]:[]:rt.find.matches(t,rt.grep(e,function(t){return 1===t.nodeType}))},rt.fn.extend({find:function(t){var e,n=this.length,i=[],a=this;if("string"!=typeof t)return this.pushStack(rt(t).filter(function(){for(e=0;n>e;e++)if(rt.contains(a[e],this))return!0}));for(e=0;n>e;e++)rt.find(t,a[e],i);return i=this.pushStack(n>1?rt.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&ft.test(t)?rt(t):t||[],!1).length}});var gt,_t=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,yt=rt.fn.init=function(t,e,n){var i,a;if(!t)return this;if(n=n||gt,"string"==typeof t){if(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:_t.exec(t),!i||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof rt?e[0]:e,rt.merge(this,rt.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:G,!0)),pt.test(i[1])&&rt.isPlainObject(e))for(i in e)rt.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return a=G.getElementById(i[2]),a&&a.parentNode&&(this.length=1,this[0]=a),this.context=G,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):rt.isFunction(t)?void 0!==n.ready?n.ready(t):t(rt):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),rt.makeArray(t,this))};yt.prototype=rt.fn,gt=rt(G);var vt=/^(?:parents|prev(?:Until|All))/,bt={children:!0,contents:!0,next:!0,prev:!0};rt.fn.extend({has:function(t){var e=rt(t,this),n=e.length;return this.filter(function(){for(var t=0;n>t;t++)if(rt.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,i=0,a=this.length,r=[],s=ft.test(t)||"string"!=typeof t?rt(t,e||this.context):0;a>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&rt.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?rt.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?K.call(rt(t),this[0]):K.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(rt.uniqueSort(rt.merge(this.get(),rt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),rt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return ht(t,"parentNode")},parentsUntil:function(t,e,n){return ht(t,"parentNode",n)},next:function(t){return a(t,"nextSibling")},prev:function(t){return a(t,"previousSibling")},nextAll:function(t){return ht(t,"nextSibling")},prevAll:function(t){return ht(t,"previousSibling")},nextUntil:function(t,e,n){return ht(t,"nextSibling",n)},prevUntil:function(t,e,n){return ht(t,"previousSibling",n)},siblings:function(t){return ct((t.parentNode||{}).firstChild,t)},children:function(t){return ct(t.firstChild)},contents:function(t){return t.contentDocument||rt.merge([],t.childNodes)}},function(t,e){rt.fn[t]=function(n,i){var a=rt.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(a=rt.filter(i,a)),this.length>1&&(bt[t]||rt.uniqueSort(a),vt.test(t)&&a.reverse()),this.pushStack(a)}});var Mt=/\S+/g;rt.Callbacks=function(t){t="string"==typeof t?r(t):rt.extend({},t);var e,n,i,a,s=[],o=[],l=-1,d=function(){for(a=t.once,i=e=!0;o.length;l=-1)for(n=o.shift();++l<s.length;)s[l].apply(n[0],n[1])===!1&&t.stopOnFalse&&(l=s.length,n=!1);t.memory||(n=!1),e=!1,a&&(s=n?[]:"")},u={add:function(){return s&&(n&&!e&&(l=s.length-1,o.push(n)),function i(e){rt.each(e,function(e,n){rt.isFunction(n)?t.unique&&u.has(n)||s.push(n):n&&n.length&&"string"!==rt.type(n)&&i(n)})}(arguments),n&&!e&&d()),this},remove:function(){return rt.each(arguments,function(t,e){for(var n;(n=rt.inArray(e,s,n))>-1;)s.splice(n,1),l>=n&&l--}),this},has:function(t){return t?rt.inArray(t,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return a=o=[],s=n="",this},disabled:function(){return!s},lock:function(){return a=o=[],n||(s=n=""),this},locked:function(){return!!a},fireWith:function(t,n){return a||(n=n||[],n=[t,n.slice?n.slice():n],o.push(n),e||d()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},rt.extend({Deferred:function(t){var e=[["resolve","done",rt.Callbacks("once memory"),"resolved"],["reject","fail",rt.Callbacks("once memory"),"rejected"],["notify","progress",rt.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var t=arguments;return rt.Deferred(function(n){rt.each(e,function(e,r){var s=rt.isFunction(t[e])&&t[e];a[r[1]](function(){var t=s&&s.apply(this,arguments);t&&rt.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this===i?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?rt.extend(t,i):i}},a={};return i.pipe=i.then,rt.each(e,function(t,r){var s=r[2],o=r[3];i[r[1]]=s.add,o&&s.add(function(){n=o},e[1^t][2].disable,e[2][2].lock),a[r[0]]=function(){return a[r[0]+"With"](this===a?i:this,arguments),this},a[r[0]+"With"]=s.fireWith}),i.promise(a),t&&t.call(a,a),a},when:function(t){var e,n,i,a=0,r=X.call(arguments),s=r.length,o=1!==s||t&&rt.isFunction(t.promise)?s:0,l=1===o?t:rt.Deferred(),d=function(t,n,i){return function(a){n[t]=this,i[t]=arguments.length>1?X.call(arguments):a,i===e?l.notifyWith(n,i):--o||l.resolveWith(n,i)}};if(s>1)for(e=new Array(s),n=new Array(s),i=new Array(s);s>a;a++)r[a]&&rt.isFunction(r[a].promise)?r[a].promise().progress(d(a,n,e)).done(d(a,i,r)).fail(l.reject):--o;return o||l.resolveWith(i,r),l.promise()}});var wt;rt.fn.ready=function(t){return rt.ready.promise().done(t),this},rt.extend({isReady:!1,readyWait:1,holdReady:function(t){t?rt.readyWait++:rt.ready(!0)},ready:function(t){(t===!0?--rt.readyWait:rt.isReady)||(rt.isReady=!0,t!==!0&&--rt.readyWait>0||(wt.resolveWith(G,[rt]),rt.fn.triggerHandler&&(rt(G).triggerHandler("ready"),rt(G).off("ready"))))}}),rt.ready.promise=function(e){return wt||(wt=rt.Deferred(),"complete"===G.readyState||"loading"!==G.readyState&&!G.documentElement.doScroll?t.setTimeout(rt.ready):(G.addEventListener("DOMContentLoaded",s),t.addEventListener("load",s))),wt.promise(e)},rt.ready.promise();var xt=function(t,e,n,i,a,r,s){var o=0,l=t.length,d=null==n;if("object"===rt.type(n)){a=!0;for(o in n)xt(t,e,o,n[o],!0,r,s)}else if(void 0!==i&&(a=!0,rt.isFunction(i)||(s=!0),d&&(s?(e.call(t,i),e=null):(d=e,e=function(t,e,n){return d.call(rt(t),n)})),e))for(;l>o;o++)e(t[o],n,s?i:i.call(t[o],o,e(t[o],n)));return a?t:d?e.call(t):l?e(t[0],n):r},kt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};o.uid=1,o.prototype={register:function(t,e){var n=e||{};return t.nodeType?t[this.expando]=n:Object.defineProperty(t,this.expando,{value:n,writable:!0,configurable:!0}),t[this.expando]},cache:function(t){if(!kt(t))return{};var e=t[this.expando];return e||(e={},kt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,a=this.cache(t);if("string"==typeof e)a[e]=n;else for(i in e)a[i]=e[i];return a},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][e]},access:function(t,e,n){var i;return void 0===e||e&&"string"==typeof e&&void 0===n?(i=this.get(t,e),void 0!==i?i:this.get(t,rt.camelCase(e))):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i,a,r=t[this.expando];if(void 0!==r){if(void 0===e)this.register(t);else{rt.isArray(e)?i=e.concat(e.map(rt.camelCase)):(a=rt.camelCase(e),e in r?i=[e,a]:(i=a,i=i in r?[i]:i.match(Mt)||[])),n=i.length;for(;n--;)delete r[i[n]]}(void 0===e||rt.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!rt.isEmptyObject(e)}};var Lt=new o,Dt=new o,Tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,St=/[A-Z]/g;rt.extend({hasData:function(t){return Dt.hasData(t)||Lt.hasData(t)},data:function(t,e,n){return Dt.access(t,e,n)},removeData:function(t,e){Dt.remove(t,e)},_data:function(t,e,n){return Lt.access(t,e,n)},_removeData:function(t,e){Lt.remove(t,e)}}),rt.fn.extend({data:function(t,e){var n,i,a,r=this[0],s=r&&r.attributes;if(void 0===t){if(this.length&&(a=Dt.get(r),1===r.nodeType&&!Lt.get(r,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(i=s[n].name,0===i.indexOf("data-")&&(i=rt.camelCase(i.slice(5)),l(r,i,a[i])));Lt.set(r,"hasDataAttrs",!0)}return a}return"object"==typeof t?this.each(function(){Dt.set(this,t)}):xt(this,function(e){var n,i;if(r&&void 0===e){if(n=Dt.get(r,t)||Dt.get(r,t.replace(St,"-$&").toLowerCase()),void 0!==n)return n;if(i=rt.camelCase(t),n=Dt.get(r,i),void 0!==n)return n;if(n=l(r,i,void 0),void 0!==n)return n}else i=rt.camelCase(t),this.each(function(){var n=Dt.get(this,i);Dt.set(this,i,e),t.indexOf("-")>-1&&void 0!==n&&Dt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Dt.remove(this,t)})}}),rt.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=Lt.get(t,e),n&&(!i||rt.isArray(n)?i=Lt.access(t,e,rt.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=rt.queue(t,e),i=n.length,a=n.shift(),r=rt._queueHooks(t,e),s=function(){rt.dequeue(t,e)};"inprogress"===a&&(a=n.shift(),i--),a&&("fx"===e&&n.unshift("inprogress"),delete r.stop,a.call(t,s,r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Lt.get(t,n)||Lt.access(t,n,{empty:rt.Callbacks("once memory").add(function(){Lt.remove(t,[e+"queue",n])})})}}),rt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?rt.queue(this[0],t):void 0===e?this:this.each(function(){var n=rt.queue(this,t,e);rt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&rt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){rt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,a=rt.Deferred(),r=this,s=this.length,o=function(){--i||a.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)n=Lt.get(r[s],t+"queueHooks"),n&&n.empty&&(i++,n.empty.add(o));return o(),a.promise(e)}});var Yt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ct=new RegExp("^(?:([+-])=|)("+Yt+")([a-z%]*)$","i"),At=["Top","Right","Bottom","Left"],Ht=function(t,e){return t=e||t,"none"===rt.css(t,"display")||!rt.contains(t.ownerDocument,t)},jt=/^(?:checkbox|radio)$/i,Pt=/<([\w:-]+)/,It=/^$|\/(?:java|ecma)script/i,Et={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,"",""]};Et.optgroup=Et.option,Et.tbody=Et.tfoot=Et.colgroup=Et.caption=Et.thead,Et.th=Et.td;var Ft=/<|&#?\w+;/;!function(){var t=G.createDocumentFragment(),e=t.appendChild(G.createElement("div")),n=G.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),it.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",it.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Ot=/^key/,Wt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Rt=/^([^.]*)(?:\.(.+)|)/;rt.event={global:{},add:function(t,e,n,i,a){var r,s,o,l,d,u,h,c,f,p,m,g=Lt.get(t);if(g)for(n.handler&&(r=n,n=r.handler,a=r.selector),n.guid||(n.guid=rt.guid++),(l=g.events)||(l=g.events={}),(s=g.handle)||(s=g.handle=function(e){return"undefined"!=typeof rt&&rt.event.triggered!==e.type?rt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Mt)||[""],d=e.length;d--;)o=Rt.exec(e[d])||[],f=m=o[1],p=(o[2]||"").split(".").sort(),f&&(h=rt.event.special[f]||{},f=(a?h.delegateType:h.bindType)||f,h=rt.event.special[f]||{},u=rt.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:a,needsContext:a&&rt.expr.match.needsContext.test(a),namespace:p.join(".")},r),(c=l[f])||(c=l[f]=[],c.delegateCount=0,h.setup&&h.setup.call(t,i,p,s)!==!1||t.addEventListener&&t.addEventListener(f,s)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),a?c.splice(c.delegateCount++,0,u):c.push(u),rt.event.global[f]=!0)},remove:function(t,e,n,i,a){var r,s,o,l,d,u,h,c,f,p,m,g=Lt.hasData(t)&&Lt.get(t);if(g&&(l=g.events)){for(e=(e||"").match(Mt)||[""],d=e.length;d--;)if(o=Rt.exec(e[d])||[],f=m=o[1],p=(o[2]||"").split(".").sort(),f){for(h=rt.event.special[f]||{},f=(i?h.delegateType:h.bindType)||f,c=l[f]||[],o=o[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=c.length;r--;)u=c[r],!a&&m!==u.origType||n&&n.guid!==u.guid||o&&!o.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(c.splice(r,1),u.selector&&c.delegateCount--,h.remove&&h.remove.call(t,u));s&&!c.length&&(h.teardown&&h.teardown.call(t,p,g.handle)!==!1||rt.removeEvent(t,f,g.handle),delete l[f])}else for(f in l)rt.event.remove(t,f+e[d],n,i,!0);rt.isEmptyObject(l)&&Lt.remove(t,"handle events")}},dispatch:function(t){t=rt.event.fix(t);var e,n,i,a,r,s=[],o=X.call(arguments),l=(Lt.get(this,"events")||{})[t.type]||[],d=rt.event.special[t.type]||{};if(o[0]=t,t.delegateTarget=this,!d.preDispatch||d.preDispatch.call(this,t)!==!1){for(s=rt.event.handlers.call(this,t,l),e=0;(a=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=a.elem,n=0;(r=a.handlers[n++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(r.namespace)||(t.handleObj=r,t.data=r.data,i=((rt.event.special[r.origType]||{}).handle||r.handler).apply(a.elem,o),void 0!==i&&(t.result=i)===!1&&(t.preventDefault(),t.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,a,r,s=[],o=e.delegateCount,l=t.target;if(o&&l.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==t.type)){for(i=[],n=0;o>n;n++)r=e[n],a=r.selector+" ",void 0===i[a]&&(i[a]=r.needsContext?rt(a,this).index(l)>-1:rt.find(a,this,null,[l]).length),i[a]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return o<e.length&&s.push({elem:this,handlers:e.slice(o)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,a,r=e.button;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||G,i=n.documentElement,a=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||a&&a.scrollLeft||0)-(i&&i.clientLeft||a&&a.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||a&&a.scrollTop||0)-(i&&i.clientTop||a&&a.clientTop||0)),t.which||void 0===r||(t.which=1&r?1:2&r?3:4&r?2:0),t}},fix:function(t){if(t[rt.expando])return t;var e,n,i,a=t.type,r=t,s=this.fixHooks[a];for(s||(this.fixHooks[a]=s=Wt.test(a)?this.mouseHooks:Ot.test(a)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,t=new rt.Event(r),e=i.length;e--;)n=i[e],t[n]=r[n];return t.target||(t.target=G),3===t.target.nodeType&&(t.target=t.target.parentNode),s.filter?s.filter(t,r):t},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==m()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===m()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&rt.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(t){return rt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},rt.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},rt.Event=function(t,e){return this instanceof rt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?f:p):this.type=t,e&&rt.extend(this,e),this.timeStamp=t&&t.timeStamp||rt.now(),void(this[rt.expando]=!0)):new rt.Event(t,e)},rt.Event.prototype={constructor:rt.Event,isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=f,t&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=f,t&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=f,t&&t.stopImmediatePropagation(),this.stopPropagation()}},rt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){rt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,a=t.relatedTarget,r=t.handleObj;return a&&(a===i||rt.contains(i,a))||(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}}),rt.fn.extend({on:function(t,e,n,i){return g(this,t,e,n,i)},one:function(t,e,n,i){return g(this,t,e,n,i,1)},off:function(t,e,n){var i,a;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,rt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(a in t)this.off(a,e,t[a]);return this}return e!==!1&&"function"!=typeof e||(n=e,e=void 0),n===!1&&(n=p),this.each(function(){rt.event.remove(this,t,n,e)})}});var zt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Nt=/<script|<style|<link/i,Bt=/checked\s*(?:[^=]|=\s*.checked.)/i,Vt=/^true\/(.*)/,$t=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;rt.extend({htmlPrefilter:function(t){return t.replace(zt,"<$1></$2>")},clone:function(t,e,n){var i,a,r,s,o=t.cloneNode(!0),l=rt.contains(t.ownerDocument,t);if(!(it.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||rt.isXMLDoc(t)))for(s=u(o),r=u(t),i=0,a=r.length;a>i;i++)M(r[i],s[i]);if(e)if(n)for(r=r||u(t),s=s||u(o),i=0,a=r.length;a>i;i++)b(r[i],s[i]);else b(t,o);return s=u(o,"script"),s.length>0&&h(s,!l&&u(t,"script")),o},cleanData:function(t){for(var e,n,i,a=rt.event.special,r=0;void 0!==(n=t[r]);r++)if(kt(n)){if(e=n[Lt.expando]){if(e.events)for(i in e.events)a[i]?rt.event.remove(n,i):rt.removeEvent(n,i,e.handle);n[Lt.expando]=void 0}n[Dt.expando]&&(n[Dt.expando]=void 0)}}}),rt.fn.extend({domManip:w,detach:function(t){return x(this,t,!0)},remove:function(t){return x(this,t)},text:function(t){return xt(this,function(t){return void 0===t?rt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return w(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=_(this,t);e.appendChild(t)}})},prepend:function(){return w(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=_(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return w(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return w(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(rt.cleanData(u(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return rt.clone(this,t,e)})},html:function(t){return xt(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Nt.test(t)&&!Et[(Pt.exec(t)||["",""])[1].toLowerCase()]){t=rt.htmlPrefilter(t);try{for(;i>n;n++)e=this[n]||{},1===e.nodeType&&(rt.cleanData(u(e,!1)),e.innerHTML=t);e=0}catch(a){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return w(this,arguments,function(e){var n=this.parentNode;rt.inArray(this,t)<0&&(rt.cleanData(u(this)),n&&n.replaceChild(e,this))},t)}}),rt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){rt.fn[t]=function(t){for(var n,i=[],a=rt(t),r=a.length-1,s=0;r>=s;s++)n=s===r?this:this.clone(!0),rt(a[s])[e](n),Z.apply(i,n.get());return this.pushStack(i)}});var qt,Ut={HTML:"block",BODY:"block"},Jt=/^margin/,Gt=new RegExp("^("+Yt+")(?!px)[a-z%]+$","i"),Xt=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},Qt=function(t,e,n,i){var a,r,s={};for(r in e)s[r]=t.style[r],t.style[r]=e[r];a=n.apply(t,i||[]);for(r in e)t.style[r]=s[r];return a},Zt=G.documentElement;!function(){function e(){o.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%",o.innerHTML="",Zt.appendChild(s);var e=t.getComputedStyle(o);n="1%"!==e.top,r="2px"===e.marginLeft,i="4px"===e.width,o.style.marginRight="50%",a="4px"===e.marginRight,Zt.removeChild(s)}var n,i,a,r,s=G.createElement("div"),o=G.createElement("div");o.style&&(o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="",it.clearCloneStyle="content-box"===o.style.backgroundClip,s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",s.appendChild(o),rt.extend(it,{pixelPosition:function(){return e(),n},boxSizingReliable:function(){return null==i&&e(),i},pixelMarginRight:function(){return null==i&&e(),a},reliableMarginLeft:function(){return null==i&&e(),r},reliableMarginRight:function(){var e,n=o.appendChild(G.createElement("div"));return n.style.cssText=o.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",o.style.width="1px",Zt.appendChild(s),e=!parseFloat(t.getComputedStyle(n).marginRight),Zt.removeChild(s),o.removeChild(n),e}}))}();var Kt=/^(none|table(?!-c[ea]).+)/,te={position:"absolute",visibility:"hidden",display:"block"},ee={letterSpacing:"0",fontWeight:"400"},ne=["Webkit","O","Moz","ms"],ie=G.createElement("div").style;rt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=D(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var a,r,s,o=rt.camelCase(e),l=t.style;return e=rt.cssProps[o]||(rt.cssProps[o]=S(o)||o),s=rt.cssHooks[e]||rt.cssHooks[o],void 0===n?s&&"get"in s&&void 0!==(a=s.get(t,!1,i))?a:l[e]:(r=typeof n,"string"===r&&(a=Ct.exec(n))&&a[1]&&(n=d(t,e,a),r="number"),null!=n&&n===n&&("number"===r&&(n+=a&&a[3]||(rt.cssNumber[o]?"":"px")),it.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(l[e]=n)),void 0)}},css:function(t,e,n,i){var a,r,s,o=rt.camelCase(e);return e=rt.cssProps[o]||(rt.cssProps[o]=S(o)||o),s=rt.cssHooks[e]||rt.cssHooks[o],s&&"get"in s&&(a=s.get(t,!0,n)),void 0===a&&(a=D(t,e,i)),"normal"===a&&e in ee&&(a=ee[e]),""===n||n?(r=parseFloat(a),n===!0||isFinite(r)?r||0:a):a}}),rt.each(["height","width"],function(t,e){rt.cssHooks[e]={get:function(t,n,i){return n?Kt.test(rt.css(t,"display"))&&0===t.offsetWidth?Qt(t,te,function(){return A(t,e,i)}):A(t,e,i):void 0},set:function(t,n,i){var a,r=i&&Xt(t),s=i&&C(t,e,i,"border-box"===rt.css(t,"boxSizing",!1,r),r);return s&&(a=Ct.exec(n))&&"px"!==(a[3]||"px")&&(t.style[e]=n,n=rt.css(t,e)),Y(t,n,s)}}}),rt.cssHooks.marginLeft=T(it.reliableMarginLeft,function(t,e){return e?(parseFloat(D(t,"marginLeft"))||t.getBoundingClientRect().left-Qt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px":void 0}),rt.cssHooks.marginRight=T(it.reliableMarginRight,function(t,e){return e?Qt(t,{display:"inline-block"},D,[t,"marginRight"]):void 0}),rt.each({margin:"",padding:"",border:"Width"},function(t,e){rt.cssHooks[t+e]={expand:function(n){for(var i=0,a={},r="string"==typeof n?n.split(" "):[n];4>i;i++)a[t+At[i]+e]=r[i]||r[i-2]||r[0];return a}},Jt.test(t)||(rt.cssHooks[t+e].set=Y)}),rt.fn.extend({css:function(t,e){return xt(this,function(t,e,n){var i,a,r={},s=0;if(rt.isArray(e)){for(i=Xt(t),a=e.length;a>s;s++)r[e[s]]=rt.css(t,e[s],!1,i);return r}return void 0!==n?rt.style(t,e,n):rt.css(t,e)},t,e,arguments.length>1)},show:function(){return H(this,!0)},hide:function(){return H(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Ht(this)?rt(this).show():rt(this).hide()})}}),rt.Tween=j,j.prototype={constructor:j,init:function(t,e,n,i,a,r){this.elem=t,this.prop=n,this.easing=a||rt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(rt.cssNumber[n]?"":"px")},cur:function(){var t=j.propHooks[this.prop];return t&&t.get?t.get(this):j.propHooks._default.get(this)},run:function(t){var e,n=j.propHooks[this.prop];return this.options.duration?this.pos=e=rt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):j.propHooks._default.set(this),this}},j.prototype.init.prototype=j.prototype,j.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=rt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){rt.fx.step[t.prop]?rt.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[rt.cssProps[t.prop]]&&!rt.cssHooks[t.prop]?t.elem[t.prop]=t.now:rt.style(t.elem,t.prop,t.now+t.unit)}}},j.propHooks.scrollTop=j.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},rt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},rt.fx=j.prototype.init,rt.fx.step={};var ae,re,se=/^(?:toggle|show|hide)$/,oe=/queueHooks$/;rt.Animation=rt.extend(W,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return d(n.elem,t,Ct.exec(e),n),n}]},tweener:function(t,e){rt.isFunction(t)?(e=t,t=["*"]):t=t.match(Mt);for(var n,i=0,a=t.length;a>i;i++)n=t[i],W.tweeners[n]=W.tweeners[n]||[],W.tweeners[n].unshift(e)},prefilters:[F],prefilter:function(t,e){e?W.prefilters.unshift(t):W.prefilters.push(t)}}),rt.speed=function(t,e,n){var i=t&&"object"==typeof t?rt.extend({},t):{complete:n||!n&&e||rt.isFunction(t)&&t,duration:t,easing:n&&e||e&&!rt.isFunction(e)&&e};return i.duration=rt.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in rt.fx.speeds?rt.fx.speeds[i.duration]:rt.fx.speeds._default,null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){rt.isFunction(i.old)&&i.old.call(this),i.queue&&rt.dequeue(this,i.queue)},i},rt.fn.extend({fadeTo:function(t,e,n,i){return this.filter(Ht).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var a=rt.isEmptyObject(t),r=rt.speed(e,n,i),s=function(){var e=W(this,rt.extend({},t),r);(a||Lt.get(this,"finish"))&&e.stop(!0)};return s.finish=s,a||r.queue===!1?this.each(s):this.queue(r.queue,s)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,a=null!=t&&t+"queueHooks",r=rt.timers,s=Lt.get(this);if(a)s[a]&&s[a].stop&&i(s[a]);else for(a in s)s[a]&&s[a].stop&&oe.test(a)&&i(s[a]);for(a=r.length;a--;)r[a].elem!==this||null!=t&&r[a].queue!==t||(r[a].anim.stop(n),e=!1,r.splice(a,1));!e&&n||rt.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=Lt.get(this),i=n[t+"queue"],a=n[t+"queueHooks"],r=rt.timers,s=i?i.length:0;for(n.finish=!0,rt.queue(this,t,[]),a&&a.stop&&a.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;s>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),rt.each(["toggle","show","hide"],function(t,e){var n=rt.fn[e];rt.fn[e]=function(t,i,a){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(I(e,!0),t,i,a)}}),rt.each({slideDown:I("show"),slideUp:I("hide"),slideToggle:I("toggle"),
|
||
fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){rt.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),rt.timers=[],rt.fx.tick=function(){var t,e=0,n=rt.timers;for(ae=rt.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||rt.fx.stop(),ae=void 0},rt.fx.timer=function(t){rt.timers.push(t),t()?rt.fx.start():rt.timers.pop()},rt.fx.interval=13,rt.fx.start=function(){re||(re=t.setInterval(rt.fx.tick,rt.fx.interval))},rt.fx.stop=function(){t.clearInterval(re),re=null},rt.fx.speeds={slow:600,fast:200,_default:400},rt.fn.delay=function(e,n){return e=rt.fx?rt.fx.speeds[e]||e:e,n=n||"fx",this.queue(n,function(n,i){var a=t.setTimeout(n,e);i.stop=function(){t.clearTimeout(a)}})},function(){var t=G.createElement("input"),e=G.createElement("select"),n=e.appendChild(G.createElement("option"));t.type="checkbox",it.checkOn=""!==t.value,it.optSelected=n.selected,e.disabled=!0,it.optDisabled=!n.disabled,t=G.createElement("input"),t.value="t",t.type="radio",it.radioValue="t"===t.value}();var le,de=rt.expr.attrHandle;rt.fn.extend({attr:function(t,e){return xt(this,rt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){rt.removeAttr(this,t)})}}),rt.extend({attr:function(t,e,n){var i,a,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return"undefined"==typeof t.getAttribute?rt.prop(t,e,n):(1===r&&rt.isXMLDoc(t)||(e=e.toLowerCase(),a=rt.attrHooks[e]||(rt.expr.match.bool.test(e)?le:void 0)),void 0!==n?null===n?void rt.removeAttr(t,e):a&&"set"in a&&void 0!==(i=a.set(t,n,e))?i:(t.setAttribute(e,n+""),n):a&&"get"in a&&null!==(i=a.get(t,e))?i:(i=rt.find.attr(t,e),null==i?void 0:i))},attrHooks:{type:{set:function(t,e){if(!it.radioValue&&"radio"===e&&rt.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i,a=0,r=e&&e.match(Mt);if(r&&1===t.nodeType)for(;n=r[a++];)i=rt.propFix[n]||n,rt.expr.match.bool.test(n)&&(t[i]=!1),t.removeAttribute(n)}}),le={set:function(t,e,n){return e===!1?rt.removeAttr(t,n):t.setAttribute(n,n),n}},rt.each(rt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=de[e]||rt.find.attr;de[e]=function(t,e,i){var a,r;return i||(r=de[e],de[e]=a,a=null!=n(t,e,i)?e.toLowerCase():null,de[e]=r),a}});var ue=/^(?:input|select|textarea|button)$/i,he=/^(?:a|area)$/i;rt.fn.extend({prop:function(t,e){return xt(this,rt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[rt.propFix[t]||t]})}}),rt.extend({prop:function(t,e,n){var i,a,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&rt.isXMLDoc(t)||(e=rt.propFix[e]||e,a=rt.propHooks[e]),void 0!==n?a&&"set"in a&&void 0!==(i=a.set(t,n,e))?i:t[e]=n:a&&"get"in a&&null!==(i=a.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=rt.find.attr(t,"tabindex");return e?parseInt(e,10):ue.test(t.nodeName)||he.test(t.nodeName)&&t.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),it.optSelected||(rt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),rt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){rt.propFix[this.toLowerCase()]=this});var ce=/[\t\r\n\f]/g;rt.fn.extend({addClass:function(t){var e,n,i,a,r,s,o,l=0;if(rt.isFunction(t))return this.each(function(e){rt(this).addClass(t.call(this,e,R(this)))});if("string"==typeof t&&t)for(e=t.match(Mt)||[];n=this[l++];)if(a=R(n),i=1===n.nodeType&&(" "+a+" ").replace(ce," ")){for(s=0;r=e[s++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");o=rt.trim(i),a!==o&&n.setAttribute("class",o)}return this},removeClass:function(t){var e,n,i,a,r,s,o,l=0;if(rt.isFunction(t))return this.each(function(e){rt(this).removeClass(t.call(this,e,R(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(Mt)||[];n=this[l++];)if(a=R(n),i=1===n.nodeType&&(" "+a+" ").replace(ce," ")){for(s=0;r=e[s++];)for(;i.indexOf(" "+r+" ")>-1;)i=i.replace(" "+r+" "," ");o=rt.trim(i),a!==o&&n.setAttribute("class",o)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):rt.isFunction(t)?this.each(function(n){rt(this).toggleClass(t.call(this,n,R(this),e),e)}):this.each(function(){var e,i,a,r;if("string"===n)for(i=0,a=rt(this),r=t.match(Mt)||[];e=r[i++];)a.hasClass(e)?a.removeClass(e):a.addClass(e);else void 0!==t&&"boolean"!==n||(e=R(this),e&&Lt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||t===!1?"":Lt.get(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+R(n)+" ").replace(ce," ").indexOf(e)>-1)return!0;return!1}});var fe=/\r/g,pe=/[\x20\t\r\n\f]+/g;rt.fn.extend({val:function(t){var e,n,i,a=this[0];{if(arguments.length)return i=rt.isFunction(t),this.each(function(n){var a;1===this.nodeType&&(a=i?t.call(this,n,rt(this).val()):t,null==a?a="":"number"==typeof a?a+="":rt.isArray(a)&&(a=rt.map(a,function(t){return null==t?"":t+""})),e=rt.valHooks[this.type]||rt.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,a,"value")||(this.value=a))});if(a)return e=rt.valHooks[a.type]||rt.valHooks[a.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(a,"value"))?n:(n=a.value,"string"==typeof n?n.replace(fe,""):null==n?"":n)}}}),rt.extend({valHooks:{option:{get:function(t){var e=rt.find.attr(t,"value");return null!=e?e:rt.trim(rt.text(t)).replace(pe," ")}},select:{get:function(t){for(var e,n,i=t.options,a=t.selectedIndex,r="select-one"===t.type||0>a,s=r?null:[],o=r?a+1:i.length,l=0>a?o:r?a:0;o>l;l++)if(n=i[l],(n.selected||l===a)&&(it.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!rt.nodeName(n.parentNode,"optgroup"))){if(e=rt(n).val(),r)return e;s.push(e)}return s},set:function(t,e){for(var n,i,a=t.options,r=rt.makeArray(e),s=a.length;s--;)i=a[s],(i.selected=rt.inArray(rt.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(t.selectedIndex=-1),r}}}}),rt.each(["radio","checkbox"],function(){rt.valHooks[this]={set:function(t,e){return rt.isArray(e)?t.checked=rt.inArray(rt(t).val(),e)>-1:void 0}},it.checkOn||(rt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var me=/^(?:focusinfocus|focusoutblur)$/;rt.extend(rt.event,{trigger:function(e,n,i,a){var r,s,o,l,d,u,h,c=[i||G],f=nt.call(e,"type")?e.type:e,p=nt.call(e,"namespace")?e.namespace.split("."):[];if(s=o=i=i||G,3!==i.nodeType&&8!==i.nodeType&&!me.test(f+rt.event.triggered)&&(f.indexOf(".")>-1&&(p=f.split("."),f=p.shift(),p.sort()),d=f.indexOf(":")<0&&"on"+f,e=e[rt.expando]?e:new rt.Event(f,"object"==typeof e&&e),e.isTrigger=a?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:rt.makeArray(n,[e]),h=rt.event.special[f]||{},a||!h.trigger||h.trigger.apply(i,n)!==!1)){if(!a&&!h.noBubble&&!rt.isWindow(i)){for(l=h.delegateType||f,me.test(l+f)||(s=s.parentNode);s;s=s.parentNode)c.push(s),o=s;o===(i.ownerDocument||G)&&c.push(o.defaultView||o.parentWindow||t)}for(r=0;(s=c[r++])&&!e.isPropagationStopped();)e.type=r>1?l:h.bindType||f,u=(Lt.get(s,"events")||{})[e.type]&&Lt.get(s,"handle"),u&&u.apply(s,n),u=d&&s[d],u&&u.apply&&kt(s)&&(e.result=u.apply(s,n),e.result===!1&&e.preventDefault());return e.type=f,a||e.isDefaultPrevented()||h._default&&h._default.apply(c.pop(),n)!==!1||!kt(i)||d&&rt.isFunction(i[f])&&!rt.isWindow(i)&&(o=i[d],o&&(i[d]=null),rt.event.triggered=f,i[f](),rt.event.triggered=void 0,o&&(i[d]=o)),e.result}},simulate:function(t,e,n){var i=rt.extend(new rt.Event,n,{type:t,isSimulated:!0});rt.event.trigger(i,null,e),i.isDefaultPrevented()&&n.preventDefault()}}),rt.fn.extend({trigger:function(t,e){return this.each(function(){rt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?rt.event.trigger(t,e,n,!0):void 0}}),rt.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){rt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),rt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),it.focusin="onfocusin"in t,it.focusin||rt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){rt.event.simulate(e,t.target,rt.event.fix(t))};rt.event.special[e]={setup:function(){var i=this.ownerDocument||this,a=Lt.access(i,e);a||i.addEventListener(t,n,!0),Lt.access(i,e,(a||0)+1)},teardown:function(){var i=this.ownerDocument||this,a=Lt.access(i,e)-1;a?Lt.access(i,e,a):(i.removeEventListener(t,n,!0),Lt.remove(i,e))}}});var ge=t.location,_e=rt.now(),ye=/\?/;rt.parseJSON=function(t){return JSON.parse(t+"")},rt.parseXML=function(e){var n;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(i){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||rt.error("Invalid XML: "+e),n};var ve=/#.*$/,be=/([?&])_=[^&]*/,Me=/^(.*?):[ \t]*([^\r\n]*)$/gm,we=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,xe=/^(?:GET|HEAD)$/,ke=/^\/\//,Le={},De={},Te="*/".concat("*"),Se=G.createElement("a");Se.href=ge.href,rt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ge.href,type:"GET",isLocal:we.test(ge.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Te,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":rt.parseJSON,"text xml":rt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?B(B(t,rt.ajaxSettings),e):B(rt.ajaxSettings,t)},ajaxPrefilter:z(Le),ajaxTransport:z(De),ajax:function(e,n){function i(e,n,i,o){var d,h,y,v,M,x=n;2!==b&&(b=2,l&&t.clearTimeout(l),a=void 0,s=o||"",w.readyState=e>0?4:0,d=e>=200&&300>e||304===e,i&&(v=V(c,w,i)),v=$(c,v,w,d),d?(c.ifModified&&(M=w.getResponseHeader("Last-Modified"),M&&(rt.lastModified[r]=M),M=w.getResponseHeader("etag"),M&&(rt.etag[r]=M)),204===e||"HEAD"===c.type?x="nocontent":304===e?x="notmodified":(x=v.state,h=v.data,y=v.error,d=!y)):(y=x,!e&&x||(x="error",0>e&&(e=0))),w.status=e,w.statusText=(n||x)+"",d?m.resolveWith(f,[h,x,w]):m.rejectWith(f,[w,x,y]),w.statusCode(_),_=void 0,u&&p.trigger(d?"ajaxSuccess":"ajaxError",[w,c,d?h:y]),g.fireWith(f,[w,x]),u&&(p.trigger("ajaxComplete",[w,c]),--rt.active||rt.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=void 0),n=n||{};var a,r,s,o,l,d,u,h,c=rt.ajaxSetup({},n),f=c.context||c,p=c.context&&(f.nodeType||f.jquery)?rt(f):rt.event,m=rt.Deferred(),g=rt.Callbacks("once memory"),_=c.statusCode||{},y={},v={},b=0,M="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!o)for(o={};e=Me.exec(s);)o[e[1].toLowerCase()]=e[2];e=o[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?s:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return b||(t=v[n]=v[n]||t,y[t]=e),this},overrideMimeType:function(t){return b||(c.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>b)for(e in t)_[e]=[_[e],t[e]];else w.always(t[w.status]);return this},abort:function(t){var e=t||M;return a&&a.abort(e),i(0,e),this}};if(m.promise(w).complete=g.add,w.success=w.done,w.error=w.fail,c.url=((e||c.url||ge.href)+"").replace(ve,"").replace(ke,ge.protocol+"//"),c.type=n.method||n.type||c.method||c.type,c.dataTypes=rt.trim(c.dataType||"*").toLowerCase().match(Mt)||[""],null==c.crossDomain){d=G.createElement("a");try{d.href=c.url,d.href=d.href,c.crossDomain=Se.protocol+"//"+Se.host!=d.protocol+"//"+d.host}catch(x){c.crossDomain=!0}}if(c.data&&c.processData&&"string"!=typeof c.data&&(c.data=rt.param(c.data,c.traditional)),N(Le,c,n,w),2===b)return w;u=rt.event&&c.global,u&&0===rt.active++&&rt.event.trigger("ajaxStart"),c.type=c.type.toUpperCase(),c.hasContent=!xe.test(c.type),r=c.url,c.hasContent||(c.data&&(r=c.url+=(ye.test(r)?"&":"?")+c.data,delete c.data),c.cache===!1&&(c.url=be.test(r)?r.replace(be,"$1_="+_e++):r+(ye.test(r)?"&":"?")+"_="+_e++)),c.ifModified&&(rt.lastModified[r]&&w.setRequestHeader("If-Modified-Since",rt.lastModified[r]),rt.etag[r]&&w.setRequestHeader("If-None-Match",rt.etag[r])),(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&w.setRequestHeader("Content-Type",c.contentType),w.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+("*"!==c.dataTypes[0]?", "+Te+"; q=0.01":""):c.accepts["*"]);for(h in c.headers)w.setRequestHeader(h,c.headers[h]);if(c.beforeSend&&(c.beforeSend.call(f,w,c)===!1||2===b))return w.abort();M="abort";for(h in{success:1,error:1,complete:1})w[h](c[h]);if(a=N(De,c,n,w)){if(w.readyState=1,u&&p.trigger("ajaxSend",[w,c]),2===b)return w;c.async&&c.timeout>0&&(l=t.setTimeout(function(){w.abort("timeout")},c.timeout));try{b=1,a.send(y,i)}catch(x){if(!(2>b))throw x;i(-1,x)}}else i(-1,"No Transport");return w},getJSON:function(t,e,n){return rt.get(t,e,n,"json")},getScript:function(t,e){return rt.get(t,void 0,e,"script")}}),rt.each(["get","post"],function(t,e){rt[e]=function(t,n,i,a){return rt.isFunction(n)&&(a=a||i,i=n,n=void 0),rt.ajax(rt.extend({url:t,type:e,dataType:a,data:n,success:i},rt.isPlainObject(t)&&t))}}),rt._evalUrl=function(t){return rt.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},rt.fn.extend({wrapAll:function(t){var e;return rt.isFunction(t)?this.each(function(e){rt(this).wrapAll(t.call(this,e))}):(this[0]&&(e=rt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return rt.isFunction(t)?this.each(function(e){rt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=rt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=rt.isFunction(t);return this.each(function(n){rt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){rt.nodeName(this,"body")||rt(this).replaceWith(this.childNodes)}).end()}}),rt.expr.filters.hidden=function(t){return!rt.expr.filters.visible(t)},rt.expr.filters.visible=function(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0};var Ye=/%20/g,Ce=/\[\]$/,Ae=/\r?\n/g,He=/^(?:submit|button|image|reset|file)$/i,je=/^(?:input|select|textarea|keygen)/i;rt.param=function(t,e){var n,i=[],a=function(t,e){e=rt.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=rt.ajaxSettings&&rt.ajaxSettings.traditional),rt.isArray(t)||t.jquery&&!rt.isPlainObject(t))rt.each(t,function(){a(this.name,this.value)});else for(n in t)q(n,t[n],e,a);return i.join("&").replace(Ye,"+")},rt.fn.extend({serialize:function(){return rt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=rt.prop(this,"elements");return t?rt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!rt(this).is(":disabled")&&je.test(this.nodeName)&&!He.test(t)&&(this.checked||!jt.test(t))}).map(function(t,e){var n=rt(this).val();return null==n?null:rt.isArray(n)?rt.map(n,function(t){return{name:e.name,value:t.replace(Ae,"\r\n")}}):{name:e.name,value:n.replace(Ae,"\r\n")}}).get()}}),rt.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(e){}};var Pe={0:200,1223:204},Ie=rt.ajaxSettings.xhr();it.cors=!!Ie&&"withCredentials"in Ie,it.ajax=Ie=!!Ie,rt.ajaxTransport(function(e){var n,i;return it.cors||Ie&&!e.crossDomain?{send:function(a,r){var s,o=e.xhr();if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)o[s]=e.xhrFields[s];e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||a["X-Requested-With"]||(a["X-Requested-With"]="XMLHttpRequest");for(s in a)o.setRequestHeader(s,a[s]);n=function(t){return function(){n&&(n=i=o.onload=o.onerror=o.onabort=o.onreadystatechange=null,"abort"===t?o.abort():"error"===t?"number"!=typeof o.status?r(0,"error"):r(o.status,o.statusText):r(Pe[o.status]||o.status,o.statusText,"text"!==(o.responseType||"text")||"string"!=typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=n(),i=o.onerror=n("error"),void 0!==o.onabort?o.onabort=i:o.onreadystatechange=function(){4===o.readyState&&t.setTimeout(function(){n&&i()})},n=n("abort");try{o.send(e.hasContent&&e.data||null)}catch(l){if(n)throw l}},abort:function(){n&&n()}}:void 0}),rt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return rt.globalEval(t),t}}}),rt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),rt.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(i,a){e=rt("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&a("error"===t.type?404:200,t.type)}),G.head.appendChild(e[0])},abort:function(){n&&n()}}}});var Ee=[],Fe=/(=)\?(?=&|$)|\?\?/;rt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ee.pop()||rt.expando+"_"+_e++;return this[t]=!0,t}}),rt.ajaxPrefilter("json jsonp",function(e,n,i){var a,r,s,o=e.jsonp!==!1&&(Fe.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Fe.test(e.data)&&"data");return o||"jsonp"===e.dataTypes[0]?(a=e.jsonpCallback=rt.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(Fe,"$1"+a):e.jsonp!==!1&&(e.url+=(ye.test(e.url)?"&":"?")+e.jsonp+"="+a),e.converters["script json"]=function(){return s||rt.error(a+" was not called"),s[0]},e.dataTypes[0]="json",r=t[a],t[a]=function(){s=arguments},i.always(function(){void 0===r?rt(t).removeProp(a):t[a]=r,e[a]&&(e.jsonpCallback=n.jsonpCallback,Ee.push(a)),s&&rt.isFunction(r)&&r(s[0]),s=r=void 0}),"script"):void 0}),rt.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||G;var i=pt.exec(t),a=!n&&[];return i?[e.createElement(i[1])]:(i=c([t],e,a),a&&a.length&&rt(a).remove(),rt.merge([],i.childNodes))};var Oe=rt.fn.load;rt.fn.load=function(t,e,n){if("string"!=typeof t&&Oe)return Oe.apply(this,arguments);var i,a,r,s=this,o=t.indexOf(" ");return o>-1&&(i=rt.trim(t.slice(o)),t=t.slice(0,o)),rt.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(a="POST"),s.length>0&&rt.ajax({url:t,type:a||"GET",dataType:"html",data:e}).done(function(t){r=arguments,s.html(i?rt("<div>").append(rt.parseHTML(t)).find(i):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,r||[t.responseText,e,t])})}),this},rt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){rt.fn[e]=function(t){return this.on(e,t)}}),rt.expr.filters.animated=function(t){return rt.grep(rt.timers,function(e){return t===e.elem}).length},rt.offset={setOffset:function(t,e,n){var i,a,r,s,o,l,d,u=rt.css(t,"position"),h=rt(t),c={};"static"===u&&(t.style.position="relative"),o=h.offset(),r=rt.css(t,"top"),l=rt.css(t,"left"),d=("absolute"===u||"fixed"===u)&&(r+l).indexOf("auto")>-1,d?(i=h.position(),s=i.top,a=i.left):(s=parseFloat(r)||0,a=parseFloat(l)||0),rt.isFunction(e)&&(e=e.call(t,n,rt.extend({},o))),null!=e.top&&(c.top=e.top-o.top+s),null!=e.left&&(c.left=e.left-o.left+a),"using"in e?e.using.call(t,c):h.css(c)}},rt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){rt.offset.setOffset(this,t,e)});var e,n,i=this[0],a={top:0,left:0},r=i&&i.ownerDocument;if(r)return e=r.documentElement,rt.contains(e,i)?(a=i.getBoundingClientRect(),n=U(r),{top:a.top+n.pageYOffset-e.clientTop,left:a.left+n.pageXOffset-e.clientLeft}):a},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===rt.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),rt.nodeName(t[0],"html")||(i=t.offset()),i.top+=rt.css(t[0],"borderTopWidth",!0),i.left+=rt.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-rt.css(n,"marginTop",!0),left:e.left-i.left-rt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===rt.css(t,"position");)t=t.offsetParent;return t||Zt})}}),rt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;rt.fn[t]=function(i){return xt(this,function(t,i,a){var r=U(t);return void 0===a?r?r[e]:t[i]:void(r?r.scrollTo(n?r.pageXOffset:a,n?a:r.pageYOffset):t[i]=a)},t,i,arguments.length)}}),rt.each(["top","left"],function(t,e){rt.cssHooks[e]=T(it.pixelPosition,function(t,n){return n?(n=D(t,e),Gt.test(n)?rt(t).position()[e]+"px":n):void 0})}),rt.each({Height:"height",Width:"width"},function(t,e){rt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){rt.fn[i]=function(i,a){var r=arguments.length&&(n||"boolean"!=typeof i),s=n||(i===!0||a===!0?"margin":"border");return xt(this,function(e,n,i){var a;return rt.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(a=e.documentElement,Math.max(e.body["scroll"+t],a["scroll"+t],e.body["offset"+t],a["offset"+t],a["client"+t])):void 0===i?rt.css(e,n,s):rt.style(e,n,i,s)},e,r?i:void 0,r,null)}})}),rt.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},size:function(){return this.length}}),rt.fn.andSelf=rt.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return rt});var We=t.jQuery,Re=t.$;return rt.noConflict=function(e){return t.$===rt&&(t.$=Re),e&&t.jQuery===rt&&(t.jQuery=We),rt},e||(t.jQuery=t.$=rt),rt}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(jQuery),+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one("bsTransitionEnd",function(){n=!0});var a=function(){n||t(i).trigger(t.support.transition.end)};return setTimeout(a,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),a=n.data("bs.alert");a||n.data("bs.alert",a=new i(this)),"string"==typeof e&&a[e].call(n)})}var n='[data-dismiss="alert"]',i=function(e){t(e).on("click",n,this.close)};i.VERSION="3.3.6",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function n(){s.detach().trigger("closed.bs.alert").remove()}var a=t(this),r=a.attr("data-target");r||(r=a.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));var s=t(r);e&&e.preventDefault(),s.length||(s=a.closest(".alert")),s.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n())};var a=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=a,this},t(document).on("click.bs.alert.data-api",n,i.prototype.close)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),a=i.data("bs.button"),r="object"==typeof e&&e;a||i.data("bs.button",a=new n(this,r)),"toggle"==e?a.toggle():e&&a.setState(e)})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.3.6",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,a=i.is("input")?"val":"html",r=i.data();e+="Text",null==r.resetText&&i.data("resetText",i[a]()),setTimeout(t.proxy(function(){i[a](null==r[e]?this.options[e]:r[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=t(n.target);i.hasClass("btn")||(i=i.closest(".btn")),e.call(i,"toggle"),t(n.target).is('input[type="radio"]')||t(n.target).is('input[type="checkbox"]')||n.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),a=i.data("bs.carousel"),r=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),s="string"==typeof e?e:r.slide;a||i.data("bs.carousel",a=new n(this,r)),"number"==typeof e?a.to(e):s?a[s]():r.interval&&a.pause().cycle()})}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.3.6",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e),i="prev"==t&&0===n||"next"==t&&n==this.$items.length-1;if(i&&!this.options.wrap)return e;var a="prev"==t?-1:1,r=(n+a)%this.$items.length;return this.$items.eq(r)},n.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));return t>this.$items.length-1||0>t?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){return this.sliding?void 0:this.slide("next")},n.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},n.prototype.slide=function(e,i){var a=this.$element.find(".item.active"),r=i||this.getItemForDirection(e,a),s=this.interval,o="next"==e?"left":"right",l=this;if(r.hasClass("active"))return this.sliding=!1;var d=r[0],u=t.Event("slide.bs.carousel",{relatedTarget:d,direction:o});if(this.$element.trigger(u),!u.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var h=t(this.$indicators.children()[this.getItemIndex(r)]);h&&h.addClass("active")}var c=t.Event("slid.bs.carousel",{relatedTarget:d,direction:o});return t.support.transition&&this.$element.hasClass("slide")?(r.addClass(e),r[0].offsetWidth,a.addClass(o),r.addClass(o),a.one("bsTransitionEnd",function(){r.removeClass([e,o].join(" ")).addClass("active"),a.removeClass(["active",o].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(c)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(a.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger(c)),s&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=n,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var a=function(n){var i,a=t(this),r=t(a.attr("data-target")||(i=a.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(r.hasClass("carousel")){var s=t.extend({},r.data(),a.data()),o=a.attr("data-slide-to");o&&(s.interval=!1),e.call(r,s),o&&r.data("bs.carousel").to(o),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",a).on("click.bs.carousel.data-api","[data-slide-to]",a),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(jQuery),+function(t){"use strict";function e(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(i)}function n(e){return this.each(function(){var n=t(this),a=n.data("bs.collapse"),r=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);!a&&r.toggle&&/show|hide/.test(e)&&(r.toggle=!1),a||n.data("bs.collapse",a=new i(this,r)),"string"==typeof e&&a[e]()})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.6",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,a=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(a&&a.length&&(e=a.data("bs.collapse"),e&&e.transitioning))){var r=t.Event("show.bs.collapse");if(this.$element.trigger(r),!r.isDefaultPrevented()){a&&a.length&&(n.call(a,"hide"),e||a.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return o.call(this);var l=t.camelCase(["scroll",s].join("-"));
|
||
this.$element.one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[s](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var a=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[n](0).one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(i.TRANSITION_DURATION):a.call(this)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,i){var a=t(i);this.addAriaAndCollapsedClass(e(a),a)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var a=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=a,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var a=t(this);a.attr("data-target")||i.preventDefault();var r=e(a),s=r.data("bs.collapse"),o=s?"toggle":a.data();n.call(r,o)})}(jQuery),+function(t){"use strict";function e(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}function n(n){n&&3===n.which||(t(a).remove(),t(r).each(function(){var i=t(this),a=e(i),r={relatedTarget:this};a.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(a[0],n.target)||(a.trigger(n=t.Event("hide.bs.dropdown",r)),n.isDefaultPrevented()||(i.attr("aria-expanded","false"),a.removeClass("open").trigger(t.Event("hidden.bs.dropdown",r)))))}))}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new s(this)),"string"==typeof e&&i[e].call(n)})}var a=".dropdown-backdrop",r='[data-toggle="dropdown"]',s=function(e){t(e).on("click.bs.dropdown",this.toggle)};s.VERSION="3.3.6",s.prototype.toggle=function(i){var a=t(this);if(!a.is(".disabled, :disabled")){var r=e(a),s=r.hasClass("open");if(n(),!s){"ontouchstart"in document.documentElement&&!r.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var o={relatedTarget:this};if(r.trigger(i=t.Event("show.bs.dropdown",o)),i.isDefaultPrevented())return;a.trigger("focus").attr("aria-expanded","true"),r.toggleClass("open").trigger(t.Event("shown.bs.dropdown",o))}return!1}},s.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=t(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var a=e(i),s=a.hasClass("open");if(!s&&27!=n.which||s&&27==n.which)return 27==n.which&&a.find(r).trigger("focus"),i.trigger("click");var o=" li:not(.disabled):visible a",l=a.find(".dropdown-menu"+o);if(l.length){var d=l.index(n.target);38==n.which&&d>0&&d--,40==n.which&&d<l.length-1&&d++,~d||(d=0),l.eq(d).trigger("focus")}}}};var o=t.fn.dropdown;t.fn.dropdown=i,t.fn.dropdown.Constructor=s,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=o,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",r,s.prototype.toggle).on("keydown.bs.dropdown.data-api",r,s.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",s.prototype.keydown)}(jQuery),+function(t){"use strict";function e(e,i){return this.each(function(){var a=t(this),r=a.data("bs.modal"),s=t.extend({},n.DEFAULTS,a.data(),"object"==typeof e&&e);r||a.data("bs.modal",r=new n(this,s)),"string"==typeof e?r[e](i):s.show&&r.show(i)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.3.6",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var i=this,a=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(a),this.isShown||a.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var a=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),a&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var r=t.Event("shown.bs.modal",{relatedTarget:e});a?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(r)}).emulateTransitionEnd(n.TRANSITION_DURATION):i.$element.trigger("focus").trigger(r)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var i=this,a=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var r=t.support.transition&&a;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+a).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;r?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var s=function(){i.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",s).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):s()}else e&&e()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},n.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=n,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var i=t(this),a=i.attr("href"),r=t(i.attr("data-target")||a&&a.replace(/.*(?=#[^\s]+$)/,"")),s=r.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(a)&&a},r.data(),i.data());i.is("a")&&n.preventDefault(),r.one("show.bs.modal",function(t){t.isDefaultPrevented()||r.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(r,s,this)})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),a=i.data("bs.tooltip"),r="object"==typeof e&&e;!a&&/destroy|hide/.test(e)||(a||i.data("bs.tooltip",a=new n(this,r)),"string"==typeof e&&a[e]())})}var n=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};n.VERSION="3.3.6",n.TRANSITION_DURATION=150,n.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var a=this.options.trigger.split(" "),r=a.length;r--;){var s=a[r];if("click"==s)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=s){var o="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(o+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},n.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},n.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},n.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},n.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),n.isInStateTrue()?void 0:(clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide())},n.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!i)return;var a=this,r=this.tip(),s=this.getUID(this.type);this.setContent(),r.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&r.addClass("fade");var o="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,d=l.test(o);d&&(o=o.replace(l,"")||"top"),r.detach().css({top:0,left:0,display:"block"}).addClass(o).data("bs."+this.type,this),this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),h=r[0].offsetWidth,c=r[0].offsetHeight;if(d){var f=o,p=this.getPosition(this.$viewport);o="bottom"==o&&u.bottom+c>p.bottom?"top":"top"==o&&u.top-c<p.top?"bottom":"right"==o&&u.right+h>p.width?"left":"left"==o&&u.left-h<p.left?"right":o,r.removeClass(f).addClass(o)}var m=this.getCalculatedOffset(o,u,h,c);this.applyPlacement(m,o);var g=function(){var t=a.hoverState;a.$element.trigger("shown.bs."+a.type),a.hoverState=null,"out"==t&&a.leave(a)};t.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",g).emulateTransitionEnd(n.TRANSITION_DURATION):g()}},n.prototype.applyPlacement=function(e,n){var i=this.tip(),a=i[0].offsetWidth,r=i[0].offsetHeight,s=parseInt(i.css("margin-top"),10),o=parseInt(i.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(o)&&(o=0),e.top+=s,e.left+=o,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,d=i[0].offsetHeight;"top"==n&&d!=r&&(e.top=e.top+r-d);var u=this.getViewportAdjustedDelta(n,e,l,d);u.left?e.left+=u.left:e.top+=u.top;var h=/top|bottom/.test(n),c=h?2*u.left-a+l:2*u.top-r+d,f=h?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(c,i[0][f],h)},n.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},n.prototype.hide=function(e){function i(){"in"!=a.hoverState&&r.detach(),a.$element.removeAttr("aria-describedby").trigger("hidden.bs."+a.type),e&&e()}var a=this,r=t(this.$tip),s=t.Event("hide.bs."+this.type);return this.$element.trigger(s),s.isDefaultPrevented()?void 0:(r.removeClass("in"),t.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i(),this.hoverState=null,this)},n.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(e){e=e||this.$element;var n=e[0],i="BODY"==n.tagName,a=n.getBoundingClientRect();null==a.width&&(a=t.extend({},a,{width:a.right-a.left,height:a.bottom-a.top}));var r=i?{top:0,left:0}:e.offset(),s={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},o=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},a,s,o,r)},n.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},n.prototype.getViewportAdjustedDelta=function(t,e,n,i){var a={top:0,left:0};if(!this.$viewport)return a;var r=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var o=e.top-r-s.scroll,l=e.top+r-s.scroll+i;o<s.top?a.top=s.top-o:l>s.top+s.height&&(a.top=s.top+s.height-l)}else{var d=e.left-r,u=e.left+r+n;d<s.left?a.left=s.left-d:u>s.right&&(a.left=s.left+s.width-u)}return a},n.prototype.getTitle=function(){var t,e=this.$element,n=this.options;return t=e.attr("data-original-title")||("function"==typeof n.title?n.title.call(e[0]):n.title)},n.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},n.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(e){var n=this;e&&(n=t(e.currentTarget).data("bs."+this.type),n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})};var i=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=n,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),a=i.data("bs.popover"),r="object"==typeof e&&e;!a&&/destroy|hide/.test(e)||(a||i.data("bs.popover",a=new n(this,r)),"string"==typeof e&&a[e]())})}var n=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.6",n.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),n.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=n,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),+function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(t(n).is(document.body)?window:n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var i=t(this),a=i.data("bs.scrollspy"),r="object"==typeof n&&n;a||i.data("bs.scrollspy",a=new e(this,r)),"string"==typeof n&&a[n]()})}e.VERSION="3.3.6",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),a=e.data("target")||e.attr("href"),r=/^#./.test(a)&&t(a);return r&&r.length&&r.is(":visible")&&[[r[n]().top+i,a]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),a=this.offsets,r=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return s!=(t=r[r.length-1])&&this.activate(t);if(s&&e<a[0])return this.activeTarget=null,this.clear();for(t=a.length;t--;)s!=r[t]&&e>=a[t]&&(void 0===a[t+1]||e<a[t+1])&&this.activate(r[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),a=i.data("bs.tab");a||i.data("bs.tab",a=new n(this)),"string"==typeof e&&a[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.3.6",n.TRANSITION_DURATION=150,n.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=e.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var a=n.find(".active:last a"),r=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:a[0]});if(a.trigger(r),e.trigger(s),!s.isDefaultPrevented()&&!r.isDefaultPrevented()){var o=t(i);this.activate(e.closest("li"),n),this.activate(o,o.parent(),function(){a.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:a[0]})})}}},n.prototype.activate=function(e,i,a){function r(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),o?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),a&&a()}var s=i.find("> .active"),o=a&&t.support.transition&&(s.length&&s.hasClass("fade")||!!i.find("> .fade").length);s.length&&o?s.one("bsTransitionEnd",r).emulateTransitionEnd(n.TRANSITION_DURATION):r(),s.removeClass("in")};var i=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=n,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var a=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',a).on("click.bs.tab.data-api",'[data-toggle="pill"]',a)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),a=i.data("bs.affix"),r="object"==typeof e&&e;a||i.data("bs.affix",a=new n(this,r)),"string"==typeof e&&a[e]()})}var n=function(e,i){this.options=t.extend({},n.DEFAULTS,i),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.6",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,i){var a=this.$target.scrollTop(),r=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return n>a?"top":!1;if("bottom"==this.affixed)return null!=n?a+this.unpin<=r.top?!1:"bottom":t-i>=a+s?!1:"bottom";var o=null==this.affixed,l=o?a:r.top,d=o?s:e;return null!=n&&n>=a?"top":null!=i&&l+d>=t-i?"bottom":!1},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),i=this.options.offset,a=i.top,r=i.bottom,s=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(r=a=i),"function"==typeof a&&(a=i.top(this.$element)),"function"==typeof r&&(r=i.bottom(this.$element));var o=this.getState(s,e,a,r);if(this.affixed!=o){null!=this.unpin&&this.$element.css("top","");var l="affix"+(o?"-"+o:""),d=t.Event(l+".bs.affix");if(this.$element.trigger(d),d.isDefaultPrevented())return;this.affixed=o,this.unpin="bottom"==o?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==o&&this.$element.offset({top:s-e-r})}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),i=n.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),e.call(n,i)})})}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";function t(){return ia.apply(null,arguments)}function e(t){ia=t}function n(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function a(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s(t,e){for(var n in e)r(e,n)&&(t[n]=e[n]);return r(e,"toString")&&(t.toString=e.toString),r(e,"valueOf")&&(t.valueOf=e.valueOf),t}function o(t,e,n,i){return It(t,e,n,i,!0).utc()}function l(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function d(t){return null==t._pf&&(t._pf=l()),t._pf}function u(t){if(null==t._isValid){var e=d(t),n=aa.call(e.parsedDateParts,function(t){return null!=t});t._isValid=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n),t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)}return t._isValid}function h(t){var e=o(NaN);return null!=t?s(d(e),t):d(e).userInvalidated=!0,e}function c(t){return void 0===t}function f(t,e){var n,i,a;if(c(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),c(e._i)||(t._i=e._i),c(e._f)||(t._f=e._f),c(e._l)||(t._l=e._l),c(e._strict)||(t._strict=e._strict),c(e._tzm)||(t._tzm=e._tzm),c(e._isUTC)||(t._isUTC=e._isUTC),c(e._offset)||(t._offset=e._offset),c(e._pf)||(t._pf=d(e)),c(e._locale)||(t._locale=e._locale),ra.length>0)for(n in ra)i=ra[n],a=e[i],c(a)||(t[i]=a);return t}function p(e){f(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),sa===!1&&(sa=!0,t.updateOffset(this),sa=!1)}function m(t){return t instanceof p||null!=t&&null!=t._isAMomentObject}function g(t){return 0>t?Math.ceil(t):Math.floor(t)}function _(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=g(e)),n}function y(t,e,n){var i,a=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),s=0;for(i=0;a>i;i++)(n&&t[i]!==e[i]||!n&&_(t[i])!==_(e[i]))&&s++;return s+r}function v(e){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function b(e,n){var i=!0;return s(function(){return null!=t.deprecationHandler&&t.deprecationHandler(null,e),i&&(v(e+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),i=!1),n.apply(this,arguments)},n)}function M(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),oa[e]||(v(n),oa[e]=!0)}function w(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function x(t){return"[object Object]"===Object.prototype.toString.call(t)}function k(t){var e,n;for(n in t)e=t[n],w(e)?this[n]=e:this["_"+n]=e;this._config=t,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function L(t,e){var n,i=s({},t);for(n in e)r(e,n)&&(x(t[n])&&x(e[n])?(i[n]={},s(i[n],t[n]),s(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);return i}function D(t){null!=t&&this.set(t)}function T(t){return t?t.toLowerCase().replace("_","-"):t}function S(t){for(var e,n,i,a,r=0;r<t.length;){for(a=T(t[r]).split("-"),e=a.length,n=T(t[r+1]),n=n?n.split("-"):null;e>0;){if(i=Y(a.slice(0,e).join("-")))return i;if(n&&n.length>=e&&y(a,n,!0)>=e-1)break;e--}r++}return null}function Y(t){var e=null;if(!ha[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=da._abbr,require("./locale/"+t),C(e)}catch(n){}return ha[t]}function C(t,e){var n;return t&&(n=c(e)?j(t):A(t,e),n&&(da=n)),da._abbr}function A(t,e){return null!==e?(e.abbr=t,null!=ha[t]?(M("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale"),e=L(ha[t]._config,e)):null!=e.parentLocale&&(null!=ha[e.parentLocale]?e=L(ha[e.parentLocale]._config,e):M("parentLocaleUndefined","specified parentLocale is not defined yet")),ha[t]=new D(e),C(t),ha[t]):(delete ha[t],null)}function H(t,e){if(null!=e){var n;null!=ha[t]&&(e=L(ha[t]._config,e)),n=new D(e),n.parentLocale=ha[t],ha[t]=n,C(t)}else null!=ha[t]&&(null!=ha[t].parentLocale?ha[t]=ha[t].parentLocale:null!=ha[t]&&delete ha[t]);return ha[t]}function j(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return da;if(!n(t)){if(e=Y(t))return e;t=[t]}return S(t)}function P(){return la(ha)}function I(t,e){var n=t.toLowerCase();ca[n]=ca[n+"s"]=ca[e]=t}function E(t){return"string"==typeof t?ca[t]||ca[t.toLowerCase()]:void 0}function F(t){var e,n,i={};for(n in t)r(t,n)&&(e=E(n),
|
||
e&&(i[e]=t[n]));return i}function O(e,n){return function(i){return null!=i?(R(this,e,i),t.updateOffset(this,n),this):W(this,e)}}function W(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function R(t,e,n){t.isValid()&&t._d["set"+(t._isUTC?"UTC":"")+e](n)}function z(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if(t=E(t),w(this[t]))return this[t](e);return this}function N(t,e,n){var i=""+Math.abs(t),a=e-i.length,r=t>=0;return(r?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+i}function B(t,e,n,i){var a=i;"string"==typeof i&&(a=function(){return this[i]()}),t&&(ga[t]=a),e&&(ga[e[0]]=function(){return N(a.apply(this,arguments),e[1],e[2])}),n&&(ga[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function V(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function $(t){var e,n,i=t.match(fa);for(e=0,n=i.length;n>e;e++)ga[i[e]]?i[e]=ga[i[e]]:i[e]=V(i[e]);return function(e){var a,r="";for(a=0;n>a;a++)r+=i[a]instanceof Function?i[a].call(e,t):i[a];return r}}function q(t,e){return t.isValid()?(e=U(e,t.localeData()),ma[e]=ma[e]||$(e),ma[e](t)):t.localeData().invalidDate()}function U(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(pa.lastIndex=0;i>=0&&pa.test(t);)t=t.replace(pa,n),pa.lastIndex=0,i-=1;return t}function J(t,e,n){Pa[t]=w(e)?e:function(t,i){return t&&n?n:e}}function G(t,e){return r(Pa,t)?Pa[t](e._strict,e._locale):new RegExp(X(t))}function X(t){return Q(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,a){return e||n||i||a}))}function Q(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Z(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(i=function(t,n){n[e]=_(t)}),n=0;n<t.length;n++)Ia[t[n]]=i}function K(t,e){Z(t,function(t,n,i,a){i._w=i._w||{},e(t,i._w,i,a)})}function tt(t,e,n){null!=e&&r(Ia,t)&&Ia[t](e,n._a,n,t)}function et(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function nt(t,e){return n(this._months)?this._months[t.month()]:this._months[$a.test(e)?"format":"standalone"][t.month()]}function it(t,e){return n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[$a.test(e)?"format":"standalone"][t.month()]}function at(t,e,n){var i,a,r,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;12>i;++i)r=o([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===e?(a=ua.call(this._shortMonthsParse,s),-1!==a?a:null):(a=ua.call(this._longMonthsParse,s),-1!==a?a:null):"MMM"===e?(a=ua.call(this._shortMonthsParse,s),-1!==a?a:(a=ua.call(this._longMonthsParse,s),-1!==a?a:null)):(a=ua.call(this._longMonthsParse,s),-1!==a?a:(a=ua.call(this._shortMonthsParse,s),-1!==a?a:null))}function rt(t,e,n){var i,a,r;if(this._monthsParseExact)return at.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;12>i;i++){if(a=o([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}}function st(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=_(e);else if(e=t.localeData().monthsParse(e),"number"!=typeof e)return t;return n=Math.min(t.date(),et(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function ot(e){return null!=e?(st(this,e),t.updateOffset(this,!0),this):W(this,"Month")}function lt(){return et(this.year(),this.month())}function dt(t){return this._monthsParseExact?(r(this,"_monthsRegex")||ht.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex}function ut(t){return this._monthsParseExact?(r(this,"_monthsRegex")||ht.call(this),t?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex}function ht(){function t(t,e){return e.length-t.length}var e,n,i=[],a=[],r=[];for(e=0;12>e;e++)n=o([2e3,e]),i.push(this.monthsShort(n,"")),a.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(i.sort(t),a.sort(t),r.sort(t),e=0;12>e;e++)i[e]=Q(i[e]),a[e]=Q(a[e]),r[e]=Q(r[e]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function ct(t){var e,n=t._a;return n&&-2===d(t).overflow&&(e=n[Fa]<0||n[Fa]>11?Fa:n[Oa]<1||n[Oa]>et(n[Ea],n[Fa])?Oa:n[Wa]<0||n[Wa]>24||24===n[Wa]&&(0!==n[Ra]||0!==n[za]||0!==n[Na])?Wa:n[Ra]<0||n[Ra]>59?Ra:n[za]<0||n[za]>59?za:n[Na]<0||n[Na]>999?Na:-1,d(t)._overflowDayOfYear&&(Ea>e||e>Oa)&&(e=Oa),d(t)._overflowWeeks&&-1===e&&(e=Ba),d(t)._overflowWeekday&&-1===e&&(e=Va),d(t).overflow=e),t}function ft(t){var e,n,i,a,r,s,o=t._i,l=Xa.exec(o)||Qa.exec(o);if(l){for(d(t).iso=!0,e=0,n=Ka.length;n>e;e++)if(Ka[e][1].exec(l[1])){a=Ka[e][0],i=Ka[e][2]!==!1;break}if(null==a)return void(t._isValid=!1);if(l[3]){for(e=0,n=tr.length;n>e;e++)if(tr[e][1].exec(l[3])){r=(l[2]||" ")+tr[e][0];break}if(null==r)return void(t._isValid=!1)}if(!i&&null!=r)return void(t._isValid=!1);if(l[4]){if(!Za.exec(l[4]))return void(t._isValid=!1);s="Z"}t._f=a+(r||"")+(s||""),St(t)}else t._isValid=!1}function pt(e){var n=er.exec(e._i);return null!==n?void(e._d=new Date(+n[1])):(ft(e),void(e._isValid===!1&&(delete e._isValid,t.createFromInputFallback(e))))}function mt(t,e,n,i,a,r,s){var o=new Date(t,e,n,i,a,r,s);return 100>t&&t>=0&&isFinite(o.getFullYear())&&o.setFullYear(t),o}function gt(t){var e=new Date(Date.UTC.apply(null,arguments));return 100>t&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function _t(t){return yt(t)?366:365}function yt(t){return t%4===0&&t%100!==0||t%400===0}function vt(){return yt(this.year())}function bt(t,e,n){var i=7+e-n,a=(7+gt(t,0,i).getUTCDay()-e)%7;return-a+i-1}function Mt(t,e,n,i,a){var r,s,o=(7+n-i)%7,l=bt(t,i,a),d=1+7*(e-1)+o+l;return 0>=d?(r=t-1,s=_t(r)+d):d>_t(t)?(r=t+1,s=d-_t(t)):(r=t,s=d),{year:r,dayOfYear:s}}function wt(t,e,n){var i,a,r=bt(t.year(),e,n),s=Math.floor((t.dayOfYear()-r-1)/7)+1;return 1>s?(a=t.year()-1,i=s+xt(a,e,n)):s>xt(t.year(),e,n)?(i=s-xt(t.year(),e,n),a=t.year()+1):(a=t.year(),i=s),{week:i,year:a}}function xt(t,e,n){var i=bt(t,e,n),a=bt(t+1,e,n);return(_t(t)-i+a)/7}function kt(t,e,n){return null!=t?t:null!=e?e:n}function Lt(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function Dt(t){var e,n,i,a,r=[];if(!t._d){for(i=Lt(t),t._w&&null==t._a[Oa]&&null==t._a[Fa]&&Tt(t),t._dayOfYear&&(a=kt(t._a[Ea],i[Ea]),t._dayOfYear>_t(a)&&(d(t)._overflowDayOfYear=!0),n=gt(a,0,t._dayOfYear),t._a[Fa]=n.getUTCMonth(),t._a[Oa]=n.getUTCDate()),e=0;3>e&&null==t._a[e];++e)t._a[e]=r[e]=i[e];for(;7>e;e++)t._a[e]=r[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Wa]&&0===t._a[Ra]&&0===t._a[za]&&0===t._a[Na]&&(t._nextDay=!0,t._a[Wa]=0),t._d=(t._useUTC?gt:mt).apply(null,r),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Wa]=24)}}function Tt(t){var e,n,i,a,r,s,o,l;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(r=1,s=4,n=kt(e.GG,t._a[Ea],wt(Et(),1,4).year),i=kt(e.W,1),a=kt(e.E,1),(1>a||a>7)&&(l=!0)):(r=t._locale._week.dow,s=t._locale._week.doy,n=kt(e.gg,t._a[Ea],wt(Et(),r,s).year),i=kt(e.w,1),null!=e.d?(a=e.d,(0>a||a>6)&&(l=!0)):null!=e.e?(a=e.e+r,(e.e<0||e.e>6)&&(l=!0)):a=r),1>i||i>xt(n,r,s)?d(t)._overflowWeeks=!0:null!=l?d(t)._overflowWeekday=!0:(o=Mt(n,i,a,r,s),t._a[Ea]=o.year,t._dayOfYear=o.dayOfYear)}function St(e){if(e._f===t.ISO_8601)return void ft(e);e._a=[],d(e).empty=!0;var n,i,a,r,s,o=""+e._i,l=o.length,u=0;for(a=U(e._f,e._locale).match(fa)||[],n=0;n<a.length;n++)r=a[n],i=(o.match(G(r,e))||[])[0],i&&(s=o.substr(0,o.indexOf(i)),s.length>0&&d(e).unusedInput.push(s),o=o.slice(o.indexOf(i)+i.length),u+=i.length),ga[r]?(i?d(e).empty=!1:d(e).unusedTokens.push(r),tt(r,i,e)):e._strict&&!i&&d(e).unusedTokens.push(r);d(e).charsLeftOver=l-u,o.length>0&&d(e).unusedInput.push(o),d(e).bigHour===!0&&e._a[Wa]<=12&&e._a[Wa]>0&&(d(e).bigHour=void 0),d(e).parsedDateParts=e._a.slice(0),d(e).meridiem=e._meridiem,e._a[Wa]=Yt(e._locale,e._a[Wa],e._meridiem),Dt(e),ct(e)}function Yt(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&12>e&&(e+=12),i||12!==e||(e=0),e):e}function Ct(t){var e,n,i,a,r;if(0===t._f.length)return d(t).invalidFormat=!0,void(t._d=new Date(NaN));for(a=0;a<t._f.length;a++)r=0,e=f({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[a],St(e),u(e)&&(r+=d(e).charsLeftOver,r+=10*d(e).unusedTokens.length,d(e).score=r,(null==i||i>r)&&(i=r,n=e));s(t,n||e)}function At(t){if(!t._d){var e=F(t._i);t._a=a([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),Dt(t)}}function Ht(t){var e=new p(ct(jt(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function jt(t){var e=t._i,a=t._f;return t._locale=t._locale||j(t._l),null===e||void 0===a&&""===e?h({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),m(e)?new p(ct(e)):(n(a)?Ct(t):a?St(t):i(e)?t._d=e:Pt(t),u(t)||(t._d=null),t))}function Pt(e){var r=e._i;void 0===r?e._d=new Date(t.now()):i(r)?e._d=new Date(r.valueOf()):"string"==typeof r?pt(e):n(r)?(e._a=a(r.slice(0),function(t){return parseInt(t,10)}),Dt(e)):"object"==typeof r?At(e):"number"==typeof r?e._d=new Date(r):t.createFromInputFallback(e)}function It(t,e,n,i,a){var r={};return"boolean"==typeof n&&(i=n,n=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=a,r._l=n,r._i=t,r._f=e,r._strict=i,Ht(r)}function Et(t,e,n,i){return It(t,e,n,i,!1)}function Ft(t,e){var i,a;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return Et();for(i=e[0],a=1;a<e.length;++a)e[a].isValid()&&!e[a][t](i)||(i=e[a]);return i}function Ot(){var t=[].slice.call(arguments,0);return Ft("isBefore",t)}function Wt(){var t=[].slice.call(arguments,0);return Ft("isAfter",t)}function Rt(t){var e=F(t),n=e.year||0,i=e.quarter||0,a=e.month||0,r=e.week||0,s=e.day||0,o=e.hour||0,l=e.minute||0,d=e.second||0,u=e.millisecond||0;this._milliseconds=+u+1e3*d+6e4*l+1e3*o*60*60,this._days=+s+7*r,this._months=+a+3*i+12*n,this._data={},this._locale=j(),this._bubble()}function zt(t){return t instanceof Rt}function Nt(t,e){B(t,0,0,function(){var t=this.utcOffset(),n="+";return 0>t&&(t=-t,n="-"),n+N(~~(t/60),2)+e+N(~~t%60,2)})}function Bt(t,e){var n=(e||"").match(t)||[],i=n[n.length-1]||[],a=(i+"").match(sr)||["-",0,0],r=+(60*a[1])+_(a[2]);return"+"===a[0]?r:-r}function Vt(e,n){var a,r;return n._isUTC?(a=n.clone(),r=(m(e)||i(e)?e.valueOf():Et(e).valueOf())-a.valueOf(),a._d.setTime(a._d.valueOf()+r),t.updateOffset(a,!1),a):Et(e).local()}function $t(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function qt(e,n){var i,a=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=Bt(Aa,e):Math.abs(e)<16&&(e=60*e),!this._isUTC&&n&&(i=$t(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!n||this._changeInProgress?de(this,ie(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?a:$t(this):null!=e?this:NaN}function Ut(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Jt(t){return this.utcOffset(0,t)}function Gt(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract($t(this),"m")),this}function Xt(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Bt(Ca,this._i)),this}function Qt(t){return this.isValid()?(t=t?Et(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function Zt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Kt(){if(!c(this._isDSTShifted))return this._isDSTShifted;var t={};if(f(t,this),t=jt(t),t._a){var e=t._isUTC?o(t._a):Et(t._a);this._isDSTShifted=this.isValid()&&y(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function te(){return this.isValid()?!this._isUTC:!1}function ee(){return this.isValid()?this._isUTC:!1}function ne(){return this.isValid()?this._isUTC&&0===this._offset:!1}function ie(t,e){var n,i,a,s=t,o=null;return zt(t)?s={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(s={},e?s[e]=t:s.milliseconds=t):(o=or.exec(t))?(n="-"===o[1]?-1:1,s={y:0,d:_(o[Oa])*n,h:_(o[Wa])*n,m:_(o[Ra])*n,s:_(o[za])*n,ms:_(o[Na])*n}):(o=lr.exec(t))?(n="-"===o[1]?-1:1,s={y:ae(o[2],n),M:ae(o[3],n),w:ae(o[4],n),d:ae(o[5],n),h:ae(o[6],n),m:ae(o[7],n),s:ae(o[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(a=se(Et(s.from),Et(s.to)),s={},s.ms=a.milliseconds,s.M=a.months),i=new Rt(s),zt(t)&&r(t,"_locale")&&(i._locale=t._locale),i}function ae(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function re(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function se(t,e){var n;return t.isValid()&&e.isValid()?(e=Vt(e,t),t.isBefore(e)?n=re(t,e):(n=re(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function oe(t){return 0>t?-1*Math.round(-1*t):Math.round(t)}function le(t,e){return function(n,i){var a,r;return null===i||isNaN(+i)||(M(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),r=n,n=i,i=r),n="string"==typeof n?+n:n,a=ie(n,i),de(this,a,t),this}}function de(e,n,i,a){var r=n._milliseconds,s=oe(n._days),o=oe(n._months);e.isValid()&&(a=null==a?!0:a,r&&e._d.setTime(e._d.valueOf()+r*i),s&&R(e,"Date",W(e,"Date")+s*i),o&&st(e,W(e,"Month")+o*i),a&&t.updateOffset(e,s||o))}function ue(t,e){var n=t||Et(),i=Vt(n,this).startOf("day"),a=this.diff(i,"days",!0),r=-6>a?"sameElse":-1>a?"lastWeek":0>a?"lastDay":1>a?"sameDay":2>a?"nextDay":7>a?"nextWeek":"sameElse",s=e&&(w(e[r])?e[r]():e[r]);return this.format(s||this.localeData().calendar(r,this,Et(n)))}function he(){return new p(this)}function ce(t,e){var n=m(t)?t:Et(t);return this.isValid()&&n.isValid()?(e=E(c(e)?"millisecond":e),"millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function fe(t,e){var n=m(t)?t:Et(t);return this.isValid()&&n.isValid()?(e=E(c(e)?"millisecond":e),"millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function pe(t,e,n,i){return i=i||"()",("("===i[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===i[1]?this.isBefore(e,n):!this.isAfter(e,n))}function me(t,e){var n,i=m(t)?t:Et(t);return this.isValid()&&i.isValid()?(e=E(e||"millisecond"),"millisecond"===e?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf())):!1}function ge(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function _e(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function ye(t,e,n){var i,a,r,s;return this.isValid()?(i=Vt(t,this),i.isValid()?(a=6e4*(i.utcOffset()-this.utcOffset()),e=E(e),"year"===e||"month"===e||"quarter"===e?(s=ve(this,i),"quarter"===e?s/=3:"year"===e&&(s/=12)):(r=this-i,s="second"===e?r/1e3:"minute"===e?r/6e4:"hour"===e?r/36e5:"day"===e?(r-a)/864e5:"week"===e?(r-a)/6048e5:r),n?s:g(s)):NaN):NaN}function ve(t,e){var n,i,a=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(a,"months");return 0>e-r?(n=t.clone().add(a-1,"months"),i=(e-r)/(r-n)):(n=t.clone().add(a+1,"months"),i=(e-r)/(n-r)),-(a+i)||0}function be(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Me(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?w(Date.prototype.toISOString)?this.toDate().toISOString():q(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):q(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function we(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=q(this,e);return this.localeData().postformat(n)}function xe(t,e){return this.isValid()&&(m(t)&&t.isValid()||Et(t).isValid())?ie({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ke(t){return this.from(Et(),t)}function Le(t,e){return this.isValid()&&(m(t)&&t.isValid()||Et(t).isValid())?ie({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function De(t){return this.to(Et(),t)}function Te(t){var e;return void 0===t?this._locale._abbr:(e=j(t),null!=e&&(this._locale=e),this)}function Se(){return this._locale}function Ye(t){switch(t=E(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function Ce(t){return t=E(t),void 0===t||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))}function Ae(){return this._d.valueOf()-6e4*(this._offset||0)}function He(){return Math.floor(this.valueOf()/1e3)}function je(){return this._offset?new Date(this.valueOf()):this._d}function Pe(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Ie(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Ee(){return this.isValid()?this.toISOString():null}function Fe(){return u(this)}function Oe(){return s({},d(this))}function We(){return d(this).overflow}function Re(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function ze(t,e){B(0,[t,t.length],0,e)}function Ne(t){return qe.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Be(t){return qe.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Ve(){return xt(this.year(),1,4)}function $e(){var t=this.localeData()._week;return xt(this.year(),t.dow,t.doy)}function qe(t,e,n,i,a){var r;return null==t?wt(this,i,a).year:(r=xt(t,i,a),e>r&&(e=r),Ue.call(this,t,e,n,i,a))}function Ue(t,e,n,i,a){var r=Mt(t,e,n,i,a),s=gt(r.year,0,r.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function Je(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Ge(t){return wt(t,this._week.dow,this._week.doy).week}function Xe(){return this._week.dow}function Qe(){return this._week.doy}function Ze(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Ke(t){var e=wt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function tn(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function en(t,e){return n(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]}function nn(t){return this._weekdaysShort[t.day()]}function an(t){return this._weekdaysMin[t.day()]}function rn(t,e,n){var i,a,r,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;7>i;++i)r=o([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===e?(a=ua.call(this._weekdaysParse,s),-1!==a?a:null):"ddd"===e?(a=ua.call(this._shortWeekdaysParse,s),-1!==a?a:null):(a=ua.call(this._minWeekdaysParse,s),-1!==a?a:null):"dddd"===e?(a=ua.call(this._weekdaysParse,s),-1!==a?a:(a=ua.call(this._shortWeekdaysParse,s),-1!==a?a:(a=ua.call(this._minWeekdaysParse,s),-1!==a?a:null))):"ddd"===e?(a=ua.call(this._shortWeekdaysParse,s),-1!==a?a:(a=ua.call(this._weekdaysParse,s),-1!==a?a:(a=ua.call(this._minWeekdaysParse,s),-1!==a?a:null))):(a=ua.call(this._minWeekdaysParse,s),-1!==a?a:(a=ua.call(this._weekdaysParse,s),-1!==a?a:(a=ua.call(this._shortWeekdaysParse,s),-1!==a?a:null)))}function sn(t,e,n){var i,a,r;if(this._weekdaysParseExact)return rn.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;7>i;i++){if(a=o([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(a,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(a,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(a,"").replace(".",".?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}}function on(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=tn(t,this.localeData()),this.add(t-e,"d")):e}function ln(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function dn(t){return this.isValid()?null==t?this.day()||7:this.day(this.day()%7?t:t-7):null!=t?this:NaN}function un(t){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||fn.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex}function hn(t){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||fn.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function cn(t){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||fn.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function fn(){function t(t,e){return e.length-t.length}var e,n,i,a,r,s=[],l=[],d=[],u=[];for(e=0;7>e;e++)n=o([2e3,1]).day(e),i=this.weekdaysMin(n,""),a=this.weekdaysShort(n,""),r=this.weekdays(n,""),s.push(i),l.push(a),d.push(r),u.push(i),u.push(a),u.push(r);for(s.sort(t),l.sort(t),d.sort(t),u.sort(t),e=0;7>e;e++)l[e]=Q(l[e]),d[e]=Q(d[e]),u[e]=Q(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function pn(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function mn(){return this.hours()%12||12}function gn(){return this.hours()||24}function _n(t,e){B(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function yn(t,e){return e._meridiemParse}function vn(t){return"p"===(t+"").toLowerCase().charAt(0)}function bn(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Mn(t,e){e[Na]=_(1e3*("0."+t))}function wn(){return this._isUTC?"UTC":""}function xn(){return this._isUTC?"Coordinated Universal Time":""}function kn(t){return Et(1e3*t)}function Ln(){return Et.apply(null,arguments).parseZone()}function Dn(t,e,n){var i=this._calendar[t];return w(i)?i.call(e,n):i}function Tn(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function Sn(){return this._invalidDate}function Yn(t){return this._ordinal.replace("%d",t)}function Cn(t){return t}function An(t,e,n,i){var a=this._relativeTime[n];return w(a)?a(t,e,n,i):a.replace(/%d/i,t)}function Hn(t,e){var n=this._relativeTime[t>0?"future":"past"];return w(n)?n(e):n.replace(/%s/i,e)}function jn(t,e,n,i){var a=j(),r=o().set(i,e);return a[n](r,t)}function Pn(t,e,n){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return jn(t,e,n,"month");var i,a=[];for(i=0;12>i;i++)a[i]=jn(t,i,n,"month");return a}function In(t,e,n,i){"boolean"==typeof t?("number"==typeof e&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,"number"==typeof e&&(n=e,e=void 0),e=e||"");var a=j(),r=t?a._week.dow:0;if(null!=n)return jn(e,(n+r)%7,i,"day");var s,o=[];for(s=0;7>s;s++)o[s]=jn(e,(s+r)%7,i,"day");return o}function En(t,e){return Pn(t,e,"months")}function Fn(t,e){return Pn(t,e,"monthsShort")}function On(t,e,n){return In(t,e,n,"weekdays")}function Wn(t,e,n){return In(t,e,n,"weekdaysShort")}function Rn(t,e,n){return In(t,e,n,"weekdaysMin")}function zn(){var t=this._data;return this._milliseconds=Ir(this._milliseconds),this._days=Ir(this._days),this._months=Ir(this._months),t.milliseconds=Ir(t.milliseconds),t.seconds=Ir(t.seconds),t.minutes=Ir(t.minutes),t.hours=Ir(t.hours),t.months=Ir(t.months),t.years=Ir(t.years),this}function Nn(t,e,n,i){var a=ie(e,n);return t._milliseconds+=i*a._milliseconds,t._days+=i*a._days,t._months+=i*a._months,t._bubble()}function Bn(t,e){return Nn(this,t,e,1)}function Vn(t,e){return Nn(this,t,e,-1)}function $n(t){return 0>t?Math.floor(t):Math.ceil(t)}function qn(){var t,e,n,i,a,r=this._milliseconds,s=this._days,o=this._months,l=this._data;return r>=0&&s>=0&&o>=0||0>=r&&0>=s&&0>=o||(r+=864e5*$n(Jn(o)+s),s=0,o=0),l.milliseconds=r%1e3,t=g(r/1e3),l.seconds=t%60,e=g(t/60),l.minutes=e%60,n=g(e/60),l.hours=n%24,s+=g(n/24),a=g(Un(s)),o+=a,s-=$n(Jn(a)),i=g(o/12),o%=12,l.days=s,l.months=o,l.years=i,this}function Un(t){return 4800*t/146097}function Jn(t){return 146097*t/4800}function Gn(t){var e,n,i=this._milliseconds;if(t=E(t),"month"===t||"year"===t)return e=this._days+i/864e5,n=this._months+Un(e),"month"===t?n:n/12;switch(e=this._days+Math.round(Jn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}}function Xn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*_(this._months/12)}function Qn(t){return function(){return this.as(t)}}function Zn(t){return t=E(t),this[t+"s"]()}function Kn(t){return function(){return this._data[t]}}function ti(){return g(this.days()/7)}function ei(t,e,n,i,a){return a.relativeTime(e||1,!!n,t,i)}function ni(t,e,n){var i=ie(t).abs(),a=Qr(i.as("s")),r=Qr(i.as("m")),s=Qr(i.as("h")),o=Qr(i.as("d")),l=Qr(i.as("M")),d=Qr(i.as("y")),u=a<Zr.s&&["s",a]||1>=r&&["m"]||r<Zr.m&&["mm",r]||1>=s&&["h"]||s<Zr.h&&["hh",s]||1>=o&&["d"]||o<Zr.d&&["dd",o]||1>=l&&["M"]||l<Zr.M&&["MM",l]||1>=d&&["y"]||["yy",d];return u[2]=e,u[3]=+t>0,u[4]=n,ei.apply(null,u)}function ii(t,e){return void 0===Zr[t]?!1:void 0===e?Zr[t]:(Zr[t]=e,!0)}function ai(t){var e=this.localeData(),n=ni(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function ri(){var t,e,n,i=Kr(this._milliseconds)/1e3,a=Kr(this._days),r=Kr(this._months);t=g(i/60),e=g(t/60),i%=60,t%=60,n=g(r/12),r%=12;var s=n,o=r,l=a,d=e,u=t,h=i,c=this.asSeconds();return c?(0>c?"-":"")+"P"+(s?s+"Y":"")+(o?o+"M":"")+(l?l+"D":"")+(d||u||h?"T":"")+(d?d+"H":"")+(u?u+"M":"")+(h?h+"S":""):"P0D"}function si(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&4>=e%10&&(10>e%100||e%100>=20)?n[1]:n[2]}function oi(t,e,n){var i={mm:e?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:e?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===n?e?"хвіліна":"хвіліну":"h"===n?e?"гадзіна":"гадзіну":t+" "+si(i[n],+t)}function li(t,e,n){var i={mm:"munutenn",MM:"miz",dd:"devezh"};return t+" "+hi(i[n],t)}function di(t){switch(ui(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}function ui(t){return t>9?ui(t%10):t}function hi(t,e){return 2===e?ci(t):t}function ci(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}function fi(t,e,n){var i=t+" ";switch(n){case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return i+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return i+=1===t?"dan":"dana";case"MM":return i+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return i+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}function pi(t){return t>1&&5>t&&1!==~~(t/10)}function mi(t,e,n,i){var a=t+" ";switch(n){case"s":return e||i?"pár sekund":"pár sekundami";case"m":return e?"minuta":i?"minutu":"minutou";case"mm":return e||i?a+(pi(t)?"minuty":"minut"):a+"minutami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?a+(pi(t)?"hodiny":"hodin"):a+"hodinami";case"d":return e||i?"den":"dnem";case"dd":return e||i?a+(pi(t)?"dny":"dní"):a+"dny";case"M":return e||i?"měsíc":"měsícem";case"MM":return e||i?a+(pi(t)?"měsíce":"měsíců"):a+"měsíci";case"y":return e||i?"rok":"rokem";case"yy":return e||i?a+(pi(t)?"roky":"let"):a+"lety"}}function gi(t,e,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?a[n][0]:a[n][1]}function _i(t,e,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?a[n][0]:a[n][1]}function yi(t,e,n,i){var a={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?a[n][2]?a[n][2]:a[n][1]:i?a[n][0]:a[n][1]}function vi(t,e,n,i){var a="";switch(n){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"m":return i?"minuutin":"minuutti";case"mm":a=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":a=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":a=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":a=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":a=i?"vuoden":"vuotta"}return a=bi(t,i)+" "+a}function bi(t,e){return 10>t?e?ks[t]:xs[t]:t}function Mi(t,e,n){var i=t+" ";switch(n){case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return i+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return i+=1===t?"dan":"dana";case"MM":return i+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return i+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}function wi(t,e,n,i){var a=t;switch(n){case"s":return i||e?"néhány másodperc":"néhány másodperce";
|
||
case"m":return"egy"+(i||e?" perc":" perce");case"mm":return a+(i||e?" perc":" perce");case"h":return"egy"+(i||e?" óra":" órája");case"hh":return a+(i||e?" óra":" órája");case"d":return"egy"+(i||e?" nap":" napja");case"dd":return a+(i||e?" nap":" napja");case"M":return"egy"+(i||e?" hónap":" hónapja");case"MM":return a+(i||e?" hónap":" hónapja");case"y":return"egy"+(i||e?" év":" éve");case"yy":return a+(i||e?" év":" éve")}return""}function xi(t){return(t?"":"[múlt] ")+"["+Ps[this.day()]+"] LT[-kor]"}function ki(t){return t%100===11?!0:t%10!==1}function Li(t,e,n,i){var a=t+" ";switch(n){case"s":return e||i?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return e?"mínúta":"mínútu";case"mm":return ki(t)?a+(e||i?"mínútur":"mínútum"):e?a+"mínúta":a+"mínútu";case"hh":return ki(t)?a+(e||i?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return e?"dagur":i?"dag":"degi";case"dd":return ki(t)?e?a+"dagar":a+(i?"daga":"dögum"):e?a+"dagur":a+(i?"dag":"degi");case"M":return e?"mánuður":i?"mánuð":"mánuði";case"MM":return ki(t)?e?a+"mánuðir":a+(i?"mánuði":"mánuðum"):e?a+"mánuður":a+(i?"mánuð":"mánuði");case"y":return e||i?"ár":"ári";case"yy":return ki(t)?a+(e||i?"ár":"árum"):a+(e||i?"ár":"ári")}}function Di(t,e,n,i){var a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?a[n][0]:a[n][1]}function Ti(t){var e=t.substr(0,t.indexOf(" "));return Yi(e)?"a "+t:"an "+t}function Si(t){var e=t.substr(0,t.indexOf(" "));return Yi(e)?"viru "+t:"virun "+t}function Yi(t){if(t=parseInt(t,10),isNaN(t))return!1;if(0>t)return!0;if(10>t)return t>=4&&7>=t;if(100>t){var e=t%10,n=t/10;return Yi(0===e?n:e)}if(1e4>t){for(;t>=10;)t/=10;return Yi(t)}return t/=1e3,Yi(t)}function Ci(t,e,n,i){return e?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"}function Ai(t,e,n,i){return e?ji(n)[0]:i?ji(n)[1]:ji(n)[2]}function Hi(t){return t%10===0||t>10&&20>t}function ji(t){return Fs[t].split("_")}function Pi(t,e,n,i){var a=t+" ";return 1===t?a+Ai(t,e,n[0],i):e?a+(Hi(t)?ji(n)[1]:ji(n)[0]):i?a+ji(n)[1]:a+(Hi(t)?ji(n)[1]:ji(n)[2])}function Ii(t,e,n){return n?e%10===1&&11!==e?t[2]:t[3]:e%10===1&&11!==e?t[0]:t[1]}function Ei(t,e,n){return t+" "+Ii(Os[n],t,e)}function Fi(t,e,n){return Ii(Os[n],t,e)}function Oi(t,e){return e?"dažas sekundes":"dažām sekundēm"}function Wi(t,e,n,i){var a="";if(e)switch(n){case"s":a="काही सेकंद";break;case"m":a="एक मिनिट";break;case"mm":a="%d मिनिटे";break;case"h":a="एक तास";break;case"hh":a="%d तास";break;case"d":a="एक दिवस";break;case"dd":a="%d दिवस";break;case"M":a="एक महिना";break;case"MM":a="%d महिने";break;case"y":a="एक वर्ष";break;case"yy":a="%d वर्षे"}else switch(n){case"s":a="काही सेकंदां";break;case"m":a="एका मिनिटा";break;case"mm":a="%d मिनिटां";break;case"h":a="एका तासा";break;case"hh":a="%d तासां";break;case"d":a="एका दिवसा";break;case"dd":a="%d दिवसां";break;case"M":a="एका महिन्या";break;case"MM":a="%d महिन्यां";break;case"y":a="एका वर्षा";break;case"yy":a="%d वर्षां"}return a.replace(/%d/i,t)}function Ri(t){return 5>t%10&&t%10>1&&~~(t/10)%10!==1}function zi(t,e,n){var i=t+" ";switch(n){case"m":return e?"minuta":"minutę";case"mm":return i+(Ri(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return i+(Ri(t)?"godziny":"godzin");case"MM":return i+(Ri(t)?"miesiące":"miesięcy");case"yy":return i+(Ri(t)?"lata":"lat")}}function Ni(t,e,n){var i={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},a=" ";return(t%100>=20||t>=100&&t%100===0)&&(a=" de "),t+a+i[n]}function Bi(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&4>=e%10&&(10>e%100||e%100>=20)?n[1]:n[2]}function Vi(t,e,n){var i={mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===n?e?"минута":"минуту":t+" "+Bi(i[n],+t)}function $i(t){return t>1&&5>t}function qi(t,e,n,i){var a=t+" ";switch(n){case"s":return e||i?"pár sekúnd":"pár sekundami";case"m":return e?"minúta":i?"minútu":"minútou";case"mm":return e||i?a+($i(t)?"minúty":"minút"):a+"minútami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?a+($i(t)?"hodiny":"hodín"):a+"hodinami";case"d":return e||i?"deň":"dňom";case"dd":return e||i?a+($i(t)?"dni":"dní"):a+"dňami";case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?a+($i(t)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return e||i?"rok":"rokom";case"yy":return e||i?a+($i(t)?"roky":"rokov"):a+"rokmi"}}function Ui(t,e,n,i){var a=t+" ";switch(n){case"s":return e||i?"nekaj sekund":"nekaj sekundami";case"m":return e?"ena minuta":"eno minuto";case"mm":return a+=1===t?e?"minuta":"minuto":2===t?e||i?"minuti":"minutama":5>t?e||i?"minute":"minutami":e||i?"minut":"minutami";case"h":return e?"ena ura":"eno uro";case"hh":return a+=1===t?e?"ura":"uro":2===t?e||i?"uri":"urama":5>t?e||i?"ure":"urami":e||i?"ur":"urami";case"d":return e||i?"en dan":"enim dnem";case"dd":return a+=1===t?e||i?"dan":"dnem":2===t?e||i?"dni":"dnevoma":e||i?"dni":"dnevi";case"M":return e||i?"en mesec":"enim mesecem";case"MM":return a+=1===t?e||i?"mesec":"mesecem":2===t?e||i?"meseca":"mesecema":5>t?e||i?"mesece":"meseci":e||i?"mesecev":"meseci";case"y":return e||i?"eno leto":"enim letom";case"yy":return a+=1===t?e||i?"leto":"letom":2===t?e||i?"leti":"letoma":5>t?e||i?"leta":"leti":e||i?"let":"leti"}}function Ji(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"}function Gi(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu’":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"}function Xi(t,e,n,i){var a=Qi(t);switch(n){case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}function Qi(t){var e=Math.floor(t%1e3/100),n=Math.floor(t%100/10),i=t%10,a="";return e>0&&(a+=ro[e]+"vatlh"),n>0&&(a+=(""!==a?" ":"")+ro[n]+"maH"),i>0&&(a+=(""!==a?" ":"")+ro[i]),""===a?"pagh":a}function Zi(t,e,n,i){var a={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[t+" míuts",""+t+" míuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",""+t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",""+t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",""+t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",""+t+" ars"]};return i?a[n][0]:e?a[n][0]:a[n][1]}function Ki(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&4>=e%10&&(10>e%100||e%100>=20)?n[1]:n[2]}function ta(t,e,n){var i={mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===n?e?"хвилина":"хвилину":"h"===n?e?"година":"годину":t+" "+Ki(i[n],+t)}function ea(t,e){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},i=/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative";return n[i][t.day()]}function na(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}var ia,aa;aa=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,i=0;n>i;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1};var ra=t.momentProperties=[],sa=!1,oa={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var la;la=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)r(t,e)&&n.push(e);return n};var da,ua,ha={},ca={},fa=/(\[[^\[]*\])|(\\)?([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,pa=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ma={},ga={},_a=/\d/,ya=/\d\d/,va=/\d{3}/,ba=/\d{4}/,Ma=/[+-]?\d{6}/,wa=/\d\d?/,xa=/\d\d\d\d?/,ka=/\d\d\d\d\d\d?/,La=/\d{1,3}/,Da=/\d{1,4}/,Ta=/[+-]?\d{1,6}/,Sa=/\d+/,Ya=/[+-]?\d+/,Ca=/Z|[+-]\d\d:?\d\d/gi,Aa=/Z|[+-]\d\d(?::?\d\d)?/gi,Ha=/[+-]?\d+(\.\d{1,3})?/,ja=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Pa={},Ia={},Ea=0,Fa=1,Oa=2,Wa=3,Ra=4,za=5,Na=6,Ba=7,Va=8;ua=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},B("M",["MM",2],"Mo",function(){return this.month()+1}),B("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),B("MMMM",0,0,function(t){return this.localeData().months(this,t)}),I("month","M"),J("M",wa),J("MM",wa,ya),J("MMM",function(t,e){return e.monthsShortRegex(t)}),J("MMMM",function(t,e){return e.monthsRegex(t)}),Z(["M","MM"],function(t,e){e[Fa]=_(t)-1}),Z(["MMM","MMMM"],function(t,e,n,i){var a=n._locale.monthsParse(t,i,n._strict);null!=a?e[Fa]=a:d(n).invalidMonth=t});var $a=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,qa="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ua="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ja=ja,Ga=ja,Xa=/^\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)?)?/,Qa=/^\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)?)?/,Za=/Z|[+-]\d\d(?::?\d\d)?/,Ka=[["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}/]],tr=[["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/]],er=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=b("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),B("Y",0,0,function(){var t=this.year();return 9999>=t?""+t:"+"+t}),B(0,["YY",2],0,function(){return this.year()%100}),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),I("year","y"),J("Y",Ya),J("YY",wa,ya),J("YYYY",Da,ba),J("YYYYY",Ta,Ma),J("YYYYYY",Ta,Ma),Z(["YYYYY","YYYYYY"],Ea),Z("YYYY",function(e,n){n[Ea]=2===e.length?t.parseTwoDigitYear(e):_(e)}),Z("YY",function(e,n){n[Ea]=t.parseTwoDigitYear(e)}),Z("Y",function(t,e){e[Ea]=parseInt(t,10)}),t.parseTwoDigitYear=function(t){return _(t)+(_(t)>68?1900:2e3)};var nr=O("FullYear",!0);t.ISO_8601=function(){};var ir=b("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=Et.apply(null,arguments);return this.isValid()&&t.isValid()?this>t?this:t:h()}),ar=b("moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=Et.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:h()}),rr=function(){return Date.now?Date.now():+new Date};Nt("Z",":"),Nt("ZZ",""),J("Z",Aa),J("ZZ",Aa),Z(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Bt(Aa,t)});var sr=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var or=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,lr=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;ie.fn=Rt.prototype;var dr=le(1,"add"),ur=le(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var hr=b("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ze("gggg","weekYear"),ze("ggggg","weekYear"),ze("GGGG","isoWeekYear"),ze("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),J("G",Ya),J("g",Ya),J("GG",wa,ya),J("gg",wa,ya),J("GGGG",Da,ba),J("gggg",Da,ba),J("GGGGG",Ta,Ma),J("ggggg",Ta,Ma),K(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=_(t)}),K(["gg","GG"],function(e,n,i,a){n[a]=t.parseTwoDigitYear(e)}),B("Q",0,"Qo","quarter"),I("quarter","Q"),J("Q",_a),Z("Q",function(t,e){e[Fa]=3*(_(t)-1)}),B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),J("w",wa),J("ww",wa,ya),J("W",wa),J("WW",wa,ya),K(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=_(t)});var cr={dow:0,doy:6};B("D",["DD",2],"Do","date"),I("date","D"),J("D",wa),J("DD",wa,ya),J("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),Z(["D","DD"],Oa),Z("Do",function(t,e){e[Oa]=_(t.match(wa)[0],10)});var fr=O("Date",!0);B("d",0,"do","day"),B("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),B("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),B("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),J("d",wa),J("e",wa),J("E",wa),J("dd",function(t,e){return e.weekdaysMinRegex(t)}),J("ddd",function(t,e){return e.weekdaysShortRegex(t)}),J("dddd",function(t,e){return e.weekdaysRegex(t)}),K(["dd","ddd","dddd"],function(t,e,n,i){var a=n._locale.weekdaysParse(t,i,n._strict);null!=a?e.d=a:d(n).invalidWeekday=t}),K(["d","e","E"],function(t,e,n,i){e[i]=_(t)});var pr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),mr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),gr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),_r=ja,yr=ja,vr=ja;B("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),J("DDD",La),J("DDDD",va),Z(["DDD","DDDD"],function(t,e,n){n._dayOfYear=_(t)}),B("H",["HH",2],0,"hour"),B("h",["hh",2],0,mn),B("k",["kk",2],0,gn),B("hmm",0,0,function(){return""+mn.apply(this)+N(this.minutes(),2)}),B("hmmss",0,0,function(){return""+mn.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)}),B("Hmm",0,0,function(){return""+this.hours()+N(this.minutes(),2)}),B("Hmmss",0,0,function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)}),_n("a",!0),_n("A",!1),I("hour","h"),J("a",yn),J("A",yn),J("H",wa),J("h",wa),J("HH",wa,ya),J("hh",wa,ya),J("hmm",xa),J("hmmss",ka),J("Hmm",xa),J("Hmmss",ka),Z(["H","HH"],Wa),Z(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Z(["h","hh"],function(t,e,n){e[Wa]=_(t),d(n).bigHour=!0}),Z("hmm",function(t,e,n){var i=t.length-2;e[Wa]=_(t.substr(0,i)),e[Ra]=_(t.substr(i)),d(n).bigHour=!0}),Z("hmmss",function(t,e,n){var i=t.length-4,a=t.length-2;e[Wa]=_(t.substr(0,i)),e[Ra]=_(t.substr(i,2)),e[za]=_(t.substr(a)),d(n).bigHour=!0}),Z("Hmm",function(t,e,n){var i=t.length-2;e[Wa]=_(t.substr(0,i)),e[Ra]=_(t.substr(i))}),Z("Hmmss",function(t,e,n){var i=t.length-4,a=t.length-2;e[Wa]=_(t.substr(0,i)),e[Ra]=_(t.substr(i,2)),e[za]=_(t.substr(a))});var br=/[ap]\.?m?\.?/i,Mr=O("Hours",!0);B("m",["mm",2],0,"minute"),I("minute","m"),J("m",wa),J("mm",wa,ya),Z(["m","mm"],Ra);var wr=O("Minutes",!1);B("s",["ss",2],0,"second"),I("second","s"),J("s",wa),J("ss",wa,ya),Z(["s","ss"],za);var xr=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()}),I("millisecond","ms"),J("S",La,_a),J("SS",La,ya),J("SSS",La,va);var kr;for(kr="SSSS";kr.length<=9;kr+="S")J(kr,Sa);for(kr="S";kr.length<=9;kr+="S")Z(kr,Mn);var Lr=O("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var Dr=p.prototype;Dr.add=dr,Dr.calendar=ue,Dr.clone=he,Dr.diff=ye,Dr.endOf=Ce,Dr.format=we,Dr.from=xe,Dr.fromNow=ke,Dr.to=Le,Dr.toNow=De,Dr.get=z,Dr.invalidAt=We,Dr.isAfter=ce,Dr.isBefore=fe,Dr.isBetween=pe,Dr.isSame=me,Dr.isSameOrAfter=ge,Dr.isSameOrBefore=_e,Dr.isValid=Fe,Dr.lang=hr,Dr.locale=Te,Dr.localeData=Se,Dr.max=ar,Dr.min=ir,Dr.parsingFlags=Oe,Dr.set=z,Dr.startOf=Ye,Dr.subtract=ur,Dr.toArray=Pe,Dr.toObject=Ie,Dr.toDate=je,Dr.toISOString=Me,Dr.toJSON=Ee,Dr.toString=be,Dr.unix=He,Dr.valueOf=Ae,Dr.creationData=Re,Dr.year=nr,Dr.isLeapYear=vt,Dr.weekYear=Ne,Dr.isoWeekYear=Be,Dr.quarter=Dr.quarters=Je,Dr.month=ot,Dr.daysInMonth=lt,Dr.week=Dr.weeks=Ze,Dr.isoWeek=Dr.isoWeeks=Ke,Dr.weeksInYear=$e,Dr.isoWeeksInYear=Ve,Dr.date=fr,Dr.day=Dr.days=on,Dr.weekday=ln,Dr.isoWeekday=dn,Dr.dayOfYear=pn,Dr.hour=Dr.hours=Mr,Dr.minute=Dr.minutes=wr,Dr.second=Dr.seconds=xr,Dr.millisecond=Dr.milliseconds=Lr,Dr.utcOffset=qt,Dr.utc=Jt,Dr.local=Gt,Dr.parseZone=Xt,Dr.hasAlignedHourOffset=Qt,Dr.isDST=Zt,Dr.isDSTShifted=Kt,Dr.isLocal=te,Dr.isUtcOffset=ee,Dr.isUtc=ne,Dr.isUTC=ne,Dr.zoneAbbr=wn,Dr.zoneName=xn,Dr.dates=b("dates accessor is deprecated. Use date instead.",fr),Dr.months=b("months accessor is deprecated. Use month instead",ot),Dr.years=b("years accessor is deprecated. Use year instead",nr),Dr.zone=b("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Ut);var Tr=Dr,Sr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Yr={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"},Cr="Invalid date",Ar="%d",Hr=/\d{1,2}/,jr={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"},Pr=D.prototype;Pr._calendar=Sr,Pr.calendar=Dn,Pr._longDateFormat=Yr,Pr.longDateFormat=Tn,Pr._invalidDate=Cr,Pr.invalidDate=Sn,Pr._ordinal=Ar,Pr.ordinal=Yn,Pr._ordinalParse=Hr,Pr.preparse=Cn,Pr.postformat=Cn,Pr._relativeTime=jr,Pr.relativeTime=An,Pr.pastFuture=Hn,Pr.set=k,Pr.months=nt,Pr._months=qa,Pr.monthsShort=it,Pr._monthsShort=Ua,Pr.monthsParse=rt,Pr._monthsRegex=Ga,Pr.monthsRegex=ut,Pr._monthsShortRegex=Ja,Pr.monthsShortRegex=dt,Pr.week=Ge,Pr._week=cr,Pr.firstDayOfYear=Qe,Pr.firstDayOfWeek=Xe,Pr.weekdays=en,Pr._weekdays=pr,Pr.weekdaysMin=an,Pr._weekdaysMin=gr,Pr.weekdaysShort=nn,Pr._weekdaysShort=mr,Pr.weekdaysParse=sn,Pr._weekdaysRegex=_r,Pr.weekdaysRegex=un,Pr._weekdaysShortRegex=yr,Pr.weekdaysShortRegex=hn,Pr._weekdaysMinRegex=vr,Pr.weekdaysMinRegex=cn,Pr.isPM=vn,Pr._meridiemParse=br,Pr.meridiem=bn,C("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===_(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),t.lang=b("moment.lang is deprecated. Use moment.locale instead.",C),t.langData=b("moment.langData is deprecated. Use moment.localeData instead.",j);var Ir=Math.abs,Er=Qn("ms"),Fr=Qn("s"),Or=Qn("m"),Wr=Qn("h"),Rr=Qn("d"),zr=Qn("w"),Nr=Qn("M"),Br=Qn("y"),Vr=Kn("milliseconds"),$r=Kn("seconds"),qr=Kn("minutes"),Ur=Kn("hours"),Jr=Kn("days"),Gr=Kn("months"),Xr=Kn("years"),Qr=Math.round,Zr={s:45,m:45,h:22,d:26,M:11},Kr=Math.abs,ts=Rt.prototype;ts.abs=zn,ts.add=Bn,ts.subtract=Vn,ts.as=Gn,ts.asMilliseconds=Er,ts.asSeconds=Fr,ts.asMinutes=Or,ts.asHours=Wr,ts.asDays=Rr,ts.asWeeks=zr,ts.asMonths=Nr,ts.asYears=Br,ts.valueOf=Xn,ts._bubble=qn,ts.get=Zn,ts.milliseconds=Vr,ts.seconds=$r,ts.minutes=qr,ts.hours=Ur,ts.days=Jr,ts.weeks=ti,ts.months=Gr,ts.years=Xr,ts.humanize=ai,ts.toISOString=ri,ts.toString=ri,ts.toJSON=ri,ts.locale=Te,ts.localeData=Se,ts.toIsoString=b("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ri),ts.lang=hr,B("X",0,0,"unix"),B("x",0,0,"valueOf"),J("x",Ya),J("X",Ha),Z("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),Z("x",function(t,e,n){n._d=new Date(_(t))}),t.version="2.13.0",e(Et),t.fn=Tr,t.min=Ot,t.max=Wt,t.now=rr,t.utc=o,t.unix=kn,t.months=En,t.isDate=i,t.locale=C,t.invalid=h,t.duration=ie,t.isMoment=m,t.weekdays=On,t.parseZone=Ln,t.localeData=j,t.isDuration=zt,t.monthsShort=Fn,t.weekdaysMin=Rn,t.defineLocale=A,t.updateLocale=H,t.locales=P,t.weekdaysShort=Wn,t.normalizeUnits=E,t.relativeTimeThreshold=ii,t.prototype=Tr;var es=t,ns=(es.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return 12>t?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}}),es.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:"٠"}),is={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},as=(es.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return 12>t?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return is[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return ns[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),es.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:"٠"}),rs={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},ss=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&10>=t%100?3:t%100>=11?4:5},os={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},ls=function(t){return function(e,n,i,a){var r=ss(e),s=os[t][ss(e)];return 2===r&&(s=s[n?0:1]),s.replace(/%d/i,e)}},ds=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"],us=(es.defineLocale("ar",{months:ds,monthsShort:ds,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return 12>t?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:ls("s"),m:ls("m"),mm:ls("m"),h:ls("h"),hh:ls("h"),d:ls("d"),dd:ls("d"),M:ls("M"),MM:ls("M"),y:ls("y"),yy:ls("y")},preparse:function(t){return t.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return rs[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return as[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),{1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"}),hs=(es.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,n){return 4>t?"gecə":12>t?"səhər":17>t?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var e=t%10,n=t%100-e,i=t>=100?100:null;return t+(us[e]||us[n]||us[i])},week:{dow:1,doy:7}}),es.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:oi,mm:oi,h:oi,hh:oi,d:"дзень",dd:oi,M:"месяц",MM:oi,y:"год",yy:oi},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,n){return 4>t?"ночы":12>t?"раніцы":17>t?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!==2&&t%10!==3||t%100===12||t%100===13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}}),es.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&20>n?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}}),{1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"}),cs={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},fs=(es.defineLocale("bn",{months:"জানুয়ারী_ফেবুয়ারী_মার্চ_এপ্রিল_মে_জুন_জুলাই_অগাস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপর_মে_জুন_জুল_অগ_সেপ্ট_অক্টো_নভ_ডিসেম্".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পত্তিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পত্তি_শুক্র_শনি".split("_"),weekdaysMin:"রব_সম_মঙ্গ_বু_ব্রিহ_শু_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",
|
||
LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,function(t){return cs[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return hs[t]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&5>t||"বিকাল"===e?t+12:t},meridiem:function(t,e,n){return 4>t?"রাত":10>t?"সকাল":17>t?"দুপুর":20>t?"বিকাল":"রাত"},week:{dow:0,doy:6}}),{1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"}),ps={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},ms=(es.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(t){return ps[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return fs[t]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&t>=4||"ཉིན་གུང"===e&&5>t||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,n){return 4>t?"མཚན་མོ":10>t?"ཞོགས་ཀས":17>t?"ཉིན་གུང":20>t?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}}),es.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:li,h:"un eur",hh:"%d eur",d:"un devezh",dd:li,M:"ur miz",MM:li,y:"ur bloaz",yy:di},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){var e=1===t?"añ":"vet";return t+e},week:{dow:1,doy:4}}),es.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}}),es.defineLocale("ca",{months:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}}),"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_")),gs="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),_s=(es.defineLocale("cs",{months:ms,monthsShort:gs,monthsParse:function(t,e){var n,i=[];for(n=0;12>n;n++)i[n]=new RegExp("^"+t[n]+"$|^"+e[n]+"$","i");return i}(ms,gs),shortMonthsParse:function(t){var e,n=[];for(e=0;12>e;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(gs),longMonthsParse:function(t){var e,n=[];for(e=0;12>e;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(ms),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}}),es.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(t){var e=/сехет$/i.exec(t)?"рен":/ҫул$/i.exec(t)?"тан":"ран";return t+e},past:"%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},ordinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}}),es.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e=t,n="",i=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return e>20?n=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(n=i[e]),t+n},week:{dow:1,doy:4}}),es.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}}),es.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: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}}),es.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:_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}}),["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"]),ys=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],vs=(es.defineLocale("dv",{months:_s,monthsShort:_s,weekdays:ys,weekdaysShort:ys,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(t){return"މފ"===t},meridiem:function(t,e,n){return 12>t?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:7,doy:12}}),es.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(t,e,n){return t>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(t){return"μ"===(t+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var n=this._calendarEl[t],i=e&&e.hours();return w(n)&&(n=n.apply(e)),n.replace("{}",i%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},ordinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}}),es.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}}),es.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),es.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}}),es.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}}),es.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}}),es.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-an de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}}),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_")),bs="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Ms=(es.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,e){return/-MMM-/.test(e)?bs[t.month()]:vs[t.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),es.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}}),es.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:"۰"}),ws={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},xs=(es.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(t){return/بعد از ظهر/.test(t)},meridiem:function(t,e,n){return 12>t?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندین ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(t){return t.replace(/[۰-۹]/g,function(t){return ws[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return Ms[t]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}}),"nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" ")),ks=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",xs[7],xs[8],xs[9]],Ls=(es.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}}),es.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}}),es.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(t){return t+(1===t?"er":"e")}}),es.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(t){return t+(1===t?"er":"e")},week:{dow:1,doy:4}}),es.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(t){return t+(1===t?"er":"")},week:{dow:1,doy:4}}),"jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_")),Ds="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),Ts=(es.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,e){return/-MMM-/.test(e)?Ds[t.month()]:Ls[t.month()];
|
||
},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}}),["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"]),Ss=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],Ys=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],Cs=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],As=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],Hs=(es.defineLocale("gd",{months:Ts,monthsShort:Ss,monthsParseExact:!0,weekdays:Ys,weekdaysShort:Cs,weekdaysMin:As,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},ordinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){var e=1===t?"d":t%10===2?"na":"mh";return t+e},week:{dow:1,doy:4}}),es.defineLocale("gl",{months:"Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Outubro_Novembro_Decembro".split("_"),monthsShort:"Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.".split("_"),monthsParseExact:!0,weekdays:"Domingo_Luns_Martes_Mércores_Xoves_Venres_Sábado".split("_"),weekdaysShort:"Dom._Lun._Mar._Mér._Xov._Ven._Sáb.".split("_"),weekdaysMin:"Do_Lu_Ma_Mé_Xo_Ve_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return"uns segundos"===t?"nuns segundos":"en "+t},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:7}}),es.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(t){return 2===t?"שעתיים":t+" שעות"},d:"יום",dd:function(t){return 2===t?"יומיים":t+" ימים"},M:"חודש",MM:function(t){return 2===t?"חודשיים":t+" חודשים"},y:"שנה",yy:function(t){return 2===t?"שנתיים":t%10===0&&10!==t?t+" שנה":t+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(t){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(t)},meridiem:function(t,e,n){return 5>t?"לפנות בוקר":10>t?"בבוקר":12>t?n?'לפנה"צ':"לפני הצהריים":18>t?n?'אחה"צ':"אחרי הצהריים":"בערב"}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"}),js={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},Ps=(es.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return js[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return Hs[t]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?4>t?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,n){return 4>t?"रात":10>t?"सुबह":17>t?"दोपहर":20>t?"शाम":"रात"},week:{dow:0,doy:6}}),es.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(" ")),Is=(es.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return 12>t?n===!0?"de":"DE":n===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return xi.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return xi.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}}),es.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return 4>t?"գիշերվա":12>t?"առավոտվա":17>t?"ցերեկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}}),es.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return 11>t?"pagi":15>t?"siang":19>t?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),es.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:Li,m:Li,mm:Li,h:"klukkustund",hh:Li,d:Li,dd:Li,M:Li,MM:Li,y:Li,yy:Li},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),es.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),weekdaysMin:"Do_Lu_Ma_Me_Gi_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),es.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS:"Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m分 dddd"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return 12>t?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},ordinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}}),es.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return 11>t?"enjing":15>t?"siyang":19>t?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}}),es.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(t){return/(წამი|წუთი|საათი|წელი)/.test(t)?t.replace(/ი$/,"ში"):t+"ში"},past:function(t){return/(წამი|წუთი|საათი|დღე|თვე)/.test(t)?t.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(t)?t.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(t){return 0===t?t:1===t?t+"-ლი":20>t||100>=t&&t%20===0||t%100===0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}}),{0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"}),Es=(es.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(t){var e=t%10,n=t>=100?100:null;return t+(Is[t]||Is[e]||Is[n])},week:{dow:1,doy:7}}),es.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}}),es.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h시 m분",LLLL:"YYYY년 MMMM D일 dddd A h시 m분"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"일분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,n){return 12>t?"오전":"오후"}}),{0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"}),Fs=(es.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(t){var e=t%10,n=t>=100?100:null;return t+(Es[t]||Es[e]||Es[n])},week:{dow:1,doy:7}}),es.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:Si,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}}),es.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(t){return"ຕອນແລງ"===t},meridiem:function(t,e,n){return 12>t?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},ordinalParse:/(ທີ່)\d{1,2}/,ordinal:function(t){return"ທີ່"+t}}),{m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"}),Os=(es.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:Ai,mm:Pi,h:Ai,hh:Pi,d:Ai,dd:Pi,M:Ai,MM:Pi,y:Ai,yy:Pi},ordinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}}),{m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")}),Ws=(es.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:Ei,h:Fi,hh:Ei,d:Fi,dd:Ei,M:Fi,MM:Ei,y:Fi,yy:Ei},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&4>=t?e[1]:e[2]},translate:function(t,e,n){var i=Ws.words[n];return 1===n.length?e?i[0]:i[1]:t+" "+Ws.correctGrammaticalCase(t,i)}}),Rs=(es.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var t=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:Ws.translate,mm:Ws.translate,h:Ws.translate,hh:Ws.translate,d:"dan",dd:Ws.translate,M:"mjesec",MM:Ws.translate,y:"godinu",yy:Ws.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),es.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&20>n?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}}),es.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(t,e){return 12===t&&(t=0),"രാത്രി"===e&&t>=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,n){return 4>t?"രാത്രി":12>t?"രാവിലെ":17>t?"ഉച്ച കഴിഞ്ഞ്":20>t?"വൈകുന്നേരം":"രാത്രി"}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"}),zs={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},Ns=(es.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(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return zs[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return Rs[t]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात्री"===e?4>t?t:t+12:"सकाळी"===e?t:"दुपारी"===e?t>=10?t:t+12:"सायंकाळी"===e?t+12:void 0},meridiem:function(t,e,n){return 4>t?"रात्री":10>t?"सकाळी":17>t?"दुपारी":20>t?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}}),es.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"
|
||
},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return 11>t?"pagi":15>t?"tengahari":19>t?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),es.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return 11>t?"pagi":15>t?"tengahari":19>t?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),{1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"}),Bs={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},Vs=(es.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(t){return Bs[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return Ns[t]})},week:{dow:1,doy:4}}),es.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:"०"}),$s={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},qs=(es.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return $s[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return Vs[t]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?4>t?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,n){return 3>t?"राति":12>t?"बिहान":16>t?"दिउँसो":20>t?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}}),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_")),Us="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),Js=(es.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,e){return/-MMM-/.test(e)?Us[t.month()]:qs[t.month()]},monthsParseExact:!0,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}}),es.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:"੦"}),Gs={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},Xs=(es.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(t){return Gs[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return Js[t]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?4>t?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,n){return 4>t?"ਰਾਤ":10>t?"ਸਵੇਰ":17>t?"ਦੁਪਹਿਰ":20>t?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}}),"styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_")),Qs="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),Zs=(es.defineLocale("pl",{months:function(t,e){return""===e?"("+Qs[t.month()]+"|"+Xs[t.month()]+")":/D MMMM/.test(e)?Qs[t.month()]:Xs[t.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"nie_pon_wt_śr_czw_pt_sb".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:zi,mm:zi,h:zi,hh:zi,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:zi,y:"rok",yy:zi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),es.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º"}),es.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}}),es.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:Ni,h:"o oră",hh:Ni,d:"o zi",dd:Ni,M:"o lună",MM:Ni,y:"un an",yy:Ni},week:{dow:1,doy:7}}),[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i]),Ks=(es.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:Zs,longMonthsParse:Zs,shortMonthsParse:Zs,monthsRegex:/^(сентябр[яь]|октябр[яь]|декабр[яь]|феврал[яь]|январ[яь]|апрел[яь]|августа?|ноябр[яь]|сент\.|февр\.|нояб\.|июнь|янв.|июль|дек.|авг.|апр.|марта|мар[.т]|окт.|июн[яь]|июл[яь]|ма[яй])/i,monthsShortRegex:/^(сентябр[яь]|октябр[яь]|декабр[яь]|феврал[яь]|январ[яь]|апрел[яь]|августа?|ноябр[яь]|сент\.|февр\.|нояб\.|июнь|янв.|июль|дек.|авг.|апр.|марта|мар[.т]|окт.|июн[яь]|июл[яь]|ма[яй])/i,monthsStrictRegex:/^(сентябр[яь]|октябр[яь]|декабр[яь]|феврал[яь]|январ[яь]|апрел[яь]|августа?|ноябр[яь]|марта?|июн[яь]|июл[яь]|ма[яй])/i,monthsShortStrictRegex:/^(нояб\.|февр\.|сент\.|июль|янв\.|июн[яь]|мар[.т]|авг\.|апр\.|окт\.|дек\.|ма[яй])/i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:Vi,mm:Vi,h:"час",hh:Vi,d:"день",dd:Vi,M:"месяц",MM:Vi,y:"год",yy:Vi},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return 4>t?"ночи":12>t?"утра":17>t?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:7}}),es.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}}),es.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},ordinalParse:/\d{1,2} වැනි/,ordinal:function(t){return t+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(t){return"ප.ව."===t||"පස් වරු"===t},meridiem:function(t,e,n){return t>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}}),"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_")),to="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),eo=(es.defineLocale("sk",{months:Ks,monthsShort:to,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}}),es.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}}),es.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return 12>t?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&4>=t?e[1]:e[2]},translate:function(t,e,n){var i=eo.words[n];return 1===n.length?e?i[0]:i[1]:t+" "+eo.correctGrammaticalCase(t,i)}}),no=(es.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var t=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:eo.translate,mm:eo.translate,h:eo.translate,hh:eo.translate,d:"дан",dd:eo.translate,M:"месец",MM:eo.translate,y:"годину",yy:eo.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),{words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&4>=t?e[1]:e[2]},translate:function(t,e,n){var i=no.words[n];return 1===n.length?e?i[0]:i[1]:t+" "+no.correctGrammaticalCase(t,i)}}),io=(es.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var t=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:no.translate,mm:no.translate,h:no.translate,hh:no.translate,d:"dan",dd:no.translate,M:"mesec",MM:no.translate,y:"godinu",yy:no.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),es.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return 11>t?"ekuseni":15>t?"emini":19>t?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},ordinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}}),es.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"e":1===e?"a":2===e?"a":"e";return t+n},week:{dow:1,doy:4}}),es.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:"௦"}),ao={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},ro=(es.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalParse:/\d{1,2}வது/,ordinal:function(t){return t+"வது"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(t){return ao[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return io[t]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(t,e,n){return 2>t?" யாமம்":6>t?" வைகறை":10>t?" காலை":14>t?" நண்பகல்":18>t?" எற்பாடு":22>t?" மாலை":" யாமம்"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமம்"===e?2>t?t:t+12:"வைகறை"===e||"காலை"===e?t:"நண்பகல்"===e&&t>=10?t:t+12},week:{dow:0,doy:6}}),es.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},ordinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(t,e){return 12===t&&(t=0),"రాత్రి"===e?4>t?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?t>=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,n){return 4>t?"రాత్రి":10>t?"ఉదయం":17>t?"మధ్యాహ్నం":20>t?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}}),es.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),
|
||
weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H นาฬิกา m นาที",LTS:"H นาฬิกา m นาที s วินาที",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H นาฬิกา m นาที",LLLL:"วันddddที่ D MMMM YYYY เวลา H นาฬิกา m นาที"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,n){return 12>t?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}}),es.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"[Ngayon sa] LT",nextDay:"[Bukas sa] LT",nextWeek:"dddd [sa] LT",lastDay:"[Kahapon sa] LT",lastWeek:"dddd [huling linggo] LT",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}}),"pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_")),so=(es.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ı"}),oo=(es.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(t){if(0===t)return t+"'ıncı";var e=t%10,n=t%100-e,i=t>=100?100:null;return t+(so[e]||so[n]||so[i])},week:{dow:1,doy:7}}),es.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:Zi,m:Zi,mm:Zi,h:Zi,hh:Zi,d:Zi,dd:Zi,M:Zi,MM:Zi,y:Zi,yy:Zi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),es.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}}),es.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}}),es.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:ea,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:na("[Сьогодні "),nextDay:na("[Завтра "),lastDay:na("[Вчора "),nextWeek:na("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return na("[Минулої] dddd [").call(this);case 1:case 2:case 4:return na("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:ta,mm:ta,h:"годину",hh:ta,d:"день",dd:ta,M:"місяць",MM:ta,y:"рік",yy:ta},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,n){return 4>t?"ночі":12>t?"ранку":17>t?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}}),es.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}}),es.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return 12>t?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}}),es.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}}),es.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return 600>i?"凌晨":900>i?"早上":1130>i?"上午":1230>i?"中午":1800>i?"下午":"晚上"},calendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var t,e;return t=es().startOf("week"),e=this.diff(t,"days")>=7?"[下]":"[本]",0===this.minutes()?e+"dddAh点整":e+"dddAh点mm"},lastWeek:function(){var t,e;return t=es().startOf("week"),e=this.unix()<t.unix()?"[上]":"[本]",0===this.minutes()?e+"dddAh点整":e+"dddAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}}),es.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return 900>i?"早上":1130>i?"上午":1230>i?"中午":1800>i?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1分鐘",mm:"%d分鐘",h:"1小時",hh:"%d小時",d:"1天",dd:"%d天",M:"1個月",MM:"%d個月",y:"1年",yy:"%d年"}}),es);return oo.locale("en"),oo}),function(t,e){"use strict";if("function"==typeof define&&define.amd)define(["jquery","moment"],e);else if("object"==typeof exports)e(require("jquery"),require("moment"));else{if(!jQuery)throw new Error("bootstrap-datetimepicker requires jQuery to be loaded first");if(!moment)throw new Error("bootstrap-datetimepicker requires moment.js to be loaded first");e(t.jQuery,moment)}}(this,function(t,e){"use strict";if("undefined"==typeof e)throw new Error("momentjs is required");var n=0,i=function(i,a){var r,s=t.fn.datetimepicker.defaults,o={time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down"},l=this,d=!1,u=function(){var r,d,u=!1;if(l.options=t.extend({},s,a),l.options.icons=t.extend({},o,l.options.icons),l.element=t(i),c(),!l.options.pickTime&&!l.options.pickDate)throw new Error("Must choose at least one picker");if(l.id=n++,e.locale(l.options.language),l.date=e(),l.unset=!1,l.isInput=l.element.is("input"),l.component=!1,l.element.hasClass("input-group")&&(0===l.element.find(".datepickerbutton").size()?l.component=l.element.find('[class^="input-group-"]'):l.component=l.element.find(".datepickerbutton")),l.format=l.options.format,r=e().localeData(),l.format||(l.format=l.options.pickDate?r.longDateFormat("L"):"",l.options.pickDate&&l.options.pickTime&&(l.format+=" "),l.format+=l.options.pickTime?r.longDateFormat("LT"):"",l.options.useSeconds&&(-1!==r.longDateFormat("LT").indexOf(" A")?l.format=l.format.split(" A")[0]+":ss A":l.format+=":ss")),l.use24hours=l.format.toLowerCase().indexOf("a")<0&&l.format.indexOf("h")<0,l.component&&(u=l.component.find("span")),l.options.pickTime&&u&&u.addClass(l.options.icons.time),l.options.pickDate&&u&&(u.removeClass(l.options.icons.time),u.addClass(l.options.icons.date)),l.options.widgetParent="string"==typeof l.options.widgetParent&&l.options.widgetParent||l.element.parents().filter(function(){return"scroll"===t(this).css("overflow-y")}).get(0)||"body",l.widget=t(N()).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),_(),y(),b(),M(),w(),g(),C(),h().prop("disabled")||A(),""!==l.options.defaultDate&&""===h().val()&&l.setValue(l.options.defaultDate),1!==l.options.minuteStepping&&(d=l.options.minuteStepping,l.date.minutes(Math.round(l.date.minutes()/d)*d%60).seconds(0))},h=function(){var t;if(l.isInput)return l.element;if(t=l.element.find(".datepickerinput"),0===t.size())t=l.element.find("input");else if(!t.is("input"))throw new Error('CSS class "datepickerinput" cannot be applied to non input element');return t},c=function(){var t;t=l.element.is("input")?l.element.data():l.element.find("input").data(),void 0!==t.dateFormat&&(l.options.format=t.dateFormat),void 0!==t.datePickdate&&(l.options.pickDate=t.datePickdate),void 0!==t.datePicktime&&(l.options.pickTime=t.datePicktime),void 0!==t.dateUseminutes&&(l.options.useMinutes=t.dateUseminutes),void 0!==t.dateUseseconds&&(l.options.useSeconds=t.dateUseseconds),void 0!==t.dateUsecurrent&&(l.options.useCurrent=t.dateUsecurrent),void 0!==t.calendarWeeks&&(l.options.calendarWeeks=t.calendarWeeks),void 0!==t.dateMinutestepping&&(l.options.minuteStepping=t.dateMinutestepping),void 0!==t.dateMindate&&(l.options.minDate=t.dateMindate),void 0!==t.dateMaxdate&&(l.options.maxDate=t.dateMaxdate),void 0!==t.dateShowtoday&&(l.options.showToday=t.dateShowtoday),void 0!==t.dateCollapse&&(l.options.collapse=t.dateCollapse),void 0!==t.dateLanguage&&(l.options.language=t.dateLanguage),void 0!==t.dateDefaultdate&&(l.options.defaultDate=t.dateDefaultdate),void 0!==t.dateDisableddates&&(l.options.disabledDates=t.dateDisableddates),void 0!==t.dateEnableddates&&(l.options.enabledDates=t.dateEnableddates),void 0!==t.dateIcons&&(l.options.icons=t.dateIcons),void 0!==t.dateUsestrict&&(l.options.useStrict=t.dateUsestrict),void 0!==t.dateDirection&&(l.options.direction=t.dateDirection),void 0!==t.dateSidebyside&&(l.options.sideBySide=t.dateSidebyside),void 0!==t.dateDaysofweekdisabled&&(l.options.daysOfWeekDisabled=t.dateDaysofweekdisabled)},f=function(){var e,n="absolute",i=l.component?l.component.offset():l.element.offset(),a=t(window);l.width=l.component?l.component.outerWidth():l.element.outerWidth(),i.top=i.top+l.element.outerHeight(),"up"===l.options.direction?e="top":"bottom"===l.options.direction?e="bottom":"auto"===l.options.direction&&(e=i.top+l.widget.height()>a.height()+a.scrollTop()&&l.widget.height()+l.element.outerHeight()<i.top?"top":"bottom"),"top"===e?(i.top=i.top-l.element.outerHeight()-l.widget.height()-13,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),I()&&(n="fixed",i.top-=a.scrollTop(),i.left-=a.scrollLeft()),a.width()<i.left+l.widget.outerWidth()?(i.right=a.width()-i.left-l.width,i.left="auto",l.widget.addClass("pull-right")):(i.right="auto",l.widget.removeClass("pull-right")),"top"===e?l.widget.css({position:n,bottom:"auto",top:i.top,left:i.left,right:i.right}):l.widget.css({position:n,top:i.top,bottom:"auto",left:i.left,right:i.right})},p=function(t,n){e(l.date).isSame(e(t))&&!d||(d=!1,l.element.trigger({type:"dp.change",date:e(l.date),oldDate:e(t)}),"change"!==n&&l.element.change())},m=function(t){d=!0,l.element.trigger({type:"dp.error",date:e(t,l.format,l.options.useStrict)})},g=function(t){e.locale(l.options.language);var n=t;n||(n=h().val(),n&&(l.date=e(n,l.format,l.options.useStrict)),l.date||(l.date=e())),l.viewDate=e(l.date).startOf("month"),v(),x()},_=function(){e.locale(l.options.language);var n,i=t("<tr>"),a=e.weekdaysMin();if(l.options.calendarWeeks===!0&&i.append('<th class="cw">#</th>'),0===e().localeData()._week.dow)for(n=0;7>n;n++)i.append('<th class="dow">'+a[n]+"</th>");else for(n=1;8>n;n++)7===n?i.append('<th class="dow">'+a[0]+"</th>"):i.append('<th class="dow">'+a[n]+"</th>");l.widget.find(".datepicker-days thead").append(i)},y=function(){e.locale(l.options.language);var t,n="",i=e.monthsShort();for(t=0;12>t;t++)n+='<span class="month">'+i[t]+"</span>";l.widget.find(".datepicker-months td").append(n)},v=function(){if(l.options.pickDate){e.locale(l.options.language);var n,i,a,r,s,o,d,u,h,c=l.viewDate.year(),f=l.viewDate.month(),p=l.options.minDate.year(),m=l.options.minDate.month(),g=l.options.maxDate.year(),_=l.options.maxDate.month(),y=[],v=e.months();for(l.widget.find(".datepicker-days").find(".disabled").removeClass("disabled"),l.widget.find(".datepicker-months").find(".disabled").removeClass("disabled"),l.widget.find(".datepicker-years").find(".disabled").removeClass("disabled"),l.widget.find(".datepicker-days th:eq(1)").text(v[f]+" "+c),i=e(l.viewDate,l.format,l.options.useStrict).subtract(1,"months"),d=i.daysInMonth(),i.date(d).startOf("week"),(c===p&&m>=f||p>c)&&l.widget.find(".datepicker-days th:eq(0)").addClass("disabled"),(c===g&&f>=_||c>g)&&l.widget.find(".datepicker-days th:eq(2)").addClass("disabled"),a=e(i).add(42,"d");i.isBefore(a);){if(i.weekday()===e().startOf("week").weekday()&&(r=t("<tr>"),y.push(r),l.options.calendarWeeks===!0&&r.append('<td class="cw">'+i.week()+"</td>")),s="",i.year()<c||i.year()===c&&i.month()<f?s+=" old":(i.year()>c||i.year()===c&&i.month()>f)&&(s+=" new"),i.isSame(e({y:l.date.year(),M:l.date.month(),d:l.date.date()}))&&(s+=" active"),!O(i,"day")&&W(i)||(s+=" disabled"),l.options.showToday===!0&&i.isSame(e(),"day")&&(s+=" today"),l.options.daysOfWeekDisabled)for(o=0;o<l.options.daysOfWeekDisabled.length;o++)if(i.day()===l.options.daysOfWeekDisabled[o]){s+=" disabled";break}r.append('<td class="day'+s+'">'+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),h=l.date.year(),v=l.widget.find(".datepicker-months").find("th:eq(1)").text(c).end().find("span").removeClass("active"),h===c&&v.eq(l.date.month()).addClass("active"),p>c-1&&l.widget.find(".datepicker-months th:eq(0)").addClass("disabled"),c+1>g&&l.widget.find(".datepicker-months th:eq(2)").addClass("disabled"),o=0;12>o;o++)c===p&&m>o||p>c?t(v[o]).addClass("disabled"):(c===g&&o>_||c>g)&&t(v[o]).addClass("disabled");for(y="",c=10*parseInt(c/10,10),u=l.widget.find(".datepicker-years").find("th:eq(1)").text(c+"-"+(c+9)).parents("table").find("td"),l.widget.find(".datepicker-years").find("th").removeClass("disabled"),p>c&&l.widget.find(".datepicker-years").find("th:eq(0)").addClass("disabled"),c+9>g&&l.widget.find(".datepicker-years").find("th:eq(2)").addClass("disabled"),c-=1,o=-1;11>o;o++)y+='<span class="year'+(-1===o||10===o?" old":"")+(h===c?" active":"")+(p>c||c>g?" disabled":"")+'">'+c+"</span>",c+=1;u.html(y)}},b=function(){e.locale(l.options.language);var t,n,i,a=l.widget.find(".timepicker .timepicker-hours table"),r="";if(a.parent().hide(),l.use24hours)for(t=0,n=0;6>n;n+=1){for(r+="<tr>",i=0;4>i;i+=1)r+='<td class="hour">'+z(t.toString())+"</td>",t++;r+="</tr>"}else for(t=1,n=0;3>n;n+=1){for(r+="<tr>",i=0;4>i;i+=1)r+='<td class="hour">'+z(t.toString())+"</td>",t++;r+="</tr>"}a.html(r)},M=function(){var t,e,n=l.widget.find(".timepicker .timepicker-minutes table"),i="",a=0,r=l.options.minuteStepping;for(n.parent().hide(),1===r&&(r=5),t=0;t<Math.ceil(60/r/4);t++){for(i+="<tr>",e=0;4>e;e+=1)60>a?(i+='<td class="minute">'+z(a.toString())+"</td>",a+=r):i+="<td></td>";i+="</tr>"}n.html(i)},w=function(){var t,e,n=l.widget.find(".timepicker .timepicker-seconds table"),i="",a=0;for(n.parent().hide(),t=0;3>t;t++){for(i+="<tr>",e=0;4>e;e+=1)i+='<td class="second">'+z(a.toString())+"</td>",a+=5;i+="</tr>"}n.html(i)},x=function(){if(l.date){var t=l.widget.find(".timepicker span[data-time-component]"),e=l.date.hours(),n=l.date.format("A");l.use24hours||(0===e?e=12:12!==e&&(e%=12),l.widget.find(".timepicker [data-action=togglePeriod]").text(n)),t.filter("[data-time-component=hours]").text(z(e)),t.filter("[data-time-component=minutes]").text(z(l.date.minutes())),t.filter("[data-time-component=seconds]").text(z(l.date.second()))}},k=function(n){n.stopPropagation(),n.preventDefault(),l.unset=!1;var i,a,r,s,o=t(n.target).closest("span, td, th"),d=e(l.date);if(1===o.length&&!o.is(".disabled"))switch(o[0].nodeName.toLowerCase()){case"th":switch(o[0].className){case"picker-switch":C(1);break;case"prev":case"next":r=B.modes[l.viewMode].navStep,"prev"===o[0].className&&(r=-1*r),l.viewDate.add(r,B.modes[l.viewMode].navFnc),v()}break;case"span":o.is(".month")?(i=o.parent().find("span").index(o),l.viewDate.month(i)):(a=parseInt(o.text(),10)||0,l.viewDate.year(a)),l.viewMode===l.minViewMode&&(l.date=e({y:l.viewDate.year(),M:l.viewDate.month(),d:l.viewDate.date(),h:l.date.hours(),m:l.date.minutes(),s:l.date.seconds()}),E(),p(d,n.type)),C(-1),v();break;case"td":o.is(".day")&&(s=parseInt(o.text(),10)||1,i=l.viewDate.month(),a=l.viewDate.year(),o.is(".old")?0===i?(i=11,a-=1):i-=1:o.is(".new")&&(11===i?(i=0,a+=1):i+=1),l.date=e({y:a,M:i,d:s,h:l.date.hours(),m:l.date.minutes(),s:l.date.seconds()}),l.viewDate=e({y:a,M:i,d:Math.min(28,s)}),v(),E(),p(d,n.type))}},L={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 t=l.date.hours();t>=12?t-=12:t+=12,l.date.hours(t)},showPicker:function(){l.widget.find(".timepicker > div:not(.timepicker-picker)").hide(),l.widget.find(".timepicker .timepicker-picker").show()},showHours:function(){l.widget.find(".timepicker .timepicker-picker").hide(),l.widget.find(".timepicker .timepicker-hours").show()},showMinutes:function(){l.widget.find(".timepicker .timepicker-picker").hide(),l.widget.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){l.widget.find(".timepicker .timepicker-picker").hide(),l.widget.find(".timepicker .timepicker-seconds").show()},selectHour:function(e){var n=parseInt(t(e.target).text(),10);l.use24hours||(l.date.hours()>=12?12!==n&&(n+=12):12===n&&(n=0)),l.date.hours(n),L.showPicker.call(l)},selectMinute:function(e){l.date.minutes(parseInt(t(e.target).text(),10)),L.showPicker.call(l)},selectSecond:function(e){l.date.seconds(parseInt(t(e.target).text(),10)),L.showPicker.call(l)}},D=function(n){var i=e(l.date),a=t(n.currentTarget).data("action"),r=L[a].apply(l,arguments);return T(n),l.date||(l.date=e({y:1970})),E(),x(),p(i,n.type),r},T=function(t){t.stopPropagation(),t.preventDefault()},S=function(t){27===t.keyCode&&l.hide()},Y=function(n){e.locale(l.options.language);var i=t(n.target),a=e(l.date),r=e(i.val(),l.format,l.options.useStrict);r.isValid()&&!O(r)&&W(r)?(g(),l.setValue(r),p(a,n.type),E()):(l.viewDate=a,l.unset=!0,p(a,n.type),m(r))},C=function(t){t&&(l.viewMode=Math.max(l.minViewMode,Math.min(2,l.viewMode+t))),l.widget.find(".datepicker > div").hide().filter(".datepicker-"+B.modes[l.viewMode].clsName).show()},A=function(){var e,n,i,a,r;l.widget.on("click",".datepicker *",t.proxy(k,this)),l.widget.on("click","[data-action]",t.proxy(D,this)),l.widget.on("mousedown",t.proxy(T,this)),l.element.on("keydown",t.proxy(S,this)),l.options.pickDate&&l.options.pickTime&&l.widget.on("click.togglePicker",".accordion-toggle",function(s){if(s.stopPropagation(),e=t(this),n=e.closest("ul"),i=n.find(".in"),a=n.find(".collapse:not(.in)"),i&&i.length){if(r=i.data("collapse"),r&&r.transitioning)return;i.collapse("hide"),a.collapse("show"),e.find("span").toggleClass(l.options.icons.time+" "+l.options.icons.date),l.component&&l.component.find("span").toggleClass(l.options.icons.time+" "+l.options.icons.date)}}),l.isInput?l.element.on({click:t.proxy(l.show,this),focus:t.proxy(l.show,this),change:t.proxy(Y,this),blur:t.proxy(l.hide,this)}):(l.element.on({change:t.proxy(Y,this)},"input"),l.component?(l.component.on("click",t.proxy(l.show,this)),l.component.on("mousedown",t.proxy(T,this))):l.element.on("click",t.proxy(l.show,this)))},H=function(){t(window).on("resize.datetimepicker"+l.id,t.proxy(f,this)),l.isInput||t(document).on("mousedown.datetimepicker"+l.id,t.proxy(l.hide,this))},j=function(){l.widget.off("click",".datepicker *",l.click),l.widget.off("click","[data-action]"),l.widget.off("mousedown",l.stopEvent),l.options.pickDate&&l.options.pickTime&&l.widget.off("click.togglePicker"),l.isInput?l.element.off({focus:l.show,change:Y,click:l.show,blur:l.hide}):(l.element.off({change:Y},"input"),l.component?(l.component.off("click",l.show),l.component.off("mousedown",l.stopEvent)):l.element.off("click",l.show))},P=function(){t(window).off("resize.datetimepicker"+l.id),l.isInput||t(document).off("mousedown.datetimepicker"+l.id)},I=function(){if(l.element){var e,n=l.element.parents(),i=!1;for(e=0;e<n.length;e++)if("fixed"===t(n[e]).css("position")){i=!0;break}return i}return!1},E=function(){e.locale(l.options.language);var t="";l.unset||(t=e(l.date).format(l.format)),h().val(t),l.element.data("date",t),l.options.pickTime||l.hide()},F=function(t,n,i){e.locale(l.options.language);var a;return"add"===t?(a=e(l.date),23===a.hours()&&a.add(i,n),a.add(i,n)):a=e(l.date).subtract(i,n),O(e(a.subtract(i,n)))||O(a)?void m(a.format(l.format)):("add"===t?l.date.add(i,n):l.date.subtract(i,n),void(l.unset=!1))},O=function(t,n){e.locale(l.options.language);var i=e(l.options.maxDate,l.format,l.options.useStrict),a=e(l.options.minDate,l.format,l.options.useStrict);return n&&(i=i.endOf(n),a=a.startOf(n)),t.isAfter(i)||t.isBefore(a)?!0:l.options.disabledDates===!1?!1:l.options.disabledDates[t.format("YYYY-MM-DD")]===!0},W=function(t){return e.locale(l.options.language),l.options.enabledDates===!1?!0:l.options.enabledDates[t.format("YYYY-MM-DD")]===!0},R=function(t){var n,i={},a=0;for(n=0;n<t.length;n++)r=e.isMoment(t[n])||t[n]instanceof Date?e(t[n]):e(t[n],l.format,l.options.useStrict),r.isValid()&&(i[r.format("YYYY-MM-DD")]=!0,a++);return a>0?i:!1},z=function(t){return t=t.toString(),t.length>=2?t:"0"+t},N=function(){var t='<thead><tr><th class="prev">‹</th><th colspan="'+(l.options.calendarWeeks?"6":"5")+'" class="picker-switch"></th><th class="next">›</th></tr></thead>',e='<tbody><tr><td colspan="'+(l.options.calendarWeeks?"8":"7")+'"></td></tr></tbody>',n='<div class="datepicker-days"><table class="table-condensed">'+t+'<tbody></tbody></table></div><div class="datepicker-months"><table class="table-condensed">'+t+e+'</table></div><div class="datepicker-years"><table class="table-condensed">'+t+e+"</table></div>",i="";return l.options.pickDate&&l.options.pickTime?(i='<div class="bootstrap-datetimepicker-widget'+(l.options.sideBySide?" timepicker-sbs":"")+(l.use24hours?" usetwentyfour":"")+' dropdown-menu" style="z-index:9999 !important;">',i+=l.options.sideBySide?'<div class="row"><div class="col-sm-6 datepicker">'+n+'</div><div class="col-sm-6 timepicker">'+V.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">'+V.getTemplate()+"</div></li></ul>",
|
||
i+="</div>"):l.options.pickTime?'<div class="bootstrap-datetimepicker-widget dropdown-menu"><div class="timepicker">'+V.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}]},V={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>'};V.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>"+V.hourTemplate+'</td> <td class="separator">:</td><td>'+(l.options.useMinutes?V.minuteTemplate:'<span class="timepicker-minute">00</span>')+"</td> "+(l.options.useSeconds?'<td class="separator">:</td><td>'+V.secondTemplate+"</td>":"")+(l.use24hours?"":'<td class="separator"></td><td><button type="button" class="btn btn-primary" data-action="togglePeriod"></button></td>')+'</tr><tr><td><a href="#" class="btn" data-action="decrementHours"><span class="'+l.options.icons.down+'"></span></a></td><td class="separator"></td><td>'+(l.options.useMinutes?'<a href="#" class="btn" data-action="decrementMinutes"><span class="'+l.options.icons.down+'"></span></a>':"")+"</td>"+(l.options.useSeconds?'<td class="separator"></td><td><a href="#" class="btn" data-action="decrementSeconds"><span class="'+l.options.icons.down+'"></span></a></td>':"")+(l.use24hours?"":'<td class="separator"></td>')+'</tr></table></div><div class="timepicker-hours" data-action="selectHour"><table class="table-condensed"></table></div><div class="timepicker-minutes" data-action="selectMinute"><table class="table-condensed"></table></div>'+(l.options.useSeconds?'<div class="timepicker-seconds" data-action="selectSecond"><table class="table-condensed"></table></div>':"")},l.destroy=function(){j(),P(),l.widget.remove(),l.element.removeData("DateTimePicker"),l.component&&l.component.removeData("DateTimePicker")},l.show=function(t){if(!h().prop("disabled")){if(l.options.useCurrent&&""===h().val()){if(1!==l.options.minuteStepping){var n=e(),i=l.options.minuteStepping;n.minutes(Math.round(n.minutes()/i)*i%60).seconds(0),l.setValue(n.format(l.format))}else l.setValue(e().format(l.format));p("",t.type)}t&&"click"===t.type&&l.isInput&&l.widget.hasClass("picker-open")||(l.widget.hasClass("picker-open")?(l.widget.hide(),l.widget.removeClass("picker-open")):(l.widget.show(),l.widget.addClass("picker-open")),l.height=l.component?l.component.outerHeight():l.element.outerHeight(),f(),l.element.trigger({type:"dp.show",date:e(l.date)}),H(),t&&T(t))}},l.disable=function(){var t=h();t.prop("disabled")||(t.prop("disabled",!0),j())},l.enable=function(){var t=h();t.prop("disabled")&&(t.prop("disabled",!1),A())},l.hide=function(){var t,n,i=l.widget.find(".collapse");for(t=0;t<i.length;t++)if(n=i.eq(t).data("collapse"),n&&n.transitioning)return;l.widget.hide(),l.widget.removeClass("picker-open"),l.viewMode=l.startViewMode,C(),l.element.trigger({type:"dp.hide",date:e(l.date)}),P()},l.setValue=function(t){e.locale(l.options.language),t?l.unset=!1:(l.unset=!0,E()),t=e.isMoment(t)?t.locale(l.options.language):t instanceof Date?e(t):e(t,l.format,l.options.useStrict),t.isValid()?(l.date=t,E(),l.viewDate=e({y:l.date.year(),M:l.date.month()}),v(),x()):m(t)},l.getDate=function(){return l.unset?null:e(l.date)},l.setDate=function(t){var n=e(l.date);t?l.setValue(t):l.setValue(null),p(n,"function")},l.setDisabledDates=function(t){l.options.disabledDates=R(t),l.viewDate&&g()},l.setEnabledDates=function(t){l.options.enabledDates=R(t),l.viewDate&&g()},l.setMaxDate=function(t){void 0!==t&&(e.isMoment(t)||t instanceof Date?l.options.maxDate=e(t):l.options.maxDate=e(t,l.format,l.options.useStrict),l.viewDate&&g())},l.setMinDate=function(t){void 0!==t&&(e.isMoment(t)||t instanceof Date?l.options.minDate=e(t):l.options.minDate=e(t,l.format,l.options.useStrict),l.viewDate&&g())},u()};t.fn.datetimepicker=function(e){return this.each(function(){var n=t(this),a=n.data("DateTimePicker");a||n.data("DateTimePicker",new i(this,e))})},t.fn.datetimepicker.defaults={format:!1,pickDate:!0,pickTime:!0,useMinutes:!0,useSeconds:!1,useCurrent:!0,calendarWeeks:!1,minuteStepping:1,minDate:e({y:1900}),maxDate:e().add(100,"y"),showToday:!0,collapse:!0,language:e.locale(),defaultDate:"",disabledDates:!1,enabledDates:!1,icons:{},useStrict:!1,direction:"auto",sideBySide:!1,daysOfWeekDisabled:[],widgetParent:!1}}),function(){function t(t,e){return t.set(e[0],e[1]),t}function e(t,e){return t.add(e),t}function n(t,e,n){var i=n.length;switch(i){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function i(t,e,n,i){for(var a=-1,r=t.length;++a<r;){var s=t[a];e(i,s,n(s),t)}return i}function a(t,e){for(var n=-1,i=t.length,a=-1,r=e.length,s=Array(i+r);++n<i;)s[n]=t[n];for(;++a<r;)s[n++]=e[a];return s}function r(t,e){for(var n=-1,i=t.length;++n<i&&e(t[n],n,t)!==!1;);return t}function s(t,e){for(var n=t.length;n--&&e(t[n],n,t)!==!1;);return t}function o(t,e){for(var n=-1,i=t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function l(t,e){for(var n=-1,i=t.length,a=0,r=[];++n<i;){var s=t[n];e(s,n,t)&&(r[a++]=s)}return r}function d(t,e){return!!t.length&&y(t,e,0)>-1}function u(t,e,n){for(var i=-1,a=t.length;++i<a;)if(n(e,t[i]))return!0;return!1}function h(t,e){for(var n=-1,i=t.length,a=Array(i);++n<i;)a[n]=e(t[n],n,t);return a}function c(t,e){for(var n=-1,i=e.length,a=t.length;++n<i;)t[a+n]=e[n];return t}function f(t,e,n,i){var a=-1,r=t.length;for(i&&r&&(n=t[++a]);++a<r;)n=e(n,t[a],a,t);return n}function p(t,e,n,i){var a=t.length;for(i&&a&&(n=t[--a]);a--;)n=e(n,t[a],a,t);return n}function m(t,e){for(var n=-1,i=t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}function g(t,e,n,i){var a;return n(t,function(t,n,r){return e(t,n,r)?(a=i?n:t,!1):void 0}),a}function _(t,e,n){for(var i=t.length,a=n?i:-1;n?a--:++a<i;)if(e(t[a],a,t))return a;return-1}function y(t,e,n){if(e!==e)return I(t,n);for(var i=n-1,a=t.length;++i<a;)if(t[i]===e)return i;return-1}function v(t,e,n,i){for(var a=n-1,r=t.length;++a<r;)if(i(t[a],e))return a;return-1}function b(t,e){var n=t?t.length:0;return n?x(t,e)/n:vt}function M(t,e,n,i,a){return a(t,function(t,a,r){n=i?(i=!1,t):e(n,t,a,r)}),n}function w(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function x(t,e){for(var n,i=-1,a=t.length;++i<a;){var r=e(t[i]);r!==$&&(n=n===$?r:n+r)}return n}function k(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function L(t,e){return h(e,function(e){return[e,t[e]]})}function D(t){return function(e){return t(e)}}function T(t,e){return h(e,function(e){return t[e]})}function S(t,e){for(var n=-1,i=t.length;++n<i&&y(e,t[n],0)>-1;);return n}function Y(t,e){for(var n=t.length;n--&&y(e,t[n],0)>-1;);return n}function C(t){return t&&t.Object===Object?t:null}function A(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&i++;return i}function H(t){return wn[t]}function j(t){return xn[t]}function P(t){return"\\"+Dn[t]}function I(t,e,n){for(var i=t.length,a=e+(n?0:-1);n?a--:++a<i;){var r=t[a];if(r!==r)return a}return-1}function E(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function F(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function O(t){var e=-1,n=Array(t.size);return t.forEach(function(t,i){n[++e]=[i,t]}),n}function W(t,e){for(var n=-1,i=t.length,a=0,r=[];++n<i;){var s=t[n];s!==e&&s!==X||(t[n]=X,r[a++]=n)}return r}function R(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function z(t){if(!t||!gn.test(t))return t.length;for(var e=pn.lastIndex=0;pn.test(t);)e++;return e}function N(t){return t.match(pn)}function B(t){return kn[t]}function V(C){function Se(t){if(lo(t)&&!th(t)&&!(t instanceof Ae)){if(t instanceof Ce)return t;if(pd.call(t,"__wrapped__"))return er(t)}return new Ce(t)}function Ye(){}function Ce(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=$}function Ae(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=bt,this.__views__=[]}function He(){var t=new Ae(this.__wrapped__);return t.__actions__=Xi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Xi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Xi(this.__views__),t}function je(){if(this.__filtered__){var t=new Ae(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function Pe(){var t=this.__wrapped__.value(),e=this.__dir__,n=th(t),i=0>e,a=n?t.length:0,r=ja(0,a,this.__views__),s=r.start,o=r.end,l=o-s,d=i?o:s-1,u=this.__iteratees__,h=u.length,c=0,f=Wd(l,this.__takeCount__);if(!n||U>a||a==l&&f==l)return Ai(t,this.__actions__);var p=[];t:for(;l--&&f>c;){d+=e;for(var m=-1,g=t[d];++m<h;){var _=u[m],y=_.iteratee,v=_.type,b=y(g);if(v==pt)g=b;else if(!b){if(v==ft)continue t;break t}}p[c++]=g}return p}function Ie(){}function Ee(t,e){return Oe(t,e)&&delete t[e]}function Fe(t,e){if(Xd){var n=t[e];return n===G?$:n}return pd.call(t,e)?t[e]:$}function Oe(t,e){return Xd?t[e]!==$:pd.call(t,e)}function We(t,e,n){t[e]=Xd&&n===$?G:n}function Re(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function ze(){this.__data__={hash:new Ie,map:qd?new qd:[],string:new Ie}}function Ne(t){var e=this.__data__;return Va(t)?Ee("string"==typeof t?e.string:e.hash,t):qd?e.map["delete"](t):en(e.map,t)}function Be(t){var e=this.__data__;return Va(t)?Fe("string"==typeof t?e.string:e.hash,t):qd?e.map.get(t):nn(e.map,t)}function Ve(t){var e=this.__data__;return Va(t)?Oe("string"==typeof t?e.string:e.hash,t):qd?e.map.has(t):an(e.map,t)}function $e(t,e){var n=this.__data__;return Va(t)?We("string"==typeof t?n.string:n.hash,t,e):qd?n.map.set(t,e):sn(n.map,t,e),this}function qe(t){var e=-1,n=t?t.length:0;for(this.__data__=new Re;++e<n;)this.push(t[e])}function Ue(t,e){var n=t.__data__;if(Va(e)){var i=n.__data__,a="string"==typeof e?i.string:i.hash;return a[e]===G}return n.has(e)}function Je(t){var e=this.__data__;if(Va(t)){var n=e.__data__,i="string"==typeof t?n.string:n.hash;i[t]=G}else e.set(t,G)}function Ge(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Xe(){this.__data__={array:[],map:null}}function Qe(t){var e=this.__data__,n=e.array;return n?en(n,t):e.map["delete"](t)}function Ze(t){var e=this.__data__,n=e.array;return n?nn(n,t):e.map.get(t)}function Ke(t){var e=this.__data__,n=e.array;return n?an(n,t):e.map.has(t)}function tn(t,e){var n=this.__data__,i=n.array;i&&(i.length<U-1?sn(i,t,e):(n.array=null,n.map=new Re(i)));var a=n.map;return a&&a.set(t,e),this}function en(t,e){var n=rn(t,e);if(0>n)return!1;var i=t.length-1;return n==i?t.pop():Ad.call(t,n,1),!0}function nn(t,e){var n=rn(t,e);return 0>n?$:t[n][1]}function an(t,e){return rn(t,e)>-1}function rn(t,e){for(var n=t.length;n--;)if($s(t[n][0],e))return n;return-1}function sn(t,e,n){var i=rn(t,e);0>i?t.push([e,n]):t[i][1]=n}function on(t,e,n,i){return t===$||$s(t,hd[n])&&!pd.call(i,n)?e:t}function ln(t,e,n){(n===$||$s(t[e],n))&&("number"!=typeof e||n!==$||e in t)||(t[e]=n)}function dn(t,e,n){var i=t[e];pd.call(t,e)&&$s(i,n)&&(n!==$||e in t)||(t[e]=n)}function un(t,e,n,i){return lu(t,function(t,a,r){e(i,t,n(t),r)}),i}function hn(t,e){return t&&Qi(e,Uo(e),t)}function pn(t,e){for(var n=-1,i=null==t,a=e.length,r=Array(a);++n<a;)r[n]=i?$:Vo(t,e[n]);return r}function wn(t,e,n){return t===t&&(n!==$&&(t=n>=t?t:n),e!==$&&(t=t>=e?t:e)),t}function xn(t,e,n,i,a,s,o){var l;if(i&&(l=s?i(t,a,s,o):i(t)),l!==$)return l;if(!oo(t))return t;var d=th(t);if(d){if(l=Ia(t),!e)return Xi(t,l)}else{var u=Ha(t),h=u==St||u==Yt;if(eh(t))return Oi(t,e);if(u==Ht||u==xt||h&&!s){if(E(t))return s?t:{};if(l=Ea(h?{}:t),!e)return Zi(t,hn(l,t))}else{if(!Mn[u])return s?t:{};l=Fa(t,u,xn,e)}}o||(o=new Ge);var c=o.get(t);if(c)return c;if(o.set(t,l),!d)var f=n?xa(t):Uo(t);return r(f||t,function(a,r){f&&(r=a,a=t[r]),dn(l,r,xn(a,e,n,i,r,t,o))}),l}function kn(t){var e=Uo(t),n=e.length;return function(i){if(null==i)return!n;for(var a=n;a--;){var r=e[a],s=t[r],o=i[r];if(o===$&&!(r in Object(i))||!s(o))return!1}return!0}}function Ln(t){return oo(t)?Sd(t):{}}function Dn(t,e,n){if("function"!=typeof t)throw new dd(J);return Cd(function(){t.apply($,n)},e)}function Yn(t,e,n,i){var a=-1,r=d,s=!0,o=t.length,l=[],c=e.length;if(!o)return l;n&&(e=h(e,D(n))),i?(r=u,s=!1):e.length>=U&&(r=Ue,s=!1,e=new qe(e));t:for(;++a<o;){var f=t[a],p=n?n(f):f;if(f=i||0!==f?f:0,s&&p===p){for(var m=c;m--;)if(e[m]===p)continue t;l.push(f)}else r(e,p,i)||l.push(f)}return l}function Cn(t,e){var n=!0;return lu(t,function(t,i,a){return n=!!e(t,i,a)}),n}function Hn(t,e,n){for(var i=-1,a=t.length;++i<a;){var r=t[i],s=e(r);if(null!=s&&(o===$?s===s&&!xo(s):n(s,o)))var o=s,l=r}return l}function jn(t,e,n,i){var a=t.length;for(n=Yo(n),0>n&&(n=-n>a?0:a+n),i=i===$||i>a?a:Yo(i),0>i&&(i+=a),i=n>i?0:Co(i);i>n;)t[n++]=e;return t}function Pn(t,e){var n=[];return lu(t,function(t,i,a){e(t,i,a)&&n.push(t)}),n}function In(t,e,n,i,a){var r=-1,s=t.length;for(n||(n=Wa),a||(a=[]);++r<s;){var o=t[r];e>0&&n(o)?e>1?In(o,e-1,n,i,a):c(a,o):i||(a[a.length]=o)}return a}function On(t,e){return t&&uu(t,e,Uo)}function Wn(t,e){return t&&hu(t,e,Uo)}function Rn(t,e){return l(e,function(e){return ao(t[e])})}function zn(t,e){e=Ba(e,t)?[e]:Ei(e);for(var n=0,i=e.length;null!=t&&i>n;)t=t[Ka(e[n++])];return n&&n==i?t:$}function Nn(t,e,n){var i=e(t);return th(t)?i:c(i,n(t))}function Bn(t,e){return t>e}function Vn(t,e){return pd.call(t,e)||"object"==typeof t&&e in t&&null===Ca(t)}function $n(t,e){return e in Object(t)}function qn(t,e,n){return t>=Wd(e,n)&&t<Od(e,n)}function Un(t,e,n){for(var i=n?u:d,a=t[0].length,r=t.length,s=r,o=Array(r),l=1/0,c=[];s--;){var f=t[s];s&&e&&(f=h(f,D(e))),l=Wd(f.length,l),o[s]=!n&&(e||a>=120&&f.length>=120)?new qe(s&&f):$}f=t[0];var p=-1,m=o[0];t:for(;++p<a&&c.length<l;){var g=f[p],_=e?e(g):g;if(g=n||0!==g?g:0,!(m?Ue(m,_):i(c,_,n))){for(s=r;--s;){var y=o[s];if(!(y?Ue(y,_):i(t[s],_,n)))continue t}m&&m.push(_),c.push(g)}}return c}function Jn(t,e,n,i){return On(t,function(t,a,r){e(i,n(t),a,r)}),i}function Gn(t,e,i){Ba(e,t)||(e=Ei(e),t=Qa(t,e),e=br(e));var a=null==t?t:t[Ka(e)];return null==a?$:n(a,t,i)}function Xn(t,e,n,i,a){return t===e?!0:null==t||null==e||!oo(t)&&!lo(e)?t!==t&&e!==e:Qn(t,e,Xn,n,i,a)}function Qn(t,e,n,i,a,r){var s=th(t),o=th(e),l=kt,d=kt;s||(l=Ha(t),l=l==xt?Ht:l),o||(d=Ha(e),d=d==xt?Ht:d);var u=l==Ht&&!E(t),h=d==Ht&&!E(e),c=l==d;if(c&&!u)return r||(r=new Ge),s||ko(t)?ba(t,e,n,i,a,r):Ma(t,e,l,n,i,a,r);if(!(a<)){var f=u&&pd.call(t,"__wrapped__"),p=h&&pd.call(e,"__wrapped__");if(f||p){var m=f?t.value():t,g=p?e.value():e;return r||(r=new Ge),n(m,g,i,a,r)}}return c?(r||(r=new Ge),wa(t,e,n,i,a,r)):!1}function Zn(t,e,n,i){var a=n.length,r=a,s=!i;if(null==t)return!r;for(t=Object(t);a--;){var o=n[a];if(s&&o[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1}for(;++a<r;){o=n[a];var l=o[0],d=t[l],u=o[1];if(s&&o[2]){if(d===$&&!(l in t))return!1}else{var h=new Ge;if(i)var c=i(d,u,l,t,e,h);if(!(c===$?Xn(u,d,i,ot|lt,h):c))return!1}}return!0}function Kn(t){return"function"==typeof t?t:null==t?Ol:"object"==typeof t?th(t)?ri(t[0],t[1]):ai(t):ql(t)}function ti(t){return Fd(Object(t))}function ei(t){t=null==t?t:Object(t);var e=[];for(var n in t)e.push(n);return e}function ni(t,e){return e>t}function ii(t,e){var n=-1,i=Js(t)?Array(t.length):[];return lu(t,function(t,a,r){i[++n]=e(t,a,r)}),i}function ai(t){var e=Ta(t);return 1==e.length&&e[0][2]?Ja(e[0][0],e[0][1]):function(n){return n===t||Zn(n,t,e)}}function ri(t,e){return Ba(t)&&Ua(e)?Ja(Ka(t),e):function(n){var i=Vo(n,t);return i===$&&i===e?qo(n,t):Xn(e,i,$,ot|lt)}}function si(t,e,n,i,a){if(t!==e){if(!th(e)&&!ko(e))var s=Jo(e);r(s||e,function(r,o){if(s&&(o=r,r=e[o]),oo(r))a||(a=new Ge),oi(t,e,o,n,si,i,a);else{var l=i?i(t[o],r,o+"",t,e,a):$;l===$&&(l=r),ln(t,o,l)}})}}function oi(t,e,n,i,a,r,s){var o=t[n],l=e[n],d=s.get(l);if(d)return void ln(t,n,d);var u=r?r(o,l,n+"",t,e,s):$,h=u===$;h&&(u=l,th(l)||ko(l)?th(o)?u=o:Gs(o)?u=Xi(o):(h=!1,u=xn(l,!0)):yo(l)||qs(l)?qs(o)?u=Ho(o):!oo(o)||i&&ao(o)?(h=!1,u=xn(l,!0)):u=o:h=!1),s.set(l,u),h&&a(u,l,i,r,s),s["delete"](l),ln(t,n,u)}function li(t,e){var n=t.length;if(n)return e+=0>e?n:0,za(e,n)?t[e]:$}function di(t,e,n){var i=-1;e=h(e.length?e:[Ol],D(Da()));var a=ii(t,function(t,n,a){var r=h(e,function(e){return e(t)});return{criteria:r,index:++i,value:t}});return w(a,function(t,e){return Ui(t,e,n)})}function ui(t,e){return t=Object(t),f(e,function(e,n){return n in t&&(e[n]=t[n]),e},{})}function hi(t,e){for(var n=-1,i=ka(t),a=i.length,r={};++n<a;){var s=i[n],o=t[s];e(o,s)&&(r[s]=o)}return r}function ci(t){return function(e){return null==e?$:e[t]}}function fi(t){return function(e){return zn(e,t)}}function pi(t,e,n,i){var a=i?v:y,r=-1,s=e.length,o=t;for(n&&(o=h(t,D(n)));++r<s;)for(var l=0,d=e[r],u=n?n(d):d;(l=a(o,u,l,i))>-1;)o!==t&&Ad.call(o,l,1),Ad.call(t,l,1);return t}function mi(t,e){for(var n=t?e.length:0,i=n-1;n--;){var a=e[n];if(n==i||a!==r){var r=a;if(za(a))Ad.call(t,a,1);else if(Ba(a,t))delete t[Ka(a)];else{var s=Ei(a),o=Qa(t,s);null!=o&&delete o[Ka(br(s))]}}}return t}function gi(t,e){return t+jd(zd()*(e-t+1))}function _i(t,e,n,i){for(var a=-1,r=Od(Hd((e-t)/(n||1)),0),s=Array(r);r--;)s[i?r:++a]=t,t+=n;return s}function yi(t,e){var n="";if(!t||1>e||e>_t)return n;do e%2&&(n+=t),e=jd(e/2),e&&(t+=t);while(e);return n}function vi(t,e,n,i){e=Ba(e,t)?[e]:Ei(e);for(var a=-1,r=e.length,s=r-1,o=t;null!=o&&++a<r;){var l=Ka(e[a]);if(oo(o)){var d=n;if(a!=s){var u=o[l];d=i?i(u,l,o):$,d===$&&(d=null==u?za(e[a+1])?[]:{}:u)}dn(o,l,d)}o=o[l]}return t}function bi(t,e,n){var i=-1,a=t.length;0>e&&(e=-e>a?0:a+e),n=n>a?a:n,0>n&&(n+=a),a=e>n?0:n-e>>>0,e>>>=0;for(var r=Array(a);++i<a;)r[i]=t[i+e];return r}function Mi(t,e){var n;return lu(t,function(t,i,a){return n=e(t,i,a),!n}),!!n}function wi(t,e,n){var i=0,a=t?t.length:i;if("number"==typeof e&&e===e&&wt>=a){for(;a>i;){var r=i+a>>>1,s=t[r];null!==s&&!xo(s)&&(n?e>=s:e>s)?i=r+1:a=r}return a}return xi(t,e,Ol,n)}function xi(t,e,n,i){e=n(e);for(var a=0,r=t?t.length:0,s=e!==e,o=null===e,l=xo(e),d=e===$;r>a;){var u=jd((a+r)/2),h=n(t[u]),c=h!==$,f=null===h,p=h===h,m=xo(h);if(s)var g=i||p;else g=d?p&&(i||c):o?p&&c&&(i||!f):l?p&&c&&!f&&(i||!m):f||m?!1:i?e>=h:e>h;g?a=u+1:r=u}return Wd(r,Mt)}function ki(t,e){for(var n=-1,i=t.length,a=0,r=[];++n<i;){var s=t[n],o=e?e(s):s;if(!n||!$s(o,l)){var l=o;r[a++]=0===s?0:s}}return r}function Li(t){return"number"==typeof t?t:xo(t)?vt:+t}function Di(t){if("string"==typeof t)return t;if(xo(t))return ou?ou.call(t):"";var e=t+"";return"0"==e&&1/t==-gt?"-0":e}function Ti(t,e,n){var i=-1,a=d,r=t.length,s=!0,o=[],l=o;if(n)s=!1,a=u;else if(r>=U){var h=e?null:fu(t);if(h)return R(h);s=!1,a=Ue,l=new qe}else l=e?[]:o;t:for(;++i<r;){var c=t[i],f=e?e(c):c;if(c=n||0!==c?c:0,s&&f===f){for(var p=l.length;p--;)if(l[p]===f)continue t;e&&l.push(f),o.push(c)}else a(l,f,n)||(l!==o&&l.push(f),o.push(c))}return o}function Si(t,e){e=Ba(e,t)?[e]:Ei(e),t=Qa(t,e);var n=Ka(br(e));return!(null!=t&&Vn(t,n))||delete t[n]}function Yi(t,e,n,i){return vi(t,e,n(zn(t,e)),i)}function Ci(t,e,n,i){for(var a=t.length,r=i?a:-1;(i?r--:++r<a)&&e(t[r],r,t););return n?bi(t,i?0:r,i?r+1:a):bi(t,i?r+1:0,i?a:r)}function Ai(t,e){var n=t;return n instanceof Ae&&(n=n.value()),f(e,function(t,e){return e.func.apply(e.thisArg,c([t],e.args))},n)}function Hi(t,e,n){for(var i=-1,a=t.length;++i<a;)var r=r?c(Yn(r,t[i],e,n),Yn(t[i],r,e,n)):t[i];return r&&r.length?Ti(r,e,n):[]}function ji(t,e,n){for(var i=-1,a=t.length,r=e.length,s={};++i<a;){var o=r>i?e[i]:$;n(s,t[i],o)}return s}function Pi(t){return Gs(t)?t:[]}function Ii(t){return"function"==typeof t?t:Ol}function Ei(t){return th(t)?t:yu(t)}function Fi(t,e,n){var i=t.length;return n=n===$?i:n,!e&&n>=i?t:bi(t,e,n)}function Oi(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}function Wi(t){var e=new t.constructor(t.byteLength);return new xd(e).set(new xd(t)),e}function Ri(t,e){var n=e?Wi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function zi(e,n,i){var a=n?i(O(e),!0):O(e);return f(a,t,new e.constructor)}function Ni(t){var e=new t.constructor(t.source,ye.exec(t));return e.lastIndex=t.lastIndex,e}function Bi(t,n,i){var a=n?i(R(t),!0):R(t);return f(a,e,new t.constructor)}function Vi(t){return su?Object(su.call(t)):{}}function $i(t,e){var n=e?Wi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function qi(t,e){if(t!==e){var n=t!==$,i=null===t,a=t===t,r=xo(t),s=e!==$,o=null===e,l=e===e,d=xo(e);if(!o&&!d&&!r&&t>e||r&&s&&l&&!o&&!d||i&&s&&l||!n&&l||!a)return 1;if(!i&&!r&&!d&&e>t||d&&n&&a&&!i&&!r||o&&n&&a||!s&&a||!l)return-1}return 0}function Ui(t,e,n){for(var i=-1,a=t.criteria,r=e.criteria,s=a.length,o=n.length;++i<s;){var l=qi(a[i],r[i]);if(l){if(i>=o)return l;var d=n[i];return l*("desc"==d?-1:1)}}return t.index-e.index}function Ji(t,e,n,i){for(var a=-1,r=t.length,s=n.length,o=-1,l=e.length,d=Od(r-s,0),u=Array(l+d),h=!i;++o<l;)u[o]=e[o];for(;++a<s;)(h||r>a)&&(u[n[a]]=t[a]);for(;d--;)u[o++]=t[a++];return u}function Gi(t,e,n,i){for(var a=-1,r=t.length,s=-1,o=n.length,l=-1,d=e.length,u=Od(r-o,0),h=Array(u+d),c=!i;++a<u;)h[a]=t[a];for(var f=a;++l<d;)h[f+l]=e[l];for(;++s<o;)(c||r>a)&&(h[f+n[s]]=t[a++]);return h}function Xi(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e}function Qi(t,e,n,i){n||(n={});for(var a=-1,r=e.length;++a<r;){var s=e[a],o=i?i(n[s],t[s],s,n,t):t[s];dn(n,s,o)}return n}function Zi(t,e){return Qi(t,Aa(t),e)}function Ki(t,e){return function(n,a){var r=th(n)?i:un,s=e?e():{};return r(n,t,Da(a),s)}}function ta(t){return Is(function(e,n){var i=-1,a=n.length,r=a>1?n[a-1]:$,s=a>2?n[2]:$;for(r="function"==typeof r?(a--,r):$,s&&Na(n[0],n[1],s)&&(r=3>a?$:r,a=1),e=Object(e);++i<a;){var o=n[i];o&&t(e,o,i,r)}return e})}function ea(t,e){return function(n,i){if(null==n)return n;if(!Js(n))return t(n,i);for(var a=n.length,r=e?a:-1,s=Object(n);(e?r--:++r<a)&&i(s[r],r,s)!==!1;);return n}}function na(t){return function(e,n,i){for(var a=-1,r=Object(e),s=i(e),o=s.length;o--;){var l=s[t?o:++a];if(n(r[l],l,r)===!1)break}return e}}function ia(t,e,n){function i(){var e=this&&this!==En&&this instanceof i?r:t;return e.apply(a?n:this,arguments)}var a=e&Q,r=sa(t);return i}function aa(t){return function(e){e=Po(e);var n=gn.test(e)?N(e):$,i=n?n[0]:e.charAt(0),a=n?Fi(n,1).join(""):e.slice(1);return i[t]()+a}}function ra(t){return function(e){return f(Pl(pl(e).replace(cn,"")),t,"")}}function sa(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Ln(t.prototype),i=t.apply(n,e);return oo(i)?i:n}}function oa(t,e,i){function a(){for(var s=arguments.length,o=Array(s),l=s,d=Ya(a);l--;)o[l]=arguments[l];var u=3>s&&o[0]!==d&&o[s-1]!==d?[]:W(o,d);if(s-=u.length,i>s)return _a(t,e,da,a.placeholder,$,o,u,$,$,i-s);var h=this&&this!==En&&this instanceof a?r:t;return n(h,this,o)}var r=sa(t);return a}function la(t){return Is(function(e){e=In(e,1);var n=e.length,i=n,a=Ce.prototype.thru;for(t&&e.reverse();i--;){var r=e[i];if("function"!=typeof r)throw new dd(J);if(a&&!s&&"wrapper"==La(r))var s=new Ce([],!0)}for(i=s?i:n;++i<n;){r=e[i];var o=La(r),l="wrapper"==o?pu(r):$;s=l&&$a(l[0])&&l[1]==(at|tt|nt|rt)&&!l[4].length&&1==l[9]?s[La(l[0])].apply(s,l[3]):1==r.length&&$a(r)?s[o]():s.thru(r)}return function(){var t=arguments,i=t[0];if(s&&1==t.length&&th(i)&&i.length>=U)return s.plant(i).value();for(var a=0,r=n?e[a].apply(this,t):i;++a<n;)r=e[a].call(this,r);return r}})}function da(t,e,n,i,a,r,s,o,l,d){function u(){for(var _=arguments.length,y=_,v=Array(_);y--;)v[y]=arguments[y];if(p)var b=Ya(u),M=A(v,b);if(i&&(v=Ji(v,i,a,p)),r&&(v=Gi(v,r,s,p)),_-=M,p&&d>_){var w=W(v,b);return _a(t,e,da,u.placeholder,n,v,w,o,l,d-_)}var x=c?n:this,k=f?x[t]:t;return _=v.length,o?v=Za(v,o):m&&_>1&&v.reverse(),h&&_>l&&(v.length=l),this&&this!==En&&this instanceof u&&(k=g||sa(k)),k.apply(x,v)}var h=e&at,c=e&Q,f=e&Z,p=e&(tt|et),m=e&st,g=f?$:sa(t);return u}function ua(t,e){return function(n,i){return Jn(n,t,e(i),{})}}function ha(t){return function(e,n){var i;if(e===$&&n===$)return 0;if(e!==$&&(i=e),n!==$){if(i===$)return n;"string"==typeof e||"string"==typeof n?(e=Di(e),n=Di(n)):(e=Li(e),n=Li(n)),i=t(e,n)}return i}}function ca(t){return Is(function(e){return e=1==e.length&&th(e[0])?h(e[0],D(Da())):h(In(e,1,Ra),D(Da())),Is(function(i){var a=this;return t(e,function(t){return n(t,a,i)})})})}function fa(t,e){e=e===$?" ":Di(e);var n=e.length;if(2>n)return n?yi(e,t):e;var i=yi(e,Hd(t/z(e)));return gn.test(e)?Fi(N(i),0,t).join(""):i.slice(0,t)}function pa(t,e,i,a){function r(){for(var e=-1,l=arguments.length,d=-1,u=a.length,h=Array(u+l),c=this&&this!==En&&this instanceof r?o:t;++d<u;)h[d]=a[d];for(;l--;)h[d++]=arguments[++e];return n(c,s?i:this,h)}var s=e&Q,o=sa(t);return r}function ma(t){return function(e,n,i){return i&&"number"!=typeof i&&Na(e,n,i)&&(n=i=$),e=Ao(e),e=e===e?e:0,n===$?(n=e,e=0):n=Ao(n)||0,i=i===$?n>e?1:-1:Ao(i)||0,_i(e,n,i,t)}}function ga(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Ao(e),n=Ao(n)),t(e,n)}}function _a(t,e,n,i,a,r,s,o,l,d){var u=e&tt,h=u?s:$,c=u?$:s,f=u?r:$,p=u?$:r;e|=u?nt:it,e&=~(u?it:nt),e&K||(e&=~(Q|Z));var m=[t,e,a,f,h,p,c,o,l,d],g=n.apply($,m);return $a(t)&&_u(g,m),g.placeholder=i,g}function ya(t){var e=od[t];return function(t,n){if(t=Ao(t),n=Yo(n)){var i=(Po(t)+"e").split("e"),a=e(i[0]+"e"+(+i[1]+n));return i=(Po(a)+"e").split("e"),+(i[0]+"e"+(+i[1]-n))}return e(t)}}function va(t,e,n,i,a,r,s,o){var l=e&Z;if(!l&&"function"!=typeof t)throw new dd(J);var d=i?i.length:0;if(d||(e&=~(nt|it),i=a=$),s=s===$?s:Od(Yo(s),0),o=o===$?o:Yo(o),d-=a?a.length:0,e&it){var u=i,h=a;i=a=$}var c=l?$:pu(t),f=[t,e,n,i,a,u,h,r,s,o];if(c&&Ga(f,c),t=f[0],e=f[1],n=f[2],i=f[3],a=f[4],o=f[9]=null==f[9]?l?0:t.length:Od(f[9]-d,0),!o&&e&(tt|et)&&(e&=~(tt|et)),e&&e!=Q)p=e==tt||e==et?oa(t,e,o):e!=nt&&e!=(Q|nt)||a.length?da.apply($,f):pa(t,e,n,i);else var p=ia(t,e,n);var m=c?cu:_u;return m(p,f)}function ba(t,e,n,i,a,r){var s=-1,o=a<,l=a&ot,d=t.length,u=e.length;if(d!=u&&!(o&&u>d))return!1;var h=r.get(t);if(h)return h==e;var c=!0;for(r.set(t,e);++s<d;){var f=t[s],p=e[s];if(i)var g=o?i(p,f,s,e,t,r):i(f,p,s,t,e,r);if(g!==$){if(g)continue;c=!1;break}if(l){if(!m(e,function(t){return f===t||n(f,t,i,a,r)})){c=!1;break}}else if(f!==p&&!n(f,p,i,a,r)){c=!1;break}}return r["delete"](t),c}function Ma(t,e,n,i,a,r,s){switch(n){case zt:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Rt:return!(t.byteLength!=e.byteLength||!i(new xd(t),new xd(e)));case Lt:case Dt:return+t==+e;case Tt:return t.name==e.name&&t.message==e.message;case At:return t!=+t?e!=+e:t==+e;case Pt:case Et:return t==e+"";case Ct:var o=O;case It:var l=r<if(o||(o=R),t.size!=e.size&&!l)return!1;var d=s.get(t);return d?d==e:(r|=ot,s.set(t,e),ba(o(t),o(e),i,a,r,s));case Ft:if(su)return su.call(t)==su.call(e)}return!1}function wa(t,e,n,i,a,r){var s=a<,o=Uo(t),l=o.length,d=Uo(e),u=d.length;if(l!=u&&!s)return!1;for(var h=l;h--;){var c=o[h];if(!(s?c in e:Vn(e,c)))return!1}var f=r.get(t);if(f)return f==e;var p=!0;r.set(t,e);for(var m=s;++h<l;){c=o[h];var g=t[c],_=e[c];if(i)var y=s?i(_,g,c,e,t,r):i(g,_,c,t,e,r);if(!(y===$?g===_||n(g,_,i,a,r):y)){p=!1;break}m||(m="constructor"==c)}if(p&&!m){var v=t.constructor,b=e.constructor;v!=b&&"constructor"in t&&"constructor"in e&&!("function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b)&&(p=!1)}return r["delete"](t),p}function xa(t){return Nn(t,Uo,Aa)}function ka(t){return Nn(t,Jo,gu)}function La(t){for(var e=t.name+"",n=Kd[e],i=pd.call(Kd,e)?n.length:0;i--;){var a=n[i],r=a.func;if(null==r||r==t)return a.name}return e}function Da(){var t=Se.iteratee||Wl;return t=t===Wl?Kn:t,arguments.length?t(arguments[0],arguments[1]):t}function Ta(t){for(var e=nl(t),n=e.length;n--;)e[n][2]=Ua(e[n][1]);return e}function Sa(t,e){var n=t[e];return po(n)?n:$}function Ya(t){var e=pd.call(Se,"placeholder")?Se:t;return e.placeholder}function Ca(t){return Pd(Object(t))}function Aa(t){return Dd(Object(t))}function Ha(t){return _d.call(t)}function ja(t,e,n){for(var i=-1,a=n.length;++i<a;){var r=n[i],s=r.size;switch(r.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=Wd(e,t+s);break;case"takeRight":t=Od(t,e-s)}}return{start:t,end:e}}function Pa(t,e,n){e=Ba(e,t)?[e]:Ei(e);for(var i,a=-1,r=e.length;++a<r;){var s=Ka(e[a]);if(!(i=null!=t&&n(t,s)))break;t=t[s]}if(i)return i;var r=t?t.length:0;return!!r&&so(r)&&za(s,r)&&(th(t)||wo(t)||qs(t))}function Ia(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&pd.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Ea(t){return"function"!=typeof t.constructor||qa(t)?{}:Ln(Ca(t))}function Fa(t,e,n,i){var a=t.constructor;switch(e){case Rt:return Wi(t);case Lt:case Dt:return new a(+t);case zt:return Ri(t,i);case Nt:case Bt:case Vt:case $t:case qt:case Ut:case Jt:case Gt:case Xt:return $i(t,i);case Ct:return zi(t,i,n);case At:case Et:return new a(t);case Pt:return Ni(t);case It:return Bi(t,i,n);case Ft:return Vi(t)}}function Oa(t){var e=t?t.length:$;return so(e)&&(th(t)||wo(t)||qs(t))?k(e,String):null}function Wa(t){return Gs(t)&&(th(t)||qs(t))}function Ra(t){return th(t)&&!(2==t.length&&!ao(t[0]))}function za(t,e){return e=null==e?_t:e,!!e&&("number"==typeof t||ke.test(t))&&t>-1&&t%1==0&&e>t}function Na(t,e,n){if(!oo(n))return!1;var i=typeof e;return("number"==i?Js(n)&&za(e,n.length):"string"==i&&e in n)?$s(n[e],t):!1}function Ba(t,e){if(th(t))return!1;var n=typeof t;return"number"==n||"symbol"==n||"boolean"==n||null==t||xo(t)?!0:le.test(t)||!oe.test(t)||null!=e&&t in Object(e)}function Va(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function $a(t){var e=La(t),n=Se[e];if("function"!=typeof n||!(e in Ae.prototype))return!1;if(t===n)return!0;var i=pu(n);return!!i&&t===i[0]}function qa(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||hd;return t===n}function Ua(t){return t===t&&!oo(t)}function Ja(t,e){return function(n){return null==n?!1:n[t]===e&&(e!==$||t in Object(n))}}function Ga(t,e){var n=t[1],i=e[1],a=n|i,r=(Q|Z|at)>a,s=i==at&&n==tt||i==at&&n==rt&&t[7].length<=e[8]||i==(at|rt)&&e[7].length<=e[8]&&n==tt;if(!r&&!s)return t;i&Q&&(t[2]=e[2],a|=n&Q?0:K);var o=e[3];if(o){var l=t[3];t[3]=l?Ji(l,o,e[4]):o,t[4]=l?W(t[3],X):e[4]}return o=e[5],o&&(l=t[5],t[5]=l?Gi(l,o,e[6]):o,t[6]=l?W(t[5],X):e[6]),o=e[7],o&&(t[7]=o),i&at&&(t[8]=null==t[8]?e[8]:Wd(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=a,t}function Xa(t,e,n,i,a,r){return oo(t)&&oo(e)&&si(t,e,$,Xa,r.set(e,t)),t}function Qa(t,e){return 1==e.length?t:zn(t,bi(e,0,-1))}function Za(t,e){for(var n=t.length,i=Wd(e.length,n),a=Xi(t);i--;){var r=e[i];t[i]=za(r,n)?a[r]:$}return t}function Ka(t){if("string"==typeof t||xo(t))return t;var e=t+"";return"0"==e&&1/t==-gt?"-0":e}function tr(t){if(null!=t){
|
||
try{return fd.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function er(t){if(t instanceof Ae)return t.clone();var e=new Ce(t.__wrapped__,t.__chain__);return e.__actions__=Xi(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function nr(t,e,n){e=(n?Na(t,e,n):e===$)?1:Od(Yo(e),0);var i=t?t.length:0;if(!i||1>e)return[];for(var a=0,r=0,s=Array(Hd(i/e));i>a;)s[r++]=bi(t,a,a+=e);return s}function ir(t){for(var e=-1,n=t?t.length:0,i=0,a=[];++e<n;){var r=t[e];r&&(a[i++]=r)}return a}function ar(){var t=arguments.length,e=Rs(arguments[0]);if(2>t)return t?Xi(e):[];for(var n=Array(t-1);t--;)n[t-1]=arguments[t];return a(e,In(n,1))}function rr(t,e,n){var i=t?t.length:0;return i?(e=n||e===$?1:Yo(e),bi(t,0>e?0:e,i)):[]}function sr(t,e,n){var i=t?t.length:0;return i?(e=n||e===$?1:Yo(e),e=i-e,bi(t,0,0>e?0:e)):[]}function or(t,e){return t&&t.length?Ci(t,Da(e,3),!0,!0):[]}function lr(t,e){return t&&t.length?Ci(t,Da(e,3),!0):[]}function dr(t,e,n,i){var a=t?t.length:0;return a?(n&&"number"!=typeof n&&Na(t,e,n)&&(n=0,i=a),jn(t,e,n,i)):[]}function ur(t,e){return t&&t.length?_(t,Da(e,3)):-1}function hr(t,e){return t&&t.length?_(t,Da(e,3),!0):-1}function cr(t){var e=t?t.length:0;return e?In(t,1):[]}function fr(t){var e=t?t.length:0;return e?In(t,gt):[]}function pr(t,e){var n=t?t.length:0;return n?(e=e===$?1:Yo(e),In(t,e)):[]}function mr(t){for(var e=-1,n=t?t.length:0,i={};++e<n;){var a=t[e];i[a[0]]=a[1]}return i}function gr(t){return t&&t.length?t[0]:$}function _r(t,e,n){var i=t?t.length:0;return i?(n=Yo(n),0>n&&(n=Od(i+n,0)),y(t,e,n)):-1}function yr(t){return sr(t,1)}function vr(t,e){return t?Ed.call(t,e):""}function br(t){var e=t?t.length:0;return e?t[e-1]:$}function Mr(t,e,n){var i=t?t.length:0;if(!i)return-1;var a=i;if(n!==$&&(a=Yo(n),a=(0>a?Od(i+a,0):Wd(a,i-1))+1),e!==e)return I(t,a,!0);for(;a--;)if(t[a]===e)return a;return-1}function wr(t,e){return t&&t.length?li(t,Yo(e)):$}function xr(t,e){return t&&t.length&&e&&e.length?pi(t,e):t}function kr(t,e,n){return t&&t.length&&e&&e.length?pi(t,e,Da(n)):t}function Lr(t,e,n){return t&&t.length&&e&&e.length?pi(t,e,$,n):t}function Dr(t,e){var n=[];if(!t||!t.length)return n;var i=-1,a=[],r=t.length;for(e=Da(e,3);++i<r;){var s=t[i];e(s,i,t)&&(n.push(s),a.push(i))}return mi(t,a),n}function Tr(t){return t?Bd.call(t):t}function Sr(t,e,n){var i=t?t.length:0;return i?(n&&"number"!=typeof n&&Na(t,e,n)?(e=0,n=i):(e=null==e?0:Yo(e),n=n===$?i:Yo(n)),bi(t,e,n)):[]}function Yr(t,e){return wi(t,e)}function Cr(t,e,n){return xi(t,e,Da(n))}function Ar(t,e){var n=t?t.length:0;if(n){var i=wi(t,e);if(n>i&&$s(t[i],e))return i}return-1}function Hr(t,e){return wi(t,e,!0)}function jr(t,e,n){return xi(t,e,Da(n),!0)}function Pr(t,e){var n=t?t.length:0;if(n){var i=wi(t,e,!0)-1;if($s(t[i],e))return i}return-1}function Ir(t){return t&&t.length?ki(t):[]}function Er(t,e){return t&&t.length?ki(t,Da(e)):[]}function Fr(t){return rr(t,1)}function Or(t,e,n){return t&&t.length?(e=n||e===$?1:Yo(e),bi(t,0,0>e?0:e)):[]}function Wr(t,e,n){var i=t?t.length:0;return i?(e=n||e===$?1:Yo(e),e=i-e,bi(t,0>e?0:e,i)):[]}function Rr(t,e){return t&&t.length?Ci(t,Da(e,3),!1,!0):[]}function zr(t,e){return t&&t.length?Ci(t,Da(e,3)):[]}function Nr(t){return t&&t.length?Ti(t):[]}function Br(t,e){return t&&t.length?Ti(t,Da(e)):[]}function Vr(t,e){return t&&t.length?Ti(t,$,e):[]}function $r(t){if(!t||!t.length)return[];var e=0;return t=l(t,function(t){return Gs(t)?(e=Od(t.length,e),!0):void 0}),k(e,function(e){return h(t,ci(e))})}function qr(t,e){if(!t||!t.length)return[];var i=$r(t);return null==e?i:h(i,function(t){return n(e,$,t)})}function Ur(t,e){return ji(t||[],e||[],dn)}function Jr(t,e){return ji(t||[],e||[],vi)}function Gr(t){var e=Se(t);return e.__chain__=!0,e}function Xr(t,e){return e(t),t}function Qr(t,e){return e(t)}function Zr(){return Gr(this)}function Kr(){return new Ce(this.value(),this.__chain__)}function ts(){this.__values__===$&&(this.__values__=So(this.value()));var t=this.__index__>=this.__values__.length,e=t?$:this.__values__[this.__index__++];return{done:t,value:e}}function es(){return this}function ns(t){for(var e,n=this;n instanceof Ye;){var i=er(n);i.__index__=0,i.__values__=$,e?a.__wrapped__=i:e=i;var a=i;n=n.__wrapped__}return a.__wrapped__=t,e}function is(){var t=this.__wrapped__;if(t instanceof Ae){var e=t;return this.__actions__.length&&(e=new Ae(this)),e=e.reverse(),e.__actions__.push({func:Qr,args:[Tr],thisArg:$}),new Ce(e,this.__chain__)}return this.thru(Tr)}function as(){return Ai(this.__wrapped__,this.__actions__)}function rs(t,e,n){var i=th(t)?o:Cn;return n&&Na(t,e,n)&&(e=$),i(t,Da(e,3))}function ss(t,e){var n=th(t)?l:Pn;return n(t,Da(e,3))}function os(t,e){if(e=Da(e,3),th(t)){var n=_(t,e);return n>-1?t[n]:$}return g(t,e,lu)}function ls(t,e){if(e=Da(e,3),th(t)){var n=_(t,e,!0);return n>-1?t[n]:$}return g(t,e,du)}function ds(t,e){return In(ms(t,e),1)}function us(t,e){return In(ms(t,e),gt)}function hs(t,e,n){return n=n===$?1:Yo(n),In(ms(t,e),n)}function cs(t,e){return"function"==typeof e&&th(t)?r(t,e):lu(t,Da(e))}function fs(t,e){return"function"==typeof e&&th(t)?s(t,e):du(t,Da(e))}function ps(t,e,n,i){t=Js(t)?t:ll(t),n=n&&!i?Yo(n):0;var a=t.length;return 0>n&&(n=Od(a+n,0)),wo(t)?a>=n&&t.indexOf(e,n)>-1:!!a&&y(t,e,n)>-1}function ms(t,e){var n=th(t)?h:ii;return n(t,Da(e,3))}function gs(t,e,n,i){return null==t?[]:(th(e)||(e=null==e?[]:[e]),n=i?$:n,th(n)||(n=null==n?[]:[n]),di(t,e,n))}function _s(t,e,n){var i=th(t)?f:M,a=arguments.length<3;return i(t,Da(e,4),n,a,lu)}function ys(t,e,n){var i=th(t)?p:M,a=arguments.length<3;return i(t,Da(e,4),n,a,du)}function vs(t,e){var n=th(t)?l:Pn;return e=Da(e,3),n(t,function(t,n,i){return!e(t,n,i)})}function bs(t){var e=Js(t)?t:ll(t),n=e.length;return n>0?e[gi(0,n-1)]:$}function Ms(t,e,n){var i=-1,a=So(t),r=a.length,s=r-1;for(e=(n?Na(t,e,n):e===$)?1:wn(Yo(e),0,r);++i<e;){var o=gi(i,s),l=a[o];a[o]=a[i],a[i]=l}return a.length=e,a}function ws(t){return Ms(t,bt)}function xs(t){if(null==t)return 0;if(Js(t)){var e=t.length;return e&&wo(t)?z(t):e}if(lo(t)){var n=Ha(t);if(n==Ct||n==It)return t.size}return Uo(t).length}function ks(t,e,n){var i=th(t)?m:Mi;return n&&Na(t,e,n)&&(e=$),i(t,Da(e,3))}function Ls(t,e){if("function"!=typeof e)throw new dd(J);return t=Yo(t),function(){return--t<1?e.apply(this,arguments):void 0}}function Ds(t,e,n){return e=n?$:e,e=t&&null==e?t.length:e,va(t,at,$,$,$,$,e)}function Ts(t,e){var n;if("function"!=typeof e)throw new dd(J);return t=Yo(t),function(){return--t>0&&(n=e.apply(this,arguments)),1>=t&&(e=$),n}}function Ss(t,e,n){e=n?$:e;var i=va(t,tt,$,$,$,$,$,e);return i.placeholder=Ss.placeholder,i}function Ys(t,e,n){e=n?$:e;var i=va(t,et,$,$,$,$,$,e);return i.placeholder=Ys.placeholder,i}function Cs(t,e,n){function i(e){var n=c,i=f;return c=f=$,y=e,m=t.apply(i,n)}function a(t){return y=t,g=Cd(o,e),v?i(t):m}function r(t){var n=t-_,i=t-y,a=e-n;return b?Wd(a,p-i):a}function s(t){var n=t-_,i=t-y;return!_||n>=e||0>n||b&&i>=p}function o(){var t=Bu();return s(t)?l(t):void(g=Cd(o,r(t)))}function l(t){return kd(g),g=$,M&&c?i(t):(c=f=$,m)}function d(){g!==$&&kd(g),_=y=0,c=f=g=$}function u(){return g===$?m:l(Bu())}function h(){var t=Bu(),n=s(t);if(c=arguments,f=this,_=t,n){if(g===$)return a(_);if(b)return kd(g),g=Cd(o,e),i(_)}return g===$&&(g=Cd(o,e)),m}var c,f,p,m,g,_=0,y=0,v=!1,b=!1,M=!0;if("function"!=typeof t)throw new dd(J);return e=Ao(e)||0,oo(n)&&(v=!!n.leading,b="maxWait"in n,p=b?Od(Ao(n.maxWait)||0,e):p,M="trailing"in n?!!n.trailing:M),h.cancel=d,h.flush=u,h}function As(t){return va(t,st)}function Hs(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new dd(J);var n=function(){var i=arguments,a=e?e.apply(this,i):i[0],r=n.cache;if(r.has(a))return r.get(a);var s=t.apply(this,i);return n.cache=r.set(a,s),s};return n.cache=new(Hs.Cache||Re),n}function js(t){if("function"!=typeof t)throw new dd(J);return function(){return!t.apply(this,arguments)}}function Ps(t){return Ts(2,t)}function Is(t,e){if("function"!=typeof t)throw new dd(J);return e=Od(e===$?t.length-1:Yo(e),0),function(){for(var i=arguments,a=-1,r=Od(i.length-e,0),s=Array(r);++a<r;)s[a]=i[e+a];switch(e){case 0:return t.call(this,s);case 1:return t.call(this,i[0],s);case 2:return t.call(this,i[0],i[1],s)}var o=Array(e+1);for(a=-1;++a<e;)o[a]=i[a];return o[e]=s,n(t,this,o)}}function Es(t,e){if("function"!=typeof t)throw new dd(J);return e=e===$?0:Od(Yo(e),0),Is(function(i){var a=i[e],r=Fi(i,0,e);return a&&c(r,a),n(t,this,r)})}function Fs(t,e,n){var i=!0,a=!0;if("function"!=typeof t)throw new dd(J);return oo(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),Cs(t,e,{leading:i,maxWait:e,trailing:a})}function Os(t){return Ds(t,1)}function Ws(t,e){return e=null==e?Ol:e,Gu(e,t)}function Rs(){if(!arguments.length)return[];var t=arguments[0];return th(t)?t:[t]}function zs(t){return xn(t,!1,!0)}function Ns(t,e){return xn(t,!1,!0,e)}function Bs(t){return xn(t,!0,!0)}function Vs(t,e){return xn(t,!0,!0,e)}function $s(t,e){return t===e||t!==t&&e!==e}function qs(t){return Gs(t)&&pd.call(t,"callee")&&(!Yd.call(t,"callee")||_d.call(t)==xt)}function Us(t){return lo(t)&&_d.call(t)==Rt}function Js(t){return null!=t&&so(mu(t))&&!ao(t)}function Gs(t){return lo(t)&&Js(t)}function Xs(t){return t===!0||t===!1||lo(t)&&_d.call(t)==Lt}function Qs(t){return lo(t)&&_d.call(t)==Dt}function Zs(t){return!!t&&1===t.nodeType&&lo(t)&&!yo(t)}function Ks(t){if(Js(t)&&(th(t)||wo(t)||ao(t.splice)||qs(t)||eh(t)))return!t.length;if(lo(t)){var e=Ha(t);if(e==Ct||e==It)return!t.size}for(var n in t)if(pd.call(t,n))return!1;return!(Zd&&Uo(t).length)}function to(t,e){return Xn(t,e)}function eo(t,e,n){n="function"==typeof n?n:$;var i=n?n(t,e):$;return i===$?Xn(t,e,n):!!i}function no(t){return lo(t)?_d.call(t)==Tt||"string"==typeof t.message&&"string"==typeof t.name:!1}function io(t){return"number"==typeof t&&Id(t)}function ao(t){var e=oo(t)?_d.call(t):"";return e==St||e==Yt}function ro(t){return"number"==typeof t&&t==Yo(t)}function so(t){return"number"==typeof t&&t>-1&&t%1==0&&_t>=t}function oo(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function lo(t){return!!t&&"object"==typeof t}function uo(t){return lo(t)&&Ha(t)==Ct}function ho(t,e){return t===e||Zn(t,e,Ta(e))}function co(t,e,n){return n="function"==typeof n?n:$,Zn(t,e,Ta(e),n)}function fo(t){return _o(t)&&t!=+t}function po(t){if(!oo(t))return!1;var e=ao(t)||E(t)?vd:we;return e.test(tr(t))}function mo(t){return null===t}function go(t){return null==t}function _o(t){return"number"==typeof t||lo(t)&&_d.call(t)==At}function yo(t){if(!lo(t)||_d.call(t)!=Ht||E(t))return!1;var e=Ca(t);if(null===e)return!0;var n=pd.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&fd.call(n)==gd}function vo(t){return oo(t)&&_d.call(t)==Pt}function bo(t){return ro(t)&&t>=-_t&&_t>=t}function Mo(t){return lo(t)&&Ha(t)==It}function wo(t){return"string"==typeof t||!th(t)&&lo(t)&&_d.call(t)==Et}function xo(t){return"symbol"==typeof t||lo(t)&&_d.call(t)==Ft}function ko(t){return lo(t)&&so(t.length)&&!!bn[_d.call(t)]}function Lo(t){return t===$}function Do(t){return lo(t)&&Ha(t)==Ot}function To(t){return lo(t)&&_d.call(t)==Wt}function So(t){if(!t)return[];if(Js(t))return wo(t)?N(t):Xi(t);if(Td&&t[Td])return F(t[Td]());var e=Ha(t),n=e==Ct?O:e==It?R:ll;return n(t)}function Yo(t){if(!t)return 0===t?t:0;if(t=Ao(t),t===gt||t===-gt){var e=0>t?-1:1;return e*yt}var n=t%1;return t===t?n?t-n:t:0}function Co(t){return t?wn(Yo(t),0,bt):0}function Ao(t){if("number"==typeof t)return t;if(xo(t))return vt;if(oo(t)){var e=ao(t.valueOf)?t.valueOf():t;t=oo(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(ce,"");var n=Me.test(t);return n||xe.test(t)?Sn(t.slice(2),n?2:8):be.test(t)?vt:+t}function Ho(t){return Qi(t,Jo(t))}function jo(t){return wn(Yo(t),-_t,_t)}function Po(t){return null==t?"":Di(t)}function Io(t,e){var n=Ln(t);return e?hn(n,e):n}function Eo(t,e){return g(t,Da(e,3),On,!0)}function Fo(t,e){return g(t,Da(e,3),Wn,!0)}function Oo(t,e){return null==t?t:uu(t,Da(e),Jo)}function Wo(t,e){return null==t?t:hu(t,Da(e),Jo)}function Ro(t,e){return t&&On(t,Da(e))}function zo(t,e){return t&&Wn(t,Da(e))}function No(t){return null==t?[]:Rn(t,Uo(t))}function Bo(t){return null==t?[]:Rn(t,Jo(t))}function Vo(t,e,n){var i=null==t?$:zn(t,e);return i===$?n:i}function $o(t,e){return null!=t&&Pa(t,e,Vn)}function qo(t,e){return null!=t&&Pa(t,e,$n)}function Uo(t){var e=qa(t);if(!e&&!Js(t))return ti(t);var n=Oa(t),i=!!n,a=n||[],r=a.length;for(var s in t)!Vn(t,s)||i&&("length"==s||za(s,r))||e&&"constructor"==s||a.push(s);return a}function Jo(t){for(var e=-1,n=qa(t),i=ei(t),a=i.length,r=Oa(t),s=!!r,o=r||[],l=o.length;++e<a;){var d=i[e];s&&("length"==d||za(d,l))||"constructor"==d&&(n||!pd.call(t,d))||o.push(d)}return o}function Go(t,e){var n={};return e=Da(e,3),On(t,function(t,i,a){n[e(t,i,a)]=t}),n}function Xo(t,e){var n={};return e=Da(e,3),On(t,function(t,i,a){n[i]=e(t,i,a)}),n}function Qo(t,e){return e=Da(e),hi(t,function(t,n){return!e(t,n)})}function Zo(t,e){return null==t?{}:hi(t,Da(e))}function Ko(t,e,n){e=Ba(e,t)?[e]:Ei(e);var i=-1,a=e.length;for(a||(t=$,a=1);++i<a;){var r=null==t?$:t[Ka(e[i])];r===$&&(i=a,r=n),t=ao(r)?r.call(t):r}return t}function tl(t,e,n){return null==t?t:vi(t,e,n)}function el(t,e,n,i){return i="function"==typeof i?i:$,null==t?t:vi(t,e,n,i)}function nl(t){return L(t,Uo(t))}function il(t){return L(t,Jo(t))}function al(t,e,n){var i=th(t)||ko(t);if(e=Da(e,4),null==n)if(i||oo(t)){var a=t.constructor;n=i?th(t)?new a:[]:ao(a)?Ln(Ca(t)):{}}else n={};return(i?r:On)(t,function(t,i,a){return e(n,t,i,a)}),n}function rl(t,e){return null==t?!0:Si(t,e)}function sl(t,e,n){return null==t?t:Yi(t,e,Ii(n))}function ol(t,e,n,i){return i="function"==typeof i?i:$,null==t?t:Yi(t,e,Ii(n),i)}function ll(t){return t?T(t,Uo(t)):[]}function dl(t){return null==t?[]:T(t,Jo(t))}function ul(t,e,n){return n===$&&(n=e,e=$),n!==$&&(n=Ao(n),n=n===n?n:0),e!==$&&(e=Ao(e),e=e===e?e:0),wn(Ao(t),e,n)}function hl(t,e,n){return e=Ao(e)||0,n===$?(n=e,e=0):n=Ao(n)||0,t=Ao(t),qn(t,e,n)}function cl(t,e,n){if(n&&"boolean"!=typeof n&&Na(t,e,n)&&(e=n=$),n===$&&("boolean"==typeof e?(n=e,e=$):"boolean"==typeof t&&(n=t,t=$)),t===$&&e===$?(t=0,e=1):(t=Ao(t)||0,e===$?(e=t,t=0):e=Ao(e)||0),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var a=zd();return Wd(t+a*(e-t+Tn("1e-"+((a+"").length-1))),e)}return gi(t,e)}function fl(t){return Lh(Po(t).toLowerCase())}function pl(t){return t=Po(t),t&&t.replace(Le,H).replace(fn,"")}function ml(t,e,n){t=Po(t),e=Di(e);var i=t.length;return n=n===$?i:wn(Yo(n),0,i),n-=e.length,n>=0&&t.indexOf(e,n)==n}function gl(t){return t=Po(t),t&&ie.test(t)?t.replace(ee,j):t}function _l(t){return t=Po(t),t&&he.test(t)?t.replace(ue,"\\$&"):t}function yl(t,e,n){t=Po(t),e=Yo(e);var i=e?z(t):0;if(!e||i>=e)return t;var a=(e-i)/2;return fa(jd(a),n)+t+fa(Hd(a),n)}function vl(t,e,n){t=Po(t),e=Yo(e);var i=e?z(t):0;return e&&e>i?t+fa(e-i,n):t}function bl(t,e,n){t=Po(t),e=Yo(e);var i=e?z(t):0;return e&&e>i?fa(e-i,n)+t:t}function Ml(t,e,n){return n||null==e?e=0:e&&(e=+e),t=Po(t).replace(ce,""),Rd(t,e||(ve.test(t)?16:10))}function wl(t,e,n){return e=(n?Na(t,e,n):e===$)?1:Yo(e),yi(Po(t),e)}function xl(){var t=arguments,e=Po(t[0]);return t.length<3?e:Nd.call(e,t[1],t[2])}function kl(t,e,n){return n&&"number"!=typeof n&&Na(t,e,n)&&(e=n=$),(n=n===$?bt:n>>>0)?(t=Po(t),t&&("string"==typeof e||null!=e&&!vo(e))&&(e=Di(e),""==e&&gn.test(t))?Fi(N(t),0,n):Vd.call(t,e,n)):[]}function Ll(t,e,n){return t=Po(t),n=wn(Yo(n),0,t.length),t.lastIndexOf(Di(e),n)==n}function Dl(t,e,n){var i=Se.templateSettings;n&&Na(t,e,n)&&(e=$),t=Po(t),e=sh({},e,i,on);var a,r,s=sh({},e.imports,i.imports,on),o=Uo(s),l=T(s,o),d=0,u=e.interpolate||De,h="__p += '",c=ld((e.escape||De).source+"|"+u.source+"|"+(u===se?_e:De).source+"|"+(e.evaluate||De).source+"|$","g"),f="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++vn+"]")+"\n";t.replace(c,function(e,n,i,s,o,l){return i||(i=s),h+=t.slice(d,l).replace(Te,P),n&&(a=!0,h+="' +\n__e("+n+") +\n'"),o&&(r=!0,h+="';\n"+o+";\n__p += '"),i&&(h+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),d=l+e.length,e}),h+="';\n";var p=e.variable;p||(h="with (obj) {\n"+h+"\n}\n"),h=(r?h.replace(Qt,""):h).replace(Zt,"$1").replace(Kt,"$1;"),h="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(r?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var m=Dh(function(){return Function(o,f+"return "+h).apply($,l)});if(m.source=h,no(m))throw m;return m}function Tl(t){return Po(t).toLowerCase()}function Sl(t){return Po(t).toUpperCase()}function Yl(t,e,n){if(t=Po(t),t&&(n||e===$))return t.replace(ce,"");if(!t||!(e=Di(e)))return t;var i=N(t),a=N(e),r=S(i,a),s=Y(i,a)+1;return Fi(i,r,s).join("")}function Cl(t,e,n){if(t=Po(t),t&&(n||e===$))return t.replace(pe,"");if(!t||!(e=Di(e)))return t;var i=N(t),a=Y(i,N(e))+1;return Fi(i,0,a).join("")}function Al(t,e,n){if(t=Po(t),t&&(n||e===$))return t.replace(fe,"");if(!t||!(e=Di(e)))return t;var i=N(t),a=S(i,N(e));return Fi(i,a).join("")}function Hl(t,e){var n=dt,i=ut;if(oo(e)){var a="separator"in e?e.separator:a;n="length"in e?Yo(e.length):n,i="omission"in e?Di(e.omission):i}t=Po(t);var r=t.length;if(gn.test(t)){var s=N(t);r=s.length}if(n>=r)return t;var o=n-z(i);if(1>o)return i;var l=s?Fi(s,0,o).join(""):t.slice(0,o);if(a===$)return l+i;if(s&&(o+=l.length-o),vo(a)){if(t.slice(o).search(a)){var d,u=l;for(a.global||(a=ld(a.source,Po(ye.exec(a))+"g")),a.lastIndex=0;d=a.exec(u);)var h=d.index;l=l.slice(0,h===$?o:h)}}else if(t.indexOf(Di(a),o)!=o){var c=l.lastIndexOf(a);c>-1&&(l=l.slice(0,c))}return l+i}function jl(t){return t=Po(t),t&&ne.test(t)?t.replace(te,B):t}function Pl(t,e,n){return t=Po(t),e=n?$:e,e===$&&(e=_n.test(t)?mn:me),t.match(e)||[]}function Il(t){var e=t?t.length:0,i=Da();return t=e?h(t,function(t){if("function"!=typeof t[1])throw new dd(J);return[i(t[0]),t[1]]}):[],Is(function(i){for(var a=-1;++a<e;){var r=t[a];if(n(r[0],this,i))return n(r[1],this,i)}})}function El(t){return kn(xn(t,!0))}function Fl(t){return function(){return t}}function Ol(t){return t}function Wl(t){return Kn("function"==typeof t?t:xn(t,!0))}function Rl(t){return ai(xn(t,!0))}function zl(t,e){return ri(t,xn(e,!0))}function Nl(t,e,n){var i=Uo(e),a=Rn(e,i);null!=n||oo(e)&&(a.length||!i.length)||(n=e,e=t,t=this,a=Rn(e,Uo(e)));var s=!(oo(n)&&"chain"in n&&!n.chain),o=ao(t);return r(a,function(n){var i=e[n];t[n]=i,o&&(t.prototype[n]=function(){var e=this.__chain__;if(s||e){var n=t(this.__wrapped__),a=n.__actions__=Xi(this.__actions__);return a.push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,c([this.value()],arguments))})}),t}function Bl(){return En._===this&&(En._=yd),this}function Vl(){}function $l(t){return t=Yo(t),Is(function(e){return li(e,t)})}function ql(t){return Ba(t)?ci(Ka(t)):fi(t)}function Ul(t){return function(e){return null==t?$:zn(t,e)}}function Jl(t,e){if(t=Yo(t),1>t||t>_t)return[];var n=bt,i=Wd(t,bt);e=Da(e),t-=bt;for(var a=k(i,e);++n<t;)e(n);return a}function Gl(t){return th(t)?h(t,Ka):xo(t)?[t]:Xi(yu(t))}function Xl(t){var e=++md;return Po(t)+e}function Ql(t){return t&&t.length?Hn(t,Ol,Bn):$}function Zl(t,e){return t&&t.length?Hn(t,Da(e),Bn):$}function Kl(t){return b(t,Ol)}function td(t,e){return b(t,Da(e))}function ed(t){return t&&t.length?Hn(t,Ol,ni):$}function nd(t,e){return t&&t.length?Hn(t,Da(e),ni):$}function id(t){return t&&t.length?x(t,Ol):0}function ad(t,e){return t&&t.length?x(t,Da(e)):0}C=C?Fn.defaults({},C,Fn.pick(En,yn)):En;var rd=C.Date,sd=C.Error,od=C.Math,ld=C.RegExp,dd=C.TypeError,ud=C.Array.prototype,hd=C.Object.prototype,cd=C.String.prototype,fd=C.Function.prototype.toString,pd=hd.hasOwnProperty,md=0,gd=fd.call(Object),_d=hd.toString,yd=En._,vd=ld("^"+fd.call(pd).replace(ue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bd=An?C.Buffer:$,Md=C.Reflect,wd=C.Symbol,xd=C.Uint8Array,kd=C.clearTimeout,Ld=Md?Md.enumerate:$,Dd=Object.getOwnPropertySymbols,Td="symbol"==typeof(Td=wd&&wd.iterator)?Td:$,Sd=Object.create,Yd=hd.propertyIsEnumerable,Cd=C.setTimeout,Ad=ud.splice,Hd=od.ceil,jd=od.floor,Pd=Object.getPrototypeOf,Id=C.isFinite,Ed=ud.join,Fd=Object.keys,Od=od.max,Wd=od.min,Rd=C.parseInt,zd=od.random,Nd=cd.replace,Bd=ud.reverse,Vd=cd.split,$d=Sa(C,"DataView"),qd=Sa(C,"Map"),Ud=Sa(C,"Promise"),Jd=Sa(C,"Set"),Gd=Sa(C,"WeakMap"),Xd=Sa(Object,"create"),Qd=Gd&&new Gd,Zd=!Yd.call({valueOf:1},"valueOf"),Kd={},tu=tr($d),eu=tr(qd),nu=tr(Ud),iu=tr(Jd),au=tr(Gd),ru=wd?wd.prototype:$,su=ru?ru.valueOf:$,ou=ru?ru.toString:$;Se.templateSettings={escape:ae,evaluate:re,interpolate:se,variable:"",imports:{_:Se}},Se.prototype=Ye.prototype,Se.prototype.constructor=Se,Ce.prototype=Ln(Ye.prototype),Ce.prototype.constructor=Ce,Ae.prototype=Ln(Ye.prototype),Ae.prototype.constructor=Ae,Ie.prototype=Xd?Xd(null):hd,Re.prototype.clear=ze,Re.prototype["delete"]=Ne,Re.prototype.get=Be,Re.prototype.has=Ve,Re.prototype.set=$e,qe.prototype.push=Je,Ge.prototype.clear=Xe,Ge.prototype["delete"]=Qe,Ge.prototype.get=Ze,Ge.prototype.has=Ke,Ge.prototype.set=tn;var lu=ea(On),du=ea(Wn,!0),uu=na(),hu=na(!0);Ld&&!Yd.call({valueOf:1},"valueOf")&&(ei=function(t){return F(Ld(t))});var cu=Qd?function(t,e){return Qd.set(t,e),t}:Ol,fu=Jd&&1/R(new Jd([,-0]))[1]==gt?function(t){return new Jd(t)}:Vl,pu=Qd?function(t){return Qd.get(t)}:Vl,mu=ci("length");Dd||(Aa=function(){return[]});var gu=Dd?function(t){for(var e=[];t;)c(e,Aa(t)),t=Ca(t);return e}:Aa;($d&&Ha(new $d(new ArrayBuffer(1)))!=zt||qd&&Ha(new qd)!=Ct||Ud&&Ha(Ud.resolve())!=jt||Jd&&Ha(new Jd)!=It||Gd&&Ha(new Gd)!=Ot)&&(Ha=function(t){var e=_d.call(t),n=e==Ht?t.constructor:$,i=n?tr(n):$;if(i)switch(i){case tu:return zt;case eu:return Ct;case nu:return jt;case iu:return It;case au:return Ot}return e});var _u=function(){var t=0,e=0;return function(n,i){var a=Bu(),r=ct-(a-e);if(e=a,r>0){if(++t>=ht)return n}else t=0;return cu(n,i)}}(),yu=Hs(function(t){var e=[];return Po(t).replace(de,function(t,n,i,a){e.push(i?a.replace(ge,"$1"):n||t)}),e}),vu=Is(function(t,e){return Gs(t)?Yn(t,In(e,1,Gs,!0)):[]}),bu=Is(function(t,e){var n=br(e);return Gs(n)&&(n=$),Gs(t)?Yn(t,In(e,1,Gs,!0),Da(n)):[]}),Mu=Is(function(t,e){var n=br(e);return Gs(n)&&(n=$),Gs(t)?Yn(t,In(e,1,Gs,!0),$,n):[]}),wu=Is(function(t){var e=h(t,Pi);return e.length&&e[0]===t[0]?Un(e):[]}),xu=Is(function(t){var e=br(t),n=h(t,Pi);return e===br(n)?e=$:n.pop(),n.length&&n[0]===t[0]?Un(n,Da(e)):[]}),ku=Is(function(t){var e=br(t),n=h(t,Pi);return e===br(n)?e=$:n.pop(),n.length&&n[0]===t[0]?Un(n,$,e):[]}),Lu=Is(xr),Du=Is(function(t,e){e=In(e,1);var n=t?t.length:0,i=pn(t,e);return mi(t,h(e,function(t){return za(t,n)?+t:t}).sort(qi)),i}),Tu=Is(function(t){return Ti(In(t,1,Gs,!0))}),Su=Is(function(t){var e=br(t);return Gs(e)&&(e=$),Ti(In(t,1,Gs,!0),Da(e))}),Yu=Is(function(t){var e=br(t);return Gs(e)&&(e=$),Ti(In(t,1,Gs,!0),$,e)}),Cu=Is(function(t,e){return Gs(t)?Yn(t,e):[]}),Au=Is(function(t){return Hi(l(t,Gs))}),Hu=Is(function(t){var e=br(t);return Gs(e)&&(e=$),Hi(l(t,Gs),Da(e))}),ju=Is(function(t){var e=br(t);return Gs(e)&&(e=$),Hi(l(t,Gs),$,e)}),Pu=Is($r),Iu=Is(function(t){var e=t.length,n=e>1?t[e-1]:$;return n="function"==typeof n?(t.pop(),n):$,qr(t,n)}),Eu=Is(function(t){t=In(t,1);var e=t.length,n=e?t[0]:0,i=this.__wrapped__,a=function(e){return pn(e,t)};return!(e>1||this.__actions__.length)&&i instanceof Ae&&za(n)?(i=i.slice(n,+n+(e?1:0)),i.__actions__.push({func:Qr,args:[a],thisArg:$}),new Ce(i,this.__chain__).thru(function(t){return e&&!t.length&&t.push($),t})):this.thru(a)}),Fu=Ki(function(t,e,n){pd.call(t,n)?++t[n]:t[n]=1}),Ou=Ki(function(t,e,n){pd.call(t,n)?t[n].push(e):t[n]=[e]}),Wu=Is(function(t,e,i){var a=-1,r="function"==typeof e,s=Ba(e),o=Js(t)?Array(t.length):[];return lu(t,function(t){var l=r?e:s&&null!=t?t[e]:$;o[++a]=l?n(l,t,i):Gn(t,e,i)}),o}),Ru=Ki(function(t,e,n){t[n]=e}),zu=Ki(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),Nu=Is(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Na(t,e[0],e[1])?e=[]:n>2&&Na(e[0],e[1],e[2])&&(e=[e[0]]),e=1==e.length&&th(e[0])?e[0]:In(e,1,Ra),di(t,e,[])}),Bu=rd.now,Vu=Is(function(t,e,n){var i=Q;if(n.length){var a=W(n,Ya(Vu));i|=nt}return va(t,i,e,n,a)}),$u=Is(function(t,e,n){var i=Q|Z;if(n.length){var a=W(n,Ya($u));i|=nt}return va(e,i,t,n,a)}),qu=Is(function(t,e){return Dn(t,1,e)}),Uu=Is(function(t,e,n){return Dn(t,Ao(e)||0,n)});Hs.Cache=Re;var Ju=Is(function(t,e){e=1==e.length&&th(e[0])?h(e[0],D(Da())):h(In(e,1,Ra),D(Da()));var i=e.length;return Is(function(a){for(var r=-1,s=Wd(a.length,i);++r<s;)a[r]=e[r].call(this,a[r]);return n(t,this,a)})}),Gu=Is(function(t,e){var n=W(e,Ya(Gu));return va(t,nt,$,e,n)}),Xu=Is(function(t,e){var n=W(e,Ya(Xu));return va(t,it,$,e,n)}),Qu=Is(function(t,e){return va(t,rt,$,$,$,In(e,1))}),Zu=ga(Bn),Ku=ga(function(t,e){return t>=e}),th=Array.isArray,eh=bd?function(t){return t instanceof bd}:Fl(!1),nh=ga(ni),ih=ga(function(t,e){return e>=t}),ah=ta(function(t,e){if(Zd||qa(e)||Js(e))return void Qi(e,Uo(e),t);for(var n in e)pd.call(e,n)&&dn(t,n,e[n])}),rh=ta(function(t,e){if(Zd||qa(e)||Js(e))return void Qi(e,Jo(e),t);for(var n in e)dn(t,n,e[n])}),sh=ta(function(t,e,n,i){Qi(e,Jo(e),t,i)}),oh=ta(function(t,e,n,i){Qi(e,Uo(e),t,i)}),lh=Is(function(t,e){return pn(t,In(e,1))}),dh=Is(function(t){return t.push($,on),n(sh,$,t)}),uh=Is(function(t){return t.push($,Xa),n(mh,$,t)}),hh=ua(function(t,e,n){t[e]=n},Fl(Ol)),ch=ua(function(t,e,n){pd.call(t,e)?t[e].push(n):t[e]=[n]},Da),fh=Is(Gn),ph=ta(function(t,e,n){si(t,e,n)}),mh=ta(function(t,e,n,i){si(t,e,n,i)}),gh=Is(function(t,e){return null==t?{}:(e=h(In(e,1),Ka),ui(t,Yn(ka(t),e)))}),_h=Is(function(t,e){return null==t?{}:ui(t,h(In(e,1),Ka))}),yh=ra(function(t,e,n){return e=e.toLowerCase(),t+(n?fl(e):e)}),vh=ra(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),bh=ra(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Mh=aa("toLowerCase"),wh=ra(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),xh=ra(function(t,e,n){return t+(n?" ":"")+Lh(e)}),kh=ra(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Lh=aa("toUpperCase"),Dh=Is(function(t,e){try{return n(t,$,e)}catch(i){return no(i)?i:new sd(i)}}),Th=Is(function(t,e){return r(In(e,1),function(e){e=Ka(e),t[e]=Vu(t[e],t)}),t}),Sh=la(),Yh=la(!0),Ch=Is(function(t,e){return function(n){return Gn(n,t,e)}}),Ah=Is(function(t,e){return function(n){return Gn(t,n,e)}}),Hh=ca(h),jh=ca(o),Ph=ca(m),Ih=ma(),Eh=ma(!0),Fh=ha(function(t,e){return t+e}),Oh=ya("ceil"),Wh=ha(function(t,e){return t/e}),Rh=ya("floor"),zh=ha(function(t,e){return t*e}),Nh=ya("round"),Bh=ha(function(t,e){return t-e});return Se.after=Ls,Se.ary=Ds,Se.assign=ah,Se.assignIn=rh,Se.assignInWith=sh,Se.assignWith=oh,Se.at=lh,Se.before=Ts,Se.bind=Vu,Se.bindAll=Th,Se.bindKey=$u,Se.castArray=Rs,Se.chain=Gr,Se.chunk=nr,Se.compact=ir,Se.concat=ar,Se.cond=Il,Se.conforms=El,Se.constant=Fl,Se.countBy=Fu,Se.create=Io,Se.curry=Ss,Se.curryRight=Ys,Se.debounce=Cs,Se.defaults=dh,Se.defaultsDeep=uh,Se.defer=qu,Se.delay=Uu,Se.difference=vu,Se.differenceBy=bu,Se.differenceWith=Mu,Se.drop=rr,Se.dropRight=sr,Se.dropRightWhile=or,Se.dropWhile=lr,Se.fill=dr,Se.filter=ss,Se.flatMap=ds,Se.flatMapDeep=us,Se.flatMapDepth=hs,Se.flatten=cr,Se.flattenDeep=fr,Se.flattenDepth=pr,Se.flip=As,Se.flow=Sh,Se.flowRight=Yh,Se.fromPairs=mr,Se.functions=No,Se.functionsIn=Bo,Se.groupBy=Ou,Se.initial=yr,Se.intersection=wu,Se.intersectionBy=xu,Se.intersectionWith=ku,Se.invert=hh,Se.invertBy=ch,Se.invokeMap=Wu,Se.iteratee=Wl,Se.keyBy=Ru,Se.keys=Uo,Se.keysIn=Jo,Se.map=ms,Se.mapKeys=Go,Se.mapValues=Xo,Se.matches=Rl,Se.matchesProperty=zl,Se.memoize=Hs,Se.merge=ph,Se.mergeWith=mh,Se.method=Ch,Se.methodOf=Ah,Se.mixin=Nl,Se.negate=js,Se.nthArg=$l,Se.omit=gh,Se.omitBy=Qo,Se.once=Ps,Se.orderBy=gs,Se.over=Hh,Se.overArgs=Ju,Se.overEvery=jh,Se.overSome=Ph,Se.partial=Gu,Se.partialRight=Xu,Se.partition=zu,Se.pick=_h,Se.pickBy=Zo,Se.property=ql,Se.propertyOf=Ul,Se.pull=Lu,Se.pullAll=xr,Se.pullAllBy=kr,Se.pullAllWith=Lr,Se.pullAt=Du,Se.range=Ih,Se.rangeRight=Eh,Se.rearg=Qu,Se.reject=vs,Se.remove=Dr,Se.rest=Is,Se.reverse=Tr,Se.sampleSize=Ms,Se.set=tl,Se.setWith=el,Se.shuffle=ws,Se.slice=Sr,Se.sortBy=Nu,Se.sortedUniq=Ir,Se.sortedUniqBy=Er,Se.split=kl,Se.spread=Es,Se.tail=Fr,Se.take=Or,Se.takeRight=Wr,Se.takeRightWhile=Rr,Se.takeWhile=zr,Se.tap=Xr,Se.throttle=Fs,Se.thru=Qr,Se.toArray=So,Se.toPairs=nl,Se.toPairsIn=il,Se.toPath=Gl,Se.toPlainObject=Ho,Se.transform=al,Se.unary=Os,Se.union=Tu,Se.unionBy=Su,Se.unionWith=Yu,Se.uniq=Nr,Se.uniqBy=Br,Se.uniqWith=Vr,Se.unset=rl,Se.unzip=$r,Se.unzipWith=qr,Se.update=sl,Se.updateWith=ol,Se.values=ll,Se.valuesIn=dl,Se.without=Cu,Se.words=Pl,Se.wrap=Ws,Se.xor=Au,Se.xorBy=Hu,Se.xorWith=ju,Se.zip=Pu,Se.zipObject=Ur,Se.zipObjectDeep=Jr,Se.zipWith=Iu,Se.entries=nl,Se.entriesIn=il,Se.extend=rh,Se.extendWith=sh,Nl(Se,Se),Se.add=Fh,Se.attempt=Dh,Se.camelCase=yh,Se.capitalize=fl,Se.ceil=Oh,Se.clamp=ul,Se.clone=zs,Se.cloneDeep=Bs,Se.cloneDeepWith=Vs,Se.cloneWith=Ns,Se.deburr=pl,Se.divide=Wh,Se.endsWith=ml,Se.eq=$s,Se.escape=gl,Se.escapeRegExp=_l,Se.every=rs,Se.find=os,Se.findIndex=ur,Se.findKey=Eo,Se.findLast=ls,Se.findLastIndex=hr,Se.findLastKey=Fo,Se.floor=Rh,Se.forEach=cs,Se.forEachRight=fs,Se.forIn=Oo,Se.forInRight=Wo,Se.forOwn=Ro,Se.forOwnRight=zo,Se.get=Vo,Se.gt=Zu,Se.gte=Ku,Se.has=$o,Se.hasIn=qo,Se.head=gr,Se.identity=Ol,Se.includes=ps,Se.indexOf=_r,Se.inRange=hl,Se.invoke=fh,Se.isArguments=qs,Se.isArray=th,Se.isArrayBuffer=Us,Se.isArrayLike=Js,Se.isArrayLikeObject=Gs,Se.isBoolean=Xs,Se.isBuffer=eh,Se.isDate=Qs,Se.isElement=Zs,Se.isEmpty=Ks,Se.isEqual=to,Se.isEqualWith=eo,Se.isError=no,Se.isFinite=io,Se.isFunction=ao,Se.isInteger=ro,Se.isLength=so,Se.isMap=uo,Se.isMatch=ho,Se.isMatchWith=co,Se.isNaN=fo,Se.isNative=po,Se.isNil=go,Se.isNull=mo,Se.isNumber=_o,Se.isObject=oo,Se.isObjectLike=lo,Se.isPlainObject=yo,Se.isRegExp=vo,Se.isSafeInteger=bo,Se.isSet=Mo,Se.isString=wo,Se.isSymbol=xo,Se.isTypedArray=ko,Se.isUndefined=Lo,Se.isWeakMap=Do,Se.isWeakSet=To,Se.join=vr,Se.kebabCase=vh,Se.last=br,Se.lastIndexOf=Mr,Se.lowerCase=bh,Se.lowerFirst=Mh,Se.lt=nh,Se.lte=ih,Se.max=Ql,Se.maxBy=Zl,Se.mean=Kl,Se.meanBy=td,Se.min=ed,Se.minBy=nd,Se.multiply=zh,Se.nth=wr,Se.noConflict=Bl,Se.noop=Vl,Se.now=Bu,Se.pad=yl,Se.padEnd=vl,Se.padStart=bl,Se.parseInt=Ml,Se.random=cl,Se.reduce=_s,Se.reduceRight=ys,Se.repeat=wl,Se.replace=xl,Se.result=Ko,Se.round=Nh,Se.runInContext=V,Se.sample=bs,Se.size=xs,Se.snakeCase=wh,Se.some=ks,Se.sortedIndex=Yr,Se.sortedIndexBy=Cr,Se.sortedIndexOf=Ar,Se.sortedLastIndex=Hr,Se.sortedLastIndexBy=jr,Se.sortedLastIndexOf=Pr,Se.startCase=xh,Se.startsWith=Ll,Se.subtract=Bh,Se.sum=id,Se.sumBy=ad,Se.template=Dl,Se.times=Jl,Se.toInteger=Yo,Se.toLength=Co,Se.toLower=Tl,Se.toNumber=Ao,Se.toSafeInteger=jo,Se.toString=Po,Se.toUpper=Sl,Se.trim=Yl,Se.trimEnd=Cl,Se.trimStart=Al,Se.truncate=Hl,Se.unescape=jl,Se.uniqueId=Xl,Se.upperCase=kh,Se.upperFirst=Lh,Se.each=cs,Se.eachRight=fs,Se.first=gr,Nl(Se,function(){var t={};return On(Se,function(e,n){pd.call(Se.prototype,n)||(t[n]=e)}),t}(),{chain:!1}),Se.VERSION=q,r(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){Se[t].placeholder=Se}),r(["drop","take"],function(t,e){Ae.prototype[t]=function(n){var i=this.__filtered__;if(i&&!e)return new Ae(this);n=n===$?1:Od(Yo(n),0);var a=this.clone();return i?a.__takeCount__=Wd(n,a.__takeCount__):a.__views__.push({size:Wd(n,bt),type:t+(a.__dir__<0?"Right":"")}),a},Ae.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),r(["filter","map","takeWhile"],function(t,e){var n=e+1,i=n==ft||n==mt;Ae.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Da(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}}),r(["head","last"],function(t,e){var n="take"+(e?"Right":"");Ae.prototype[t]=function(){return this[n](1).value()[0]}}),r(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");Ae.prototype[t]=function(){return this.__filtered__?new Ae(this):this[n](1)}}),Ae.prototype.compact=function(){return this.filter(Ol)},Ae.prototype.find=function(t){
|
||
return this.filter(t).head()},Ae.prototype.findLast=function(t){return this.reverse().find(t)},Ae.prototype.invokeMap=Is(function(t,e){return"function"==typeof t?new Ae(this):this.map(function(n){return Gn(n,t,e)})}),Ae.prototype.reject=function(t){return t=Da(t,3),this.filter(function(e){return!t(e)})},Ae.prototype.slice=function(t,e){t=Yo(t);var n=this;return n.__filtered__&&(t>0||0>e)?new Ae(n):(0>t?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==$&&(e=Yo(e),n=0>e?n.dropRight(-e):n.take(e-t)),n)},Ae.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Ae.prototype.toArray=function(){return this.take(bt)},On(Ae.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),a=Se[i?"take"+("last"==e?"Right":""):e],r=i||/^find/.test(e);a&&(Se.prototype[e]=function(){var e=this.__wrapped__,s=i?[1]:arguments,o=e instanceof Ae,l=s[0],d=o||th(e),u=function(t){var e=a.apply(Se,c([t],s));return i&&h?e[0]:e};d&&n&&"function"==typeof l&&1!=l.length&&(o=d=!1);var h=this.__chain__,f=!!this.__actions__.length,p=r&&!h,m=o&&!f;if(!r&&d){e=m?e:new Ae(this);var g=t.apply(e,s);return g.__actions__.push({func:Qr,args:[u],thisArg:$}),new Ce(g,h)}return p&&m?t.apply(this,s):(g=this.thru(u),p?i?g.value()[0]:g.value():g)})}),r(["pop","push","shift","sort","splice","unshift"],function(t){var e=ud[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);Se.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var a=this.value();return e.apply(th(a)?a:[],t)}return this[n](function(n){return e.apply(th(n)?n:[],t)})}}),On(Ae.prototype,function(t,e){var n=Se[e];if(n){var i=n.name+"",a=Kd[i]||(Kd[i]=[]);a.push({name:e,func:n})}}),Kd[da($,Z).name]=[{name:"wrapper",func:$}],Ae.prototype.clone=He,Ae.prototype.reverse=je,Ae.prototype.value=Pe,Se.prototype.at=Eu,Se.prototype.chain=Zr,Se.prototype.commit=Kr,Se.prototype.next=ts,Se.prototype.plant=ns,Se.prototype.reverse=is,Se.prototype.toJSON=Se.prototype.valueOf=Se.prototype.value=as,Td&&(Se.prototype[Td]=es),Se}var $,q="4.11.2",U=200,J="Expected a function",G="__lodash_hash_undefined__",X="__lodash_placeholder__",Q=1,Z=2,K=4,tt=8,et=16,nt=32,it=64,at=128,rt=256,st=512,ot=1,lt=2,dt=30,ut="...",ht=150,ct=16,ft=1,pt=2,mt=3,gt=1/0,_t=9007199254740991,yt=1.7976931348623157e308,vt=NaN,bt=4294967295,Mt=bt-1,wt=bt>>>1,xt="[object Arguments]",kt="[object Array]",Lt="[object Boolean]",Dt="[object Date]",Tt="[object Error]",St="[object Function]",Yt="[object GeneratorFunction]",Ct="[object Map]",At="[object Number]",Ht="[object Object]",jt="[object Promise]",Pt="[object RegExp]",It="[object Set]",Et="[object String]",Ft="[object Symbol]",Ot="[object WeakMap]",Wt="[object WeakSet]",Rt="[object ArrayBuffer]",zt="[object DataView]",Nt="[object Float32Array]",Bt="[object Float64Array]",Vt="[object Int8Array]",$t="[object Int16Array]",qt="[object Int32Array]",Ut="[object Uint8Array]",Jt="[object Uint8ClampedArray]",Gt="[object Uint16Array]",Xt="[object Uint32Array]",Qt=/\b__p \+= '';/g,Zt=/\b(__p \+=) '' \+/g,Kt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,te=/&(?:amp|lt|gt|quot|#39|#96);/g,ee=/[&<>"'`]/g,ne=RegExp(te.source),ie=RegExp(ee.source),ae=/<%-([\s\S]+?)%>/g,re=/<%([\s\S]+?)%>/g,se=/<%=([\s\S]+?)%>/g,oe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,le=/^\w*$/,de=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g,ue=/[\\^$.*+?()[\]{}|]/g,he=RegExp(ue.source),ce=/^\s+|\s+$/g,fe=/^\s+/,pe=/\s+$/,me=/[a-zA-Z0-9]+/g,ge=/\\(\\)?/g,_e=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ye=/\w*$/,ve=/^0x/i,be=/^[-+]0x[0-9a-f]+$/i,Me=/^0b[01]+$/i,we=/^\[object .+?Constructor\]$/,xe=/^0o[0-7]+$/i,ke=/^(?:0|[1-9]\d*)$/,Le=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,De=/($^)/,Te=/['\n\r\u2028\u2029\\]/g,Se="\\ud800-\\udfff",Ye="\\u0300-\\u036f\\ufe20-\\ufe23",Ce="\\u20d0-\\u20f0",Ae="\\u2700-\\u27bf",He="a-z\\xdf-\\xf6\\xf8-\\xff",je="\\xac\\xb1\\xd7\\xf7",Pe="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ie="\\u2000-\\u206f",Ee=" \\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",Fe="A-Z\\xc0-\\xd6\\xd8-\\xde",Oe="\\ufe0e\\ufe0f",We=je+Pe+Ie+Ee,Re="['’]",ze="["+Se+"]",Ne="["+We+"]",Be="["+Ye+Ce+"]",Ve="\\d+",$e="["+Ae+"]",qe="["+He+"]",Ue="[^"+Se+We+Ve+Ae+He+Fe+"]",Je="\\ud83c[\\udffb-\\udfff]",Ge="(?:"+Be+"|"+Je+")",Xe="[^"+Se+"]",Qe="(?:\\ud83c[\\udde6-\\uddff]){2}",Ze="[\\ud800-\\udbff][\\udc00-\\udfff]",Ke="["+Fe+"]",tn="\\u200d",en="(?:"+qe+"|"+Ue+")",nn="(?:"+Ke+"|"+Ue+")",an="(?:"+Re+"(?:d|ll|m|re|s|t|ve))?",rn="(?:"+Re+"(?:D|LL|M|RE|S|T|VE))?",sn=Ge+"?",on="["+Oe+"]?",ln="(?:"+tn+"(?:"+[Xe,Qe,Ze].join("|")+")"+on+sn+")*",dn=on+sn+ln,un="(?:"+[$e,Qe,Ze].join("|")+")"+dn,hn="(?:"+[Xe+Be+"?",Be,Qe,Ze,ze].join("|")+")",cn=RegExp(Re,"g"),fn=RegExp(Be,"g"),pn=RegExp(Je+"(?="+Je+")|"+hn+dn,"g"),mn=RegExp([Ke+"?"+qe+"+"+an+"(?="+[Ne,Ke,"$"].join("|")+")",nn+"+"+rn+"(?="+[Ne,Ke+en,"$"].join("|")+")",Ke+"?"+en+"+"+an,Ke+"+"+rn,Ve,un].join("|"),"g"),gn=RegExp("["+tn+Se+Ye+Ce+Oe+"]"),_n=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,yn=["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","_","clearTimeout","isFinite","parseInt","setTimeout"],vn=-1,bn={};bn[Nt]=bn[Bt]=bn[Vt]=bn[$t]=bn[qt]=bn[Ut]=bn[Jt]=bn[Gt]=bn[Xt]=!0,bn[xt]=bn[kt]=bn[Rt]=bn[Lt]=bn[zt]=bn[Dt]=bn[Tt]=bn[St]=bn[Ct]=bn[At]=bn[Ht]=bn[Pt]=bn[It]=bn[Et]=bn[Ot]=!1;var Mn={};Mn[xt]=Mn[kt]=Mn[Rt]=Mn[zt]=Mn[Lt]=Mn[Dt]=Mn[Nt]=Mn[Bt]=Mn[Vt]=Mn[$t]=Mn[qt]=Mn[Ct]=Mn[At]=Mn[Ht]=Mn[Pt]=Mn[It]=Mn[Et]=Mn[Ft]=Mn[Ut]=Mn[Jt]=Mn[Gt]=Mn[Xt]=!0,Mn[Tt]=Mn[St]=Mn[Ot]=!1;var wn={"À":"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={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},kn={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},Ln={"function":!0,object:!0},Dn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Tn=parseFloat,Sn=parseInt,Yn=Ln[typeof exports]&&exports&&!exports.nodeType?exports:$,Cn=Ln[typeof module]&&module&&!module.nodeType?module:$,An=Cn&&Cn.exports===Yn?Yn:$,Hn=C(Yn&&Cn&&"object"==typeof global&&global),jn=C(Ln[typeof self]&&self),Pn=C(Ln[typeof window]&&window),In=C(Ln[typeof this]&&this),En=Hn||Pn!==(In&&In.window)&&Pn||jn||In||Function("return this")(),Fn=V();(Pn||jn||{})._=Fn,"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return Fn}):Yn&&Cn?(An&&((Cn.exports=Fn)._=Fn),Yn._=Fn):En._=Fn}.call(this),function(t,e){if("function"==typeof define&&define.amd)define(["exports","module"],e);else if("undefined"!=typeof exports&&"undefined"!=typeof module)e(exports,module);else{var n={exports:{}};e(n.exports,n),t.autosize=n.exports}}(this,function(t,e){"use strict";function n(t){function e(){var e=window.getComputedStyle(t,null);f=e.overflowY,"vertical"===e.resize?t.style.resize="none":"both"===e.resize&&(t.style.resize="horizontal"),c="content-box"===e.boxSizing?-(parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)):parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth),isNaN(c)&&(c=0),a()}function n(e){var n=t.style.width;t.style.width="0px",t.offsetWidth,t.style.width=n,f=e,h&&(t.style.overflowY=e),i()}function i(){var e=window.pageYOffset,n=document.body.scrollTop,i=t.style.height;t.style.height="auto";var a=t.scrollHeight+c;return 0===t.scrollHeight?void(t.style.height=i):(t.style.height=a+"px",p=t.clientWidth,document.documentElement.scrollTop=e,void(document.body.scrollTop=n))}function a(){var e=t.style.height;i();var a=window.getComputedStyle(t,null);if(a.height!==t.style.height?"visible"!==f&&n("visible"):"hidden"!==f&&n("hidden"),e!==t.style.height){var r=s("autosize:resized");t.dispatchEvent(r)}}var o=void 0===arguments[1]?{}:arguments[1],l=o.setOverflowX,d=void 0===l?!0:l,u=o.setOverflowY,h=void 0===u?!0:u;if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!r.has(t)){var c=null,f=null,p=t.clientWidth,m=function(){t.clientWidth!==p&&a()},g=function(e){window.removeEventListener("resize",m,!1),t.removeEventListener("input",a,!1),t.removeEventListener("keyup",a,!1),t.removeEventListener("autosize:destroy",g,!1),t.removeEventListener("autosize:update",a,!1),r["delete"](t),Object.keys(e).forEach(function(n){t.style[n]=e[n]})}.bind(t,{height:t.style.height,resize:t.style.resize,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",g,!1),"onpropertychange"in t&&"oninput"in t&&t.addEventListener("keyup",a,!1),window.addEventListener("resize",m,!1),t.addEventListener("input",a,!1),t.addEventListener("autosize:update",a,!1),r.add(t),d&&(t.style.overflowX="hidden",t.style.wordWrap="break-word"),e()}}function i(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName){var e=s("autosize:destroy");t.dispatchEvent(e)}}function a(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName){var e=s("autosize:update");t.dispatchEvent(e)}}var r="function"==typeof Set?new Set:function(){var t=[];return{has:function(e){return Boolean(t.indexOf(e)>-1)},add:function(e){t.push(e)},"delete":function(e){t.splice(t.indexOf(e),1)}}}(),s=function(t){return new Event(t)};try{new Event("test")}catch(o){s=function(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!1),e}}var l=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(l=function(t){return t},l.destroy=function(t){return t},l.update=function(t){return t}):(l=function(t,e){return t&&Array.prototype.forEach.call(t.length?t:[t],function(t){return n(t,e)}),t},l.destroy=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],i),t},l.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],a),t}),e.exports=l}),function(){var t,e=window.Messenger;t=window.Messenger=function(){return t._call.apply(this,arguments)},window.Messenger.noConflict=function(){return window.Messenger=e,t}}(),window.Messenger._=function(){if(window._)return window._;var t=Array.prototype,e=Object.prototype,n=Function.prototype,i=(t.push,t.slice),a=(t.concat,e.toString),r=(e.hasOwnProperty,t.forEach),s=(t.map,t.reduce,t.reduceRight,t.filter),o=(t.every,t.some,t.indexOf,t.lastIndexOf,Array.isArray,Object.keys),l=n.bind,d={},u={},h=d.each=d.forEach=function(t,e,n){if(null!=t)if(r&&t.forEach===r)t.forEach(e,n);else if(t.length===+t.length){for(var i=0,a=t.length;a>i;i++)if(e.call(n,t[i],i,t)===u)return}else for(var s in t)if(d.has(t,s)&&e.call(n,t[s],s,t)===u)return};d.result=function(t,e){if(null==t)return null;var n=t[e];return d.isFunction(n)?n.call(t):n},d.once=function(t){var e,n=!1;return function(){return n?e:(n=!0,e=t.apply(this,arguments),t=null,e)}};var c=0;return d.uniqueId=function(t){var e=++c+"";return t?t+e:e},d.filter=d.select=function(t,e,n){var i=[];return null==t?i:s&&t.filter===s?t.filter(e,n):(h(t,function(t,a,r){e.call(n,t,a,r)&&(i[i.length]=t)}),i)},h(["Arguments","Function","String","Number","Date","RegExp"],function(t){d["is"+t]=function(e){return a.call(e)=="[object "+t+"]"}}),d.defaults=function(t){return h(i.call(arguments,1),function(e){if(e)for(var n in e)null==t[n]&&(t[n]=e[n])}),t},d.extend=function(t){return h(i.call(arguments,1),function(e){if(e)for(var n in e)t[n]=e[n]}),t},d.keys=o||function(t){if(t!==Object(t))throw new TypeError("Invalid object");var e=[];for(var n in t)d.has(t,n)&&(e[e.length]=n);return e},d.bind=function(t,e){if(t.bind===l&&l)return l.apply(t,i.call(arguments,1));var n=i.call(arguments,2);return function(){return t.apply(e,n.concat(i.call(arguments)))}},d.isObject=function(t){return t===Object(t)},d}(),window.Messenger.Events=function(){if(window.Backbone&&Backbone.Events)return Backbone.Events;var t=function(){var t=/\s+/,e=function(e,n,i,a){if(!i)return!0;if("object"==typeof i)for(var r in i)e[n].apply(e,[r,i[r]].concat(a));else{if(!t.test(i))return!0;for(var s=i.split(t),o=0,l=s.length;l>o;o++)e[n].apply(e,[s[o]].concat(a))}},n=function(t,e){var n,i=-1,a=t.length;switch(e.length){case 0:for(;++i<a;)(n=t[i]).callback.call(n.ctx);return;case 1:for(;++i<a;)(n=t[i]).callback.call(n.ctx,e[0]);return;case 2:for(;++i<a;)(n=t[i]).callback.call(n.ctx,e[0],e[1]);return;case 3:for(;++i<a;)(n=t[i]).callback.call(n.ctx,e[0],e[1],e[2]);return;default:for(;++i<a;)(n=t[i]).callback.apply(n.ctx,e)}},i={on:function(t,n,i){if(!e(this,"on",t,[n,i])||!n)return this;this._events||(this._events={});var a=this._events[t]||(this._events[t]=[]);return a.push({callback:n,context:i,ctx:i||this}),this},once:function(t,n,i){if(!e(this,"once",t,[n,i])||!n)return this;var a=this,r=_.once(function(){a.off(t,r),n.apply(this,arguments)});return r._callback=n,this.on(t,r,i),this},off:function(t,n,i){var a,r,s,o,l,d,u,h;if(!this._events||!e(this,"off",t,[n,i]))return this;if(!t&&!n&&!i)return this._events={},this;for(o=t?[t]:_.keys(this._events),l=0,d=o.length;d>l;l++)if(t=o[l],a=this._events[t]){if(s=[],n||i)for(u=0,h=a.length;h>u;u++)r=a[u],(n&&n!==r.callback&&n!==r.callback._callback||i&&i!==r.context)&&s.push(r);this._events[t]=s}return this},trigger:function(t){if(!this._events)return this;var i=Array.prototype.slice.call(arguments,1);if(!e(this,"trigger",t,i))return this;var a=this._events[t],r=this._events.all;return a&&n(a,i),r&&n(r,arguments),this},listenTo:function(t,e,n){var i=this._listeners||(this._listeners={}),a=t._listenerId||(t._listenerId=_.uniqueId("l"));return i[a]=t,t.on(e,"object"==typeof e?this:n,this),this},stopListening:function(t,e,n){var i=this._listeners;if(i){if(t)t.off(e,"object"==typeof e?this:n,this),e||n||delete i[t._listenerId];else{"object"==typeof e&&(n=this);for(var a in i)i[a].off(e,n,this);this._listeners={}}return this}}};return i.bind=i.on,i.unbind=i.off,i};return t()}(),function(){var t,e,n,i,a,r,s,o,l,d,u,h={}.hasOwnProperty,c=function(t,e){function n(){this.constructor=t}for(var i in e)h.call(e,i)&&(t[i]=e[i]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},f=[].slice,p=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1};t=jQuery,r=null!=(l=window._)?l:window.Messenger._,i=null!=(d="undefined"!=typeof Backbone&&null!==Backbone?Backbone.Events:void 0)?d:window.Messenger.Events,n=function(){function e(e){t.extend(this,i),r.isObject(e)&&(e.el&&this.setElement(e.el),this.model=e.model),this.initialize.apply(this,arguments)}return e.prototype.setElement=function(e){return this.$el=t(e),this.el=this.$el[0]},e.prototype.delegateEvents=function(t){var e,n,i,a,s,o,l;if(t||(t=r.result(this,"events"))){this.undelegateEvents(),e=/^(\S+)\s*(.*)$/,l=[];for(i in t){if(s=t[i],r.isFunction(s)||(s=this[t[i]]),!s)throw new Error('Method "'+t[i]+'" does not exist');a=i.match(e),n=a[1],o=a[2],s=r.bind(s,this),n+=".delegateEvents"+this.cid,""===o?l.push(this.jqon(n,s)):l.push(this.jqon(n,o,s))}return l}},e.prototype.jqon=function(t,e,n){var i;return null!=this.$el.on?(i=this.$el).on.apply(i,arguments):(null==n&&(n=e,e=void 0),null!=e?this.$el.delegate(e,t,n):this.$el.bind(t,n))},e.prototype.jqoff=function(t){var e;return null!=this.$el.off?(e=this.$el).off.apply(e,arguments):(this.$el.undelegate(),this.$el.unbind(t))},e.prototype.undelegateEvents=function(){return this.jqoff(".delegateEvents"+this.cid)},e.prototype.remove=function(){return this.undelegateEvents(),this.$el.remove()},e}(),s=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return c(n,e),n.prototype.defaults={hideAfter:10,scroll:!0,closeButtonText:"×",escapeText:!1},n.prototype.initialize=function(e){return null==e&&(e={}),this.shown=!1,this.rendered=!1,this.messenger=e.messenger,this.options=t.extend({},this.options,e,this.defaults)},n.prototype.show=function(){var t;return this.rendered||this.render(),this.$message.removeClass("messenger-hidden"),t=this.shown,this.shown=!0,t?void 0:this.trigger("show")},n.prototype.hide=function(){var t;if(this.rendered)return this.$message.addClass("messenger-hidden"),t=this.shown,this.shown=!1,t?this.trigger("hide"):void 0},n.prototype.cancel=function(){return this.hide()},n.prototype.update=function(e){var n,i=this;return r.isString(e)&&(e={message:e}),t.extend(this.options,e),this.lastUpdate=new Date,this.rendered=!1,this.events=null!=(n=this.options.events)?n:{},this.render(),this.actionsToEvents(),this.delegateEvents(),this.checkClickable(),this.options.hideAfter?(this.$message.addClass("messenger-will-hide-after"),null!=this._hideTimeout&&clearTimeout(this._hideTimeout),this._hideTimeout=setTimeout(function(){return i.hide()},1e3*this.options.hideAfter)):this.$message.removeClass("messenger-will-hide-after"),this.options.hideOnNavigate?(this.$message.addClass("messenger-will-hide-on-navigate"),null!=("undefined"!=typeof Backbone&&null!==Backbone?Backbone.history:void 0)&&Backbone.history.on("route",function(){return i.hide()})):this.$message.removeClass("messenger-will-hide-on-navigate"),this.trigger("update",this)},n.prototype.scrollTo=function(){return this.options.scroll?t.scrollTo(this.$el,{duration:400,offset:{left:0,top:-20}}):void 0},n.prototype.timeSinceUpdate=function(){return this.lastUpdate?new Date-this.lastUpdate:null},n.prototype.actionsToEvents=function(){var t,e,n,i,a=this;n=this.options.actions,i=[];for(e in n)t=n[e],i.push(this.events['click [data-action="'+e+'"] a']=function(t){return function(n){return n.preventDefault(),n.stopPropagation(),a.trigger("action:"+e,t,n),t.action.call(a,n,a)}}(t));return i},n.prototype.checkClickable=function(){var t,e,n,i;n=this.events,i=[];for(e in n)t=n[e],"click"===e?i.push(this.$message.addClass("messenger-clickable")):i.push(void 0);return i},n.prototype.undelegateEvents=function(){var t;return n.__super__.undelegateEvents.apply(this,arguments),null!=(t=this.$message)?t.removeClass("messenger-clickable"):void 0},n.prototype.parseActions=function(){var e,n,i,a,r,s;n=[],r=this.options.actions;for(a in r)e=r[a],i=t.extend({},e),i.name=a,null==(s=i.label)&&(i.label=a),n.push(i);return n},n.prototype.template=function(e){var n,i,a,r,s,o,l,d,u,h,c=this;for(s=t("<div class='messenger-message message alert "+e.type+" message-"+e.type+" alert-"+e.type+"'>"),e.showCloseButton&&(a=t('<button type="button" class="messenger-close" data-dismiss="alert">'),a.html(e.closeButtonText),a.click(function(){var t;return c.cancel(),"function"==typeof(t=c.options).onClickClose&&t.onClickClose(),!0}),s.append(a)),o=e.escapeText?t('<div class="messenger-message-inner"></div>').text(e.message):t('<div class="messenger-message-inner">'+e.message+"</div>"),s.append(o),e.actions.length&&(i=t('<div class="messenger-actions">')),h=e.actions,d=0,u=h.length;u>d;d++)l=h[d],n=t("<span>"),n.attr("data-action",""+l.name),r=t("<a>"),r.html(l.label),n.append(t('<span class="messenger-phrase">')),n.append(r),i.append(n);return s.append(i),s},n.prototype.render=function(){var e;if(!this.rendered)return this._hasSlot||(this.setElement(this.messenger._reserveMessageSlot(this)),this._hasSlot=!0),e=t.extend({},this.options,{actions:this.parseActions()}),this.$message=t(this.template(e)),this.$el.html(this.$message),this.shown=!0,this.rendered=!0,this.trigger("render")},n}(n),a=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.initialize=function(){return e.__super__.initialize.apply(this,arguments),this._timers={}},e.prototype.cancel=function(){return this.clearTimers(),this.hide(),null!=this._actionInstance&&null!=this._actionInstance.abort?this._actionInstance.abort():void 0},e.prototype.clearTimers=function(){var t,e,n,i;n=this._timers;for(t in n)e=n[t],clearTimeout(e);return this._timers={},null!=(i=this.$message)?i.removeClass("messenger-retry-soon messenger-retry-later"):void 0},e.prototype.render=function(){var t,n,i,a;e.__super__.render.apply(this,arguments),this.clearTimers(),i=this.options.actions,a=[];for(n in i)t=i[n],t.auto?a.push(this.startCountdown(n,t)):a.push(void 0);return a},e.prototype.renderPhrase=function(t,e){var n;return n=t.phrase.replace("TIME",this.formatTime(e))},e.prototype.formatTime=function(t){var e;return e=function(t,e){return t=Math.floor(t),1!==t&&(e+="s"),"in "+t+" "+e},0===Math.floor(t)?"now...":60>t?e(t,"second"):(t/=60,60>t?e(t,"minute"):(t/=60,e(t,"hour")))},e.prototype.startCountdown=function(t,e){var n,i,a,r,s=this;if(null==this._timers[t])return n=this.$message.find("[data-action='"+t+"'] .messenger-phrase"),i=null!=(r=e.delay)?r:3,10>=i?(this.$message.removeClass("messenger-retry-later"),this.$message.addClass("messenger-retry-soon")):(this.$message.removeClass("messenger-retry-soon"),this.$message.addClass("messenger-retry-later")),(a=function(){var r;return n.text(s.renderPhrase(e,i)),i>0?(r=Math.min(i,1),i-=r,s._timers[t]=setTimeout(a,1e3*r)):(s.$message.removeClass("messenger-retry-soon messenger-retry-later"),delete s._timers[t],e.action())})()},e}(s),o=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return c(n,e),n.prototype.tagName="ul",n.prototype.className="messenger",n.prototype.messageDefaults={type:"info"},n.prototype.initialize=function(e){return this.options=null!=e?e:{},this.history=[],this.messageDefaults=t.extend({},this.messageDefaults,this.options.messageDefaults)},n.prototype.render=function(){return this.updateMessageSlotClasses()},n.prototype.findById=function(t){return r.filter(this.history,function(e){return e.msg.options.id===t})},n.prototype._reserveMessageSlot=function(e){var n,i,a=this;for(n=t("<li>"),n.addClass("messenger-message-slot"),this.$el.prepend(n),this.history.push({msg:e,$slot:n}),this._enforceIdConstraint(e),e.on("update",function(){return a._enforceIdConstraint(e)});this.options.maxMessages&&this.history.length>this.options.maxMessages;)i=this.history.shift(),i.msg.remove(),i.$slot.remove();return n},n.prototype._enforceIdConstraint=function(t){var e,n,i,a,r;if(null!=t.options.id)for(r=this.history,n=0,i=r.length;i>n;n++)if(e=r[n],a=e.msg,null!=a.options.id&&a.options.id===t.options.id&&t!==a){if(t.options.singleton)return void t.hide();a.hide()}},n.prototype.newMessage=function(t){var e,n,i,r,o=this;return null==t&&(t={}),t.messenger=this,s=null!=(n=null!=(i=Messenger.themes[null!=(r=t.theme)?r:this.options.theme])?i.Message:void 0)?n:a,e=new s(t),e.on("show",function(){return t.scrollTo&&"fixed"!==o.$el.css("position")?e.scrollTo():void 0}),e.on("hide show render",this.updateMessageSlotClasses,this),e},n.prototype.updateMessageSlotClasses=function(){var t,e,n,i,a,r,s;for(i=!0,e=null,t=!1,s=this.history,a=0,r=s.length;r>a;a++)n=s[a],n.$slot.removeClass("messenger-first messenger-last messenger-shown"),n.msg.shown&&n.msg.rendered&&(n.$slot.addClass("messenger-shown"),t=!0,e=n,i&&(i=!1,n.$slot.addClass("messenger-first")));return null!=e&&e.$slot.addClass("messenger-last"),this.$el[""+(t?"remove":"add")+"Class"]("messenger-empty")},n.prototype.hideAll=function(){var t,e,n,i,a;for(i=this.history,a=[],e=0,n=i.length;n>e;e++)t=i[e],a.push(t.msg.hide());return a},n.prototype.post=function(e){var n;return r.isString(e)&&(e={message:e}),e=t.extend(!0,{},this.messageDefaults,e),n=this.newMessage(e),n.update(e),n},n}(n),e=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return c(n,e),n.prototype.doDefaults={progressMessage:null,successMessage:null,errorMessage:"Error connecting to the server.",showSuccessWithoutError:!0,retry:{auto:!0,allow:!0},action:t.ajax},n.prototype.hookBackboneAjax=function(e){var n,i=this;if(null==e&&(e={}),null==window.Backbone)throw"Expected Backbone to be defined";return e=r.defaults(e,{id:"BACKBONE_ACTION",errorMessage:!1,successMessage:"Request completed successfully.",showSuccessWithoutError:!1}),n=function(t){var n;return n=r.extend({},e,t.messenger),i["do"](n,t)},null!=Backbone.ajax?(Backbone.ajax._withoutMessenger&&(Backbone.ajax=Backbone.ajax._withoutMessenger),null!=e.action&&e.action!==this.doDefaults.action||(e.action=Backbone.ajax),n._withoutMessenger=Backbone.ajax,Backbone.ajax=n):Backbone.sync=r.wrap(Backbone.sync,function(){var e,i,a;return a=arguments[0],e=2<=arguments.length?f.call(arguments,1):[],i=t.ajax,t.ajax=n,a.call.apply(a,[this].concat(f.call(e))),t.ajax=i})},n.prototype._getHandlerResponse=function(t){return t===!1?!1:t===!0||null==t?!0:t},n.prototype._parseEvents=function(t){var e,n,i,a,r,s,o;null==t&&(t={}),r={};for(a in t)i=t[a],n=a.indexOf(" "),s=a.substring(0,n),e=a.substring(n+1),null==(o=r[s])&&(r[s]={}),r[s][e]=i;return r},n.prototype._normalizeResponse=function(){var t,e,n,i,a,s,o;for(n=1<=arguments.length?f.call(arguments,0):[],i=null,a=null,t=null,s=0,o=n.length;o>s;s++)e=n[s],"success"===e||"timeout"===e||"abort"===e?i=e:null!=(null!=e?e.readyState:void 0)&&null!=(null!=e?e.responseText:void 0)?a=e:r.isObject(e)&&(t=e);return[i,t,a]},n.prototype.run=function(){var e,n,i,a,s,o,l,d,u,h,c,m=this;if(o=arguments[0],u=arguments[1],e=3<=arguments.length?f.call(arguments,2):[],null==u&&(u={}),o=t.extend(!0,{},this.messageDefaults,this.doDefaults,null!=o?o:{}),n=this._parseEvents(o.events),i=function(t,e){var n;return n=o[t+"Message"],r.isFunction(n)?n.call(m,t,e):n},l=null!=(c=o.messageInstance)?c:this.newMessage(o),null!=o.id&&(l.options.id=o.id),null!=o.progressMessage&&l.update(t.extend({},o,{message:i("progress",null),type:"info"})),s={},r.each(["error","success"],function(a){var d;return d=u[a],s[a]=function(){var s,h,c,g,_,y,v,b,M,w,x,k,L,D,T;return y=1<=arguments.length?f.call(arguments,0):[],M=m._normalizeResponse.apply(m,y),_=M[0],s=M[1],b=M[2],"success"===a&&null==l.errorCount&&o.showSuccessWithoutError===!1&&(o.successMessage=null),"error"===a&&(null==(w=o.errorCount)&&(o.errorCount=0),o.errorCount+=1),c=o.returnsPromise?y[0]:"function"==typeof d?d.apply(null,y):void 0,v=m._getHandlerResponse(c),r.isString(v)&&(v={message:v}),"error"!==a||0!==(null!=b?b.status:void 0)&&"abort"!==_?"error"===a&&null!=o.ignoredErrorCodes&&(x=null!=b?b.status:void 0,p.call(o.ignoredErrorCodes,x)>=0)?void l.hide():(h={message:i(a,b),type:a,events:null!=(k=n[a])?k:{},hideOnNavigate:"success"===a},g=t.extend({},o,h,v),"number"==typeof(null!=(L=g.retry)?L.allow:void 0)&&g.retry.allow--,"error"===a&&(null!=b?b.status:void 0)>=500&&(null!=(D=g.retry)?D.allow:void 0)?(null==g.retry.delay&&(g.errorCount<4?g.retry.delay=10:g.retry.delay=300),g.hideAfter&&(null==(T=g._hideAfter)&&(g._hideAfter=g.hideAfter),g.hideAfter=g._hideAfter+g.retry.delay),g._retryActions=!0,g.actions={retry:{label:"retry now",phrase:"Retrying TIME",auto:g.retry.auto,delay:g.retry.delay,action:function(){return g.messageInstance=l,setTimeout(function(){return m["do"].apply(m,[g,u].concat(f.call(e)))},0)}},cancel:{action:function(){return l.cancel()}}}):g._retryActions&&(delete g.actions.retry,delete g.actions.cancel,delete o._retryActions),l.update(g),v&&g.message?(Messenger(r.extend({},m.options,{instance:m})),l.show()):l.hide()):void l.hide()}}),!o.returnsPromise)for(h in s)a=s[h],d=u[h],u[h]=a;return l._actionInstance=o.action.apply(o,[u].concat(f.call(e))),o.returnsPromise&&l._actionInstance.then(s.success,s.error),l},n.prototype["do"]=n.prototype.run,n.prototype.ajax=function(){var e,n;return n=arguments[0],e=2<=arguments.length?f.call(arguments,1):[],n.action=t.ajax,this.run.apply(this,[n].concat(f.call(e)))},n.prototype.expectPromise=function(t,e){return e=r.extend({},e,{action:t,returnsPromise:!0}),this.run(e)},n.prototype.error=function(t){return null==t&&(t={}),"string"==typeof t&&(t={message:t}),t.type="error",this.post(t)},n.prototype.info=function(t){return null==t&&(t={}),"string"==typeof t&&(t={message:t}),t.type="info",this.post(t)},n.prototype.success=function(t){return null==t&&(t={}),"string"==typeof t&&(t={message:t}),t.type="success",this.post(t)},n}(o),t.fn.messenger=function(){var n,i,a,s,l,d,u,h;return a=arguments[0],i=2<=arguments.length?f.call(arguments,1):[],null==a&&(a={}),n=this,null!=a&&r.isString(a)?(h=n.data("messenger"))[a].apply(h,i):(l=a,null==n.data("messenger")&&(o=null!=(d=null!=(u=Messenger.themes[l.theme])?u.Messenger:void 0)?d:e,n.data("messenger",s=new o(t.extend({el:n},l))),s.render()),n.data("messenger"))},window.Messenger._call=function(e){var n,i,a,r,s,o,l,d,u,h,c;if(o={extraClasses:"messenger-fixed messenger-on-bottom messenger-on-right",theme:"future",maxMessages:9,parentLocations:["body"]},e=t.extend(o,t._messengerDefaults,Messenger.options,e),null!=e.theme&&(e.extraClasses+=" messenger-theme-"+e.theme),l=e.instance||Messenger.instance,null==e.instance){for(u=e.parentLocations,i=null,a=null,h=0,c=u.length;c>h;h++)if(d=u[h],i=t(d),i.length){r=d;break}l?t(l._location).is(t(r))||(l.$el.detach(),i.prepend(l.$el)):(n=t("<ul>"),i.prepend(n),l=n.messenger(e),l._location=r,Messenger.instance=l)}return null!=l._addedClasses&&l.$el.removeClass(l._addedClasses),l.$el.addClass(s=""+l.className+" "+e.extraClasses),l._addedClasses=s,l},t.extend(Messenger,{Message:a,Messenger:e,themes:null!=(u=Messenger.themes)?u:{}}),t.globalMessenger=window.Messenger=Messenger}.call(this),function(t){"use strict";"function"==typeof define&&define.amd?define(t):"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=t():"undefined"!=typeof Package?Sortable=t():window.Sortable=t()}(function(){"use strict";function t(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(t);this.el=t,this.options=e=_({},e),t[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(t.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",ignore:"a, img",filter:null,animation:0,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1};for(var i in n)!(i in e)&&(e[i]=n[i]);U(e);for(var r in this)"_"===r.charAt(0)&&(this[r]=this[r].bind(this));this.nativeDraggable=e.forceFallback?!1:z,a(t,"mousedown",this._onTapStart),a(t,"touchstart",this._onTapStart),this.nativeDraggable&&(a(t,"dragover",this),a(t,"dragenter",this)),$.push(this._onDragOver),e.store&&this.sort(e.store.get(this))}function e(t){M&&M.state!==t&&(o(M,"display",t?"none":""),!t&&M.state&&w.insertBefore(M,y),M.state=t)}function n(t,e,n){if(t){n=n||W,e=e.split(".");var i=e.shift().toUpperCase(),a=new RegExp("\\s("+e.join("|")+")(?=\\s)","g");do if(">*"===i&&t.parentNode===n||(""===i||t.nodeName.toUpperCase()==i)&&(!e.length||((" "+t.className+" ").match(a)||[]).length==e.length))return t;while(t!==n&&(t=t.parentNode))}return null}function i(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.preventDefault()}function a(t,e,n){t.addEventListener(e,n,!1)}function r(t,e,n){t.removeEventListener(e,n,!1)}function s(t,e,n){if(t)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(E," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(E," ")}}function o(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return W.defaultView&&W.defaultView.getComputedStyle?n=W.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in i||(e="-webkit-"+e),i[e]=n+("string"==typeof n?"":"px")}}function l(t,e,n){if(t){var i=t.getElementsByTagName(e),a=0,r=i.length;if(n)for(;r>a;a++)n(i[a],a);return i}return[]}function d(t,e,n,i,a,r,s){var o=W.createEvent("Event"),l=(t||e[F]).options,d="on"+n.charAt(0).toUpperCase()+n.substr(1);
|
||
o.initEvent(n,!0,!0),o.to=e,o.from=a||e,o.item=i||e,o.clone=M,o.oldIndex=r,o.newIndex=s,e.dispatchEvent(o),l[d]&&l[d].call(t,o)}function u(t,e,n,i,a,r){var s,o,l=t[F],d=l.options.onMove;return s=W.createEvent("Event"),s.initEvent("move",!0,!0),s.to=e,s.from=t,s.dragged=n,s.draggedRect=i,s.related=a||e,s.relatedRect=r||e.getBoundingClientRect(),t.dispatchEvent(s),d&&(o=d.call(l,s)),o}function h(t){t.draggable=!1}function c(){B=!1}function f(t,e){var n=t.lastElementChild,i=n.getBoundingClientRect();return(e.clientY-(i.top+i.height)>5||e.clientX-(i.right+i.width)>5)&&n}function p(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;n--;)i+=e.charCodeAt(n);return i.toString(36)}function m(t){var e=0;if(!t||!t.parentNode)return-1;for(;t&&(t=t.previousElementSibling);)"TEMPLATE"!==t.nodeName.toUpperCase()&&e++;return e}function g(t,e){var n,i;return function(){void 0===n&&(n=arguments,i=this,setTimeout(function(){1===n.length?t.call(i,n[0]):t.apply(i,n),n=void 0},e))}}function _(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var y,v,b,M,w,x,k,L,D,T,S,Y,C,A,H,j,P,I={},E=/\s+/g,F="Sortable"+(new Date).getTime(),O=window,W=O.document,R=O.parseInt,z=!!("draggable"in W.createElement("div")),N=function(t){return t=W.createElement("x"),t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}(),B=!1,V=Math.abs,$=([].slice,[]),q=g(function(t,e,n){if(n&&e.scroll){var i,a,r,s,o=e.scrollSensitivity,l=e.scrollSpeed,d=t.clientX,u=t.clientY,h=window.innerWidth,c=window.innerHeight;if(L!==n&&(k=e.scroll,L=n,k===!0)){k=n;do if(k.offsetWidth<k.scrollWidth||k.offsetHeight<k.scrollHeight)break;while(k=k.parentNode)}k&&(i=k,a=k.getBoundingClientRect(),r=(V(a.right-d)<=o)-(V(a.left-d)<=o),s=(V(a.bottom-u)<=o)-(V(a.top-u)<=o)),r||s||(r=(o>=h-d)-(o>=d),s=(o>=c-u)-(o>=u),(r||s)&&(i=O)),I.vx===r&&I.vy===s&&I.el===i||(I.el=i,I.vx=r,I.vy=s,clearInterval(I.pid),i&&(I.pid=setInterval(function(){i===O?O.scrollTo(O.pageXOffset+r*l,O.pageYOffset+s*l):(s&&(i.scrollTop+=s*l),r&&(i.scrollLeft+=r*l))},24)))}},30),U=function(t){var e=t.group;e&&"object"==typeof e||(e=t.group={name:e}),["pull","put"].forEach(function(t){t in e||(e[t]=!0)}),t.groups=" "+e.name+(e.put.join?" "+e.put.join(" "):"")+" "};return t.prototype={constructor:t,_onTapStart:function(t){var e=this,i=this.el,a=this.options,r=t.type,s=t.touches&&t.touches[0],o=(s||t).target,l=o,u=a.filter;if(!("mousedown"===r&&0!==t.button||a.disabled)&&(o=n(o,a.draggable,i))){if(Y=m(o),"function"==typeof u){if(u.call(this,t,o,this))return d(e,l,"filter",o,i,Y),void t.preventDefault()}else if(u&&(u=u.split(",").some(function(t){return t=n(l,t.trim(),i),t?(d(e,t,"filter",o,i,Y),!0):void 0})))return void t.preventDefault();a.handle&&!n(l,a.handle,i)||this._prepareDragStart(t,s,o)}},_prepareDragStart:function(t,e,n){var i,r=this,o=r.el,d=r.options,u=o.ownerDocument;n&&!y&&n.parentNode===o&&(H=t,w=o,y=n,v=y.parentNode,x=y.nextSibling,A=d.group,i=function(){r._disableDelayedDrag(),y.draggable=!0,s(y,r.options.chosenClass,!0),r._triggerDragStart(e)},d.ignore.split(",").forEach(function(t){l(y,t.trim(),h)}),a(u,"mouseup",r._onDrop),a(u,"touchend",r._onDrop),a(u,"touchcancel",r._onDrop),d.delay?(a(u,"mouseup",r._disableDelayedDrag),a(u,"touchend",r._disableDelayedDrag),a(u,"touchcancel",r._disableDelayedDrag),a(u,"mousemove",r._disableDelayedDrag),a(u,"touchmove",r._disableDelayedDrag),r._dragStartTimer=setTimeout(i,d.delay)):i())},_disableDelayedDrag:function(){var t=this.el.ownerDocument;clearTimeout(this._dragStartTimer),r(t,"mouseup",this._disableDelayedDrag),r(t,"touchend",this._disableDelayedDrag),r(t,"touchcancel",this._disableDelayedDrag),r(t,"mousemove",this._disableDelayedDrag),r(t,"touchmove",this._disableDelayedDrag)},_triggerDragStart:function(t){t?(H={target:y,clientX:t.clientX,clientY:t.clientY},this._onDragStart(H,"touch")):this.nativeDraggable?(a(y,"dragend",this),a(w,"dragstart",this._onDragStart)):this._onDragStart(H,!0);try{W.selection?W.selection.empty():window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){w&&y&&(s(y,this.options.ghostClass,!0),t.active=this,d(this,w,"start",y,w,Y))},_emulateDragOver:function(){if(j){if(this._lastX===j.clientX&&this._lastY===j.clientY)return;this._lastX=j.clientX,this._lastY=j.clientY,N||o(b,"display","none");var t=W.elementFromPoint(j.clientX,j.clientY),e=t,n=" "+this.options.group.name,i=$.length;if(e)do{if(e[F]&&e[F].options.groups.indexOf(n)>-1){for(;i--;)$[i]({clientX:j.clientX,clientY:j.clientY,target:t,rootEl:e});break}t=e}while(e=e.parentNode);N||o(b,"display","")}},_onTouchMove:function(e){if(H){t.active||this._dragStarted(),this._appendGhost();var n=e.touches?e.touches[0]:e,i=n.clientX-H.clientX,a=n.clientY-H.clientY,r=e.touches?"translate3d("+i+"px,"+a+"px,0)":"translate("+i+"px,"+a+"px)";P=!0,j=n,o(b,"webkitTransform",r),o(b,"mozTransform",r),o(b,"msTransform",r),o(b,"transform",r),e.preventDefault()}},_appendGhost:function(){if(!b){var t,e=y.getBoundingClientRect(),n=o(y),i=this.options;b=y.cloneNode(!0),s(b,i.ghostClass,!1),s(b,i.fallbackClass,!0),o(b,"top",e.top-R(n.marginTop,10)),o(b,"left",e.left-R(n.marginLeft,10)),o(b,"width",e.width),o(b,"height",e.height),o(b,"opacity","0.8"),o(b,"position","fixed"),o(b,"zIndex","100000"),o(b,"pointerEvents","none"),i.fallbackOnBody&&W.body.appendChild(b)||w.appendChild(b),t=b.getBoundingClientRect(),o(b,"width",2*e.width-t.width),o(b,"height",2*e.height-t.height)}},_onDragStart:function(t,e){var n=t.dataTransfer,i=this.options;this._offUpEvents(),"clone"==A.pull&&(M=y.cloneNode(!0),o(M,"display","none"),w.insertBefore(M,y)),e?("touch"===e?(a(W,"touchmove",this._onTouchMove),a(W,"touchend",this._onDrop),a(W,"touchcancel",this._onDrop)):(a(W,"mousemove",this._onTouchMove),a(W,"mouseup",this._onDrop)),this._loopId=setInterval(this._emulateDragOver,50)):(n&&(n.effectAllowed="move",i.setData&&i.setData.call(this,n,y)),a(W,"drop",this),setTimeout(this._dragStarted,0))},_onDragOver:function(t){var i,a,r,s=this.el,l=this.options,d=l.group,h=d.put,p=A===d,m=l.sort;if(void 0!==t.preventDefault&&(t.preventDefault(),!l.dragoverBubble&&t.stopPropagation()),P=!0,A&&!l.disabled&&(p?m||(r=!w.contains(y)):A.pull&&h&&(A.name===d.name||h.indexOf&&~h.indexOf(A.name)))&&(void 0===t.rootEl||t.rootEl===this.el)){if(q(t,l,this.el),B)return;if(i=n(t.target,l.draggable,s),a=y.getBoundingClientRect(),r)return e(!0),void(M||x?w.insertBefore(y,M||x):m||w.appendChild(y));if(0===s.children.length||s.children[0]===b||s===t.target&&(i=f(s,t))){if(i){if(i.animated)return;_=i.getBoundingClientRect()}e(p),u(w,s,y,a,i,_)!==!1&&(y.contains(s)||(s.appendChild(y),v=s),this._animate(a,y),i&&this._animate(_,i))}else if(i&&!i.animated&&i!==y&&void 0!==i.parentNode[F]){D!==i&&(D=i,T=o(i),S=o(i.parentNode));var g,_=i.getBoundingClientRect(),k=_.right-_.left,L=_.bottom-_.top,Y=/left|right|inline/.test(T.cssFloat+T.display)||"flex"==S.display&&0===S["flex-direction"].indexOf("row"),C=i.offsetWidth>y.offsetWidth,H=i.offsetHeight>y.offsetHeight,j=(Y?(t.clientX-_.left)/k:(t.clientY-_.top)/L)>.5,I=i.nextElementSibling,E=u(w,s,y,a,i,_);if(E!==!1){if(B=!0,setTimeout(c,30),e(p),1===E||-1===E)g=1===E;else if(Y){var O=y.offsetTop,W=i.offsetTop;g=O===W?i.previousElementSibling===y&&!C||j&&C:W>O}else g=I!==y&&!H||j&&H;y.contains(s)||(g&&!I?s.appendChild(y):i.parentNode.insertBefore(y,g?I:i)),v=y.parentNode,this._animate(a,y),this._animate(_,i)}}}},_animate:function(t,e){var n=this.options.animation;if(n){var i=e.getBoundingClientRect();o(e,"transition","none"),o(e,"transform","translate3d("+(t.left-i.left)+"px,"+(t.top-i.top)+"px,0)"),e.offsetWidth,o(e,"transition","all "+n+"ms"),o(e,"transform","translate3d(0,0,0)"),clearTimeout(e.animated),e.animated=setTimeout(function(){o(e,"transition",""),o(e,"transform",""),e.animated=!1},n)}},_offUpEvents:function(){var t=this.el.ownerDocument;r(W,"touchmove",this._onTouchMove),r(t,"mouseup",this._onDrop),r(t,"touchend",this._onDrop),r(t,"touchcancel",this._onDrop)},_onDrop:function(e){var n=this.el,i=this.options;clearInterval(this._loopId),clearInterval(I.pid),clearTimeout(this._dragStartTimer),r(W,"mousemove",this._onTouchMove),this.nativeDraggable&&(r(W,"drop",this),r(n,"dragstart",this._onDragStart)),this._offUpEvents(),e&&(P&&(e.preventDefault(),!i.dropBubble&&e.stopPropagation()),b&&b.parentNode.removeChild(b),y&&(this.nativeDraggable&&r(y,"dragend",this),h(y),s(y,this.options.ghostClass,!1),s(y,this.options.chosenClass,!1),w!==v?(C=m(y),C>=0&&(d(null,v,"sort",y,w,Y,C),d(this,w,"sort",y,w,Y,C),d(null,v,"add",y,w,Y,C),d(this,w,"remove",y,w,Y,C))):(M&&M.parentNode.removeChild(M),y.nextSibling!==x&&(C=m(y),C>=0&&(d(this,w,"update",y,w,Y,C),d(this,w,"sort",y,w,Y,C)))),t.active&&(null!==C&&-1!==C||(C=Y),d(this,w,"end",y,w,Y,C),this.save())),w=y=v=b=x=M=k=L=H=j=P=C=D=T=A=t.active=null)},handleEvent:function(t){var e=t.type;"dragover"===e||"dragenter"===e?y&&(this._onDragOver(t),i(t)):"drop"!==e&&"dragend"!==e||this._onDrop(t)},toArray:function(){for(var t,e=[],i=this.el.children,a=0,r=i.length,s=this.options;r>a;a++)t=i[a],n(t,s.draggable,this.el)&&e.push(t.getAttribute(s.dataIdAttr)||p(t));return e},sort:function(t){var e={},i=this.el;this.toArray().forEach(function(t,a){var r=i.children[a];n(r,this.options.draggable,i)&&(e[t]=r)},this),t.forEach(function(t){e[t]&&(i.removeChild(e[t]),i.appendChild(e[t]))})},save:function(){var t=this.options.store;t&&t.set(this)},closest:function(t,e){return n(t,e||this.options.draggable,this.el)},option:function(t,e){var n=this.options;return void 0===e?n[t]:(n[t]=e,void("group"===t&&U(n)))},destroy:function(){var t=this.el;t[F]=null,r(t,"mousedown",this._onTapStart),r(t,"touchstart",this._onTapStart),this.nativeDraggable&&(r(t,"dragover",this),r(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),$.splice($.indexOf(this._onDragOver),1),this._onDrop(),this.el=t=null}},t.utils={on:a,off:r,css:o,find:l,is:function(t,e){return!!n(t,e,t)},extend:_,throttle:g,closest:n,toggleClass:s,index:m},t.create=function(e,n){return new t(e,n)},t.version="1.4.2",t}),function(t,e){var n=1e3,i=!1,a=t([]),r=function(){l.resume()},s=function(n,i){var r=n.data("livestampdata");if("number"==typeof i&&(i*=1e3),n.removeAttr("data-livestamp").removeData("livestamp"),i=e(i),e.isMoment(i)&&!isNaN(+i)){var s=t.extend({},{original:n.contents()},r);s.moment=e(i),n.data("livestampdata",s).empty(),a.push(n[0])}},o=function(){i||(l.update(),setTimeout(o,n))},l={update:function(){t("[data-livestamp]").each(function(){var e=t(this);s(e,e.data("livestamp"))});var n=[];a.each(function(){var i=t(this),a=i.data("livestampdata");if(void 0===a)n.push(this);else if(e.isMoment(a.moment)){var r=i.html(),s=a.moment.fromNow();if(r!=s){var o=t.Event("change.livestamp");i.trigger(o,[r,s]),o.isDefaultPrevented()||i.html(s)}}}),a=a.not(n)},pause:function(){i=!0},resume:function(){i=!1,o()},interval:function(t){return void 0===t?n:void(n=t)}},d={add:function(n,i){return"number"==typeof i&&(i*=1e3),i=e(i),e.isMoment(i)&&!isNaN(+i)&&(n.each(function(){s(t(this),i)}),l.update()),n},destroy:function(e){return a=a.not(e),e.each(function(){var n=t(this),i=n.data("livestampdata");return void 0===i?e:void n.html(i.original?i.original:"").removeData("livestampdata")}),e},isLivestamp:function(t){return void 0!==t.data("livestampdata")}};t.livestamp=l,t(r),t.fn.livestamp=function(t,e){return d[t]||(e=t,t="add"),d[t](this,e)}}(jQuery,moment),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){"use strict";function e(e,n){var i,a,r,s,o,d=t('<div class="minicolors" />'),u=t.minicolors.defaults;if(!e.data("minicolors-initialized")){if(n=t.extend(!0,{},u,n),d.addClass("minicolors-theme-"+n.theme).toggleClass("minicolors-with-opacity",n.opacity).toggleClass("minicolors-no-data-uris",n.dataUris!==!0),void 0!==n.position&&t.each(n.position.split(" "),function(){d.addClass("minicolors-position-"+this)}),i="rgb"===n.format?n.opacity?"25":"20":n.keywords?"11":"7",e.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",n).prop("size",i).wrap(d).after('<div class="minicolors-panel minicolors-slider-'+n.control+'"><div class="minicolors-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-opacity-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-grid minicolors-sprite"><div class="minicolors-grid-inner"></div><div class="minicolors-picker"><div></div></div></div></div>'),n.inline||(e.after('<span class="minicolors-swatch minicolors-sprite minicolors-input-swatch"><span class="minicolors-swatch-color"></span></span>'),e.next(".minicolors-input-swatch").on("click",function(t){t.preventDefault(),e.focus()})),s=e.parent().find(".minicolors-panel"),s.on("selectstart",function(){return!1}).end(),n.swatches&&0!==n.swatches.length)for(n.swatches.length>7&&(n.swatches.length=7),s.addClass("minicolors-with-swatches"),a=t('<ul class="minicolors-swatches"></ul>').appendTo(s),o=0;o<n.swatches.length;++o)r=n.swatches[o],r=_(r)?p(r,!0):L(f(r,!0)),t('<li class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></li>').appendTo(a).data("swatch-color",n.swatches[o]).find(".minicolors-swatch-color").css({backgroundColor:M(r),opacity:r.a}),n.swatches[o]=r;n.inline&&e.parent().addClass("minicolors-inline"),l(e,!1),e.data("minicolors-initialized",!0)}}function n(t){var e=t.parent();t.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),e.before(t).remove()}function i(t){var e=t.parent(),n=e.find(".minicolors-panel"),i=t.data("minicolors-settings");!t.data("minicolors-initialized")||t.prop("disabled")||e.hasClass("minicolors-inline")||e.hasClass("minicolors-focus")||(a(),e.addClass("minicolors-focus"),n.stop(!0,!0).fadeIn(i.showSpeed,function(){i.show&&i.show.call(t.get(0))}))}function a(){t(".minicolors-focus").each(function(){var e=t(this),n=e.find(".minicolors-input"),i=e.find(".minicolors-panel"),a=n.data("minicolors-settings");i.fadeOut(a.hideSpeed,function(){a.hide&&a.hide.call(n.get(0)),e.removeClass("minicolors-focus")})})}function r(t,e,n){var i,a,r,o,l=t.parents(".minicolors").find(".minicolors-input"),d=l.data("minicolors-settings"),u=t.find("[class$=-picker]"),h=t.offset().left,c=t.offset().top,f=Math.round(e.pageX-h),p=Math.round(e.pageY-c),m=n?d.animationSpeed:0;e.originalEvent.changedTouches&&(f=e.originalEvent.changedTouches[0].pageX-h,p=e.originalEvent.changedTouches[0].pageY-c),0>f&&(f=0),0>p&&(p=0),f>t.width()&&(f=t.width()),p>t.height()&&(p=t.height()),t.parent().is(".minicolors-slider-wheel")&&u.parent().is(".minicolors-grid")&&(i=75-f,a=75-p,r=Math.sqrt(i*i+a*a),o=Math.atan2(a,i),0>o&&(o+=2*Math.PI),r>75&&(r=75,f=75-75*Math.cos(o),p=75-75*Math.sin(o)),f=Math.round(f),p=Math.round(p)),t.is(".minicolors-grid")?u.stop(!0).animate({top:p+"px",left:f+"px"},m,d.animationEasing,function(){s(l,t)}):u.stop(!0).animate({top:p+"px"},m,d.animationEasing,function(){s(l,t)})}function s(t,e){function n(t,e){var n,i;return t.length&&e?(n=t.offset().left,i=t.offset().top,{x:n-e.offset().left+t.outerWidth()/2,y:i-e.offset().top+t.outerHeight()/2}):null}var i,a,r,s,l,u,h,c=t.val(),f=t.attr("data-opacity"),p=t.parent(),m=t.data("minicolors-settings"),_=p.find(".minicolors-input-swatch"),y=p.find(".minicolors-grid"),v=p.find(".minicolors-slider"),b=p.find(".minicolors-opacity-slider"),M=y.find("[class$=-picker]"),x=v.find("[class$=-picker]"),k=b.find("[class$=-picker]"),L=n(M,y),D=n(x,v),T=n(k,b);if(e.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch(m.control){case"wheel":s=y.width()/2-L.x,l=y.height()/2-L.y,u=Math.sqrt(s*s+l*l),h=Math.atan2(l,s),0>h&&(h+=2*Math.PI),u>75&&(u=75,L.x=69-75*Math.cos(h),L.y=69-75*Math.sin(h)),a=g(u/.75,0,100),i=g(180*h/Math.PI,0,360),r=g(100-Math.floor(D.y*(100/v.height())),0,100),c=w({h:i,s:a,b:r}),v.css("backgroundColor",w({h:i,s:a,b:100}));break;case"saturation":i=g(parseInt(L.x*(360/y.width()),10),0,360),a=g(100-Math.floor(D.y*(100/v.height())),0,100),r=g(100-Math.floor(L.y*(100/y.height())),0,100),c=w({h:i,s:a,b:r}),v.css("backgroundColor",w({h:i,s:100,b:r})),p.find(".minicolors-grid-inner").css("opacity",a/100);break;case"brightness":i=g(parseInt(L.x*(360/y.width()),10),0,360),a=g(100-Math.floor(L.y*(100/y.height())),0,100),r=g(100-Math.floor(D.y*(100/v.height())),0,100),c=w({h:i,s:a,b:r}),v.css("backgroundColor",w({h:i,s:a,b:100})),p.find(".minicolors-grid-inner").css("opacity",1-r/100);break;default:i=g(360-parseInt(D.y*(360/v.height()),10),0,360),a=g(Math.floor(L.x*(100/y.width())),0,100),r=g(100-Math.floor(L.y*(100/y.height())),0,100),c=w({h:i,s:a,b:r}),y.css("backgroundColor",w({h:i,s:100,b:100}))}f=m.opacity?parseFloat(1-T.y/b.height()).toFixed(2):1,o(t,c,f)}else _.find("span").css({backgroundColor:c,opacity:f}),d(t,c,f)}function o(t,e,n){var i,a=t.parent(),r=t.data("minicolors-settings"),s=a.find(".minicolors-input-swatch");r.opacity&&t.attr("data-opacity",n),"rgb"===r.format?(i=_(e)?p(e,!0):L(f(e,!0)),n=""===t.attr("data-opacity")?1:g(parseFloat(t.attr("data-opacity")).toFixed(2),0,1),!isNaN(n)&&r.opacity||(n=1),e=t.minicolors("rgbObject").a<=1&&i&&r.opacity?"rgba("+i.r+", "+i.g+", "+i.b+", "+parseFloat(n)+")":"rgb("+i.r+", "+i.g+", "+i.b+")"):(_(e)&&(e=b(e)),e=c(e,r.letterCase)),t.val(e),s.find("span").css({backgroundColor:e,opacity:n}),d(t,e,n)}function l(e,n){var i,a,r,s,o,l,u,h,v,M,k=e.parent(),L=e.data("minicolors-settings"),D=k.find(".minicolors-input-swatch"),T=k.find(".minicolors-grid"),S=k.find(".minicolors-slider"),Y=k.find(".minicolors-opacity-slider"),C=T.find("[class$=-picker]"),A=S.find("[class$=-picker]"),H=Y.find("[class$=-picker]");switch(_(e.val())?(i=b(e.val()),o=g(parseFloat(y(e.val())).toFixed(2),0,1),o&&e.attr("data-opacity",o)):i=c(f(e.val(),!0),L.letterCase),i||(i=c(m(L.defaultValue,!0),L.letterCase)),a=x(i),s=L.keywords?t.map(L.keywords.split(","),function(e){return t.trim(e.toLowerCase())}):[],l=""!==e.val()&&t.inArray(e.val().toLowerCase(),s)>-1?c(e.val()):_(e.val())?p(e.val()):i,n||e.val(l),L.opacity&&(r=""===e.attr("data-opacity")?1:g(parseFloat(e.attr("data-opacity")).toFixed(2),0,1),isNaN(r)&&(r=1),e.attr("data-opacity",r),D.find("span").css("opacity",r),h=g(Y.height()-Y.height()*r,0,Y.height()),H.css("top",h+"px")),"transparent"===e.val().toLowerCase()&&D.find("span").css("opacity",0),D.find("span").css("backgroundColor",i),L.control){case"wheel":v=g(Math.ceil(.75*a.s),0,T.height()/2),M=a.h*Math.PI/180,u=g(75-Math.cos(M)*v,0,T.width()),h=g(75-Math.sin(M)*v,0,T.height()),C.css({top:h+"px",left:u+"px"}),h=150-a.b/(100/T.height()),""===i&&(h=0),A.css("top",h+"px"),S.css("backgroundColor",w({h:a.h,s:a.s,b:100}));break;case"saturation":u=g(5*a.h/12,0,150),h=g(T.height()-Math.ceil(a.b/(100/T.height())),0,T.height()),C.css({top:h+"px",left:u+"px"}),h=g(S.height()-a.s*(S.height()/100),0,S.height()),A.css("top",h+"px"),S.css("backgroundColor",w({h:a.h,s:100,b:a.b})),k.find(".minicolors-grid-inner").css("opacity",a.s/100);break;case"brightness":u=g(5*a.h/12,0,150),h=g(T.height()-Math.ceil(a.s/(100/T.height())),0,T.height()),C.css({top:h+"px",left:u+"px"}),h=g(S.height()-a.b*(S.height()/100),0,S.height()),A.css("top",h+"px"),S.css("backgroundColor",w({h:a.h,s:a.s,b:100})),k.find(".minicolors-grid-inner").css("opacity",1-a.b/100);break;default:u=g(Math.ceil(a.s/(100/T.width())),0,T.width()),h=g(T.height()-Math.ceil(a.b/(100/T.height())),0,T.height()),C.css({top:h+"px",left:u+"px"}),h=g(S.height()-a.h/(360/S.height()),0,S.height()),A.css("top",h+"px"),T.css("backgroundColor",w({h:a.h,s:100,b:100}))}e.data("minicolors-initialized")&&d(e,l,r)}function d(t,e,n){var i,a,r,s=t.data("minicolors-settings"),o=t.data("minicolors-lastChange");if(!o||o.value!==e||o.opacity!==n){if(t.data("minicolors-lastChange",{value:e,opacity:n}),s.swatches&&0!==s.swatches.length){for(i=_(e)?p(e,!0):L(e),a=-1,r=0;r<s.swatches.length;++r)if(i.r===s.swatches[r].r&&i.g===s.swatches[r].g&&i.b===s.swatches[r].b&&i.a===s.swatches[r].a){a=r;break}t.parent().find(".minicolors-swatches .minicolors-swatch").removeClass("selected"),-1!==r&&t.parent().find(".minicolors-swatches .minicolors-swatch").eq(r).addClass("selected")}s.change&&(s.changeDelay?(clearTimeout(t.data("minicolors-changeTimeout")),t.data("minicolors-changeTimeout",setTimeout(function(){s.change.call(t.get(0),e,n)},s.changeDelay))):s.change.call(t.get(0),e,n)),t.trigger("change").trigger("input")}}function u(e){var n=f(t(e).val(),!0),i=L(n),a=t(e).attr("data-opacity");return i?(void 0!==a&&t.extend(i,{a:parseFloat(a)}),i):null}function h(e,n){var i=f(t(e).val(),!0),a=L(i),r=t(e).attr("data-opacity");return a?(void 0===r&&(r=1),n?"rgba("+a.r+", "+a.g+", "+a.b+", "+parseFloat(r)+")":"rgb("+a.r+", "+a.g+", "+a.b+")"):null}function c(t,e){return"uppercase"===e?t.toUpperCase():t.toLowerCase()}function f(t,e){return t=t.replace(/^#/g,""),t.match(/^[A-F0-9]{3,6}/gi)?3!==t.length&&6!==t.length?"":(3===t.length&&e&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),"#"+t):""}function p(t,e){var n=t.replace(/[^\d,.]/g,""),i=n.split(",");return i[0]=g(parseInt(i[0],10),0,255),i[1]=g(parseInt(i[1],10),0,255),i[2]=g(parseInt(i[2],10),0,255),i[3]&&(i[3]=g(parseFloat(i[3],10),0,1)),e?{r:i[0],g:i[1],b:i[2],a:i[3]?i[3]:null}:"undefined"!=typeof i[3]&&i[3]<=1?"rgba("+i[0]+", "+i[1]+", "+i[2]+", "+i[3]+")":"rgb("+i[0]+", "+i[1]+", "+i[2]+")"}function m(t,e){return _(t)?p(t):f(t,e)}function g(t,e,n){return e>t&&(t=e),t>n&&(t=n),t}function _(t){var e=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return!(!e||4!==e.length)}function y(t){return t=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+(\.\d{1,2})?|\.\d{1,2})[\s+]?/i),t&&6===t.length?t[4]:"1"}function v(t){var e={},n=Math.round(t.h),i=Math.round(255*t.s/100),a=Math.round(255*t.b/100);if(0===i)e.r=e.g=e.b=a;else{var r=a,s=(255-i)*a/255,o=(r-s)*(n%60)/60;360===n&&(n=0),60>n?(e.r=r,e.b=s,e.g=s+o):120>n?(e.g=r,e.b=s,e.r=r-o):180>n?(e.g=r,e.r=s,e.b=s+o):240>n?(e.b=r,e.r=s,e.g=r-o):300>n?(e.b=r,e.g=s,e.r=s+o):360>n?(e.r=r,e.g=s,e.b=r-o):(e.r=0,e.g=0,e.b=0)}return{r:Math.round(e.r),g:Math.round(e.g),b:Math.round(e.b)}}function b(t){return t=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i),t&&4===t.length?"#"+("0"+parseInt(t[1],10).toString(16)).slice(-2)+("0"+parseInt(t[2],10).toString(16)).slice(-2)+("0"+parseInt(t[3],10).toString(16)).slice(-2):""}function M(e){var n=[e.r.toString(16),e.g.toString(16),e.b.toString(16)];return t.each(n,function(t,e){1===e.length&&(n[t]="0"+e)}),"#"+n.join("")}function w(t){return M(v(t))}function x(t){var e=k(L(t));return 0===e.s&&(e.h=360),e}function k(t){var e={h:0,s:0,b:0},n=Math.min(t.r,t.g,t.b),i=Math.max(t.r,t.g,t.b),a=i-n;return e.b=i,e.s=0!==i?255*a/i:0,0!==e.s?t.r===i?e.h=(t.g-t.b)/a:t.g===i?e.h=2+(t.b-t.r)/a:e.h=4+(t.r-t.g)/a:e.h=-1,e.h*=60,e.h<0&&(e.h+=360),e.s*=100/255,e.b*=100/255,e}function L(t){return t=parseInt(t.indexOf("#")>-1?t.substring(1):t,16),{r:t>>16,g:(65280&t)>>8,b:255&t}}t.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",dataUris:!0,defaultValue:"",format:"hex",hide:null,hideSpeed:100,inline:!1,keywords:"",letterCase:"lowercase",opacity:!1,position:"bottom left",show:null,showSpeed:100,theme:"default",swatches:[]}},t.extend(t.fn,{minicolors:function(r,s){switch(r){case"destroy":return t(this).each(function(){n(t(this))}),t(this);case"hide":return a(),t(this);case"opacity":return void 0===s?t(this).attr("data-opacity"):(t(this).each(function(){l(t(this).attr("data-opacity",s))}),t(this));case"rgbObject":return u(t(this),"rgbaObject"===r);case"rgbString":case"rgbaString":return h(t(this),"rgbaString"===r);case"settings":return void 0===s?t(this).data("minicolors-settings"):(t(this).each(function(){var e=t(this).data("minicolors-settings")||{};n(t(this)),t(this).minicolors(t.extend(!0,e,s))}),t(this));case"show":return i(t(this).eq(0)),t(this);case"value":return void 0===s?t(this).val():(t(this).each(function(){"object"==typeof s?(s.opacity&&t(this).attr("data-opacity",g(s.opacity,0,1)),s.color&&t(this).val(s.color)):t(this).val(s),l(t(this))}),t(this));default:return"create"!==r&&(s=r),t(this).each(function(){e(t(this),s)}),t(this)}}}),t(document).on("mousedown.minicolors touchstart.minicolors",function(e){t(e.target).parents().add(e.target).hasClass("minicolors")||a()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(e){var n=t(this);e.preventDefault(),t(document).data("minicolors-target",n),r(n,e,!0)}).on("mousemove.minicolors touchmove.minicolors",function(e){var n=t(document).data("minicolors-target");n&&r(n,e)}).on("mouseup.minicolors touchend.minicolors",function(){t(this).removeData("minicolors-target")}).on("click.minicolors",".minicolors-swatches li",function(e){e.preventDefault();var n=t(this),i=n.parents(".minicolors").find(".minicolors-input"),a=n.data("swatch-color");o(i,a,y(a)),l(i)}).on("mousedown.minicolors touchstart.minicolors",".minicolors-input-swatch",function(e){var n=t(this).parent().find(".minicolors-input");e.preventDefault(),i(n)}).on("focus.minicolors",".minicolors-input",function(){var e=t(this);e.data("minicolors-initialized")&&i(e)}).on("blur.minicolors",".minicolors-input",function(){var e,n,i,a,r,s=t(this),o=s.data("minicolors-settings");s.data("minicolors-initialized")&&(e=o.keywords?t.map(o.keywords.split(","),function(e){return t.trim(e.toLowerCase())}):[],""!==s.val()&&t.inArray(s.val().toLowerCase(),e)>-1?r=s.val():(_(s.val())?i=p(s.val(),!0):(n=f(s.val(),!0),i=n?L(n):null),r=null===i?o.defaultValue:"rgb"===o.format?p(o.opacity?"rgba("+i.r+","+i.g+","+i.b+","+s.attr("data-opacity")+")":"rgb("+i.r+","+i.g+","+i.b+")"):M(i)),a=o.opacity?s.attr("data-opacity"):1,"transparent"===r.toLowerCase()&&(a=0),s.closest(".minicolors").find(".minicolors-input-swatch > span").css("opacity",a),s.val(r),""===s.val()&&s.val(m(o.defaultValue,!0)),s.val(c(s.val(),o.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(e){var n=t(this);if(n.data("minicolors-initialized"))switch(e.keyCode){case 9:a();break;case 13:case 27:a(),n.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var e=t(this);e.data("minicolors-initialized")&&l(e,!0)}).on("paste.minicolors",".minicolors-input",function(){var e=t(this);e.data("minicolors-initialized")&&setTimeout(function(){l(e,!0)},1)})}),function(t,e){if("function"==typeof define&&define.amd)define(["exports","jquery"],function(t,n){return e(t,n)});else if("undefined"!=typeof exports){var n=require("jquery");e(exports,n)}else e(t,t.jQuery||t.Zepto||t.ender||t.$)}(this,function(t,e){function n(t,n){function a(t,e,n){return t[e]=n,t}function r(t,e){for(var n,r=t.match(i.key);void 0!==(n=r.pop());)if(i.push.test(n)){var o=s(t.replace(/\[\]$/,""));e=a([],o,e)}else i.fixed.test(n)?e=a([],n,e):i.named.test(n)&&(e=a({},n,e));return e}function s(t){return void 0===f[t]&&(f[t]=0),f[t]++}function o(t){switch(e('[name="'+t.name+'"]',n).attr("type")){case"checkbox":return"on"===t.value?!0:t.value;default:return t.value}}function l(e){if(!i.validate.test(e.name))return this;var n=r(e.name,o(e));return c=t.extend(!0,c,n),this}function d(e){if(!t.isArray(e))throw new Error("formSerializer.addPairs expects an Array");for(var n=0,i=e.length;i>n;n++)this.addPair(e[n]);return this}function u(){return c}function h(){return JSON.stringify(u())}var c={},f={};this.addPair=l,this.addPairs=d,this.serialize=u,this.serializeJSON=h}var i={validate:/^[a-z_][a-z0-9_]*(?:\[(?:\d*|[a-z0-9_]+)\])*$/i,key:/[a-z0-9_]+|(?=\[\])/gi,push:/^$/,fixed:/^\d+$/,named:/^[a-z0-9_]+$/i};return n.patterns=i,n.serializeObject=function(){return new n(e,this).addPairs(this.serializeArray()).serialize()},n.serializeJSON=function(){return new n(e,this).addPairs(this.serializeArray()).serializeJSON()},"undefined"!=typeof e.fn&&(e.fn.serializeObject=n.serializeObject,e.fn.serializeJSON=n.serializeJSON),t.FormSerializer=n,n}),function t(e,n,i){function a(s,o){if(!n[s]){if(!e[s]){var l="function"==typeof require&&require;if(!o&&l)return l(s,!0);if(r)return r(s,!0);var d=new Error("Cannot find module '"+s+"'");throw d.code="MODULE_NOT_FOUND",d}var u=n[s]={exports:{}};e[s][0].call(u.exports,function(t){var n=e[s][1][t];return a(n?n:t)},u,u.exports,t,e,n,i)}return n[s].exports}for(var r="function"==typeof require&&require,s=0;s<i.length;s++)a(i[s]);return a}({1:[function(t,e,n){},{}],2:[function(t,e,n){function i(t){var e,n,i,a=t[0]/255,r=t[1]/255,s=t[2]/255,o=Math.min(a,r,s),l=Math.max(a,r,s),d=l-o;return l==o?e=0:a==l?e=(r-s)/d:r==l?e=2+(s-a)/d:s==l&&(e=4+(a-r)/d),e=Math.min(60*e,360),0>e&&(e+=360),i=(o+l)/2,n=l==o?0:.5>=i?d/(l+o):d/(2-l-o),[e,100*n,100*i]}function a(t){var e,n,i,a=t[0],r=t[1],s=t[2],o=Math.min(a,r,s),l=Math.max(a,r,s),d=l-o;return n=0==l?0:d/l*1e3/10,l==o?e=0:a==l?e=(r-s)/d:r==l?e=2+(s-a)/d:s==l&&(e=4+(a-r)/d),e=Math.min(60*e,360),0>e&&(e+=360),i=l/255*1e3/10,[e,n,i]}function s(t){var e=t[0],n=t[1],a=t[2],r=i(t)[0],s=1/255*Math.min(e,Math.min(n,a)),a=1-1/255*Math.max(e,Math.max(n,a));return[r,100*s,100*a]}function o(t){var e,n,i,a,r=t[0]/255,s=t[1]/255,o=t[2]/255;return a=Math.min(1-r,1-s,1-o),e=(1-r-a)/(1-a)||0,n=(1-s-a)/(1-a)||0,i=(1-o-a)/(1-a)||0,[100*e,100*n,100*i,100*a]}function l(t){return Q[JSON.stringify(t)]}function d(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255;e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92;var a=.4124*e+.3576*n+.1805*i,r=.2126*e+.7152*n+.0722*i,s=.0193*e+.1192*n+.9505*i;return[100*a,100*r,100*s]}function u(t){var e,n,i,a=d(t),r=a[0],s=a[1],o=a[2];return r/=95.047,s/=100,o/=108.883,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,e=116*s-16,n=500*(r-s),i=200*(s-o),[e,n,i]}function h(t){return O(u(t))}function c(t){var e,n,i,a,r,s=t[0]/360,o=t[1]/100,l=t[2]/100;if(0==o)return r=255*l,[r,r,r];n=.5>l?l*(1+o):l+o-l*o,e=2*l-n,a=[0,0,0];for(var d=0;3>d;d++)i=s+1/3*-(d-1),0>i&&i++,i>1&&i--,r=1>6*i?e+6*(n-e)*i:1>2*i?n:2>3*i?e+(n-e)*(2/3-i)*6:e,a[d]=255*r;return a}function f(t){var e,n,i=t[0],a=t[1]/100,r=t[2]/100;return 0===r?[0,0,0]:(r*=2,a*=1>=r?r:2-r,n=(r+a)/2,e=2*a/(r+a),[i,100*e,100*n])}function p(t){return s(c(t))}function m(t){return o(c(t))}function _(t){return l(c(t))}function y(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,a=Math.floor(e)%6,r=e-Math.floor(e),s=255*i*(1-n),o=255*i*(1-n*r),l=255*i*(1-n*(1-r)),i=255*i;switch(a){case 0:return[i,l,s];case 1:return[o,i,s];case 2:return[s,i,l];case 3:return[s,o,i];case 4:return[l,s,i];case 5:return[i,s,o]}}function v(t){var e,n,i=t[0],a=t[1]/100,r=t[2]/100;return n=(2-a)*r,e=a*r,e/=1>=n?n:2-n,e=e||0,n/=2,[i,100*e,100*n]}function M(t){return s(y(t))}function w(t){return o(y(t))}function x(t){return l(y(t))}function k(t){var e,n,i,a,s=t[0]/360,o=t[1]/100,l=t[2]/100,d=o+l;switch(d>1&&(o/=d,l/=d),e=Math.floor(6*s),n=1-l,i=6*s-e,0!=(1&e)&&(i=1-i),a=o+i*(n-o),e){default:case 6:case 0:r=n,g=a,b=o;break;case 1:r=a,g=n,b=o;break;case 2:r=o,g=n,b=a;break;case 3:r=o,g=a,b=n;break;case 4:r=a,g=o,b=n;break;case 5:r=n,g=o,b=a}return[255*r,255*g,255*b]}function L(t){return i(k(t))}function D(t){return a(k(t))}function T(t){return o(k(t))}function S(t){return l(k(t))}function Y(t){var e,n,i,a=t[0]/100,r=t[1]/100,s=t[2]/100,o=t[3]/100;return e=1-Math.min(1,a*(1-o)+o),n=1-Math.min(1,r*(1-o)+o),i=1-Math.min(1,s*(1-o)+o),[255*e,255*n,255*i]}function C(t){return i(Y(t))}function A(t){return a(Y(t))}function H(t){return s(Y(t))}function j(t){return l(Y(t))}function P(t){var e,n,i,a=t[0]/100,r=t[1]/100,s=t[2]/100;return e=3.2406*a+-1.5372*r+s*-.4986,n=a*-.9689+1.8758*r+.0415*s,i=.0557*a+r*-.204+1.057*s,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:e=12.92*e,
|
||
n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n=12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i=12.92*i,e=Math.min(Math.max(0,e),1),n=Math.min(Math.max(0,n),1),i=Math.min(Math.max(0,i),1),[255*e,255*n,255*i]}function I(t){var e,n,i,a=t[0],r=t[1],s=t[2];return a/=95.047,r/=100,s/=108.883,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,e=116*r-16,n=500*(a-r),i=200*(r-s),[e,n,i]}function E(t){return O(I(t))}function F(t){var e,n,i,a,r=t[0],s=t[1],o=t[2];return 8>=r?(n=100*r/903.3,a=7.787*(n/100)+16/116):(n=100*Math.pow((r+16)/116,3),a=Math.pow(n/100,1/3)),e=.008856>=e/95.047?e=95.047*(s/500+a-16/116)/7.787:95.047*Math.pow(s/500+a,3),i=.008859>=i/108.883?i=108.883*(a-o/200-16/116)/7.787:108.883*Math.pow(a-o/200,3),[e,n,i]}function O(t){var e,n,i,a=t[0],r=t[1],s=t[2];return e=Math.atan2(s,r),n=360*e/2/Math.PI,0>n&&(n+=360),i=Math.sqrt(r*r+s*s),[a,i,n]}function W(t){return P(F(t))}function R(t){var e,n,i,a=t[0],r=t[1],s=t[2];return i=s/360*2*Math.PI,e=r*Math.cos(i),n=r*Math.sin(i),[a,e,n]}function z(t){return F(R(t))}function N(t){return W(R(t))}function B(t){return X[t]}function V(t){return i(B(t))}function $(t){return a(B(t))}function q(t){return s(B(t))}function U(t){return o(B(t))}function J(t){return u(B(t))}function G(t){return d(B(t))}e.exports={rgb2hsl:i,rgb2hsv:a,rgb2hwb:s,rgb2cmyk:o,rgb2keyword:l,rgb2xyz:d,rgb2lab:u,rgb2lch:h,hsl2rgb:c,hsl2hsv:f,hsl2hwb:p,hsl2cmyk:m,hsl2keyword:_,hsv2rgb:y,hsv2hsl:v,hsv2hwb:M,hsv2cmyk:w,hsv2keyword:x,hwb2rgb:k,hwb2hsl:L,hwb2hsv:D,hwb2cmyk:T,hwb2keyword:S,cmyk2rgb:Y,cmyk2hsl:C,cmyk2hsv:A,cmyk2hwb:H,cmyk2keyword:j,keyword2rgb:B,keyword2hsl:V,keyword2hsv:$,keyword2hwb:q,keyword2cmyk:U,keyword2lab:J,keyword2xyz:G,xyz2rgb:P,xyz2lab:I,xyz2lch:E,lab2xyz:F,lab2rgb:W,lab2lch:O,lch2lab:R,lch2xyz:z,lch2rgb:N};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},{}],3:[function(t,e,n){var i=t("./conversions"),a=function(){return new d};for(var r in i){a[r+"Raw"]=function(t){return function(e){return"number"==typeof e&&(e=Array.prototype.slice.call(arguments)),i[t](e)}}(r);var s=/(\w+)2(\w+)/.exec(r),o=s[1],l=s[2];a[o]=a[o]||{},a[o][l]=a[r]=function(t){return function(e){"number"==typeof e&&(e=Array.prototype.slice.call(arguments));var n=i[t](e);if("string"==typeof n||void 0===n)return n;for(var a=0;a<n.length;a++)n[a]=Math.round(n[a]);return n}}(r)}var d=function(){this.convs={}};d.prototype.routeSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n))},d.prototype.setValues=function(t,e){return this.space=t,this.convs={},this.convs[t]=e,this},d.prototype.getValues=function(t){var e=this.convs[t];if(!e){var n=this.space,i=this.convs[n];e=a[n][t](i),this.convs[t]=e}return e},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(t){d.prototype[t]=function(e){return this.routeSpace(t,arguments)}}),e.exports=a},{"./conversions":2}],4:[function(t,e,n){function i(t){if(t){var e=/^#([a-fA-F0-9]{3})$/,n=/^#([a-fA-F0-9]{6})$/,i=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,a=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,r=/(\w+)/,s=[0,0,0],o=1,l=t.match(e);if(l){l=l[1];for(var d=0;d<s.length;d++)s[d]=parseInt(l[d]+l[d],16)}else if(l=t.match(n)){l=l[1];for(var d=0;d<s.length;d++)s[d]=parseInt(l.slice(2*d,2*d+2),16)}else if(l=t.match(i)){for(var d=0;d<s.length;d++)s[d]=parseInt(l[d+1]);o=parseFloat(l[4])}else if(l=t.match(a)){for(var d=0;d<s.length;d++)s[d]=Math.round(2.55*parseFloat(l[d+1]));o=parseFloat(l[4])}else if(l=t.match(r)){if("transparent"==l[1])return[0,0,0,0];if(s=b[l[1]],!s)return}for(var d=0;d<s.length;d++)s[d]=y(s[d],0,255);return o=o||0==o?y(o,0,1):1,s[3]=o,s}}function a(t){if(t){var e=/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=t.match(e);if(n){var i=parseFloat(n[4]),a=y(parseInt(n[1]),0,360),r=y(parseFloat(n[2]),0,100),s=y(parseFloat(n[3]),0,100),o=y(isNaN(i)?1:i,0,1);return[a,r,s,o]}}}function r(t){if(t){var e=/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=t.match(e);if(n){var i=parseFloat(n[4]),a=y(parseInt(n[1]),0,360),r=y(parseFloat(n[2]),0,100),s=y(parseFloat(n[3]),0,100),o=y(isNaN(i)?1:i,0,1);return[a,r,s,o]}}}function s(t){var e=i(t);return e&&e.slice(0,3)}function o(t){var e=a(t);return e&&e.slice(0,3)}function l(t){var e=i(t);return e?e[3]:(e=a(t))?e[3]:(e=r(t))?e[3]:void 0}function d(t){return"#"+v(t[0])+v(t[1])+v(t[2])}function u(t,e){return 1>e||t[3]&&t[3]<1?h(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"}function h(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function c(t,e){if(1>e||t[3]&&t[3]<1)return f(t,e);var n=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),a=Math.round(t[2]/255*100);return"rgb("+n+"%, "+i+"%, "+a+"%)"}function f(t,e){var n=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),a=Math.round(t[2]/255*100);return"rgba("+n+"%, "+i+"%, "+a+"%, "+(e||t[3]||1)+")"}function p(t,e){return 1>e||t[3]&&t[3]<1?m(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"}function m(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function g(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"}function _(t){return M[t.slice(0,3)]}function y(t,e,n){return Math.min(Math.max(e,t),n)}function v(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var b=t("color-name");e.exports={getRgba:i,getHsla:a,getRgb:s,getHsl:o,getHwb:r,getAlpha:l,hexString:d,rgbString:u,rgbaString:h,percentString:c,percentaString:f,hslString:p,hslaString:m,hwbString:g,keyword:_};var M={};for(var w in b)M[b[w]]=w},{"color-name":5}],5:[function(t,e,n){e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],6:[function(t,e,n){var i=t("color-convert"),a=t("color-string"),r=function(t){if(t instanceof r)return t;if(!(this instanceof r))return new r(t);if(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},"string"==typeof t){var e=a.getRgba(t);if(e)this.setValues("rgb",e);else if(e=a.getHsla(t))this.setValues("hsl",e);else{if(!(e=a.getHwb(t)))throw new Error('Unable to parse color from string "'+t+'"');this.setValues("hwb",e)}}else if("object"==typeof t){var e=t;if(void 0!==e.r||void 0!==e.red)this.setValues("rgb",e);else if(void 0!==e.l||void 0!==e.lightness)this.setValues("hsl",e);else if(void 0!==e.v||void 0!==e.value)this.setValues("hsv",e);else if(void 0!==e.w||void 0!==e.whiteness)this.setValues("hwb",e);else{if(void 0===e.c&&void 0===e.cyan)throw new Error("Unable to parse color from object "+JSON.stringify(t));this.setValues("cmyk",e)}}};r.prototype={rgb:function(t){return this.setSpace("rgb",arguments)},hsl:function(t){return this.setSpace("hsl",arguments)},hsv:function(t){return this.setSpace("hsv",arguments)},hwb:function(t){return this.setSpace("hwb",arguments)},cmyk:function(t){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(){return 1!==this.values.alpha?this.values.hwb.concat([this.values.alpha]):this.values.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values.rgb;return t.concat([this.values.alpha])},hslaArray:function(){var t=this.values.hsl;return t.concat([this.values.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return a.hexString(this.values.rgb)},rgbString:function(){return a.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return a.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return a.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return a.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return a.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return a.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return a.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){return this.values.rgb[0]<<16|this.values.rgb[1]<<8|this.values.rgb[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var i=t[n]/255;e[n]=.03928>=i?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb,e=(299*t[0]+587*t[1]+114*t[2])/1e3;return 128>e},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;3>e;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){return this.values.hsl[2]+=this.values.hsl[2]*t,this.setValues("hsl",this.values.hsl),this},darken:function(t){return this.values.hsl[2]-=this.values.hsl[2]*t,this.setValues("hsl",this.values.hsl),this},saturate:function(t){return this.values.hsl[1]+=this.values.hsl[1]*t,this.setValues("hsl",this.values.hsl),this},desaturate:function(t){return this.values.hsl[1]-=this.values.hsl[1]*t,this.setValues("hsl",this.values.hsl),this},whiten:function(t){return this.values.hwb[1]+=this.values.hwb[1]*t,this.setValues("hwb",this.values.hwb),this},blacken:function(t){return this.values.hwb[2]+=this.values.hwb[2]*t,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){return this.setValues("alpha",this.values.alpha-this.values.alpha*t),this},opaquer:function(t){return this.setValues("alpha",this.values.alpha+this.values.alpha*t),this},rotate:function(t){var e=this.values.hsl[0];return e=(e+t)%360,e=0>e?360+e:e,this.values.hsl[0]=e,this.setValues("hsl",this.values.hsl),this},mix:function(t,e){e=1-(null==e?.5:e);for(var n=2*e-1,i=this.alpha()-t.alpha(),a=((n*i==-1?n:(n+i)/(1+n*i))+1)/2,r=1-a,s=this.rgbArray(),o=t.rgbArray(),l=0;l<s.length;l++)s[l]=s[l]*a+o[l]*r;this.setValues("rgb",s);var d=this.alpha()*e+t.alpha()*(1-e);return this.setValues("alpha",d),this},toJSON:function(){return this.rgb()},clone:function(){return new r(this.rgb())}},r.prototype.getValues=function(t){for(var e={},n=0;n<t.length;n++)e[t.charAt(n)]=this.values[t][n];return 1!=this.values.alpha&&(e.a=this.values.alpha),e},r.prototype.setValues=function(t,e){var n={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},a={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},r=1;if("alpha"==t)r=e;else if(e.length)this.values[t]=e.slice(0,t.length),r=e[t.length];else if(void 0!==e[t.charAt(0)]){for(var s=0;s<t.length;s++)this.values[t][s]=e[t.charAt(s)];r=e.a}else if(void 0!==e[n[t][0]]){for(var o=n[t],s=0;s<t.length;s++)this.values[t][s]=e[o[s]];r=e.alpha}if(this.values.alpha=Math.max(0,Math.min(1,void 0!==r?r:this.values.alpha)),"alpha"!=t){for(var s=0;s<t.length;s++){var l=Math.max(0,Math.min(a[t][s],this.values[t][s]));this.values[t][s]=Math.round(l)}for(var d in n){d!=t&&(this.values[d]=i[t][d](this.values[t]));for(var s=0;s<d.length;s++){var l=Math.max(0,Math.min(a[d][s],this.values[d][s]));this.values[d][s]=Math.round(l)}}return!0}},r.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},r.prototype.setChannel=function(t,e,n){return void 0===n?this.values[t][e]:(this.values[t][e]=n,this.setValues(t,this.values[t]),this)},window.Color=e.exports=r},{"color-convert":3,"color-string":4}],7:[function(t,e,n){var i=t("./core/core.js")();t("./core/core.helpers")(i),t("./core/core.element")(i),t("./core/core.animation")(i),t("./core/core.controller")(i),t("./core/core.datasetController")(i),t("./core/core.layoutService")(i),t("./core/core.legend")(i),t("./core/core.scale")(i),t("./core/core.scaleService")(i),t("./core/core.title")(i),t("./core/core.tooltip")(i),t("./controllers/controller.bar")(i),t("./controllers/controller.bubble")(i),t("./controllers/controller.doughnut")(i),t("./controllers/controller.line")(i),t("./controllers/controller.polarArea")(i),t("./controllers/controller.radar")(i),t("./scales/scale.category")(i),t("./scales/scale.linear")(i),t("./scales/scale.logarithmic")(i),t("./scales/scale.radialLinear")(i),t("./scales/scale.time")(i),t("./elements/element.arc")(i),t("./elements/element.line")(i),t("./elements/element.point")(i),t("./elements/element.rectangle")(i),t("./charts/Chart.Bar")(i),t("./charts/Chart.Bubble")(i),t("./charts/Chart.Doughnut")(i),t("./charts/Chart.Line")(i),t("./charts/Chart.PolarArea")(i),t("./charts/Chart.Radar")(i),t("./charts/Chart.Scatter")(i),window.Chart=e.exports=i},{"./charts/Chart.Bar":8,"./charts/Chart.Bubble":9,"./charts/Chart.Doughnut":10,"./charts/Chart.Line":11,"./charts/Chart.PolarArea":12,"./charts/Chart.Radar":13,"./charts/Chart.Scatter":14,"./controllers/controller.bar":15,"./controllers/controller.bubble":16,"./controllers/controller.doughnut":17,"./controllers/controller.line":18,"./controllers/controller.polarArea":19,"./controllers/controller.radar":20,"./core/core.animation":21,"./core/core.controller":22,"./core/core.datasetController":23,"./core/core.element":24,"./core/core.helpers":25,"./core/core.js":26,"./core/core.layoutService":27,"./core/core.legend":28,"./core/core.scale":29,"./core/core.scaleService":30,"./core/core.title":31,"./core/core.tooltip":32,"./elements/element.arc":33,"./elements/element.line":34,"./elements/element.point":35,"./elements/element.rectangle":36,"./scales/scale.category":37,"./scales/scale.linear":38,"./scales/scale.logarithmic":39,"./scales/scale.radialLinear":40,"./scales/scale.time":41}],8:[function(t,e,n){"use strict";e.exports=function(t){t.Bar=function(e,n){return n.type="bar",new t(e,n)}}},{}],9:[function(t,e,n){"use strict";e.exports=function(t){t.Bubble=function(e,n){return n.type="bubble",new t(e,n)}}},{}],10:[function(t,e,n){"use strict";e.exports=function(t){t.Doughnut=function(e,n){return n.type="doughnut",new t(e,n)}}},{}],11:[function(t,e,n){"use strict";e.exports=function(t){t.Line=function(e,n){return n.type="line",new t(e,n)}}},{}],12:[function(t,e,n){"use strict";e.exports=function(t){t.PolarArea=function(e,n){return n.type="polarArea",new t(e,n)}}},{}],13:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n={aspectRatio:1};t.Radar=function(i,a){return a.options=e.configMerge(n,a.options),a.type="radar",new t(i,a)}}},{}],14:[function(t,e,n){"use strict";e.exports=function(t){var e={hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-1"}],yAxes:[{type:"linear",position:"left",id:"y-axis-1"}]},tooltips:{callbacks:{title:function(t,e){return""},label:function(t,e){return"("+t.xLabel+", "+t.yLabel+")"}}}};t.defaults.scatter=e,t.controllers.scatter=t.controllers.line,t.Scatter=function(e,n){return n.type="scatter",new t(e,n)}}},{}],15:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.bar={hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}},t.controllers.bar=t.DatasetController.extend({initialize:function(e,n){t.DatasetController.prototype.initialize.call(this,e,n),this.getDataset().bar=!0},getBarCount:function(){var t=0;return e.each(this.chart.data.datasets,function(n){e.isDatasetVisible(n)&&n.bar&&++t}),t},addElements:function(){this.getDataset().metaData=this.getDataset().metaData||[],e.each(this.getDataset().data,function(e,n){this.getDataset().metaData[n]=this.getDataset().metaData[n]||new t.elements.Rectangle({_chart:this.chart.chart,_datasetIndex:this.index,_index:n})},this)},addElementAndReset:function(e){this.getDataset().metaData=this.getDataset().metaData||[];var n=new t.elements.Rectangle({_chart:this.chart.chart,_datasetIndex:this.index,_index:e}),i=this.getBarCount();this.updateElement(n,e,!0,i),this.getDataset().metaData.splice(e,0,n)},update:function(t){var n=this.getBarCount();e.each(this.getDataset().metaData,function(e,i){this.updateElement(e,i,t,n)},this)},updateElement:function(t,n,i,a){var r,s=this.getScaleForId(this.getDataset().xAxisID),o=this.getScaleForId(this.getDataset().yAxisID);r=o.min<0&&o.max<0?o.getPixelForValue(o.max):o.min>0&&o.max>0?o.getPixelForValue(o.min):o.getPixelForValue(0),e.extend(t,{_chart:this.chart.chart,_xScale:s,_yScale:o,_datasetIndex:this.index,_index:n,_model:{x:this.calculateBarX(n,this.index),y:i?r:this.calculateBarY(n,this.index),label:this.chart.data.labels[n],datasetLabel:this.getDataset().label,base:i?r:this.calculateBarBase(this.index,n),width:this.calculateBarWidth(a),backgroundColor:t.custom&&t.custom.backgroundColor?t.custom.backgroundColor:e.getValueAtIndexOrDefault(this.getDataset().backgroundColor,n,this.chart.options.elements.rectangle.backgroundColor),borderSkipped:t.custom&&t.custom.borderSkipped?t.custom.borderSkipped:this.chart.options.elements.rectangle.borderSkipped,borderColor:t.custom&&t.custom.borderColor?t.custom.borderColor:e.getValueAtIndexOrDefault(this.getDataset().borderColor,n,this.chart.options.elements.rectangle.borderColor),borderWidth:t.custom&&t.custom.borderWidth?t.custom.borderWidth:e.getValueAtIndexOrDefault(this.getDataset().borderWidth,n,this.chart.options.elements.rectangle.borderWidth)}}),t.pivot()},calculateBarBase:function(t,n){var i=(this.getScaleForId(this.getDataset().xAxisID),this.getScaleForId(this.getDataset().yAxisID)),a=0;if(i.options.stacked){var r=this.chart.data.datasets[t].data[n];if(0>r)for(var s=0;t>s;s++){var o=this.chart.data.datasets[s];e.isDatasetVisible(o)&&o.yAxisID===i.id&&o.bar&&(a+=o.data[n]<0?o.data[n]:0)}else for(var l=0;t>l;l++){var d=this.chart.data.datasets[l];e.isDatasetVisible(d)&&d.yAxisID===i.id&&d.bar&&(a+=d.data[n]>0?d.data[n]:0)}return i.getPixelForValue(a)}return a=i.getPixelForValue(i.min),i.beginAtZero||i.min<=0&&i.max>=0||i.min>=0&&i.max<=0?a=i.getPixelForValue(0,0):i.min<0&&i.max<0&&(a=i.getPixelForValue(i.max)),a},getRuler:function(){var t=this.getScaleForId(this.getDataset().xAxisID),e=(this.getScaleForId(this.getDataset().yAxisID),this.getBarCount()),n=function(){for(var e=t.getPixelForTick(1)-t.getPixelForTick(0),n=2;n<this.getDataset().data.length;n++)e=Math.min(t.getPixelForTick(n)-t.getPixelForTick(n-1),e);return e}.call(this),i=n*t.options.categoryPercentage,a=(n-n*t.options.categoryPercentage)/2,r=i/e,s=r*t.options.barPercentage,o=r-r*t.options.barPercentage;return{datasetCount:e,tickWidth:n,categoryWidth:i,categorySpacing:a,fullBarWidth:r,barWidth:s,barSpacing:o}},calculateBarWidth:function(){var t=this.getScaleForId(this.getDataset().xAxisID),e=this.getRuler();return t.options.stacked?e.categoryWidth:e.barWidth},getBarIndex:function(t){for(var n=0,i=0;t>i;++i)e.isDatasetVisible(this.chart.data.datasets[i])&&this.chart.data.datasets[i].bar&&++n;return n},calculateBarX:function(t,e){var n=(this.getScaleForId(this.getDataset().yAxisID),this.getScaleForId(this.getDataset().xAxisID)),i=this.getBarIndex(e),a=this.getRuler(),r=n.getPixelForValue(null,t,e,this.chart.isCombo);return r-=this.chart.isCombo?a.tickWidth/2:0,n.options.stacked?r+a.categoryWidth/2+a.categorySpacing:r+a.barWidth/2+a.categorySpacing+a.barWidth*i+a.barSpacing/2+a.barSpacing*i},calculateBarY:function(t,n){var i=(this.getScaleForId(this.getDataset().xAxisID),this.getScaleForId(this.getDataset().yAxisID)),a=this.getDataset().data[t];if(i.options.stacked){for(var r=0,s=0,o=0;n>o;o++){var l=this.chart.data.datasets[o];e.isDatasetVisible(l)&&l.bar&&l.yAxisID===i.id&&(l.data[t]<0?s+=l.data[t]||0:r+=l.data[t]||0)}return 0>a?i.getPixelForValue(s+a):i.getPixelForValue(r+a)}return i.getPixelForValue(a)},draw:function(t){var n=t||1;e.each(this.getDataset().metaData,function(t,e){var i=this.getDataset().data[e];null===i||void 0===i||isNaN(i)||t.transition(n).draw()},this)},setHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t._index;t._model.backgroundColor=t.custom&&t.custom.hoverBackgroundColor?t.custom.hoverBackgroundColor:e.getValueAtIndexOrDefault(n.hoverBackgroundColor,i,e.color(t._model.backgroundColor).saturate(.5).darken(.1).rgbString()),t._model.borderColor=t.custom&&t.custom.hoverBorderColor?t.custom.hoverBorderColor:e.getValueAtIndexOrDefault(n.hoverBorderColor,i,e.color(t._model.borderColor).saturate(.5).darken(.1).rgbString()),t._model.borderWidth=t.custom&&t.custom.hoverBorderWidth?t.custom.hoverBorderWidth:e.getValueAtIndexOrDefault(n.hoverBorderWidth,i,t._model.borderWidth)},removeHoverStyle:function(t){var n=(this.chart.data.datasets[t._datasetIndex],t._index);t._model.backgroundColor=t.custom&&t.custom.backgroundColor?t.custom.backgroundColor:e.getValueAtIndexOrDefault(this.getDataset().backgroundColor,n,this.chart.options.elements.rectangle.backgroundColor),t._model.borderColor=t.custom&&t.custom.borderColor?t.custom.borderColor:e.getValueAtIndexOrDefault(this.getDataset().borderColor,n,this.chart.options.elements.rectangle.borderColor),t._model.borderWidth=t.custom&&t.custom.borderWidth?t.custom.borderWidth:e.getValueAtIndexOrDefault(this.getDataset().borderWidth,n,this.chart.options.elements.rectangle.borderWidth)}})}},{}],16:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.bubble={hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(t,e){return""},label:function(t,e){var n=e.datasets[t.datasetIndex].label||"",i=e.datasets[t.datasetIndex].data[t.index];return n+": ("+i.x+", "+i.y+", "+i.r+")"}}}},t.controllers.bubble=t.DatasetController.extend({addElements:function(){this.getDataset().metaData=this.getDataset().metaData||[],e.each(this.getDataset().data,function(e,n){this.getDataset().metaData[n]=this.getDataset().metaData[n]||new t.elements.Point({_chart:this.chart.chart,_datasetIndex:this.index,_index:n})},this)},addElementAndReset:function(e){this.getDataset().metaData=this.getDataset().metaData||[];var n=new t.elements.Point({_chart:this.chart.chart,_datasetIndex:this.index,_index:e});this.updateElement(n,e,!0),this.getDataset().metaData.splice(e,0,n)},update:function(t){var n,i=this.getDataset().metaData,a=this.getScaleForId(this.getDataset().yAxisID);this.getScaleForId(this.getDataset().xAxisID);n=a.min<0&&a.max<0?a.getPixelForValue(a.max):a.min>0&&a.max>0?a.getPixelForValue(a.min):a.getPixelForValue(0),e.each(i,function(e,n){this.updateElement(e,n,t)},this)},updateElement:function(t,n,i){var a,r=this.getScaleForId(this.getDataset().yAxisID),s=this.getScaleForId(this.getDataset().xAxisID);a=r.min<0&&r.max<0?r.getPixelForValue(r.max):r.min>0&&r.max>0?r.getPixelForValue(r.min):r.getPixelForValue(0),e.extend(t,{_chart:this.chart.chart,_xScale:s,_yScale:r,_datasetIndex:this.index,_index:n,_model:{x:i?s.getPixelForDecimal(.5):s.getPixelForValue(this.getDataset().data[n],n,this.index,this.chart.isCombo),y:i?a:r.getPixelForValue(this.getDataset().data[n],n,this.index),radius:i?0:t.custom&&t.custom.radius?t.custom.radius:this.getRadius(this.getDataset().data[n]),backgroundColor:t.custom&&t.custom.backgroundColor?t.custom.backgroundColor:e.getValueAtIndexOrDefault(this.getDataset().backgroundColor,n,this.chart.options.elements.point.backgroundColor),borderColor:t.custom&&t.custom.borderColor?t.custom.borderColor:e.getValueAtIndexOrDefault(this.getDataset().borderColor,n,this.chart.options.elements.point.borderColor),borderWidth:t.custom&&t.custom.borderWidth?t.custom.borderWidth:e.getValueAtIndexOrDefault(this.getDataset().borderWidth,n,this.chart.options.elements.point.borderWidth),hitRadius:t.custom&&t.custom.hitRadius?t.custom.hitRadius:e.getValueAtIndexOrDefault(this.getDataset().hitRadius,n,this.chart.options.elements.point.hitRadius)}}),t._model.skip=t.custom&&t.custom.skip?t.custom.skip:isNaN(t._model.x)||isNaN(t._model.y),t.pivot()},getRadius:function(t){return t.r||this.chart.options.elements.point.radius},draw:function(t){var n=t||1;e.each(this.getDataset().metaData,function(t,e){
|
||
t.transition(n),t.draw()})},setHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t._index;t._model.radius=t.custom&&t.custom.hoverRadius?t.custom.hoverRadius:e.getValueAtIndexOrDefault(n.hoverRadius,i,this.chart.options.elements.point.hoverRadius)+this.getRadius(this.getDataset().data[t._index]),t._model.backgroundColor=t.custom&&t.custom.hoverBackgroundColor?t.custom.hoverBackgroundColor:e.getValueAtIndexOrDefault(n.hoverBackgroundColor,i,e.color(t._model.backgroundColor).saturate(.5).darken(.1).rgbString()),t._model.borderColor=t.custom&&t.custom.hoverBorderColor?t.custom.hoverBorderColor:e.getValueAtIndexOrDefault(n.hoverBorderColor,i,e.color(t._model.borderColor).saturate(.5).darken(.1).rgbString()),t._model.borderWidth=t.custom&&t.custom.hoverBorderWidth?t.custom.hoverBorderWidth:e.getValueAtIndexOrDefault(n.hoverBorderWidth,i,t._model.borderWidth)},removeHoverStyle:function(t){var n=(this.chart.data.datasets[t._datasetIndex],t._index);t._model.radius=t.custom&&t.custom.radius?t.custom.radius:this.getRadius(this.getDataset().data[t._index]),t._model.backgroundColor=t.custom&&t.custom.backgroundColor?t.custom.backgroundColor:e.getValueAtIndexOrDefault(this.getDataset().backgroundColor,n,this.chart.options.elements.point.backgroundColor),t._model.borderColor=t.custom&&t.custom.borderColor?t.custom.borderColor:e.getValueAtIndexOrDefault(this.getDataset().borderColor,n,this.chart.options.elements.point.borderColor),t._model.borderWidth=t.custom&&t.custom.borderWidth?t.custom.borderWidth:e.getValueAtIndexOrDefault(this.getDataset().borderWidth,n,this.chart.options.elements.point.borderWidth)}})}},{}],17:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.doughnut={animation:{animateRotate:!0,animateScale:!1},aspectRatio:1,hover:{mode:"single"},legendCallback:function(t){var e=[];if(e.push('<ul class="'+t.id+'-legend">'),t.data.datasets.length)for(var n=0;n<t.data.datasets[0].data.length;++n)e.push('<li><span style="background-color:'+t.data.datasets[0].backgroundColor[n]+'">'),t.data.labels[n]&&e.push(t.data.labels[n]),e.push("</span></li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){return t.labels.length&&t.datasets.length?t.labels.map(function(e,n){return{text:e,fillStyle:t.datasets[0].backgroundColor[n],hidden:isNaN(t.datasets[0].data[n]),index:n}}):[]}},onClick:function(t,n){e.each(this.chart.data.datasets,function(t){t.metaHiddenData=t.metaHiddenData||[];var e=n.index;isNaN(t.data[e])?isNaN(t.metaHiddenData[e])||(t.data[e]=t.metaHiddenData[e]):(t.metaHiddenData[e]=t.data[e],t.data[e]=NaN)}),this.chart.update()}},cutoutPercentage:50,rotation:Math.PI*-.5,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+e.datasets[t.datasetIndex].data[t.index]}}}},t.defaults.pie=e.clone(t.defaults.doughnut),e.extend(t.defaults.pie,{cutoutPercentage:0}),t.controllers.doughnut=t.controllers.pie=t.DatasetController.extend({linkScales:function(){},addElements:function(){this.getDataset().metaData=this.getDataset().metaData||[],e.each(this.getDataset().data,function(e,n){this.getDataset().metaData[n]=this.getDataset().metaData[n]||new t.elements.Arc({_chart:this.chart.chart,_datasetIndex:this.index,_index:n})},this)},addElementAndReset:function(n,i){this.getDataset().metaData=this.getDataset().metaData||[];var a=new t.elements.Arc({_chart:this.chart.chart,_datasetIndex:this.index,_index:n});i&&e.isArray(this.getDataset().backgroundColor)&&this.getDataset().backgroundColor.splice(n,0,i),this.updateElement(a,n,!0),this.getDataset().metaData.splice(n,0,a)},getVisibleDatasetCount:function(){return e.where(this.chart.data.datasets,function(t){return e.isDatasetVisible(t)}).length},getRingIndex:function(t){for(var n=0,i=0;t>i;++i)e.isDatasetVisible(this.chart.data.datasets[i])&&++n;return n},update:function(t){var n=this.chart.chartArea.right-this.chart.chartArea.left-this.chart.options.elements.arc.borderWidth,i=this.chart.chartArea.bottom-this.chart.chartArea.top-this.chart.options.elements.arc.borderWidth,a=Math.min(n,i),r={x:0,y:0};if(this.chart.options.circumference&&this.chart.options.circumference<2*Math.PI){var s=this.chart.options.rotation%(2*Math.PI);s+=2*Math.PI*(s>=Math.PI?-1:s<-Math.PI?1:0);var o=s+this.chart.options.circumference,l={x:Math.cos(s),y:Math.sin(s)},d={x:Math.cos(o),y:Math.sin(o)},u=0>=s&&o>=0||s<=2*Math.PI&&2*Math.PI<=o,h=s<=.5*Math.PI&&.5*Math.PI<=o||s<=2.5*Math.PI&&2.5*Math.PI<=o,c=s<=-Math.PI&&-Math.PI<=o||s<=Math.PI&&Math.PI<=o,f=s<=.5*-Math.PI&&.5*-Math.PI<=o||s<=1.5*Math.PI&&1.5*Math.PI<=o,p=this.chart.options.cutoutPercentage/100,m={x:c?-1:Math.min(l.x*(l.x<0?1:p),d.x*(d.x<0?1:p)),y:f?-1:Math.min(l.y*(l.y<0?1:p),d.y*(d.y<0?1:p))},g={x:u?1:Math.max(l.x*(l.x>0?1:p),d.x*(d.x>0?1:p)),y:h?1:Math.max(l.y*(l.y>0?1:p),d.y*(d.y>0?1:p))},_={width:.5*(g.x-m.x),height:.5*(g.y-m.y)};a=Math.min(n/_.width,i/_.height),r={x:(g.x+m.x)*-.5,y:(g.y+m.y)*-.5}}this.chart.outerRadius=Math.max(a/2,0),this.chart.innerRadius=Math.max(this.chart.options.cutoutPercentage?this.chart.outerRadius/100*this.chart.options.cutoutPercentage:1,0),this.chart.radiusLength=(this.chart.outerRadius-this.chart.innerRadius)/this.getVisibleDatasetCount(),this.chart.offsetX=r.x*this.chart.outerRadius,this.chart.offsetY=r.y*this.chart.outerRadius,this.getDataset().total=0,e.each(this.getDataset().data,function(t){isNaN(t)||(this.getDataset().total+=Math.abs(t))},this),this.outerRadius=this.chart.outerRadius-this.chart.radiusLength*this.getRingIndex(this.index),this.innerRadius=this.outerRadius-this.chart.radiusLength,e.each(this.getDataset().metaData,function(e,n){this.updateElement(e,n,t)},this)},updateElement:function(t,n,i){var a=(this.chart.chartArea.left+this.chart.chartArea.right)/2,r=(this.chart.chartArea.top+this.chart.chartArea.bottom)/2,s=this.chart.options.rotation||Math.PI*-.5,o=this.chart.options.rotation||Math.PI*-.5,l=i&&this.chart.options.animation.animateRotate?0:this.calculateCircumference(this.getDataset().data[n])*((this.chart.options.circumference||2*Math.PI)/(2*Math.PI)),d=i&&this.chart.options.animation.animateScale?0:this.innerRadius,u=i&&this.chart.options.animation.animateScale?0:this.outerRadius;e.extend(t,{_chart:this.chart.chart,_datasetIndex:this.index,_index:n,_model:{x:a+this.chart.offsetX,y:r+this.chart.offsetY,startAngle:s,endAngle:o,circumference:l,outerRadius:u,innerRadius:d,backgroundColor:t.custom&&t.custom.backgroundColor?t.custom.backgroundColor:e.getValueAtIndexOrDefault(this.getDataset().backgroundColor,n,this.chart.options.elements.arc.backgroundColor),hoverBackgroundColor:t.custom&&t.custom.hoverBackgroundColor?t.custom.hoverBackgroundColor:e.getValueAtIndexOrDefault(this.getDataset().hoverBackgroundColor,n,this.chart.options.elements.arc.hoverBackgroundColor),borderWidth:t.custom&&t.custom.borderWidth?t.custom.borderWidth:e.getValueAtIndexOrDefault(this.getDataset().borderWidth,n,this.chart.options.elements.arc.borderWidth),borderColor:t.custom&&t.custom.borderColor?t.custom.borderColor:e.getValueAtIndexOrDefault(this.getDataset().borderColor,n,this.chart.options.elements.arc.borderColor),label:e.getValueAtIndexOrDefault(this.getDataset().label,n,this.chart.data.labels[n])}}),i||(0===n?t._model.startAngle=this.chart.options.rotation||Math.PI*-.5:t._model.startAngle=this.getDataset().metaData[n-1]._model.endAngle,t._model.endAngle=t._model.startAngle+t._model.circumference),t.pivot()},draw:function(t){var n=t||1;e.each(this.getDataset().metaData,function(t,e){t.transition(n).draw()})},setHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t._index;t._model.backgroundColor=t.custom&&t.custom.hoverBackgroundColor?t.custom.hoverBackgroundColor:e.getValueAtIndexOrDefault(n.hoverBackgroundColor,i,e.color(t._model.backgroundColor).saturate(.5).darken(.1).rgbString()),t._model.borderColor=t.custom&&t.custom.hoverBorderColor?t.custom.hoverBorderColor:e.getValueAtIndexOrDefault(n.hoverBorderColor,i,e.color(t._model.borderColor).saturate(.5).darken(.1).rgbString()),t._model.borderWidth=t.custom&&t.custom.hoverBorderWidth?t.custom.hoverBorderWidth:e.getValueAtIndexOrDefault(n.hoverBorderWidth,i,t._model.borderWidth)},removeHoverStyle:function(t){var n=(this.chart.data.datasets[t._datasetIndex],t._index);t._model.backgroundColor=t.custom&&t.custom.backgroundColor?t.custom.backgroundColor:e.getValueAtIndexOrDefault(this.getDataset().backgroundColor,n,this.chart.options.elements.arc.backgroundColor),t._model.borderColor=t.custom&&t.custom.borderColor?t.custom.borderColor:e.getValueAtIndexOrDefault(this.getDataset().borderColor,n,this.chart.options.elements.arc.borderColor),t._model.borderWidth=t.custom&&t.custom.borderWidth?t.custom.borderWidth:e.getValueAtIndexOrDefault(this.getDataset().borderWidth,n,this.chart.options.elements.arc.borderWidth)},calculateCircumference:function(t){return this.getDataset().total>0&&!isNaN(t)?1.999999*Math.PI*(t/this.getDataset().total):0}})}},{}],18:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.line={showLines:!0,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}},t.controllers.line=t.DatasetController.extend({addElements:function(){this.getDataset().metaData=this.getDataset().metaData||[],this.getDataset().metaDataset=this.getDataset().metaDataset||new t.elements.Line({_chart:this.chart.chart,_datasetIndex:this.index,_points:this.getDataset().metaData}),e.each(this.getDataset().data,function(e,n){this.getDataset().metaData[n]=this.getDataset().metaData[n]||new t.elements.Point({_chart:this.chart.chart,_datasetIndex:this.index,_index:n})},this)},addElementAndReset:function(e){this.getDataset().metaData=this.getDataset().metaData||[];var n=new t.elements.Point({_chart:this.chart.chart,_datasetIndex:this.index,_index:e});this.updateElement(n,e,!0),this.getDataset().metaData.splice(e,0,n),this.chart.options.showLines&&0!==this.chart.options.elements.line.tension&&this.updateBezierControlPoints()},update:function(t){var n,i=this.getDataset().metaDataset,a=this.getDataset().metaData,r=this.getScaleForId(this.getDataset().yAxisID);this.getScaleForId(this.getDataset().xAxisID);n=r.min<0&&r.max<0?r.getPixelForValue(r.max):r.min>0&&r.max>0?r.getPixelForValue(r.min):r.getPixelForValue(0),this.chart.options.showLines&&(i._scale=r,i._datasetIndex=this.index,i._children=a,i._model={tension:i.custom&&i.custom.tension?i.custom.tension:e.getValueOrDefault(this.getDataset().tension,this.chart.options.elements.line.tension),backgroundColor:i.custom&&i.custom.backgroundColor?i.custom.backgroundColor:this.getDataset().backgroundColor||this.chart.options.elements.line.backgroundColor,borderWidth:i.custom&&i.custom.borderWidth?i.custom.borderWidth:this.getDataset().borderWidth||this.chart.options.elements.line.borderWidth,borderColor:i.custom&&i.custom.borderColor?i.custom.borderColor:this.getDataset().borderColor||this.chart.options.elements.line.borderColor,borderCapStyle:i.custom&&i.custom.borderCapStyle?i.custom.borderCapStyle:this.getDataset().borderCapStyle||this.chart.options.elements.line.borderCapStyle,borderDash:i.custom&&i.custom.borderDash?i.custom.borderDash:this.getDataset().borderDash||this.chart.options.elements.line.borderDash,borderDashOffset:i.custom&&i.custom.borderDashOffset?i.custom.borderDashOffset:this.getDataset().borderDashOffset||this.chart.options.elements.line.borderDashOffset,borderJoinStyle:i.custom&&i.custom.borderJoinStyle?i.custom.borderJoinStyle:this.getDataset().borderJoinStyle||this.chart.options.elements.line.borderJoinStyle,fill:i.custom&&i.custom.fill?i.custom.fill:void 0!==this.getDataset().fill?this.getDataset().fill:this.chart.options.elements.line.fill,scaleTop:r.top,scaleBottom:r.bottom,scaleZero:n},i.pivot()),e.each(a,function(e,n){this.updateElement(e,n,t)},this),this.chart.options.showLines&&0!==this.chart.options.elements.line.tension&&this.updateBezierControlPoints()},getPointBackgroundColor:function(t,n){var i=this.chart.options.elements.point.backgroundColor,a=this.getDataset();return t.custom&&t.custom.backgroundColor?i=t.custom.backgroundColor:a.pointBackgroundColor?i=e.getValueAtIndexOrDefault(a.pointBackgroundColor,n,i):a.backgroundColor&&(i=a.backgroundColor),i},getPointBorderColor:function(t,n){var i=this.chart.options.elements.point.borderColor,a=this.getDataset();return t.custom&&t.custom.borderColor?i=t.custom.borderColor:a.pointBorderColor?i=e.getValueAtIndexOrDefault(this.getDataset().pointBorderColor,n,i):a.borderColor&&(i=a.borderColor),i},getPointBorderWidth:function(t,n){var i=this.chart.options.elements.point.borderWidth,a=this.getDataset();return t.custom&&void 0!==t.custom.borderWidth?i=t.custom.borderWidth:void 0!==a.pointBorderWidth?i=e.getValueAtIndexOrDefault(a.pointBorderWidth,n,i):void 0!==a.borderWidth&&(i=a.borderWidth),i},updateElement:function(t,n,i){var a,r=this.getScaleForId(this.getDataset().yAxisID),s=this.getScaleForId(this.getDataset().xAxisID);a=r.min<0&&r.max<0?r.getPixelForValue(r.max):r.min>0&&r.max>0?r.getPixelForValue(r.min):r.getPixelForValue(0),t._chart=this.chart.chart,t._xScale=s,t._yScale=r,t._datasetIndex=this.index,t._index=n,t._model={x:s.getPixelForValue(this.getDataset().data[n],n,this.index,this.chart.isCombo),y:i?a:this.calculatePointY(this.getDataset().data[n],n,this.index,this.chart.isCombo),tension:t.custom&&t.custom.tension?t.custom.tension:e.getValueOrDefault(this.getDataset().tension,this.chart.options.elements.line.tension),radius:t.custom&&t.custom.radius?t.custom.radius:e.getValueAtIndexOrDefault(this.getDataset().radius,n,this.chart.options.elements.point.radius),pointStyle:t.custom&&t.custom.pointStyle?t.custom.pointStyle:e.getValueAtIndexOrDefault(this.getDataset().pointStyle,n,this.chart.options.elements.point.pointStyle),backgroundColor:this.getPointBackgroundColor(t,n),borderColor:this.getPointBorderColor(t,n),borderWidth:this.getPointBorderWidth(t,n),hitRadius:t.custom&&t.custom.hitRadius?t.custom.hitRadius:e.getValueAtIndexOrDefault(this.getDataset().hitRadius,n,this.chart.options.elements.point.hitRadius)},t._model.skip=t.custom&&t.custom.skip?t.custom.skip:isNaN(t._model.x)||isNaN(t._model.y)},calculatePointY:function(t,n,i,a){var r=(this.getScaleForId(this.getDataset().xAxisID),this.getScaleForId(this.getDataset().yAxisID));if(r.options.stacked){for(var s=0,o=0,l=0;i>l;l++){var d=this.chart.data.datasets[l];"line"===d.type&&e.isDatasetVisible(d)&&(d.data[n]<0?o+=d.data[n]||0:s+=d.data[n]||0)}return 0>t?r.getPixelForValue(o+t):r.getPixelForValue(s+t)}return r.getPixelForValue(t)},updateBezierControlPoints:function(){e.each(this.getDataset().metaData,function(t,n){var i=e.splineCurve(e.previousItem(this.getDataset().metaData,n)._model,t._model,e.nextItem(this.getDataset().metaData,n)._model,t._model.tension);t._model.controlPointPreviousX=Math.max(Math.min(i.previous.x,this.chart.chartArea.right),this.chart.chartArea.left),t._model.controlPointPreviousY=Math.max(Math.min(i.previous.y,this.chart.chartArea.bottom),this.chart.chartArea.top),t._model.controlPointNextX=Math.max(Math.min(i.next.x,this.chart.chartArea.right),this.chart.chartArea.left),t._model.controlPointNextY=Math.max(Math.min(i.next.y,this.chart.chartArea.bottom),this.chart.chartArea.top),t.pivot()},this)},draw:function(t){var n=t||1;e.each(this.getDataset().metaData,function(t){t.transition(n)}),this.chart.options.showLines&&this.getDataset().metaDataset.transition(n).draw(),e.each(this.getDataset().metaData,function(t){t.draw()})},setHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t._index;t._model.radius=t.custom&&t.custom.hoverRadius?t.custom.hoverRadius:e.getValueAtIndexOrDefault(n.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),t._model.backgroundColor=t.custom&&t.custom.hoverBackgroundColor?t.custom.hoverBackgroundColor:e.getValueAtIndexOrDefault(n.pointHoverBackgroundColor,i,e.color(t._model.backgroundColor).saturate(.5).darken(.1).rgbString()),t._model.borderColor=t.custom&&t.custom.hoverBorderColor?t.custom.hoverBorderColor:e.getValueAtIndexOrDefault(n.pointHoverBorderColor,i,e.color(t._model.borderColor).saturate(.5).darken(.1).rgbString()),t._model.borderWidth=t.custom&&t.custom.hoverBorderWidth?t.custom.hoverBorderWidth:e.getValueAtIndexOrDefault(n.pointHoverBorderWidth,i,t._model.borderWidth)},removeHoverStyle:function(t){var n=(this.chart.data.datasets[t._datasetIndex],t._index);t._model.radius=t.custom&&t.custom.radius?t.custom.radius:e.getValueAtIndexOrDefault(this.getDataset().radius,n,this.chart.options.elements.point.radius),t._model.backgroundColor=this.getPointBackgroundColor(t,n),t._model.borderColor=this.getPointBorderColor(t,n),t._model.borderWidth=this.getPointBorderWidth(t,n)}})}},{}],19:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.polarArea={scale:{type:"radialLinear",lineArc:!0},animateRotate:!0,animateScale:!0,aspectRatio:1,legendCallback:function(t){var e=[];if(e.push('<ul class="'+t.id+'-legend">'),t.data.datasets.length)for(var n=0;n<t.data.datasets[0].data.length;++n)e.push('<li><span style="background-color:'+t.data.datasets[0].backgroundColor[n]+'">'),t.data.labels[n]&&e.push(t.data.labels[n]),e.push("</span></li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){return t.labels.length&&t.datasets.length?t.labels.map(function(e,n){return{text:e,fillStyle:t.datasets[0].backgroundColor[n],hidden:isNaN(t.datasets[0].data[n]),index:n}}):[]}},onClick:function(t,n){e.each(this.chart.data.datasets,function(t){t.metaHiddenData=t.metaHiddenData||[];var e=n.index;isNaN(t.data[e])?isNaN(t.metaHiddenData[e])||(t.data[e]=t.metaHiddenData[e]):(t.metaHiddenData[e]=t.data[e],t.data[e]=NaN)}),this.chart.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}},t.controllers.polarArea=t.DatasetController.extend({linkScales:function(){},addElements:function(){this.getDataset().metaData=this.getDataset().metaData||[],e.each(this.getDataset().data,function(e,n){this.getDataset().metaData[n]=this.getDataset().metaData[n]||new t.elements.Arc({_chart:this.chart.chart,_datasetIndex:this.index,_index:n})},this)},addElementAndReset:function(e){this.getDataset().metaData=this.getDataset().metaData||[];var n=new t.elements.Arc({_chart:this.chart.chart,_datasetIndex:this.index,_index:e});this.updateElement(n,e,!0),this.getDataset().metaData.splice(e,0,n)},getVisibleDatasetCount:function(){return e.where(this.chart.data.datasets,function(t){return e.isDatasetVisible(t)}).length},update:function(t){var n=Math.min(this.chart.chartArea.right-this.chart.chartArea.left,this.chart.chartArea.bottom-this.chart.chartArea.top);this.chart.outerRadius=Math.max((n-this.chart.options.elements.arc.borderWidth/2)/2,0),this.chart.innerRadius=Math.max(this.chart.options.cutoutPercentage?this.chart.outerRadius/100*this.chart.options.cutoutPercentage:1,0),this.chart.radiusLength=(this.chart.outerRadius-this.chart.innerRadius)/this.getVisibleDatasetCount(),this.getDataset().total=0,e.each(this.getDataset().data,function(t){this.getDataset().total+=Math.abs(t)},this),this.outerRadius=this.chart.outerRadius-this.chart.radiusLength*this.index,this.innerRadius=this.outerRadius-this.chart.radiusLength,e.each(this.getDataset().metaData,function(e,n){this.updateElement(e,n,t)},this)},updateElement:function(t,n,i){for(var a=this.calculateCircumference(this.getDataset().data[n]),r=(this.chart.chartArea.left+this.chart.chartArea.right)/2,s=(this.chart.chartArea.top+this.chart.chartArea.bottom)/2,o=0,l=0;n>l;++l)isNaN(this.getDataset().data[l])||++o;var d=-.5*Math.PI+a*o,u=d+a,h={x:r,y:s,innerRadius:0,outerRadius:this.chart.options.animateScale?0:this.chart.scale.getDistanceFromCenterForValue(this.getDataset().data[n]),startAngle:this.chart.options.animateRotate?Math.PI*-.5:d,endAngle:this.chart.options.animateRotate?Math.PI*-.5:u,backgroundColor:t.custom&&t.custom.backgroundColor?t.custom.backgroundColor:e.getValueAtIndexOrDefault(this.getDataset().backgroundColor,n,this.chart.options.elements.arc.backgroundColor),borderWidth:t.custom&&t.custom.borderWidth?t.custom.borderWidth:e.getValueAtIndexOrDefault(this.getDataset().borderWidth,n,this.chart.options.elements.arc.borderWidth),borderColor:t.custom&&t.custom.borderColor?t.custom.borderColor:e.getValueAtIndexOrDefault(this.getDataset().borderColor,n,this.chart.options.elements.arc.borderColor),label:e.getValueAtIndexOrDefault(this.chart.data.labels,n,this.chart.data.labels[n])};e.extend(t,{_chart:this.chart.chart,_datasetIndex:this.index,_index:n,_scale:this.chart.scale,_model:i?h:{x:r,y:s,innerRadius:0,outerRadius:this.chart.scale.getDistanceFromCenterForValue(this.getDataset().data[n]),startAngle:d,endAngle:u,backgroundColor:t.custom&&t.custom.backgroundColor?t.custom.backgroundColor:e.getValueAtIndexOrDefault(this.getDataset().backgroundColor,n,this.chart.options.elements.arc.backgroundColor),borderWidth:t.custom&&t.custom.borderWidth?t.custom.borderWidth:e.getValueAtIndexOrDefault(this.getDataset().borderWidth,n,this.chart.options.elements.arc.borderWidth),borderColor:t.custom&&t.custom.borderColor?t.custom.borderColor:e.getValueAtIndexOrDefault(this.getDataset().borderColor,n,this.chart.options.elements.arc.borderColor),label:e.getValueAtIndexOrDefault(this.chart.data.labels,n,this.chart.data.labels[n])}}),t.pivot()},draw:function(t){var n=t||1;e.each(this.getDataset().metaData,function(t,e){t.transition(n).draw()})},setHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t._index;t._model.backgroundColor=t.custom&&t.custom.hoverBackgroundColor?t.custom.hoverBackgroundColor:e.getValueAtIndexOrDefault(n.hoverBackgroundColor,i,e.color(t._model.backgroundColor).saturate(.5).darken(.1).rgbString()),t._model.borderColor=t.custom&&t.custom.hoverBorderColor?t.custom.hoverBorderColor:e.getValueAtIndexOrDefault(n.hoverBorderColor,i,e.color(t._model.borderColor).saturate(.5).darken(.1).rgbString()),t._model.borderWidth=t.custom&&t.custom.hoverBorderWidth?t.custom.hoverBorderWidth:e.getValueAtIndexOrDefault(n.hoverBorderWidth,i,t._model.borderWidth)},removeHoverStyle:function(t){var n=(this.chart.data.datasets[t._datasetIndex],t._index);t._model.backgroundColor=t.custom&&t.custom.backgroundColor?t.custom.backgroundColor:e.getValueAtIndexOrDefault(this.getDataset().backgroundColor,n,this.chart.options.elements.arc.backgroundColor),t._model.borderColor=t.custom&&t.custom.borderColor?t.custom.borderColor:e.getValueAtIndexOrDefault(this.getDataset().borderColor,n,this.chart.options.elements.arc.borderColor),t._model.borderWidth=t.custom&&t.custom.borderWidth?t.custom.borderWidth:e.getValueAtIndexOrDefault(this.getDataset().borderWidth,n,this.chart.options.elements.arc.borderWidth)},calculateCircumference:function(t){if(isNaN(t))return 0;var n=e.where(this.getDataset().data,function(t){return isNaN(t)}).length;return 2*Math.PI/(this.getDataset().data.length-n)}})}},{}],20:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.radar={scale:{type:"radialLinear"},elements:{line:{tension:0}}},t.controllers.radar=t.DatasetController.extend({linkScales:function(){},addElements:function(){this.getDataset().metaData=this.getDataset().metaData||[],this.getDataset().metaDataset=this.getDataset().metaDataset||new t.elements.Line({_chart:this.chart.chart,_datasetIndex:this.index,_points:this.getDataset().metaData,_loop:!0}),e.each(this.getDataset().data,function(e,n){this.getDataset().metaData[n]=this.getDataset().metaData[n]||new t.elements.Point({_chart:this.chart.chart,_datasetIndex:this.index,_index:n,_model:{x:0,y:0}})},this)},addElementAndReset:function(e){this.getDataset().metaData=this.getDataset().metaData||[];var n=new t.elements.Point({_chart:this.chart.chart,_datasetIndex:this.index,_index:e});this.updateElement(n,e,!0),this.getDataset().metaData.splice(e,0,n),this.updateBezierControlPoints()},update:function(t){var n,i=this.getDataset().metaDataset,a=this.getDataset().metaData,r=this.chart.scale;n=r.min<0&&r.max<0?r.getPointPositionForValue(0,r.max):r.min>0&&r.max>0?r.getPointPositionForValue(0,r.min):r.getPointPositionForValue(0,0),e.extend(this.getDataset().metaDataset,{_datasetIndex:this.index,_children:this.getDataset().metaData,_model:{tension:i.custom&&i.custom.tension?i.custom.tension:e.getValueOrDefault(this.getDataset().tension,this.chart.options.elements.line.tension),backgroundColor:i.custom&&i.custom.backgroundColor?i.custom.backgroundColor:this.getDataset().backgroundColor||this.chart.options.elements.line.backgroundColor,borderWidth:i.custom&&i.custom.borderWidth?i.custom.borderWidth:this.getDataset().borderWidth||this.chart.options.elements.line.borderWidth,borderColor:i.custom&&i.custom.borderColor?i.custom.borderColor:this.getDataset().borderColor||this.chart.options.elements.line.borderColor,fill:i.custom&&i.custom.fill?i.custom.fill:void 0!==this.getDataset().fill?this.getDataset().fill:this.chart.options.elements.line.fill,borderCapStyle:i.custom&&i.custom.borderCapStyle?i.custom.borderCapStyle:this.getDataset().borderCapStyle||this.chart.options.elements.line.borderCapStyle,borderDash:i.custom&&i.custom.borderDash?i.custom.borderDash:this.getDataset().borderDash||this.chart.options.elements.line.borderDash,borderDashOffset:i.custom&&i.custom.borderDashOffset?i.custom.borderDashOffset:this.getDataset().borderDashOffset||this.chart.options.elements.line.borderDashOffset,borderJoinStyle:i.custom&&i.custom.borderJoinStyle?i.custom.borderJoinStyle:this.getDataset().borderJoinStyle||this.chart.options.elements.line.borderJoinStyle,scaleTop:r.top,scaleBottom:r.bottom,scaleZero:n}}),this.getDataset().metaDataset.pivot(),e.each(a,function(e,n){this.updateElement(e,n,t)},this),this.updateBezierControlPoints()},updateElement:function(t,n,i){var a=this.chart.scale.getPointPositionForValue(n,this.getDataset().data[n]);e.extend(t,{_datasetIndex:this.index,_index:n,_scale:this.chart.scale,_model:{x:i?this.chart.scale.xCenter:a.x,y:i?this.chart.scale.yCenter:a.y,tension:t.custom&&t.custom.tension?t.custom.tension:e.getValueOrDefault(this.getDataset().tension,this.chart.options.elements.line.tension),radius:t.custom&&t.custom.radius?t.custom.radius:e.getValueAtIndexOrDefault(this.getDataset().pointRadius,n,this.chart.options.elements.point.radius),backgroundColor:t.custom&&t.custom.backgroundColor?t.custom.backgroundColor:e.getValueAtIndexOrDefault(this.getDataset().pointBackgroundColor,n,this.chart.options.elements.point.backgroundColor),borderColor:t.custom&&t.custom.borderColor?t.custom.borderColor:e.getValueAtIndexOrDefault(this.getDataset().pointBorderColor,n,this.chart.options.elements.point.borderColor),borderWidth:t.custom&&t.custom.borderWidth?t.custom.borderWidth:e.getValueAtIndexOrDefault(this.getDataset().pointBorderWidth,n,this.chart.options.elements.point.borderWidth),pointStyle:t.custom&&t.custom.pointStyle?t.custom.pointStyle:e.getValueAtIndexOrDefault(this.getDataset().pointStyle,n,this.chart.options.elements.point.pointStyle),hitRadius:t.custom&&t.custom.hitRadius?t.custom.hitRadius:e.getValueAtIndexOrDefault(this.getDataset().hitRadius,n,this.chart.options.elements.point.hitRadius)}}),t._model.skip=t.custom&&t.custom.skip?t.custom.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){e.each(this.getDataset().metaData,function(t,n){var i=e.splineCurve(e.previousItem(this.getDataset().metaData,n,!0)._model,t._model,e.nextItem(this.getDataset().metaData,n,!0)._model,t._model.tension);t._model.controlPointPreviousX=Math.max(Math.min(i.previous.x,this.chart.chartArea.right),this.chart.chartArea.left),t._model.controlPointPreviousY=Math.max(Math.min(i.previous.y,this.chart.chartArea.bottom),this.chart.chartArea.top),t._model.controlPointNextX=Math.max(Math.min(i.next.x,this.chart.chartArea.right),this.chart.chartArea.left),t._model.controlPointNextY=Math.max(Math.min(i.next.y,this.chart.chartArea.bottom),this.chart.chartArea.top),t.pivot()},this)},draw:function(t){var n=t||1;e.each(this.getDataset().metaData,function(t,e){t.transition(n)}),this.getDataset().metaDataset.transition(n).draw(),e.each(this.getDataset().metaData,function(t){t.draw()})},setHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t._index;t._model.radius=t.custom&&t.custom.hoverRadius?t.custom.hoverRadius:e.getValueAtIndexOrDefault(n.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),t._model.backgroundColor=t.custom&&t.custom.hoverBackgroundColor?t.custom.hoverBackgroundColor:e.getValueAtIndexOrDefault(n.pointHoverBackgroundColor,i,e.color(t._model.backgroundColor).saturate(.5).darken(.1).rgbString()),t._model.borderColor=t.custom&&t.custom.hoverBorderColor?t.custom.hoverBorderColor:e.getValueAtIndexOrDefault(n.pointHoverBorderColor,i,e.color(t._model.borderColor).saturate(.5).darken(.1).rgbString()),t._model.borderWidth=t.custom&&t.custom.hoverBorderWidth?t.custom.hoverBorderWidth:e.getValueAtIndexOrDefault(n.pointHoverBorderWidth,i,t._model.borderWidth)},removeHoverStyle:function(t){var n=(this.chart.data.datasets[t._datasetIndex],t._index);t._model.radius=t.custom&&t.custom.radius?t.custom.radius:e.getValueAtIndexOrDefault(this.getDataset().radius,n,this.chart.options.elements.point.radius),t._model.backgroundColor=t.custom&&t.custom.backgroundColor?t.custom.backgroundColor:e.getValueAtIndexOrDefault(this.getDataset().pointBackgroundColor,n,this.chart.options.elements.point.backgroundColor),t._model.borderColor=t.custom&&t.custom.borderColor?t.custom.borderColor:e.getValueAtIndexOrDefault(this.getDataset().pointBorderColor,n,this.chart.options.elements.point.borderColor),t._model.borderWidth=t.custom&&t.custom.borderWidth?t.custom.borderWidth:e.getValueAtIndexOrDefault(this.getDataset().pointBorderWidth,n,this.chart.options.elements.point.borderWidth)}})}},{}],21:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.global.animation={duration:1e3,easing:"easeOutQuart",onProgress:e.noop,onComplete:e.noop},t.Animation=t.Element.extend({currentStep:null,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),t.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,n,i){i||(t.animating=!0);for(var a=0;a<this.animations.length;++a)if(this.animations[a].chartInstance===t)return void(this.animations[a].animationObject=e);this.animations.push({chartInstance:t,animationObject:e}),1===this.animations.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var n=e.findIndex(this.animations,function(e){return e.chartInstance===t});-1!==n&&(this.animations.splice(n,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=e.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){var t=Date.now(),e=0;this.dropFrames>1&&(e=Math.floor(this.dropFrames),this.dropFrames=this.dropFrames%1);for(var n=0;n<this.animations.length;)null===this.animations[n].animationObject.currentStep&&(this.animations[n].animationObject.currentStep=0),this.animations[n].animationObject.currentStep+=1+e,this.animations[n].animationObject.currentStep>this.animations[n].animationObject.numSteps&&(this.animations[n].animationObject.currentStep=this.animations[n].animationObject.numSteps),this.animations[n].animationObject.render(this.animations[n].chartInstance,this.animations[n].animationObject),this.animations[n].animationObject.onAnimationProgress&&this.animations[n].animationObject.onAnimationProgress.call&&this.animations[n].animationObject.onAnimationProgress.call(this.animations[n].chartInstance,this.animations[n]),this.animations[n].animationObject.currentStep===this.animations[n].animationObject.numSteps?(this.animations[n].animationObject.onAnimationComplete&&this.animations[n].animationObject.onAnimationComplete.call&&this.animations[n].animationObject.onAnimationComplete.call(this.animations[n].chartInstance,this.animations[n]),
|
||
this.animations[n].chartInstance.animating=!1,this.animations.splice(n,1)):++n;var i=Date.now(),a=(i-t)/this.frameDuration;this.dropFrames+=a,this.animations.length>0&&this.requestAnimationFrame()}}}},{}],22:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.types={},t.instances={},t.controllers={},t.Controller=function(n){return this.chart=n,this.config=n.config,this.options=this.config.options=e.configMerge(t.defaults.global,t.defaults[this.config.type],this.config.options||{}),this.id=e.uid(),Object.defineProperty(this,"data",{get:function(){return this.config.data}}),t.instances[this.id]=this,this.options.responsive&&this.resize(!0),this.initialize(),this},e.extend(t.Controller.prototype,{initialize:function(){return this.bindEvents(),this.ensureScalesHaveIDs(),this.buildOrUpdateControllers(),this.buildScales(),this.buildSurroundingItems(),this.updateLayout(),this.resetElements(),this.initToolTip(),this.update(),this},clear:function(){return e.clear(this.chart),this},stop:function(){return t.animationService.cancelAnimation(this),this},resize:function(t){var n=this.chart.canvas,i=e.getMaximumWidth(this.chart.canvas),a=this.options.maintainAspectRatio&&isNaN(this.chart.aspectRatio)===!1&&isFinite(this.chart.aspectRatio)&&0!==this.chart.aspectRatio?i/this.chart.aspectRatio:e.getMaximumHeight(this.chart.canvas),r=this.chart.width!==i||this.chart.height!==a;return r?(n.width=this.chart.width=i,n.height=this.chart.height=a,e.retinaScale(this.chart),t||(this.stop(),this.update(this.options.responsiveAnimationDuration)),this):this},ensureScalesHaveIDs:function(){var t="x-axis-",n="y-axis-";this.options.scales&&(this.options.scales.xAxes&&this.options.scales.xAxes.length&&e.each(this.options.scales.xAxes,function(e,n){e.id=e.id||t+n}),this.options.scales.yAxes&&this.options.scales.yAxes.length&&e.each(this.options.scales.yAxes,function(t,e){t.id=t.id||n+e}))},buildScales:function(){if(this.scales={},this.options.scales&&(this.options.scales.xAxes&&this.options.scales.xAxes.length&&e.each(this.options.scales.xAxes,function(n,i){var a=e.getValueOrDefault(n.type,"category"),r=t.scaleService.getScaleConstructor(a);if(r){var s=new r({ctx:this.chart.ctx,options:n,chart:this,id:n.id});this.scales[s.id]=s}},this),this.options.scales.yAxes&&this.options.scales.yAxes.length&&e.each(this.options.scales.yAxes,function(n,i){var a=e.getValueOrDefault(n.type,"linear"),r=t.scaleService.getScaleConstructor(a);if(r){var s=new r({ctx:this.chart.ctx,options:n,chart:this,id:n.id});this.scales[s.id]=s}},this)),this.options.scale){var n=t.scaleService.getScaleConstructor(this.options.scale.type);if(n){var i=new n({ctx:this.chart.ctx,options:this.options.scale,chart:this});this.scale=i,this.scales.radialScale=i}}t.scaleService.addScalesToLayout(this)},buildSurroundingItems:function(){this.options.title&&(this.titleBlock=new t.Title({ctx:this.chart.ctx,options:this.options.title,chart:this}),t.layoutService.addBox(this,this.titleBlock)),this.options.legend&&(this.legend=new t.Legend({ctx:this.chart.ctx,options:this.options.legend,chart:this}),t.layoutService.addBox(this,this.legend))},updateLayout:function(){t.layoutService.update(this,this.chart.width,this.chart.height)},buildOrUpdateControllers:function(){var n=[],i=[];if(e.each(this.data.datasets,function(e,a){e.type||(e.type=this.config.type);var r=e.type;n.push(r),e.controller?e.controller.updateIndex(a):(e.controller=new t.controllers[r](this,a),i.push(e.controller))},this),n.length>1)for(var a=1;a<n.length;a++)if(n[a]!==n[a-1]){this.isCombo=!0;break}return i},resetElements:function(){e.each(this.data.datasets,function(t,e){t.controller.reset()})},update:function(n,i){this.tooltip._data=this.data;var a=this.buildOrUpdateControllers();t.layoutService.update(this,this.chart.width,this.chart.height),e.each(a,function(t){t.reset()}),e.each(this.data.datasets,function(t,e){t.controller.buildOrUpdateElements()}),e.each(this.data.datasets,function(t,e){t.controller.update()}),this.render(n,i)},render:function(n,i){if(this.options.animation&&("undefined"!=typeof n&&0!==n||"undefined"==typeof n&&0!==this.options.animation.duration)){var a=new t.Animation;a.numSteps=(n||this.options.animation.duration)/16.66,a.easing=this.options.animation.easing,a.render=function(t,n){var i=e.easingEffects[n.easing],a=n.currentStep/n.numSteps,r=i(a);t.draw(r,a,n.currentStep)},a.onAnimationProgress=this.options.animation.onProgress,a.onAnimationComplete=this.options.animation.onComplete,t.animationService.addAnimation(this,a,n,i)}else this.draw(),this.options.animation&&this.options.animation.onComplete&&this.options.animation.onComplete.call&&this.options.animation.onComplete.call(this);return this},draw:function(t){var n=t||1;this.clear(),e.each(this.boxes,function(t){t.draw(this.chartArea)},this),this.scale&&this.scale.draw(),this.chart.ctx.save(),this.chart.ctx.beginPath(),this.chart.ctx.rect(this.chartArea.left,this.chartArea.top,this.chartArea.right-this.chartArea.left,this.chartArea.bottom-this.chartArea.top),this.chart.ctx.clip(),e.each(this.data.datasets,function(n,i){e.isDatasetVisible(n)&&n.controller.draw(t)},null,!0),this.chart.ctx.restore(),this.tooltip.transition(n).draw()},getElementAtEvent:function(t){var n=e.getRelativePosition(t,this.chart),i=[];return e.each(this.data.datasets,function(t,a){e.isDatasetVisible(t)&&e.each(t.metaData,function(t,e){return t.inRange(n.x,n.y)?(i.push(t),i):void 0})}),i},getElementsAtEvent:function(t){var n=e.getRelativePosition(t,this.chart),i=[],a=function(){if(this.data.datasets)for(var t=0;t<this.data.datasets.length;t++)if(e.isDatasetVisible(this.data.datasets[t]))for(var i=0;i<this.data.datasets[t].metaData.length;i++)if(this.data.datasets[t].metaData[i].inRange(n.x,n.y))return this.data.datasets[t].metaData[i]}.call(this);return a?(e.each(this.data.datasets,function(t,n){e.isDatasetVisible(t)&&i.push(t.metaData[a._index])}),i):i},getDatasetAtEvent:function(t){var e=this.getElementAtEvent(t);return e.length>0&&(e=this.data.datasets[e[0]._datasetIndex].metaData),e},generateLegend:function(){return this.options.legendCallback(this)},destroy:function(){this.clear(),e.unbindEvents(this,this.events),e.removeResizeListener(this.chart.canvas.parentNode);var n=this.chart.canvas;n.width=this.chart.width,n.height=this.chart.height,void 0!==this.chart.originalDevicePixelRatio&&this.chart.ctx.scale(1/this.chart.originalDevicePixelRatio,1/this.chart.originalDevicePixelRatio),n.style.width=this.chart.originalCanvasStyleWidth,n.style.height=this.chart.originalCanvasStyleHeight,delete t.instances[this.id]},toBase64Image:function(){return this.chart.canvas.toDataURL.apply(this.chart.canvas,arguments)},initToolTip:function(){this.tooltip=new t.Tooltip({_chart:this.chart,_chartInstance:this,_data:this.data,_options:this.options},this)},bindEvents:function(){e.bindEvents(this,this.options.events,function(t){this.eventHandler(t)})},eventHandler:function(t){if(this.lastActive=this.lastActive||[],this.lastTooltipActive=this.lastTooltipActive||[],"mouseout"===t.type)this.active=[],this.tooltipActive=[];else{var n=this,i=function(e){switch(e){case"single":return n.getElementAtEvent(t);case"label":return n.getElementsAtEvent(t);case"dataset":return n.getDatasetAtEvent(t);default:return t}};this.active=i(this.options.hover.mode),this.tooltipActive=i(this.options.tooltips.mode)}this.options.hover.onHover&&this.options.hover.onHover.call(this,this.active),"mouseup"!==t.type&&"click"!==t.type||(this.options.onClick&&this.options.onClick.call(this,t,this.active),this.legend&&this.legend.handleEvent&&this.legend.handleEvent(t));if(this.lastActive.length)switch(this.options.hover.mode){case"single":this.data.datasets[this.lastActive[0]._datasetIndex].controller.removeHoverStyle(this.lastActive[0],this.lastActive[0]._datasetIndex,this.lastActive[0]._index);break;case"label":case"dataset":for(var a=0;a<this.lastActive.length;a++)this.lastActive[a]&&this.data.datasets[this.lastActive[a]._datasetIndex].controller.removeHoverStyle(this.lastActive[a],this.lastActive[a]._datasetIndex,this.lastActive[a]._index)}if(this.active.length&&this.options.hover.mode)switch(this.options.hover.mode){case"single":this.data.datasets[this.active[0]._datasetIndex].controller.setHoverStyle(this.active[0]);break;case"label":case"dataset":for(var r=0;r<this.active.length;r++)this.active[r]&&this.data.datasets[this.active[r]._datasetIndex].controller.setHoverStyle(this.active[r])}if((this.options.tooltips.enabled||this.options.tooltips.custom)&&(this.tooltip.initialize(),this.tooltip._active=this.tooltipActive,this.tooltip.update()),this.tooltip.pivot(),!this.animating){var s;e.each(this.active,function(t,e){t!==this.lastActive[e]&&(s=!0)},this),e.each(this.tooltipActive,function(t,e){t!==this.lastTooltipActive[e]&&(s=!0)},this),(this.lastActive.length!==this.active.length||this.lastTooltipActive.length!==this.tooltipActive.length||s)&&(this.stop(),(this.options.tooltips.enabled||this.options.tooltips.custom)&&this.tooltip.update(!0),this.render(this.options.hover.animationDuration,!0))}return this.lastActive=this.active,this.lastTooltipActive=this.tooltipActive,this}})}},{}],23:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.DatasetController=function(t,e){this.initialize.call(this,t,e)},e.extend(t.DatasetController.prototype,{initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){this.getDataset().xAxisID||(this.getDataset().xAxisID=this.chart.options.scales.xAxes[0].id),this.getDataset().yAxisID||(this.getDataset().yAxisID=this.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getScaleForId:function(t){return this.chart.scales[t]},reset:function(){this.update(!0)},buildOrUpdateElements:function(){var t=this.getDataset().data.length,e=this.getDataset().metaData.length;if(e>t)this.getDataset().metaData.splice(t,e-t);else if(t>e)for(var n=e;t>n;++n)this.addElementAndReset(n)},addElements:e.noop,addElementAndReset:e.noop,draw:e.noop,removeHoverStyle:e.noop,setHoverStyle:e.noop,update:e.noop}),t.DatasetController.extend=e.inherits}},{}],24:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.elements={},t.Element=function(t){e.extend(this,t),this.initialize.apply(this,arguments)},e.extend(t.Element.prototype,{initialize:function(){},pivot:function(){return this._view||(this._view=e.clone(this._model)),this._start=e.clone(this._view),this},transition:function(t){return this._view||(this._view=e.clone(this._model)),1===t?(this._view=this._model,this._start=null,this):(this._start||this.pivot(),e.each(this._model,function(n,i){if("_"!==i[0]&&this._model.hasOwnProperty(i))if(this._view.hasOwnProperty(i))if(n===this._view[i]);else if("string"==typeof n)try{var a=e.color(this._start[i]).mix(e.color(this._model[i]),t);this._view[i]=a.rgbString()}catch(r){this._view[i]=n}else if("number"==typeof n){var s=void 0!==this._start[i]&&isNaN(this._start[i])===!1?this._start[i]:0;this._view[i]=(this._model[i]-s)*t+s}else this._view[i]=n;else"number"!=typeof n||isNaN(this._view[i])?this._view[i]=n:this._view[i]=n*t;else;},this),this)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return e.isNumber(this._model.x)&&e.isNumber(this._model.y)}}),t.Element.extend=e.inherits}},{}],25:[function(t,e,n){"use strict";var i=t("chartjs-color");e.exports=function(t){function e(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!=t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function n(t,n,i){var a,r=document.defaultView.getComputedStyle(t)[n],s=document.defaultView.getComputedStyle(t.parentNode)[n],o=null!==r&&"none"!==r,l=null!==s&&"none"!==s;return(o||l)&&(a=Math.min(o?e(r,t,i):Number.POSITIVE_INFINITY,l?e(s,t.parentNode,i):Number.POSITIVE_INFINITY)),a}var a=t.helpers={};a.each=function(t,e,n,i){var r,s;if(a.isArray(t))if(s=t.length,i)for(r=s-1;r>=0;r--)e.call(n,t[r],r);else for(r=0;s>r;r++)e.call(n,t[r],r);else if("object"==typeof t){var o=Object.keys(t);for(s=o.length,r=0;s>r;r++)e.call(n,t[o[r]],o[r])}},a.clone=function(t){var e={};return a.each(t,function(n,i){t.hasOwnProperty(i)&&(a.isArray(n)?e[i]=n.slice(0):"object"==typeof n&&null!==n?e[i]=a.clone(n):e[i]=n)}),e},a.extend=function(t){for(var e=arguments.length,n=[],i=1;e>i;i++)n.push(arguments[i]);return a.each(n,function(e){a.each(e,function(n,i){e.hasOwnProperty(i)&&(t[i]=n)})}),t},a.configMerge=function(e){var n=a.clone(e);return a.each(Array.prototype.slice.call(arguments,1),function(e){a.each(e,function(i,r){if(e.hasOwnProperty(r))if("scales"===r)n[r]=a.scaleMerge(n.hasOwnProperty(r)?n[r]:{},i);else if("scale"===r)n[r]=a.configMerge(n.hasOwnProperty(r)?n[r]:{},t.scaleService.getScaleDefaults(i.type),i);else if(n.hasOwnProperty(r)&&a.isArray(n[r])&&a.isArray(i)){var s=n[r];a.each(i,function(t,e){e<s.length?"object"==typeof s[e]&&null!==s[e]&&"object"==typeof t&&null!==t?s[e]=a.configMerge(s[e],t):s[e]=t:s.push(t)})}else n.hasOwnProperty(r)&&"object"==typeof n[r]&&null!==n[r]&&"object"==typeof i?n[r]=a.configMerge(n[r],i):n[r]=i})}),n},a.extendDeep=function(t){function e(t){return a.each(arguments,function(n){n!==t&&a.each(n,function(n,i){t[i]&&t[i].constructor&&t[i].constructor===Object?e(t[i],n):t[i]=n})}),t}return e.apply(this,arguments)},a.scaleMerge=function(e,n){var i=a.clone(e);return a.each(n,function(e,r){n.hasOwnProperty(r)&&("xAxes"===r||"yAxes"===r?i.hasOwnProperty(r)?a.each(e,function(e,n){var s=a.getValueOrDefault(e.type,"xAxes"===r?"category":"linear"),o=t.scaleService.getScaleDefaults(s);n>=i[r].length||!i[r][n].type?i[r].push(a.configMerge(o,e)):e.type&&e.type!==i[r][n].type?i[r][n]=a.configMerge(i[r][n],o,e):i[r][n]=a.configMerge(i[r][n],e)}):(i[r]=[],a.each(e,function(e){var n=a.getValueOrDefault(e.type,"xAxes"===r?"category":"linear");i[r].push(a.configMerge(t.scaleService.getScaleDefaults(n),e))})):i.hasOwnProperty(r)&&"object"==typeof i[r]&&null!==i[r]&&"object"==typeof e?i[r]=a.configMerge(i[r],e):i[r]=e)}),i},a.getValueAtIndexOrDefault=function(t,e,n){return void 0===t||null===t?n:a.isArray(t)?e<t.length?t[e]:n:t},a.getValueOrDefault=function(t,e){return void 0===t?e:t},a.indexOf=function(t,e){if(Array.prototype.indexOf)return t.indexOf(e);for(var n=0;n<t.length;n++)if(t[n]===e)return n;return-1},a.where=function(t,e){var n=[];return a.each(t,function(t){e(t)&&n.push(t)}),n},a.findIndex=function(t,e,n){var i=-1;if(Array.prototype.findIndex)i=t.findIndex(e,n);else for(var a=0;a<t.length;++a)if(n=void 0!==n?n:t,e.call(n,t[a],a,t)){i=a;break}return i},a.findNextWhere=function(t,e,n){void 0!==n&&null!==n||(n=-1);for(var i=n+1;i<t.length;i++){var a=t[i];if(e(a))return a}},a.findPreviousWhere=function(t,e,n){void 0!==n&&null!==n||(n=t.length);for(var i=n-1;i>=0;i--){var a=t[i];if(e(a))return a}},a.inherits=function(t){var e=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},i=function(){this.constructor=n};return i.prototype=e.prototype,n.prototype=new i,n.extend=a.inherits,t&&a.extend(n.prototype,t),n.__super__=e.prototype,n},a.noop=function(){},a.uid=function(){var t=0;return function(){return"chart-"+t++}}(),a.warn=function(t){console&&"function"==typeof console.warn&&console.warn(t)},a.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},a.almostEquals=function(t,e,n){return Math.abs(t-e)<n},a.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},a.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},a.sign=function(t){return Math.sign?Math.sign(t):(t=+t,0===t||isNaN(t)?t:t>0?1:-1)},a.log10=function(t){return Math.log10?Math.log10(t):Math.log(t)/Math.LN10},a.toRadians=function(t){return t*(Math.PI/180)},a.toDegrees=function(t){return t*(180/Math.PI)},a.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,a=Math.sqrt(n*n+i*i),r=Math.atan2(i,n);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:a}},a.aliasPixel=function(t){return t%2===0?0:.5},a.splineCurve=function(t,e,n,i){var a=t.skip?e:t,r=e,s=n.skip?e:n,o=Math.sqrt(Math.pow(r.x-a.x,2)+Math.pow(r.y-a.y,2)),l=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),d=o/(o+l),u=l/(o+l);d=isNaN(d)?0:d,u=isNaN(u)?0:u;var h=i*d,c=i*u;return{previous:{x:r.x-h*(s.x-a.x),y:r.y-h*(s.y-a.y)},next:{x:r.x+c*(s.x-a.x),y:r.y+c*(s.y-a.y)}}},a.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},a.previousItem=function(t,e,n){return n?0>=e?t[t.length-1]:t[e-1]:0>=e?t[0]:t[e-1]},a.niceNum=function(t,e){var n,i=Math.floor(a.log10(t)),r=t/Math.pow(10,i);return n=e?1.5>r?1:3>r?2:7>r?5:10:1>=r?1:2>=r?2:5>=r?5:10,n*Math.pow(10,i)};var r=a.easingEffects={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-1*t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-0.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1*((t=t/1-1)*t*t+1)},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-1*((t=t/1-1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-0.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return 1*(t/=1)*t*t*t*t},easeOutQuint:function(t){return 1*((t=t/1-1)*t*t*t*t+1)},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return-1*Math.cos(t/1*(Math.PI/2))+1},easeOutSine:function(t){return 1*Math.sin(t/1*(Math.PI/2))},easeInOutSine:function(t){return-0.5*(Math.cos(Math.PI*t/1)-1)},easeInExpo:function(t){return 0===t?1:1*Math.pow(2,10*(t/1-1))},easeOutExpo:function(t){return 1===t?1:1*(-Math.pow(2,-10*t/1)+1)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(-Math.pow(2,-10*--t)+2)},easeInCirc:function(t){return t>=1?t:-1*(Math.sqrt(1-(t/=1)*t)-1)},easeOutCirc:function(t){return 1*Math.sqrt(1-(t=t/1-1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-0.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===(t/=1)?1:(n||(n=.3),i<Math.abs(1)?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-(i*Math.pow(2,10*(t-=1))*Math.sin((1*t-e)*(2*Math.PI)/n)))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===(t/=1)?1:(n||(n=.3),i<Math.abs(1)?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((1*t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2===(t/=.5)?1:(n||(n=1*(.3*1.5)),i<Math.abs(1)?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),1>t?-.5*(i*Math.pow(2,10*(t-=1))*Math.sin((1*t-e)*(2*Math.PI)/n)):i*Math.pow(2,-10*(t-=1))*Math.sin((1*t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return 1*(t/=1)*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return 1*((t=t/1-1)*t*((e+1)*t+e)+1)},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:function(t){return 1-r.easeOutBounce(1-t)},easeOutBounce:function(t){return(t/=1)<1/2.75?1*(7.5625*t*t):2/2.75>t?1*(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1*(7.5625*(t-=2.25/2.75)*t+.9375):1*(7.5625*(t-=2.625/2.75)*t+.984375)},easeInOutBounce:function(t){return.5>t?.5*r.easeInBounce(2*t):.5*r.easeOutBounce(2*t-1)+.5}};a.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)}}(),a.cancelAnimFrame=function(){return window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(t){return window.clearTimeout(t,1e3/60)}}(),a.getRelativePosition=function(t,e){var n,i,r=t.originalEvent||t,s=t.currentTarget||t.srcElement,o=s.getBoundingClientRect();r.touches&&r.touches.length>0?(n=r.touches[0].clientX,i=r.touches[0].clientY):(n=r.clientX,i=r.clientY);var l=parseFloat(a.getStyle(s,"padding-left")),d=parseFloat(a.getStyle(s,"padding-top")),u=parseFloat(a.getStyle(s,"padding-right")),h=parseFloat(a.getStyle(s,"padding-bottom")),c=o.right-o.left-l-u,f=o.bottom-o.top-d-h;return n=Math.round((n-o.left-l)/c*s.width/e.currentDevicePixelRatio),i=Math.round((i-o.top-d)/f*s.height/e.currentDevicePixelRatio),{x:n,y:i}},a.addEvent=function(t,e,n){t.addEventListener?t.addEventListener(e,n):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n},a.removeEvent=function(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=a.noop},a.bindEvents=function(t,e,n){t.events||(t.events={}),a.each(e,function(e){t.events[e]=function(){n.apply(t,arguments)},a.addEvent(t.chart.canvas,e,t.events[e])})},a.unbindEvents=function(t,e){a.each(e,function(e,n){a.removeEvent(t.chart.canvas,n,e)})},a.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},a.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},a.getMaximumWidth=function(t){var e=t.parentNode,n=parseInt(a.getStyle(e,"padding-left"))+parseInt(a.getStyle(e,"padding-right")),i=e.clientWidth-n,r=a.getConstraintWidth(t);return void 0!==r&&(i=Math.min(i,r)),i},a.getMaximumHeight=function(t){var e=t.parentNode,n=parseInt(a.getStyle(e,"padding-top"))+parseInt(a.getStyle(e,"padding-bottom")),i=e.clientHeight-n,r=a.getConstraintHeight(t);return void 0!==r&&(i=Math.min(i,r)),i},a.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},a.retinaScale=function(t){var e=t.ctx,n=t.canvas.width,i=t.canvas.height,a=t.currentDevicePixelRatio=window.devicePixelRatio||1;1!==a&&(e.canvas.height=i*a,e.canvas.width=n*a,e.scale(a,a),t.originalDevicePixelRatio=t.originalDevicePixelRatio||a),e.canvas.style.width=n+"px",e.canvas.style.height=i+"px"},a.clear=function(t){t.ctx.clearRect(0,0,t.width,t.height)},a.fontString=function(t,e,n){return e+" "+t+"px "+n},a.longestText=function(t,e,n,i){i=i||{},i.data=i.data||{},i.garbageCollect=i.garbageCollect||[],i.font!==e&&(i.data={},i.garbageCollect=[],i.font=e),t.font=e;var r=0;a.each(n,function(e){if(void 0!==e&&null!==e){var n=i.data[e];n||(n=i.data[e]=t.measureText(e).width,i.garbageCollect.push(e)),n>r&&(r=n)}});var s=i.garbageCollect.length/2;if(s>n.length){for(var o=0;s>o;o++)delete i.data[i.garbageCollect[o]];i.garbageCollect.splice(0,s)}return r},a.drawRoundedRectangle=function(t,e,n,i,a,r){t.beginPath(),t.moveTo(e+r,n),t.lineTo(e+i-r,n),t.quadraticCurveTo(e+i,n,e+i,n+r),t.lineTo(e+i,n+a-r),t.quadraticCurveTo(e+i,n+a,e+i-r,n+a),t.lineTo(e+r,n+a),t.quadraticCurveTo(e,n+a,e,n+a-r),t.lineTo(e,n+r),t.quadraticCurveTo(e,n,e+r,n),t.closePath()},a.color=function(e){return i?i(e instanceof CanvasGradient?t.defaults.global.defaultColor:e):(console.log("Color.js not found!"),e)},a.addResizeListener=function(t,e){var n=document.createElement("iframe"),i="chartjs-hidden-iframe";n.classlist?n.classlist.add(i):n.setAttribute("class",i),n.style.width="100%",n.style.display="block",n.style.border=0,n.style.height=0,n.style.margin=0,n.style.position="absolute",n.style.left=0,n.style.right=0,n.style.top=0,n.style.bottom=0,t.insertBefore(n,t.firstChild),(n.contentWindow||n).onresize=function(){e&&e()}},a.removeResizeListener=function(t){var e=t.querySelector(".chartjs-hidden-iframe");e&&e.parentNode.removeChild(e)},a.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)},a.pushAllIfDefined=function(t,e){"undefined"!=typeof t&&(a.isArray(t)?e.push.apply(e,t):e.push(t))},a.isDatasetVisible=function(t){return!t.hidden},a.callCallback=function(t,e,n){t&&"function"==typeof t.call&&t.apply(n,e)}}},{"chartjs-color":6}],26:[function(t,e,n){"use strict";e.exports=function(){var t=function(e,n){this.config=n,e.length&&e[0].getContext&&(e=e[0]),e.getContext&&(e=e.getContext("2d")),this.ctx=e,this.canvas=e.canvas,this.width=e.canvas.width||parseInt(t.helpers.getStyle(e.canvas,"width"))||t.helpers.getMaximumWidth(e.canvas),this.height=e.canvas.height||parseInt(t.helpers.getStyle(e.canvas,"height"))||t.helpers.getMaximumHeight(e.canvas),this.aspectRatio=this.width/this.height,(isNaN(this.aspectRatio)||isFinite(this.aspectRatio)===!1)&&(this.aspectRatio=void 0!==n.aspectRatio?n.aspectRatio:2),this.originalCanvasStyleWidth=e.canvas.style.width,this.originalCanvasStyleHeight=e.canvas.style.height,t.helpers.retinaScale(this),n&&(this.controller=new t.Controller(this));var i=this;return t.helpers.addResizeListener(e.canvas.parentNode,function(){i.controller&&i.controller.config.options.responsive&&i.controller.resize()}),this.controller?this.controller:this};return t.defaults={global:{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"single",animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');for(var n=0;n<t.data.datasets.length;n++)e.push('<li><span style="background-color:'+t.data.datasets[n].backgroundColor+'"></span>'),t.data.datasets[n].label&&e.push(t.data.datasets[n].label),e.push("</li>");return e.push("</ul>"),e.join("")}}},t}},{}],27:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.layoutService={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),t.boxes.push(e)},removeBox:function(t,e){t.boxes&&t.boxes.splice(t.boxes.indexOf(e),1)},update:function(t,n,i){function a(t){var e,n=t.isHorizontal();n?(e=t.update(t.options.fullWidth?m:M,b),w-=e.height):(e=t.update(v,y),M-=e.width),x.push({horizontal:n,minSize:e,box:t})}function r(t){var n=e.findNextWhere(x,function(e){return e.box===t});if(n)if(t.isHorizontal()){var i={left:k,right:L,top:0,bottom:0};t.update(t.options.fullWidth?m:M,g/2,i)}else t.update(n.minSize.width,w)}function s(t){var n=e.findNextWhere(x,function(e){return e.box===t}),i={left:0,right:0,top:D,bottom:T};n&&t.update(n.minSize.width,w,i)}function o(t){t.isHorizontal()?(t.left=t.options.fullWidth?l:k,t.right=t.options.fullWidth?n-l:k+M,t.top=A,t.bottom=A+t.height,A=t.bottom):(t.left=C,t.right=C+t.width,t.top=D,t.bottom=D+w,C=t.right)}if(t){var l=0,d=0,u=e.where(t.boxes,function(t){return"left"===t.options.position}),h=e.where(t.boxes,function(t){return"right"===t.options.position}),c=e.where(t.boxes,function(t){return"top"===t.options.position}),f=e.where(t.boxes,function(t){return"bottom"===t.options.position}),p=e.where(t.boxes,function(t){return"chartArea"===t.options.position});c.sort(function(t,e){return(e.options.fullWidth?1:0)-(t.options.fullWidth?1:0)}),f.sort(function(t,e){return(t.options.fullWidth?1:0)-(e.options.fullWidth?1:0)});var m=n-2*l,g=i-2*d,_=m/2,y=g/2,v=(n-_)/(u.length+h.length),b=(i-y)/(c.length+f.length),M=m,w=g,x=[];e.each(u.concat(h,c,f),a);var k=l,L=l,D=d,T=d;e.each(u.concat(h),r),e.each(u,function(t){k+=t.width}),e.each(h,function(t){L+=t.width}),e.each(c.concat(f),r),e.each(c,function(t){D+=t.height}),e.each(f,function(t){T+=t.height}),e.each(u.concat(h),s),k=l,L=l,D=d,T=d,e.each(u,function(t){k+=t.width}),e.each(h,function(t){L+=t.width}),e.each(c,function(t){D+=t.height}),e.each(f,function(t){T+=t.height});var S=i-D-T,Y=n-k-L;Y===M&&S===w||(e.each(u,function(t){t.height=S}),e.each(h,function(t){t.height=S}),e.each(c,function(t){t.width=Y}),e.each(f,function(t){t.width=Y}),w=S,M=Y);var C=l,A=d;e.each(u.concat(c),o),C+=M,A+=w,e.each(h,o),e.each(f,o),t.chartArea={left:k,top:D,right:k+M,bottom:D+w},e.each(p,function(e){e.left=t.chartArea.left,e.top=t.chartArea.top,e.right=t.chartArea.right,e.bottom=t.chartArea.bottom,e.update(M,w)})}}}}},{}],28:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.global.legend={display:!0,position:"top",fullWidth:!0,reverse:!1,onClick:function(t,e){var n=this.chart.data.datasets[e.datasetIndex];n.hidden=!n.hidden,this.chart.update()},labels:{boxWidth:40,padding:10,generateLabels:function(t){return e.isArray(t.datasets)?t.datasets.map(function(t,e){return{text:t.label,fillStyle:t.backgroundColor,hidden:t.hidden,lineCap:t.borderCapStyle,lineDash:t.borderDash,lineDashOffset:t.borderDashOffset,lineJoin:t.borderJoinStyle,lineWidth:t.borderWidth,strokeStyle:t.borderColor,datasetIndex:e}},this):[]}}},t.Legend=t.Element.extend({initialize:function(t){e.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:e.noop,update:function(t,e,n){return this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this.margins=n,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this.beforeBuildLabels(),this.buildLabels(),this.afterBuildLabels(),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate(),this.minSize},afterUpdate:e.noop,beforeSetDimensions:e.noop,setDimensions:function(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0,this.minSize={width:0,height:0}},afterSetDimensions:e.noop,beforeBuildLabels:e.noop,buildLabels:function(){this.legendItems=this.options.labels.generateLabels.call(this,this.chart.data),this.options.reverse&&this.legendItems.reverse()},afterBuildLabels:e.noop,beforeFit:e.noop,fit:function(){var n=this.ctx,i=e.getValueOrDefault(this.options.labels.fontSize,t.defaults.global.defaultFontSize),a=e.getValueOrDefault(this.options.labels.fontStyle,t.defaults.global.defaultFontStyle),r=e.getValueOrDefault(this.options.labels.fontFamily,t.defaults.global.defaultFontFamily),s=e.fontString(i,a,r);if(this.legendHitBoxes=[],this.isHorizontal()?this.minSize.width=this.maxWidth:this.minSize.width=this.options.display?10:0,this.isHorizontal()?this.minSize.height=this.options.display?10:0:this.minSize.height=this.maxHeight,this.options.display&&this.isHorizontal()){this.lineWidths=[0];var o=this.legendItems.length?i+this.options.labels.padding:0;n.textAlign="left",n.textBaseline="top",n.font=s,e.each(this.legendItems,function(t,e){var a=this.options.labels.boxWidth+i/2+n.measureText(t.text).width;this.lineWidths[this.lineWidths.length-1]+a+this.options.labels.padding>=this.width&&(o+=i+this.options.labels.padding,this.lineWidths[this.lineWidths.length]=this.left),this.legendHitBoxes[e]={left:0,top:0,width:a,height:i},this.lineWidths[this.lineWidths.length-1]+=a+this.options.labels.padding},this),this.minSize.height+=o}this.width=this.minSize.width,this.height=this.minSize.height},afterFit:e.noop,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){if(this.options.display){var n=this.ctx,i={x:this.left+(this.width-this.lineWidths[0])/2,y:this.top+this.options.labels.padding,line:0},a=e.getValueOrDefault(this.options.labels.fontColor,t.defaults.global.defaultFontColor),r=e.getValueOrDefault(this.options.labels.fontSize,t.defaults.global.defaultFontSize),s=e.getValueOrDefault(this.options.labels.fontStyle,t.defaults.global.defaultFontStyle),o=e.getValueOrDefault(this.options.labels.fontFamily,t.defaults.global.defaultFontFamily),l=e.fontString(r,s,o);this.isHorizontal()&&(n.textAlign="left",n.textBaseline="top",n.lineWidth=.5,n.strokeStyle=a,n.fillStyle=a,n.font=l,e.each(this.legendItems,function(e,a){var s=n.measureText(e.text).width,o=this.options.labels.boxWidth+r/2+s;i.x+o>=this.width&&(i.y+=r+this.options.labels.padding,i.line++,i.x=this.left+(this.width-this.lineWidths[i.line])/2),n.save();var l=function(t,e){return void 0!==t?t:e};n.fillStyle=l(e.fillStyle,t.defaults.global.defaultColor),
|
||
n.lineCap=l(e.lineCap,t.defaults.global.elements.line.borderCapStyle),n.lineDashOffset=l(e.lineDashOffset,t.defaults.global.elements.line.borderDashOffset),n.lineJoin=l(e.lineJoin,t.defaults.global.elements.line.borderJoinStyle),n.lineWidth=l(e.lineWidth,t.defaults.global.elements.line.borderWidth),n.strokeStyle=l(e.strokeStyle,t.defaults.global.defaultColor),n.setLineDash&&n.setLineDash(l(e.lineDash,t.defaults.global.elements.line.borderDash)),n.strokeRect(i.x,i.y,this.options.labels.boxWidth,r),n.fillRect(i.x,i.y,this.options.labels.boxWidth,r),n.restore(),this.legendHitBoxes[a].left=i.x,this.legendHitBoxes[a].top=i.y,n.fillText(e.text,this.options.labels.boxWidth+r/2+i.x,i.y),e.hidden&&(n.beginPath(),n.lineWidth=2,n.moveTo(this.options.labels.boxWidth+r/2+i.x,i.y+r/2),n.lineTo(this.options.labels.boxWidth+r/2+i.x+s,i.y+r/2),n.stroke()),i.x+=o+this.options.labels.padding},this))}},handleEvent:function(t){var n=e.getRelativePosition(t,this.chart.chart);if(n.x>=this.left&&n.x<=this.right&&n.y>=this.top&&n.y<=this.bottom)for(var i=0;i<this.legendHitBoxes.length;++i){var a=this.legendHitBoxes[i];if(n.x>=a.left&&n.x<=a.left+a.width&&n.y>=a.top&&n.y<=a.top+a.height){this.options.onClick&&this.options.onClick.call(this,t,this.legendItems[i]);break}}}})}},{}],29:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.scale={display:!0,gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawOnChartArea:!0,drawTicks:!0,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",offsetGridLines:!1},scaleLabel:{labelString:"",display:!1},ticks:{beginAtZero:!1,maxRotation:50,mirror:!1,padding:10,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,callback:function(t){return""+t}}},t.Scale=t.Element.extend({beforeUpdate:function(){e.callCallback(this.options.beforeUpdate,[this])},update:function(t,n,i){return this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this.margins=e.extend({left:0,right:0,top:0,bottom:0},i),this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this.beforeBuildTicks(),this.buildTicks(),this.afterBuildTicks(),this.beforeTickToLabelConversion(),this.convertTicksToLabels(),this.afterTickToLabelConversion(),this.beforeCalculateTickRotation(),this.calculateTickRotation(),this.afterCalculateTickRotation(),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate(),this.minSize},afterUpdate:function(){e.callCallback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){e.callCallback(this.options.beforeSetDimensions,[this])},setDimensions:function(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0},afterSetDimensions:function(){e.callCallback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){e.callCallback(this.options.beforeDataLimits,[this])},determineDataLimits:e.noop,afterDataLimits:function(){e.callCallback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){e.callCallback(this.options.beforeBuildTicks,[this])},buildTicks:e.noop,afterBuildTicks:function(){e.callCallback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){e.callCallback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){this.ticks=this.ticks.map(function(t,e,n){return this.options.ticks.userCallback?this.options.ticks.userCallback(t,e,n):this.options.ticks.callback(t,e,n)},this)},afterTickToLabelConversion:function(){e.callCallback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){e.callCallback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var n=e.getValueOrDefault(this.options.ticks.fontSize,t.defaults.global.defaultFontSize),i=e.getValueOrDefault(this.options.ticks.fontStyle,t.defaults.global.defaultFontStyle),a=e.getValueOrDefault(this.options.ticks.fontFamily,t.defaults.global.defaultFontFamily),r=e.fontString(n,i,a);this.ctx.font=r;var s,o=this.ctx.measureText(this.ticks[0]).width,l=this.ctx.measureText(this.ticks[this.ticks.length-1]).width;if(this.labelRotation=0,this.paddingRight=0,this.paddingLeft=0,this.options.display&&this.isHorizontal()){this.paddingRight=l/2+3,this.paddingLeft=o/2+3,this.longestTextCache||(this.longestTextCache={});for(var d,u,h=e.longestText(this.ctx,r,this.ticks,this.longestTextCache),c=h,f=this.getPixelForTick(1)-this.getPixelForTick(0)-6;c>f&&this.labelRotation<this.options.ticks.maxRotation;){if(d=Math.cos(e.toRadians(this.labelRotation)),u=Math.sin(e.toRadians(this.labelRotation)),s=d*o,s+n/2>this.yLabelWidth&&(this.paddingLeft=s+n/2),this.paddingRight=n/2,u*h>this.maxHeight){this.labelRotation--;break}this.labelRotation++,c=d*h}}this.margins&&(this.paddingLeft=Math.max(this.paddingLeft-this.margins.left,0),this.paddingRight=Math.max(this.paddingRight-this.margins.right,0))},afterCalculateTickRotation:function(){e.callCallback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){e.callCallback(this.options.beforeFit,[this])},fit:function(){this.minSize={width:0,height:0};var n=e.getValueOrDefault(this.options.ticks.fontSize,t.defaults.global.defaultFontSize),i=e.getValueOrDefault(this.options.ticks.fontStyle,t.defaults.global.defaultFontStyle),a=e.getValueOrDefault(this.options.ticks.fontFamily,t.defaults.global.defaultFontFamily),r=e.fontString(n,i,a),s=e.getValueOrDefault(this.options.scaleLabel.fontSize,t.defaults.global.defaultFontSize),o=e.getValueOrDefault(this.options.scaleLabel.fontStyle,t.defaults.global.defaultFontStyle),l=e.getValueOrDefault(this.options.scaleLabel.fontFamily,t.defaults.global.defaultFontFamily);e.fontString(s,o,l);if(this.isHorizontal()?this.minSize.width=this.isFullWidth()?this.maxWidth-this.margins.left-this.margins.right:this.maxWidth:this.minSize.width=this.options.gridLines.display&&this.options.display?10:0,this.isHorizontal()?this.minSize.height=this.options.gridLines.display&&this.options.display?10:0:this.minSize.height=this.maxHeight,this.options.scaleLabel.display&&(this.isHorizontal()?this.minSize.height+=1.5*s:this.minSize.width+=1.5*s),this.options.ticks.display&&this.options.display){this.longestTextCache||(this.longestTextCache={});var d=e.longestText(this.ctx,r,this.ticks,this.longestTextCache);if(this.isHorizontal()){this.longestLabelWidth=d;var u=Math.sin(e.toRadians(this.labelRotation))*this.longestLabelWidth+1.5*n;this.minSize.height=Math.min(this.maxHeight,this.minSize.height+u),this.ctx.font=r;var h=this.ctx.measureText(this.ticks[0]).width,c=this.ctx.measureText(this.ticks[this.ticks.length-1]).width,f=Math.cos(e.toRadians(this.labelRotation)),p=Math.sin(e.toRadians(this.labelRotation));this.paddingLeft=0!==this.labelRotation?f*h+3:h/2+3,this.paddingRight=0!==this.labelRotation?p*(n/2)+3:c/2+3}else{var m=this.maxWidth-this.minSize.width;this.options.ticks.mirror||(d+=this.options.ticks.padding),m>d?this.minSize.width+=d:this.minSize.width=this.maxWidth,this.paddingTop=n/2,this.paddingBottom=n/2}}this.margins&&(this.paddingLeft=Math.max(this.paddingLeft-this.margins.left,0),this.paddingTop=Math.max(this.paddingTop-this.margins.top,0),this.paddingRight=Math.max(this.paddingRight-this.margins.right,0),this.paddingBottom=Math.max(this.paddingBottom-this.margins.bottom,0)),this.width=this.minSize.width,this.height=this.minSize.height},afterFit:function(){e.callCallback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function n(t){return null===t||"undefined"==typeof t?NaN:"number"==typeof t&&isNaN(t)?NaN:"object"==typeof t?t instanceof Date?t:n(this.isHorizontal()?t.x:t.y):t},getLabelForIndex:e.noop,getPixelForValue:e.noop,getPixelForTick:function(t,e){if(this.isHorizontal()){var n=this.width-(this.paddingLeft+this.paddingRight),i=n/Math.max(this.ticks.length-(this.options.gridLines.offsetGridLines?0:1),1),a=i*t+this.paddingLeft;e&&(a+=i/2);var r=this.left+Math.round(a);return r+=this.isFullWidth()?this.margins.left:0}var s=this.height-(this.paddingTop+this.paddingBottom);return this.top+t*(s/(this.ticks.length-1))},getPixelForDecimal:function(t){if(this.isHorizontal()){var e=this.width-(this.paddingLeft+this.paddingRight),n=e*t+this.paddingLeft,i=this.left+Math.round(n);return i+=this.isFullWidth()?this.margins.left:0}return this.top+t*this.height},draw:function(n){if(this.options.display){var i,a,r,s,o,l=0!==this.labelRotation,d=this.options.ticks.autoSkip;this.options.ticks.maxTicksLimit&&(o=this.options.ticks.maxTicksLimit);var u=e.getValueOrDefault(this.options.ticks.fontColor,t.defaults.global.defaultFontColor),h=e.getValueOrDefault(this.options.ticks.fontSize,t.defaults.global.defaultFontSize),c=e.getValueOrDefault(this.options.ticks.fontStyle,t.defaults.global.defaultFontStyle),f=e.getValueOrDefault(this.options.ticks.fontFamily,t.defaults.global.defaultFontFamily),p=e.fontString(h,c,f),m=e.getValueOrDefault(this.options.scaleLabel.fontColor,t.defaults.global.defaultFontColor),g=e.getValueOrDefault(this.options.scaleLabel.fontSize,t.defaults.global.defaultFontSize),_=e.getValueOrDefault(this.options.scaleLabel.fontStyle,t.defaults.global.defaultFontStyle),y=e.getValueOrDefault(this.options.scaleLabel.fontFamily,t.defaults.global.defaultFontFamily),v=e.fontString(g,_,y),b=Math.cos(e.toRadians(this.labelRotation)),M=(Math.sin(e.toRadians(this.labelRotation)),this.longestLabelWidth*b);if(this.ctx.fillStyle=u,this.isHorizontal()){i=!0;var w="bottom"===this.options.position?this.top:this.bottom-10,x="bottom"===this.options.position?this.top+10:this.bottom;if(a=!1,(M/2+this.options.ticks.autoSkipPadding)*this.ticks.length>this.width-(this.paddingLeft+this.paddingRight)&&(a=1+Math.floor((M/2+this.options.ticks.autoSkipPadding)*this.ticks.length/(this.width-(this.paddingLeft+this.paddingRight)))),o&&this.ticks.length>o)for(;!a||this.ticks.length/(a||1)>o;)a||(a=1),a+=1;d||(a=!1),e.each(this.ticks,function(t,r){var s=this.ticks.length===r+1,o=a>1&&r%a>0||r%a===0&&r+a>this.ticks.length;if((!o||s)&&void 0!==t&&null!==t){var d=this.getPixelForTick(r),u=this.getPixelForTick(r,this.options.gridLines.offsetGridLines);this.options.gridLines.display&&(r===("undefined"!=typeof this.zeroLineIndex?this.zeroLineIndex:0)?(this.ctx.lineWidth=this.options.gridLines.zeroLineWidth,this.ctx.strokeStyle=this.options.gridLines.zeroLineColor,i=!0):i&&(this.ctx.lineWidth=this.options.gridLines.lineWidth,this.ctx.strokeStyle=this.options.gridLines.color,i=!1),d+=e.aliasPixel(this.ctx.lineWidth),this.ctx.beginPath(),this.options.gridLines.drawTicks&&(this.ctx.moveTo(d,w),this.ctx.lineTo(d,x)),this.options.gridLines.drawOnChartArea&&(this.ctx.moveTo(d,n.top),this.ctx.lineTo(d,n.bottom)),this.ctx.stroke()),this.options.ticks.display&&(this.ctx.save(),this.ctx.translate(u,l?this.top+12:"top"===this.options.position?this.bottom-10:this.top+10),this.ctx.rotate(-1*e.toRadians(this.labelRotation)),this.ctx.font=p,this.ctx.textAlign=l?"right":"center",this.ctx.textBaseline=l?"middle":"top"===this.options.position?"bottom":"top",this.ctx.fillText(t,0,0),this.ctx.restore())}},this),this.options.scaleLabel.display&&(this.ctx.textAlign="center",this.ctx.textBaseline="middle",this.ctx.fillStyle=m,this.ctx.font=v,r=this.left+(this.right-this.left)/2,s="bottom"===this.options.position?this.bottom-g/2:this.top+g/2,this.ctx.fillText(this.options.scaleLabel.labelString,r,s))}else{i=!0;var k="right"===this.options.position?this.left:this.right-5,L="right"===this.options.position?this.left+5:this.right;if(e.each(this.ticks,function(t,a){if(void 0!==t&&null!==t){var r=this.getPixelForTick(a);if(this.options.gridLines.display&&(a===("undefined"!=typeof this.zeroLineIndex?this.zeroLineIndex:0)?(this.ctx.lineWidth=this.options.gridLines.zeroLineWidth,this.ctx.strokeStyle=this.options.gridLines.zeroLineColor,i=!0):i&&(this.ctx.lineWidth=this.options.gridLines.lineWidth,this.ctx.strokeStyle=this.options.gridLines.color,i=!1),r+=e.aliasPixel(this.ctx.lineWidth),this.ctx.beginPath(),this.options.gridLines.drawTicks&&(this.ctx.moveTo(k,r),this.ctx.lineTo(L,r)),this.options.gridLines.drawOnChartArea&&(this.ctx.moveTo(n.left,r),this.ctx.lineTo(n.right,r)),this.ctx.stroke()),this.options.ticks.display){var s,o=this.getPixelForTick(a,this.options.gridLines.offsetGridLines);this.ctx.save(),"left"===this.options.position?this.options.ticks.mirror?(s=this.right+this.options.ticks.padding,this.ctx.textAlign="left"):(s=this.right-this.options.ticks.padding,this.ctx.textAlign="right"):this.options.ticks.mirror?(s=this.left-this.options.ticks.padding,this.ctx.textAlign="right"):(s=this.left+this.options.ticks.padding,this.ctx.textAlign="left"),this.ctx.translate(s,o),this.ctx.rotate(-1*e.toRadians(this.labelRotation)),this.ctx.font=p,this.ctx.textBaseline="middle",this.ctx.fillText(t,0,0),this.ctx.restore()}}},this),this.options.scaleLabel.display){r="left"===this.options.position?this.left+g/2:this.right-g/2,s=this.top+(this.bottom-this.top)/2;var D="left"===this.options.position?-.5*Math.PI:.5*Math.PI;this.ctx.save(),this.ctx.translate(r,s),this.ctx.rotate(D),this.ctx.textAlign="center",this.ctx.fillStyle=m,this.ctx.font=v,this.ctx.textBaseline="middle",this.ctx.fillText(this.options.scaleLabel.labelString,0,0),this.ctx.restore()}}this.ctx.lineWidth=this.options.gridLines.lineWidth,this.ctx.strokeStyle=this.options.gridLines.color;var T=this.left,S=this.right,Y=this.top,C=this.bottom;this.isHorizontal()?(Y=C="top"===this.options.position?this.bottom:this.top,Y+=e.aliasPixel(this.ctx.lineWidth),C+=e.aliasPixel(this.ctx.lineWidth)):(T=S="left"===this.options.position?this.right:this.left,T+=e.aliasPixel(this.ctx.lineWidth),S+=e.aliasPixel(this.ctx.lineWidth)),this.ctx.beginPath(),this.ctx.moveTo(T,Y),this.ctx.lineTo(S,C),this.ctx.stroke()}}})}},{}],30:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.scaleService={constructors:{},defaults:{},registerScaleType:function(t,n,i){this.constructors[t]=n,this.defaults[t]=e.clone(i)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(n){return this.defaults.hasOwnProperty(n)?e.scaleMerge(t.defaults.scale,this.defaults[n]):{}},addScalesToLayout:function(n){e.each(n.scales,function(e){t.layoutService.addBox(n,e)})}}}},{}],31:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.global.title={display:!1,position:"top",fullWidth:!0,fontStyle:"bold",padding:10,text:""},t.Title=t.Element.extend({initialize:function(n){e.extend(this,n),this.options=e.configMerge(t.defaults.global.title,n.options),this.legendHitBoxes=[]},beforeUpdate:e.noop,update:function(t,e,n){return this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this.margins=n,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this.beforeBuildLabels(),this.buildLabels(),this.afterBuildLabels(),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate(),this.minSize},afterUpdate:e.noop,beforeSetDimensions:e.noop,setDimensions:function(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0,this.minSize={width:0,height:0}},afterSetDimensions:e.noop,beforeBuildLabels:e.noop,buildLabels:e.noop,afterBuildLabels:e.noop,beforeFit:e.noop,fit:function(){var n=(this.ctx,e.getValueOrDefault(this.options.fontSize,t.defaults.global.defaultFontSize)),i=e.getValueOrDefault(this.options.fontStyle,t.defaults.global.defaultFontStyle),a=e.getValueOrDefault(this.options.fontFamily,t.defaults.global.defaultFontFamily);e.fontString(n,i,a);this.isHorizontal()?this.minSize.width=this.maxWidth:this.minSize.width=0,this.isHorizontal()?this.minSize.height=0:this.minSize.height=this.maxHeight,this.isHorizontal()?this.options.display&&(this.minSize.height+=n+2*this.options.padding):this.options.display&&(this.minSize.width+=n+2*this.options.padding),this.width=this.minSize.width,this.height=this.minSize.height},afterFit:e.noop,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){if(this.options.display){var n,i,a=this.ctx,r=e.getValueOrDefault(this.options.fontColor,t.defaults.global.defaultFontColor),s=e.getValueOrDefault(this.options.fontSize,t.defaults.global.defaultFontSize),o=e.getValueOrDefault(this.options.fontStyle,t.defaults.global.defaultFontStyle),l=e.getValueOrDefault(this.options.fontFamily,t.defaults.global.defaultFontFamily),d=e.fontString(s,o,l);if(a.fillStyle=r,a.font=d,this.isHorizontal())a.textAlign="center",a.textBaseline="middle",n=this.left+(this.right-this.left)/2,i=this.top+(this.bottom-this.top)/2,a.fillText(this.options.text,n,i);else{n="left"===this.options.position?this.left+s/2:this.right-s/2,i=this.top+(this.bottom-this.top)/2;var u="left"===this.options.position?-.5*Math.PI:.5*Math.PI;a.save(),a.translate(n,i),a.rotate(u),a.textAlign="center",a.textBaseline="middle",a.fillText(this.options.text,0,0),a.restore()}}}})}},{}],32:[function(t,e,n){"use strict";e.exports=function(t){function e(t,e){return e&&(n.isArray(e)?t=t.concat(e):t.push(e)),t}var n=t.helpers;t.defaults.global.tooltips={enabled:!0,custom:null,mode:"single",backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleColor:"#fff",titleAlign:"left",bodySpacing:2,bodyColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,yAlign:"center",xAlign:"center",caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",callbacks:{beforeTitle:n.noop,title:function(t,e){var n="";return t.length>0&&(t[0].xLabel?n=t[0].xLabel:e.labels.length>0&&t[0].index<e.labels.length&&(n=e.labels[t[0].index])),n},afterTitle:n.noop,beforeBody:n.noop,beforeLabel:n.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n+": "+t.yLabel},afterLabel:n.noop,afterBody:n.noop,beforeFooter:n.noop,footer:n.noop,afterFooter:n.noop}},t.Tooltip=t.Element.extend({initialize:function(){var e=this._options;n.extend(this,{_model:{xPadding:e.tooltips.xPadding,yPadding:e.tooltips.yPadding,xAlign:e.tooltips.yAlign,yAlign:e.tooltips.xAlign,bodyColor:e.tooltips.bodyColor,_bodyFontFamily:n.getValueOrDefault(e.tooltips.bodyFontFamily,t.defaults.global.defaultFontFamily),_bodyFontStyle:n.getValueOrDefault(e.tooltips.bodyFontStyle,t.defaults.global.defaultFontStyle),_bodyAlign:e.tooltips.bodyAlign,bodyFontSize:n.getValueOrDefault(e.tooltips.bodyFontSize,t.defaults.global.defaultFontSize),bodySpacing:e.tooltips.bodySpacing,titleColor:e.tooltips.titleColor,_titleFontFamily:n.getValueOrDefault(e.tooltips.titleFontFamily,t.defaults.global.defaultFontFamily),_titleFontStyle:n.getValueOrDefault(e.tooltips.titleFontStyle,t.defaults.global.defaultFontStyle),titleFontSize:n.getValueOrDefault(e.tooltips.titleFontSize,t.defaults.global.defaultFontSize),_titleAlign:e.tooltips.titleAlign,titleSpacing:e.tooltips.titleSpacing,titleMarginBottom:e.tooltips.titleMarginBottom,footerColor:e.tooltips.footerColor,_footerFontFamily:n.getValueOrDefault(e.tooltips.footerFontFamily,t.defaults.global.defaultFontFamily),_footerFontStyle:n.getValueOrDefault(e.tooltips.footerFontStyle,t.defaults.global.defaultFontStyle),footerFontSize:n.getValueOrDefault(e.tooltips.footerFontSize,t.defaults.global.defaultFontSize),_footerAlign:e.tooltips.footerAlign,footerSpacing:e.tooltips.footerSpacing,footerMarginTop:e.tooltips.footerMarginTop,caretSize:e.tooltips.caretSize,cornerRadius:e.tooltips.cornerRadius,backgroundColor:e.tooltips.backgroundColor,opacity:0,legendColorBackground:e.tooltips.multiKeyBackground}})},getTitle:function(){var t=this._options.tooltips.callbacks.beforeTitle.apply(this,arguments),n=this._options.tooltips.callbacks.title.apply(this,arguments),i=this._options.tooltips.callbacks.afterTitle.apply(this,arguments),a=[];return a=e(a,t),a=e(a,n),a=e(a,i)},getBeforeBody:function(){var t=this._options.tooltips.callbacks.beforeBody.apply(this,arguments);return n.isArray(t)?t:void 0!==t?[t]:[]},getBody:function(t,e){var i=[];return n.each(t,function(t){n.pushAllIfDefined(this._options.tooltips.callbacks.beforeLabel.call(this,t,e),i),n.pushAllIfDefined(this._options.tooltips.callbacks.label.call(this,t,e),i),n.pushAllIfDefined(this._options.tooltips.callbacks.afterLabel.call(this,t,e),i)},this),i},getAfterBody:function(){var t=this._options.tooltips.callbacks.afterBody.apply(this,arguments);return n.isArray(t)?t:void 0!==t?[t]:[]},getFooter:function(){var t=this._options.tooltips.callbacks.beforeFooter.apply(this,arguments),n=this._options.tooltips.callbacks.footer.apply(this,arguments),i=this._options.tooltips.callbacks.afterFooter.apply(this,arguments),a=[];return a=e(a,t),a=e(a,n),a=e(a,i)},getAveragePosition:function(t){if(!t.length)return!1;var e=[],i=[];n.each(t,function(t){if(t){var n=t.tooltipPosition();e.push(n.x),i.push(n.y)}});for(var a=0,r=0,s=0;s<e.length;s++)a+=e[s],r+=i[s];return{x:Math.round(a/e.length),y:Math.round(r/e.length)}},update:function(t){if(this._active.length){this._model.opacity=1;var e,i=this._active[0],a=[],r=[];if("single"===this._options.tooltips.mode){var s=i._yScale||i._scale;r.push({xLabel:i._xScale?i._xScale.getLabelForIndex(i._index,i._datasetIndex):"",yLabel:s?s.getLabelForIndex(i._index,i._datasetIndex):"",index:i._index,datasetIndex:i._datasetIndex}),e=this.getAveragePosition(this._active)}else n.each(this._data.datasets,function(t,e){if(n.isDatasetVisible(t)){var a=t.metaData[i._index];if(a){var s=i._yScale||i._scale;r.push({xLabel:a._xScale?a._xScale.getLabelForIndex(a._index,a._datasetIndex):"",yLabel:s?s.getLabelForIndex(a._index,a._datasetIndex):"",index:i._index,datasetIndex:e})}}},null,i._yScale.options.stacked),n.each(this._active,function(t){t&&a.push({borderColor:t._view.borderColor,backgroundColor:t._view.backgroundColor})},null,i._yScale.options.stacked),e=this.getAveragePosition(this._active),e.y=this._active[0]._yScale.getPixelForDecimal(.5);n.extend(this._model,{title:this.getTitle(r,this._data),beforeBody:this.getBeforeBody(r,this._data),body:this.getBody(r,this._data),afterBody:this.getAfterBody(r,this._data),footer:this.getFooter(r,this._data)}),n.extend(this._model,{x:Math.round(e.x),y:Math.round(e.y),caretPadding:n.getValueOrDefault(e.padding,2),labelColors:a});var o=this.getTooltipSize(this._model);this.determineAlignment(o),n.extend(this._model,this.getBackgroundPoint(this._model,o))}else this._model.opacity=0;return t&&this._options.tooltips.custom&&this._options.tooltips.custom.call(this,this._model),this},getTooltipSize:function(t){var e=this._chart.ctx,i={height:2*t.yPadding,width:0},a=t.body.length+t.beforeBody.length+t.afterBody.length;return i.height+=t.title.length*t.titleFontSize,i.height+=(t.title.length-1)*t.titleSpacing,i.height+=t.title.length?t.titleMarginBottom:0,i.height+=a*t.bodyFontSize,i.height+=a?(a-1)*t.bodySpacing:0,i.height+=t.footer.length?t.footerMarginTop:0,i.height+=t.footer.length*t.footerFontSize,i.height+=t.footer.length?(t.footer.length-1)*t.footerSpacing:0,e.font=n.fontString(t.titleFontSize,t._titleFontStyle,t._titleFontFamily),n.each(t.title,function(t){i.width=Math.max(i.width,e.measureText(t).width)}),e.font=n.fontString(t.bodyFontSize,t._bodyFontStyle,t._bodyFontFamily),n.each(t.beforeBody.concat(t.afterBody),function(t){i.width=Math.max(i.width,e.measureText(t).width)}),n.each(t.body,function(n){i.width=Math.max(i.width,e.measureText(n).width+("single"!==this._options.tooltips.mode?t.bodyFontSize+2:0))},this),e.font=n.fontString(t.footerFontSize,t._footerFontStyle,t._footerFontFamily),n.each(t.footer,function(t){i.width=Math.max(i.width,e.measureText(t).width)}),i.width+=2*t.xPadding,i},determineAlignment:function(t){this._model.y<t.height?this._model.yAlign="top":this._model.y>this._chart.height-t.height&&(this._model.yAlign="bottom");var e,n,i,a,r,s=this,o=(this._chartInstance.chartArea.left+this._chartInstance.chartArea.right)/2,l=(this._chartInstance.chartArea.top+this._chartInstance.chartArea.bottom)/2;"center"===this._model.yAlign?(e=function(t){return o>=t},n=function(t){return t>o}):(e=function(e){return e<=t.width/2},n=function(e){return e>=s._chart.width-t.width/2}),i=function(e){return e+t.width>s._chart.width},a=function(e){return e-t.width<0},r=function(t){return l>=t?"top":"bottom"},e(this._model.x)?(this._model.xAlign="left",i(this._model.x)&&(this._model.xAlign="center",this._model.yAlign=r(this._model.y))):n(this._model.x)&&(this._model.xAlign="right",a(this._model.x)&&(this._model.xAlign="center",this._model.yAlign=r(this._model.y)))},getBackgroundPoint:function(t,e){var n={x:t.x,y:t.y};return"right"===t.xAlign?n.x-=e.width:"center"===t.xAlign&&(n.x-=e.width/2),"top"===t.yAlign?n.y+=t.caretPadding+t.caretSize:"bottom"===t.yAlign?n.y-=e.height+t.caretPadding+t.caretSize:n.y-=e.height/2,"center"===t.yAlign?"left"===t.xAlign?n.x+=t.caretPadding+t.caretSize:"right"===t.xAlign&&(n.x-=t.caretPadding+t.caretSize):"left"===t.xAlign?n.x-=t.cornerRadius+t.caretPadding:"right"===t.xAlign&&(n.x+=t.cornerRadius+t.caretPadding),n},drawCaret:function(t,e,i,a){var r,s,o,l,d,u,h=this._view,c=this._chart.ctx;"center"===h.yAlign?("left"===h.xAlign?(r=t.x,s=r-h.caretSize,o=r):(r=t.x+e.width,s=r+h.caretSize,o=r),d=t.y+e.height/2,l=d-h.caretSize,u=d+h.caretSize):("left"===h.xAlign?(r=t.x+h.cornerRadius,s=r+h.caretSize,o=s+h.caretSize):"right"===h.xAlign?(r=t.x+e.width-h.cornerRadius,s=r-h.caretSize,o=s-h.caretSize):(s=t.x+e.width/2,r=s-h.caretSize,o=s+h.caretSize),"top"===h.yAlign?(l=t.y,d=l-h.caretSize,u=l):(l=t.y+e.height,d=l+h.caretSize,u=l));var f=n.color(h.backgroundColor);c.fillStyle=f.alpha(i*f.alpha()).rgbString(),c.beginPath(),c.moveTo(r,l),c.lineTo(s,d),c.lineTo(o,u),c.closePath(),c.fill()},drawTitle:function(t,e,i,a){if(e.title.length){i.textAlign=e._titleAlign,i.textBaseline="top";var r=n.color(e.titleColor);i.fillStyle=r.alpha(a*r.alpha()).rgbString(),i.font=n.fontString(e.titleFontSize,e._titleFontStyle,e._titleFontFamily),n.each(e.title,function(n,a){i.fillText(n,t.x,t.y),t.y+=e.titleFontSize+e.titleSpacing,a+1===e.title.length&&(t.y+=e.titleMarginBottom-e.titleSpacing)})}},drawBody:function(t,e,i,a){i.textAlign=e._bodyAlign,i.textBaseline="top";var r=n.color(e.bodyColor);i.fillStyle=r.alpha(a*r.alpha()).rgbString(),i.font=n.fontString(e.bodyFontSize,e._bodyFontStyle,e._bodyFontFamily),n.each(e.beforeBody,function(n){i.fillText(n,t.x,t.y),t.y+=e.bodyFontSize+e.bodySpacing}),n.each(e.body,function(r,s){"single"!==this._options.tooltips.mode&&(i.fillStyle=n.color(e.legendColorBackground).alpha(a).rgbaString(),i.fillRect(t.x,t.y,e.bodyFontSize,e.bodyFontSize),i.strokeStyle=n.color(e.labelColors[s].borderColor).alpha(a).rgbaString(),i.strokeRect(t.x,t.y,e.bodyFontSize,e.bodyFontSize),i.fillStyle=n.color(e.labelColors[s].backgroundColor).alpha(a).rgbaString(),i.fillRect(t.x+1,t.y+1,e.bodyFontSize-2,e.bodyFontSize-2),i.fillStyle=n.color(e.bodyColor).alpha(a).rgbaString()),i.fillText(r,t.x+("single"!==this._options.tooltips.mode?e.bodyFontSize+2:0),t.y),t.y+=e.bodyFontSize+e.bodySpacing},this),n.each(e.afterBody,function(n){i.fillText(n,t.x,t.y),t.y+=e.bodyFontSize}),t.y-=e.bodySpacing},drawFooter:function(t,e,i,a){if(e.footer.length){t.y+=e.footerMarginTop,i.textAlign=e._footerAlign,i.textBaseline="top";var r=n.color(e.footerColor);i.fillStyle=r.alpha(a*r.alpha()).rgbString(),i.font=n.fontString(e.footerFontSize,e._footerFontStyle,e._footerFontFamily),n.each(e.footer,function(n){i.fillText(n,t.x,t.y),t.y+=e.footerFontSize+e.footerSpacing})}},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var i=e.caretPadding,a=this.getTooltipSize(e),r={x:e.x,y:e.y},s=Math.abs(e.opacity<.001)?0:e.opacity;if(this._options.tooltips.enabled){var o=n.color(e.backgroundColor);t.fillStyle=o.alpha(s*o.alpha()).rgbString(),n.drawRoundedRectangle(t,r.x,r.y,a.width,a.height,e.cornerRadius),t.fill(),this.drawCaret(r,a,s,i),r.x+=e.xPadding,r.y+=e.yPadding,this.drawTitle(r,e,t,s),this.drawBody(r,e,t,s),this.drawFooter(r,e,t,s)}}}})}},{}],33:[function(t,e,n){"use strict";e.exports=function(t,e){var n=t.helpers;t.defaults.global.elements.arc={backgroundColor:t.defaults.global.defaultColor,borderColor:"#fff",borderWidth:2},t.elements.Arc=t.Element.extend({inLabelRange:function(t){var e=this._view;return e?Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2):!1},inRange:function(t,e){var i=this._view;if(i){for(var a=n.getAngleFromPoint(i,{x:t,y:e}),r=i.startAngle,s=i.endAngle;r>s;)s+=2*Math.PI;for(;a.angle>s;)a.angle-=2*Math.PI;for(;a.angle<r;)a.angle+=2*Math.PI;var o=a.angle>=r&&a.angle<=s,l=a.distance>=i.innerRadius&&a.distance<=i.outerRadius;return o&&l}return!1},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t=this._chart.ctx,e=this._view;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,e.startAngle,e.endAngle),t.arc(e.x,e.y,e.innerRadius,e.endAngle,e.startAngle,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})}},{}],34:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.global.elements.line={tension:.4,backgroundColor:t.defaults.global.defaultColor,borderWidth:3,borderColor:t.defaults.global.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",fill:!0},t.elements.Line=t.Element.extend({lineToNextPoint:function(t,e,n,i,a){var r=this._chart.ctx;e._view.skip?i.call(this,t,e,n):t._view.skip?a.call(this,t,e,n):0===e._view.tension?r.lineTo(e._view.x,e._view.y):r.bezierCurveTo(t._view.controlPointNextX,t._view.controlPointNextY,e._view.controlPointPreviousX,e._view.controlPointPreviousY,e._view.x,e._view.y)},draw:function(){function n(t){s._view.skip||o._view.skip?t&&r.lineTo(i._view.scaleZero.x,i._view.scaleZero.y):r.bezierCurveTo(o._view.controlPointNextX,o._view.controlPointNextY,s._view.controlPointPreviousX,s._view.controlPointPreviousY,s._view.x,s._view.y)}var i=this,a=this._view,r=this._chart.ctx,s=this._children[0],o=this._children[this._children.length-1];r.save(),this._children.length>0&&a.fill&&(r.beginPath(),e.each(this._children,function(t,n){var i=e.previousItem(this._children,n),s=e.nextItem(this._children,n);0===n?(this._loop?r.moveTo(a.scaleZero.x,a.scaleZero.y):r.moveTo(t._view.x,a.scaleZero),t._view.skip?this._loop||r.moveTo(s._view.x,this._view.scaleZero):r.lineTo(t._view.x,t._view.y)):this.lineToNextPoint(i,t,s,function(t,e,n){this._loop?r.lineTo(this._view.scaleZero.x,this._view.scaleZero.y):(r.lineTo(t._view.x,this._view.scaleZero),r.moveTo(n._view.x,this._view.scaleZero))},function(t,e){r.lineTo(e._view.x,e._view.y)})},this),this._loop?n(!0):(r.lineTo(this._children[this._children.length-1]._view.x,a.scaleZero),r.lineTo(this._children[0]._view.x,a.scaleZero)),r.fillStyle=a.backgroundColor||t.defaults.global.defaultColor,r.closePath(),r.fill()),r.lineCap=a.borderCapStyle||t.defaults.global.elements.line.borderCapStyle,r.setLineDash&&r.setLineDash(a.borderDash||t.defaults.global.elements.line.borderDash),r.lineDashOffset=a.borderDashOffset||t.defaults.global.elements.line.borderDashOffset,r.lineJoin=a.borderJoinStyle||t.defaults.global.elements.line.borderJoinStyle,r.lineWidth=a.borderWidth||t.defaults.global.elements.line.borderWidth,r.strokeStyle=a.borderColor||t.defaults.global.defaultColor,r.beginPath(),e.each(this._children,function(t,n){var i=e.previousItem(this._children,n),a=e.nextItem(this._children,n);0===n?r.moveTo(t._view.x,t._view.y):this.lineToNextPoint(i,t,a,function(t,e,n){
|
||
r.moveTo(n._view.x,n._view.y)},function(t,e){r.moveTo(e._view.x,e._view.y)})},this),this._loop&&this._children.length>0&&n(),r.stroke(),r.restore()}})}},{}],35:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.global.elements.point={radius:3,pointStyle:"circle",backgroundColor:t.defaults.global.defaultColor,borderWidth:1,borderColor:t.defaults.global.defaultColor,hitRadius:1,hoverRadius:4,hoverBorderWidth:1},t.elements.Point=t.Element.extend({inRange:function(t,e){var n=this._view;if(n){var i=n.hitRadius+n.radius;return Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(i,2)}return!1},inLabelRange:function(t){var e=this._view;return e?Math.pow(t-e.x,2)<Math.pow(e.radius+e.hitRadius,2):!1},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(){var n=this._view,i=this._chart.ctx;if(!n.skip){if("object"==typeof n.pointStyle&&("[object HTMLImageElement]"===n.pointStyle.toString()||"[object HTMLCanvasElement]"===n.pointStyle.toString()))return void i.drawImage(n.pointStyle,n.x-n.pointStyle.width/2,n.y-n.pointStyle.height/2);if(!isNaN(n.radius)&&n.radius>0){i.strokeStyle=n.borderColor||t.defaults.global.defaultColor,i.lineWidth=e.getValueOrDefault(n.borderWidth,t.defaults.global.elements.point.borderWidth),i.fillStyle=n.backgroundColor||t.defaults.global.defaultColor;var a,r,s=n.radius;switch(n.pointStyle){default:i.beginPath(),i.arc(n.x,n.y,s,0,2*Math.PI),i.closePath(),i.fill();break;case"triangle":i.beginPath();var o=3*s/Math.sqrt(3),l=o*Math.sqrt(3)/2;i.moveTo(n.x-o/2,n.y+l/3),i.lineTo(n.x+o/2,n.y+l/3),i.lineTo(n.x,n.y-2*l/3),i.closePath(),i.fill();break;case"rect":i.fillRect(n.x-1/Math.SQRT2*s,n.y-1/Math.SQRT2*s,2/Math.SQRT2*s,2/Math.SQRT2*s),i.strokeRect(n.x-1/Math.SQRT2*s,n.y-1/Math.SQRT2*s,2/Math.SQRT2*s,2/Math.SQRT2*s);break;case"rectRot":i.translate(n.x,n.y),i.rotate(Math.PI/4),i.fillRect(-1/Math.SQRT2*s,-1/Math.SQRT2*s,2/Math.SQRT2*s,2/Math.SQRT2*s),i.strokeRect(-1/Math.SQRT2*s,-1/Math.SQRT2*s,2/Math.SQRT2*s,2/Math.SQRT2*s),i.setTransform(1,0,0,1,0,0);break;case"cross":i.beginPath(),i.moveTo(n.x,n.y+s),i.lineTo(n.x,n.y-s),i.moveTo(n.x-s,n.y),i.lineTo(n.x+s,n.y),i.closePath();break;case"crossRot":i.beginPath(),a=Math.cos(Math.PI/4)*s,r=Math.sin(Math.PI/4)*s,i.moveTo(n.x-a,n.y-r),i.lineTo(n.x+a,n.y+r),i.moveTo(n.x-a,n.y+r),i.lineTo(n.x+a,n.y-r),i.closePath();break;case"star":i.beginPath(),i.moveTo(n.x,n.y+s),i.lineTo(n.x,n.y-s),i.moveTo(n.x-s,n.y),i.lineTo(n.x+s,n.y),a=Math.cos(Math.PI/4)*s,r=Math.sin(Math.PI/4)*s,i.moveTo(n.x-a,n.y-r),i.lineTo(n.x+a,n.y+r),i.moveTo(n.x-a,n.y+r),i.lineTo(n.x+a,n.y-r),i.closePath();break;case"line":i.beginPath(),i.moveTo(n.x-s,n.y),i.lineTo(n.x+s,n.y),i.closePath();break;case"dash":i.beginPath(),i.moveTo(n.x,n.y),i.lineTo(n.x+s,n.y),i.closePath()}i.stroke()}}}})}},{}],36:[function(t,e,n){"use strict";e.exports=function(t){t.helpers;t.defaults.global.elements.rectangle={backgroundColor:t.defaults.global.defaultColor,borderWidth:0,borderColor:t.defaults.global.defaultColor,borderSkipped:"bottom"},t.elements.Rectangle=t.Element.extend({draw:function(){function t(t){return l[(u+t)%4]}var e=this._chart.ctx,n=this._view,i=n.width/2,a=n.x-i,r=n.x+i,s=n.base-(n.base-n.y),o=n.borderWidth/2;n.borderWidth&&(a+=o,r-=o,s+=o),e.beginPath(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth;var l=[[a,n.base],[a,s],[r,s],[r,n.base]],d=["bottom","left","top","right"],u=d.indexOf(n.borderSkipped,0);-1===u&&(u=0),e.moveTo.apply(e,t(0));for(var h=1;4>h;h++)e.lineTo.apply(e,t(h));e.fill(),n.borderWidth&&e.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var n=this._view,i=!1;return n&&(i=n.y<n.base?t>=n.x-n.width/2&&t<=n.x+n.width/2&&e>=n.y&&e<=n.base:t>=n.x-n.width/2&&t<=n.x+n.width/2&&e>=n.base&&e<=n.y),i},inLabelRange:function(t){var e=this._view;return e?t>=e.x-e.width/2&&t<=e.x+e.width/2:!1},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})}},{}],37:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n={position:"bottom"},i=t.Scale.extend({buildTicks:function(t){this.startIndex=0,this.endIndex=this.chart.data.labels.length;var n;void 0!==this.options.ticks.min&&(n=e.indexOf(this.chart.data.labels,this.options.ticks.min),this.startIndex=-1!==n?n:this.startIndex),void 0!==this.options.ticks.max&&(n=e.indexOf(this.chart.data.labels,this.options.ticks.max),this.endIndex=-1!==n?n:this.endIndex),this.ticks=0===this.startIndex&&this.endIndex===this.chart.data.labels.length?this.chart.data.labels:this.chart.data.labels.slice(this.startIndex,this.endIndex+1)},getLabelForIndex:function(t,e){return this.ticks[t]},getPixelForValue:function(t,e,n,i){var a=Math.max(this.ticks.length-(this.options.gridLines.offsetGridLines?0:1),1);if(this.isHorizontal()){var r=this.width-(this.paddingLeft+this.paddingRight),s=r/a,o=s*(e-this.startIndex)+this.paddingLeft;return this.options.gridLines.offsetGridLines&&i&&(o+=s/2),this.left+Math.round(o)}var l=this.height-(this.paddingTop+this.paddingBottom),d=l/a,u=d*(e-this.startIndex)+this.paddingTop;return this.options.gridLines.offsetGridLines&&i&&(u+=d/2),this.top+Math.round(u)},getPixelForTick:function(t,e){return this.getPixelForValue(this.ticks[t],t+this.startIndex,null,e)}});t.scaleService.registerScaleType("category",i,n)}},{}],38:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n={position:"left",ticks:{callback:function(t,n,i){var a=i[1]-i[0];Math.abs(a)>1&&t!==Math.floor(t)&&(a=t-Math.floor(t));var r=e.log10(Math.abs(a)),s="";if(0!==t){var o=-1*Math.floor(r);o=Math.max(Math.min(o,20),0),s=t.toFixed(o)}else s="0";return s}}},i=t.Scale.extend({determineDataLimits:function(){if(this.min=null,this.max=null,this.options.stacked){var t={},n=!1,i=!1;e.each(this.chart.data.datasets,function(a){void 0===t[a.type]&&(t[a.type]={positiveValues:[],negativeValues:[]});var r=t[a.type].positiveValues,s=t[a.type].negativeValues;e.isDatasetVisible(a)&&(this.isHorizontal()?a.xAxisID===this.id:a.yAxisID===this.id)&&e.each(a.data,function(t,e){var a=+this.getRightValue(t);isNaN(a)||(r[e]=r[e]||0,s[e]=s[e]||0,this.options.relativePoints?r[e]=100:0>a?(i=!0,s[e]+=a):(n=!0,r[e]+=a))},this)},this),e.each(t,function(t){var n=t.positiveValues.concat(t.negativeValues),i=e.min(n),a=e.max(n);this.min=null===this.min?i:Math.min(this.min,i),this.max=null===this.max?a:Math.max(this.max,a)},this)}else e.each(this.chart.data.datasets,function(t){e.isDatasetVisible(t)&&(this.isHorizontal()?t.xAxisID===this.id:t.yAxisID===this.id)&&e.each(t.data,function(t,e){var n=+this.getRightValue(t);isNaN(n)||(null===this.min?this.min=n:n<this.min&&(this.min=n),null===this.max?this.max=n:n>this.max&&(this.max=n))},this)},this);if(this.options.ticks.beginAtZero){var a=e.sign(this.min),r=e.sign(this.max);0>a&&0>r?this.max=0:a>0&&r>0&&(this.min=0)}void 0!==this.options.ticks.min?this.min=this.options.ticks.min:void 0!==this.options.ticks.suggestedMin&&(this.min=Math.min(this.min,this.options.ticks.suggestedMin)),void 0!==this.options.ticks.max?this.max=this.options.ticks.max:void 0!==this.options.ticks.suggestedMax&&(this.max=Math.max(this.max,this.options.ticks.suggestedMax)),this.min===this.max&&(this.min--,this.max++)},buildTicks:function(){this.ticks=[];var n;if(this.isHorizontal())n=Math.min(this.options.ticks.maxTicksLimit?this.options.ticks.maxTicksLimit:11,Math.ceil(this.width/50));else{var i=e.getValueOrDefault(this.options.ticks.fontSize,t.defaults.global.defaultFontSize);n=Math.min(this.options.ticks.maxTicksLimit?this.options.ticks.maxTicksLimit:11,Math.ceil(this.height/(2*i)))}n=Math.max(2,n);var a,r=this.options.ticks.fixedStepSize&&this.options.ticks.fixedStepSize>0||this.options.ticks.stepSize&&this.options.ticks.stepSize>0;if(r)a=e.getValueOrDefault(this.options.ticks.fixedStepSize,this.options.ticks.stepSize);else{var s=e.niceNum(this.max-this.min,!1);a=e.niceNum(s/(n-1),!0)}var o=Math.floor(this.min/a)*a,l=Math.ceil(this.max/a)*a,d=(l-o)/a;d=e.almostEquals(d,Math.round(d),a/1e3)?Math.round(d):Math.ceil(d),this.ticks.push(void 0!==this.options.ticks.min?this.options.ticks.min:o);for(var u=1;d>u;++u)this.ticks.push(o+u*a);this.ticks.push(void 0!==this.options.ticks.max?this.options.ticks.max:l),"left"!==this.options.position&&"right"!==this.options.position||this.ticks.reverse(),this.max=e.max(this.ticks),this.min=e.min(this.ticks),this.options.ticks.reverse?(this.ticks.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},convertTicksToLabels:function(){this.ticksAsNumbers=this.ticks.slice(),this.zeroLineIndex=this.ticks.indexOf(0),t.Scale.prototype.convertTicksToLabels.call(this)},getPixelForValue:function(t,e,n,i){var a,r=+this.getRightValue(t),s=this.end-this.start;if(this.isHorizontal()){var o=this.width-(this.paddingLeft+this.paddingRight);return a=this.left+o/s*(r-this.start),Math.round(a+this.paddingLeft)}var l=this.height-(this.paddingTop+this.paddingBottom);return a=this.bottom-this.paddingBottom-l/s*(r-this.start),Math.round(a)},getPixelForTick:function(t,e){return this.getPixelForValue(this.ticksAsNumbers[t],null,null,e)}});t.scaleService.registerScaleType("linear",i,n)}},{}],39:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n={position:"left",ticks:{callback:function(e,n,i){var a=e/Math.pow(10,Math.floor(t.helpers.log10(e)));return 1===a||2===a||5===a||0===n||n===i.length-1?e.toExponential():""}}},i=t.Scale.extend({determineDataLimits:function(){if(this.min=null,this.max=null,this.options.stacked){var t={};e.each(this.chart.data.datasets,function(n){e.isDatasetVisible(n)&&(this.isHorizontal()?n.xAxisID===this.id:n.yAxisID===this.id)&&(void 0===t[n.type]&&(t[n.type]=[]),e.each(n.data,function(e,i){var a=t[n.type],r=+this.getRightValue(e);isNaN(r)||(a[i]=a[i]||0,this.options.relativePoints?a[i]=100:a[i]+=r)},this))},this),e.each(t,function(t){var n=e.min(t),i=e.max(t);this.min=null===this.min?n:Math.min(this.min,n),this.max=null===this.max?i:Math.max(this.max,i)},this)}else e.each(this.chart.data.datasets,function(t){e.isDatasetVisible(t)&&(this.isHorizontal()?t.xAxisID===this.id:t.yAxisID===this.id)&&e.each(t.data,function(t,e){var n=+this.getRightValue(t);isNaN(n)||(null===this.min?this.min=n:n<this.min&&(this.min=n),null===this.max?this.max=n:n>this.max&&(this.max=n))},this)},this);this.min=void 0!==this.options.ticks.min?this.options.ticks.min:this.min,this.max=void 0!==this.options.ticks.max?this.options.ticks.max:this.max,this.min===this.max&&(0!==this.min&&null!==this.min?(this.min=Math.pow(10,Math.floor(e.log10(this.min))-1),this.max=Math.pow(10,Math.floor(e.log10(this.max))+1)):(this.min=1,this.max=10))},buildTicks:function(){this.ticks=[];for(var t=void 0!==this.options.ticks.min?this.options.ticks.min:Math.pow(10,Math.floor(e.log10(this.min)));t<this.max;){this.ticks.push(t);var n=Math.floor(e.log10(t)),i=Math.floor(t/Math.pow(10,n))+1;10===i&&(i=1,++n),t=i*Math.pow(10,n)}var a=void 0!==this.options.ticks.max?this.options.ticks.max:t;this.ticks.push(a),"left"!==this.options.position&&"right"!==this.options.position||this.ticks.reverse(),this.max=e.max(this.ticks),this.min=e.min(this.ticks),this.options.ticks.reverse?(this.ticks.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max)},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),t.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t,e){return this.getPixelForValue(this.tickValues[t],null,null,e)},getPixelForValue:function(t,n,i,a){var r,s=+this.getRightValue(t),o=e.log10(this.end)-e.log10(this.start);if(this.isHorizontal())if(0===s)r=this.left+this.paddingLeft;else{var l=this.width-(this.paddingLeft+this.paddingRight);r=this.left+l/o*(e.log10(s)-e.log10(this.start)),r+=this.paddingLeft}else if(0===s)r=this.top+this.paddingTop;else{var d=this.height-(this.paddingTop+this.paddingBottom);r=this.bottom-this.paddingBottom-d/o*(e.log10(s)-e.log10(this.start))}return r}});t.scaleService.registerScaleType("logarithmic",i,n)}},{}],40:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n={display:!0,animate:!0,lineArc:!1,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2},pointLabels:{fontSize:10,callback:function(t){return t}}},i=t.Scale.extend({getValueCount:function(){return this.chart.data.labels.length},setDimensions:function(){this.width=this.maxWidth,this.height=this.maxHeight,this.xCenter=Math.round(this.width/2),this.yCenter=Math.round(this.height/2);var n=e.min([this.height,this.width]),i=e.getValueOrDefault(this.options.ticks.fontSize,t.defaults.global.defaultFontSize);this.drawingArea=this.options.display?n/2-(i/2+this.options.ticks.backdropPaddingY):n/2},determineDataLimits:function(){if(this.min=null,this.max=null,e.each(this.chart.data.datasets,function(t){e.isDatasetVisible(t)&&e.each(t.data,function(t,e){var n=+this.getRightValue(t);isNaN(n)||(null===this.min?this.min=n:n<this.min&&(this.min=n),null===this.max?this.max=n:n>this.max&&(this.max=n))},this)},this),this.options.ticks.beginAtZero){var t=e.sign(this.min),n=e.sign(this.max);0>t&&0>n?this.max=0:t>0&&n>0&&(this.min=0)}void 0!==this.options.ticks.min?this.min=this.options.ticks.min:void 0!==this.options.ticks.suggestedMin&&(this.min=Math.min(this.min,this.options.ticks.suggestedMin)),void 0!==this.options.ticks.max?this.max=this.options.ticks.max:void 0!==this.options.ticks.suggestedMax&&(this.max=Math.max(this.max,this.options.ticks.suggestedMax)),this.min===this.max&&(this.min--,this.max++)},buildTicks:function(){this.ticks=[];var n=e.getValueOrDefault(this.options.ticks.fontSize,t.defaults.global.defaultFontSize),i=Math.min(this.options.ticks.maxTicksLimit?this.options.ticks.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*n)));i=Math.max(2,i);var a=e.niceNum(this.max-this.min,!1),r=e.niceNum(a/(i-1),!0),s=Math.floor(this.min/r)*r,o=Math.ceil(this.max/r)*r,l=Math.ceil((o-s)/r);this.ticks.push(void 0!==this.options.ticks.min?this.options.ticks.min:s);for(var d=1;l>d;++d)this.ticks.push(s+d*r);this.ticks.push(void 0!==this.options.ticks.max?this.options.ticks.max:o),this.max=e.max(this.ticks),this.min=e.min(this.ticks),this.options.ticks.reverse?(this.ticks.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),this.zeroLineIndex=this.ticks.indexOf(0)},convertTicksToLabels:function(){t.Scale.prototype.convertTicksToLabels.call(this),this.pointLabels=this.chart.data.labels.map(this.options.pointLabels.callback,this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var n,i,a,r,s,o,l,d,u,h,c,f,p=e.getValueOrDefault(this.options.pointLabels.fontSize,t.defaults.global.defaultFontSize),m=e.getValueOrDefault(this.options.pointLabels.fontStyle,t.defaults.global.defaultFontStyle),g=e.getValueOrDefault(this.options.pointLabels.fontFamily,t.defaults.global.defaultFontFamily),_=e.fontString(p,m,g),y=e.min([this.height/2-p-5,this.width/2]),v=this.width,b=0;for(this.ctx.font=_,i=0;i<this.getValueCount();i++)n=this.getPointPosition(i,y),a=this.ctx.measureText(this.pointLabels[i]?this.pointLabels[i]:"").width+5,0===i||i===this.getValueCount()/2?(r=a/2,n.x+r>v&&(v=n.x+r,s=i),n.x-r<b&&(b=n.x-r,l=i)):i<this.getValueCount()/2?n.x+a>v&&(v=n.x+a,s=i):i>this.getValueCount()/2&&n.x-a<b&&(b=n.x-a,l=i);u=b,h=Math.ceil(v-this.width),o=this.getIndexAngle(s),d=this.getIndexAngle(l),c=h/Math.sin(o+Math.PI/2),f=u/Math.sin(d+Math.PI/2),c=e.isNumber(c)?c:0,f=e.isNumber(f)?f:0,this.drawingArea=Math.round(y-(f+c)/2),this.setCenterPoint(f,c)},setCenterPoint:function(t,e){var n=this.width-e-this.drawingArea,i=t+this.drawingArea;this.xCenter=Math.round((i+n)/2+this.left),this.yCenter=Math.round(this.height/2+this.top)},getIndexAngle:function(t){var e=2*Math.PI/this.getValueCount();return t*e-Math.PI/2},getDistanceFromCenterForValue:function(t){if(null===t)return 0;var e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e},getPointPosition:function(t,e){var n=this.getIndexAngle(t);return{x:Math.round(Math.cos(n)*e)+this.xCenter,y:Math.round(Math.sin(n)*e)+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},draw:function(){if(this.options.display){var n=this.ctx;if(e.each(this.ticks,function(i,a){if(a>0||this.options.reverse){var r=this.getDistanceFromCenterForValue(this.ticks[a]),s=this.yCenter-r;if(this.options.gridLines.display)if(n.strokeStyle=this.options.gridLines.color,n.lineWidth=this.options.gridLines.lineWidth,this.options.lineArc)n.beginPath(),n.arc(this.xCenter,this.yCenter,r,0,2*Math.PI),n.closePath(),n.stroke();else{n.beginPath();for(var o=0;o<this.getValueCount();o++){var l=this.getPointPosition(o,this.getDistanceFromCenterForValue(this.ticks[a]));0===o?n.moveTo(l.x,l.y):n.lineTo(l.x,l.y)}n.closePath(),n.stroke()}if(this.options.ticks.display){var d=e.getValueOrDefault(this.options.ticks.fontColor,t.defaults.global.defaultFontColor),u=e.getValueOrDefault(this.options.ticks.fontSize,t.defaults.global.defaultFontSize),h=e.getValueOrDefault(this.options.ticks.fontStyle,t.defaults.global.defaultFontStyle),c=e.getValueOrDefault(this.options.ticks.fontFamily,t.defaults.global.defaultFontFamily),f=e.fontString(u,h,c);if(n.font=f,this.options.ticks.showLabelBackdrop){var p=n.measureText(i).width;n.fillStyle=this.options.ticks.backdropColor,n.fillRect(this.xCenter-p/2-this.options.ticks.backdropPaddingX,s-u/2-this.options.ticks.backdropPaddingY,p+2*this.options.ticks.backdropPaddingX,u+2*this.options.ticks.backdropPaddingY)}n.textAlign="center",n.textBaseline="middle",n.fillStyle=d,n.fillText(i,this.xCenter,s)}}},this),!this.options.lineArc){n.lineWidth=this.options.angleLines.lineWidth,n.strokeStyle=this.options.angleLines.color;for(var i=this.getValueCount()-1;i>=0;i--){if(this.options.angleLines.display){var a=this.getPointPosition(i,this.getDistanceFromCenterForValue(this.options.reverse?this.min:this.max));n.beginPath(),n.moveTo(this.xCenter,this.yCenter),n.lineTo(a.x,a.y),n.stroke(),n.closePath()}var r=this.getPointPosition(i,this.getDistanceFromCenterForValue(this.options.reverse?this.min:this.max)+5),s=e.getValueOrDefault(this.options.pointLabels.fontColor,t.defaults.global.defaultFontColor),o=e.getValueOrDefault(this.options.pointLabels.fontSize,t.defaults.global.defaultFontSize),l=e.getValueOrDefault(this.options.pointLabels.fontStyle,t.defaults.global.defaultFontStyle),d=e.getValueOrDefault(this.options.pointLabels.fontFamily,t.defaults.global.defaultFontFamily),u=e.fontString(o,l,d);n.font=u,n.fillStyle=s;var h=this.pointLabels.length,c=this.pointLabels.length/2,f=c/2,p=f>i||i>h-f,m=i===f||i===h-f;0===i?n.textAlign="center":i===c?n.textAlign="center":c>i?n.textAlign="left":n.textAlign="right",m?n.textBaseline="middle":p?n.textBaseline="bottom":n.textBaseline="top",n.fillText(this.pointLabels[i]?this.pointLabels[i]:"",r.x,r.y)}}}}});t.scaleService.registerScaleType("radialLinear",i,n)}},{}],41:[function(t,e,n){"use strict";var i=t("moment");i="function"==typeof i?i:window.moment,e.exports=function(t){var e=t.helpers,n={units:[{name:"millisecond",steps:[1,2,5,10,20,50,100,250,500]},{name:"second",steps:[1,2,5,10,30]},{name:"minute",steps:[1,2,5,10,30]},{name:"hour",steps:[1,2,3,6,12]},{name:"day",steps:[1,2,5]},{name:"week",maxStep:4},{name:"month",maxStep:3},{name:"quarter",maxStep:4},{name:"year",maxStep:!1}]},a={position:"bottom",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!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}},r=t.Scale.extend({initialize:function(){if(!i)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");t.Scale.prototype.initialize.call(this)},getLabelMoment:function(t,e){return this.labelMoments[t][e]},determineDataLimits:function(){this.labelMoments=[];var t=[];this.chart.data.labels&&this.chart.data.labels.length>0?(e.each(this.chart.data.labels,function(e,n){var i=this.parseTime(e);this.options.time.round&&i.startOf(this.options.time.round),t.push(i)},this),this.firstTick=i.min.call(this,t),this.lastTick=i.max.call(this,t)):(this.firstTick=null,this.lastTick=null),e.each(this.chart.data.datasets,function(n,a){var r=[];"object"==typeof n.data[0]?e.each(n.data,function(t,e){var n=this.parseTime(this.getRightValue(t));this.options.time.round&&n.startOf(this.options.time.round),r.push(n),this.firstTick=null!==this.firstTick?i.min(this.firstTick,n):n,this.lastTick=null!==this.lastTick?i.max(this.lastTick,n):n},this):r=t,this.labelMoments.push(r)},this),this.options.time.min&&(this.firstTick=this.parseTime(this.options.time.min)),this.options.time.max&&(this.lastTick=this.parseTime(this.options.time.max)),this.firstTick=(this.firstTick||i()).clone(),this.lastTick=(this.lastTick||i()).clone()},buildTicks:function(i){this.ctx.save();var a=e.getValueOrDefault(this.options.ticks.fontSize,t.defaults.global.defaultFontSize),r=e.getValueOrDefault(this.options.ticks.fontStyle,t.defaults.global.defaultFontStyle),s=e.getValueOrDefault(this.options.ticks.fontFamily,t.defaults.global.defaultFontFamily),o=e.fontString(a,r,s);if(this.ctx.font=o,this.ticks=[],this.unitScale=1,this.scaleSizeInUnits=0,this.options.time.unit)this.tickUnit=this.options.time.unit||"day",this.displayFormat=this.options.time.displayFormats[this.tickUnit],this.scaleSizeInUnits=this.lastTick.diff(this.firstTick,this.tickUnit,!0),this.unitScale=e.getValueOrDefault(this.options.time.unitStepSize,1);else{var l=this.isHorizontal()?this.width-(this.paddingLeft+this.paddingRight):this.height-(this.paddingTop+this.paddingBottom),d=this.tickFormatFunction(this.firstTick,0,[]),u=this.ctx.measureText(d).width,h=Math.cos(e.toRadians(this.options.ticks.maxRotation)),c=Math.sin(e.toRadians(this.options.ticks.maxRotation));u=u*h+a*c;var f=l/u;this.tickUnit="millisecond",this.scaleSizeInUnits=this.lastTick.diff(this.firstTick,this.tickUnit,!0),this.displayFormat=this.options.time.displayFormats[this.tickUnit];for(var p=0,m=n.units[p];p<n.units.length;){if(this.unitScale=1,e.isArray(m.steps)&&Math.ceil(this.scaleSizeInUnits/f)<e.max(m.steps)){for(var g=0;g<m.steps.length;++g)if(m.steps[g]>=Math.ceil(this.scaleSizeInUnits/f)){this.unitScale=e.getValueOrDefault(this.options.time.unitStepSize,m.steps[g]);break}break}if(m.maxStep===!1||Math.ceil(this.scaleSizeInUnits/f)<m.maxStep){this.unitScale=e.getValueOrDefault(this.options.time.unitStepSize,Math.ceil(this.scaleSizeInUnits/f));break}++p,m=n.units[p],this.tickUnit=m.name,this.scaleSizeInUnits=this.lastTick.diff(this.firstTick,this.tickUnit,!0),this.displayFormat=this.options.time.displayFormats[m.name]}}var _;this.options.time.min?_=this.firstTick.clone().startOf(this.tickUnit):(this.firstTick.startOf(this.tickUnit),_=this.firstTick),this.options.time.max||this.lastTick.endOf(this.tickUnit),this.smallestLabelSeparation=this.width,e.each(this.chart.data.datasets,function(t,e){for(var n=1;n<this.labelMoments[e].length;n++)this.smallestLabelSeparation=Math.min(this.smallestLabelSeparation,this.labelMoments[e][n].diff(this.labelMoments[e][n-1],this.tickUnit,!0))},this),this.options.time.displayFormat&&(this.displayFormat=this.options.time.displayFormat),this.ticks.push(this.firstTick.clone());for(var y=1;y<this.scaleSizeInUnits;++y){var v=_.clone().add(y,this.tickUnit);if(this.options.time.max&&v.diff(this.lastTick,this.tickUnit,!0)>=0)break;y%this.unitScale===0&&this.ticks.push(v)}0===this.ticks[this.ticks.length-1].diff(this.lastTick,this.tickUnit)&&0!==this.scaleSizeInUnits||(this.options.time.max?(this.ticks.push(this.lastTick.clone()),this.scaleSizeInUnits=this.lastTick.diff(this.ticks[0],this.tickUnit,!0)):(this.scaleSizeInUnits=Math.ceil(this.scaleSizeInUnits/this.unitScale)*this.unitScale,this.ticks.push(this.firstTick.clone().add(this.scaleSizeInUnits,this.tickUnit)),this.lastTick=this.ticks[this.ticks.length-1].clone())),this.ctx.restore()},getLabelForIndex:function(t,e){var n=this.chart.data.labels&&t<this.chart.data.labels.length?this.chart.data.labels[t]:"";return"object"==typeof this.chart.data.datasets[e].data[0]&&(n=this.getRightValue(this.chart.data.datasets[e].data[t])),this.options.time.tooltipFormat&&(n=this.parseTime(n).format(this.options.time.tooltipFormat)),n},tickFormatFunction:function(t,e,n){var i=t.format(this.displayFormat);return this.options.ticks.userCallback?this.options.ticks.userCallback(i,e,n):i},convertTicksToLabels:function(){this.ticks=this.ticks.map(this.tickFormatFunction,this)},getPixelForValue:function(t,e,n,i){var a=this.getLabelMoment(n,e);if(a){var r=a.diff(this.firstTick,this.tickUnit,!0),s=r/this.scaleSizeInUnits;if(this.isHorizontal()){var o=this.width-(this.paddingLeft+this.paddingRight),l=(o/Math.max(this.ticks.length-1,1),o*s+this.paddingLeft);return this.left+Math.round(l)}var d=this.height-(this.paddingTop+this.paddingBottom),u=(d/Math.max(this.ticks.length-1,1),d*s+this.paddingTop);return this.top+Math.round(u)}},parseTime:function(t){return"string"==typeof this.options.time.parser?i(t,this.options.time.parser):"function"==typeof this.options.time.parser?this.options.time.parser(t):"function"==typeof t.getMonth||"number"==typeof t?i(t):t.isValid&&t.isValid()?t:"string"!=typeof this.options.time.format&&this.options.time.format.call?(console.warn("options.time.format is deprecated and replaced by options.time.parser. See http://nnnick.github.io/Chart.js/docs-v2/#scales-time-scale"),this.options.time.format(t)):i(t,this.options.time.format)}});t.scaleService.registerScaleType("time",r,a)}},{moment:1}]},{},[7]),function(t,e,n){!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):jQuery&&!jQuery.fn.sparkline&&t(jQuery)}(function(i){"use strict";var a,r,s,o,l,d,u,h,c,f,p,m,g,_,y,v,b,M,w,x,k,L,D,T,S,Y,C,A,H,j,P,I,E={},F=0;a=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 s('<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 s('<span style="color: {{color}}">●</span> {{prefix}}{{value}}{{suffix}}')},tristate:{barWidth:4,barSpacing:1,posBarColor:"#6f6",negBarColor:"#f44",zeroBarColor:"#999",colorMap:{},tooltipFormat:new s('<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 s("{{prefix}}{{value}}{{suffix}}")},bullet:{targetColor:"#f33",targetWidth:3,performanceColor:"#33f",rangeColors:["#d3dafe","#a8b6ff","#7f94ff"],base:n,tooltipFormat:new s("{{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 s('<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 s("{{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"}}}}},Y='.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;}',r=function(){var t,e;return t=function(){this.init.apply(this,arguments)},arguments.length>1?(arguments[0]?(t.prototype=i.extend(new arguments[0],arguments[arguments.length-1]),t._super=arguments[0].prototype):t.prototype=arguments[arguments.length-1],arguments.length>2&&(e=Array.prototype.slice.call(arguments,1,-1),e.unshift(t.prototype),i.extend.apply(i,e))):t.prototype=arguments[0],t.prototype.cls=t,t},i.SPFormatClass=s=r({fre:/\{\{([\w.]+?)(:(.+?))?\}\}/g,precre:/(\w+)\.(\d+)/,init:function(t,e){this.format=t,this.fclass=e},render:function(t,e,i){var a,r,s,o,l,d=this,u=t;return this.format.replace(this.fre,function(){var t;return r=arguments[1],s=arguments[3],a=d.precre.exec(r),a?(l=a[2],r=a[1]):l=!1,o=u[r],o===n?"":s&&e&&e[s]?(t=e[s],t.get?e[s].get(o)||o:e[s][o]||o):(c(o)&&(o=i.get("numberFormatter")?i.get("numberFormatter")(o):_(o,l,i.get("numberDigitGroupCount"),i.get("numberDigitGroupSep"),i.get("numberDecimalMark"))),o)})}}),i.spformat=function(t,e){return new s(t,e)},o=function(t,e,n){return e>t?e:t>n?n:t},l=function(t,n){var i;return 2===n?(i=e.floor(t.length/2),t.length%2?t[i]:(t[i-1]+t[i])/2):t.length%2?(i=(t.length*n+n)/4,i%1?(t[e.floor(i)]+t[e.floor(i)-1])/2:t[i-1]):(i=(t.length*n+2)/4,i%1?(t[e.floor(i)]+t[e.floor(i)-1])/2:t[i-1])},d=function(t){var e;switch(t){case"undefined":t=n;break;case"null":t=null;break;case"true":t=!0;break;case"false":t=!1;break;default:e=parseFloat(t),t==e&&(t=e)}return t},u=function(t){var e,n=[];for(e=t.length;e--;)n[e]=d(t[e]);return n},h=function(t,e){var n,i,a=[];for(n=0,i=t.length;i>n;n++)t[n]!==e&&a.push(t[n]);return a},c=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},_=function(t,e,n,a,r){var s,o;for(t=(e===!1?parseFloat(t).toString():t.toFixed(e)).split(""),s=(s=i.inArray(".",t))<0?t.length:s,s<t.length&&(t[s]=r),o=s-n;o>0;o-=n)t.splice(o,0,a);return t.join("")},f=function(t,e,n){var i;for(i=e.length;i--;)if((!n||null!==e[i])&&e[i]!==t)return!1;return!0},p=function(t){var e,n=0;for(e=t.length;e--;)n+="number"==typeof t[e]?t[e]:0;return n},g=function(t){return i.isArray(t)?t:[t]},m=function(e){var n,i;if(t.createStyleSheet)try{return void(t.createStyleSheet().cssText=e)}catch(a){i=!0}n=t.createElement("style"),n.type="text/css",t.getElementsByTagName("head")[0].appendChild(n),i?t.styleSheets[t.styleSheets.length-1].cssText=e:n["string"==typeof t.body.style.WebkitAppearance?"innerText":"innerHTML"]=e},i.fn.simpledraw=function(e,a,r,s){var o,l;if(r&&(o=this.data("_jqs_vcanvas")))return o;if(i.fn.sparkline.canvas===!1)return!1;
|
||
if(i.fn.sparkline.canvas===n){var d=t.createElement("canvas");if(d.getContext&&d.getContext("2d"))i.fn.sparkline.canvas=function(t,e,n,i){return new j(t,e,n,i)};else{if(!t.namespaces||t.namespaces.v)return i.fn.sparkline.canvas=!1,!1;t.namespaces.add("v","urn:schemas-microsoft-com:vml","#default#VML"),i.fn.sparkline.canvas=function(t,e,n,i){return new P(t,e,n)}}}return e===n&&(e=i(this).innerWidth()),a===n&&(a=i(this).innerHeight()),o=i.fn.sparkline.canvas(e,a,this,s),l=i(this).data("_jqs_mhandler"),l&&l.registerCanvas(o),o},i.fn.cleardraw=function(){var t=this.data("_jqs_vcanvas");t&&t.reset()},i.RangeMapClass=y=r({init:function(t){var e,n,i=[];for(e in t)t.hasOwnProperty(e)&&"string"==typeof e&&e.indexOf(":")>-1&&(n=e.split(":"),n[0]=0===n[0].length?-(1/0):parseFloat(n[0]),n[1]=0===n[1].length?1/0:parseFloat(n[1]),n[2]=t[e],i.push(n));this.map=t,this.rangelist=i||!1},get:function(t){var e,i,a,r=this.rangelist;if((a=this.map[t])!==n)return a;if(r)for(e=r.length;e--;)if(i=r[e],i[0]<=t&&i[1]>=t)return i[2];return n}}),i.range_map=function(t){return new y(t)},v=r({init:function(t,e){var n=i(t);this.$el=n,this.options=e,this.currentPageX=0,this.currentPageY=0,this.el=t,this.splist=[],this.tooltip=null,this.over=!1,this.displayTooltips=!e.get("disableTooltips"),this.highlightEnabled=!e.get("disableHighlight")},registerSparkline:function(t){this.splist.push(t),this.over&&this.updateDisplay()},registerCanvas:function(t){var e=i(t.canvas);this.canvas=t,this.$canvas=e,e.mouseenter(i.proxy(this.mouseenter,this)),e.mouseleave(i.proxy(this.mouseleave,this)),e.click(i.proxy(this.mouseclick,this))},reset:function(t){this.splist=[],this.tooltip&&t&&(this.tooltip.remove(),this.tooltip=n)},mouseclick:function(t){var e=i.Event("sparklineClick");e.originalEvent=t,e.sparklines=this.splist,this.$el.trigger(e)},mouseenter:function(e){i(t.body).unbind("mousemove.jqs"),i(t.body).bind("mousemove.jqs",i.proxy(this.mousemove,this)),this.over=!0,this.currentPageX=e.pageX,this.currentPageY=e.pageY,this.currentEl=e.target,!this.tooltip&&this.displayTooltips&&(this.tooltip=new b(this.options),this.tooltip.updatePosition(e.pageX,e.pageY)),this.updateDisplay()},mouseleave:function(){i(t.body).unbind("mousemove.jqs");var e,n,a=this.splist,r=a.length,s=!1;for(this.over=!1,this.currentEl=null,this.tooltip&&(this.tooltip.remove(),this.tooltip=null),n=0;r>n;n++)e=a[n],e.clearRegionHighlight()&&(s=!0);s&&this.canvas.render()},mousemove:function(t){this.currentPageX=t.pageX,this.currentPageY=t.pageY,this.currentEl=t.target,this.tooltip&&this.tooltip.updatePosition(t.pageX,t.pageY),this.updateDisplay()},updateDisplay:function(){var t,e,n,a,r,s=this.splist,o=s.length,l=!1,d=this.$canvas.offset(),u=this.currentPageX-d.left,h=this.currentPageY-d.top;if(this.over){for(n=0;o>n;n++)e=s[n],a=e.setRegionHighlight(this.currentEl,u,h),a&&(l=!0);if(l){if(r=i.Event("sparklineRegionChange"),r.sparklines=this.splist,this.$el.trigger(r),this.tooltip){for(t="",n=0;o>n;n++)e=s[n],t+=e.getCurrentRegionTooltip();this.tooltip.setContent(t)}this.disableHighlight||this.canvas.render()}null===a&&this.mouseleave()}}}),b=r({sizeStyle:"position: static !important;display: block !important;visibility: hidden !important;float: left !important;",init:function(e){var n,a=e.get("tooltipClassname","jqstooltip"),r=this.sizeStyle;this.container=e.get("tooltipContainer")||t.body,this.tooltipOffsetX=e.get("tooltipOffsetX",10),this.tooltipOffsetY=e.get("tooltipOffsetY",12),i("#jqssizetip").remove(),i("#jqstooltip").remove(),this.sizetip=i("<div/>",{id:"jqssizetip",style:r,"class":a}),this.tooltip=i("<div/>",{id:"jqstooltip","class":a}).appendTo(this.container),n=this.tooltip.offset(),this.offsetLeft=n.left,this.offsetTop=n.top,this.hidden=!0,i(window).unbind("resize.jqs scroll.jqs"),i(window).bind("resize.jqs scroll.jqs",i.proxy(this.updateWindowDims,this)),this.updateWindowDims()},updateWindowDims:function(){this.scrollTop=i(window).scrollTop(),this.scrollLeft=i(window).scrollLeft(),this.scrollRight=this.scrollLeft+i(window).width(),this.updatePosition()},getSize:function(t){this.sizetip.html(t).appendTo(this.container),this.width=this.sizetip.width()+1,this.height=this.sizetip.height(),this.sizetip.remove()},setContent:function(t){return t?(this.getSize(t),this.tooltip.html(t).css({width:this.width,height:this.height,visibility:"visible"}),void(this.hidden&&(this.hidden=!1,this.updatePosition()))):(this.tooltip.css("visibility","hidden"),void(this.hidden=!0))},updatePosition:function(t,e){if(t===n){if(this.mousex===n)return;t=this.mousex-this.offsetLeft,e=this.mousey-this.offsetTop}else this.mousex=t-=this.offsetLeft,this.mousey=e-=this.offsetTop;this.height&&this.width&&!this.hidden&&(e-=this.height+this.tooltipOffsetY,t+=this.tooltipOffsetX,e<this.scrollTop&&(e=this.scrollTop),t<this.scrollLeft?t=this.scrollLeft:t+this.width>this.scrollRight&&(t=this.scrollRight-this.width),this.tooltip.css({left:t,top:e}))},remove:function(){this.tooltip.remove(),this.sizetip.remove(),this.sizetip=this.tooltip=n,i(window).unbind("resize.jqs scroll.jqs")}}),C=function(){m(Y)},i(C),I=[],i.fn.sparkline=function(e,a){return this.each(function(){var r,s,o=new i.fn.sparkline.options(this,a),l=i(this);if(r=function(){var a,r,s,d,u,h,c;return"html"===e||e===n?(c=this.getAttribute(o.get("tagValuesAttribute")),c!==n&&null!==c||(c=l.html()),a=c.replace(/(^\s*<!--)|(-->\s*$)|\s+/g,"").split(",")):a=e,r="auto"===o.get("width")?a.length*o.get("defaultPixelsPerValue"):o.get("width"),"auto"===o.get("height")?o.get("composite")&&i.data(this,"_jqs_vcanvas")||(d=t.createElement("span"),d.innerHTML="a",l.html(d),s=i(d).innerHeight()||i(d).height(),i(d).remove(),d=null):s=o.get("height"),o.get("disableInteraction")?u=!1:(u=i.data(this,"_jqs_mhandler"),u?o.get("composite")||u.reset():(u=new v(this,o),i.data(this,"_jqs_mhandler",u))),o.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))):(h=new(i.fn.sparkline[o.get("type")])(this,a,o,r,s),h.render(),void(u&&u.registerSparkline(h)))},i(this).html()&&!o.get("disableHiddenCheck")&&i(this).is(":hidden")||!i(this).parents("body").length){if(!o.get("composite")&&i.data(this,"_jqs_pending"))for(s=I.length;s;s--)I[s-1][0]==this&&I.splice(s-1,1);I.push([this,r]),i.data(this,"_jqs_pending",!0)}else r.call(this)})},i.fn.sparkline.defaults=a(),i.sparkline_display_visible=function(){var t,e,n,a=[];for(e=0,n=I.length;n>e;e++)t=I[e][0],i(t).is(":visible")&&!i(t).parents().is(":hidden")?(I[e][1].call(t),i.data(I[e][0],"_jqs_pending",!1),a.push(e)):i(t).closest("html").length||i.data(t,"_jqs_pending")||(i.data(I[e][0],"_jqs_pending",!1),a.push(e));for(e=a.length;e;e--)I.splice(a[e-1],1)},i.fn.sparkline.options=r({init:function(t,e){var n,a,r,s;this.userOptions=e=e||{},this.tag=t,this.tagValCache={},a=i.fn.sparkline.defaults,r=a.common,this.tagOptionsPrefix=e.enableTagOptions&&(e.tagOptionsPrefix||r.tagOptionsPrefix),s=this.getTagSetting("type"),n=s===E?a[e.type||r.type]:a[s],this.mergedOptions=i.extend({},r,n,e)},getTagSetting:function(t){var e,i,a,r,s=this.tagOptionsPrefix;if(s===!1||s===n)return E;if(this.tagValCache.hasOwnProperty(t))e=this.tagValCache.key;else{if(e=this.tag.getAttribute(s+t),e===n||null===e)e=E;else if("["===e.substr(0,1))for(e=e.substr(1,e.length-2).split(","),i=e.length;i--;)e[i]=d(e[i].replace(/(^\s*)|(\s*$)/g,""));else if("{"===e.substr(0,1))for(a=e.substr(1,e.length-2).split(","),e={},i=a.length;i--;)r=a[i].split(":",2),e[r[0].replace(/(^\s*)|(\s*$)/g,"")]=d(r[1].replace(/(^\s*)|(\s*$)/g,""));else e=d(e);this.tagValCache.key=e}return e},get:function(t,e){var i,a=this.getTagSetting(t);return a!==E?a:(i=this.mergedOptions[t])===n?e:i}}),i.fn.sparkline._base=r({disabled:!1,init:function(t,e,a,r,s){this.el=t,this.$el=i(t),this.values=e,this.options=a,this.width=r,this.height=s,this.currentRegion=n},initTarget:function(){var t=!this.options.get("disableInteraction");(this.target=this.$el.simpledraw(this.width,this.height,this.options.get("composite"),t))?(this.canvasWidth=this.target.pixelWidth,this.canvasHeight=this.target.pixelHeight):this.disabled=!0},render:function(){return this.disabled?(this.el.innerHTML="",!1):!0},getRegion:function(t,e){},setRegionHighlight:function(t,e,i){var a,r=this.currentRegion,s=!this.options.get("disableHighlight");return e>this.canvasWidth||i>this.canvasHeight||0>e||0>i?null:(a=this.getRegion(t,e,i),r!==a?(r!==n&&s&&this.removeHighlight(),this.currentRegion=a,a!==n&&s&&this.renderHighlight(),!0):!1)},clearRegionHighlight:function(){return this.currentRegion!==n?(this.removeHighlight(),this.currentRegion=n,!0):!1},renderHighlight:function(){this.changeHighlight(!0)},removeHighlight:function(){this.changeHighlight(!1)},changeHighlight:function(t){},getCurrentRegionTooltip:function(){var t,e,a,r,o,l,d,u,h,c,f,p,m,g,_=this.options,y="",v=[];if(this.currentRegion===n)return"";if(t=this.getCurrentRegionFields(),f=_.get("tooltipFormatter"))return f(this,_,t);if(_.get("tooltipChartTitle")&&(y+='<div class="jqs jqstitle">'+_.get("tooltipChartTitle")+"</div>\n"),e=this.options.get("tooltipFormat"),!e)return"";if(i.isArray(e)||(e=[e]),i.isArray(t)||(t=[t]),d=this.options.get("tooltipFormatFieldlist"),u=this.options.get("tooltipFormatFieldlistKey"),d&&u){for(h=[],l=t.length;l--;)c=t[l][u],-1!=(g=i.inArray(c,d))&&(h[g]=t[l]);t=h}for(a=e.length,m=t.length,l=0;a>l;l++)for(p=e[l],"string"==typeof p&&(p=new s(p)),r=p.fclass||"jqsfield",g=0;m>g;g++)t[g].isNull&&_.get("tooltipSkipNull")||(i.extend(t[g],{prefix:_.get("tooltipPrefix"),suffix:_.get("tooltipSuffix")}),o=p.render(t[g],_.get("tooltipValueLookups"),_),v.push('<div class="'+r+'">'+o+"</div>"));return v.length?y+v.join("\n"):""},getCurrentRegionFields:function(){},calcHighlightColor:function(t,n){var i,a,r,s,l=n.get("highlightColor"),d=n.get("highlightLighten");if(l)return l;if(d&&(i=/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i.exec(t)||/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(t))){for(r=[],a=4===t.length?16:1,s=0;3>s;s++)r[s]=o(e.round(parseInt(i[s+1],16)*a*d),0,255);return"rgb("+r.join(",")+")"}return t}}),M={changeHighlight:function(t){var e,n=this.currentRegion,a=this.target,r=this.regionShapes[n];r&&(e=this.renderRegion(n,t),i.isArray(e)||i.isArray(r)?(a.replaceWithShapes(r,e),this.regionShapes[n]=i.map(e,function(t){return t.id})):(a.replaceWithShape(r,e),this.regionShapes[n]=e.id))},render:function(){var t,e,n,a,r=this.values,s=this.target,o=this.regionShapes;if(this.cls._super.render.call(this)){for(n=r.length;n--;)if(t=this.renderRegion(n))if(i.isArray(t)){for(e=[],a=t.length;a--;)t[a].append(),e.push(t[a].id);o[n]=e}else t.append(),o[n]=t.id;else o[n]=null;s.render()}}},i.fn.sparkline.line=w=r(i.fn.sparkline._base,{type:"line",init:function(t,e,n,i,a){w._super.init.call(this,t,e,n,i,a),this.vertices=[],this.regionMap=[],this.xvalues=[],this.yvalues=[],this.yminmax=[],this.hightlightSpotId=null,this.lastShapeId=null,this.initTarget()},getRegion:function(t,e,i){var a,r=this.regionMap;for(a=r.length;a--;)if(null!==r[a]&&e>=r[a][0]&&e<=r[a][1])return r[a][2];return n},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:null===this.yvalues[t],x:this.xvalues[t],y:this.yvalues[t],color:this.options.get("lineColor"),fillColor:this.options.get("fillColor"),offset:t}},renderHighlight:function(){var t,e,i=this.currentRegion,a=this.target,r=this.vertices[i],s=this.options,o=s.get("spotRadius"),l=s.get("highlightSpotColor"),d=s.get("highlightLineColor");r&&(o&&l&&(t=a.drawCircle(r[0],r[1],o,n,l),this.highlightSpotId=t.id,a.insertAfterShape(this.lastShapeId,t)),d&&(e=a.drawLine(r[0],this.canvasTop,r[0],this.canvasTop+this.canvasHeight,d),this.highlightLineId=e.id,a.insertAfterShape(this.lastShapeId,e)))},removeHighlight:function(){var t=this.target;this.highlightSpotId&&(t.removeShapeId(this.highlightSpotId),this.highlightSpotId=null),this.highlightLineId&&(t.removeShapeId(this.highlightLineId),this.highlightLineId=null)},scanValues:function(){var t,n,i,a,r,s=this.values,o=s.length,l=this.xvalues,d=this.yvalues,u=this.yminmax;for(t=0;o>t;t++)n=s[t],i="string"==typeof s[t],a="object"==typeof s[t]&&s[t]instanceof Array,r=i&&s[t].split(":"),i&&2===r.length?(l.push(Number(r[0])),d.push(Number(r[1])),u.push(Number(r[1]))):a?(l.push(n[0]),d.push(n[1]),u.push(n[1])):(l.push(t),null===s[t]||"null"===s[t]?d.push(null):(d.push(Number(n)),u.push(Number(n))));this.options.get("xvalues")&&(l=this.options.get("xvalues")),this.maxy=this.maxyorg=e.max.apply(e,u),this.miny=this.minyorg=e.min.apply(e,u),this.maxx=e.max.apply(e,l),this.minx=e.min.apply(e,l),this.xvalues=l,this.yvalues=d,this.yminmax=u},processRangeOptions:function(){var t=this.options,e=t.get("normalRangeMin"),i=t.get("normalRangeMax");e!==n&&(e<this.miny&&(this.miny=e),i>this.maxy&&(this.maxy=i)),t.get("chartRangeMin")!==n&&(t.get("chartRangeClip")||t.get("chartRangeMin")<this.miny)&&(this.miny=t.get("chartRangeMin")),t.get("chartRangeMax")!==n&&(t.get("chartRangeClip")||t.get("chartRangeMax")>this.maxy)&&(this.maxy=t.get("chartRangeMax")),t.get("chartRangeMinX")!==n&&(t.get("chartRangeClipX")||t.get("chartRangeMinX")<this.minx)&&(this.minx=t.get("chartRangeMinX")),t.get("chartRangeMaxX")!==n&&(t.get("chartRangeClipX")||t.get("chartRangeMaxX")>this.maxx)&&(this.maxx=t.get("chartRangeMaxX"))},drawNormalRange:function(t,i,a,r,s){var o=this.options.get("normalRangeMin"),l=this.options.get("normalRangeMax"),d=i+e.round(a-a*((l-this.miny)/s)),u=e.round(a*(l-o)/s);this.target.drawRect(t,d,r,u,n,this.options.get("normalRangeColor")).append()},render:function(){var t,a,r,s,o,l,d,u,h,c,f,p,m,g,_,v,b,M,x,k,L,D,T,S,Y,C=this.options,A=this.target,H=this.canvasWidth,j=this.canvasHeight,P=this.vertices,I=C.get("spotRadius"),E=this.regionMap;if(w._super.render.call(this)&&(this.scanValues(),this.processRangeOptions(),T=this.xvalues,S=this.yvalues,this.yminmax.length&&!(this.yvalues.length<2))){for(s=o=0,t=this.maxx-this.minx===0?1:this.maxx-this.minx,a=this.maxy-this.miny===0?1:this.maxy-this.miny,r=this.yvalues.length-1,I&&(4*I>H||4*I>j)&&(I=0),I&&(L=C.get("highlightSpotColor")&&!C.get("disableInteraction"),(L||C.get("minSpotColor")||C.get("spotColor")&&S[r]===this.miny)&&(j-=e.ceil(I)),(L||C.get("maxSpotColor")||C.get("spotColor")&&S[r]===this.maxy)&&(j-=e.ceil(I),s+=e.ceil(I)),(L||(C.get("minSpotColor")||C.get("maxSpotColor"))&&(S[0]===this.miny||S[0]===this.maxy))&&(o+=e.ceil(I),H-=e.ceil(I)),(L||C.get("spotColor")||C.get("minSpotColor")||C.get("maxSpotColor")&&(S[r]===this.miny||S[r]===this.maxy))&&(H-=e.ceil(I))),j--,C.get("normalRangeMin")===n||C.get("drawNormalOnTop")||this.drawNormalRange(o,s,j,H,a),d=[],u=[d],g=_=null,v=S.length,Y=0;v>Y;Y++)h=T[Y],f=T[Y+1],c=S[Y],p=o+e.round((h-this.minx)*(H/t)),m=v-1>Y?o+e.round((f-this.minx)*(H/t)):H,_=p+(m-p)/2,E[Y]=[g||0,_,Y],g=_,null===c?Y&&(null!==S[Y-1]&&(d=[],u.push(d)),P.push(null)):(c<this.miny&&(c=this.miny),c>this.maxy&&(c=this.maxy),d.length||d.push([p,s+j]),l=[p,s+e.round(j-j*((c-this.miny)/a))],d.push(l),P.push(l));for(b=[],M=[],x=u.length,Y=0;x>Y;Y++)d=u[Y],d.length&&(C.get("fillColor")&&(d.push([d[d.length-1][0],s+j]),M.push(d.slice(0)),d.pop()),d.length>2&&(d[0]=[d[0][0],d[1][1]]),b.push(d));for(x=M.length,Y=0;x>Y;Y++)A.drawShape(M[Y],C.get("fillColor"),C.get("fillColor")).append();for(C.get("normalRangeMin")!==n&&C.get("drawNormalOnTop")&&this.drawNormalRange(o,s,j,H,a),x=b.length,Y=0;x>Y;Y++)A.drawShape(b[Y],C.get("lineColor"),n,C.get("lineWidth")).append();if(I&&C.get("valueSpots"))for(k=C.get("valueSpots"),k.get===n&&(k=new y(k)),Y=0;v>Y;Y++)D=k.get(S[Y]),D&&A.drawCircle(o+e.round((T[Y]-this.minx)*(H/t)),s+e.round(j-j*((S[Y]-this.miny)/a)),I,n,D).append();I&&C.get("spotColor")&&null!==S[r]&&A.drawCircle(o+e.round((T[T.length-1]-this.minx)*(H/t)),s+e.round(j-j*((S[r]-this.miny)/a)),I,n,C.get("spotColor")).append(),this.maxy!==this.minyorg&&(I&&C.get("minSpotColor")&&(h=T[i.inArray(this.minyorg,S)],A.drawCircle(o+e.round((h-this.minx)*(H/t)),s+e.round(j-j*((this.minyorg-this.miny)/a)),I,n,C.get("minSpotColor")).append()),I&&C.get("maxSpotColor")&&(h=T[i.inArray(this.maxyorg,S)],A.drawCircle(o+e.round((h-this.minx)*(H/t)),s+e.round(j-j*((this.maxyorg-this.miny)/a)),I,n,C.get("maxSpotColor")).append())),this.lastShapeId=A.getLastShapeId(),this.canvasTop=s,A.render()}}}),i.fn.sparkline.bar=x=r(i.fn.sparkline._base,M,{type:"bar",init:function(t,a,r,s,l){var c,f,p,m,g,_,v,b,M,w,k,L,D,T,S,Y,C,A,H,j,P,I,E=parseInt(r.get("barWidth"),10),F=parseInt(r.get("barSpacing"),10),O=r.get("chartRangeMin"),W=r.get("chartRangeMax"),R=r.get("chartRangeClip"),z=1/0,N=-(1/0);for(x._super.init.call(this,t,a,r,s,l),_=0,v=a.length;v>_;_++)j=a[_],c="string"==typeof j&&j.indexOf(":")>-1,(c||i.isArray(j))&&(S=!0,c&&(j=a[_]=u(j.split(":"))),j=h(j,null),f=e.min.apply(e,j),p=e.max.apply(e,j),z>f&&(z=f),p>N&&(N=p));this.stacked=S,this.regionShapes={},this.barWidth=E,this.barSpacing=F,this.totalBarWidth=E+F,this.width=s=a.length*E+(a.length-1)*F,this.initTarget(),R&&(D=O===n?-(1/0):O,T=W===n?1/0:W),g=[],m=S?[]:g;var B=[],V=[];for(_=0,v=a.length;v>_;_++)if(S)for(Y=a[_],a[_]=H=[],B[_]=0,m[_]=V[_]=0,C=0,A=Y.length;A>C;C++)j=H[C]=R?o(Y[C],D,T):Y[C],null!==j&&(j>0&&(B[_]+=j),0>z&&N>0?0>j?V[_]+=e.abs(j):m[_]+=j:m[_]+=e.abs(j-(0>j?N:z)),g.push(j));else j=R?o(a[_],D,T):a[_],j=a[_]=d(j),null!==j&&g.push(j);this.max=L=e.max.apply(e,g),this.min=k=e.min.apply(e,g),this.stackMax=N=S?e.max.apply(e,B):L,this.stackMin=z=S?e.min.apply(e,g):k,r.get("chartRangeMin")!==n&&(r.get("chartRangeClip")||r.get("chartRangeMin")<k)&&(k=r.get("chartRangeMin")),r.get("chartRangeMax")!==n&&(r.get("chartRangeClip")||r.get("chartRangeMax")>L)&&(L=r.get("chartRangeMax")),this.zeroAxis=M=r.get("zeroAxis",!0),w=0>=k&&L>=0&&M?0:0==M?k:k>0?k:L,this.xaxisOffset=w,b=S?e.max.apply(e,m)+e.max.apply(e,V):L-k,this.canvasHeightEf=M&&0>k?this.canvasHeight-2:this.canvasHeight-1,w>k?(I=S&&L>=0?N:L,P=(I-w)/b*this.canvasHeight,P!==e.ceil(P)&&(this.canvasHeightEf-=2,P=e.ceil(P))):P=this.canvasHeight,this.yoffset=P,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.range=b},getRegion:function(t,i,a){var r=e.floor(i/this.totalBarWidth);return 0>r||r>=this.values.length?n:r},getCurrentRegionFields:function(){var t,e,n=this.currentRegion,i=g(this.values[n]),a=[];for(e=i.length;e--;)t=i[e],a.push({isNull:null===t,value:t,color:this.calcColor(e,t,n),offset:n});return a},calcColor:function(t,e,a){var r,s,o=this.colorMapByIndex,l=this.colorMapByValue,d=this.options;return r=this.stacked?d.get("stackedBarColor"):0>e?d.get("negBarColor"):d.get("barColor"),0===e&&d.get("zeroColor")!==n&&(r=d.get("zeroColor")),l&&(s=l.get(e))?r=s:o&&o.length>a&&(r=o[a]),i.isArray(r)?r[t%r.length]:r},renderRegion:function(t,a){var r,s,o,l,d,u,h,c,p,m,g=this.values[t],_=this.options,y=this.xaxisOffset,v=[],b=this.range,M=this.stacked,w=this.target,x=t*this.totalBarWidth,k=this.canvasHeightEf,L=this.yoffset;if(g=i.isArray(g)?g:[g],h=g.length,c=g[0],l=f(null,g),m=f(y,g,!0),l)return _.get("nullColor")?(o=a?_.get("nullColor"):this.calcHighlightColor(_.get("nullColor"),_),r=L>0?L-1:L,w.drawRect(x,r,this.barWidth-1,0,o,o)):n;for(d=L,u=0;h>u;u++){if(c=g[u],M&&c===y){if(!m||p)continue;p=!0}s=b>0?e.floor(k*(e.abs(c-y)/b))+1:1,y>c||c===y&&0===L?(r=d,d+=s):(r=L-s,L-=s),o=this.calcColor(u,c,t),a&&(o=this.calcHighlightColor(o,_)),v.push(w.drawRect(x,r,this.barWidth-1,s-1,o,o))}return 1===v.length?v[0]:v}}),i.fn.sparkline.tristate=k=r(i.fn.sparkline._base,M,{type:"tristate",init:function(t,e,a,r,s){var o=parseInt(a.get("barWidth"),10),l=parseInt(a.get("barSpacing"),10);k._super.init.call(this,t,e,a,r,s),this.regionShapes={},this.barWidth=o,this.barSpacing=l,this.totalBarWidth=o+l,this.values=i.map(e,Number),this.width=r=e.length*o+(e.length-1)*l,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.initTarget()},getRegion:function(t,n,i){return e.floor(n/this.totalBarWidth)},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:this.values[t]===n,value:this.values[t],color:this.calcColor(this.values[t],t),offset:t}},calcColor:function(t,e){var n,i,a=this.values,r=this.options,s=this.colorMapByIndex,o=this.colorMapByValue;return n=o&&(i=o.get(t))?i:s&&s.length>e?s[e]:a[e]<0?r.get("negBarColor"):a[e]>0?r.get("posBarColor"):r.get("zeroBarColor")},renderRegion:function(t,n){var i,a,r,s,o,l,d=this.values,u=this.options,h=this.target;return i=h.pixelHeight,r=e.round(i/2),s=t*this.totalBarWidth,d[t]<0?(o=r,a=r-1):d[t]>0?(o=0,a=r-1):(o=r-1,a=2),l=this.calcColor(d[t],t),null!==l?(n&&(l=this.calcHighlightColor(l,u)),h.drawRect(s,o,this.barWidth-1,a-1,l,l)):void 0}}),i.fn.sparkline.discrete=L=r(i.fn.sparkline._base,M,{type:"discrete",init:function(t,a,r,s,o){L._super.init.call(this,t,a,r,s,o),this.regionShapes={},this.values=a=i.map(a,Number),this.min=e.min.apply(e,a),this.max=e.max.apply(e,a),this.range=this.max-this.min,this.width=s="auto"===r.get("width")?2*a.length:this.width,this.interval=e.floor(s/a.length),this.itemWidth=s/a.length,r.get("chartRangeMin")!==n&&(r.get("chartRangeClip")||r.get("chartRangeMin")<this.min)&&(this.min=r.get("chartRangeMin")),r.get("chartRangeMax")!==n&&(r.get("chartRangeClip")||r.get("chartRangeMax")>this.max)&&(this.max=r.get("chartRangeMax")),this.initTarget(),this.target&&(this.lineHeight="auto"===r.get("lineHeight")?e.round(.3*this.canvasHeight):r.get("lineHeight"))},getRegion:function(t,n,i){return e.floor(n/this.itemWidth)},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:this.values[t]===n,value:this.values[t],offset:t}},renderRegion:function(t,n){var i,a,r,s,l=this.values,d=this.options,u=this.min,h=this.max,c=this.range,f=this.interval,p=this.target,m=this.canvasHeight,g=this.lineHeight,_=m-g;return a=o(l[t],u,h),s=t*f,i=e.round(_-_*((a-u)/c)),r=d.get("thresholdColor")&&a<d.get("thresholdValue")?d.get("thresholdColor"):d.get("lineColor"),n&&(r=this.calcHighlightColor(r,d)),p.drawLine(s,i,s,i+g,r)}}),i.fn.sparkline.bullet=D=r(i.fn.sparkline._base,{type:"bullet",init:function(t,i,a,r,s){var o,l,d;D._super.init.call(this,t,i,a,r,s),this.values=i=u(i),d=i.slice(),d[0]=null===d[0]?d[2]:d[0],d[1]=null===i[1]?d[2]:d[1],o=e.min.apply(e,i),l=e.max.apply(e,i),o=a.get("base")===n?0>o?o:0:a.get("base"),this.min=o,this.max=l,this.range=l-o,this.shapes={},this.valueShapes={},this.regiondata={},this.width=r="auto"===a.get("width")?"4.0em":r,this.target=this.$el.simpledraw(r,s,a.get("composite")),i.length||(this.disabled=!0),this.initTarget()},getRegion:function(t,e,i){var a=this.target.getShapeAt(t,e,i);return a!==n&&this.shapes[a]!==n?this.shapes[a]:n},getCurrentRegionFields:function(){var t=this.currentRegion;return{fieldkey:t.substr(0,1),value:this.values[t.substr(1)],region:t}},changeHighlight:function(t){var e,n=this.currentRegion,i=this.valueShapes[n];switch(delete this.shapes[i],n.substr(0,1)){case"r":e=this.renderRange(n.substr(1),t);break;case"p":e=this.renderPerformance(t);break;case"t":e=this.renderTarget(t)}this.valueShapes[n]=e.id,this.shapes[e.id]=n,this.target.replaceWithShape(i,e)},renderRange:function(t,n){var i=this.values[t],a=e.round(this.canvasWidth*((i-this.min)/this.range)),r=this.options.get("rangeColors")[t-2];return n&&(r=this.calcHighlightColor(r,this.options)),this.target.drawRect(0,0,a-1,this.canvasHeight-1,r,r)},renderPerformance:function(t){var n=this.values[1],i=e.round(this.canvasWidth*((n-this.min)/this.range)),a=this.options.get("performanceColor");return t&&(a=this.calcHighlightColor(a,this.options)),this.target.drawRect(0,e.round(.3*this.canvasHeight),i-1,e.round(.4*this.canvasHeight)-1,a,a)},renderTarget:function(t){var n=this.values[0],i=e.round(this.canvasWidth*((n-this.min)/this.range)-this.options.get("targetWidth")/2),a=e.round(.1*this.canvasHeight),r=this.canvasHeight-2*a,s=this.options.get("targetColor");return t&&(s=this.calcHighlightColor(s,this.options)),this.target.drawRect(i,a,this.options.get("targetWidth")-1,r-1,s,s)},render:function(){var t,e,n=this.values.length,i=this.target;if(D._super.render.call(this)){for(t=2;n>t;t++)e=this.renderRange(t).append(),this.shapes[e.id]="r"+t,this.valueShapes["r"+t]=e.id;null!==this.values[1]&&(e=this.renderPerformance().append(),this.shapes[e.id]="p1",this.valueShapes.p1=e.id),null!==this.values[0]&&(e=this.renderTarget().append(),this.shapes[e.id]="t0",this.valueShapes.t0=e.id),i.render()}}}),i.fn.sparkline.pie=T=r(i.fn.sparkline._base,{type:"pie",init:function(t,n,a,r,s){var o,l=0;if(T._super.init.call(this,t,n,a,r,s),this.shapes={},this.valueShapes={},this.values=n=i.map(n,Number),"auto"===a.get("width")&&(this.width=this.height),n.length>0)for(o=n.length;o--;)l+=n[o];this.total=l,this.initTarget(),this.radius=e.floor(e.min(this.canvasWidth,this.canvasHeight)/2)},getRegion:function(t,e,i){var a=this.target.getShapeAt(t,e,i);return a!==n&&this.shapes[a]!==n?this.shapes[a]:n},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:this.values[t]===n,value:this.values[t],percent:this.values[t]/this.total*100,color:this.options.get("sliceColors")[t%this.options.get("sliceColors").length],offset:t}},changeHighlight:function(t){var e=this.currentRegion,n=this.renderSlice(e,t),i=this.valueShapes[e];delete this.shapes[i],this.target.replaceWithShape(i,n),this.valueShapes[e]=n.id,this.shapes[n.id]=e},renderSlice:function(t,i){var a,r,s,o,l,d=this.target,u=this.options,h=this.radius,c=u.get("borderWidth"),f=u.get("offset"),p=2*e.PI,m=this.values,g=this.total,_=f?2*e.PI*(f/360):0;for(o=m.length,s=0;o>s;s++){if(a=_,r=_,g>0&&(r=_+p*(m[s]/g)),t===s)return l=u.get("sliceColors")[s%u.get("sliceColors").length],i&&(l=this.calcHighlightColor(l,u)),d.drawPieSlice(h,h,h-c,a,r,n,l);_=r}},render:function(){var t,i,a=this.target,r=this.values,s=this.options,o=this.radius,l=s.get("borderWidth");if(T._super.render.call(this)){for(l&&a.drawCircle(o,o,e.floor(o-l/2),s.get("borderColor"),n,l).append(),i=r.length;i--;)r[i]&&(t=this.renderSlice(i).append(),this.valueShapes[i]=t.id,this.shapes[t.id]=i);a.render()}}}),i.fn.sparkline.box=S=r(i.fn.sparkline._base,{type:"box",init:function(t,e,n,a,r){S._super.init.call(this,t,e,n,a,r),this.values=i.map(e,Number),this.width="auto"===n.get("width")?"4.0em":a,this.initTarget(),this.values.length||(this.disabled=1)},getRegion:function(){return 1},getCurrentRegionFields:function(){var t=[{field:"lq",value:this.quartiles[0]},{field:"med",value:this.quartiles[1]},{field:"uq",value:this.quartiles[2]}];return this.loutlier!==n&&t.push({field:"lo",value:this.loutlier}),this.routlier!==n&&t.push({field:"ro",value:this.routlier}),this.lwhisker!==n&&t.push({field:"lw",value:this.lwhisker}),this.rwhisker!==n&&t.push({field:"rw",value:this.rwhisker}),t},render:function(){var t,i,a,r,s,o,d,u,h,c,f,p=this.target,m=this.values,g=m.length,_=this.options,y=this.canvasWidth,v=this.canvasHeight,b=_.get("chartRangeMin")===n?e.min.apply(e,m):_.get("chartRangeMin"),M=_.get("chartRangeMax")===n?e.max.apply(e,m):_.get("chartRangeMax"),w=0;if(S._super.render.call(this)){if(_.get("raw"))_.get("showOutliers")&&m.length>5?(i=m[0],t=m[1],r=m[2],s=m[3],o=m[4],d=m[5],u=m[6]):(t=m[0],r=m[1],s=m[2],o=m[3],d=m[4]);else if(m.sort(function(t,e){return t-e}),r=l(m,1),s=l(m,2),o=l(m,3),a=o-r,_.get("showOutliers")){for(t=d=n,h=0;g>h;h++)t===n&&m[h]>r-a*_.get("outlierIQR")&&(t=m[h]),m[h]<o+a*_.get("outlierIQR")&&(d=m[h]);i=m[0],u=m[g-1]}else t=m[0],d=m[g-1];this.quartiles=[r,s,o],this.lwhisker=t,this.rwhisker=d,this.loutlier=i,this.routlier=u,f=y/(M-b+1),_.get("showOutliers")&&(w=e.ceil(_.get("spotRadius")),y-=2*e.ceil(_.get("spotRadius")),f=y/(M-b+1),t>i&&p.drawCircle((i-b)*f+w,v/2,_.get("spotRadius"),_.get("outlierLineColor"),_.get("outlierFillColor")).append(),u>d&&p.drawCircle((u-b)*f+w,v/2,_.get("spotRadius"),_.get("outlierLineColor"),_.get("outlierFillColor")).append()),p.drawRect(e.round((r-b)*f+w),e.round(.1*v),e.round((o-r)*f),e.round(.8*v),_.get("boxLineColor"),_.get("boxFillColor")).append(),p.drawLine(e.round((t-b)*f+w),e.round(v/2),e.round((r-b)*f+w),e.round(v/2),_.get("lineColor")).append(),p.drawLine(e.round((t-b)*f+w),e.round(v/4),e.round((t-b)*f+w),e.round(v-v/4),_.get("whiskerColor")).append(),p.drawLine(e.round((d-b)*f+w),e.round(v/2),e.round((o-b)*f+w),e.round(v/2),_.get("lineColor")).append(),p.drawLine(e.round((d-b)*f+w),e.round(v/4),e.round((d-b)*f+w),e.round(v-v/4),_.get("whiskerColor")).append(),p.drawLine(e.round((s-b)*f+w),e.round(.1*v),e.round((s-b)*f+w),e.round(.9*v),_.get("medianColor")).append(),_.get("target")&&(c=e.ceil(_.get("spotRadius")),p.drawLine(e.round((_.get("target")-b)*f+w),e.round(v/2-c),e.round((_.get("target")-b)*f+w),e.round(v/2+c),_.get("targetColor")).append(),p.drawLine(e.round((_.get("target")-b)*f+w-c),e.round(v/2),e.round((_.get("target")-b)*f+w+c),e.round(v/2),_.get("targetColor")).append()),p.render()}}}),A=r({init:function(t,e,n,i){this.target=t,this.id=e,this.type=n,this.args=i},append:function(){return this.target.appendShape(this),this}}),H=r({_pxregex:/(\d+)(px)?\s*$/i,init:function(t,e,n){t&&(this.width=t,this.height=e,this.target=n,this.lastShapeId=null,n[0]&&(n=n[0]),i.data(n,"_jqs_vcanvas",this))},drawLine:function(t,e,n,i,a,r){return this.drawShape([[t,e],[n,i]],a,r)},drawShape:function(t,e,n,i){return this._genShape("Shape",[t,e,n,i])},drawCircle:function(t,e,n,i,a,r){return this._genShape("Circle",[t,e,n,i,a,r])},drawPieSlice:function(t,e,n,i,a,r,s){return this._genShape("PieSlice",[t,e,n,i,a,r,s])},drawRect:function(t,e,n,i,a,r){return this._genShape("Rect",[t,e,n,i,a,r])},getElement:function(){return this.canvas},getLastShapeId:function(){return this.lastShapeId},reset:function(){alert("reset not implemented")},_insert:function(t,e){i(e).html(t)},_calculatePixelDims:function(t,e,n){var a;a=this._pxregex.exec(e),a?this.pixelHeight=a[1]:this.pixelHeight=i(n).height(),a=this._pxregex.exec(t),a?this.pixelWidth=a[1]:this.pixelWidth=i(n).width()},_genShape:function(t,e){var n=F++;return e.unshift(n),new A(this,n,t,e)},appendShape:function(t){alert("appendShape not implemented")},replaceWithShape:function(t,e){alert("replaceWithShape not implemented")},insertAfterShape:function(t,e){alert("insertAfterShape not implemented")},removeShapeId:function(t){alert("removeShapeId not implemented")},getShapeAt:function(t,e,n){alert("getShapeAt not implemented")},render:function(){alert("render not implemented")}}),j=r(H,{init:function(e,a,r,s){j._super.init.call(this,e,a,r),this.canvas=t.createElement("canvas"),r[0]&&(r=r[0]),i.data(r,"_jqs_vcanvas",this),i(this.canvas).css({display:"inline-block",width:e,height:a,verticalAlign:"top"}),this._insert(this.canvas,r),this._calculatePixelDims(e,a,this.canvas),this.canvas.width=this.pixelWidth,this.canvas.height=this.pixelHeight,this.interact=s,this.shapes={},this.shapeseq=[],this.currentTargetShapeId=n,i(this.canvas).css({width:this.pixelWidth,height:this.pixelHeight})},_getContext:function(t,e,i){var a=this.canvas.getContext("2d");return t!==n&&(a.strokeStyle=t),a.lineWidth=i===n?1:i,e!==n&&(a.fillStyle=e),a},reset:function(){var t=this._getContext();t.clearRect(0,0,this.pixelWidth,this.pixelHeight),this.shapes={},this.shapeseq=[],this.currentTargetShapeId=n},_drawShape:function(t,e,i,a,r){var s,o,l=this._getContext(i,a,r);for(l.beginPath(),l.moveTo(e[0][0]+.5,e[0][1]+.5),s=1,o=e.length;o>s;s++)l.lineTo(e[s][0]+.5,e[s][1]+.5);i!==n&&l.stroke(),a!==n&&l.fill(),this.targetX!==n&&this.targetY!==n&&l.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=t)},_drawCircle:function(t,i,a,r,s,o,l){var d=this._getContext(s,o,l);d.beginPath(),d.arc(i,a,r,0,2*e.PI,!1),
|
||
this.targetX!==n&&this.targetY!==n&&d.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=t),s!==n&&d.stroke(),o!==n&&d.fill()},_drawPieSlice:function(t,e,i,a,r,s,o,l){var d=this._getContext(o,l);d.beginPath(),d.moveTo(e,i),d.arc(e,i,a,r,s,!1),d.lineTo(e,i),d.closePath(),o!==n&&d.stroke(),l&&d.fill(),this.targetX!==n&&this.targetY!==n&&d.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=t)},_drawRect:function(t,e,n,i,a,r,s){return this._drawShape(t,[[e,n],[e+i,n],[e+i,n+a],[e,n+a],[e,n]],r,s)},appendShape:function(t){return this.shapes[t.id]=t,this.shapeseq.push(t.id),this.lastShapeId=t.id,t.id},replaceWithShape:function(t,e){var n,i=this.shapeseq;for(this.shapes[e.id]=e,n=i.length;n--;)i[n]==t&&(i[n]=e.id);delete this.shapes[t]},replaceWithShapes:function(t,e){var n,i,a,r=this.shapeseq,s={};for(i=t.length;i--;)s[t[i]]=!0;for(i=r.length;i--;)n=r[i],s[n]&&(r.splice(i,1),delete this.shapes[n],a=i);for(i=e.length;i--;)r.splice(a,0,e[i].id),this.shapes[e[i].id]=e[i]},insertAfterShape:function(t,e){var n,i=this.shapeseq;for(n=i.length;n--;)if(i[n]===t)return i.splice(n+1,0,e.id),void(this.shapes[e.id]=e)},removeShapeId:function(t){var e,n=this.shapeseq;for(e=n.length;e--;)if(n[e]===t){n.splice(e,1);break}delete this.shapes[t]},getShapeAt:function(t,e,n){return this.targetX=e,this.targetY=n,this.render(),this.currentTargetShapeId},render:function(){var t,e,n,i=this.shapeseq,a=this.shapes,r=i.length,s=this._getContext();for(s.clearRect(0,0,this.pixelWidth,this.pixelHeight),n=0;r>n;n++)t=i[n],e=a[t],this["_draw"+e.type].apply(this,e.args);this.interact||(this.shapes={},this.shapeseq=[])}}),P=r(H,{init:function(e,n,a){var r;P._super.init.call(this,e,n,a),a[0]&&(a=a[0]),i.data(a,"_jqs_vcanvas",this),this.canvas=t.createElement("span"),i(this.canvas).css({display:"inline-block",position:"relative",overflow:"hidden",width:e,height:n,margin:"0px",padding:"0px",verticalAlign:"top"}),this._insert(this.canvas,a),this._calculatePixelDims(e,n,this.canvas),this.canvas.width=this.pixelWidth,this.canvas.height=this.pixelHeight,r='<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",r),this.group=i(this.canvas).children()[0],this.rendered=!1,this.prerender=""},_drawShape:function(t,e,i,a,r){var s,o,l,d,u,h,c,f=[];for(c=0,h=e.length;h>c;c++)f[c]=""+e[c][0]+","+e[c][1];return s=f.splice(0,1),r=r===n?1:r,o=i===n?' stroked="false" ':' strokeWeight="'+r+'px" strokeColor="'+i+'" ',l=a===n?' filled="false"':' fillColor="'+a+'" filled="true" ',d=f[0]===f[f.length-1]?"x ":"",u='<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" id="jqsshape'+t+'" '+o+l+' style="position:absolute;left:0px;top:0px;height:'+this.pixelHeight+"px;width:"+this.pixelWidth+'px;padding:0px;margin:0px;" path="m '+s+" l "+f.join(", ")+" "+d+'e"> </v:shape>'},_drawCircle:function(t,e,i,a,r,s,o){var l,d,u;return e-=a,i-=a,l=r===n?' stroked="false" ':' strokeWeight="'+o+'px" strokeColor="'+r+'" ',d=s===n?' filled="false"':' fillColor="'+s+'" filled="true" ',u='<v:oval id="jqsshape'+t+'" '+l+d+' style="position:absolute;top:'+i+"px; left:"+e+"px; width:"+2*a+"px; height:"+2*a+'px"></v:oval>'},_drawPieSlice:function(t,i,a,r,s,o,l,d){var u,h,c,f,p,m,g,_;if(s===o)return"";if(o-s===2*e.PI&&(s=0,o=2*e.PI),h=i+e.round(e.cos(s)*r),c=a+e.round(e.sin(s)*r),f=i+e.round(e.cos(o)*r),p=a+e.round(e.sin(o)*r),h===f&&c===p){if(o-s<e.PI)return"";h=f=i+r,c=p=a}return h===f&&c===p&&o-s<e.PI?"":(u=[i-r,a-r,i+r,a+r,h,c,f,p],m=l===n?' stroked="false" ':' strokeWeight="1px" strokeColor="'+l+'" ',g=d===n?' filled="false"':' fillColor="'+d+'" filled="true" ',_='<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" id="jqsshape'+t+'" '+m+g+' style="position:absolute;left:0px;top:0px;height:'+this.pixelHeight+"px;width:"+this.pixelWidth+'px;padding:0px;margin:0px;" path="m '+i+","+a+" wa "+u.join(", ")+' x e"> </v:shape>')},_drawRect:function(t,e,n,i,a,r,s){return this._drawShape(t,[[e,n],[e,n+a],[e+i,n+a],[e+i,n],[e,n]],r,s)},reset:function(){this.group.innerHTML=""},appendShape:function(t){var e=this["_draw"+t.type].apply(this,t.args);return this.rendered?this.group.insertAdjacentHTML("beforeEnd",e):this.prerender+=e,this.lastShapeId=t.id,t.id},replaceWithShape:function(t,e){var n=i("#jqsshape"+t),a=this["_draw"+e.type].apply(this,e.args);n[0].outerHTML=a},replaceWithShapes:function(t,e){var n,a=i("#jqsshape"+t[0]),r="",s=e.length;for(n=0;s>n;n++)r+=this["_draw"+e[n].type].apply(this,e[n].args);for(a[0].outerHTML=r,n=1;n<t.length;n++)i("#jqsshape"+t[n]).remove()},insertAfterShape:function(t,e){var n=i("#jqsshape"+t),a=this["_draw"+e.type].apply(this,e.args);n[0].insertAdjacentHTML("afterEnd",a)},removeShapeId:function(t){var e=i("#jqsshape"+t);this.group.removeChild(e[0])},getShapeAt:function(t,e,n){var i=t.id.substr(8);return i},render:function(){this.rendered||(this.group.innerHTML=this.prerender,this.rendered=!0)}})})}(document,Math),!function(t,e,n){"use strict";!function i(t,e,n){function a(s,o){if(!e[s]){if(!t[s]){var l="function"==typeof require&&require;if(!o&&l)return l(s,!0);if(r)return r(s,!0);var d=new Error("Cannot find module '"+s+"'");throw d.code="MODULE_NOT_FOUND",d}var u=e[s]={exports:{}};t[s][0].call(u.exports,function(e){var n=t[s][1][e];return a(n?n:e)},u,u.exports,i,t,e,n)}return e[s].exports}for(var r="function"==typeof require&&require,s=0;s<n.length;s++)a(n[s]);return a}({1:[function(i,a,r){var s=function(t){return t&&t.__esModule?t:{"default":t}};Object.defineProperty(r,"__esModule",{value:!0});var o,l,d,u,h=i("./modules/handle-dom"),c=i("./modules/utils"),f=i("./modules/handle-swal-dom"),p=i("./modules/handle-click"),m=i("./modules/handle-key"),g=s(m),_=i("./modules/default-params"),y=s(_),v=i("./modules/set-params"),b=s(v);r["default"]=d=u=function(){function i(t){var e=a;return e[t]===n?y["default"][t]:e[t]}var a=arguments[0];if(h.addClass(e.body,"stop-scrolling"),f.resetInput(),a===n)return c.logStr("SweetAlert expects at least 1 attribute!"),!1;var r=c.extend({},y["default"]);switch(typeof a){case"string":r.title=a,r.text=arguments[1]||"",r.type=arguments[2]||"";break;case"object":if(a.title===n)return c.logStr('Missing "title" argument!'),!1;r.title=a.title;for(var s in y["default"])r[s]=i(s);r.confirmButtonText=r.showCancelButton?"Confirm":y["default"].confirmButtonText,r.confirmButtonText=i("confirmButtonText"),r.doneFunction=arguments[1]||null;break;default:return c.logStr('Unexpected type of argument! Expected "string" or "object", got '+typeof a),!1}b["default"](r),f.fixVerticalPosition(),f.openModal(arguments[1]);for(var d=f.getModal(),m=d.querySelectorAll("button"),_=["onclick","onmouseover","onmouseout","onmousedown","onmouseup","onfocus"],v=function(t){return p.handleButton(t,r,d)},M=0;M<m.length;M++)for(var w=0;w<_.length;w++){var x=_[w];m[M][x]=v}f.getOverlay().onclick=v,o=t.onkeydown;var k=function(t){return g["default"](t,r,d)};t.onkeydown=k,t.onfocus=function(){setTimeout(function(){l!==n&&(l.focus(),l=n)},0)},u.enableButtons()},d.setDefaults=u.setDefaults=function(t){if(!t)throw new Error("userParams is required");if("object"!=typeof t)throw new Error("userParams has to be a object");c.extend(y["default"],t)},d.close=u.close=function(){var i=f.getModal();h.fadeOut(f.getOverlay(),5),h.fadeOut(i,5),h.removeClass(i,"showSweetAlert"),h.addClass(i,"hideSweetAlert"),h.removeClass(i,"visible");var a=i.querySelector(".sa-icon.sa-success");h.removeClass(a,"animate"),h.removeClass(a.querySelector(".sa-tip"),"animateSuccessTip"),h.removeClass(a.querySelector(".sa-long"),"animateSuccessLong");var r=i.querySelector(".sa-icon.sa-error");h.removeClass(r,"animateErrorIcon"),h.removeClass(r.querySelector(".sa-x-mark"),"animateXMark");var s=i.querySelector(".sa-icon.sa-warning");return h.removeClass(s,"pulseWarning"),h.removeClass(s.querySelector(".sa-body"),"pulseWarningIns"),h.removeClass(s.querySelector(".sa-dot"),"pulseWarningIns"),setTimeout(function(){var t=i.getAttribute("data-custom-class");h.removeClass(i,t)},300),h.removeClass(e.body,"stop-scrolling"),t.onkeydown=o,t.previousActiveElement&&t.previousActiveElement.focus(),l=n,clearTimeout(i.timeout),!0},d.showInputError=u.showInputError=function(t){var e=f.getModal(),n=e.querySelector(".sa-input-error");h.addClass(n,"show");var i=e.querySelector(".sa-error-container");h.addClass(i,"show"),i.querySelector("p").innerHTML=t,setTimeout(function(){d.enableButtons()},1),e.querySelector("input").focus()},d.resetInputError=u.resetInputError=function(t){if(t&&13===t.keyCode)return!1;var e=f.getModal(),n=e.querySelector(".sa-input-error");h.removeClass(n,"show");var i=e.querySelector(".sa-error-container");h.removeClass(i,"show")},d.disableButtons=u.disableButtons=function(){var t=f.getModal(),e=t.querySelector("button.confirm"),n=t.querySelector("button.cancel");e.disabled=!0,n.disabled=!0},d.enableButtons=u.enableButtons=function(){var t=f.getModal(),e=t.querySelector("button.confirm"),n=t.querySelector("button.cancel");e.disabled=!1,n.disabled=!1},"undefined"!=typeof t?t.sweetAlert=t.swal=d:c.logStr("SweetAlert is a frontend module!"),a.exports=r["default"]},{"./modules/default-params":2,"./modules/handle-click":3,"./modules/handle-dom":4,"./modules/handle-key":5,"./modules/handle-swal-dom":6,"./modules/set-params":8,"./modules/utils":9}],2:[function(t,e,n){Object.defineProperty(n,"__esModule",{value:!0});var i={title:"",text:"",type:null,allowOutsideClick:!1,showConfirmButton:!0,showCancelButton:!1,closeOnConfirm:!0,closeOnCancel:!0,confirmButtonText:"OK",confirmButtonColor:"#8CD4F5",cancelButtonText:"Cancel",imageUrl:null,imageSize:null,timer:null,customClass:"",html:!1,animation:!0,allowEscapeKey:!0,inputType:"text",inputPlaceholder:"",inputValue:"",showLoaderOnConfirm:!1};n["default"]=i,e.exports=n["default"]},{}],3:[function(e,n,i){Object.defineProperty(i,"__esModule",{value:!0});var a=e("./utils"),r=(e("./handle-swal-dom"),e("./handle-dom")),s=function(e,n,i){function s(t){p&&n.confirmButtonColor&&(f.style.backgroundColor=t)}var d,u,h,c=e||t.event,f=c.target||c.srcElement,p=-1!==f.className.indexOf("confirm"),m=-1!==f.className.indexOf("sweet-overlay"),g=r.hasClass(i,"visible"),_=n.doneFunction&&"true"===i.getAttribute("data-has-done-function");switch(p&&n.confirmButtonColor&&(d=n.confirmButtonColor,u=a.colorLuminance(d,-.04),h=a.colorLuminance(d,-.14)),c.type){case"mouseover":s(u);break;case"mouseout":s(d);break;case"mousedown":s(h);break;case"mouseup":s(u);break;case"focus":var y=i.querySelector("button.confirm"),v=i.querySelector("button.cancel");p?v.style.boxShadow="none":y.style.boxShadow="none";break;case"click":var b=i===f,M=r.isDescendant(i,f);if(!b&&!M&&g&&!n.allowOutsideClick)break;p&&_&&g?o(i,n):_&&g||m?l(i,n):r.isDescendant(i,f)&&"BUTTON"===f.tagName&&sweetAlert.close()}},o=function(t,e){var n=!0;r.hasClass(t,"show-input")&&(n=t.querySelector("input").value,n||(n="")),e.doneFunction(n),e.closeOnConfirm&&sweetAlert.close(),e.showLoaderOnConfirm&&sweetAlert.disableButtons()},l=function(t,e){var n=String(e.doneFunction).replace(/\s/g,""),i="function("===n.substring(0,9)&&")"!==n.substring(9,10);i&&e.doneFunction(!1),e.closeOnCancel&&sweetAlert.close()};i["default"]={handleButton:s,handleConfirm:o,handleCancel:l},n.exports=i["default"]},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],4:[function(n,i,a){Object.defineProperty(a,"__esModule",{value:!0});var r=function(t,e){return new RegExp(" "+e+" ").test(" "+t.className+" ")},s=function(t,e){r(t,e)||(t.className+=" "+e)},o=function(t,e){var n=" "+t.className.replace(/[\t\r\n]/g," ")+" ";if(r(t,e)){for(;n.indexOf(" "+e+" ")>=0;)n=n.replace(" "+e+" "," ");t.className=n.replace(/^\s+|\s+$/g,"")}},l=function(t){var n=e.createElement("div");return n.appendChild(e.createTextNode(t)),n.innerHTML},d=function(t){t.style.opacity="",t.style.display="block"},u=function(t){if(t&&!t.length)return d(t);for(var e=0;e<t.length;++e)d(t[e])},h=function(t){t.style.opacity="",t.style.display="none"},c=function(t){if(t&&!t.length)return h(t);for(var e=0;e<t.length;++e)h(t[e])},f=function(t,e){for(var n=e.parentNode;null!==n;){if(n===t)return!0;n=n.parentNode}return!1},p=function(t){t.style.left="-9999px",t.style.display="block";var e,n=t.clientHeight;return e="undefined"!=typeof getComputedStyle?parseInt(getComputedStyle(t).getPropertyValue("padding-top"),10):parseInt(t.currentStyle.padding),t.style.left="",t.style.display="none","-"+parseInt((n+e)/2)+"px"},m=function(t,e){if(+t.style.opacity<1){e=e||16,t.style.opacity=0,t.style.display="block";var n=+new Date,i=function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){t.style.opacity=+t.style.opacity+(new Date-n)/100,n=+new Date,+t.style.opacity<1&&setTimeout(i,e)});i()}t.style.display="block"},g=function(t,e){e=e||16,t.style.opacity=1;var n=+new Date,i=function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){t.style.opacity=+t.style.opacity-(new Date-n)/100,n=+new Date,+t.style.opacity>0?setTimeout(i,e):t.style.display="none"});i()},_=function(n){if("function"==typeof MouseEvent){var i=new MouseEvent("click",{view:t,bubbles:!1,cancelable:!0});n.dispatchEvent(i)}else if(e.createEvent){var a=e.createEvent("MouseEvents");a.initEvent("click",!1,!1),n.dispatchEvent(a)}else e.createEventObject?n.fireEvent("onclick"):"function"==typeof n.onclick&&n.onclick()},y=function(e){"function"==typeof e.stopPropagation?(e.stopPropagation(),e.preventDefault()):t.event&&t.event.hasOwnProperty("cancelBubble")&&(t.event.cancelBubble=!0)};a.hasClass=r,a.addClass=s,a.removeClass=o,a.escapeHtml=l,a._show=d,a.show=u,a._hide=h,a.hide=c,a.isDescendant=f,a.getTopMargin=p,a.fadeIn=m,a.fadeOut=g,a.fireClick=_,a.stopEventPropagation=y},{}],5:[function(e,i,a){Object.defineProperty(a,"__esModule",{value:!0});var r=e("./handle-dom"),s=e("./handle-swal-dom"),o=function(e,i,a){var o=e||t.event,l=o.keyCode||o.which,d=a.querySelector("button.confirm"),u=a.querySelector("button.cancel"),h=a.querySelectorAll("button[tabindex]");if(-1!==[9,13,32,27].indexOf(l)){for(var c=o.target||o.srcElement,f=-1,p=0;p<h.length;p++)if(c===h[p]){f=p;break}9===l?(c=-1===f?d:f===h.length-1?h[0]:h[f+1],r.stopEventPropagation(o),c.focus(),i.confirmButtonColor&&s.setFocusStyle(c,i.confirmButtonColor)):13===l?("INPUT"===c.tagName&&(c=d,d.focus()),c=-1===f?d:n):27===l&&i.allowEscapeKey===!0?(c=u,r.fireClick(c,o)):c=n}};a["default"]=o,i.exports=a["default"]},{"./handle-dom":4,"./handle-swal-dom":6}],6:[function(n,i,a){var r=function(t){return t&&t.__esModule?t:{"default":t}};Object.defineProperty(a,"__esModule",{value:!0});var s=n("./utils"),o=n("./handle-dom"),l=n("./default-params"),d=r(l),u=n("./injected-html"),h=r(u),c=".sweet-alert",f=".sweet-overlay",p=function(){var t=e.createElement("div");for(t.innerHTML=h["default"];t.firstChild;)e.body.appendChild(t.firstChild)},m=function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){var t=e.querySelector(c);return t||(p(),t=m()),t}),g=function(){var t=m();return t?t.querySelector("input"):void 0},_=function(){return e.querySelector(f)},y=function(t,e){var n=s.hexToRgb(e);t.style.boxShadow="0 0 2px rgba("+n+", 0.8), inset 0 0 0 1px rgba(0, 0, 0, 0.05)"},v=function(n){var i=m();o.fadeIn(_(),10),o.show(i),o.addClass(i,"showSweetAlert"),o.removeClass(i,"hideSweetAlert"),t.previousActiveElement=e.activeElement;var a=i.querySelector("button.confirm");a.focus(),setTimeout(function(){o.addClass(i,"visible")},500);var r=i.getAttribute("data-timer");if("null"!==r&&""!==r){var s=n;i.timeout=setTimeout(function(){var t=(s||null)&&"true"===i.getAttribute("data-has-done-function");t?s(null):sweetAlert.close()},r)}},b=function(){var t=m(),e=g();o.removeClass(t,"show-input"),e.value=d["default"].inputValue,e.setAttribute("type",d["default"].inputType),e.setAttribute("placeholder",d["default"].inputPlaceholder),M()},M=function(t){if(t&&13===t.keyCode)return!1;var e=m(),n=e.querySelector(".sa-input-error");o.removeClass(n,"show");var i=e.querySelector(".sa-error-container");o.removeClass(i,"show")},w=function(){var t=m();t.style.marginTop=o.getTopMargin(m())};a.sweetAlertInitialize=p,a.getModal=m,a.getOverlay=_,a.getInput=g,a.setFocusStyle=y,a.openModal=v,a.resetInput=b,a.resetInputError=M,a.fixVerticalPosition=w},{"./default-params":2,"./handle-dom":4,"./injected-html":7,"./utils":9}],7:[function(t,e,n){Object.defineProperty(n,"__esModule",{value:!0});var i='<div class="sweet-overlay" tabIndex="-1"></div><div class="sweet-alert"><div class="sa-icon sa-error">\n <span class="sa-x-mark">\n <span class="sa-line sa-left"></span>\n <span class="sa-line sa-right"></span>\n </span>\n </div><div class="sa-icon sa-warning">\n <span class="sa-body"></span>\n <span class="sa-dot"></span>\n </div><div class="sa-icon sa-info"></div><div class="sa-icon sa-success">\n <span class="sa-line sa-tip"></span>\n <span class="sa-line sa-long"></span>\n\n <div class="sa-placeholder"></div>\n <div class="sa-fix"></div>\n </div><div class="sa-icon sa-custom"></div><h2>Title</h2>\n <p>Text</p>\n <fieldset>\n <input type="text" tabIndex="3" />\n <div class="sa-input-error"></div>\n </fieldset><div class="sa-error-container">\n <div class="icon">!</div>\n <p>Not valid!</p>\n </div><div class="sa-button-container">\n <button class="cancel" tabIndex="2">Cancel</button>\n <div class="sa-confirm-button-container">\n <button class="confirm" tabIndex="1">OK</button><div class="la-ball-fall">\n <div></div>\n <div></div>\n <div></div>\n </div>\n </div>\n </div></div>';n["default"]=i,e.exports=n["default"]},{}],8:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0});var a=t("./utils"),r=t("./handle-swal-dom"),s=t("./handle-dom"),o=["error","warning","info","success","input","prompt"],l=function(t){var e=r.getModal(),i=e.querySelector("h2"),l=e.querySelector("p"),d=e.querySelector("button.cancel"),u=e.querySelector("button.confirm");if(i.innerHTML=t.html?t.title:s.escapeHtml(t.title).split("\n").join("<br>"),l.innerHTML=t.html?t.text:s.escapeHtml(t.text||"").split("\n").join("<br>"),t.text&&s.show(l),t.customClass)s.addClass(e,t.customClass),e.setAttribute("data-custom-class",t.customClass);else{var h=e.getAttribute("data-custom-class");s.removeClass(e,h),e.setAttribute("data-custom-class","")}if(s.hide(e.querySelectorAll(".sa-icon")),t.type&&!a.isIE8()){var c=function(){for(var i=!1,a=0;a<o.length;a++)if(t.type===o[a]){i=!0;break}if(!i)return logStr("Unknown alert type: "+t.type),{v:!1};var l=["success","error","warning","info"],d=n;-1!==l.indexOf(t.type)&&(d=e.querySelector(".sa-icon.sa-"+t.type),s.show(d));var u=r.getInput();switch(t.type){case"success":s.addClass(d,"animate"),s.addClass(d.querySelector(".sa-tip"),"animateSuccessTip"),s.addClass(d.querySelector(".sa-long"),"animateSuccessLong");break;case"error":s.addClass(d,"animateErrorIcon"),s.addClass(d.querySelector(".sa-x-mark"),"animateXMark");break;case"warning":s.addClass(d,"pulseWarning"),s.addClass(d.querySelector(".sa-body"),"pulseWarningIns"),s.addClass(d.querySelector(".sa-dot"),"pulseWarningIns");break;case"input":case"prompt":u.setAttribute("type",t.inputType),u.value=t.inputValue,u.setAttribute("placeholder",t.inputPlaceholder),s.addClass(e,"show-input"),setTimeout(function(){u.focus(),u.addEventListener("keyup",swal.resetInputError)},400)}}();if("object"==typeof c)return c.v}if(t.imageUrl){var f=e.querySelector(".sa-icon.sa-custom");f.style.backgroundImage="url("+t.imageUrl+")",s.show(f);var p=80,m=80;if(t.imageSize){var g=t.imageSize.toString().split("x"),_=g[0],y=g[1];_&&y?(p=_,m=y):logStr("Parameter imageSize expects value with format WIDTHxHEIGHT, got "+t.imageSize)}f.setAttribute("style",f.getAttribute("style")+"width:"+p+"px; height:"+m+"px")}e.setAttribute("data-has-cancel-button",t.showCancelButton),t.showCancelButton?d.style.display="inline-block":s.hide(d),e.setAttribute("data-has-confirm-button",t.showConfirmButton),t.showConfirmButton?u.style.display="inline-block":s.hide(u),t.cancelButtonText&&(d.innerHTML=s.escapeHtml(t.cancelButtonText)),t.confirmButtonText&&(u.innerHTML=s.escapeHtml(t.confirmButtonText)),t.confirmButtonColor&&(u.style.backgroundColor=t.confirmButtonColor,u.style.borderLeftColor=t.confirmLoadingButtonColor,u.style.borderRightColor=t.confirmLoadingButtonColor,r.setFocusStyle(u,t.confirmButtonColor)),e.setAttribute("data-allow-outside-click",t.allowOutsideClick);var v=!!t.doneFunction;e.setAttribute("data-has-done-function",v),t.animation?"string"==typeof t.animation?e.setAttribute("data-animation",t.animation):e.setAttribute("data-animation","pop"):e.setAttribute("data-animation","none"),e.setAttribute("data-timer",t.timer)};i["default"]=l,e.exports=i["default"]},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],9:[function(e,n,i){Object.defineProperty(i,"__esModule",{value:!0});var a=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},r=function(t){var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?parseInt(e[1],16)+", "+parseInt(e[2],16)+", "+parseInt(e[3],16):null},s=function(){return t.attachEvent&&!t.addEventListener},o=function(e){t.console&&t.console.log("SweetAlert: "+e)},l=function(t,e){t=String(t).replace(/[^0-9a-f]/gi,""),t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),e=e||0;var n,i,a="#";for(i=0;3>i;i++)n=parseInt(t.substr(2*i,2),16),n=Math.round(Math.min(Math.max(0,n+n*e),255)).toString(16),a+=("00"+n).substr(n.length);return a};i.extend=a,i.hexToRgb=r,i.isIE8=s,i.logStr=o,i.colorLuminance=l},{}]},{},[1]),"function"==typeof define&&define.amd?define(function(){return sweetAlert}):"undefined"!=typeof module&&module.exports&&(module.exports=sweetAlert)}(window,document),function(t){t.fn.strengthify=function(e){var n=this,i={zxcvbn:"https://cdnjs.cloudflare.com/ajax/libs/zxcvbn/2.0.2/zxcvbn.min.js"},a=t.extend(i,e);return t(".strengthify-wrapper").append('<div class="strengthify-bg" />').append('<div class="strengthify-container" />').append('<div class="strengthify-separator" style="left: 25%" />').append('<div class="strengthify-separator" style="left: 50%" />').append('<div class="strengthify-separator" style="left: 75%" />'),t.ajax({cache:!0,dataType:"script",url:a.zxcvbn}).done(function(){n.bind("keyup input",function(){var e=t(this).val(),n=""===e?0:1,i=zxcvbn(e),a="",r=t(".strengthify-container"),s=t(".strengthify-wrapper");switch(s.children().css("opacity",n).css("-ms-filter",'"progid:DXImageTransform.Microsoft.Alpha(Opacity='+100*n+')"'),i.score){case 0:case 1:a="password-bad";break;case 2:a="password-medium";break;case 3:case 4:a="password-good"}r.attr("class",a+" strengthify-container").css("width",25*(0===i.score?1:i.score)+"%"),""===e&&r.css("width",0)})}),n}}(jQuery),$(function(){function t(t,e){$(".block-"+t).removeClass("show").addClass("hidden"),$(".block-"+e).removeClass("hidden").addClass("show"),$(".steps .step").removeClass("active").filter(":lt("+e+")").addClass("active")}$.ajaxPrefilter(function(t,e,n){var i;return t.crossDomain||(i=$('meta[name="token"]').attr("content"),i&&n.setRequestHeader("X-CSRF-Token",i)),n}),$.ajaxSetup({beforeSend:function(t){t.setRequestHeader("Accept","application/json")},statusCode:{401:function(){window.location.href="/"},403:function(){window.location.href="/"}}}),$("form").submit(function(){var t=$(this);t.find(":submit").prop("disabled",!0)}),autosize($("textarea.autosize")),$("[data-method]").not(".disabled").append(function(){var t="\n";return t+="<form action='"+$(this).attr("href")+"' method='POST' style='display:none'>\n",t+="<input type='hidden' name='_method' value='"+$(this).attr("data-method")+"'>\n",t+="<input type='hidden' name='_token' value='"+$("meta[name=token]").attr("content")+"'>\n",t+="</form>\n"}).removeAttr("href").on("click",function(){var t=$(this);t.hasClass("confirm-action")?askConfirmation(function(){t.find("form").submit()}):t.find("form").submit()}),Messenger.options={extraClasses:"messenger-fixed messenger-on-top",theme:"air"},window.Cachet={},moment.locale(Global.locale),$("abbr.timeago").each(function(){var t=$(this);t.livestamp(t.data("timeago")).tooltip()}),window.Cachet.Notifier=function(){this.notify=function(t,e,n){_.isPlainObject(t)&&(t=t.detail),e="undefined"==typeof e||"error"===e?"error":e;var i={message:t,type:e,showCloseButton:!0};n=_.extend(i,n),Messenger().post(n)}},$(".sidebar-toggler").click(function(t){t.preventDefault(),$(".wrapper").toggleClass("toggled")}),$(".color-code").minicolors({control:"hue",defaultValue:$(this).val()||"",inline:!1,letterCase:"lowercase",opacity:!1,position:"bottom left",theme:"bootstrap"}),$('[data-toggle="tooltip"]').tooltip(),$("button.close").on("click",function(){$(this).parents("div.alert").addClass("hide")}),$("form[name=IncidentForm] select[name=component_id]").on("change",function(){var t=$(this).find("option:selected"),e=$("#component-status");""!==t.val()&&(e.hasClass("hidden")?e.removeClass("hidden"):e.addClass("hidden"))}),$("input[rel=datepicker]").datetimepicker({format:"DD/MM/YYYY HH:mm",minDate:new Date,sideBySide:!0,icons:{time:"ion-clock",date:"ion-android-calendar",up:"ion-ios-arrow-up",down:"ion-ios-arrow-down",previous:"ion-ios-arrow-left",next:"ion-ios-arrow-right",today:"ion-android-home",clear:"ion-trash-a"}}),$("input[rel=datepicker-any]").datetimepicker({format:"DD/MM/YYYY HH:mm",sideBySide:!0,icons:{time:"ion-clock",date:"ion-android-calendar",up:"ion-ios-arrow-up",down:"ion-ios-arrow-down",previous:"ion-ios-arrow-left",next:"ion-ios-arrow-right",today:"ion-android-home",clear:"ion-trash-a"}});var e=document.getElementById("component-list");e&&new Sortable(e,{group:"omega",handle:".drag-handle",onUpdate:function(){var t=$.map($("#component-list .striped-list-item"),function(t){return $(t).data("component-id")});$.ajax({async:!0,url:"/dashboard/api/components/order",type:"POST",data:{ids:t},success:function(){(new Cachet.Notifier).notify("Component orders updated.","success")},error:function(){(new Cachet.Notifier).notify("Component orders not updated.","error")}})}});var n=document.getElementById("component-group-list");if(n&&new Sortable(n,{group:"omega",handle:".drag-handle",onUpdate:function(){var t=$.map($("#component-group-list .striped-list-item"),function(t){return $(t).data("group-id")});$.ajax({async:!0,url:"/dashboard/api/components/groups/order",type:"POST",data:{ids:t},success:function(){(new Cachet.Notifier).notify("Component groups order has been updated.","success")},error:function(){(new Cachet.Notifier).notify("Component groups order could not be updated.","error")}})}}),$("form.component-inline").on("click","input[type=radio]",function(){var t=$(this).parents("form"),e=t.serializeObject();$.ajax({async:!0,url:"/dashboard/api/components/"+e.component_id,type:"POST",data:e,success:function(e){(new Cachet.Notifier).notify(t.data("messenger"),"success")},error:function(t,e,n){(new Cachet.Notifier).notify("Something went wrong updating the component.")}})}),$("select[name=template]").on("change",function(){var t=$(this).find("option:selected"),e=t.val();e&&$.ajax({async:!0,data:{slug:e},url:"/dashboard/api/incidents/templates",success:function(t){var e=$("form[role=form]");e.find("input[name=name]").val(t.name),e.find("textarea[name=message]").val(t.template)},error:function(){(new Cachet.Notifier).notify("There was an error finding that template.")}})}),$("#remove-banner").click(function(){$("#banner-view").remove(),$("input[name=remove_banner]").val("1")}),$(".group-name").on("click",function(){var t=$(this);t.find(".group-toggle").toggleClass("ion-ios-minus-outline").toggleClass("ion-ios-plus-outline"),t.next(".group-items").toggleClass("hide")}),$(".wizard-next").on("click",function(){var e=$("#setup-form"),n=$(this),i=n.data("currentBlock"),a=n.data("nextBlock");if(n.button("loading"),a>i){var r="/setup/step"+i;return $.post(r,e.serializeObject()).done(function(e){t(i,a)}).fail(function(t){var e=_.toArray(t.responseJSON.errors);_.each(e,function(t){(new Cachet.Notifier).notify(t)})}).always(function(){n.button("reset")}),!1}t(i,a),n.button("reset")}),$.fn.sparkline){var i=function(){$(".sparkline").each(function(){var t=$(this).data();t.valueSpots={"0:":t.spotColor},$(this).sparkline(t.data,t);var e=t.compositedata;if(e){var n=$(this).attr("data-stack-line-color"),i=$(this).attr("data-stack-fill-color"),a=$(this).attr("data-stack-spot-color"),r=$(this).attr("data-stack-spot-radius");$(this).sparkline(e,{composite:!0,lineColor:n,fillColor:i,spotColor:a,highlightSpotColor:a,spotRadius:r,valueSpots:{"0:":a}})}})};i(!1)}$(".password-strength").strengthify(),$("#update-alert").length>0&&$.ajax({async:!0,dataType:"json",url:"/dashboard/api/system/version"}).done(function(t){0==t.is_latest&&$("#update-alert").removeClass("hidden")}),$("#subscribe-modal").on("show.bs.modal",function(t){var e=$(t.relatedTarget),n=$(this);n.find("#subscribe-modal-id").val(e.data("component-id"))}).on("hidden.bs.modal",function(t){var e=$(this);e.find("#subscribe-modal-id").val("")}),$(".modal").on("shown.bs.modal",function(){$(this).find("input[type=text]").focus()})}); |