Files
cachet-docker/public/build/dist/js/all-03429d3c26.js
James Brooks 4cb57c5f1e Rebuild assets
2016-03-16 09:05:41 +00:00

18 lines
556 KiB
JavaScript
Executable File
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
function askConfirmation(t){swal({type:"warning",title:"Confirm your action",text:"Are you sure you want to do this?",confirmButtonText:"Yes",confirmButtonColor:"#FF6F6F",showCancelButton:!0},function(){t()})}if(function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=!!t&&"length"in t&&t.length,n=at.type(t);return"function"===n||at.isWindow(t)?!1:"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t}function i(t,e,n){if(at.isFunction(e))return at.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return at.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(mt.test(e))return at.filter(e,t,n);e=at.filter(e,t)}return at.grep(t,function(t){return K.call(e,t)>-1!==n})}function r(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function a(t){var e={};return at.each(t.match(wt)||[],function(t,n){e[n]=!0}),e}function s(){X.removeEventListener("DOMContentLoaded",s),t.removeEventListener("load",s),at.ready()}function o(){this.expando=at.expando+o.uid++}function l(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Dt,"-$&").toLowerCase(),n=t.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:xt.test(n)?at.parseJSON(n):n}catch(r){}Tt.set(t,e,n)}else n=void 0;return n}function u(t,e,n,i){var r,a=1,s=20,o=i?function(){return i.cur()}:function(){return at.css(t,e,"")},l=o(),u=n&&n[3]||(at.cssNumber[e]?"":"px"),d=(at.cssNumber[e]||"px"!==u&&+l)&&Ct.exec(at.css(t,e));if(d&&d[3]!==u){u=u||d[3],n=n||[],d=+l||1;do a=a||".5",d/=a,at.style(t,e,d+u);while(a!==(a=o()/l)&&1!==a&&--s)}return n&&(d=+d||+l||0,r=n[1]?d+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=d,i.end=r)),r}function d(t,e){var n="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&at.nodeName(t,e)?at.merge([t],n):n}function c(t,e){for(var n=0,i=t.length;i>n;n++)Yt.set(t[n],"globalEval",!e||Yt.get(e[n],"globalEval"))}function h(t,e,n,i,r){for(var a,s,o,l,u,h,p=e.createDocumentFragment(),f=[],m=0,_=t.length;_>m;m++)if(a=t[m],a||0===a)if("object"===at.type(a))at.merge(f,a.nodeType?[a]:a);else if(Ft.test(a)){for(s=s||p.appendChild(e.createElement("div")),o=(Pt.exec(a)||["",""])[1].toLowerCase(),l=Wt[o]||Wt._default,s.innerHTML=l[1]+at.htmlPrefilter(a)+l[2],h=l[0];h--;)s=s.lastChild;at.merge(f,s.childNodes),s=p.firstChild,s.textContent=""}else f.push(e.createTextNode(a));for(p.textContent="",m=0;a=f[m++];)if(i&&at.inArray(a,i)>-1)r&&r.push(a);else if(u=at.contains(a.ownerDocument,a),s=d(p.appendChild(a),"script"),u&&c(s),n)for(h=0;a=s[h++];)Et.test(a.type||"")&&n.push(a);return p}function p(){return!0}function f(){return!1}function m(){try{return X.activeElement}catch(t){}}function _(t,e,n,i,r,a){var s,o;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=void 0);for(o in e)_(t,o,n,i,e[o],a);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),r===!1)r=f;else if(!r)return t;return 1===a&&(s=r,r=function(t){return at().off(t),s.apply(this,arguments)},r.guid=s.guid||(s.guid=at.guid++)),t.each(function(){at.event.add(this,e,r,i,n)})}function g(t,e){return at.nodeName(t,"table")&&at.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function y(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function v(t){var e=Bt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function M(t,e){var n,i,r,a,s,o,l,u;if(1===e.nodeType){if(Yt.hasData(t)&&(a=Yt.access(t),s=Yt.set(e,a),u=a.events)){delete s.handle,s.events={};for(r in u)for(n=0,i=u[r].length;i>n;n++)at.event.add(e,r,u[r][n])}Tt.hasData(t)&&(o=Tt.access(t),l=at.extend({},o),Tt.set(e,l))}}function w(t,e){var n=e.nodeName.toLowerCase();"input"===n&&At.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function L(t,e,n,i){e=Q.apply([],e);var r,a,s,o,l,u,c=0,p=t.length,f=p-1,m=e[0],_=at.isFunction(m);if(_||p>1&&"string"==typeof m&&!it.checkClone&&zt.test(m))return t.each(function(r){var a=t.eq(r);_&&(e[0]=m.call(this,r,a.html())),L(a,e,n,i)});if(p&&(r=h(e,t[0].ownerDocument,!1,t,i),a=r.firstChild,1===r.childNodes.length&&(r=a),a||i)){for(s=at.map(d(r,"script"),y),o=s.length;p>c;c++)l=r,c!==f&&(l=at.clone(l,!0,!0),o&&at.merge(s,d(l,"script"))),n.call(t[c],l,c);if(o)for(u=s[s.length-1].ownerDocument,at.map(s,v),c=0;o>c;c++)l=s[c],Et.test(l.type||"")&&!Yt.access(l,"globalEval")&&at.contains(u,l)&&(l.src?at._evalUrl&&at._evalUrl(l.src):at.globalEval(l.textContent.replace(qt,"")))}return t}function b(t,e,n){for(var i,r=e?at.filter(e,t):t,a=0;null!=(i=r[a]);a++)n||1!==i.nodeType||at.cleanData(d(i)),i.parentNode&&(n&&at.contains(i.ownerDocument,i)&&c(d(i,"script")),i.parentNode.removeChild(i));return t}function k(t,e){var n=at(e.createElement(t)).appendTo(e.body),i=at.css(n[0],"display");return n.detach(),i}function Y(t){var e=X,n=Ut[t];return n||(n=k(t,e),"none"!==n&&n||(Vt=(Vt||at("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=Vt[0].contentDocument,e.write(),e.close(),n=k(t,e),Vt.detach()),Ut[t]=n),n}function T(t,e,n){var i,r,a,s,o=t.style;return n=n||Gt(t),s=n?n.getPropertyValue(e)||n[e]:void 0,""!==s&&void 0!==s||at.contains(t.ownerDocument,t)||(s=at.style(t,e)),n&&!it.pixelMarginRight()&&Xt.test(s)&&Jt.test(e)&&(i=o.width,r=o.minWidth,a=o.maxWidth,o.minWidth=o.maxWidth=o.width=s,s=n.width,o.width=i,o.minWidth=r,o.maxWidth=a),void 0!==s?s+"":s}function x(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function D(t){if(t in ie)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=ne.length;n--;)if(t=ne[n]+e,t in ie)return t}function S(t,e,n){var i=Ct.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function C(t,e,n,i,r){for(var a=n===(i?"border":"content")?4:"width"===e?1:0,s=0;4>a;a+=2)"margin"===n&&(s+=at.css(t,n+Ht[a],!0,r)),i?("content"===n&&(s-=at.css(t,"padding"+Ht[a],!0,r)),"margin"!==n&&(s-=at.css(t,"border"+Ht[a]+"Width",!0,r))):(s+=at.css(t,"padding"+Ht[a],!0,r),"padding"!==n&&(s+=at.css(t,"border"+Ht[a]+"Width",!0,r)));return s}function H(e,n,i){var r=!0,a="width"===n?e.offsetWidth:e.offsetHeight,s=Gt(e),o="border-box"===at.css(e,"boxSizing",!1,s);if(X.msFullscreenElement&&t.top!==t&&e.getClientRects().length&&(a=Math.round(100*e.getBoundingClientRect()[n])),0>=a||null==a){if(a=T(e,n,s),(0>a||null==a)&&(a=e.style[n]),Xt.test(a))return a;r=o&&(it.boxSizingReliable()||a===e.style[n]),a=parseFloat(a)||0}return a+C(e,n,i||(o?"border":"content"),r,s)+"px"}function j(t,e){for(var n,i,r,a=[],s=0,o=t.length;o>s;s++)i=t[s],i.style&&(a[s]=Yt.get(i,"olddisplay"),n=i.style.display,e?(a[s]||"none"!==n||(i.style.display=""),""===i.style.display&&jt(i)&&(a[s]=Yt.access(i,"olddisplay",Y(i.nodeName)))):(r=jt(i),"none"===n&&r||Yt.set(i,"olddisplay",r?n:at.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?a[s]||"":"none"));return t}function A(t,e,n,i,r){return new A.prototype.init(t,e,n,i,r)}function P(){return t.setTimeout(function(){re=void 0}),re=at.now()}function E(t,e){var n,i=0,r={height:t};for(e=e?1:0;4>i;i+=2-e)n=Ht[i],r["margin"+n]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function W(t,e,n){for(var i,r=(R.tweeners[e]||[]).concat(R.tweeners["*"]),a=0,s=r.length;s>a;a++)if(i=r[a].call(n,e,t))return i}function F(t,e,n){var i,r,a,s,o,l,u,d,c=this,h={},p=t.style,f=t.nodeType&&jt(t),m=Yt.get(t,"fxshow");n.queue||(o=at._queueHooks(t,"fx"),null==o.unqueued&&(o.unqueued=0,l=o.empty.fire,o.empty.fire=function(){o.unqueued||l()}),o.unqueued++,c.always(function(){c.always(function(){o.unqueued--,at.queue(t,"fx").length||o.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],u=at.css(t,"display"),d="none"===u?Yt.get(t,"olddisplay")||Y(t.nodeName):u,"inline"===d&&"none"===at.css(t,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",c.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(i in e)if(r=e[i],se.exec(r)){if(delete e[i],a=a||"toggle"===r,r===(f?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;f=!0}h[i]=m&&m[i]||at.style(t,i)}else u=void 0;if(at.isEmptyObject(h))"inline"===("none"===u?Y(t.nodeName):u)&&(p.display=u);else{m?"hidden"in m&&(f=m.hidden):m=Yt.access(t,"fxshow",{}),a&&(m.hidden=!f),f?at(t).show():c.done(function(){at(t).hide()}),c.done(function(){var e;Yt.remove(t,"fxshow");for(e in h)at.style(t,e,h[e])});for(i in h)s=W(f?m[i]:0,i,c),i in m||(m[i]=s.start,f&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}}function O(t,e){var n,i,r,a,s;for(n in t)if(i=at.camelCase(n),r=e[i],a=t[n],at.isArray(a)&&(r=a[1],a=t[n]=a[0]),n!==i&&(t[i]=a,delete t[n]),s=at.cssHooks[i],s&&"expand"in s){a=s.expand(a),delete t[i];for(n in a)n in t||(t[n]=a[n],e[n]=r)}else e[i]=r}function R(t,e,n){var i,r,a=0,s=R.prefilters.length,o=at.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=re||P(),n=Math.max(0,u.startTime+u.duration-e),i=n/u.duration||0,a=1-i,s=0,l=u.tweens.length;l>s;s++)u.tweens[s].run(a);return o.notifyWith(t,[u,a,n]),1>a&&l?n:(o.resolveWith(t,[u]),!1)},u=o.promise({elem:t,props:at.extend({},e),opts:at.extend(!0,{specialEasing:{},easing:at.easing._default},n),originalProperties:e,originalOptions:n,startTime:re||P(),duration:n.duration,tweens:[],createTween:function(e,n){var i=at.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)u.tweens[n].run(1);return e?(o.notifyWith(t,[u,1,0]),o.resolveWith(t,[u,e])):o.rejectWith(t,[u,e]),this}}),d=u.props;for(O(d,u.opts.specialEasing);s>a;a++)if(i=R.prefilters[a].call(u,t,d,u.opts))return at.isFunction(i.stop)&&(at._queueHooks(u.elem,u.opts.queue).stop=at.proxy(i.stop,i)),i;return at.map(d,W,u),at.isFunction(u.opts.start)&&u.opts.start.call(t,u),at.fx.timer(at.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function I(t){return t.getAttribute&&t.getAttribute("class")||""}function N(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,a=e.toLowerCase().match(wt)||[];if(at.isFunction(n))for(;i=a[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function $(t,e,n,i){function r(o){var l;return a[o]=!0,at.each(t[o]||[],function(t,o){var u=o(e,n,i);return"string"!=typeof u||s||a[u]?s?!(l=u):void 0:(e.dataTypes.unshift(u),r(u),!1)}),l}var a={},s=t===Ye;return r(e.dataTypes[0])||!a["*"]&&r("*")}function z(t,e){var n,i,r=at.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&at.extend(!0,t,i),t}function B(t,e,n){for(var i,r,a,s,o=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in o)if(o[r]&&o[r].test(i)){l.unshift(r);break}if(l[0]in n)a=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){a=r;break}s||(s=r)}a=a||s}return a?(a!==l[0]&&l.unshift(a),n[a]):void 0}function q(t,e,n,i){var r,a,s,o,l,u={},d=t.dataTypes.slice();if(d[1])for(s in t.converters)u[s.toLowerCase()]=t.converters[s];for(a=d.shift();a;)if(t.responseFields[a]&&(n[t.responseFields[a]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=a,a=d.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(s=u[l+" "+a]||u["* "+a],!s)for(r in u)if(o=r.split(" "),o[1]===a&&(s=u[l+" "+o[0]]||u["* "+o[0]])){s===!0?s=u[r]:u[r]!==!0&&(a=o[0],d.unshift(o[1]));break}if(s!==!0)if(s&&t["throws"])e=s(e);else try{e=s(e)}catch(c){return{state:"parsererror",error:s?c:"No conversion from "+l+" to "+a}}}return{state:"success",data:e}}function V(t,e,n,i){var r;if(at.isArray(e))at.each(e,function(e,r){n||Se.test(t)?i(t,r):V(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,n,i)});else if(n||"object"!==at.type(e))i(t,e);else for(r in e)V(t+"["+r+"]",e[r],n,i)}function U(t){return at.isWindow(t)?t:9===t.nodeType&&t.defaultView}var J=[],X=t.document,G=J.slice,Q=J.concat,Z=J.push,K=J.indexOf,tt={},et=tt.toString,nt=tt.hasOwnProperty,it={},rt="2.2.1",at=function(t,e){return new at.fn.init(t,e)},st=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ot=/^-ms-/,lt=/-([\da-z])/gi,ut=function(t,e){return e.toUpperCase()};at.fn=at.prototype={jquery:rt,constructor:at,selector:"",length:0,toArray:function(){return G.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:G.call(this)},pushStack:function(t){var e=at.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t){return at.each(this,t)},map:function(t){return this.pushStack(at.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(G.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:Z,sort:J.sort,splice:J.splice},at.extend=at.fn.extend=function(){var t,e,n,i,r,a,s=arguments[0]||{},o=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[o]||{},o++),"object"==typeof s||at.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&&(u&&i&&(at.isPlainObject(i)||(r=at.isArray(i)))?(r?(r=!1,a=n&&at.isArray(n)?n:[]):a=n&&at.isPlainObject(n)?n:{},s[e]=at.extend(u,a,i)):void 0!==i&&(s[e]=i));return s},at.extend({expando:"jQuery"+(rt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===at.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=t&&t.toString();return!at.isArray(t)&&e-parseFloat(e)+1>=0},isPlainObject:function(t){return"object"!==at.type(t)||t.nodeType||at.isWindow(t)?!1:!t.constructor||nt.call(t.constructor.prototype,"isPrototypeOf")},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?tt[et.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;t=at.trim(t),t&&(1===t.indexOf("use strict")?(e=X.createElement("script"),e.text=t,X.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){return t.replace(ot,"ms-").replace(lt,ut)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var i,r=0;if(n(t))for(i=t.length;i>r&&e.call(t[r],r,t[r])!==!1;r++);else for(r in t)if(e.call(t[r],r,t[r])===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(st,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?at.merge(i,"string"==typeof t?[t]:t):Z.call(i,t)),i},inArray:function(t,e,n){return null==e?-1:K.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;n>i;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i,r=[],a=0,s=t.length,o=!n;s>a;a++)i=!e(t[a],a),i!==o&&r.push(t[a]);return r},map:function(t,e,i){var r,a,s=0,o=[];if(n(t))for(r=t.length;r>s;s++)a=e(t[s],s,i),null!=a&&o.push(a);else for(s in t)a=e(t[s],s,i),null!=a&&o.push(a);return Q.apply([],o)},guid:1,proxy:function(t,e){var n,i,r;return"string"==typeof e&&(n=t[e],e=t,t=n),at.isFunction(t)?(i=G.call(arguments,2),r=function(){return t.apply(e||this,i.concat(G.call(arguments)))},r.guid=t.guid=t.guid||at.guid++,r):void 0},now:Date.now,support:it}),"function"==typeof Symbol&&(at.fn[Symbol.iterator]=J[Symbol.iterator]),at.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){tt["[object "+e+"]"]=e.toLowerCase()});var dt=function(t){function e(t,e,n,i){var r,a,s,o,l,u,c,p,f=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:I)!==j&&H(e),e=e||j,P)){if(11!==m&&(u=gt.exec(t)))if(r=u[1]){if(9===m){if(!(s=e.getElementById(r)))return n;if(s.id===r)return n.push(s),n}else if(f&&(s=f.getElementById(r))&&O(e,s)&&s.id===r)return n.push(s),n}else{if(u[2])return Z.apply(n,e.getElementsByTagName(t)),n;if((r=u[3])&&w.getElementsByClassName&&e.getElementsByClassName)return Z.apply(n,e.getElementsByClassName(r)),n}if(w.qsa&&!q[t+" "]&&(!E||!E.test(t))){if(1!==m)f=e,p=t;else if("object"!==e.nodeName.toLowerCase()){for((o=e.getAttribute("id"))?o=o.replace(vt,"\\$&"):e.setAttribute("id",o=R),c=Y(t),a=c.length,l=ht.test(o)?"#"+o:"[id='"+o+"']";a--;)c[a]=l+" "+h(c[a]);p=c.join(","),f=yt.test(t)&&d(e.parentNode)||e}if(p)try{return Z.apply(n,f.querySelectorAll(p)),n}catch(_){}finally{o===R&&e.removeAttribute("id")}}}return x(t.replace(ot,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>L.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[R]=!0,t}function r(t){var e=j.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function a(t,e){for(var n=t.split("|"),i=n.length;i--;)L.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 u(t){return i(function(e){return e=+e,i(function(n,i){for(var r,a=t([],n.length,e),s=a.length;s--;)n[r=a[s]]&&(n[r]=!(i[r]=n[r]))})})}function d(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function c(){}function h(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[e].value;return i}function p(t,e,n){var i=e.dir,r=n&&"parentNode"===i,a=$++;return e.first?function(e,n,a){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,a)}:function(e,n,s){var o,l,u,d=[N,a];if(s){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,s))return!0}else for(;e=e[i];)if(1===e.nodeType||r){if(u=e[R]||(e[R]={}),l=u[e.uniqueID]||(u[e.uniqueID]={}),(o=l[i])&&o[0]===N&&o[1]===a)return d[2]=o[2];if(l[i]=d,d[2]=t(e,n,s))return!0}}}function f(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function m(t,n,i){for(var r=0,a=n.length;a>r;r++)e(t,n[r],i);return i}function _(t,e,n,i,r){for(var a,s=[],o=0,l=t.length,u=null!=e;l>o;o++)(a=t[o])&&(n&&!n(a,i,r)||(s.push(a),u&&e.push(o)));return s}function g(t,e,n,r,a,s){return r&&!r[R]&&(r=g(r)),a&&!a[R]&&(a=g(a,s)),i(function(i,s,o,l){var u,d,c,h=[],p=[],f=s.length,g=i||m(e||"*",o.nodeType?[o]:o,[]),y=!t||!i&&e?g:_(g,h,t,o,l),v=n?a||(i?t:f||r)?[]:s:y;if(n&&n(y,v,o,l),r)for(u=_(v,p),r(u,[],o,l),d=u.length;d--;)(c=u[d])&&(v[p[d]]=!(y[p[d]]=c));if(i){if(a||t){if(a){for(u=[],d=v.length;d--;)(c=v[d])&&u.push(y[d]=c);a(null,v=[],u,l)}for(d=v.length;d--;)(c=v[d])&&(u=a?tt(i,c):h[d])>-1&&(i[u]=!(s[u]=c))}}else v=_(v===s?v.splice(f,v.length):v),a?a(null,s,v,l):Z.apply(s,v)})}function y(t){for(var e,n,i,r=t.length,a=L.relative[t[0].type],s=a||L.relative[" "],o=a?1:0,l=p(function(t){return t===e},s,!0),u=p(function(t){return tt(e,t)>-1},s,!0),d=[function(t,n,i){var r=!a&&(i||n!==D)||((e=n).nodeType?l(t,n,i):u(t,n,i));return e=null,r}];r>o;o++)if(n=L.relative[t[o].type])d=[p(f(d),n)];else{if(n=L.filter[t[o].type].apply(null,t[o].matches),n[R]){for(i=++o;r>i&&!L.relative[t[i].type];i++);return g(o>1&&f(d),o>1&&h(t.slice(0,o-1).concat({value:" "===t[o-2].type?"*":""})).replace(ot,"$1"),n,i>o&&y(t.slice(o,i)),r>i&&y(t=t.slice(i)),r>i&&h(t))}d.push(n)}return f(d)}function v(t,n){var r=n.length>0,a=t.length>0,s=function(i,s,o,l,u){var d,c,h,p=0,f="0",m=i&&[],g=[],y=D,v=i||a&&L.find.TAG("*",u),M=N+=null==y?1:Math.random()||.1,w=v.length;for(u&&(D=s===j||s||u);f!==w&&null!=(d=v[f]);f++){if(a&&d){for(c=0,s||d.ownerDocument===j||(H(d),o=!P);h=t[c++];)if(h(d,s||j,o)){l.push(d);break}u&&(N=M)}r&&((d=!h&&d)&&p--,i&&m.push(d))}if(p+=f,r&&f!==p){for(c=0;h=n[c++];)h(m,g,s,o);if(i){if(p>0)for(;f--;)m[f]||g[f]||(g[f]=G.call(l));g=_(g)}Z.apply(l,g),u&&!i&&g.length>0&&p+n.length>1&&e.uniqueSort(l)}return u&&(N=M,D=y),m};return r?i(s):s}var M,w,L,b,k,Y,T,x,D,S,C,H,j,A,P,E,W,F,O,R="sizzle"+1*new Date,I=t.document,N=0,$=0,z=n(),B=n(),q=n(),V=function(t,e){return t===e&&(C=!0),0},U=1<<31,J={}.hasOwnProperty,X=[],G=X.pop,Q=X.push,Z=X.push,K=X.slice,tt=function(t,e){for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return n;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",it="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",rt="\\["+nt+"*("+it+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+it+"))|)"+nt+"*\\]",at=":("+it+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+rt+")*)|.*)\\)|)",st=new RegExp(nt+"+","g"),ot=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),lt=new RegExp("^"+nt+"*,"+nt+"*"),ut=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),dt=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),ct=new RegExp(at),ht=new RegExp("^"+it+"$"),pt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+rt),PSEUDO:new RegExp("^"+at),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},ft=/^(?:input|select|textarea|button)$/i,mt=/^h\d$/i,_t=/^[^{]+\{\s*\[native \w/,gt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,vt=/'|\\/g,Mt=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),wt=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)},Lt=function(){H()};try{Z.apply(X=K.call(I.childNodes),I.childNodes),X[I.childNodes.length].nodeType}catch(bt){Z={apply:X.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}}}w=e.support={},k=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},H=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:I;return i!==j&&9===i.nodeType&&i.documentElement?(j=i,A=j.documentElement,P=!k(j),(n=j.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Lt,!1):n.attachEvent&&n.attachEvent("onunload",Lt)),w.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),w.getElementsByTagName=r(function(t){return t.appendChild(j.createComment("")),!t.getElementsByTagName("*").length}),w.getElementsByClassName=_t.test(j.getElementsByClassName),w.getById=r(function(t){return A.appendChild(t).id=R,!j.getElementsByName||!j.getElementsByName(R).length}),w.getById?(L.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&P){var n=e.getElementById(t);return n?[n]:[]}},L.filter.ID=function(t){var e=t.replace(Mt,wt);return function(t){return t.getAttribute("id")===e}}):(delete L.find.ID,L.filter.ID=function(t){var e=t.replace(Mt,wt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),L.find.TAG=w.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):w.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,a=e.getElementsByTagName(t);if("*"===t){for(;n=a[r++];)1===n.nodeType&&i.push(n);return i}return a},L.find.CLASS=w.getElementsByClassName&&function(t,e){return"undefined"!=typeof e.getElementsByClassName&&P?e.getElementsByClassName(t):void 0},W=[],E=[],(w.qsa=_t.test(j.querySelectorAll))&&(r(function(t){A.appendChild(t).innerHTML="<a id='"+R+"'></a><select id='"+R+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&E.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||E.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+R+"-]").length||E.push("~="),t.querySelectorAll(":checked").length||E.push(":checked"),t.querySelectorAll("a#"+R+"+*").length||E.push(".#.+[+~]")}),r(function(t){var e=j.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&E.push("name"+nt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||E.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),E.push(",.*:")})),(w.matchesSelector=_t.test(F=A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.oMatchesSelector||A.msMatchesSelector))&&r(function(t){w.disconnectedMatch=F.call(t,"div"),F.call(t,"[s!='']:x"),W.push("!=",at)}),E=E.length&&new RegExp(E.join("|")),W=W.length&&new RegExp(W.join("|")),e=_t.test(A.compareDocumentPosition),O=e||_t.test(A.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},V=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||!w.sortDetached&&e.compareDocumentPosition(t)===n?t===j||t.ownerDocument===I&&O(I,t)?-1:e===j||e.ownerDocument===I&&O(I,e)?1:S?tt(S,t)-tt(S,e):0:4&n?-1:1)}:function(t,e){if(t===e)return C=!0,0;var n,i=0,r=t.parentNode,a=e.parentNode,o=[t],l=[e];if(!r||!a)return t===j?-1:e===j?1:r?-1:a?1:S?tt(S,t)-tt(S,e):0;if(r===a)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]===I?-1:l[i]===I?1:0},j):j},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==j&&H(t),n=n.replace(dt,"='$1']"),w.matchesSelector&&P&&!q[n+" "]&&(!W||!W.test(n))&&(!E||!E.test(n)))try{var i=F.call(t,n);if(i||w.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(r){}return e(n,j,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==j&&H(t),O(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==j&&H(t);var n=L.attrHandle[e.toLowerCase()],i=n&&J.call(L.attrHandle,e.toLowerCase())?n(t,e,!P):void 0;return void 0!==i?i:w.attributes||!P?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,r=0;if(C=!w.detectDuplicates,S=!w.sortStable&&t.slice(0),t.sort(V),C){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return S=null,t},b=e.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=b(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=b(e);return n},L=e.selectors={cacheLength:50,createPseudo:i,match:pt,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(Mt,wt),t[3]=(t[3]||t[4]||t[5]||"").replace(Mt,wt),"~="===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 pt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ct.test(n)&&(e=Y(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(Mt,wt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=z[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&z(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var a=e.attr(r,t);return null==a?"!="===n:n?(a+="","="===n?a===i:"!="===n?a!==i:"^="===n?i&&0===a.indexOf(i):"*="===n?i&&a.indexOf(i)>-1:"$="===n?i&&a.slice(-i.length)===i:"~="===n?(" "+a.replace(st," ")+" ").indexOf(i)>-1:"|="===n?a===i||a.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(t,e,n,i,r){var a="nth"!==t.slice(0,3),s="last"!==t.slice(-4),o="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var u,d,c,h,p,f,m=a!==s?"nextSibling":"previousSibling",_=e.parentNode,g=o&&e.nodeName.toLowerCase(),y=!l&&!o,v=!1;if(_){if(a){for(;m;){for(h=e;h=h[m];)if(o?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[s?_.firstChild:_.lastChild],s&&y){for(h=_,c=h[R]||(h[R]={}),d=c[h.uniqueID]||(c[h.uniqueID]={}),u=d[t]||[],p=u[0]===N&&u[1],v=p&&u[2],h=p&&_.childNodes[p];h=++p&&h&&h[m]||(v=p=0)||f.pop();)if(1===h.nodeType&&++v&&h===e){d[t]=[N,p,v];break}}else if(y&&(h=e,c=h[R]||(h[R]={}),d=c[h.uniqueID]||(c[h.uniqueID]={}),u=d[t]||[],p=u[0]===N&&u[1],v=p),v===!1)for(;(h=++p&&h&&h[m]||(v=p=0)||f.pop())&&((o?h.nodeName.toLowerCase()!==g:1!==h.nodeType)||!++v||(y&&(c=h[R]||(h[R]={}),d=c[h.uniqueID]||(c[h.uniqueID]={}),d[t]=[N,v]),h!==e)););return v-=r,v===i||v%i===0&&v/i>=0}}},PSEUDO:function(t,n){var r,a=L.pseudos[t]||L.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return a[R]?a(n):a.length>1?(r=[t,t,"",n],L.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,r=a(t,n),s=r.length;s--;)i=tt(t,r[s]),t[i]=!(e[i]=r[s])}):function(t){return a(t,0,r)}):a}},pseudos:{not:i(function(t){var e=[],n=[],r=T(t.replace(ot,"$1"));return r[R]?i(function(t,e,n,i){for(var a,s=r(t,null,i,[]),o=t.length;o--;)(a=s[o])&&(t[o]=!(e[o]=a))}):function(t,i,a){return e[0]=t,r(e,null,a,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(Mt,wt),function(e){return(e.textContent||e.innerText||b(e)).indexOf(t)>-1}}),lang:i(function(t){return ht.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(Mt,wt).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===A},focus:function(t){return t===j.activeElement&&(!j.hasFocus||j.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!L.pseudos.empty(t)},header:function(t){return mt.test(t.nodeName)},input:function(t){return ft.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:u(function(){return[0]}),last:u(function(t,e){return[e-1]}),eq:u(function(t,e,n){return[0>n?n+e:n]}),even:u(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:u(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:u(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:u(function(t,e,n){for(var i=0>n?n+e:n;++i<e;)t.push(i);return t})}},L.pseudos.nth=L.pseudos.eq;for(M in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})L.pseudos[M]=o(M);for(M in{submit:!0,reset:!0})L.pseudos[M]=l(M);return c.prototype=L.filters=L.pseudos,L.setFilters=new c,Y=e.tokenize=function(t,n){var i,r,a,s,o,l,u,d=B[t+" "];if(d)return n?0:d.slice(0);for(o=t,l=[],u=L.preFilter;o;){i&&!(r=lt.exec(o))||(r&&(o=o.slice(r[0].length)||o),l.push(a=[])),i=!1,(r=ut.exec(o))&&(i=r.shift(),a.push({value:i,type:r[0].replace(ot," ")}),o=o.slice(i.length));for(s in L.filter)!(r=pt[s].exec(o))||u[s]&&!(r=u[s](r))||(i=r.shift(),a.push({value:i,type:s,matches:r}),o=o.slice(i.length));if(!i)break}return n?o.length:o?e.error(t):B(t,l).slice(0)},T=e.compile=function(t,e){var n,i=[],r=[],a=q[t+" "];if(!a){for(e||(e=Y(t)),n=e.length;n--;)a=y(e[n]),a[R]?i.push(a):r.push(a);a=q(t,v(r,i)),a.selector=t}return a},x=e.select=function(t,e,n,i){var r,a,s,o,l,u="function"==typeof t&&t,c=!i&&Y(t=u.selector||t);if(n=n||[],1===c.length){if(a=c[0]=c[0].slice(0),a.length>2&&"ID"===(s=a[0]).type&&w.getById&&9===e.nodeType&&P&&L.relative[a[1].type]){if(e=(L.find.ID(s.matches[0].replace(Mt,wt),e)||[])[0],!e)return n;u&&(e=e.parentNode),t=t.slice(a.shift().value.length)}for(r=pt.needsContext.test(t)?0:a.length;r--&&(s=a[r],!L.relative[o=s.type]);)if((l=L.find[o])&&(i=l(s.matches[0].replace(Mt,wt),yt.test(a[0].type)&&d(e.parentNode)||e))){if(a.splice(r,1),t=i.length&&h(a),!t)return Z.apply(n,i),n;break}}return(u||T(t,c))(i,e,!P,n,!e||yt.test(t)&&d(e.parentNode)||e),n},w.sortStable=R.split("").sort(V).join("")===R,w.detectDuplicates=!!C,H(),w.sortDetached=r(function(t){return 1&t.compareDocumentPosition(j.createElement("div"))}),r(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||a("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),w.attributes&&r(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||a("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||a(et,function(t,e,n){var i;return n?void 0:t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);at.find=dt,at.expr=dt.selectors,at.expr[":"]=at.expr.pseudos,at.uniqueSort=at.unique=dt.uniqueSort,at.text=dt.getText,at.isXMLDoc=dt.isXML,at.contains=dt.contains;var ct=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&at(t).is(n))break;i.push(t)}return i},ht=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},pt=at.expr.match.needsContext,ft=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,mt=/^.[^:#\[\.,]*$/;at.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?at.find.matchesSelector(i,t)?[i]:[]:at.find.matches(t,at.grep(e,function(t){return 1===t.nodeType}))},at.fn.extend({find:function(t){var e,n=this.length,i=[],r=this;if("string"!=typeof t)return this.pushStack(at(t).filter(function(){for(e=0;n>e;e++)if(at.contains(r[e],this))return!0}));for(e=0;n>e;e++)at.find(t,r[e],i);return i=this.pushStack(n>1?at.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&pt.test(t)?at(t):t||[],!1).length}});var _t,gt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,yt=at.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||_t,"string"==typeof t){if(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:gt.exec(t),!i||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof at?e[0]:e,at.merge(this,at.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:X,!0)),ft.test(i[1])&&at.isPlainObject(e))for(i in e)at.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return r=X.getElementById(i[2]),r&&r.parentNode&&(this.length=1,this[0]=r),this.context=X,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):at.isFunction(t)?void 0!==n.ready?n.ready(t):t(at):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),at.makeArray(t,this))};yt.prototype=at.fn,_t=at(X);var vt=/^(?:parents|prev(?:Until|All))/,Mt={children:!0,contents:!0,next:!0,prev:!0};at.fn.extend({has:function(t){var e=at(t,this),n=e.length;return this.filter(function(){for(var t=0;n>t;t++)if(at.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,i=0,r=this.length,a=[],s=pt.test(t)||"string"!=typeof t?at(t,e||this.context):0;r>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&at.find.matchesSelector(n,t))){a.push(n);break}return this.pushStack(a.length>1?at.uniqueSort(a):a)},index:function(t){return t?"string"==typeof t?K.call(at(t),this[0]):K.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(at.uniqueSort(at.merge(this.get(),at(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),at.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return ct(t,"parentNode")},parentsUntil:function(t,e,n){return ct(t,"parentNode",n)},next:function(t){return r(t,"nextSibling")},prev:function(t){return r(t,"previousSibling")},nextAll:function(t){return ct(t,"nextSibling")},prevAll:function(t){return ct(t,"previousSibling")},nextUntil:function(t,e,n){return ct(t,"nextSibling",n)},prevUntil:function(t,e,n){return ct(t,"previousSibling",n)},siblings:function(t){return ht((t.parentNode||{}).firstChild,t)},children:function(t){return ht(t.firstChild)},contents:function(t){return t.contentDocument||at.merge([],t.childNodes)}},function(t,e){at.fn[t]=function(n,i){var r=at.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=at.filter(i,r)),this.length>1&&(Mt[t]||at.uniqueSort(r),vt.test(t)&&r.reverse()),this.pushStack(r)}});var wt=/\S+/g;at.Callbacks=function(t){t="string"==typeof t?a(t):at.extend({},t);var e,n,i,r,s=[],o=[],l=-1,u=function(){for(r=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,r&&(s=n?[]:"")},d={add:function(){return s&&(n&&!e&&(l=s.length-1,o.push(n)),function i(e){at.each(e,function(e,n){at.isFunction(n)?t.unique&&d.has(n)||s.push(n):n&&n.length&&"string"!==at.type(n)&&i(n)})}(arguments),n&&!e&&u()),this},remove:function(){return at.each(arguments,function(t,e){for(var n;(n=at.inArray(e,s,n))>-1;)s.splice(n,1),l>=n&&l--}),this},has:function(t){return t?at.inArray(t,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return r=o=[],s=n="",this},disabled:function(){return!s},lock:function(){return r=o=[],n||(s=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=n||[],n=[t,n.slice?n.slice():n],o.push(n),e||u()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},at.extend({Deferred:function(t){var e=[["resolve","done",at.Callbacks("once memory"),"resolved"],["reject","fail",at.Callbacks("once memory"),"rejected"],["notify","progress",at.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return at.Deferred(function(n){at.each(e,function(e,a){var s=at.isFunction(t[e])&&t[e];r[a[1]](function(){var t=s&&s.apply(this,arguments);t&&at.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[a[0]+"With"](this===i?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?at.extend(t,i):i}},r={};return i.pipe=i.then,at.each(e,function(t,a){var s=a[2],o=a[3];i[a[1]]=s.add,o&&s.add(function(){n=o},e[1^t][2].disable,e[2][2].lock),r[a[0]]=function(){return r[a[0]+"With"](this===r?i:this,arguments),this},r[a[0]+"With"]=s.fireWith}),i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,i,r=0,a=G.call(arguments),s=a.length,o=1!==s||t&&at.isFunction(t.promise)?s:0,l=1===o?t:at.Deferred(),u=function(t,n,i){return function(r){n[t]=this,i[t]=arguments.length>1?G.call(arguments):r,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>r;r++)a[r]&&at.isFunction(a[r].promise)?a[r].promise().progress(u(r,n,e)).done(u(r,i,a)).fail(l.reject):--o;return o||l.resolveWith(i,a),l.promise()}});var Lt;at.fn.ready=function(t){return at.ready.promise().done(t),this},at.extend({isReady:!1,readyWait:1,holdReady:function(t){t?at.readyWait++:at.ready(!0)},ready:function(t){(t===!0?--at.readyWait:at.isReady)||(at.isReady=!0,t!==!0&&--at.readyWait>0||(Lt.resolveWith(X,[at]),at.fn.triggerHandler&&(at(X).triggerHandler("ready"),at(X).off("ready"))))}}),at.ready.promise=function(e){return Lt||(Lt=at.Deferred(),"complete"===X.readyState||"loading"!==X.readyState&&!X.documentElement.doScroll?t.setTimeout(at.ready):(X.addEventListener("DOMContentLoaded",s),t.addEventListener("load",s))),Lt.promise(e)},at.ready.promise();var bt=function(t,e,n,i,r,a,s){var o=0,l=t.length,u=null==n;if("object"===at.type(n)){r=!0;for(o in n)bt(t,e,o,n[o],!0,a,s)}else if(void 0!==i&&(r=!0,at.isFunction(i)||(s=!0),u&&(s?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(at(t),n)})),e))for(;l>o;o++)e(t[o],n,s?i:i.call(t[o],o,e(t[o],n)));return r?t:u?e.call(t):l?e(t[0],n):a},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,r=this.cache(t);if("string"==typeof e)r[e]=n;else for(i in e)r[i]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][e]},access:function(t,e,n){var i;return void 0===e||e&&"string"==typeof e&&void 0===n?(i=this.get(t,e),void 0!==i?i:this.get(t,at.camelCase(e))):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i,r,a=t[this.expando];if(void 0!==a){if(void 0===e)this.register(t);else{at.isArray(e)?i=e.concat(e.map(at.camelCase)):(r=at.camelCase(e),e in a?i=[e,r]:(i=r,i=i in a?[i]:i.match(wt)||[])),n=i.length;for(;n--;)delete a[i[n]]}(void 0===e||at.isEmptyObject(a))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!at.isEmptyObject(e)}};var Yt=new o,Tt=new o,xt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Dt=/[A-Z]/g;at.extend({hasData:function(t){return Tt.hasData(t)||Yt.hasData(t)},data:function(t,e,n){return Tt.access(t,e,n)},removeData:function(t,e){Tt.remove(t,e)},_data:function(t,e,n){return Yt.access(t,e,n)},_removeData:function(t,e){Yt.remove(t,e)}}),at.fn.extend({data:function(t,e){var n,i,r,a=this[0],s=a&&a.attributes;if(void 0===t){if(this.length&&(r=Tt.get(a),1===a.nodeType&&!Yt.get(a,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(i=s[n].name,0===i.indexOf("data-")&&(i=at.camelCase(i.slice(5)),l(a,i,r[i])));Yt.set(a,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){Tt.set(this,t)}):bt(this,function(e){var n,i;if(a&&void 0===e){if(n=Tt.get(a,t)||Tt.get(a,t.replace(Dt,"-$&").toLowerCase()),void 0!==n)return n;if(i=at.camelCase(t),n=Tt.get(a,i),void 0!==n)return n;if(n=l(a,i,void 0),void 0!==n)return n}else i=at.camelCase(t),this.each(function(){var n=Tt.get(this,i);Tt.set(this,i,e),t.indexOf("-")>-1&&void 0!==n&&Tt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Tt.remove(this,t)})}}),at.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=Yt.get(t,e),n&&(!i||at.isArray(n)?i=Yt.access(t,e,at.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=at.queue(t,e),i=n.length,r=n.shift(),a=at._queueHooks(t,e),s=function(){at.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete a.stop,r.call(t,s,a)),!i&&a&&a.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Yt.get(t,n)||Yt.access(t,n,{empty:at.Callbacks("once memory").add(function(){Yt.remove(t,[e+"queue",n])})})}}),at.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?at.queue(this[0],t):void 0===e?this:this.each(function(){var n=at.queue(this,t,e);at._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&at.dequeue(this,t)})},dequeue:function(t){return this.each(function(){at.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=at.Deferred(),a=this,s=this.length,o=function(){--i||r.resolveWith(a,[a])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)n=Yt.get(a[s],t+"queueHooks"),n&&n.empty&&(i++,n.empty.add(o));return o(),r.promise(e)}});var St=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ct=new RegExp("^(?:([+-])=|)("+St+")([a-z%]*)$","i"),Ht=["Top","Right","Bottom","Left"],jt=function(t,e){return t=e||t,"none"===at.css(t,"display")||!at.contains(t.ownerDocument,t)},At=/^(?:checkbox|radio)$/i,Pt=/<([\w:-]+)/,Et=/^$|\/(?:java|ecma)script/i,Wt={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,"",""]};Wt.optgroup=Wt.option,Wt.tbody=Wt.tfoot=Wt.colgroup=Wt.caption=Wt.thead,Wt.th=Wt.td;var Ft=/<|&#?\w+;/;!function(){var t=X.createDocumentFragment(),e=t.appendChild(X.createElement("div")),n=X.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/,Rt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,It=/^([^.]*)(?:\.(.+)|)/;at.event={global:{},add:function(t,e,n,i,r){var a,s,o,l,u,d,c,h,p,f,m,_=Yt.get(t);if(_)for(n.handler&&(a=n,n=a.handler,r=a.selector),n.guid||(n.guid=at.guid++),(l=_.events)||(l=_.events={}),(s=_.handle)||(s=_.handle=function(e){return"undefined"!=typeof at&&at.event.triggered!==e.type?at.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(wt)||[""],u=e.length;u--;)o=It.exec(e[u])||[],p=m=o[1],f=(o[2]||"").split(".").sort(),p&&(c=at.event.special[p]||{},p=(r?c.delegateType:c.bindType)||p,c=at.event.special[p]||{},d=at.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&at.expr.match.needsContext.test(r),namespace:f.join(".")},a),(h=l[p])||(h=l[p]=[],h.delegateCount=0,c.setup&&c.setup.call(t,i,f,s)!==!1||t.addEventListener&&t.addEventListener(p,s)),c.add&&(c.add.call(t,d),d.handler.guid||(d.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,d):h.push(d),at.event.global[p]=!0)},remove:function(t,e,n,i,r){var a,s,o,l,u,d,c,h,p,f,m,_=Yt.hasData(t)&&Yt.get(t);if(_&&(l=_.events)){for(e=(e||"").match(wt)||[""],u=e.length;u--;)if(o=It.exec(e[u])||[],p=m=o[1],f=(o[2]||"").split(".").sort(),p){for(c=at.event.special[p]||{},p=(i?c.delegateType:c.bindType)||p,h=l[p]||[],o=o[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=a=h.length;a--;)d=h[a],!r&&m!==d.origType||n&&n.guid!==d.guid||o&&!o.test(d.namespace)||i&&i!==d.selector&&("**"!==i||!d.selector)||(h.splice(a,1),d.selector&&h.delegateCount--,c.remove&&c.remove.call(t,d));s&&!h.length&&(c.teardown&&c.teardown.call(t,f,_.handle)!==!1||at.removeEvent(t,p,_.handle),delete l[p])}else for(p in l)at.event.remove(t,p+e[u],n,i,!0);at.isEmptyObject(l)&&Yt.remove(t,"handle events")}},dispatch:function(t){t=at.event.fix(t);var e,n,i,r,a,s=[],o=G.call(arguments),l=(Yt.get(this,"events")||{})[t.type]||[],u=at.event.special[t.type]||{};if(o[0]=t,t.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,t)!==!1){for(s=at.event.handlers.call(this,t,l),e=0;(r=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,n=0;(a=r.handlers[n++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(a.namespace)||(t.handleObj=a,t.data=a.data,i=((at.event.special[a.origType]||{}).handle||a.handler).apply(r.elem,o),void 0!==i&&(t.result=i)===!1&&(t.preventDefault(),t.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,a,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++)a=e[n],r=a.selector+" ",void 0===i[r]&&(i[r]=a.needsContext?at(r,this).index(l)>-1:at.find(r,this,null,[l]).length),i[r]&&i.push(a);i.length&&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,r,a=e.button;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||X,i=n.documentElement,r=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),t.which||void 0===a||(t.which=1&a?1:2&a?3:4&a?2:0),t}},fix:function(t){if(t[at.expando])return t;var e,n,i,r=t.type,a=t,s=this.fixHooks[r];for(s||(this.fixHooks[r]=s=Rt.test(r)?this.mouseHooks:Ot.test(r)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,t=new at.Event(a),e=i.length;e--;)n=i[e],t[n]=a[n];return t.target||(t.target=X),3===t.target.nodeType&&(t.target=t.target.parentNode),s.filter?s.filter(t,a):t},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==m()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===m()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&at.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(t){return at.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},at.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},at.Event=function(t,e){return this instanceof at.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?p:f):this.type=t,e&&at.extend(this,e),this.timeStamp=t&&t.timeStamp||at.now(),void(this[at.expando]=!0)):new at.Event(t,e)},at.Event.prototype={constructor:at.Event,isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=p,t&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=p,t&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=p,t&&t.stopImmediatePropagation(),this.stopPropagation()}},at.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){at.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,a=t.handleObj;return r&&(r===i||at.contains(i,r))||(t.type=a.origType,n=a.handler.apply(this,arguments),t.type=e),n}}}),at.fn.extend({on:function(t,e,n,i){return _(this,t,e,n,i)},one:function(t,e,n,i){return _(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,at(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return e!==!1&&"function"!=typeof e||(n=e,e=void 0),n===!1&&(n=f),this.each(function(){at.event.remove(this,t,n,e)})}});var Nt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,$t=/<script|<style|<link/i,zt=/checked\s*(?:[^=]|=\s*.checked.)/i,Bt=/^true\/(.*)/,qt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;at.extend({htmlPrefilter:function(t){return t.replace(Nt,"<$1></$2>")},clone:function(t,e,n){var i,r,a,s,o=t.cloneNode(!0),l=at.contains(t.ownerDocument,t);if(!(it.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||at.isXMLDoc(t)))for(s=d(o),a=d(t),i=0,r=a.length;r>i;i++)w(a[i],s[i]);if(e)if(n)for(a=a||d(t),s=s||d(o),i=0,r=a.length;r>i;i++)M(a[i],s[i]);else M(t,o);return s=d(o,"script"),s.length>0&&c(s,!l&&d(t,"script")),o},cleanData:function(t){for(var e,n,i,r=at.event.special,a=0;void 0!==(n=t[a]);a++)if(kt(n)){if(e=n[Yt.expando]){if(e.events)for(i in e.events)r[i]?at.event.remove(n,i):at.removeEvent(n,i,e.handle);n[Yt.expando]=void 0}n[Tt.expando]&&(n[Tt.expando]=void 0)}}}),at.fn.extend({domManip:L,detach:function(t){return b(this,t,!0)},remove:function(t){return b(this,t)},text:function(t){return bt(this,function(t){return void 0===t?at.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return L(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=g(this,t);e.appendChild(t)}})},prepend:function(){return L(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=g(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return L(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return L(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(at.cleanData(d(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return at.clone(this,t,e)})},html:function(t){return bt(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&&!$t.test(t)&&!Wt[(Pt.exec(t)||["",""])[1].toLowerCase()]){t=at.htmlPrefilter(t);try{for(;i>n;n++)e=this[n]||{},1===e.nodeType&&(at.cleanData(d(e,!1)),e.innerHTML=t);e=0}catch(r){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return L(this,arguments,function(e){var n=this.parentNode;at.inArray(this,t)<0&&(at.cleanData(d(this)),n&&n.replaceChild(e,this))},t)}}),at.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){at.fn[t]=function(t){for(var n,i=[],r=at(t),a=r.length-1,s=0;a>=s;s++)n=s===a?this:this.clone(!0),at(r[s])[e](n),Z.apply(i,n.get());return this.pushStack(i)}});var Vt,Ut={HTML:"block",BODY:"block"},Jt=/^margin/,Xt=new RegExp("^("+St+")(?!px)[a-z%]+$","i"),Gt=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},Qt=function(t,e,n,i){var r,a,s={};for(a in e)s[a]=t.style[a],t.style[a]=e[a];r=n.apply(t,i||[]);for(a in e)t.style[a]=s[a];return r},Zt=X.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,a="2px"===e.marginLeft,i="4px"===e.width,o.style.marginRight="50%",r="4px"===e.marginRight,Zt.removeChild(s)}var n,i,r,a,s=X.createElement("div"),o=X.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),at.extend(it,{pixelPosition:function(){return e(),n},boxSizingReliable:function(){return null==i&&e(),i},pixelMarginRight:function(){return null==i&&e(),r},reliableMarginLeft:function(){return null==i&&e(),a},reliableMarginRight:function(){var e,n=o.appendChild(X.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=X.createElement("div").style;at.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=T(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,a,s,o=at.camelCase(e),l=t.style;return e=at.cssProps[o]||(at.cssProps[o]=D(o)||o),s=at.cssHooks[e]||at.cssHooks[o],void 0===n?s&&"get"in s&&void 0!==(r=s.get(t,!1,i))?r:l[e]:(a=typeof n,"string"===a&&(r=Ct.exec(n))&&r[1]&&(n=u(t,e,r),a="number"),null!=n&&n===n&&("number"===a&&(n+=r&&r[3]||(at.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 r,a,s,o=at.camelCase(e);return e=at.cssProps[o]||(at.cssProps[o]=D(o)||o),s=at.cssHooks[e]||at.cssHooks[o],s&&"get"in s&&(r=s.get(t,!0,n)),void 0===r&&(r=T(t,e,i)),"normal"===r&&e in ee&&(r=ee[e]),""===n||n?(a=parseFloat(r),n===!0||isFinite(a)?a||0:r):r}}),at.each(["height","width"],function(t,e){at.cssHooks[e]={get:function(t,n,i){return n?Kt.test(at.css(t,"display"))&&0===t.offsetWidth?Qt(t,te,function(){return H(t,e,i)}):H(t,e,i):void 0},set:function(t,n,i){var r,a=i&&Gt(t),s=i&&C(t,e,i,"border-box"===at.css(t,"boxSizing",!1,a),a);return s&&(r=Ct.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=at.css(t,e)),S(t,n,s)}}}),at.cssHooks.marginLeft=x(it.reliableMarginLeft,function(t,e){return e?(parseFloat(T(t,"marginLeft"))||t.getBoundingClientRect().left-Qt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px":void 0}),at.cssHooks.marginRight=x(it.reliableMarginRight,function(t,e){return e?Qt(t,{display:"inline-block"},T,[t,"marginRight"]):void 0}),at.each({margin:"",padding:"",border:"Width"},function(t,e){at.cssHooks[t+e]={expand:function(n){for(var i=0,r={},a="string"==typeof n?n.split(" "):[n];4>i;i++)r[t+Ht[i]+e]=a[i]||a[i-2]||a[0];return r}},Jt.test(t)||(at.cssHooks[t+e].set=S)}),at.fn.extend({css:function(t,e){return bt(this,function(t,e,n){var i,r,a={},s=0;if(at.isArray(e)){for(i=Gt(t),r=e.length;r>s;s++)a[e[s]]=at.css(t,e[s],!1,i);return a}return void 0!==n?at.style(t,e,n):at.css(t,e)},t,e,arguments.length>1)},show:function(){return j(this,!0)},hide:function(){return j(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){jt(this)?at(this).show():at(this).hide()})}}),at.Tween=A,A.prototype={constructor:A,init:function(t,e,n,i,r,a){this.elem=t,this.prop=n,this.easing=r||at.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=a||(at.cssNumber[n]?"":"px")},cur:function(){var t=A.propHooks[this.prop];return t&&t.get?t.get(this):A.propHooks._default.get(this)},run:function(t){var e,n=A.propHooks[this.prop];return this.options.duration?this.pos=e=at.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):A.propHooks._default.set(this),this}},A.prototype.init.prototype=A.prototype,A.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=at.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){at.fx.step[t.prop]?at.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[at.cssProps[t.prop]]&&!at.cssHooks[t.prop]?t.elem[t.prop]=t.now:at.style(t.elem,t.prop,t.now+t.unit)}}},A.propHooks.scrollTop=A.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},at.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},at.fx=A.prototype.init,at.fx.step={};var re,ae,se=/^(?:toggle|show|hide)$/,oe=/queueHooks$/;at.Animation=at.extend(R,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return u(n.elem,t,Ct.exec(e),n),n}]},tweener:function(t,e){at.isFunction(t)?(e=t,t=["*"]):t=t.match(wt);for(var n,i=0,r=t.length;r>i;i++)n=t[i],R.tweeners[n]=R.tweeners[n]||[],R.tweeners[n].unshift(e)},prefilters:[F],prefilter:function(t,e){e?R.prefilters.unshift(t):R.prefilters.push(t)}}),at.speed=function(t,e,n){var i=t&&"object"==typeof t?at.extend({},t):{complete:n||!n&&e||at.isFunction(t)&&t,duration:t,easing:n&&e||e&&!at.isFunction(e)&&e};return i.duration=at.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in at.fx.speeds?at.fx.speeds[i.duration]:at.fx.speeds._default,null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){at.isFunction(i.old)&&i.old.call(this),i.queue&&at.dequeue(this,i.queue)},i},at.fn.extend({fadeTo:function(t,e,n,i){return this.filter(jt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=at.isEmptyObject(t),a=at.speed(e,n,i),s=function(){var e=R(this,at.extend({},t),a);(r||Yt.get(this,"finish"))&&e.stop(!0)};return s.finish=s,r||a.queue===!1?this.each(s):this.queue(a.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,r=null!=t&&t+"queueHooks",a=at.timers,s=Yt.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&oe.test(r)&&i(s[r]);for(r=a.length;r--;)a[r].elem!==this||null!=t&&a[r].queue!==t||(a[r].anim.stop(n),e=!1,a.splice(r,1));!e&&n||at.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=Yt.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],a=at.timers,s=i?i.length:0;for(n.finish=!0,at.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=a.length;e--;)a[e].elem===this&&a[e].queue===t&&(a[e].anim.stop(!0),a.splice(e,1));for(e=0;s>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),at.each(["toggle","show","hide"],function(t,e){var n=at.fn[e];at.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(E(e,!0),t,i,r)}}),at.each({slideDown:E("show"),slideUp:E("hide"),slideToggle:E("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){at.fn[t]=function(t,n,i){return this.animate(e,t,n,i);
}}),at.timers=[],at.fx.tick=function(){var t,e=0,n=at.timers;for(re=at.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||at.fx.stop(),re=void 0},at.fx.timer=function(t){at.timers.push(t),t()?at.fx.start():at.timers.pop()},at.fx.interval=13,at.fx.start=function(){ae||(ae=t.setInterval(at.fx.tick,at.fx.interval))},at.fx.stop=function(){t.clearInterval(ae),ae=null},at.fx.speeds={slow:600,fast:200,_default:400},at.fn.delay=function(e,n){return e=at.fx?at.fx.speeds[e]||e:e,n=n||"fx",this.queue(n,function(n,i){var r=t.setTimeout(n,e);i.stop=function(){t.clearTimeout(r)}})},function(){var t=X.createElement("input"),e=X.createElement("select"),n=e.appendChild(X.createElement("option"));t.type="checkbox",it.checkOn=""!==t.value,it.optSelected=n.selected,e.disabled=!0,it.optDisabled=!n.disabled,t=X.createElement("input"),t.value="t",t.type="radio",it.radioValue="t"===t.value}();var le,ue=at.expr.attrHandle;at.fn.extend({attr:function(t,e){return bt(this,at.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){at.removeAttr(this,t)})}}),at.extend({attr:function(t,e,n){var i,r,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return"undefined"==typeof t.getAttribute?at.prop(t,e,n):(1===a&&at.isXMLDoc(t)||(e=e.toLowerCase(),r=at.attrHooks[e]||(at.expr.match.bool.test(e)?le:void 0)),void 0!==n?null===n?void at.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:(i=at.find.attr(t,e),null==i?void 0:i))},attrHooks:{type:{set:function(t,e){if(!it.radioValue&&"radio"===e&&at.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i,r=0,a=e&&e.match(wt);if(a&&1===t.nodeType)for(;n=a[r++];)i=at.propFix[n]||n,at.expr.match.bool.test(n)&&(t[i]=!1),t.removeAttribute(n)}}),le={set:function(t,e,n){return e===!1?at.removeAttr(t,n):t.setAttribute(n,n),n}},at.each(at.expr.match.bool.source.match(/\w+/g),function(t,e){var n=ue[e]||at.find.attr;ue[e]=function(t,e,i){var r,a;return i||(a=ue[e],ue[e]=r,r=null!=n(t,e,i)?e.toLowerCase():null,ue[e]=a),r}});var de=/^(?:input|select|textarea|button)$/i,ce=/^(?:a|area)$/i;at.fn.extend({prop:function(t,e){return bt(this,at.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[at.propFix[t]||t]})}}),at.extend({prop:function(t,e,n){var i,r,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&at.isXMLDoc(t)||(e=at.propFix[e]||e,r=at.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=at.find.attr(t,"tabindex");return e?parseInt(e,10):de.test(t.nodeName)||ce.test(t.nodeName)&&t.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),it.optSelected||(at.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null}}),at.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){at.propFix[this.toLowerCase()]=this});var he=/[\t\r\n\f]/g;at.fn.extend({addClass:function(t){var e,n,i,r,a,s,o,l=0;if(at.isFunction(t))return this.each(function(e){at(this).addClass(t.call(this,e,I(this)))});if("string"==typeof t&&t)for(e=t.match(wt)||[];n=this[l++];)if(r=I(n),i=1===n.nodeType&&(" "+r+" ").replace(he," ")){for(s=0;a=e[s++];)i.indexOf(" "+a+" ")<0&&(i+=a+" ");o=at.trim(i),r!==o&&n.setAttribute("class",o)}return this},removeClass:function(t){var e,n,i,r,a,s,o,l=0;if(at.isFunction(t))return this.each(function(e){at(this).removeClass(t.call(this,e,I(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(wt)||[];n=this[l++];)if(r=I(n),i=1===n.nodeType&&(" "+r+" ").replace(he," ")){for(s=0;a=e[s++];)for(;i.indexOf(" "+a+" ")>-1;)i=i.replace(" "+a+" "," ");o=at.trim(i),r!==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):at.isFunction(t)?this.each(function(n){at(this).toggleClass(t.call(this,n,I(this),e),e)}):this.each(function(){var e,i,r,a;if("string"===n)for(i=0,r=at(this),a=t.match(wt)||[];e=a[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else void 0!==t&&"boolean"!==n||(e=I(this),e&&Yt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||t===!1?"":Yt.get(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+I(n)+" ").replace(he," ").indexOf(e)>-1)return!0;return!1}});var pe=/\r/g;at.fn.extend({val:function(t){var e,n,i,r=this[0];{if(arguments.length)return i=at.isFunction(t),this.each(function(n){var r;1===this.nodeType&&(r=i?t.call(this,n,at(this).val()):t,null==r?r="":"number"==typeof r?r+="":at.isArray(r)&&(r=at.map(r,function(t){return null==t?"":t+""})),e=at.valHooks[this.type]||at.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))});if(r)return e=at.valHooks[r.type]||at.valHooks[r.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(pe,""):null==n?"":n)}}}),at.extend({valHooks:{option:{get:function(t){return at.trim(t.value)}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,a="select-one"===t.type||0>r,s=a?null:[],o=a?r+1:i.length,l=0>r?o:a?r:0;o>l;l++)if(n=i[l],(n.selected||l===r)&&(it.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!at.nodeName(n.parentNode,"optgroup"))){if(e=at(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,i,r=t.options,a=at.makeArray(e),s=r.length;s--;)i=r[s],(i.selected=at.inArray(at.valHooks.option.get(i),a)>-1)&&(n=!0);return n||(t.selectedIndex=-1),a}}}}),at.each(["radio","checkbox"],function(){at.valHooks[this]={set:function(t,e){return at.isArray(e)?t.checked=at.inArray(at(t).val(),e)>-1:void 0}},it.checkOn||(at.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var fe=/^(?:focusinfocus|focusoutblur)$/;at.extend(at.event,{trigger:function(e,n,i,r){var a,s,o,l,u,d,c,h=[i||X],p=nt.call(e,"type")?e.type:e,f=nt.call(e,"namespace")?e.namespace.split("."):[];if(s=o=i=i||X,3!==i.nodeType&&8!==i.nodeType&&!fe.test(p+at.event.triggered)&&(p.indexOf(".")>-1&&(f=p.split("."),p=f.shift(),f.sort()),u=p.indexOf(":")<0&&"on"+p,e=e[at.expando]?e:new at.Event(p,"object"==typeof e&&e),e.isTrigger=r?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:at.makeArray(n,[e]),c=at.event.special[p]||{},r||!c.trigger||c.trigger.apply(i,n)!==!1)){if(!r&&!c.noBubble&&!at.isWindow(i)){for(l=c.delegateType||p,fe.test(l+p)||(s=s.parentNode);s;s=s.parentNode)h.push(s),o=s;o===(i.ownerDocument||X)&&h.push(o.defaultView||o.parentWindow||t)}for(a=0;(s=h[a++])&&!e.isPropagationStopped();)e.type=a>1?l:c.bindType||p,d=(Yt.get(s,"events")||{})[e.type]&&Yt.get(s,"handle"),d&&d.apply(s,n),d=u&&s[u],d&&d.apply&&kt(s)&&(e.result=d.apply(s,n),e.result===!1&&e.preventDefault());return e.type=p,r||e.isDefaultPrevented()||c._default&&c._default.apply(h.pop(),n)!==!1||!kt(i)||u&&at.isFunction(i[p])&&!at.isWindow(i)&&(o=i[u],o&&(i[u]=null),at.event.triggered=p,i[p](),at.event.triggered=void 0,o&&(i[u]=o)),e.result}},simulate:function(t,e,n){var i=at.extend(new at.Event,n,{type:t,isSimulated:!0});at.event.trigger(i,null,e),i.isDefaultPrevented()&&n.preventDefault()}}),at.fn.extend({trigger:function(t,e){return this.each(function(){at.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?at.event.trigger(t,e,n,!0):void 0}}),at.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){at.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),at.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),it.focusin="onfocusin"in t,it.focusin||at.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){at.event.simulate(e,t.target,at.event.fix(t))};at.event.special[e]={setup:function(){var i=this.ownerDocument||this,r=Yt.access(i,e);r||i.addEventListener(t,n,!0),Yt.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=Yt.access(i,e)-1;r?Yt.access(i,e,r):(i.removeEventListener(t,n,!0),Yt.remove(i,e))}}});var me=t.location,_e=at.now(),ge=/\?/;at.parseJSON=function(t){return JSON.parse(t+"")},at.parseXML=function(e){var n;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(i){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||at.error("Invalid XML: "+e),n};var ye=/#.*$/,ve=/([?&])_=[^&]*/,Me=/^(.*?):[ \t]*([^\r\n]*)$/gm,we=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Le=/^(?:GET|HEAD)$/,be=/^\/\//,ke={},Ye={},Te="*/".concat("*"),xe=X.createElement("a");xe.href=me.href,at.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:me.href,type:"GET",isLocal:we.test(me.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Te,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":at.parseJSON,"text xml":at.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?z(z(t,at.ajaxSettings),e):z(at.ajaxSettings,t)},ajaxPrefilter:N(ke),ajaxTransport:N(Ye),ajax:function(e,n){function i(e,n,i,o){var u,c,y,v,w,b=n;2!==M&&(M=2,l&&t.clearTimeout(l),r=void 0,s=o||"",L.readyState=e>0?4:0,u=e>=200&&300>e||304===e,i&&(v=B(h,L,i)),v=q(h,v,L,u),u?(h.ifModified&&(w=L.getResponseHeader("Last-Modified"),w&&(at.lastModified[a]=w),w=L.getResponseHeader("etag"),w&&(at.etag[a]=w)),204===e||"HEAD"===h.type?b="nocontent":304===e?b="notmodified":(b=v.state,c=v.data,y=v.error,u=!y)):(y=b,!e&&b||(b="error",0>e&&(e=0))),L.status=e,L.statusText=(n||b)+"",u?m.resolveWith(p,[c,b,L]):m.rejectWith(p,[L,b,y]),L.statusCode(g),g=void 0,d&&f.trigger(u?"ajaxSuccess":"ajaxError",[L,h,u?c:y]),_.fireWith(p,[L,b]),d&&(f.trigger("ajaxComplete",[L,h]),--at.active||at.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=void 0),n=n||{};var r,a,s,o,l,u,d,c,h=at.ajaxSetup({},n),p=h.context||h,f=h.context&&(p.nodeType||p.jquery)?at(p):at.event,m=at.Deferred(),_=at.Callbacks("once memory"),g=h.statusCode||{},y={},v={},M=0,w="canceled",L={readyState:0,getResponseHeader:function(t){var e;if(2===M){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===M?s:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return M||(t=v[n]=v[n]||t,y[t]=e),this},overrideMimeType:function(t){return M||(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>M)for(e in t)g[e]=[g[e],t[e]];else L.always(t[L.status]);return this},abort:function(t){var e=t||w;return r&&r.abort(e),i(0,e),this}};if(m.promise(L).complete=_.add,L.success=L.done,L.error=L.fail,h.url=((e||h.url||me.href)+"").replace(ye,"").replace(be,me.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=at.trim(h.dataType||"*").toLowerCase().match(wt)||[""],null==h.crossDomain){u=X.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=xe.protocol+"//"+xe.host!=u.protocol+"//"+u.host}catch(b){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=at.param(h.data,h.traditional)),$(ke,h,n,L),2===M)return L;d=at.event&&h.global,d&&0===at.active++&&at.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Le.test(h.type),a=h.url,h.hasContent||(h.data&&(a=h.url+=(ge.test(a)?"&":"?")+h.data,delete h.data),h.cache===!1&&(h.url=ve.test(a)?a.replace(ve,"$1_="+_e++):a+(ge.test(a)?"&":"?")+"_="+_e++)),h.ifModified&&(at.lastModified[a]&&L.setRequestHeader("If-Modified-Since",at.lastModified[a]),at.etag[a]&&L.setRequestHeader("If-None-Match",at.etag[a])),(h.data&&h.hasContent&&h.contentType!==!1||n.contentType)&&L.setRequestHeader("Content-Type",h.contentType),L.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Te+"; q=0.01":""):h.accepts["*"]);for(c in h.headers)L.setRequestHeader(c,h.headers[c]);if(h.beforeSend&&(h.beforeSend.call(p,L,h)===!1||2===M))return L.abort();w="abort";for(c in{success:1,error:1,complete:1})L[c](h[c]);if(r=$(Ye,h,n,L)){if(L.readyState=1,d&&f.trigger("ajaxSend",[L,h]),2===M)return L;h.async&&h.timeout>0&&(l=t.setTimeout(function(){L.abort("timeout")},h.timeout));try{M=1,r.send(y,i)}catch(b){if(!(2>M))throw b;i(-1,b)}}else i(-1,"No Transport");return L},getJSON:function(t,e,n){return at.get(t,e,n,"json")},getScript:function(t,e){return at.get(t,void 0,e,"script")}}),at.each(["get","post"],function(t,e){at[e]=function(t,n,i,r){return at.isFunction(n)&&(r=r||i,i=n,n=void 0),at.ajax(at.extend({url:t,type:e,dataType:r,data:n,success:i},at.isPlainObject(t)&&t))}}),at._evalUrl=function(t){return at.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},at.fn.extend({wrapAll:function(t){var e;return at.isFunction(t)?this.each(function(e){at(this).wrapAll(t.call(this,e))}):(this[0]&&(e=at(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return at.isFunction(t)?this.each(function(e){at(this).wrapInner(t.call(this,e))}):this.each(function(){var e=at(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=at.isFunction(t);return this.each(function(n){at(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){at.nodeName(this,"body")||at(this).replaceWith(this.childNodes)}).end()}}),at.expr.filters.hidden=function(t){return!at.expr.filters.visible(t)},at.expr.filters.visible=function(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0};var De=/%20/g,Se=/\[\]$/,Ce=/\r?\n/g,He=/^(?:submit|button|image|reset|file)$/i,je=/^(?:input|select|textarea|keygen)/i;at.param=function(t,e){var n,i=[],r=function(t,e){e=at.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=at.ajaxSettings&&at.ajaxSettings.traditional),at.isArray(t)||t.jquery&&!at.isPlainObject(t))at.each(t,function(){r(this.name,this.value)});else for(n in t)V(n,t[n],e,r);return i.join("&").replace(De,"+")},at.fn.extend({serialize:function(){return at.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=at.prop(this,"elements");return t?at.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!at(this).is(":disabled")&&je.test(this.nodeName)&&!He.test(t)&&(this.checked||!At.test(t))}).map(function(t,e){var n=at(this).val();return null==n?null:at.isArray(n)?at.map(n,function(t){return{name:e.name,value:t.replace(Ce,"\r\n")}}):{name:e.name,value:n.replace(Ce,"\r\n")}}).get()}}),at.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(e){}};var Ae={0:200,1223:204},Pe=at.ajaxSettings.xhr();it.cors=!!Pe&&"withCredentials"in Pe,it.ajax=Pe=!!Pe,at.ajaxTransport(function(e){var n,i;return it.cors||Pe&&!e.crossDomain?{send:function(r,a){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||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(s in r)o.setRequestHeader(s,r[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?a(0,"error"):a(o.status,o.statusText):a(Ae[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}),at.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return at.globalEval(t),t}}}),at.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),at.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(i,r){e=at("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),X.head.appendChild(e[0])},abort:function(){n&&n()}}}});var Ee=[],We=/(=)\?(?=&|$)|\?\?/;at.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ee.pop()||at.expando+"_"+_e++;return this[t]=!0,t}}),at.ajaxPrefilter("json jsonp",function(e,n,i){var r,a,s,o=e.jsonp!==!1&&(We.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&We.test(e.data)&&"data");return o||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=at.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(We,"$1"+r):e.jsonp!==!1&&(e.url+=(ge.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||at.error(r+" was not called"),s[0]},e.dataTypes[0]="json",a=t[r],t[r]=function(){s=arguments},i.always(function(){void 0===a?at(t).removeProp(r):t[r]=a,e[r]&&(e.jsonpCallback=n.jsonpCallback,Ee.push(r)),s&&at.isFunction(a)&&a(s[0]),s=a=void 0}),"script"):void 0}),it.createHTMLDocument=function(){var t=X.implementation.createHTMLDocument("").body;return t.innerHTML="<form></form><form></form>",2===t.childNodes.length}(),at.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||(it.createHTMLDocument?X.implementation.createHTMLDocument(""):X);var i=ft.exec(t),r=!n&&[];return i?[e.createElement(i[1])]:(i=h([t],e,r),r&&r.length&&at(r).remove(),at.merge([],i.childNodes))};var Fe=at.fn.load;at.fn.load=function(t,e,n){if("string"!=typeof t&&Fe)return Fe.apply(this,arguments);var i,r,a,s=this,o=t.indexOf(" ");return o>-1&&(i=at.trim(t.slice(o)),t=t.slice(0,o)),at.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),s.length>0&&at.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){a=arguments,s.html(i?at("<div>").append(at.parseHTML(t)).find(i):t)}).always(n&&function(t,e){s.each(function(){n.apply(s,a||[t.responseText,e,t])})}),this},at.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){at.fn[e]=function(t){return this.on(e,t)}}),at.expr.filters.animated=function(t){return at.grep(at.timers,function(e){return t===e.elem}).length},at.offset={setOffset:function(t,e,n){var i,r,a,s,o,l,u,d=at.css(t,"position"),c=at(t),h={};"static"===d&&(t.style.position="relative"),o=c.offset(),a=at.css(t,"top"),l=at.css(t,"left"),u=("absolute"===d||"fixed"===d)&&(a+l).indexOf("auto")>-1,u?(i=c.position(),s=i.top,r=i.left):(s=parseFloat(a)||0,r=parseFloat(l)||0),at.isFunction(e)&&(e=e.call(t,n,at.extend({},o))),null!=e.top&&(h.top=e.top-o.top+s),null!=e.left&&(h.left=e.left-o.left+r),"using"in e?e.using.call(t,h):c.css(h)}},at.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){at.offset.setOffset(this,t,e)});var e,n,i=this[0],r={top:0,left:0},a=i&&i.ownerDocument;if(a)return e=a.documentElement,at.contains(e,i)?(r=i.getBoundingClientRect(),n=U(a),{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}):r},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===at.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),at.nodeName(t[0],"html")||(i=t.offset()),i.top+=at.css(t[0],"borderTopWidth",!0),i.left+=at.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-at.css(n,"marginTop",!0),left:e.left-i.left-at.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===at.css(t,"position");)t=t.offsetParent;return t||Zt})}}),at.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;at.fn[t]=function(i){return bt(this,function(t,i,r){var a=U(t);return void 0===r?a?a[e]:t[i]:void(a?a.scrollTo(n?a.pageXOffset:r,n?r:a.pageYOffset):t[i]=r)},t,i,arguments.length)}}),at.each(["top","left"],function(t,e){at.cssHooks[e]=x(it.pixelPosition,function(t,n){return n?(n=T(t,e),Xt.test(n)?at(t).position()[e]+"px":n):void 0})}),at.each({Height:"height",Width:"width"},function(t,e){at.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){at.fn[i]=function(i,r){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(i===!0||r===!0?"margin":"border");return bt(this,function(e,n,i){var r;return at.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===i?at.css(e,n,s):at.style(e,n,i,s)},e,a?i:void 0,a,null)}})}),at.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},size:function(){return this.length}}),at.fn.andSelf=at.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return at});var Oe=t.jQuery,Re=t.$;return at.noConflict=function(e){return t.$===at&&(t.$=Re),e&&t.jQuery===at&&(t.jQuery=Oe),at},e||(t.jQuery=t.$=at),at}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(jQuery),+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one("bsTransitionEnd",function(){n=!0});var r=function(){n||t(i).trigger(t.support.transition.end)};return setTimeout(r,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),r=n.data("bs.alert");r||n.data("bs.alert",r=new i(this)),"string"==typeof e&&r[e].call(n)})}var n='[data-dismiss="alert"]',i=function(e){t(e).on("click",n,this.close)};i.VERSION="3.3.6",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function n(){s.detach().trigger("closed.bs.alert").remove()}var r=t(this),a=r.attr("data-target");a||(a=r.attr("href"),a=a&&a.replace(/.*(?=#[^\s]*$)/,""));var s=t(a);e&&e.preventDefault(),s.length||(s=r.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 r=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=r,this},t(document).on("click.bs.alert.data-api",n,i.prototype.close)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.button"),a="object"==typeof e&&e;r||i.data("bs.button",r=new n(this,a)),"toggle"==e?r.toggle():e&&r.setState(e)})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.3.6",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,r=i.is("input")?"val":"html",a=i.data();e+="Text",null==a.resetText&&i.data("resetText",i[r]()),setTimeout(t.proxy(function(){i[r](null==a[e]?this.options[e]:a[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=t(n.target);i.hasClass("btn")||(i=i.closest(".btn")),e.call(i,"toggle"),t(n.target).is('input[type="radio"]')||t(n.target).is('input[type="checkbox"]')||n.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.carousel"),a=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),s="string"==typeof e?e:a.slide;r||i.data("bs.carousel",r=new n(this,a)),"number"==typeof e?r.to(e):s?r[s]():a.interval&&r.pause().cycle()})}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.3.6",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e),i="prev"==t&&0===n||"next"==t&&n==this.$items.length-1;if(i&&!this.options.wrap)return e;var r="prev"==t?-1:1,a=(n+r)%this.$items.length;return this.$items.eq(a)},n.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));return t>this.$items.length-1||0>t?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){return this.sliding?void 0:this.slide("next")},n.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},n.prototype.slide=function(e,i){var r=this.$element.find(".item.active"),a=i||this.getItemForDirection(e,r),s=this.interval,o="next"==e?"left":"right",l=this;if(a.hasClass("active"))return this.sliding=!1;var u=a[0],d=t.Event("slide.bs.carousel",{relatedTarget:u,direction:o});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var c=t(this.$indicators.children()[this.getItemIndex(a)]);c&&c.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:u,direction:o});return t.support.transition&&this.$element.hasClass("slide")?(a.addClass(e),a[0].offsetWidth,r.addClass(o),a.addClass(o),r.one("bsTransitionEnd",function(){a.removeClass([e,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(h)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(r.removeClass("active"),a.addClass("active"),this.sliding=!1,this.$element.trigger(h)),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 r=function(n){var i,r=t(this),a=t(r.attr("data-target")||(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(a.hasClass("carousel")){var s=t.extend({},a.data(),r.data()),o=r.attr("data-slide-to");o&&(s.interval=!1),e.call(a,s),o&&a.data("bs.carousel").to(o),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(jQuery),+function(t){"use strict";function e(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(i)}function n(e){return this.each(function(){var n=t(this),r=n.data("bs.collapse"),a=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);!r&&a.toggle&&/show|hide/.test(e)&&(a.toggle=!1),r||n.data("bs.collapse",r=new i(this,a)),"string"==typeof e&&r[e]()})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.6",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(r&&r.length&&(e=r.data("bs.collapse"),e&&e.transitioning))){var a=t.Event("show.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){r&&r.length&&(n.call(r,"hide"),e||r.data("bs.collapse",null));var 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 r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[n](0).one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(i.TRANSITION_DURATION):r.call(this)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,i){var r=t(i);this.addAriaAndCollapsedClass(e(r),r)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var r=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=r,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var r=t(this);r.attr("data-target")||i.preventDefault();var a=e(r),s=a.data("bs.collapse"),o=s?"toggle":r.data();n.call(a,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(r).remove(),t(a).each(function(){var i=t(this),r=e(i),a={relatedTarget:this};r.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(r[0],n.target)||(r.trigger(n=t.Event("hide.bs.dropdown",a)),n.isDefaultPrevented()||(i.attr("aria-expanded","false"),r.removeClass("open").trigger(t.Event("hidden.bs.dropdown",a)))))}))}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new s(this)),"string"==typeof e&&i[e].call(n)})}var r=".dropdown-backdrop",a='[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 r=t(this);if(!r.is(".disabled, :disabled")){var a=e(r),s=a.hasClass("open");if(n(),!s){"ontouchstart"in document.documentElement&&!a.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var o={relatedTarget:this};if(a.trigger(i=t.Event("show.bs.dropdown",o)),i.isDefaultPrevented())return;r.trigger("focus").attr("aria-expanded","true"),a.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 r=e(i),s=r.hasClass("open");if(!s&&27!=n.which||s&&27==n.which)return 27==n.which&&r.find(a).trigger("focus"),i.trigger("click");var o=" li:not(.disabled):visible a",l=r.find(".dropdown-menu"+o);if(l.length){var u=l.index(n.target);38==n.which&&u>0&&u--,40==n.which&&u<l.length-1&&u++,~u||(u=0),l.eq(u).trigger("focus")}}}};var 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",a,s.prototype.toggle).on("keydown.bs.dropdown.data-api",a,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 r=t(this),a=r.data("bs.modal"),s=t.extend({},n.DEFAULTS,r.data(),"object"==typeof e&&e);a||r.data("bs.modal",a=new n(this,s)),"string"==typeof e?a[e](i):s.show&&a.show(i)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.3.6",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var i=this,r=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(r),this.isShown||r.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var r=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),r&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var a=t.Event("shown.bs.modal",{relatedTarget:e});r?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(a)}).emulateTransitionEnd(n.TRANSITION_DURATION):i.$element.trigger("focus").trigger(a)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var i=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var a=t.support.transition&&r;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+r).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),a&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;a?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var 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),r=i.attr("href"),a=t(i.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=a.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(r)&&r},a.data(),i.data());i.is("a")&&n.preventDefault(),a.one("show.bs.modal",function(t){t.isDefaultPrevented()||a.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(a,s,this)})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.tooltip"),a="object"==typeof e&&e;!r&&/destroy|hide/.test(e)||(r||i.data("bs.tooltip",r=new n(this,a)),"string"==typeof e&&r[e]())})}var n=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};n.VERSION="3.3.6",n.TRANSITION_DURATION=150,n.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var r=this.options.trigger.split(" "),a=r.length;a--;){var s=r[a];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 r=this,a=this.tip(),s=this.getUID(this.type);this.setContent(),a.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&a.addClass("fade");var o="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,u=l.test(o);u&&(o=o.replace(l,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(o).data("bs."+this.type,this),this.options.container?a.appendTo(this.options.container):a.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var d=this.getPosition(),c=a[0].offsetWidth,h=a[0].offsetHeight;if(u){var p=o,f=this.getPosition(this.$viewport);o="bottom"==o&&d.bottom+h>f.bottom?"top":"top"==o&&d.top-h<f.top?"bottom":"right"==o&&d.right+c>f.width?"left":"left"==o&&d.left-c<f.left?"right":o,a.removeClass(p).addClass(o)}var m=this.getCalculatedOffset(o,d,c,h);this.applyPlacement(m,o);var _=function(){var t=r.hoverState;r.$element.trigger("shown.bs."+r.type),r.hoverState=null,"out"==t&&r.leave(r)};t.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",_).emulateTransitionEnd(n.TRANSITION_DURATION):_()}},n.prototype.applyPlacement=function(e,n){var i=this.tip(),r=i[0].offsetWidth,a=i[0].offsetHeight,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,u=i[0].offsetHeight;"top"==n&&u!=a&&(e.top=e.top+a-u);var d=this.getViewportAdjustedDelta(n,e,l,u);d.left?e.left+=d.left:e.top+=d.top;var c=/top|bottom/.test(n),h=c?2*d.left-r+l:2*d.top-a+u,p=c?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(h,i[0][p],c)},n.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},n.prototype.hide=function(e){function i(){"in"!=r.hoverState&&a.detach(),r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),e&&e()}var r=this,a=t(this.$tip),s=t.Event("hide.bs."+this.type);return this.$element.trigger(s),s.isDefaultPrevented()?void 0:(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i(),this.hoverState=null,this)},n.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(e){e=e||this.$element;var n=e[0],i="BODY"==n.tagName,r=n.getBoundingClientRect();null==r.width&&(r=t.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var a=i?{top:0,left:0}:e.offset(),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({},r,s,o,a)},n.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},n.prototype.getViewportAdjustedDelta=function(t,e,n,i){var r={top:0,left:0};if(!this.$viewport)return r;var a=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var o=e.top-a-s.scroll,l=e.top+a-s.scroll+i;o<s.top?r.top=s.top-o:l>s.top+s.height&&(r.top=s.top+s.height-l)}else{var u=e.left-a,d=e.left+a+n;u<s.left?r.left=s.left-u:d>s.right&&(r.left=s.left+s.width-d)}return r},n.prototype.getTitle=function(){var t,e=this.$element,n=this.options;return t=e.attr("data-original-title")||("function"==typeof n.title?n.title.call(e[0]):n.title)},n.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},n.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(e){var n=this;e&&(n=t(e.currentTarget).data("bs."+this.type),n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})};var i=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=n,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.popover"),a="object"==typeof e&&e;!r&&/destroy|hide/.test(e)||(r||i.data("bs.popover",r=new n(this,a)),"string"==typeof e&&r[e]())})}var n=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.6",n.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),n.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=n,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),+function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(t(n).is(document.body)?window:n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var i=t(this),r=i.data("bs.scrollspy"),a="object"==typeof n&&n;r||i.data("bs.scrollspy",r=new e(this,a)),"string"==typeof n&&r[n]()})}e.VERSION="3.3.6",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),r=e.data("target")||e.attr("href"),a=/^#./.test(r)&&t(r);return a&&a.length&&a.is(":visible")&&[[a[n]().top+i,r]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),r=this.offsets,a=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return s!=(t=a[a.length-1])&&this.activate(t);if(s&&e<r[0])return this.activeTarget=null,this.clear();for(t=r.length;t--;)s!=a[t]&&e>=r[t]&&(void 0===r[t+1]||e<r[t+1])&&this.activate(a[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.tab");r||i.data("bs.tab",r=new n(this)),"string"==typeof e&&r[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.3.6",n.TRANSITION_DURATION=150,n.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=e.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=n.find(".active:last a"),a=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(a),e.trigger(s),!s.isDefaultPrevented()&&!a.isDefaultPrevented()){var o=t(i);this.activate(e.closest("li"),n),this.activate(o,o.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:r[0]})})}}},n.prototype.activate=function(e,i,r){function a(){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),r&&r()}var s=i.find("> .active"),o=r&&t.support.transition&&(s.length&&s.hasClass("fade")||!!i.find("> .fade").length);s.length&&o?s.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a(),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 r=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.affix"),a="object"==typeof e&&e;r||i.data("bs.affix",r=new n(this,a)),"string"==typeof e&&r[e]()})}var n=function(e,i){this.options=t.extend({},n.DEFAULTS,i),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.6",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,i){var r=this.$target.scrollTop(),a=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return n>r?"top":!1;if("bottom"==this.affixed)return null!=n?r+this.unpin<=a.top?!1:"bottom":t-i>=r+s?!1:"bottom";var o=null==this.affixed,l=o?r:a.top,u=o?s:e;return null!=n&&n>=r?"top":null!=i&&l+u>=t-i?"bottom":!1},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),i=this.options.offset,r=i.top,a=i.bottom,s=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(a=r=i),"function"==typeof r&&(r=i.top(this.$element)),"function"==typeof a&&(a=i.bottom(this.$element));var o=this.getState(s,e,r,a);if(this.affixed!=o){null!=this.unpin&&this.$element.css("top","");var l="affix"+(o?"-"+o:""),u=t.Event(l+".bs.affix");if(this.$element.trigger(u),u.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-a})}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),i=n.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),e.call(n,i)})})}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";function t(){return Bi.apply(null,arguments)}function e(t){Bi=t}function n(t){return"[object Array]"===Object.prototype.toString.call(t)}function i(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function r(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s(t,e){for(var n in e)a(e,n)&&(t[n]=e[n]);return a(e,"toString")&&(t.toString=e.toString),a(e,"valueOf")&&(t.valueOf=e.valueOf),t}function o(t,e,n,i){return St(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}}function u(t){return null==t._pf&&(t._pf=l()),t._pf}function d(t){if(null==t._isValid){var e=u(t);t._isValid=!(isNaN(t._d.getTime())||!(e.overflow<0)||e.empty||e.invalidMonth||e.invalidWeekday||e.nullInput||e.invalidFormat||e.userInvalidated),t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)}return t._isValid}function c(t){var e=o(NaN);return null!=t?s(u(e),t):u(e).userInvalidated=!0,e}function h(t){return void 0===t}function p(t,e){var n,i,r;if(h(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),h(e._i)||(t._i=e._i),h(e._f)||(t._f=e._f),h(e._l)||(t._l=e._l),h(e._strict)||(t._strict=e._strict),h(e._tzm)||(t._tzm=e._tzm),h(e._isUTC)||(t._isUTC=e._isUTC),h(e._offset)||(t._offset=e._offset),h(e._pf)||(t._pf=u(e)),h(e._locale)||(t._locale=e._locale),Vi.length>0)for(n in Vi)i=Vi[n],r=e[i],h(r)||(t[i]=r);return t}function f(e){p(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),Ui===!1&&(Ui=!0,t.updateOffset(this),Ui=!1)}function m(t){return t instanceof f||null!=t&&null!=t._isAMomentObject}function _(t){return 0>t?Math.ceil(t):Math.floor(t)}function g(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=_(e)),n}function y(t,e,n){var i,r=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),s=0;for(i=0;r>i;i++)(n&&t[i]!==e[i]||!n&&g(t[i])!==g(e[i]))&&s++;return s+a}function v(){}function M(t){return t?t.toLowerCase().replace("_","-"):t}function w(t){for(var e,n,i,r,a=0;a<t.length;){for(r=M(t[a]).split("-"),e=r.length,n=M(t[a+1]),n=n?n.split("-"):null;e>0;){if(i=L(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&y(r,n,!0)>=e-1)break;e--}a++}return null}function L(t){var e=null;if(!Ji[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=qi._abbr,require("./locale/"+t),b(e)}catch(n){}return Ji[t]}function b(t,e){var n;return t&&(n=h(e)?Y(t):k(t,e),n&&(qi=n)),qi._abbr}function k(t,e){return null!==e?(e.abbr=t,Ji[t]=Ji[t]||new v,Ji[t].set(e),b(t),Ji[t]):(delete Ji[t],null)}function Y(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return qi;if(!n(t)){if(e=L(t))return e;t=[t]}return w(t)}function T(t,e){var n=t.toLowerCase();Xi[n]=Xi[n+"s"]=Xi[e]=t}function x(t){return"string"==typeof t?Xi[t]||Xi[t.toLowerCase()]:void 0}function D(t){var e,n,i={};for(n in t)a(t,n)&&(e=x(n),e&&(i[e]=t[n]));return i}function S(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function C(e,n){return function(i){return null!=i?(j(this,e,i),t.updateOffset(this,n),this):H(this,e)}}function H(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function j(t,e,n){t.isValid()&&t._d["set"+(t._isUTC?"UTC":"")+e](n)}function A(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if(t=x(t),S(this[t]))return this[t](e);return this}function P(t,e,n){var i=""+Math.abs(t),r=e-i.length,a=t>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function E(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(Ki[t]=r),e&&(Ki[e[0]]=function(){return P(r.apply(this,arguments),e[1],e[2])}),n&&(Ki[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function W(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function F(t){var e,n,i=t.match(Gi);for(e=0,n=i.length;n>e;e++)Ki[i[e]]?i[e]=Ki[i[e]]:i[e]=W(i[e]);return function(r){var a="";for(e=0;n>e;e++)a+=i[e]instanceof Function?i[e].call(r,t):i[e];return a}}function O(t,e){return t.isValid()?(e=R(e,t.localeData()),Zi[e]=Zi[e]||F(e),Zi[e](t)):t.localeData().invalidDate()}function R(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(Qi.lastIndex=0;i>=0&&Qi.test(t);)t=t.replace(Qi,n),Qi.lastIndex=0,i-=1;return t}function I(t,e,n){gr[t]=S(e)?e:function(t,i){return t&&n?n:e}}function N(t,e){return a(gr,t)?gr[t](e._strict,e._locale):new RegExp($(t))}function $(t){return z(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r}))}function z(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function B(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(i=function(t,n){
n[e]=g(t)}),n=0;n<t.length;n++)yr[t[n]]=i}function q(t,e){B(t,function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)})}function V(t,e,n){null!=e&&a(yr,t)&&yr[t](e,n._a,n,t)}function U(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function J(t,e){return n(this._months)?this._months[t.month()]:this._months[Dr.test(e)?"format":"standalone"][t.month()]}function X(t,e){return n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Dr.test(e)?"format":"standalone"][t.month()]}function G(t,e,n){var i,r,a;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;12>i;i++){if(r=o([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}}function Q(t,e){var n;return t.isValid()?"string"==typeof e&&(e=t.localeData().monthsParse(e),"number"!=typeof e)?t:(n=Math.min(t.date(),U(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t):t}function Z(e){return null!=e?(Q(this,e),t.updateOffset(this,!0),this):H(this,"Month")}function K(){return U(this.year(),this.month())}function tt(t){return this._monthsParseExact?(a(this,"_monthsRegex")||nt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex}function et(t){return this._monthsParseExact?(a(this,"_monthsRegex")||nt.call(this),t?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex}function nt(){function t(t,e){return e.length-t.length}var e,n,i=[],r=[],a=[];for(e=0;12>e;e++)n=o([2e3,e]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(i.sort(t),r.sort(t),a.sort(t),e=0;12>e;e++)i[e]=z(i[e]),r[e]=z(r[e]),a[e]=z(a[e]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")$","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")$","i")}function it(t){var e,n=t._a;return n&&-2===u(t).overflow&&(e=n[Mr]<0||n[Mr]>11?Mr:n[wr]<1||n[wr]>U(n[vr],n[Mr])?wr:n[Lr]<0||n[Lr]>24||24===n[Lr]&&(0!==n[br]||0!==n[kr]||0!==n[Yr])?Lr:n[br]<0||n[br]>59?br:n[kr]<0||n[kr]>59?kr:n[Yr]<0||n[Yr]>999?Yr:-1,u(t)._overflowDayOfYear&&(vr>e||e>wr)&&(e=wr),u(t)._overflowWeeks&&-1===e&&(e=Tr),u(t)._overflowWeekday&&-1===e&&(e=xr),u(t).overflow=e),t}function rt(e){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function at(t,e){var n=!0;return s(function(){return n&&(rt(t+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),n=!1),e.apply(this,arguments)},e)}function st(t,e){Ar[t]||(rt(e),Ar[t]=!0)}function ot(t){var e,n,i,r,a,s,o=t._i,l=Pr.exec(o)||Er.exec(o);if(l){for(u(t).iso=!0,e=0,n=Fr.length;n>e;e++)if(Fr[e][1].exec(l[1])){r=Fr[e][0],i=Fr[e][2]!==!1;break}if(null==r)return void(t._isValid=!1);if(l[3]){for(e=0,n=Or.length;n>e;e++)if(Or[e][1].exec(l[3])){a=(l[2]||" ")+Or[e][0];break}if(null==a)return void(t._isValid=!1)}if(!i&&null!=a)return void(t._isValid=!1);if(l[4]){if(!Wr.exec(l[4]))return void(t._isValid=!1);s="Z"}t._f=r+(a||"")+(s||""),Lt(t)}else t._isValid=!1}function lt(e){var n=Rr.exec(e._i);return null!==n?void(e._d=new Date(+n[1])):(ot(e),void(e._isValid===!1&&(delete e._isValid,t.createFromInputFallback(e))))}function ut(t,e,n,i,r,a,s){var o=new Date(t,e,n,i,r,a,s);return 100>t&&t>=0&&isFinite(o.getFullYear())&&o.setFullYear(t),o}function dt(t){var e=new Date(Date.UTC.apply(null,arguments));return 100>t&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function ct(t){return ht(t)?366:365}function ht(t){return t%4===0&&t%100!==0||t%400===0}function pt(){return ht(this.year())}function ft(t,e,n){var i=7+e-n,r=(7+dt(t,0,i).getUTCDay()-e)%7;return-r+i-1}function mt(t,e,n,i,r){var a,s,o=(7+n-i)%7,l=ft(t,i,r),u=1+7*(e-1)+o+l;return 0>=u?(a=t-1,s=ct(a)+u):u>ct(t)?(a=t+1,s=u-ct(t)):(a=t,s=u),{year:a,dayOfYear:s}}function _t(t,e,n){var i,r,a=ft(t.year(),e,n),s=Math.floor((t.dayOfYear()-a-1)/7)+1;return 1>s?(r=t.year()-1,i=s+gt(r,e,n)):s>gt(t.year(),e,n)?(i=s-gt(t.year(),e,n),r=t.year()+1):(r=t.year(),i=s),{week:i,year:r}}function gt(t,e,n){var i=ft(t,e,n),r=ft(t+1,e,n);return(ct(t)-i+r)/7}function yt(t,e,n){return null!=t?t:null!=e?e:n}function vt(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function Mt(t){var e,n,i,r,a=[];if(!t._d){for(i=vt(t),t._w&&null==t._a[wr]&&null==t._a[Mr]&&wt(t),t._dayOfYear&&(r=yt(t._a[vr],i[vr]),t._dayOfYear>ct(r)&&(u(t)._overflowDayOfYear=!0),n=dt(r,0,t._dayOfYear),t._a[Mr]=n.getUTCMonth(),t._a[wr]=n.getUTCDate()),e=0;3>e&&null==t._a[e];++e)t._a[e]=a[e]=i[e];for(;7>e;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Lr]&&0===t._a[br]&&0===t._a[kr]&&0===t._a[Yr]&&(t._nextDay=!0,t._a[Lr]=0),t._d=(t._useUTC?dt:ut).apply(null,a),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Lr]=24)}}function wt(t){var e,n,i,r,a,s,o,l;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(a=1,s=4,n=yt(e.GG,t._a[vr],_t(Ct(),1,4).year),i=yt(e.W,1),r=yt(e.E,1),(1>r||r>7)&&(l=!0)):(a=t._locale._week.dow,s=t._locale._week.doy,n=yt(e.gg,t._a[vr],_t(Ct(),a,s).year),i=yt(e.w,1),null!=e.d?(r=e.d,(0>r||r>6)&&(l=!0)):null!=e.e?(r=e.e+a,(e.e<0||e.e>6)&&(l=!0)):r=a),1>i||i>gt(n,a,s)?u(t)._overflowWeeks=!0:null!=l?u(t)._overflowWeekday=!0:(o=mt(n,i,r,a,s),t._a[vr]=o.year,t._dayOfYear=o.dayOfYear)}function Lt(e){if(e._f===t.ISO_8601)return void ot(e);e._a=[],u(e).empty=!0;var n,i,r,a,s,o=""+e._i,l=o.length,d=0;for(r=R(e._f,e._locale).match(Gi)||[],n=0;n<r.length;n++)a=r[n],i=(o.match(N(a,e))||[])[0],i&&(s=o.substr(0,o.indexOf(i)),s.length>0&&u(e).unusedInput.push(s),o=o.slice(o.indexOf(i)+i.length),d+=i.length),Ki[a]?(i?u(e).empty=!1:u(e).unusedTokens.push(a),V(a,i,e)):e._strict&&!i&&u(e).unusedTokens.push(a);u(e).charsLeftOver=l-d,o.length>0&&u(e).unusedInput.push(o),u(e).bigHour===!0&&e._a[Lr]<=12&&e._a[Lr]>0&&(u(e).bigHour=void 0),e._a[Lr]=bt(e._locale,e._a[Lr],e._meridiem),Mt(e),it(e)}function bt(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 kt(t){var e,n,i,r,a;if(0===t._f.length)return u(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<t._f.length;r++)a=0,e=p({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Lt(e),d(e)&&(a+=u(e).charsLeftOver,a+=10*u(e).unusedTokens.length,u(e).score=a,(null==i||i>a)&&(i=a,n=e));s(t,n||e)}function Yt(t){if(!t._d){var e=D(t._i);t._a=r([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),Mt(t)}}function Tt(t){var e=new f(it(xt(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function xt(t){var e=t._i,r=t._f;return t._locale=t._locale||Y(t._l),null===e||void 0===r&&""===e?c({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),m(e)?new f(it(e)):(n(r)?kt(t):r?Lt(t):i(e)?t._d=e:Dt(t),d(t)||(t._d=null),t))}function Dt(e){var a=e._i;void 0===a?e._d=new Date(t.now()):i(a)?e._d=new Date(+a):"string"==typeof a?lt(e):n(a)?(e._a=r(a.slice(0),function(t){return parseInt(t,10)}),Mt(e)):"object"==typeof a?Yt(e):"number"==typeof a?e._d=new Date(a):t.createFromInputFallback(e)}function St(t,e,n,i,r){var a={};return"boolean"==typeof n&&(i=n,n=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=n,a._i=t,a._f=e,a._strict=i,Tt(a)}function Ct(t,e,n,i){return St(t,e,n,i,!1)}function Ht(t,e){var i,r;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return Ct();for(i=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](i)||(i=e[r]);return i}function jt(){var t=[].slice.call(arguments,0);return Ht("isBefore",t)}function At(){var t=[].slice.call(arguments,0);return Ht("isAfter",t)}function Pt(t){var e=D(t),n=e.year||0,i=e.quarter||0,r=e.month||0,a=e.week||0,s=e.day||0,o=e.hour||0,l=e.minute||0,u=e.second||0,d=e.millisecond||0;this._milliseconds=+d+1e3*u+6e4*l+36e5*o,this._days=+s+7*a,this._months=+r+3*i+12*n,this._data={},this._locale=Y(),this._bubble()}function Et(t){return t instanceof Pt}function Wt(t,e){E(t,0,0,function(){var t=this.utcOffset(),n="+";return 0>t&&(t=-t,n="-"),n+P(~~(t/60),2)+e+P(~~t%60,2)})}function Ft(t,e){var n=(e||"").match(t)||[],i=n[n.length-1]||[],r=(i+"").match(Br)||["-",0,0],a=+(60*r[1])+g(r[2]);return"+"===r[0]?a:-a}function Ot(e,n){var r,a;return n._isUTC?(r=n.clone(),a=(m(e)||i(e)?+e:+Ct(e))-+r,r._d.setTime(+r._d+a),t.updateOffset(r,!1),r):Ct(e).local()}function Rt(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function It(e,n){var i,r=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=Ft(fr,e):Math.abs(e)<16&&(e=60*e),!this._isUTC&&n&&(i=Rt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!n||this._changeInProgress?ne(this,Qt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?r:Rt(this):null!=e?this:NaN}function Nt(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function $t(t){return this.utcOffset(0,t)}function zt(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Rt(this),"m")),this}function Bt(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ft(pr,this._i)),this}function qt(t){return this.isValid()?(t=t?Ct(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function Vt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ut(){if(!h(this._isDSTShifted))return this._isDSTShifted;var t={};if(p(t,this),t=xt(t),t._a){var e=t._isUTC?o(t._a):Ct(t._a);this._isDSTShifted=this.isValid()&&y(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Jt(){return this.isValid()?!this._isUTC:!1}function Xt(){return this.isValid()?this._isUTC:!1}function Gt(){return this.isValid()?this._isUTC&&0===this._offset:!1}function Qt(t,e){var n,i,r,s=t,o=null;return Et(t)?s={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(s={},e?s[e]=t:s.milliseconds=t):(o=qr.exec(t))?(n="-"===o[1]?-1:1,s={y:0,d:g(o[wr])*n,h:g(o[Lr])*n,m:g(o[br])*n,s:g(o[kr])*n,ms:g(o[Yr])*n}):(o=Vr.exec(t))?(n="-"===o[1]?-1:1,s={y:Zt(o[2],n),M:Zt(o[3],n),d:Zt(o[4],n),h:Zt(o[5],n),m:Zt(o[6],n),s:Zt(o[7],n),w:Zt(o[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(r=te(Ct(s.from),Ct(s.to)),s={},s.ms=r.milliseconds,s.M=r.months),i=new Pt(s),Et(t)&&a(t,"_locale")&&(i._locale=t._locale),i}function Zt(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Kt(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 te(t,e){var n;return t.isValid()&&e.isValid()?(e=Ot(e,t),t.isBefore(e)?n=Kt(t,e):(n=Kt(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function ee(t,e){return function(n,i){var r,a;return null===i||isNaN(+i)||(st(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),a=n,n=i,i=a),n="string"==typeof n?+n:n,r=Qt(n,i),ne(this,r,t),this}}function ne(e,n,i,r){var a=n._milliseconds,s=n._days,o=n._months;e.isValid()&&(r=null==r?!0:r,a&&e._d.setTime(+e._d+a*i),s&&j(e,"Date",H(e,"Date")+s*i),o&&Q(e,H(e,"Month")+o*i),r&&t.updateOffset(e,s||o))}function ie(t,e){var n=t||Ct(),i=Ot(n,this).startOf("day"),r=this.diff(i,"days",!0),a=-6>r?"sameElse":-1>r?"lastWeek":0>r?"lastDay":1>r?"sameDay":2>r?"nextDay":7>r?"nextWeek":"sameElse",s=e&&(S(e[a])?e[a]():e[a]);return this.format(s||this.localeData().calendar(a,this,Ct(n)))}function re(){return new f(this)}function ae(t,e){var n=m(t)?t:Ct(t);return this.isValid()&&n.isValid()?(e=x(h(e)?"millisecond":e),"millisecond"===e?+this>+n:+n<+this.clone().startOf(e)):!1}function se(t,e){var n=m(t)?t:Ct(t);return this.isValid()&&n.isValid()?(e=x(h(e)?"millisecond":e),"millisecond"===e?+n>+this:+this.clone().endOf(e)<+n):!1}function oe(t,e,n){return this.isAfter(t,n)&&this.isBefore(e,n)}function le(t,e){var n,i=m(t)?t:Ct(t);return this.isValid()&&i.isValid()?(e=x(e||"millisecond"),"millisecond"===e?+this===+i:(n=+i,+this.clone().startOf(e)<=n&&n<=+this.clone().endOf(e))):!1}function ue(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function de(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function ce(t,e,n){var i,r,a,s;return this.isValid()?(i=Ot(t,this),i.isValid()?(r=6e4*(i.utcOffset()-this.utcOffset()),e=x(e),"year"===e||"month"===e||"quarter"===e?(s=he(this,i),"quarter"===e?s/=3:"year"===e&&(s/=12)):(a=this-i,s="second"===e?a/1e3:"minute"===e?a/6e4:"hour"===e?a/36e5:"day"===e?(a-r)/864e5:"week"===e?(a-r)/6048e5:a),n?s:_(s)):NaN):NaN}function he(t,e){var n,i,r=12*(e.year()-t.year())+(e.month()-t.month()),a=t.clone().add(r,"months");return 0>e-a?(n=t.clone().add(r-1,"months"),i=(e-a)/(a-n)):(n=t.clone().add(r+1,"months"),i=(e-a)/(n-a)),-(r+i)}function pe(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function fe(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?S(Date.prototype.toISOString)?this.toDate().toISOString():O(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):O(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function me(e){var n=O(this,e||t.defaultFormat);return this.localeData().postformat(n)}function _e(t,e){return this.isValid()&&(m(t)&&t.isValid()||Ct(t).isValid())?Qt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ge(t){return this.from(Ct(),t)}function ye(t,e){return this.isValid()&&(m(t)&&t.isValid()||Ct(t).isValid())?Qt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ve(t){return this.to(Ct(),t)}function Me(t){var e;return void 0===t?this._locale._abbr:(e=Y(t),null!=e&&(this._locale=e),this)}function we(){return this._locale}function Le(t){switch(t=x(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":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 be(t){return t=x(t),void 0===t||"millisecond"===t?this:this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")}function ke(){return+this._d-6e4*(this._offset||0)}function Ye(){return Math.floor(+this/1e3)}function Te(){return this._offset?new Date(+this):this._d}function xe(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function De(){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 Se(){return this.isValid()?this.toISOString():"null"}function Ce(){return d(this)}function He(){return s({},u(this))}function je(){return u(this).overflow}function Ae(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Pe(t,e){E(0,[t,t.length],0,e)}function Ee(t){return Re.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function We(t){return Re.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Fe(){return gt(this.year(),1,4)}function Oe(){var t=this.localeData()._week;return gt(this.year(),t.dow,t.doy)}function Re(t,e,n,i,r){var a;return null==t?_t(this,i,r).year:(a=gt(t,i,r),e>a&&(e=a),Ie.call(this,t,e,n,i,r))}function Ie(t,e,n,i,r){var a=mt(t,e,n,i,r),s=dt(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function Ne(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function $e(t){return _t(t,this._week.dow,this._week.doy).week}function ze(){return this._week.dow}function Be(){return this._week.doy}function qe(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Ve(t){var e=_t(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Ue(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function Je(t,e){return n(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]}function Xe(t){return this._weekdaysShort[t.day()]}function Ge(t){return this._weekdaysMin[t.day()]}function Qe(t,e,n){var i,r,a;for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;7>i;i++){if(r=Ct([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".",".?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}}function Ze(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Ue(t,this.localeData()),this.add(t-e,"d")):e}function Ke(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 tn(t){return this.isValid()?null==t?this.day()||7:this.day(this.day()%7?t:t-7):null!=t?this:NaN}function en(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 nn(){return this.hours()%12||12}function rn(t,e){E(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function an(t,e){return e._meridiemParse}function sn(t){return"p"===(t+"").toLowerCase().charAt(0)}function on(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function ln(t,e){e[Yr]=g(1e3*("0."+t))}function un(){return this._isUTC?"UTC":""}function dn(){return this._isUTC?"Coordinated Universal Time":""}function cn(t){return Ct(1e3*t)}function hn(){return Ct.apply(null,arguments).parseZone()}function pn(t,e,n){var i=this._calendar[t];return S(i)?i.call(e,n):i}function fn(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 mn(){return this._invalidDate}function _n(t){return this._ordinal.replace("%d",t)}function gn(t){return t}function yn(t,e,n,i){var r=this._relativeTime[n];return S(r)?r(t,e,n,i):r.replace(/%d/i,t)}function vn(t,e){var n=this._relativeTime[t>0?"future":"past"];return S(n)?n(e):n.replace(/%s/i,e)}function Mn(t){var e,n;for(n in t)e=t[n],S(e)?this[n]=e:this["_"+n]=e;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function wn(t,e,n,i){var r=Y(),a=o().set(i,e);return r[n](a,t)}function Ln(t,e,n,i,r){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return wn(t,e,n,r);var a,s=[];for(a=0;i>a;a++)s[a]=wn(t,a,n,r);return s}function bn(t,e){return Ln(t,e,"months",12,"month")}function kn(t,e){return Ln(t,e,"monthsShort",12,"month")}function Yn(t,e){return Ln(t,e,"weekdays",7,"day")}function Tn(t,e){return Ln(t,e,"weekdaysShort",7,"day")}function xn(t,e){return Ln(t,e,"weekdaysMin",7,"day")}function Dn(){var t=this._data;return this._milliseconds=_a(this._milliseconds),this._days=_a(this._days),this._months=_a(this._months),t.milliseconds=_a(t.milliseconds),t.seconds=_a(t.seconds),t.minutes=_a(t.minutes),t.hours=_a(t.hours),t.months=_a(t.months),t.years=_a(t.years),this}function Sn(t,e,n,i){var r=Qt(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function Cn(t,e){return Sn(this,t,e,1)}function Hn(t,e){return Sn(this,t,e,-1)}function jn(t){return 0>t?Math.floor(t):Math.ceil(t)}function An(){var t,e,n,i,r,a=this._milliseconds,s=this._days,o=this._months,l=this._data;return a>=0&&s>=0&&o>=0||0>=a&&0>=s&&0>=o||(a+=864e5*jn(En(o)+s),s=0,o=0),l.milliseconds=a%1e3,t=_(a/1e3),l.seconds=t%60,e=_(t/60),l.minutes=e%60,n=_(e/60),l.hours=n%24,s+=_(n/24),r=_(Pn(s)),o+=r,s-=jn(En(r)),i=_(o/12),o%=12,l.days=s,l.months=o,l.years=i,this}function Pn(t){return 4800*t/146097}function En(t){return 146097*t/4800}function Wn(t){var e,n,i=this._milliseconds;if(t=x(t),"month"===t||"year"===t)return e=this._days+i/864e5,n=this._months+Pn(e),"month"===t?n:n/12;switch(e=this._days+Math.round(En(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 Fn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*g(this._months/12)}function On(t){return function(){return this.as(t)}}function Rn(t){return t=x(t),this[t+"s"]()}function In(t){return function(){return this._data[t]}}function Nn(){return _(this.days()/7)}function $n(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function zn(t,e,n){var i=Qt(t).abs(),r=ja(i.as("s")),a=ja(i.as("m")),s=ja(i.as("h")),o=ja(i.as("d")),l=ja(i.as("M")),u=ja(i.as("y")),d=r<Aa.s&&["s",r]||1>=a&&["m"]||a<Aa.m&&["mm",a]||1>=s&&["h"]||s<Aa.h&&["hh",s]||1>=o&&["d"]||o<Aa.d&&["dd",o]||1>=l&&["M"]||l<Aa.M&&["MM",l]||1>=u&&["y"]||["yy",u];return d[2]=e,d[3]=+t>0,d[4]=n,$n.apply(null,d)}function Bn(t,e){return void 0===Aa[t]?!1:void 0===e?Aa[t]:(Aa[t]=e,!0)}function qn(t){var e=this.localeData(),n=zn(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Vn(){var t,e,n,i=Pa(this._milliseconds)/1e3,r=Pa(this._days),a=Pa(this._months);t=_(i/60),e=_(t/60),i%=60,t%=60,n=_(a/12),a%=12;var s=n,o=a,l=r,u=e,d=t,c=i,h=this.asSeconds();return h?(0>h?"-":"")+"P"+(s?s+"Y":"")+(o?o+"M":"")+(l?l+"D":"")+(u||d||c?"T":"")+(u?u+"H":"")+(d?d+"M":"")+(c?c+"S":""):"P0D"}function Un(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 Jn(t,e,n){var i={mm:e?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:e?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===n?e?"хвіліна":"хвіліну":"h"===n?e?"гадзіна":"гадзіну":t+" "+Un(i[n],+t)}function Xn(t,e,n){var i={mm:"munutenn",MM:"miz",dd:"devezh"};return t+" "+Zn(i[n],t)}function Gn(t){switch(Qn(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}function Qn(t){return t>9?Qn(t%10):t}function Zn(t,e){return 2===e?Kn(t):t}function Kn(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 ti(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 ei(t){return t>1&&5>t&&1!==~~(t/10)}function ni(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"pár sekund":"pár sekundami";case"m":return e?"minuta":i?"minutu":"minutou";case"mm":return e||i?r+(ei(t)?"minuty":"minut"):r+"minutami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(ei(t)?"hodiny":"hodin"):r+"hodinami";case"d":return e||i?"den":"dnem";case"dd":return e||i?r+(ei(t)?"dny":"dní"):r+"dny";case"M":return e||i?"měsíc":"měsícem";case"MM":return e||i?r+(ei(t)?"měsíce":"měsíců"):r+"měsíci";case"y":return e||i?"rok":"rokem";case"yy":return e||i?r+(ei(t)?"roky":"let"):r+"lety"}}function ii(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}function ri(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}function ai(t,e,n,i){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}function si(t,e,n,i){var r="";switch(n){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"m":return i?"minuutin":"minuutti";case"mm":r=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":r=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":r=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":r=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":r=i?"vuoden":"vuotta"}return r=oi(t,i)+" "+r}function oi(t,e){return 10>t?e?as[t]:rs[t]:t}function li(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 ui(t,e,n,i){var r=t;switch(n){case"s":return i||e?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(i||e?" perc":" perce");case"mm":return r+(i||e?" perc":" perce");case"h":return"egy"+(i||e?" óra":" órája");case"hh":return r+(i||e?" óra":" órája");case"d":return"egy"+(i||e?" nap":" napja");case"dd":return r+(i||e?" nap":" napja");case"M":return"egy"+(i||e?" hónap":" hónapja");case"MM":return r+(i||e?" hónap":" hónapja");case"y":return"egy"+(i||e?" év":" éve");case"yy":return r+(i||e?" év":" éve")}return""}function di(t){return(t?"":"[múlt] ")+"["+ms[this.day()]+"] LT[-kor]"}function ci(t){return t%100===11?!0:t%10!==1}function hi(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return e?"mínúta":"mínútu";case"mm":return ci(t)?r+(e||i?"mínútur":"mínútum"):e?r+"mínúta":r+"mínútu";case"hh":return ci(t)?r+(e||i?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return e?"dagur":i?"dag":"degi";case"dd":return ci(t)?e?r+"dagar":r+(i?"daga":"dögum"):e?r+"dagur":r+(i?"dag":"degi");case"M":return e?"mánuður":i?"mánuð":"mánuði";case"MM":return ci(t)?e?r+"mánuðir":r+(i?"mánuði":"mánuðum"):e?r+"mánuður":r+(i?"mánuð":"mánuði");case"y":return e||i?"ár":"ári";case"yy":return ci(t)?r+(e||i?"ár":"árum"):r+(e||i?"ár":"ári")}}function pi(t,e,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?r[n][0]:r[n][1]}function fi(t){var e=t.substr(0,t.indexOf(" "));return _i(e)?"a "+t:"an "+t}function mi(t){var e=t.substr(0,t.indexOf(" "));return _i(e)?"viru "+t:"virun "+t}function _i(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 _i(0===e?n:e)}if(1e4>t){for(;t>=10;)t/=10;return _i(t)}return t/=1e3,_i(t)}function gi(t,e,n,i){return e?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"}function yi(t,e,n,i){return e?Mi(n)[0]:i?Mi(n)[1]:Mi(n)[2]}function vi(t){return t%10===0||t>10&&20>t}function Mi(t){return gs[t].split("_")}function wi(t,e,n,i){var r=t+" ";return 1===t?r+yi(t,e,n[0],i):e?r+(vi(t)?Mi(n)[1]:Mi(n)[0]):i?r+Mi(n)[1]:r+(vi(t)?Mi(n)[1]:Mi(n)[2])}function Li(t,e,n){return n?e%10===1&&11!==e?t[2]:t[3]:e%10===1&&11!==e?t[0]:t[1]}function bi(t,e,n){return t+" "+Li(ys[n],t,e)}function ki(t,e,n){return Li(ys[n],t,e)}function Yi(t,e){return e?"dažas sekundes":"dažām sekundēm"}function Ti(t,e,n,i){var r="";if(e)switch(n){case"s":r=" ";break;case"m":r=" िि";break;case"mm":r="%d िि";break;case"h":r=" ";break;case"hh":r="%d ";break;case"d":r=" ि";break;case"dd":r="%d ि";break;case"M":r=" ि";break;case"MM":r="%d ि";break;case"y":r=" ";break;case"yy":r="%d "}else switch(n){case"s":r=" ";break;case"m":r=" िि";break;case"mm":r="%d िि";break;case"h":r=" ";break;case"hh":r="%d ";break;case"d":r=" ि";break;case"dd":r="%d ि";break;case"M":r=" ि";break;case"MM":r="%d ि";break;case"y":r=" ";break;case"yy":r="%d "}return r.replace(/%d/i,t)}function xi(t){return 5>t%10&&t%10>1&&~~(t/10)%10!==1}function Di(t,e,n){var i=t+" ";switch(n){case"m":return e?"minuta":"minutę";case"mm":return i+(xi(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return i+(xi(t)?"godziny":"godzin");case"MM":return i+(xi(t)?"miesiące":"miesięcy");case"yy":return i+(xi(t)?"lata":"lat")}}function Si(t,e,n){var i={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},r=" ";return(t%100>=20||t>=100&&t%100===0)&&(r=" de "),t+r+i[n]}function Ci(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 Hi(t,e,n){var i={mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===n?e?"минута":"минуту":t+" "+Ci(i[n],+t)}function ji(t){return t>1&&5>t}function Ai(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"pár sekúnd":"pár sekundami";case"m":return e?"minúta":i?"minútu":"minútou";case"mm":return e||i?r+(ji(t)?"minúty":"minút"):r+"minútami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(ji(t)?"hodiny":"hodín"):r+"hodinami";case"d":return e||i?"deň":"dňom";case"dd":return e||i?r+(ji(t)?"dni":"dní"):r+"dňami";case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?r+(ji(t)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return e||i?"rok":"rokom";case"yy":return e||i?r+(ji(t)?"roky":"rokov"):r+"rokmi"}}function Pi(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"nekaj sekund":"nekaj sekundami";case"m":return e?"ena minuta":"eno minuto";case"mm":return r+=1===t?e?"minuta":"minuto":2===t?e||i?"minuti":"minutama":5>t?e||i?"minute":"minutami":e||i?"minut":"minutami";case"h":return e?"ena ura":"eno uro";case"hh":return r+=1===t?e?"ura":"uro":2===t?e||i?"uri":"urama":5>t?e||i?"ure":"urami":e||i?"ur":"urami";case"d":return e||i?"en dan":"enim dnem";case"dd":return r+=1===t?e||i?"dan":"dnem":2===t?e||i?"dni":"dnevoma":e||i?"dni":"dnevi";case"M":return e||i?"en mesec":"enim mesecem";case"MM":return r+=1===t?e||i?"mesec":"mesecem":2===t?e||i?"meseca":"mesecema":5>t?e||i?"mesece":"meseci":e||i?"mesecev":"meseci";case"y":return e||i?"eno leto":"enim letom";
case"yy":return r+=1===t?e||i?"leto":"letom":2===t?e||i?"leti":"letoma":5>t?e||i?"leta":"leti":e||i?"let":"leti"}}function Ei(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 Wi(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 Fi(t,e,n,i){var r=Oi(t);switch(n){case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}function Oi(t){var e=Math.floor(t%1e3/100),n=Math.floor(t%100/10),i=t%10,r="";return e>0&&(r+=Fs[e]+"vatlh"),n>0&&(r+=(""!==r?" ":"")+Fs[n]+"maH"),i>0&&(r+=(""!==r?" ":"")+Fs[i]),""===r?"pagh":r}function Ri(t,e,n,i){var r={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[t+" míuts",""+t+" míuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",""+t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",""+t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",""+t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",""+t+" ars"]};return i?r[n][0]:e?r[n][0]:r[n][1]}function Ii(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 Ni(t,e,n){var i={mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:ень_дні_днів",MM:ісяць_місяціісяців",yy:"рік_роки_років"};return"m"===n?e?"хвилина":"хвилину":"h"===n?e?"година":"годину":t+" "+Ii(i[n],+t)}function $i(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 zi(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}var Bi,qi,Vi=t.momentProperties=[],Ui=!1,Ji={},Xi={},Gi=/(\[[^\[]*\])|(\\)?([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?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Qi=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Zi={},Ki={},tr=/\d/,er=/\d\d/,nr=/\d{3}/,ir=/\d{4}/,rr=/[+-]?\d{6}/,ar=/\d\d?/,sr=/\d\d\d\d?/,or=/\d\d\d\d\d\d?/,lr=/\d{1,3}/,ur=/\d{1,4}/,dr=/[+-]?\d{1,6}/,cr=/\d+/,hr=/[+-]?\d+/,pr=/Z|[+-]\d\d:?\d\d/gi,fr=/Z|[+-]\d\d(?::?\d\d)?/gi,mr=/[+-]?\d+(\.\d{1,3})?/,_r=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,gr={},yr={},vr=0,Mr=1,wr=2,Lr=3,br=4,kr=5,Yr=6,Tr=7,xr=8;E("M",["MM",2],"Mo",function(){return this.month()+1}),E("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),E("MMMM",0,0,function(t){return this.localeData().months(this,t)}),T("month","M"),I("M",ar),I("MM",ar,er),I("MMM",function(t,e){return e.monthsShortRegex(t)}),I("MMMM",function(t,e){return e.monthsRegex(t)}),B(["M","MM"],function(t,e){e[Mr]=g(t)-1}),B(["MMM","MMMM"],function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[Mr]=r:u(n).invalidMonth=t});var Dr=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,Sr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Cr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Hr=_r,jr=_r,Ar={};t.suppressDeprecationWarnings=!1;var Pr=/^\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)?)?/,Er=/^\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)?)?/,Wr=/Z|[+-]\d\d(?::?\d\d)?/,Fr=[["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}/]],Or=[["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/]],Rr=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=at("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":""))}),E("Y",0,0,function(){var t=this.year();return 9999>=t?""+t:"+"+t}),E(0,["YY",2],0,function(){return this.year()%100}),E(0,["YYYY",4],0,"year"),E(0,["YYYYY",5],0,"year"),E(0,["YYYYYY",6,!0],0,"year"),T("year","y"),I("Y",hr),I("YY",ar,er),I("YYYY",ur,ir),I("YYYYY",dr,rr),I("YYYYYY",dr,rr),B(["YYYYY","YYYYYY"],vr),B("YYYY",function(e,n){n[vr]=2===e.length?t.parseTwoDigitYear(e):g(e)}),B("YY",function(e,n){n[vr]=t.parseTwoDigitYear(e)}),B("Y",function(t,e){e[vr]=parseInt(t,10)}),t.parseTwoDigitYear=function(t){return g(t)+(g(t)>68?1900:2e3)};var Ir=C("FullYear",!1);t.ISO_8601=function(){};var Nr=at("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=Ct.apply(null,arguments);return this.isValid()&&t.isValid()?this>t?this:t:c()}),$r=at("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=Ct.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:c()}),zr=function(){return Date.now?Date.now():+new Date};Wt("Z",":"),Wt("ZZ",""),I("Z",fr),I("ZZ",fr),B(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ft(fr,t)});var Br=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var qr=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,Vr=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;Qt.fn=Pt.prototype;var Ur=ee(1,"add"),Jr=ee(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Xr=at("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)});E(0,["gg",2],0,function(){return this.weekYear()%100}),E(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Pe("gggg","weekYear"),Pe("ggggg","weekYear"),Pe("GGGG","isoWeekYear"),Pe("GGGGG","isoWeekYear"),T("weekYear","gg"),T("isoWeekYear","GG"),I("G",hr),I("g",hr),I("GG",ar,er),I("gg",ar,er),I("GGGG",ur,ir),I("gggg",ur,ir),I("GGGGG",dr,rr),I("ggggg",dr,rr),q(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=g(t)}),q(["gg","GG"],function(e,n,i,r){n[r]=t.parseTwoDigitYear(e)}),E("Q",0,"Qo","quarter"),T("quarter","Q"),I("Q",tr),B("Q",function(t,e){e[Mr]=3*(g(t)-1)}),E("w",["ww",2],"wo","week"),E("W",["WW",2],"Wo","isoWeek"),T("week","w"),T("isoWeek","W"),I("w",ar),I("ww",ar,er),I("W",ar),I("WW",ar,er),q(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=g(t)});var Gr={dow:0,doy:6};E("D",["DD",2],"Do","date"),T("date","D"),I("D",ar),I("DD",ar,er),I("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),B(["D","DD"],wr),B("Do",function(t,e){e[wr]=g(t.match(ar)[0],10)});var Qr=C("Date",!0);E("d",0,"do","day"),E("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),E("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),E("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),E("e",0,0,"weekday"),E("E",0,0,"isoWeekday"),T("day","d"),T("weekday","e"),T("isoWeekday","E"),I("d",ar),I("e",ar),I("E",ar),I("dd",_r),I("ddd",_r),I("dddd",_r),q(["dd","ddd","dddd"],function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:u(n).invalidWeekday=t}),q(["d","e","E"],function(t,e,n,i){e[i]=g(t)});var Zr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Kr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ta="Su_Mo_Tu_We_Th_Fr_Sa".split("_");E("DDD",["DDDD",3],"DDDo","dayOfYear"),T("dayOfYear","DDD"),I("DDD",lr),I("DDDD",nr),B(["DDD","DDDD"],function(t,e,n){n._dayOfYear=g(t)}),E("H",["HH",2],0,"hour"),E("h",["hh",2],0,nn),E("hmm",0,0,function(){return""+nn.apply(this)+P(this.minutes(),2)}),E("hmmss",0,0,function(){return""+nn.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)}),E("Hmm",0,0,function(){return""+this.hours()+P(this.minutes(),2)}),E("Hmmss",0,0,function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)}),rn("a",!0),rn("A",!1),T("hour","h"),I("a",an),I("A",an),I("H",ar),I("h",ar),I("HH",ar,er),I("hh",ar,er),I("hmm",sr),I("hmmss",or),I("Hmm",sr),I("Hmmss",or),B(["H","HH"],Lr),B(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),B(["h","hh"],function(t,e,n){e[Lr]=g(t),u(n).bigHour=!0}),B("hmm",function(t,e,n){var i=t.length-2;e[Lr]=g(t.substr(0,i)),e[br]=g(t.substr(i)),u(n).bigHour=!0}),B("hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[Lr]=g(t.substr(0,i)),e[br]=g(t.substr(i,2)),e[kr]=g(t.substr(r)),u(n).bigHour=!0}),B("Hmm",function(t,e,n){var i=t.length-2;e[Lr]=g(t.substr(0,i)),e[br]=g(t.substr(i))}),B("Hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[Lr]=g(t.substr(0,i)),e[br]=g(t.substr(i,2)),e[kr]=g(t.substr(r))});var ea=/[ap]\.?m?\.?/i,na=C("Hours",!0);E("m",["mm",2],0,"minute"),T("minute","m"),I("m",ar),I("mm",ar,er),B(["m","mm"],br);var ia=C("Minutes",!1);E("s",["ss",2],0,"second"),T("second","s"),I("s",ar),I("ss",ar,er),B(["s","ss"],kr);var ra=C("Seconds",!1);E("S",0,0,function(){return~~(this.millisecond()/100)}),E(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),E(0,["SSS",3],0,"millisecond"),E(0,["SSSS",4],0,function(){return 10*this.millisecond()}),E(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),E(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),E(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),E(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),E(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),T("millisecond","ms"),I("S",lr,tr),I("SS",lr,er),I("SSS",lr,nr);var aa;for(aa="SSSS";aa.length<=9;aa+="S")I(aa,cr);for(aa="S";aa.length<=9;aa+="S")B(aa,ln);var sa=C("Milliseconds",!1);E("z",0,0,"zoneAbbr"),E("zz",0,0,"zoneName");var oa=f.prototype;oa.add=Ur,oa.calendar=ie,oa.clone=re,oa.diff=ce,oa.endOf=be,oa.format=me,oa.from=_e,oa.fromNow=ge,oa.to=ye,oa.toNow=ve,oa.get=A,oa.invalidAt=je,oa.isAfter=ae,oa.isBefore=se,oa.isBetween=oe,oa.isSame=le,oa.isSameOrAfter=ue,oa.isSameOrBefore=de,oa.isValid=Ce,oa.lang=Xr,oa.locale=Me,oa.localeData=we,oa.max=$r,oa.min=Nr,oa.parsingFlags=He,oa.set=A,oa.startOf=Le,oa.subtract=Jr,oa.toArray=xe,oa.toObject=De,oa.toDate=Te,oa.toISOString=fe,oa.toJSON=Se,oa.toString=pe,oa.unix=Ye,oa.valueOf=ke,oa.creationData=Ae,oa.year=Ir,oa.isLeapYear=pt,oa.weekYear=Ee,oa.isoWeekYear=We,oa.quarter=oa.quarters=Ne,oa.month=Z,oa.daysInMonth=K,oa.week=oa.weeks=qe,oa.isoWeek=oa.isoWeeks=Ve,oa.weeksInYear=Oe,oa.isoWeeksInYear=Fe,oa.date=Qr,oa.day=oa.days=Ze,oa.weekday=Ke,oa.isoWeekday=tn,oa.dayOfYear=en,oa.hour=oa.hours=na,oa.minute=oa.minutes=ia,oa.second=oa.seconds=ra,oa.millisecond=oa.milliseconds=sa,oa.utcOffset=It,oa.utc=$t,oa.local=zt,oa.parseZone=Bt,oa.hasAlignedHourOffset=qt,oa.isDST=Vt,oa.isDSTShifted=Ut,oa.isLocal=Jt,oa.isUtcOffset=Xt,oa.isUtc=Gt,oa.isUTC=Gt,oa.zoneAbbr=un,oa.zoneName=dn,oa.dates=at("dates accessor is deprecated. Use date instead.",Qr),oa.months=at("months accessor is deprecated. Use month instead",Z),oa.years=at("years accessor is deprecated. Use year instead",Ir),oa.zone=at("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Nt);var la=oa,ua={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},da={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},ca="Invalid date",ha="%d",pa=/\d{1,2}/,fa={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"},ma=v.prototype;ma._calendar=ua,ma.calendar=pn,ma._longDateFormat=da,ma.longDateFormat=fn,ma._invalidDate=ca,ma.invalidDate=mn,ma._ordinal=ha,ma.ordinal=_n,ma._ordinalParse=pa,ma.preparse=gn,ma.postformat=gn,ma._relativeTime=fa,ma.relativeTime=yn,ma.pastFuture=vn,ma.set=Mn,ma.months=J,ma._months=Sr,ma.monthsShort=X,ma._monthsShort=Cr,ma.monthsParse=G,ma._monthsRegex=jr,ma.monthsRegex=et,ma._monthsShortRegex=Hr,ma.monthsShortRegex=tt,ma.week=$e,ma._week=Gr,ma.firstDayOfYear=Be,ma.firstDayOfWeek=ze,ma.weekdays=Je,ma._weekdays=Zr,ma.weekdaysMin=Ge,ma._weekdaysMin=ta,ma.weekdaysShort=Xe,ma._weekdaysShort=Kr,ma.weekdaysParse=Qe,ma.isPM=sn,ma._meridiemParse=ea,ma.meridiem=on,b("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===g(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),t.lang=at("moment.lang is deprecated. Use moment.locale instead.",b),t.langData=at("moment.langData is deprecated. Use moment.localeData instead.",Y);var _a=Math.abs,ga=On("ms"),ya=On("s"),va=On("m"),Ma=On("h"),wa=On("d"),La=On("w"),ba=On("M"),ka=On("y"),Ya=In("milliseconds"),Ta=In("seconds"),xa=In("minutes"),Da=In("hours"),Sa=In("days"),Ca=In("months"),Ha=In("years"),ja=Math.round,Aa={s:45,m:45,h:22,d:26,M:11},Pa=Math.abs,Ea=Pt.prototype;Ea.abs=Dn,Ea.add=Cn,Ea.subtract=Hn,Ea.as=Wn,Ea.asMilliseconds=ga,Ea.asSeconds=ya,Ea.asMinutes=va,Ea.asHours=Ma,Ea.asDays=wa,Ea.asWeeks=La,Ea.asMonths=ba,Ea.asYears=ka,Ea.valueOf=Fn,Ea._bubble=An,Ea.get=Rn,Ea.milliseconds=Ya,Ea.seconds=Ta,Ea.minutes=xa,Ea.hours=Da,Ea.days=Sa,Ea.weeks=Nn,Ea.months=Ca,Ea.years=Ha,Ea.humanize=qn,Ea.toISOString=Vn,Ea.toString=Vn,Ea.toJSON=Vn,Ea.locale=Me,Ea.localeData=we,Ea.toIsoString=at("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Vn),Ea.lang=Xr,E("X",0,0,"unix"),E("x",0,0,"valueOf"),I("x",hr),I("X",mr),B("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),B("x",function(t,e,n){n._d=new Date(g(t))}),t.version="2.11.2",e(Ct),t.fn=la,t.min=jt,t.max=At,t.now=zr,t.utc=o,t.unix=cn,t.months=bn,t.isDate=i,t.locale=b,t.invalid=c,t.duration=Qt,t.isMoment=m,t.weekdays=Yn,t.parseZone=hn,t.localeData=Y,t.isDuration=Et,t.monthsShort=kn,t.weekdaysMin=xn,t.defineLocale=k,t.weekdaysShort=Tn,t.normalizeUnits=x,t.relativeTimeThreshold=Bn,t.prototype=la;var Wa=t,Fa=(Wa.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}}),Wa.defineLocale("ar-ma",{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:6,doy:12}}),{1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"}),Oa={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},Ra=(Wa.defineLocale("ar-sa",{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"},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 Oa[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return Fa[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),Wa.defineLocale("ar-tn",{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}}),{1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"}),Ia={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},Na=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&10>=t%100?3:t%100>=11?4:5},$a={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},za=function(t){return function(e,n,i,r){var a=Na(e),s=$a[t][Na(e)];return 2===a&&(s=s[n?0:1]),s.replace(/%d/i,e)}},Ba=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"],qa=(Wa.defineLocale("ar",{months:Ba,monthsShort:Ba,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),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:za("s"),m:za("m"),mm:za("m"),h:za("h"),hh:za("h"),d:za("d"),dd:za("d"),M:za("M"),MM:za("M"),y:za("y"),yy:za("y")},preparse:function(t){return t.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return Ia[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return Ra[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ı"}),Va=(Wa.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("_"),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+(qa[e]||qa[n]||qa[i])},week:{dow:1,doy:7}}),Wa.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:Jn,mm:Jn,h:Jn,hh:Jn,d:"дзень",dd:Jn,M:"месяц",MM:Jn,y:"год",yy:Jn},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}}),Wa.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:""}),Ua={"১":"1","২":"2","৩":"3","":"4","৫":"5","৬":"6","":"7","৮":"8","৯":"9","":"0"},Ja=(Wa.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 Ua[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return Va[t]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,isPM:function(t){return/^(দুপুর|বিকাল|রাত)$/.test(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:"༠"}),Xa={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},Ga=(Wa.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 Xa[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return Ja[t]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,isPM:function(t){return/^(ཉིན་གུང|དགོང་དག|མཚན་མོ)$/.test(t)},meridiem:function(t,e,n){return 4>t?"མཚན་མོ":10>t?"ཞོགས་ཀས":17>t?"ཉིན་གུང":20>t?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}}),Wa.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("_"),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:Xn,h:"un eur",hh:"%d eur",d:"un devezh",dd:Xn,M:"ur miz",MM:Xn,y:"ur bloaz",yy:Gn},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){var e=1===t?"añ":"vet";return t+e},week:{dow:1,doy:4}}),Wa.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("_"),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("_"),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:ti,mm:ti,h:ti,hh:ti,d:"dan",dd:ti,M:"mjesec",MM:ti,y:"godinu",yy:ti},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),Wa.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("_"),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("_"),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("_")),Qa="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),Za=(Wa.defineLocale("cs",{months:Ga,monthsShort:Qa,monthsParse:function(t,e){var n,i=[];for(n=0;12>n;n++)i[n]=new RegExp("^"+t[n]+"$|^"+e[n]+"$","i");
return i}(Ga,Qa),shortMonthsParse:function(t){var e,n=[];for(e=0;12>e;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(Qa),longMonthsParse:function(t){var e,n=[];for(e=0;12>e;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(Ga),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:ni,m:ni,mm:ni,h:ni,hh:ni,d:ni,dd:ni,M:ni,MM:ni,y:ni,yy:ni},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Wa.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}}),Wa.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("_"),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}}),Wa.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}}),Wa.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("_"),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("_"),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:ii,mm:"%d Minuten",h:ii,hh:"%d Stunden",d:ii,dd:ii,M:ii,MM:ii,y:ii,yy:ii},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Wa.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("_"),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("_"),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:ri,mm:"%d Minuten",h:ri,hh:"%d Stunden",d:ri,dd:ri,M:ri,MM:ri,y:ri,yy:ri},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"]),Ka=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],ts=(Wa.defineLocale("dv",{months:Za,monthsShort:Za,weekdays:Ka,weekdaysShort:Ka,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}}),Wa.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 S(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}}),Wa.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}}),Wa.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:"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}}),Wa.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}}),Wa.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}}),Wa.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}}),Wa.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("_")),es="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),ns=(Wa.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,e){return/-MMM-/.test(e)?es[t.month()]:ts[t.month()]},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("_"),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}}),Wa.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:ai,m:ai,mm:ai,h:ai,hh:ai,d:ai,dd:"%d päeva",M:ai,MM:ai,y:ai,yy:ai},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Wa.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("_"),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("_"),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:"۰"}),is={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},rs=(Wa.defineLocale("fa",{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"},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 is[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return ns[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(" ")),as=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",rs[7],rs[8],rs[9]],ss=(Wa.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:si,m:si,mm:si,h:si,hh:si,d:si,dd:si,M:si,MM:si,y:si,yy:si},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Wa.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}}),Wa.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("_"),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("_"),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")}}),Wa.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("_"),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("_"),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}}),Wa.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("_"),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("_"),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("_")),os="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),ls=(Wa.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,e){return/-MMM-/.test(e)?os[t.month()]:ss[t.month()]},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("_"),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"]),us=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],ds=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],cs=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],hs=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],ps=(Wa.defineLocale("gd",{months:ls,monthsShort:us,monthsParseExact:!0,weekdays:ds,weekdaysShort:cs,weekdaysMin:hs,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}}),Wa.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("_"),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("_"),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}}),Wa.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+" שנים"}}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:""}),fs={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"},ms=(Wa.defineLocale("hi",{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 fs[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return ps[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}}),Wa.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("_"),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("_"),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:li,mm:li,h:li,hh:li,d:"dan",dd:li,M:"mjesec",MM:li,y:"godinu",yy:li},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(" ")),_s=(Wa.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 di.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return di.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%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}}),Wa.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}}),Wa.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}}),Wa.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:hi,m:hi,mm:hi,h:"klukkustund",hh:hi,d:hi,dd:hi,M:hi,MM:hi,y:hi,yy:hi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Wa.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}}),Wa.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"},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年"}}),Wa.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}}),Wa.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:"-ші"}),gs=(Wa.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+(_s[t]||_s[e]||_s[n])},week:{dow:1,doy:7}}),Wa.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}}),Wa.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?"오전":"오후"}}),Wa.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("_"),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("_"),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:fi,past:mi,s:"e puer Sekonnen",m:pi,mm:"%d Minutten",h:pi,hh:"%d Stonnen",d:pi,dd:"%d Deeg",M:pi,MM:"%d Méint",y:pi,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Wa.defineLocale("lo",{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"},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"}),ys=(Wa.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("_"),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:gi,m:yi,mm:wi,h:yi,hh:wi,d:yi,dd:wi,M:yi,MM:wi,y:yi,yy:wi},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("_")}),vs=(Wa.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("_"),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:Yi,m:ki,mm:bi,h:ki,hh:bi,d:ki,dd:bi,M:ki,MM:bi,y:ki,yy:bi},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=vs.words[n];return 1===n.length?e?i[0]:i[1]:t+" "+vs.correctGrammaticalCase(t,i)}}),Ms=(Wa.defineLocale("me",{months:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"],monthsShort:["jan.","feb.","mar.","apr.","maj","jun","jul","avg.","sep.","okt.","nov.","dec."],weekdays:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],weekdaysShort:["ned.","pon.","uto.","sri.","čet.","pet.","sub."],weekdaysMin:["ne","po","ut","sr","če","pe","su"],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:vs.translate,mm:vs.translate,h:vs.translate,hh:vs.translate,d:"dan",dd:vs.translate,M:"mjesec",MM:vs.translate,y:"godinu",yy:vs.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),Wa.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}}),Wa.defineLocale("ml",{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 വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,isPM:function(t){return/^(ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി)$/.test(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:""}),ws={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"},Ls=(Wa.defineLocale("mr",{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:Ti,m:Ti,mm:Ti,h:Ti,hh:Ti,d:Ti,dd:Ti,M:Ti,MM:Ti,y:Ti,yy:Ti},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return ws[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return Ms[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}}),Wa.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}}),Wa.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"},ks=(Wa.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 Ls[t]})},week:{dow:1,doy:4}}),Wa.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("_"),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("_"),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:"for %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:""}),Ys={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"},Ts=(Wa.defineLocale("ne",{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 बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return Ys[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return ks[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("_")),xs="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),Ds=(Wa.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,e){return/-MMM-/.test(e)?xs[t.month()]:Ts[t.month()]},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("_"),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}}),Wa.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:"for %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}}),"styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_")),Ss="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),Cs=(Wa.defineLocale("pl",{months:function(t,e){return""===e?"("+Ss[t.month()]+"|"+Ds[t.month()]+")":/D MMMM/.test(e)?Ss[t.month()]:Ds[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:Di,mm:Di,h:Di,hh:Di,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:Di,y:"rok",yy:Di},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Wa.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("_"),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º"}),Wa.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("_"),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}}),Wa.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("_"),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:Si,h:"o oră",hh:Si,d:"o zi",dd:Si,M:"o lună",MM:Si,y:"un an",yy:Si},week:{dow:1,doy:7}}),[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[й|я]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i]),Hs=(Wa.defineLocale("ru",{months:{format:"Января_Февраля_Марта_Апреля_Мая_Июня_Июля_Августа_Сентября_Октября_Ноября_Декабря".split("_"),standalone:"Январь_Февраль_Март_Апрель_Май_Июнь_Июль_Август_Сентябрь_Октябрь_Ноябрь_Декабрь".split("_")},monthsShort:{format:"янв_фев_мар_апрая_июня_июля_авг_сен_окт_ноя_дек".split("_"),standalone:"янв_фев_март_апрай_июнь_июль_авг_сен_окт_ноя_дек".split("_")},weekdays:{standalone:"Воскресеньеонедельник_Вторник_Средаетверг_Пятница_Суббота".split("_"),format:"Воскресеньеонедельник_Вторник_Средуетверг_Пятницу_Субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"Вс_Пн_Вт_Ср_Чт_Пт_Сб".split("_"),weekdaysMin:"Вс_Пн_Вт_Ср_Чт_Пт_Сб".split("_"),monthsParse:Cs,longMonthsParse:Cs,shortMonthsParse:Cs,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:Hi,mm:Hi,h:"час",hh:Hi,d:"день",dd:Hi,M:"месяц",MM:Hi,y:"год",yy:Hi},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}}),Wa.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}}),Wa.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),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+" වැනි"},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("_")),js="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),As=(Wa.defineLocale("sk",{months:Hs,monthsShort:js,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:Ai,m:Ai,mm:Ai,h:Ai,hh:Ai,d:Ai,dd:Ai,M:Ai,MM:Ai,y:Ai,yy:Ai},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Wa.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("_"),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("_"),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:Pi,m:Pi,mm:Pi,h:Pi,hh:Pi,d:Pi,dd:Pi,M:Pi,MM:Pi,y:Pi,yy:Pi},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),Wa.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("_"),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=As.words[n];return 1===n.length?e?i[0]:i[1]:t+" "+As.correctGrammaticalCase(t,i)}}),Ps=(Wa.defineLocale("sr-cyrl",{months:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"],monthsShort:["јан.","феб.","мар.","апр.","мај","јун","јул","авг.","сеп.","окт.","нов.","дец."],weekdays:["недеља","понедељак","уторак","среда","четвртак","петак","субота"],weekdaysShort:["нед.","пон.","уто.","сре.","чет.","пет.","суб."],weekdaysMin:["не","по","ут","ср","че","пе","су"],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:As.translate,mm:As.translate,h:As.translate,hh:As.translate,d:"дан",dd:As.translate,M:"месец",MM:As.translate,y:"годину",yy:As.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=Ps.words[n];return 1===n.length?e?i[0]:i[1]:t+" "+Ps.correctGrammaticalCase(t,i)}}),Es=(Wa.defineLocale("sr",{months:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"],monthsShort:["jan.","feb.","mar.","apr.","maj","jun","jul","avg.","sep.","okt.","nov.","dec."],weekdays:["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],weekdaysShort:["ned.","pon.","uto.","sre.","čet.","pet.","sub."],weekdaysMin:["ne","po","ut","sr","če","pe","su"],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:Ps.translate,mm:Ps.translate,h:Ps.translate,hh:Ps.translate,d:"dan",dd:Ps.translate,M:"mesec",MM:Ps.translate,y:"godinu",yy:Ps.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),Wa.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 HH:mm",LLLL:"dddd D MMMM 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}}),Wa.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("_"),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:""}),Ws={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","":"0"},Fs=(Wa.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 Ws[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return Es[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}}),Wa.defineLocale("te",{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 సంవత్సరాలు"},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}}),Wa.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา".split("_"),weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),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 ปี"}}),Wa.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("_")),Os=(Wa.defineLocale("tlh",{months:"tera jar wa_tera jar cha_tera jar wej_tera jar loS_tera jar vagh_tera jar jav_tera jar Soch_tera jar chorgh_tera jar Hut_tera jar wamaH_tera jar wamaH wa_tera jar wamaH cha".split("_"),monthsShort:"jar wa_jar cha_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wamaH_jar wamaH wa_jar wamaH cha".split("_"),weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[waleS] LT",nextWeek:"LLL",lastDay:"[waHu] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:Ei,past:Wi,s:"puS lup",m:"wa tup",mm:Fi,h:"wa rep",hh:Fi,d:"wa jaj",dd:Fi,M:"wa jar",MM:Fi,y:"wa DIS",yy:Fi},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ı"}),Rs=(Wa.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+(Os[e]||Os[n]||Os[i])},week:{dow:1,doy:7}}),Wa.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"},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:Ri,m:Ri,mm:Ri,h:Ri,hh:Ri,d:Ri,dd:Ri,M:Ri,MM:Ri,y:Ri,yy:Ri},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Wa.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}}),Wa.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}}),Wa.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_веровт_лист_груд".split("_"),weekdays:$i,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:zi("[Сьогодні "),nextDay:zi("[Завтра "),lastDay:zi("[Вчора "),nextWeek:zi("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return zi("[Минулої] dddd [").call(this);case 1:case 2:case 4:return zi("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:Ni,mm:Ni,h:"годину",hh:Ni,d:"день",dd:Ni,M:"місяць",MM:Ni,y:"рік",yy:Ni},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}}),Wa.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}}),Wa.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("_"),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("_"),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}}),Wa.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=Wa().startOf("week"),e=this.unix()-t.unix()>=604800?"[下]":"[本]",0===this.minutes()?e+"dddAh点整":e+"dddAh点mm"},lastWeek:function(){var t,e;return t=Wa().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}}),Wa.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:"一分鐘",mm:"%d分鐘",h:"一小時",hh:"%d小時",d:"一天",dd:"%d天",M:"一個月",MM:"%d個月",y:"一年",yy:"%d年"}}),Wa);return Rs.locale("en"),Rs}),function(t,e){"use strict";if("function"==typeof define&&define.amd)define(["jquery","moment"],e);else if("object"==typeof exports)e(require("jquery"),require("moment"));else{if(!jQuery)throw new Error("bootstrap-datetimepicker requires jQuery to be loaded first");if(!moment)throw new Error("bootstrap-datetimepicker requires moment.js to be loaded first");e(t.jQuery,moment)}}(this,function(t,e){"use strict";if("undefined"==typeof e)throw new Error("momentjs is required");var n=0,i=function(i,r){var a,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,u=!1,d=function(){var a,u,d=!1;if(l.options=t.extend({},s,r),l.options.icons=t.extend({},o,l.options.icons),l.element=t(i),h(),!l.options.pickTime&&!l.options.pickDate)throw new Error("Must choose at least one picker");if(l.id=n++,e.locale(l.options.language),l.date=e(),l.unset=!1,l.isInput=l.element.is("input"),l.component=!1,l.element.hasClass("input-group")&&(0===l.element.find(".datepickerbutton").size()?l.component=l.element.find('[class^="input-group-"]'):l.component=l.element.find(".datepickerbutton")),l.format=l.options.format,a=e().localeData(),l.format||(l.format=l.options.pickDate?a.longDateFormat("L"):"",l.options.pickDate&&l.options.pickTime&&(l.format+=" "),l.format+=l.options.pickTime?a.longDateFormat("LT"):"",l.options.useSeconds&&(-1!==a.longDateFormat("LT").indexOf(" A")?l.format=l.format.split(" A")[0]+":ss A":l.format+=":ss")),l.use24hours=l.format.toLowerCase().indexOf("a")<0&&l.format.indexOf("h")<0,l.component&&(d=l.component.find("span")),l.options.pickTime&&d&&d.addClass(l.options.icons.time),l.options.pickDate&&d&&(d.removeClass(l.options.icons.time),d.addClass(l.options.icons.date)),l.options.widgetParent="string"==typeof l.options.widgetParent&&l.options.widgetParent||l.element.parents().filter(function(){return"scroll"===t(this).css("overflow-y")}).get(0)||"body",l.widget=t($()).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=I(l.options.disabledDates),l.options.enabledDates=I(l.options.enabledDates),l.startViewMode=l.viewMode,l.setMinDate(l.options.minDate),l.setMaxDate(l.options.maxDate),g(),y(),M(),w(),L(),_(),C(),c().prop("disabled")||H(),""!==l.options.defaultDate&&""===c().val()&&l.setValue(l.options.defaultDate),1!==l.options.minuteStepping&&(u=l.options.minuteStepping,l.date.minutes(Math.round(l.date.minutes()/u)*u%60).seconds(0))},c=function(){var t;if(l.isInput)return l.element;if(t=l.element.find(".datepickerinput"),0===t.size())t=l.element.find("input");else if(!t.is("input"))throw new Error('CSS class "datepickerinput" cannot be applied to non input element');return t},h=function(){var t;t=l.element.is("input")?l.element.data():l.element.find("input").data(),void 0!==t.dateFormat&&(l.options.format=t.dateFormat),void 0!==t.datePickdate&&(l.options.pickDate=t.datePickdate),void 0!==t.datePicktime&&(l.options.pickTime=t.datePicktime),void 0!==t.dateUseminutes&&(l.options.useMinutes=t.dateUseminutes),void 0!==t.dateUseseconds&&(l.options.useSeconds=t.dateUseseconds),void 0!==t.dateUsecurrent&&(l.options.useCurrent=t.dateUsecurrent),void 0!==t.calendarWeeks&&(l.options.calendarWeeks=t.calendarWeeks),void 0!==t.dateMinutestepping&&(l.options.minuteStepping=t.dateMinutestepping),void 0!==t.dateMindate&&(l.options.minDate=t.dateMindate),void 0!==t.dateMaxdate&&(l.options.maxDate=t.dateMaxdate),void 0!==t.dateShowtoday&&(l.options.showToday=t.dateShowtoday),void 0!==t.dateCollapse&&(l.options.collapse=t.dateCollapse),void 0!==t.dateLanguage&&(l.options.language=t.dateLanguage),void 0!==t.dateDefaultdate&&(l.options.defaultDate=t.dateDefaultdate),void 0!==t.dateDisableddates&&(l.options.disabledDates=t.dateDisableddates),void 0!==t.dateEnableddates&&(l.options.enabledDates=t.dateEnableddates),void 0!==t.dateIcons&&(l.options.icons=t.dateIcons),void 0!==t.dateUsestrict&&(l.options.useStrict=t.dateUsestrict),void 0!==t.dateDirection&&(l.options.direction=t.dateDirection),void 0!==t.dateSidebyside&&(l.options.sideBySide=t.dateSidebyside),void 0!==t.dateDaysofweekdisabled&&(l.options.daysOfWeekDisabled=t.dateDaysofweekdisabled)},p=function(){var e,n="absolute",i=l.component?l.component.offset():l.element.offset(),r=t(window);l.width=l.component?l.component.outerWidth():l.element.outerWidth(),i.top=i.top+l.element.outerHeight(),"up"===l.options.direction?e="top":"bottom"===l.options.direction?e="bottom":"auto"===l.options.direction&&(e=i.top+l.widget.height()>r.height()+r.scrollTop()&&l.widget.height()+l.element.outerHeight()<i.top?"top":"bottom"),"top"===e?(i.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),E()&&(n="fixed",i.top-=r.scrollTop(),i.left-=r.scrollLeft()),r.width()<i.left+l.widget.outerWidth()?(i.right=r.width()-i.left-l.width,i.left="auto",l.widget.addClass("pull-right")):(i.right="auto",l.widget.removeClass("pull-right")),"top"===e?l.widget.css({position:n,bottom:"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})},f=function(t,n){e(l.date).isSame(e(t))&&!u||(u=!1,l.element.trigger({type:"dp.change",date:e(l.date),oldDate:e(t)}),"change"!==n&&l.element.change())},m=function(t){u=!0,l.element.trigger({type:"dp.error",date:e(t,l.format,l.options.useStrict)})},_=function(t){e.locale(l.options.language);var n=t;n||(n=c().val(),n&&(l.date=e(n,l.format,l.options.useStrict)),l.date||(l.date=e())),l.viewDate=e(l.date).startOf("month"),v(),b()},g=function(){e.locale(l.options.language);var n,i=t("<tr>"),r=e.weekdaysMin();if(l.options.calendarWeeks===!0&&i.append('<th class="cw">#</th>'),0===e().localeData()._week.dow)for(n=0;7>n;n++)i.append('<th class="dow">'+r[n]+"</th>");else for(n=1;8>n;n++)7===n?i.append('<th class="dow">'+r[0]+"</th>"):i.append('<th class="dow">'+r[n]+"</th>");l.widget.find(".datepicker-days thead").append(i)},y=function(){e.locale(l.options.language);var t,n="",i=e.monthsShort();for(t=0;12>t;t++)n+='<span class="month">'+i[t]+"</span>";l.widget.find(".datepicker-months td").append(n)},v=function(){if(l.options.pickDate){e.locale(l.options.language);var n,i,r,a,s,o,u,d,c,h=l.viewDate.year(),p=l.viewDate.month(),f=l.options.minDate.year(),m=l.options.minDate.month(),_=l.options.maxDate.year(),g=l.options.maxDate.month(),y=[],v=e.months();for(l.widget.find(".datepicker-days").find(".disabled").removeClass("disabled"),l.widget.find(".datepicker-months").find(".disabled").removeClass("disabled"),l.widget.find(".datepicker-years").find(".disabled").removeClass("disabled"),l.widget.find(".datepicker-days th:eq(1)").text(v[p]+" "+h),i=e(l.viewDate,l.format,l.options.useStrict).subtract(1,"months"),u=i.daysInMonth(),i.date(u).startOf("week"),(h===f&&m>=p||f>h)&&l.widget.find(".datepicker-days th:eq(0)").addClass("disabled"),(h===_&&p>=g||h>_)&&l.widget.find(".datepicker-days th:eq(2)").addClass("disabled"),r=e(i).add(42,"d");i.isBefore(r);){if(i.weekday()===e().startOf("week").weekday()&&(a=t("<tr>"),y.push(a),l.options.calendarWeeks===!0&&a.append('<td class="cw">'+i.week()+"</td>")),s="",i.year()<h||i.year()===h&&i.month()<p?s+=" old":(i.year()>h||i.year()===h&&i.month()>p)&&(s+=" new"),i.isSame(e({y:l.date.year(),M:l.date.month(),d:l.date.date()}))&&(s+=" active"),!O(i,"day")&&R(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}a.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),c=l.date.year(),v=l.widget.find(".datepicker-months").find("th:eq(1)").text(h).end().find("span").removeClass("active"),c===h&&v.eq(l.date.month()).addClass("active"),f>h-1&&l.widget.find(".datepicker-months th:eq(0)").addClass("disabled"),h+1>_&&l.widget.find(".datepicker-months th:eq(2)").addClass("disabled"),o=0;12>o;o++)h===f&&m>o||f>h?t(v[o]).addClass("disabled"):(h===_&&o>g||h>_)&&t(v[o]).addClass("disabled");for(y="",h=10*parseInt(h/10,10),d=l.widget.find(".datepicker-years").find("th:eq(1)").text(h+"-"+(h+9)).parents("table").find("td"),l.widget.find(".datepicker-years").find("th").removeClass("disabled"),f>h&&l.widget.find(".datepicker-years").find("th:eq(0)").addClass("disabled"),h+9>_&&l.widget.find(".datepicker-years").find("th:eq(2)").addClass("disabled"),h-=1,o=-1;11>o;o++)y+='<span class="year'+(-1===o||10===o?" old":"")+(c===h?" active":"")+(f>h||h>_?" disabled":"")+'">'+h+"</span>",h+=1;d.html(y)}},M=function(){e.locale(l.options.language);var t,n,i,r=l.widget.find(".timepicker .timepicker-hours table"),a="";if(r.parent().hide(),l.use24hours)for(t=0,n=0;6>n;n+=1){for(a+="<tr>",i=0;4>i;i+=1)a+='<td class="hour">'+N(t.toString())+"</td>",t++;a+="</tr>"}else for(t=1,n=0;3>n;n+=1){for(a+="<tr>",i=0;4>i;i+=1)a+='<td class="hour">'+N(t.toString())+"</td>",t++;a+="</tr>"}r.html(a)},w=function(){var t,e,n=l.widget.find(".timepicker .timepicker-minutes table"),i="",r=0,a=l.options.minuteStepping;for(n.parent().hide(),1===a&&(a=5),t=0;t<Math.ceil(60/a/4);t++){for(i+="<tr>",e=0;4>e;e+=1)60>r?(i+='<td class="minute">'+N(r.toString())+"</td>",r+=a):i+="<td></td>";i+="</tr>"}n.html(i)},L=function(){var t,e,n=l.widget.find(".timepicker .timepicker-seconds table"),i="",r=0;for(n.parent().hide(),t=0;3>t;t++){for(i+="<tr>",e=0;4>e;e+=1)i+='<td class="second">'+N(r.toString())+"</td>",r+=5;i+="</tr>"}n.html(i)},b=function(){if(l.date){var t=l.widget.find(".timepicker span[data-time-component]"),e=l.date.hours(),n=l.date.format("A");l.use24hours||(0===e?e=12:12!==e&&(e%=12),l.widget.find(".timepicker [data-action=togglePeriod]").text(n)),t.filter("[data-time-component=hours]").text(N(e)),t.filter("[data-time-component=minutes]").text(N(l.date.minutes())),t.filter("[data-time-component=seconds]").text(N(l.date.second()))}},k=function(n){n.stopPropagation(),n.preventDefault(),l.unset=!1;var i,r,a,s,o=t(n.target).closest("span, td, th"),u=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":a=z.modes[l.viewMode].navStep,"prev"===o[0].className&&(a=-1*a),l.viewDate.add(a,z.modes[l.viewMode].navFnc),v()}break;case"span":o.is(".month")?(i=o.parent().find("span").index(o),l.viewDate.month(i)):(r=parseInt(o.text(),10)||0,l.viewDate.year(r)),l.viewMode===l.minViewMode&&(l.date=e({y:l.viewDate.year(),M:l.viewDate.month(),d:l.viewDate.date(),h:l.date.hours(),m:l.date.minutes(),s:l.date.seconds()}),W(),f(u,n.type)),C(-1),v();break;case"td":o.is(".day")&&(s=parseInt(o.text(),10)||1,i=l.viewDate.month(),r=l.viewDate.year(),o.is(".old")?0===i?(i=11,r-=1):i-=1:o.is(".new")&&(11===i?(i=0,r+=1):i+=1),l.date=e({y:r,M:i,d:s,h:l.date.hours(),m:l.date.minutes(),s:l.date.seconds()}),l.viewDate=e({y:r,M:i,d:Math.min(28,s)}),v(),W(),f(u,n.type))}},Y={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),Y.showPicker.call(l)},selectMinute:function(e){l.date.minutes(parseInt(t(e.target).text(),10)),Y.showPicker.call(l)},selectSecond:function(e){l.date.seconds(parseInt(t(e.target).text(),10)),Y.showPicker.call(l)}},T=function(n){var i=e(l.date),r=t(n.currentTarget).data("action"),a=Y[r].apply(l,arguments);return x(n),l.date||(l.date=e({y:1970})),W(),b(),f(i,n.type),a},x=function(t){t.stopPropagation(),t.preventDefault()},D=function(t){27===t.keyCode&&l.hide()},S=function(n){e.locale(l.options.language);var i=t(n.target),r=e(l.date),a=e(i.val(),l.format,l.options.useStrict);a.isValid()&&!O(a)&&R(a)?(_(),l.setValue(a),f(r,n.type),W()):(l.viewDate=r,l.unset=!0,f(r,n.type),m(a))},C=function(t){t&&(l.viewMode=Math.max(l.minViewMode,Math.min(2,l.viewMode+t))),l.widget.find(".datepicker > div").hide().filter(".datepicker-"+z.modes[l.viewMode].clsName).show()},H=function(){var e,n,i,r,a;l.widget.on("click",".datepicker *",t.proxy(k,this)),l.widget.on("click","[data-action]",t.proxy(T,this)),l.widget.on("mousedown",t.proxy(x,this)),l.element.on("keydown",t.proxy(D,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"),r=n.find(".collapse:not(.in)"),i&&i.length){if(a=i.data("collapse"),a&&a.transitioning)return;i.collapse("hide"),r.collapse("show"),e.find("span").toggleClass(l.options.icons.time+" "+l.options.icons.date),l.component&&l.component.find("span").toggleClass(l.options.icons.time+" "+l.options.icons.date)}}),l.isInput?l.element.on({click:t.proxy(l.show,this),focus:t.proxy(l.show,this),change:t.proxy(S,this),blur:t.proxy(l.hide,this)}):(l.element.on({change:t.proxy(S,this)},"input"),l.component?(l.component.on("click",t.proxy(l.show,this)),l.component.on("mousedown",t.proxy(x,this))):l.element.on("click",t.proxy(l.show,this)))},j=function(){t(window).on("resize.datetimepicker"+l.id,t.proxy(p,this)),l.isInput||t(document).on("mousedown.datetimepicker"+l.id,t.proxy(l.hide,this))},A=function(){l.widget.off("click",".datepicker *",l.click),l.widget.off("click","[data-action]"),l.widget.off("mousedown",l.stopEvent),l.options.pickDate&&l.options.pickTime&&l.widget.off("click.togglePicker"),l.isInput?l.element.off({focus:l.show,change:S,click:l.show,blur:l.hide}):(l.element.off({change:S},"input"),l.component?(l.component.off("click",l.show),l.component.off("mousedown",l.stopEvent)):l.element.off("click",l.show))},P=function(){t(window).off("resize.datetimepicker"+l.id),l.isInput||t(document).off("mousedown.datetimepicker"+l.id)},E=function(){if(l.element){var e,n=l.element.parents(),i=!1;for(e=0;e<n.length;e++)if("fixed"===t(n[e]).css("position")){i=!0;break}return i}return!1},W=function(){e.locale(l.options.language);var t="";l.unset||(t=e(l.date).format(l.format)),c().val(t),l.element.data("date",t),l.options.pickTime||l.hide()},F=function(t,n,i){e.locale(l.options.language);var r;return"add"===t?(r=e(l.date),23===r.hours()&&r.add(i,n),r.add(i,n)):r=e(l.date).subtract(i,n),O(e(r.subtract(i,n)))||O(r)?void m(r.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),r=e(l.options.minDate,l.format,l.options.useStrict);return n&&(i=i.endOf(n),r=r.startOf(n)),t.isAfter(i)||t.isBefore(r)?!0:l.options.disabledDates===!1?!1:l.options.disabledDates[t.format("YYYY-MM-DD")]===!0},R=function(t){return e.locale(l.options.language),l.options.enabledDates===!1?!0:l.options.enabledDates[t.format("YYYY-MM-DD")]===!0},I=function(t){var n,i={},r=0;for(n=0;n<t.length;n++)a=e.isMoment(t[n])||t[n]instanceof Date?e(t[n]):e(t[n],l.format,l.options.useStrict),a.isValid()&&(i[a.format("YYYY-MM-DD")]=!0,r++);return r>0?i:!1},N=function(t){return t=t.toString(),t.length>=2?t:"0"+t},$=function(){var t='<thead><tr><th class="prev">&lsaquo;</th><th colspan="'+(l.options.calendarWeeks?"6":"5")+'" class="picker-switch"></th><th class="next">&rsaquo;</th></tr></thead>',e='<tbody><tr><td colspan="'+(l.options.calendarWeeks?"8":"7")+'"></td></tr></tbody>',n='<div class="datepicker-days"><table class="table-condensed">'+t+'<tbody></tbody></table></div><div class="datepicker-months"><table class="table-condensed">'+t+e+'</table></div><div class="datepicker-years"><table class="table-condensed">'+t+e+"</table></div>",i="";return l.options.pickDate&&l.options.pickTime?(i='<div class="bootstrap-datetimepicker-widget'+(l.options.sideBySide?" timepicker-sbs":"")+(l.use24hours?" usetwentyfour":"")+' dropdown-menu" style="z-index:9999 !important;">',i+=l.options.sideBySide?'<div class="row"><div class="col-sm-6 datepicker">'+n+'</div><div class="col-sm-6 timepicker">'+B.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">'+B.getTemplate()+"</div></li></ul>",i+="</div>"):l.options.pickTime?'<div class="bootstrap-datetimepicker-widget dropdown-menu"><div class="timepicker">'+B.getTemplate()+"</div></div>":'<div class="bootstrap-datetimepicker-widget dropdown-menu"><div class="datepicker">'+n+"</div></div>"},z={modes:[{clsName:"days",navFnc:"month",navStep:1},{clsName:"months",navFnc:"year",navStep:1},{clsName:"years",navFnc:"year",navStep:10}]},B={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>'};B.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>"+B.hourTemplate+'</td> <td class="separator">:</td><td>'+(l.options.useMinutes?B.minuteTemplate:'<span class="timepicker-minute">00</span>')+"</td> "+(l.options.useSeconds?'<td class="separator">:</td><td>'+B.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(){A(),P(),l.widget.remove(),l.element.removeData("DateTimePicker"),l.component&&l.component.removeData("DateTimePicker")},l.show=function(t){if(!c().prop("disabled")){if(l.options.useCurrent&&""===c().val()){if(1!==l.options.minuteStepping){var n=e(),i=l.options.minuteStepping;n.minutes(Math.round(n.minutes()/i)*i%60).seconds(0),l.setValue(n.format(l.format))}else l.setValue(e().format(l.format));f("",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(),p(),l.element.trigger({type:"dp.show",date:e(l.date)}),j(),t&&x(t))}},l.disable=function(){var t=c();t.prop("disabled")||(t.prop("disabled",!0),A())},l.enable=function(){var t=c();t.prop("disabled")&&(t.prop("disabled",!1),H())},l.hide=function(){var t,n,i=l.widget.find(".collapse");for(t=0;t<i.length;t++)if(n=i.eq(t).data("collapse"),n&&n.transitioning)return;l.widget.hide(),l.widget.removeClass("picker-open"),l.viewMode=l.startViewMode,C(),l.element.trigger({type:"dp.hide",date:e(l.date)}),P()},l.setValue=function(t){e.locale(l.options.language),t?l.unset=!1:(l.unset=!0,W()),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,W(),l.viewDate=e({y:l.date.year(),M:l.date.month()}),v(),b()):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),f(n,"function")},l.setDisabledDates=function(t){l.options.disabledDates=I(t),l.viewDate&&_()},l.setEnabledDates=function(t){l.options.enabledDates=I(t),l.viewDate&&_()},l.setMaxDate=function(t){void 0!==t&&(e.isMoment(t)||t instanceof Date?l.options.maxDate=e(t):l.options.maxDate=e(t,l.format,l.options.useStrict),l.viewDate&&_())},l.setMinDate=function(t){void 0!==t&&(e.isMoment(t)||t instanceof Date?l.options.minDate=e(t):l.options.minDate=e(t,l.format,l.options.useStrict),l.viewDate&&_())},d()};t.fn.datetimepicker=function(e){return this.each(function(){var n=t(this),r=n.data("DateTimePicker");r||n.data("DateTimePicker",new i(this,e))})},t.fn.datetimepicker.defaults={format:!1,pickDate:!0,pickTime:!0,useMinutes:!0,useSeconds:!1,useCurrent:!0,calendarWeeks:!1,minuteStepping:1,minDate:e({y:1900}),maxDate:e().add(100,"y"),showToday:!0,collapse:!0,language:e.locale(),defaultDate:"",disabledDates:!1,enabledDates:!1,icons:{},useStrict:!1,direction:"auto",sideBySide:!1,daysOfWeekDisabled:[],widgetParent:!1}}),function(){function t(t,e){return t.set(e[0],e[1]),t}function e(t,e){return t.add(e),t}function n(t,e,n){var i=n.length;switch(i){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function i(t,e,n,i){for(var r=-1,a=t.length;++r<a;){var s=t[r];e(i,s,n(s),t)}return i}function r(t,e){for(var n=-1,i=t.length,r=-1,a=e.length,s=Array(i+a);++n<i;)s[n]=t[n];for(;++r<a;)s[n++]=e[r];return s}function a(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,r=-1,a=[];++n<i;){var s=t[n];e(s,n,t)&&(a[++r]=s)}return a}function u(t,e){return!!t.length&&v(t,e,0)>-1}function d(t,e,n){for(var i=-1,r=t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function c(t,e){for(var n=-1,i=t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function h(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function p(t,e,n,i){var r=-1,a=t.length;for(i&&a&&(n=t[++r]);++r<a;)n=e(n,t[r],r,t);return n}function f(t,e,n,i){var r=t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,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 _(t,e,n){for(var i=-1,r=t.length;++i<r;){var a=t[i],s=e(a);if(null!=s&&(o===U?s===s:n(s,o)))var o=s,l=a}return l}function g(t,e,n,i){var r;return n(t,function(t,n,a){return e(t,n,a)?(r=i?n:t,!1):void 0}),r}function y(t,e,n){for(var i=t.length,r=n?i:-1;n?r--:++r<i;)if(e(t[r],r,t))return r;return-1}function v(t,e,n){if(e!==e)return W(t,n);for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}function M(t,e,n,i,r){return r(t,function(t,r,a){n=i?(i=!1,t):e(n,t,r,a)}),n}function w(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function L(t,e){for(var n,i=-1,r=t.length;++i<r;){var a=e(t[i]);a!==U&&(n=n===U?a:n+a)}return n}function b(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function k(t,e){return c(e,function(e){return[e,t[e]]})}function Y(t){return function(e){return t(e)}}function T(t,e){return c(e,function(e){return t[e]})}function x(t,e){for(var n=-1,i=t.length;++n<i&&v(e,t[n],0)>-1;);return n}function D(t,e){for(var n=t.length;n--&&v(e,t[n],0)>-1;);return n}function S(t){return t&&t.Object===Object?t:null}function C(t,e){if(t!==e){var n=null===t,i=t===U,r=t===t,a=null===e,s=e===U,o=e===e;if(t>e&&!a||!r||n&&!s&&o||i&&o)return 1;if(e>t&&!n||!o||a&&!i&&r||s&&r)return-1}return 0}function H(t,e,n){for(var i=-1,r=t.criteria,a=e.criteria,s=r.length,o=n.length;++i<s;){var l=C(r[i],a[i]);if(l){if(i>=o)return l;var u=n[i];return l*("desc"==u?-1:1)}}return t.index-e.index}function j(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&i++;return i}function A(t){return yn[t]}function P(t){return vn[t]}function E(t){return"\\"+Ln[t]}function W(t,e,n){for(var i=t.length,r=e+(n?0:-1);n?r--:++r<i;){var a=t[r];if(a!==a)return r}return-1}function F(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function O(t,e){return t="number"==typeof t||be.test(t)?+t:-1,e=null==e?yt:e,t>-1&&t%1==0&&e>t}function R(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function I(t){var e=-1,n=Array(t.size);return t.forEach(function(t,i){n[++e]=[i,t]}),n}function N(t,e){for(var n=-1,i=t.length,r=-1,a=[];++n<i;){var s=t[n];s!==e&&s!==kt||(t[n]=kt,a[++r]=n)}return a}function $(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function z(t){if(!t||!dn.test(t))return t.length;for(var e=un.lastIndex=0;un.test(t);)e++;return e}function B(t){return t.match(un)}function q(t){return Mn[t]}function V(S){function be(t){if(Os(t)&&!wd(t)&&!(t instanceof Se)){if(t instanceof De)return t;if(Bl.call(t,"__wrapped__"))return Ar(t)}return new De(t)}function xe(){}function De(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=U}function Se(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=wt,this.__views__=[]}function Ce(){var t=new Se(this.__wrapped__);return t.__actions__=Oi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Oi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Oi(this.__views__),t}function He(){if(this.__filtered__){var t=new Se(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function je(){var t=this.__wrapped__.value(),e=this.__dir__,n=wd(t),i=0>e,r=n?t.length:0,a=_r(0,r,this.__views__),s=a.start,o=a.end,l=o-s,u=i?o:s-1,d=this.__iteratees__,c=d.length,h=0,p=mu(l,this.__takeCount__);if(!n||ct>r||r==l&&p==l)return Ti(t,this.__actions__);var f=[];t:for(;l--&&p>h;){u+=e;for(var m=-1,_=t[u];++m<c;){var g=d[m],y=g.iteratee,v=g.type,M=y(_);if(v==pt)_=M;else if(!M){if(v==ht)continue t;break t}}f[h++]=_}return f}function Ae(){}function Pe(t,e){return We(t,e)&&delete t[e]}function Ee(t,e){if(Lu){var n=t[e];return n===_t?U:n}return Bl.call(t,e)?t[e]:U}function We(t,e){return Lu?t[e]!==U:Bl.call(t,e)}function Fe(t,e,n){t[e]=Lu&&n===U?_t:n}function Oe(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 Re(){this.__data__={hash:new Ae,map:vu?new vu:[],string:new Ae}}function Ie(t){var e=this.__data__;return kr(t)?Pe("string"==typeof t?e.string:e.hash,t):vu?e.map["delete"](t):Ke(e.map,t)}function Ne(t){var e=this.__data__;return kr(t)?Ee("string"==typeof t?e.string:e.hash,t):vu?e.map.get(t):tn(e.map,t)}function $e(t){var e=this.__data__;return kr(t)?We("string"==typeof t?e.string:e.hash,t):vu?e.map.has(t):en(e.map,t)}function ze(t,e){var n=this.__data__;return kr(t)?Fe("string"==typeof t?n.string:n.hash,t,e):vu?n.map.set(t,e):rn(n.map,t,e),this}function Be(t){var e=-1,n=t?t.length:0;for(this.__data__=new Oe;++e<n;)this.push(t[e])}function qe(t,e){var n=t.__data__;if(kr(e)){var i=n.__data__,r="string"==typeof e?i.string:i.hash;return r[e]===_t}return n.has(e)}function Ve(t){var e=this.__data__;if(kr(t)){var n=e.__data__,i="string"==typeof t?n.string:n.hash;i[t]=_t}else e.set(t,_t)}function Ue(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 Je(){this.__data__={array:[],map:null}}function Xe(t){var e=this.__data__,n=e.array;return n?Ke(n,t):e.map["delete"](t)}function Ge(t){var e=this.__data__,n=e.array;return n?tn(n,t):e.map.get(t)}function Qe(t){var e=this.__data__,n=e.array;return n?en(n,t):e.map.has(t)}function Ze(t,e){var n=this.__data__,i=n.array;i&&(i.length<ct-1?rn(i,t,e):(n.array=null,n.map=new Oe(i)));var r=n.map;return r&&r.set(t,e),this}function Ke(t,e){var n=nn(t,e);if(0>n)return!1;var i=t.length-1;return n==i?t.pop():lu.call(t,n,1),!0}function tn(t,e){var n=nn(t,e);return 0>n?U:t[n][1]}function en(t,e){return nn(t,e)>-1}function nn(t,e){for(var n=t.length;n--;)if(vs(t[n][0],e))return n;return-1}function rn(t,e,n){var i=nn(t,e);0>i?t.push([e,n]):t[i][1]=n}function an(t,e,n,i){return t===U||vs(t,$l[n])&&!Bl.call(i,n)?e:t}function sn(t,e,n){(n===U||vs(t[e],n))&&("number"!=typeof e||n!==U||e in t)||(t[e]=n)}function on(t,e,n){var i=t[e];Bl.call(t,e)&&vs(i,n)&&(n!==U||e in t)||(t[e]=n)}function un(t,e,n,i){return Hu(t,function(t,r,a){e(i,t,n(t),a)}),i}function yn(t,e){return t&&Ri(e,Yo(e),t)}function vn(t,e){for(var n=-1,i=null==t,r=e.length,a=Array(r);++n<r;)a[n]=i?U:Lo(t,e[n]);return a}function Mn(t){return Ys(t)?t:[]}function wn(t){return"function"==typeof t?t:fl}function Ln(t){return wd(t)?t:jr(t)}function Yn(t,e,n){return t===t&&(n!==U&&(t=n>=t?t:n),e!==U&&(t=t>=e?t:e)),t}function Tn(t,e,n,i,r,s){var o;if(n&&(o=r?n(t,i,r,s):n(t)),o!==U)return o;if(!Fs(t))return t;var l=wd(t);if(l){if(o=yr(t),!e)return Oi(t,o)}else{var u=mr(t),d=u==Ct||u==Ht;if(Ld(t))return Si(t,e);if(u==Pt||u==Yt||d&&!r){if(F(t))return r?t:{};if(o=vr(d?{}:t),!e)return Ni(t,yn(o,t))}else{if(!gn[u])return r?t:{};o=Mr(t,u,e)}}s||(s=new Ue);var c=s.get(t);return c?c:(s.set(t,o),(l?a:Rn)(t,function(i,r){on(o,r,Tn(i,e,n,r,t,s))}),l?o:Ni(t,o))}function Dn(t){var e=Yo(t),n=e.length;return function(i){if(null==i)return!n;for(var r=n;r--;){var a=e[r],s=t[a],o=i[a];if(o===U&&!(a in Object(i))||!s(o))return!1;
}return!0}}function Sn(t){return Fs(t)?au(t):{}}function Cn(t,e,n){if("function"!=typeof t)throw new Il(mt);return ou(function(){t.apply(U,n)},e)}function Hn(t,e,n,i){var r=-1,a=u,s=!0,o=t.length,l=[],h=e.length;if(!o)return l;n&&(e=c(e,Y(n))),i?(a=d,s=!1):e.length>=ct&&(a=qe,s=!1,e=new Be(e));t:for(;++r<o;){var p=t[r],f=n?n(p):p;if(s&&f===f){for(var m=h;m--;)if(e[m]===f)continue t;l.push(p)}else a(e,f,i)||l.push(p)}return l}function Pn(t,e){var n=!0;return Hu(t,function(t,i,r){return n=!!e(t,i,r)}),n}function En(t,e,n,i){var r=t.length;for(n=so(n),0>n&&(n=-n>r?0:r+n),i=i===U||i>r?r:so(i),0>i&&(i+=r),i=n>i?0:oo(i);i>n;)t[n++]=e;return t}function Wn(t,e){var n=[];return Hu(t,function(t,i,r){e(t,i,r)&&n.push(t)}),n}function Fn(t,e,n,i){i||(i=[]);for(var r=-1,a=t.length;++r<a;){var s=t[r];e>0&&Ys(s)&&(n||wd(s)||Ls(s))?e>1?Fn(s,e-1,n,i):h(i,s):n||(i[i.length]=s)}return i}function On(t,e){return null==t?t:Au(t,e,To)}function Rn(t,e){return t&&Au(t,e,Yo)}function In(t,e){return t&&Pu(t,e,Yo)}function Nn(t,e){return l(e,function(e){return Ps(t[e])})}function $n(t,e){e=br(e,t)?[e+""]:Ln(e);for(var n=0,i=e.length;null!=t&&i>n;)t=t[e[n++]];return n&&n==i?t:U}function zn(t,e){return Bl.call(t,e)||"object"==typeof t&&e in t&&null===nu(t)}function Bn(t,e){return e in Object(t)}function qn(t,e,n){return t>=mu(e,n)&&t<fu(e,n)}function Vn(t,e,n){for(var i=n?d:u,r=t.length,a=r,s=Array(r),o=[];a--;){var l=t[a];a&&e&&(l=c(l,Y(e))),s[a]=!n&&(e||l.length>=120)?new Be(a&&l):U}l=t[0];var h=-1,p=l.length,f=s[0];t:for(;++h<p;){var m=l[h],_=e?e(m):m;if(!(f?qe(f,_):i(o,_,n))){for(var a=r;--a;){var g=s[a];if(!(g?qe(g,_):i(t[a],_,n)))continue t}f&&f.push(_),o.push(m)}}return o}function Un(t,e,n,i){return Rn(t,function(t,r,a){e(i,n(t),r,a)}),i}function Jn(t,e,i){br(e,t)||(e=Ln(e),t=Cr(t,e),e=Qr(e));var r=null==t?t:t[e];return null==r?U:n(r,t,i)}function Xn(t,e,n,i,r){return t===e?!0:null==t||null==e||!Fs(t)&&!Os(e)?t!==t&&e!==e:Gn(t,e,Xn,n,i,r)}function Gn(t,e,n,i,r,a){var s=wd(t),o=wd(e),l=Tt,u=Tt;s||(l=mr(t),l==Yt?l=Pt:l!=Pt&&(s=Ks(t))),o||(u=mr(e),u==Yt?u=Pt:u!=Pt&&(o=Ks(e)));var d=l==Pt&&!F(t),c=u==Pt&&!F(e),h=l==u;if(h&&!s&&!d)return lr(t,e,l,n,i,r);var p=r&st;if(!p){var f=d&&Bl.call(t,"__wrapped__"),m=c&&Bl.call(e,"__wrapped__");if(f||m)return n(f?t.value():t,m?e.value():e,i,r,a)}return h?(a||(a=new Ue),(s?or:ur)(t,e,n,i,r,a)):!1}function Qn(t,e,n,i){var r=n.length,a=r,s=!i;if(null==t)return!a;for(t=Object(t);r--;){var o=n[r];if(s&&o[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1}for(;++r<a;){o=n[r];var l=o[0],u=t[l],d=o[1];if(s&&o[2]){if(u===U&&!(l in t))return!1}else{var c=new Ue,h=i?i(u,d,l,t,e,c):U;if(!(h===U?Xn(d,u,i,at|st,c):h))return!1}}return!0}function Zn(t){var e=typeof t;return"function"==e?t:null==t?fl:"object"==e?wd(t)?ii(t[0],t[1]):ni(t):Ll(t)}function Kn(t){return pu(Object(t))}function ti(t){t=null==t?t:Object(t);var e=[];for(var n in t)e.push(n);return e}function ei(t,e){var n=-1,i=ks(t)?Array(t.length):[];return Hu(t,function(t,r,a){i[++n]=e(t,r,a)}),i}function ni(t){var e=hr(t);if(1==e.length&&e[0][2]){var n=e[0][0],i=e[0][1];return function(t){return null==t?!1:t[n]===i&&(i!==U||n in Object(t))}}return function(n){return n===t||Qn(n,t,e)}}function ii(t,e){return function(n){var i=Lo(n,t);return i===U&&i===e?ko(n,t):Xn(e,i,U,at|st)}}function ri(t,e,n,i,r){if(t!==e){var s=wd(e)||Ks(e)?U:To(e);a(s||e,function(a,o){if(s&&(o=a,a=e[o]),Fs(a))r||(r=new Ue),ai(t,e,o,n,ri,i,r);else{var l=i?i(t[o],a,o+"",t,e,r):U;l===U&&(l=a),sn(t,o,l)}})}}function ai(t,e,n,i,r,a,s){var o=t[n],l=e[n],u=s.get(l);if(u)return void sn(t,n,u);var d=a?a(o,l,n+"",t,e,s):U,c=d===U;c&&(d=l,wd(l)||Ks(l)?wd(o)?d=o:Ys(o)?d=Oi(o):(c=!1,d=Tn(l,!0)):Us(l)||Ls(l)?Ls(o)?d=uo(o):!Fs(o)||i&&Ps(o)?(c=!1,d=Tn(l,!0)):d=o:c=!1),s.set(l,d),c&&r(d,l,i,a,s),sn(t,n,d)}function si(t,e,n){var i=-1,r=cr();e=c(e.length?e:Array(1),function(t){return r(t)});var a=ei(t,function(t,n,r){var a=c(e,function(e){return e(t)});return{criteria:a,index:++i,value:t}});return w(a,function(t,e){return H(t,e,n)})}function oi(t,e){return t=Object(t),p(e,function(e,n){return n in t&&(e[n]=t[n]),e},{})}function li(t,e){var n={};return On(t,function(t,i){e(t,i)&&(n[i]=t)}),n}function ui(t){return function(e){return null==e?U:e[t]}}function di(t){return function(e){return $n(e,t)}}function ci(t,e){return hi(t,e)}function hi(t,e,n){var i=-1,r=e.length,a=t;for(n&&(a=c(t,function(t){return n(t)}));++i<r;)for(var s=0,o=e[i],l=n?n(o):o;(s=v(a,l,s))>-1;)a!==t&&lu.call(a,s,1),lu.call(t,s,1);return t}function pi(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(i==n||r!=a){var a=r;if(O(r))lu.call(t,r,1);else if(br(r,t))delete t[r];else{var s=Ln(r),o=Cr(t,s);null!=o&&delete o[Qr(s)]}}}return t}function fi(t,e){return t+du(gu()*(e-t+1))}function mi(t,e,n,i){for(var r=-1,a=fu(uu((e-t)/(n||1)),0),s=Array(a);a--;)s[i?a:++r]=t,t+=n;return s}function _i(t,e,n,i){e=br(e,t)?[e+""]:Ln(e);for(var r=-1,a=e.length,s=a-1,o=t;null!=o&&++r<a;){var l=e[r];if(Fs(o)){var u=n;if(r!=s){var d=o[l];u=i?i(d,l,o):U,u===U&&(u=null==d?O(e[r+1])?[]:{}:d)}on(o,l,u)}o=o[l]}return t}function gi(t,e,n){var i=-1,r=t.length;0>e&&(e=-e>r?0:r+e),n=n>r?r:n,0>n&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var a=Array(r);++i<r;)a[i]=t[i+e];return a}function yi(t,e){var n;return Hu(t,function(t,i,r){return n=e(t,i,r),!n}),!!n}function vi(t,e,n){var i=0,r=t?t.length:i;if("number"==typeof e&&e===e&&bt>=r){for(;r>i;){var a=i+r>>>1,s=t[a];(n?e>=s:e>s)&&null!==s?i=a+1:r=a}return r}return Mi(t,e,fl,n)}function Mi(t,e,n,i){e=n(e);for(var r=0,a=t?t.length:0,s=e!==e,o=null===e,l=e===U;a>r;){var u=du((r+a)/2),d=n(t[u]),c=d!==U,h=d===d;if(s)var p=h||i;else p=o?h&&c&&(i||null!=d):l?h&&(i||c):null==d?!1:i?e>=d:e>d;p?r=u+1:a=u}return mu(a,Lt)}function wi(t){return Li(t)}function Li(t,e){for(var n=0,i=t.length,r=t[0],a=e?e(r):r,s=a,o=0,l=[r];++n<i;)r=t[n],a=e?e(r):r,vs(a,s)||(s=a,l[++o]=r);return l}function bi(t,e,n){var i=-1,r=u,a=t.length,s=!0,o=[],l=o;if(n)s=!1,r=d;else if(a>=ct){var c=e?null:Wu(t);if(c)return $(c);s=!1,r=qe,l=new Be}else l=e?[]:o;t:for(;++i<a;){var h=t[i],p=e?e(h):h;if(s&&p===p){for(var f=l.length;f--;)if(l[f]===p)continue t;e&&l.push(p),o.push(h)}else r(l,p,n)||(l!==o&&l.push(p),o.push(h))}return o}function ki(t,e){e=br(e,t)?[e+""]:Ln(e),t=Cr(t,e);var n=Qr(e);return null!=t&&bo(t,n)?delete t[n]:!0}function Yi(t,e,n,i){for(var r=t.length,a=i?r:-1;(i?a--:++a<r)&&e(t[a],a,t););return n?gi(t,i?0:a,i?a+1:r):gi(t,i?a+1:0,i?r:a)}function Ti(t,e){var n=t;return n instanceof Se&&(n=n.value()),p(e,function(t,e){return e.func.apply(e.thisArg,h([t],e.args))},n)}function xi(t,e,n){for(var i=-1,r=t.length;++i<r;)var a=a?h(Hn(a,t[i],e,n),Hn(t[i],a,e,n)):t[i];return a&&a.length?bi(a,e,n):[]}function Di(t,e,n){for(var i=-1,r=t.length,a=e.length,s={};++i<r;)n(s,t[i],a>i?e[i]:U);return s}function Si(t,e){if(e)return t.slice();var n=t.constructor,i=new n(t.length);return t.copy(i),i}function Ci(t){var e=t.constructor,n=new e(t.byteLength),i=new Kl(n);return i.set(new Kl(t)),n}function Hi(e){var n=e.constructor;return p(I(e),t,new n)}function ji(t){var e=t.constructor,n=new e(t.source,ge.exec(t));return n.lastIndex=t.lastIndex,n}function Ai(t){var n=t.constructor;return p($(t),e,new n)}function Pi(t){return Zl?Object(Du.call(t)):{}}function Ei(t,e){var n=t.buffer,i=e?Ci(n):n,r=t.constructor;return new r(i,t.byteOffset,t.length)}function Wi(t,e,n,i){for(var r=-1,a=t.length,s=n.length,o=-1,l=e.length,u=fu(a-s,0),d=Array(l+u),c=!i;++o<l;)d[o]=e[o];for(;++r<s;)(c||a>r)&&(d[n[r]]=t[r]);for(;u--;)d[o++]=t[r++];return d}function Fi(t,e,n,i){for(var r=-1,a=t.length,s=-1,o=n.length,l=-1,u=e.length,d=fu(a-o,0),c=Array(d+u),h=!i;++r<d;)c[r]=t[r];for(var p=r;++l<u;)c[p+l]=e[l];for(;++s<o;)(h||a>r)&&(c[p+n[s]]=t[r++]);return c}function Oi(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e}function Ri(t,e,n){return Ii(t,e,n)}function Ii(t,e,n,i){n||(n={});for(var r=-1,a=e.length;++r<a;){var s=e[r],o=i?i(n[s],t[s],s,n,t):t[s];on(n,s,o)}return n}function Ni(t,e){return Ri(t,Ru(t),e)}function $i(t,e){return function(n,r){var a=wd(n)?i:un,s=e?e():{};return a(n,t,cr(r),s)}}function zi(t){return us(function(e,n){var i=-1,r=n.length,a=r>1?n[r-1]:U,s=r>2?n[2]:U;for(a="function"==typeof a?(r--,a):U,s&&Lr(n[0],n[1],s)&&(a=3>r?U:a,r=1),e=Object(e);++i<r;){var o=n[i];o&&t(e,o,i,a)}return e})}function Bi(t,e){return function(n,i){if(null==n)return n;if(!ks(n))return t(n,i);for(var r=n.length,a=e?r:-1,s=Object(n);(e?a--:++a<r)&&i(s[a],a,s)!==!1;);return n}}function qi(t){return function(e,n,i){for(var r=-1,a=Object(e),s=i(e),o=s.length;o--;){var l=s[t?o:++r];if(n(a[l],l,a)===!1)break}return e}}function Vi(t,e,n){function i(){var e=this&&this!==jn&&this instanceof i?a:t;return e.apply(r?n:this,arguments)}var r=e&X,a=Xi(t);return i}function Ui(t){return function(e){e=ho(e);var n=dn.test(e)?B(e):U,i=n?n[0]:e.charAt(0),r=n?n.slice(1).join(""):e.slice(1);return i[t]()+r}}function Ji(t){return function(e){return p(dl(Bo(e)),t,"")}}function Xi(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=Sn(t.prototype),i=t.apply(n,e);return Fs(i)?i:n}}function Gi(t,e,i){function r(){for(var s=arguments.length,o=Array(s),l=s,u=fr(r);l--;)o[l]=arguments[l];var d=3>s&&o[0]!==u&&o[s-1]!==u?[]:N(o,u);if(s-=d.length,i>s)return rr(t,e,Zi,r.placeholder,U,o,d,U,U,i-s);var c=this&&this!==jn&&this instanceof r?a:t;return n(c,this,o)}var a=Xi(t);return r}function Qi(t){return us(function(e){e=Fn(e,1);var n=e.length,i=n,r=De.prototype.thru;for(t&&e.reverse();i--;){var a=e[i];if("function"!=typeof a)throw new Il(mt);if(r&&!s&&"wrapper"==dr(a))var s=new De([],!0)}for(i=s?i:n;++i<n;){a=e[i];var o=dr(a),l="wrapper"==o?Fu(a):U;s=l&&Yr(l[0])&&l[1]==(nt|Z|tt|it)&&!l[4].length&&1==l[9]?s[dr(l[0])].apply(s,l[3]):1==a.length&&Yr(a)?s[o]():s.thru(a)}return function(){var t=arguments,i=t[0];if(s&&1==t.length&&wd(i)&&i.length>=ct)return s.plant(i).value();for(var r=0,a=n?e[r].apply(this,t):i;++r<n;)a=e[r].call(this,a);return a}})}function Zi(t,e,n,i,r,a,s,o,l,u){function d(){for(var g=arguments.length,y=g,v=Array(g);y--;)v[y]=arguments[y];if(f)var M=fr(d),w=j(v,M);if(i&&(v=Wi(v,i,r,f)),a&&(v=Fi(v,a,s,f)),g-=w,f&&u>g){var L=N(v,M);return rr(t,e,Zi,d.placeholder,n,v,L,o,l,u-g)}var b=h?n:this,k=p?b[t]:t;return g=v.length,o?v=Hr(v,o):m&&g>1&&v.reverse(),c&&g>l&&(v.length=l),this&&this!==jn&&this instanceof d&&(k=_||Xi(k)),k.apply(b,v)}var c=e&nt,h=e&X,p=e&G,f=e&(Z|K),m=e&rt,_=p?U:Xi(t);return d}function Ki(t,e){return function(n,i){return Un(n,t,e(i),{})}}function tr(t){return us(function(e){return e=c(Fn(e,1),cr()),us(function(i){var r=this;return t(e,function(t){return n(t,r,i)})})})}function er(t,e,n){e=so(e);var i=z(t);if(!e||i>=e)return"";var r=e-i;n=n===U?" ":n+"";var a=Zo(n,uu(r/z(n)));return dn.test(n)?B(a).slice(0,r).join(""):a.slice(0,r)}function nr(t,e,i,r){function a(){for(var e=-1,l=arguments.length,u=-1,d=r.length,c=Array(d+l),h=this&&this!==jn&&this instanceof a?o:t;++u<d;)c[u]=r[u];for(;l--;)c[u++]=arguments[++e];return n(h,s?i:this,c)}var s=e&X,o=Xi(t);return a}function ir(t){return function(e,n,i){return i&&"number"!=typeof i&&Lr(e,n,i)&&(n=i=U),e=lo(e),e=e===e?e:0,n===U?(n=e,e=0):n=lo(n)||0,i=i===U?n>e?1:-1:lo(i)||0,mi(e,n,i,t)}}function rr(t,e,n,i,r,a,s,o,l,u){var d=e&Z,c=o?Oi(o):U,h=d?s:U,p=d?U:s,f=d?a:U,m=d?U:a;e|=d?tt:et,e&=~(d?et:tt),e&Q||(e&=~(X|G));var _=[t,e,r,f,h,m,p,c,l,u],g=n.apply(U,_);return Yr(t)&&Iu(g,_),g.placeholder=i,g}function ar(t){var e=Ol[t];return function(t,n){if(t=lo(t),n=so(n)){var i=(ho(t)+"e").split("e"),r=e(i[0]+"e"+(+i[1]+n));return i=(ho(r)+"e").split("e"),+(i[0]+"e"+(+i[1]-n))}return e(t)}}function sr(t,e,n,i,r,a,s,o){var l=e&G;if(!l&&"function"!=typeof t)throw new Il(mt);var u=i?i.length:0;if(u||(e&=~(tt|et),i=r=U),s=s===U?s:fu(so(s),0),o=o===U?o:so(o),u-=r?r.length:0,e&et){var d=i,c=r;i=r=U}var h=l?U:Fu(t),p=[t,e,n,i,r,d,c,a,s,o];if(h&&Dr(p,h),t=p[0],e=p[1],n=p[2],i=p[3],r=p[4],o=p[9]=null==p[9]?l?0:t.length:fu(p[9]-u,0),!o&&e&(Z|K)&&(e&=~(Z|K)),e&&e!=X)f=e==Z||e==K?Gi(t,e,o):e!=tt&&e!=(X|tt)||r.length?Zi.apply(U,p):nr(t,e,n,i);else var f=Vi(t,e,n);var m=h?Eu:Iu;return m(f,p)}function or(t,e,n,i,r,a){var s=-1,o=r&st,l=r&at,u=t.length,d=e.length;if(u!=d&&!(o&&d>u))return!1;var c=a.get(t);if(c)return c==e;var h=!0;for(a.set(t,e);++s<u;){var p=t[s],f=e[s];if(i)var _=o?i(f,p,s,e,t,a):i(p,f,s,t,e,a);if(_!==U){if(_)continue;h=!1;break}if(l){if(!m(e,function(t){return p===t||n(p,t,i,r,a)})){h=!1;break}}else if(p!==f&&!n(p,f,i,r,a)){h=!1;break}}return a["delete"](t),h}function lr(t,e,n,i,r,a){switch(n){case Nt:return!(t.byteLength!=e.byteLength||!i(new Kl(t),new Kl(e)));case xt:case Dt:return+t==+e;case St:return t.name==e.name&&t.message==e.message;case At:return t!=+t?e!=+e:t==+e;case Et:case Ft:return t==e+"";case jt:var s=I;case Wt:var o=a&st;return s||(s=$),(o||t.size==e.size)&&i(s(t),s(e),r,a|at);case Ot:return!!Zl&&Du.call(t)==Du.call(e)}return!1}function ur(t,e,n,i,r,a){var s=r&st,o=Yo(t),l=o.length,u=Yo(e),d=u.length;if(l!=d&&!s)return!1;for(var c=l;c--;){var h=o[c];if(!(s?h in e:zn(e,h)))return!1}var p=a.get(t);if(p)return p==e;var f=!0;a.set(t,e);for(var m=s;++c<l;){h=o[c];var _=t[h],g=e[h];if(i)var y=s?i(g,_,h,e,t,a):i(_,g,h,t,e,a);if(!(y===U?_===g||n(_,g,i,r,a):y)){f=!1;break}m||(m="constructor"==h)}if(f&&!m){var v=t.constructor,M=e.constructor;v!=M&&"constructor"in t&&"constructor"in e&&!("function"==typeof v&&v instanceof v&&"function"==typeof M&&M instanceof M)&&(f=!1)}return a["delete"](t),f}function dr(t){for(var e=t.name+"",n=Cu[e],i=Bl.call(Cu,e)?n.length:0;i--;){var r=n[i],a=r.func;if(null==a||a==t)return r.name}return e}function cr(){var t=be.iteratee||ml;return t=t===ml?Zn:t,arguments.length?t(arguments[0],arguments[1]):t}function hr(t){for(var e=Po(t),n=e.length;n--;)e[n][2]=xr(e[n][1]);return e}function pr(t,e){var n=null==t?U:t[e];return zs(n)?n:U}function fr(t){var e=Bl.call(be,"placeholder")?be:t;return e.placeholder}function mr(t){return Ul.call(t)}function _r(t,e,n){for(var i=-1,r=n.length;++i<r;){var a=n[i],s=a.size;switch(a.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=mu(e,t+s);break;case"takeRight":t=fu(t,e-s)}}return{start:t,end:e}}function gr(t,e,n){if(null==t)return!1;var i=n(t,e);i||br(e)||(e=Ln(e),t=Cr(t,e),null!=t&&(e=Qr(e),i=n(t,e)));var r=t?t.length:U;return i||!!r&&Ws(r)&&O(e,r)&&(wd(t)||Qs(t)||Ls(t))}function yr(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&Bl.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function vr(t){return Ps(t.constructor)&&!Tr(t)?Sn(nu(t)):{}}function Mr(t,e,n){var i=t.constructor;switch(e){case Nt:return Ci(t);case xt:case Dt:return new i(+t);case $t:case zt:case Bt:case qt:case Vt:case Ut:case Jt:case Xt:case Gt:return Ei(t,n);case jt:return Hi(t);case At:case Ft:return new i(t);case Et:return ji(t);case Wt:return Ai(t);case Ot:return Pi(t)}}function wr(t){var e=t?t.length:U;return Ws(e)&&(wd(t)||Qs(t)||Ls(t))?b(e,String):null}function Lr(t,e,n){if(!Fs(n))return!1;var i=typeof e;return("number"==i?ks(n)&&O(e,n.length):"string"==i&&e in n)?vs(n[e],t):!1}function br(t,e){return"number"==typeof t?!0:!wd(t)&&(le.test(t)||!oe.test(t)||null!=e&&t in Object(e))}function kr(t){var e=typeof t;return"number"==e||"boolean"==e||"string"==e&&"__proto__"!=t||null==t}function Yr(t){var e=dr(t),n=be[e];if("function"!=typeof n||!(e in Se.prototype))return!1;if(t===n)return!0;var i=Fu(n);return!!i&&t===i[0]}function Tr(t){var e=t&&t.constructor,n=Ps(e)&&e.prototype||$l;return t===n}function xr(t){return t===t&&!Fs(t)}function Dr(t,e){var n=t[1],i=e[1],r=n|i,a=(X|G|nt)>r,s=i==nt&&n==Z||i==nt&&n==it&&t[7].length<=e[8]||i==(nt|it)&&e[7].length<=e[8]&&n==Z;if(!a&&!s)return t;i&X&&(t[2]=e[2],r|=n&X?0:Q);var o=e[3];if(o){var l=t[3];t[3]=l?Wi(l,o,e[4]):Oi(o),t[4]=l?N(t[3],kt):Oi(e[4])}return o=e[5],o&&(l=t[5],t[5]=l?Fi(l,o,e[6]):Oi(o),t[6]=l?N(t[5],kt):Oi(e[6])),o=e[7],o&&(t[7]=Oi(o)),i&nt&&(t[8]=null==t[8]?e[8]:mu(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r,t}function Sr(t,e,n,i,r,a){return Fs(t)&&Fs(e)&&(a.set(e,t),ri(t,e,U,Sr,a)),t}function Cr(t,e){return 1==e.length?t:Lo(t,gi(e,0,-1))}function Hr(t,e){for(var n=t.length,i=mu(e.length,n),r=Oi(t);i--;){var a=e[i];t[i]=O(a,n)?r[a]:U}return t}function jr(t){var e=[];return ho(t).replace(ue,function(t,n,i,r){e.push(i?r.replace(me,"$1"):n||t)}),e}function Ar(t){if(t instanceof Se)return t.clone();var e=new De(t.__wrapped__,t.__chain__);return e.__actions__=Oi(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function Pr(t,e){e=fu(so(e),0);var n=t?t.length:0;if(!n||1>e)return[];for(var i=0,r=-1,a=Array(uu(n/e));n>i;)a[++r]=gi(t,i,i+=e);return a}function Er(t){for(var e=-1,n=t?t.length:0,i=-1,r=[];++e<n;){var a=t[e];a&&(r[++i]=a)}return r}function Wr(t,e,n){var i=t?t.length:0;return i?(e=n||e===U?1:so(e),gi(t,0>e?0:e,i)):[]}function Fr(t,e,n){var i=t?t.length:0;return i?(e=n||e===U?1:so(e),e=i-e,gi(t,0,0>e?0:e)):[]}function Or(t,e){return t&&t.length?Yi(t,cr(e,3),!0,!0):[]}function Rr(t,e){return t&&t.length?Yi(t,cr(e,3),!0):[]}function Ir(t,e,n,i){var r=t?t.length:0;return r?(n&&"number"!=typeof n&&Lr(t,e,n)&&(n=0,i=r),En(t,e,n,i)):[]}function Nr(t,e){return t&&t.length?y(t,cr(e,3)):-1}function $r(t,e){return t&&t.length?y(t,cr(e,3),!0):-1}function zr(t){var e=t?t.length:0;return e?Fn(t,1):[]}function Br(t){var e=t?t.length:0;return e?Fn(t,gt):[]}function qr(t,e){var n=t?t.length:0;return n?(e=e===U?1:so(e),Fn(t,e)):[]}function Vr(t){for(var e=-1,n=t?t.length:0,i={};++e<n;){var r=t[e];i[r[0]]=r[1]}return i}function Ur(t){return t?t[0]:U}function Jr(t,e,n){var i=t?t.length:0;return i?(n=so(n),0>n&&(n=fu(i+n,0)),v(t,e,n)):-1}function Xr(t){return Fr(t,1)}function Gr(t,e){return t?hu.call(t,e):""}function Qr(t){var e=t?t.length:0;return e?t[e-1]:U}function Zr(t,e,n){var i=t?t.length:0;if(!i)return-1;var r=i;if(n!==U&&(r=so(n),r=(0>r?fu(i+r,0):mu(r,i-1))+1),e!==e)return W(t,r,!0);for(;r--;)if(t[r]===e)return r;return-1}function Kr(t,e){return t&&t.length&&e&&e.length?ci(t,e):t}function ta(t,e,n){return t&&t.length&&e&&e.length?hi(t,e,cr(n)):t}function ea(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],a=t.length;for(e=cr(e,3);++i<a;){var s=t[i];e(s,i,t)&&(n.push(s),r.push(i))}return pi(t,r),n}function na(t){return t?yu.call(t):t}function ia(t,e,n){var i=t?t.length:0;return i?(n&&"number"!=typeof n&&Lr(t,e,n)?(e=0,n=i):(e=null==e?0:so(e),n=n===U?i:so(n)),gi(t,e,n)):[]}function ra(t,e){return vi(t,e)}function aa(t,e,n){return Mi(t,e,cr(n))}function sa(t,e){var n=t?t.length:0;if(n){var i=vi(t,e);if(n>i&&vs(t[i],e))return i}return-1}function oa(t,e){return vi(t,e,!0)}function la(t,e,n){return Mi(t,e,cr(n),!0)}function ua(t,e){var n=t?t.length:0;if(n){var i=vi(t,e,!0)-1;if(vs(t[i],e))return i}return-1}function da(t){return t&&t.length?wi(t):[]}function ca(t,e){return t&&t.length?Li(t,cr(e)):[]}function ha(t){return Wr(t,1)}function pa(t,e,n){return t&&t.length?(e=n||e===U?1:so(e),gi(t,0,0>e?0:e)):[]}function fa(t,e,n){var i=t?t.length:0;return i?(e=n||e===U?1:so(e),e=i-e,gi(t,0>e?0:e,i)):[]}function ma(t,e){return t&&t.length?Yi(t,cr(e,3),!1,!0):[]}function _a(t,e){return t&&t.length?Yi(t,cr(e,3)):[]}function ga(t){return t&&t.length?bi(t):[]}function ya(t,e){return t&&t.length?bi(t,cr(e)):[]}function va(t,e){return t&&t.length?bi(t,U,e):[]}function Ma(t){if(!t||!t.length)return[];var e=0;return t=l(t,function(t){return Ys(t)?(e=fu(t.length,e),!0):void 0}),b(e,function(e){return c(t,ui(e))})}function wa(t,e){if(!t||!t.length)return[];var i=Ma(t);return null==e?i:c(i,function(t){return n(e,U,t)})}function La(t,e){return Di(t||[],e||[],on)}function ba(t,e){return Di(t||[],e||[],_i)}function ka(t){var e=be(t);return e.__chain__=!0,e}function Ya(t,e){return e(t),t}function Ta(t,e){return e(t)}function xa(){return ka(this)}function Da(){return new De(this.value(),this.__chain__)}function Sa(t){return this.map(t).flatten()}function Ca(){this.__values__===U&&(this.__values__=ao(this.value()));var t=this.__index__>=this.__values__.length,e=t?U:this.__values__[this.__index__++];return{done:t,value:e}}function Ha(){return this}function ja(t){for(var e,n=this;n instanceof xe;){var i=Ar(n);i.__index__=0,i.__values__=U,e?r.__wrapped__=i:e=i;var r=i;n=n.__wrapped__}return r.__wrapped__=t,e}function Aa(){var t=this.__wrapped__;if(t instanceof Se){var e=t;return this.__actions__.length&&(e=new Se(this)),e=e.reverse(),e.__actions__.push({func:Ta,args:[na],thisArg:U}),new De(e,this.__chain__)}return this.thru(na)}function Pa(){return Ti(this.__wrapped__,this.__actions__)}function Ea(t,e,n){var i=wd(t)?o:Pn;return n&&Lr(t,e,n)&&(e=U),i(t,cr(e,3))}function Wa(t,e){var n=wd(t)?l:Wn;return n(t,cr(e,3))}function Fa(t,e){if(e=cr(e,3),wd(t)){var n=y(t,e);return n>-1?t[n]:U}return g(t,e,Hu)}function Oa(t,e){if(e=cr(e,3),wd(t)){var n=y(t,e,!0);return n>-1?t[n]:U}return g(t,e,ju)}function Ra(t,e){return Fn(za(t,e),1)}function Ia(t,e){return"function"==typeof e&&wd(t)?a(t,e):Hu(t,wn(e))}function Na(t,e){return"function"==typeof e&&wd(t)?s(t,e):ju(t,wn(e))}function $a(t,e,n,i){t=ks(t)?t:Oo(t),n=n&&!i?so(n):0;var r=t.length;return 0>n&&(n=fu(r+n,0)),Qs(t)?r>=n&&t.indexOf(e,n)>-1:!!r&&v(t,e,n)>-1}function za(t,e){var n=wd(t)?c:ei;return n(t,cr(e,3))}function Ba(t,e,n,i){return null==t?[]:(wd(e)||(e=null==e?[]:[e]),n=i?U:n,wd(n)||(n=null==n?[]:[n]),si(t,e,n))}function qa(t,e,n){var i=wd(t)?p:M,r=arguments.length<3;return i(t,cr(e,4),n,r,Hu)}function Va(t,e,n){var i=wd(t)?f:M,r=arguments.length<3;return i(t,cr(e,4),n,r,ju)}function Ua(t,e){var n=wd(t)?l:Wn;return e=cr(e,3),n(t,function(t,n,i){return!e(t,n,i)})}function Ja(t){var e=ks(t)?t:Oo(t),n=e.length;return n>0?e[fi(0,n-1)]:U}function Xa(t,e){var n=-1,i=ao(t),r=i.length,a=r-1;for(e=Yn(so(e),0,r);++n<e;){var s=fi(n,a),o=i[s];i[s]=i[n],i[n]=o}return i.length=e,i}function Ga(t){return Xa(t,wt)}function Qa(t){if(null==t)return 0;if(ks(t)){var e=t.length;return e&&Qs(t)?z(t):e}return Yo(t).length}function Za(t,e,n){var i=wd(t)?m:yi;return n&&Lr(t,e,n)&&(e=U),i(t,cr(e,3))}function Ka(t,e){if("function"!=typeof e)throw new Il(mt);return t=so(t),function(){return--t<1?e.apply(this,arguments):void 0}}function ts(t,e,n){return e=n?U:e,e=t&&null==e?t.length:e,sr(t,nt,U,U,U,U,e)}function es(t,e){var n;if("function"!=typeof e)throw new Il(mt);return t=so(t),function(){return--t>0&&(n=e.apply(this,arguments)),1>=t&&(e=U),n}}function ns(t,e,n){e=n?U:e;var i=sr(t,Z,U,U,U,U,U,e);return i.placeholder=ns.placeholder,i}function is(t,e,n){e=n?U:e;var i=sr(t,K,U,U,U,U,U,e);return i.placeholder=is.placeholder,i}function rs(t,e,n){function i(){f&&tu(f),d&&tu(d),_=0,u=d=p=f=m=U}function r(e,n){n&&tu(n),d=f=m=U,e&&(_=hd(),c=t.apply(p,u),f||d||(u=p=U))}function a(){var t=e-(hd()-h);0>=t||t>e?r(m,d):f=ou(a,t)}function s(){return(f&&m||d&&v)&&(c=t.apply(p,u)),i(),c}function o(){r(v,f)}function l(){if(u=arguments,h=hd(),p=this,m=v&&(f||!g),y===!1)var n=g&&!f;else{_||d||g||(_=h);var i=y-(h-_),r=(0>=i||i>y)&&(g||d);r?(d&&(d=tu(d)),_=h,c=t.apply(p,u)):d||(d=ou(o,i))}return r&&f?f=tu(f):f||e===y||(f=ou(a,e)),n&&(r=!0,c=t.apply(p,u)),!r||f||d||(u=p=U),c}var u,d,c,h,p,f,m,_=0,g=!1,y=!1,v=!0;if("function"!=typeof t)throw new Il(mt);return e=lo(e)||0,Fs(n)&&(g=!!n.leading,y="maxWait"in n&&fu(lo(n.maxWait)||0,e),v="trailing"in n?!!n.trailing:v),l.cancel=i,l.flush=s,l}function as(t){return sr(t,rt)}function ss(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new Il(mt);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var s=t.apply(this,i);return n.cache=a.set(r,s),s};return n.cache=new ss.Cache,n}function os(t){if("function"!=typeof t)throw new Il(mt);return function(){return!t.apply(this,arguments)}}function ls(t){return es(2,t)}function us(t,e){if("function"!=typeof t)throw new Il(mt);return e=fu(e===U?t.length-1:so(e),0),function(){for(var i=arguments,r=-1,a=fu(i.length-e,0),s=Array(a);++r<a;)s[r]=i[e+r];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(r=-1;++r<e;)o[r]=i[r];return o[e]=s,n(t,this,o)}}function ds(t,e){if("function"!=typeof t)throw new Il(mt);return e=e===U?0:fu(so(e),0),us(function(i){var r=i[e],a=i.slice(0,e);return r&&h(a,r),n(t,this,a)})}function cs(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new Il(mt);return Fs(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),rs(t,e,{leading:i,maxWait:e,trailing:r})}function hs(t){return ts(t,1)}function ps(t,e){return e=null==e?fl:e,yd(e,t)}function fs(){if(!arguments.length)return[];var t=arguments[0];return wd(t)?t:[t]}function ms(t){return Tn(t)}function _s(t,e){return Tn(t,!1,e)}function gs(t){return Tn(t,!0)}function ys(t,e){return Tn(t,!0,e)}function vs(t,e){return t===e||t!==t&&e!==e}function Ms(t,e){return t>e}function ws(t,e){return t>=e}function Ls(t){return Ys(t)&&Bl.call(t,"callee")&&(!su.call(t,"callee")||Ul.call(t)==Yt)}function bs(t){return Os(t)&&Ul.call(t)==Nt}function ks(t){return null!=t&&!("function"==typeof t&&Ps(t))&&Ws(Ou(t))}function Ys(t){return Os(t)&&ks(t)}function Ts(t){return t===!0||t===!1||Os(t)&&Ul.call(t)==xt}function xs(t){return Os(t)&&Ul.call(t)==Dt}function Ds(t){return!!t&&1===t.nodeType&&Os(t)&&!Us(t)}function Ss(t){if(ks(t)&&(wd(t)||Qs(t)||Ps(t.splice)||Ls(t)))return!t.length;for(var e in t)if(Bl.call(t,e))return!1;return!0}function Cs(t,e){return Xn(t,e)}function Hs(t,e,n){n="function"==typeof n?n:U;var i=n?n(t,e):U;return i===U?Xn(t,e,n):!!i}function js(t){return Os(t)?Ul.call(t)==St||"string"==typeof t.message&&"string"==typeof t.name:!1}function As(t){return"number"==typeof t&&cu(t)}function Ps(t){var e=Fs(t)?Ul.call(t):"";return e==Ct||e==Ht}function Es(t){return"number"==typeof t&&t==so(t)}function Ws(t){return"number"==typeof t&&t>-1&&t%1==0&&yt>=t}function Fs(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Os(t){return!!t&&"object"==typeof t}function Rs(t){return Os(t)&&mr(t)==jt}function Is(t,e){return t===e||Qn(t,e,hr(e))}function Ns(t,e,n){return n="function"==typeof n?n:U,Qn(t,e,hr(e),n)}function $s(t){return Vs(t)&&t!=+t}function zs(t){return null==t?!1:Ps(t)?Xl.test(zl.call(t)):Os(t)&&(F(t)?Xl:we).test(t)}function Bs(t){return null===t}function qs(t){return null==t}function Vs(t){return"number"==typeof t||Os(t)&&Ul.call(t)==At}function Us(t){if(!Os(t)||Ul.call(t)!=Pt||F(t))return!1;var e=nu(t);if(null===e)return!0;var n=e.constructor;return"function"==typeof n&&n instanceof n&&zl.call(n)==Vl}function Js(t){return Fs(t)&&Ul.call(t)==Et}function Xs(t){return Es(t)&&t>=-yt&&yt>=t}function Gs(t){return Os(t)&&mr(t)==Wt}function Qs(t){return"string"==typeof t||!wd(t)&&Os(t)&&Ul.call(t)==Ft}function Zs(t){return"symbol"==typeof t||Os(t)&&Ul.call(t)==Ot}function Ks(t){return Os(t)&&Ws(t.length)&&!!_n[Ul.call(t)]}function to(t){return t===U}function eo(t){return Os(t)&&mr(t)==Rt}function no(t){return Os(t)&&Ul.call(t)==It}function io(t,e){return e>t}function ro(t,e){return e>=t}function ao(t){if(!t)return[];if(ks(t))return Qs(t)?B(t):Oi(t);if(ru&&t[ru])return R(t[ru]());var e=mr(t),n=e==jt?I:e==Wt?$:Oo;return n(t)}function so(t){if(!t)return 0===t?t:0;if(t=lo(t),t===gt||t===-gt){var e=0>t?-1:1;return e*vt}var n=t%1;return t===t?n?t-n:t:0}function oo(t){return t?Yn(so(t),0,wt):0}function lo(t){if(Fs(t)){var e=Ps(t.valueOf)?t.valueOf():t;t=Fs(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(he,"");var n=Me.test(t);return n||Le.test(t)?kn(t.slice(2),n?2:8):ve.test(t)?Mt:+t}function uo(t){return Ri(t,To(t))}function co(t){return Yn(so(t),-yt,yt)}function ho(t){if("string"==typeof t)return t;if(null==t)return"";if(Zs(t))return Zl?Su.call(t):"";var e=t+"";return"0"==e&&1/t==-gt?"-0":e}function po(t,e){var n=Sn(t);return e?yn(n,e):n}function fo(t,e){return g(t,cr(e,3),Rn,!0)}function mo(t,e){return g(t,cr(e,3),In,!0)}function _o(t,e){return null==t?t:Au(t,wn(e),To)}function go(t,e){return null==t?t:Pu(t,wn(e),To)}function yo(t,e){return t&&Rn(t,wn(e))}function vo(t,e){return t&&In(t,wn(e))}function Mo(t){return null==t?[]:Nn(t,Yo(t))}function wo(t){return null==t?[]:Nn(t,To(t))}function Lo(t,e,n){var i=null==t?U:$n(t,e);return i===U?n:i}function bo(t,e){return gr(t,e,zn)}function ko(t,e){return gr(t,e,Bn)}function Yo(t){var e=Tr(t);if(!e&&!ks(t))return Kn(t);var n=wr(t),i=!!n,r=n||[],a=r.length;for(var s in t)!zn(t,s)||i&&("length"==s||O(s,a))||e&&"constructor"==s||r.push(s);return r}function To(t){for(var e=-1,n=Tr(t),i=ti(t),r=i.length,a=wr(t),s=!!a,o=a||[],l=o.length;++e<r;){var u=i[e];s&&("length"==u||O(u,l))||"constructor"==u&&(n||!Bl.call(t,u))||o.push(u)}return o}function xo(t,e){var n={};return e=cr(e,3),Rn(t,function(t,i,r){n[e(t,i,r)]=t}),n}function Do(t,e){var n={};return e=cr(e,3),Rn(t,function(t,i,r){n[i]=e(t,i,r)}),n}function So(t,e){return e=cr(e),li(t,function(t,n){return!e(t,n)})}function Co(t,e){return null==t?{}:li(t,cr(e))}function Ho(t,e,n){if(br(e,t))i=null==t?U:t[e];else{e=Ln(e);var i=Lo(t,e);t=Cr(t,e)}return i===U&&(i=n),Ps(i)?i.call(t):i}function jo(t,e,n){return null==t?t:_i(t,e,n)}function Ao(t,e,n,i){return i="function"==typeof i?i:U,null==t?t:_i(t,e,n,i)}function Po(t){return k(t,Yo(t))}function Eo(t){return k(t,To(t))}function Wo(t,e,n){var i=wd(t)||Ks(t);if(e=cr(e,4),null==n)if(i||Fs(t)){var r=t.constructor;n=i?wd(t)?new r:[]:Ps(r)?Sn(nu(t)):{}}else n={};return(i?a:Rn)(t,function(t,i,r){return e(n,t,i,r)}),n}function Fo(t,e){return null==t?!0:ki(t,e)}function Oo(t){return t?T(t,Yo(t)):[]}function Ro(t){return null==t?[]:T(t,To(t))}function Io(t,e,n){return n===U&&(n=e,e=U),n!==U&&(n=lo(n),n=n===n?n:0),e!==U&&(e=lo(e),e=e===e?e:0),Yn(lo(t),e,n)}function No(t,e,n){return e=lo(e)||0,n===U?(n=e,e=0):n=lo(n)||0,t=lo(t),qn(t,e,n)}function $o(t,e,n){if(n&&"boolean"!=typeof n&&Lr(t,e,n)&&(e=n=U),n===U&&("boolean"==typeof e?(n=e,e=U):"boolean"==typeof t&&(n=t,t=U)),t===U&&e===U?(t=0,e=1):(t=lo(t)||0,e===U?(e=t,t=0):e=lo(e)||0),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var r=gu();return mu(t+r*(e-t+bn("1e-"+((r+"").length-1))),e)}return fi(t,e)}function zo(t){return Nd(ho(t).toLowerCase())}function Bo(t){return t=ho(t),t&&t.replace(ke,A).replace(ln,"")}function qo(t,e,n){t=ho(t),e="string"==typeof e?e:e+"";var i=t.length;return n=n===U?i:Yn(so(n),0,i),n-=e.length,n>=0&&t.indexOf(e,n)==n}function Vo(t){return t=ho(t),t&&ie.test(t)?t.replace(ee,P):t}function Uo(t){return t=ho(t),t&&ce.test(t)?t.replace(de,"\\$&"):t}function Jo(t,e,n){t=ho(t),e=so(e);var i=z(t);if(!e||i>=e)return t;var r=(e-i)/2,a=du(r),s=uu(r);return er("",a,n)+t+er("",s,n)}function Xo(t,e,n){return t=ho(t),t+er(t,e,n)}function Go(t,e,n){return t=ho(t),er(t,e,n)+t}function Qo(t,e,n){return n||null==e?e=0:e&&(e=+e),t=ho(t).replace(he,""),_u(t,e||(ye.test(t)?16:10))}function Zo(t,e){t=ho(t),e=so(e);var n="";if(!t||1>e||e>yt)return n;do e%2&&(n+=t),e=du(e/2),t+=t;while(e);return n}function Ko(){var t=arguments,e=ho(t[0]);return t.length<3?e:e.replace(t[1],t[2])}function tl(t,e,n){return ho(t).split(e,n)}function el(t,e,n){return t=ho(t),n=Yn(so(n),0,t.length),t.lastIndexOf(e,n)==n}function nl(t,e,n){var i=be.templateSettings;n&&Lr(t,e,n)&&(e=U),t=ho(t),e=Yd({},e,i,an);var r,a,s=Yd({},e.imports,i.imports,an),o=Yo(s),l=T(s,o),u=0,d=e.interpolate||Ye,c="__p += '",h=Rl((e.escape||Ye).source+"|"+d.source+"|"+(d===se?_e:Ye).source+"|"+(e.evaluate||Ye).source+"|$","g"),p="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++mn+"]")+"\n";t.replace(h,function(e,n,i,s,o,l){return i||(i=s),c+=t.slice(u,l).replace(Te,E),n&&(r=!0,c+="' +\n__e("+n+") +\n'"),o&&(a=!0,c+="';\n"+o+";\n__p += '"),i&&(c+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=l+e.length,e}),c+="';\n";var f=e.variable;f||(c="with (obj) {\n"+c+"\n}\n"),c=(a?c.replace(Qt,""):c).replace(Zt,"$1").replace(Kt,"$1;"),c="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+c+"return __p\n}";
var m=qd(function(){return Function(o,p+"return "+c).apply(U,l)});if(m.source=c,js(m))throw m;return m}function il(t){return ho(t).toLowerCase()}function rl(t){return ho(t).toUpperCase()}function al(t,e,n){if(t=ho(t),!t)return t;if(n||e===U)return t.replace(he,"");if(e+="",!e)return t;var i=B(t),r=B(e);return i.slice(x(i,r),D(i,r)+1).join("")}function sl(t,e,n){if(t=ho(t),!t)return t;if(n||e===U)return t.replace(fe,"");if(e+="",!e)return t;var i=B(t);return i.slice(0,D(i,B(e))+1).join("")}function ol(t,e,n){if(t=ho(t),!t)return t;if(n||e===U)return t.replace(pe,"");if(e+="",!e)return t;var i=B(t);return i.slice(x(i,B(e))).join("")}function ll(t,e){var n=ot,i=lt;if(Fs(e)){var r="separator"in e?e.separator:r;n="length"in e?so(e.length):n,i="omission"in e?ho(e.omission):i}t=ho(t);var a=t.length;if(dn.test(t)){var s=B(t);a=s.length}if(n>=a)return t;var o=n-z(i);if(1>o)return i;var l=s?s.slice(0,o).join(""):t.slice(0,o);if(r===U)return l+i;if(s&&(o+=l.length-o),Js(r)){if(t.slice(o).search(r)){var u,d=l;for(r.global||(r=Rl(r.source,ho(ge.exec(r))+"g")),r.lastIndex=0;u=r.exec(d);)var c=u.index;l=l.slice(0,c===U?o:c)}}else if(t.indexOf(r,o)!=o){var h=l.lastIndexOf(r);h>-1&&(l=l.slice(0,h))}return l+i}function ul(t){return t=ho(t),t&&ne.test(t)?t.replace(te,q):t}function dl(t,e,n){return t=ho(t),e=n?U:e,e===U&&(e=pn.test(t)?hn:cn),t.match(e)||[]}function cl(t){var e=t?t.length:0,i=cr();return t=e?c(t,function(t){if("function"!=typeof t[1])throw new Il(mt);return[i(t[0]),t[1]]}):[],us(function(i){for(var r=-1;++r<e;){var a=t[r];if(n(a[0],this,i))return n(a[1],this,i)}})}function hl(t){return Dn(Tn(t,!0))}function pl(t){return function(){return t}}function fl(t){return t}function ml(t){return Zn("function"==typeof t?t:Tn(t,!0))}function _l(t){return ni(Tn(t,!0))}function gl(t,e){return ii(t,Tn(e,!0))}function yl(t,e,n){var i=Yo(e),r=Nn(e,i);null!=n||Fs(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=Nn(e,Yo(e)));var s=Fs(n)&&"chain"in n?n.chain:!0,o=Ps(t);return a(r,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__),r=n.__actions__=Oi(this.__actions__);return r.push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,h([this.value()],arguments))})}),t}function vl(){return jn._===this&&(jn._=Jl),this}function Ml(){}function wl(t){return t=so(t),function(){return arguments[t]}}function Ll(t){return br(t)?ui(t):di(t)}function bl(t){return function(e){return null==t?U:$n(t,e)}}function kl(t,e){if(t=so(t),1>t||t>yt)return[];var n=wt,i=mu(t,wt);e=wn(e),t-=wt;for(var r=b(i,e);++n<t;)e(n);return r}function Yl(t){return wd(t)?c(t,String):jr(t)}function Tl(t){var e=++ql;return ho(t)+e}function xl(t,e){var n;return t===U&&e===U?0:(t!==U&&(n=t),e!==U&&(n=n===U?e:n+e),n)}function Dl(t){return t&&t.length?_(t,fl,Ms):U}function Sl(t,e){return t&&t.length?_(t,cr(e),Ms):U}function Cl(t){return Pl(t)/(t?t.length:0)}function Hl(t){return t&&t.length?_(t,fl,io):U}function jl(t,e){return t&&t.length?_(t,cr(e),io):U}function Al(t,e){var n;return t===U&&e===U?0:(t!==U&&(n=t),e!==U&&(n=n===U?e:n-e),n)}function Pl(t){return t&&t.length?L(t,fl):0}function El(t,e){return t&&t.length?L(t,cr(e)):0}S=S?An.defaults({},S,An.pick(jn,fn)):jn;var Wl=S.Date,Fl=S.Error,Ol=S.Math,Rl=S.RegExp,Il=S.TypeError,Nl=S.Array.prototype,$l=S.Object.prototype,zl=S.Function.prototype.toString,Bl=$l.hasOwnProperty,ql=0,Vl=zl.call(Object),Ul=$l.toString,Jl=jn._,Xl=Rl("^"+zl.call(Bl).replace(de,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Gl=xn?S.Buffer:U,Ql=S.Reflect,Zl=S.Symbol,Kl=S.Uint8Array,tu=S.clearTimeout,eu=Ql?Ql.enumerate:U,nu=Object.getPrototypeOf,iu=Object.getOwnPropertySymbols,ru="symbol"==typeof(ru=Zl&&Zl.iterator)?ru:U,au=Object.create,su=$l.propertyIsEnumerable,ou=S.setTimeout,lu=Nl.splice,uu=Ol.ceil,du=Ol.floor,cu=S.isFinite,hu=Nl.join,pu=Object.keys,fu=Ol.max,mu=Ol.min,_u=S.parseInt,gu=Ol.random,yu=Nl.reverse,vu=pr(S,"Map"),Mu=pr(S,"Set"),wu=pr(S,"WeakMap"),Lu=pr(Object,"create"),bu=wu&&new wu,ku=vu?zl.call(vu):"",Yu=Mu?zl.call(Mu):"",Tu=wu?zl.call(wu):"",xu=Zl?Zl.prototype:U,Du=Zl?xu.valueOf:U,Su=Zl?xu.toString:U,Cu={};be.templateSettings={escape:re,evaluate:ae,interpolate:se,variable:"",imports:{_:be}};var Hu=Bi(Rn),ju=Bi(In,!0),Au=qi(),Pu=qi(!0);eu&&!su.call({valueOf:1},"valueOf")&&(ti=function(t){return R(eu(t))});var Eu=bu?function(t,e){return bu.set(t,e),t}:fl,Wu=Mu&&2===new Mu([1,2]).size?function(t){return new Mu(t)}:Ml,Fu=bu?function(t){return bu.get(t)}:Ml,Ou=ui("length"),Ru=iu||function(){return[]};(vu&&mr(new vu)!=jt||Mu&&mr(new Mu)!=Wt||wu&&mr(new wu)!=Rt)&&(mr=function(t){var e=Ul.call(t),n=e==Pt?t.constructor:null,i="function"==typeof n?zl.call(n):"";if(i)switch(i){case ku:return jt;case Yu:return Wt;case Tu:return Rt}return e});var Iu=function(){var t=0,e=0;return function(n,i){var r=hd(),a=dt-(r-e);if(e=r,a>0){if(++t>=ut)return n}else t=0;return Eu(n,i)}}(),Nu=us(function(t,e){return wd(t)||(t=null==t?[]:[Object(t)]),e=Fn(e,1),r(t,e)}),$u=us(function(t,e){return Ys(t)?Hn(t,Fn(e,1,!0)):[]}),zu=us(function(t,e){var n=Qr(e);return Ys(n)&&(n=U),Ys(t)?Hn(t,Fn(e,1,!0),cr(n)):[]}),Bu=us(function(t,e){var n=Qr(e);return Ys(n)&&(n=U),Ys(t)?Hn(t,Fn(e,1,!0),U,n):[]}),qu=us(function(t){var e=c(t,Mn);return e.length&&e[0]===t[0]?Vn(e):[]}),Vu=us(function(t){var e=Qr(t),n=c(t,Mn);return e===Qr(n)?e=U:n.pop(),n.length&&n[0]===t[0]?Vn(n,cr(e)):[]}),Uu=us(function(t){var e=Qr(t),n=c(t,Mn);return e===Qr(n)?e=U:n.pop(),n.length&&n[0]===t[0]?Vn(n,U,e):[]}),Ju=us(Kr),Xu=us(function(t,e){e=c(Fn(e,1),String);var n=vn(t,e);return pi(t,e.sort(C)),n}),Gu=us(function(t){return bi(Fn(t,1,!0))}),Qu=us(function(t){var e=Qr(t);return Ys(e)&&(e=U),bi(Fn(t,1,!0),cr(e))}),Zu=us(function(t){var e=Qr(t);return Ys(e)&&(e=U),bi(Fn(t,1,!0),U,e)}),Ku=us(function(t,e){return Ys(t)?Hn(t,e):[]}),td=us(function(t){return xi(l(t,Ys))}),ed=us(function(t){var e=Qr(t);return Ys(e)&&(e=U),xi(l(t,Ys),cr(e))}),nd=us(function(t){var e=Qr(t);return Ys(e)&&(e=U),xi(l(t,Ys),U,e)}),id=us(Ma),rd=us(function(t){var e=t.length,n=e>1?t[e-1]:U;return n="function"==typeof n?(t.pop(),n):U,wa(t,n)}),ad=us(function(t){t=Fn(t,1);var e=t.length,n=e?t[0]:0,i=this.__wrapped__,r=function(e){return vn(e,t)};return!(e>1||this.__actions__.length)&&i instanceof Se&&O(n)?(i=i.slice(n,+n+(e?1:0)),i.__actions__.push({func:Ta,args:[r],thisArg:U}),new De(i,this.__chain__).thru(function(t){return e&&!t.length&&t.push(U),t})):this.thru(r)}),sd=$i(function(t,e,n){Bl.call(t,n)?++t[n]:t[n]=1}),od=$i(function(t,e,n){Bl.call(t,n)?t[n].push(e):t[n]=[e]}),ld=us(function(t,e,i){var r=-1,a="function"==typeof e,s=br(e),o=ks(t)?Array(t.length):[];return Hu(t,function(t){var l=a?e:s&&null!=t?t[e]:U;o[++r]=l?n(l,t,i):Jn(t,e,i)}),o}),ud=$i(function(t,e,n){t[n]=e}),dd=$i(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),cd=us(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Lr(t,e[0],e[1])?e=[]:n>2&&Lr(e[0],e[1],e[2])&&(e.length=1),si(t,Fn(e,1),[])}),hd=Wl.now,pd=us(function(t,e,n){var i=X;if(n.length){var r=N(n,fr(pd));i|=tt}return sr(t,i,e,n,r)}),fd=us(function(t,e,n){var i=X|G;if(n.length){var r=N(n,fr(fd));i|=tt}return sr(e,i,t,n,r)}),md=us(function(t,e){return Cn(t,1,e)}),_d=us(function(t,e,n){return Cn(t,lo(e)||0,n)}),gd=us(function(t,e){e=c(Fn(e,1),cr());var i=e.length;return us(function(r){for(var a=-1,s=mu(r.length,i);++a<s;)r[a]=e[a].call(this,r[a]);return n(t,this,r)})}),yd=us(function(t,e){var n=N(e,fr(yd));return sr(t,tt,U,e,n)}),vd=us(function(t,e){var n=N(e,fr(vd));return sr(t,et,U,e,n)}),Md=us(function(t,e){return sr(t,it,U,U,U,Fn(e,1))}),wd=Array.isArray,Ld=Gl?function(t){return t instanceof Gl}:pl(!1),bd=zi(function(t,e){Ri(e,Yo(e),t)}),kd=zi(function(t,e){Ri(e,To(e),t)}),Yd=zi(function(t,e,n,i){Ii(e,To(e),t,i)}),Td=zi(function(t,e,n,i){Ii(e,Yo(e),t,i)}),xd=us(function(t,e){return vn(t,Fn(e,1))}),Dd=us(function(t){return t.push(U,an),n(Yd,U,t)}),Sd=us(function(t){return t.push(U,Sr),n(Pd,U,t)}),Cd=Ki(function(t,e,n){t[e]=n},pl(fl)),Hd=Ki(function(t,e,n){Bl.call(t,e)?t[e].push(n):t[e]=[n]},cr),jd=us(Jn),Ad=zi(function(t,e,n){ri(t,e,n)}),Pd=zi(function(t,e,n,i){ri(t,e,n,i)}),Ed=us(function(t,e){return null==t?{}:(e=c(Fn(e,1),String),oi(t,Hn(To(t),e)))}),Wd=us(function(t,e){return null==t?{}:oi(t,Fn(e,1))}),Fd=Ji(function(t,e,n){return e=e.toLowerCase(),t+(n?zo(e):e)}),Od=Ji(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Rd=Ji(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Id=Ui("toLowerCase"),Nd=Ui("toUpperCase"),$d=Ji(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),zd=Ji(function(t,e,n){return t+(n?" ":"")+zo(e)}),Bd=Ji(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),qd=us(function(t,e){try{return n(t,U,e)}catch(i){return js(i)?i:new Fl(i)}}),Vd=us(function(t,e){return a(Fn(e,1),function(e){t[e]=pd(t[e],t)}),t}),Ud=Qi(),Jd=Qi(!0),Xd=us(function(t,e){return function(n){return Jn(n,t,e)}}),Gd=us(function(t,e){return function(n){return Jn(t,n,e)}}),Qd=tr(c),Zd=tr(o),Kd=tr(m),tc=ir(),ec=ir(!0),nc=ar("ceil"),ic=ar("floor"),rc=ar("round");return be.prototype=xe.prototype,De.prototype=Sn(xe.prototype),De.prototype.constructor=De,Se.prototype=Sn(xe.prototype),Se.prototype.constructor=Se,Ae.prototype=Lu?Lu(null):$l,Oe.prototype.clear=Re,Oe.prototype["delete"]=Ie,Oe.prototype.get=Ne,Oe.prototype.has=$e,Oe.prototype.set=ze,Be.prototype.push=Ve,Ue.prototype.clear=Je,Ue.prototype["delete"]=Xe,Ue.prototype.get=Ge,Ue.prototype.has=Qe,Ue.prototype.set=Ze,ss.Cache=Oe,be.after=Ka,be.ary=ts,be.assign=bd,be.assignIn=kd,be.assignInWith=Yd,be.assignWith=Td,be.at=xd,be.before=es,be.bind=pd,be.bindAll=Vd,be.bindKey=fd,be.castArray=fs,be.chain=ka,be.chunk=Pr,be.compact=Er,be.concat=Nu,be.cond=cl,be.conforms=hl,be.constant=pl,be.countBy=sd,be.create=po,be.curry=ns,be.curryRight=is,be.debounce=rs,be.defaults=Dd,be.defaultsDeep=Sd,be.defer=md,be.delay=_d,be.difference=$u,be.differenceBy=zu,be.differenceWith=Bu,be.drop=Wr,be.dropRight=Fr,be.dropRightWhile=Or,be.dropWhile=Rr,be.fill=Ir,be.filter=Wa,be.flatMap=Ra,be.flatten=zr,be.flattenDeep=Br,be.flattenDepth=qr,be.flip=as,be.flow=Ud,be.flowRight=Jd,be.fromPairs=Vr,be.functions=Mo,be.functionsIn=wo,be.groupBy=od,be.initial=Xr,be.intersection=qu,be.intersectionBy=Vu,be.intersectionWith=Uu,be.invert=Cd,be.invertBy=Hd,be.invokeMap=ld,be.iteratee=ml,be.keyBy=ud,be.keys=Yo,be.keysIn=To,be.map=za,be.mapKeys=xo,be.mapValues=Do,be.matches=_l,be.matchesProperty=gl,be.memoize=ss,be.merge=Ad,be.mergeWith=Pd,be.method=Xd,be.methodOf=Gd,be.mixin=yl,be.negate=os,be.nthArg=wl,be.omit=Ed,be.omitBy=So,be.once=ls,be.orderBy=Ba,be.over=Qd,be.overArgs=gd,be.overEvery=Zd,be.overSome=Kd,be.partial=yd,be.partialRight=vd,be.partition=dd,be.pick=Wd,be.pickBy=Co,be.property=Ll,be.propertyOf=bl,be.pull=Ju,be.pullAll=Kr,be.pullAllBy=ta,be.pullAt=Xu,be.range=tc,be.rangeRight=ec,be.rearg=Md,be.reject=Ua,be.remove=ea,be.rest=us,be.reverse=na,be.sampleSize=Xa,be.set=jo,be.setWith=Ao,be.shuffle=Ga,be.slice=ia,be.sortBy=cd,be.sortedUniq=da,be.sortedUniqBy=ca,be.split=tl,be.spread=ds,be.tail=ha,be.take=pa,be.takeRight=fa,be.takeRightWhile=ma,be.takeWhile=_a,be.tap=Ya,be.throttle=cs,be.thru=Ta,be.toArray=ao,be.toPairs=Po,be.toPairsIn=Eo,be.toPath=Yl,be.toPlainObject=uo,be.transform=Wo,be.unary=hs,be.union=Gu,be.unionBy=Qu,be.unionWith=Zu,be.uniq=ga,be.uniqBy=ya,be.uniqWith=va,be.unset=Fo,be.unzip=Ma,be.unzipWith=wa,be.values=Oo,be.valuesIn=Ro,be.without=Ku,be.words=dl,be.wrap=ps,be.xor=td,be.xorBy=ed,be.xorWith=nd,be.zip=id,be.zipObject=La,be.zipObjectDeep=ba,be.zipWith=rd,be.extend=kd,be.extendWith=Yd,yl(be,be),be.add=xl,be.attempt=qd,be.camelCase=Fd,be.capitalize=zo,be.ceil=nc,be.clamp=Io,be.clone=ms,be.cloneDeep=gs,be.cloneDeepWith=ys,be.cloneWith=_s,be.deburr=Bo,be.endsWith=qo,be.eq=vs,be.escape=Vo,be.escapeRegExp=Uo,be.every=Ea,be.find=Fa,be.findIndex=Nr,be.findKey=fo,be.findLast=Oa,be.findLastIndex=$r,be.findLastKey=mo,be.floor=ic,be.forEach=Ia,be.forEachRight=Na,be.forIn=_o,be.forInRight=go,be.forOwn=yo,be.forOwnRight=vo,be.get=Lo,be.gt=Ms,be.gte=ws,be.has=bo,be.hasIn=ko,be.head=Ur,be.identity=fl,be.includes=$a,be.indexOf=Jr,be.inRange=No,be.invoke=jd,be.isArguments=Ls,be.isArray=wd,be.isArrayBuffer=bs,be.isArrayLike=ks,be.isArrayLikeObject=Ys,be.isBoolean=Ts,be.isBuffer=Ld,be.isDate=xs,be.isElement=Ds,be.isEmpty=Ss,be.isEqual=Cs,be.isEqualWith=Hs,be.isError=js,be.isFinite=As,be.isFunction=Ps,be.isInteger=Es,be.isLength=Ws,be.isMap=Rs,be.isMatch=Is,be.isMatchWith=Ns,be.isNaN=$s,be.isNative=zs,be.isNil=qs,be.isNull=Bs,be.isNumber=Vs,be.isObject=Fs,be.isObjectLike=Os,be.isPlainObject=Us,be.isRegExp=Js,be.isSafeInteger=Xs,be.isSet=Gs,be.isString=Qs,be.isSymbol=Zs,be.isTypedArray=Ks,be.isUndefined=to,be.isWeakMap=eo,be.isWeakSet=no,be.join=Gr,be.kebabCase=Od,be.last=Qr,be.lastIndexOf=Zr,be.lowerCase=Rd,be.lowerFirst=Id,be.lt=io,be.lte=ro,be.max=Dl,be.maxBy=Sl,be.mean=Cl,be.min=Hl,be.minBy=jl,be.noConflict=vl,be.noop=Ml,be.now=hd,be.pad=Jo,be.padEnd=Xo,be.padStart=Go,be.parseInt=Qo,be.random=$o,be.reduce=qa,be.reduceRight=Va,be.repeat=Zo,be.replace=Ko,be.result=Ho,be.round=rc,be.runInContext=V,be.sample=Ja,be.size=Qa,be.snakeCase=$d,be.some=Za,be.sortedIndex=ra,be.sortedIndexBy=aa,be.sortedIndexOf=sa,be.sortedLastIndex=oa,be.sortedLastIndexBy=la,be.sortedLastIndexOf=ua,be.startCase=zd,be.startsWith=el,be.subtract=Al,be.sum=Pl,be.sumBy=El,be.template=nl,be.times=kl,be.toInteger=so,be.toLength=oo,be.toLower=il,be.toNumber=lo,be.toSafeInteger=co,be.toString=ho,be.toUpper=rl,be.trim=al,be.trimEnd=sl,be.trimStart=ol,be.truncate=ll,be.unescape=ul,be.uniqueId=Tl,be.upperCase=Bd,be.upperFirst=Nd,be.each=Ia,be.eachRight=Na,be.first=Ur,yl(be,function(){var t={};return Rn(be,function(e,n){Bl.call(be.prototype,n)||(t[n]=e)}),t}(),{chain:!1}),be.VERSION=J,a(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){be[t].placeholder=be}),a(["drop","take"],function(t,e){Se.prototype[t]=function(n){var i=this.__filtered__;if(i&&!e)return new Se(this);n=n===U?1:fu(so(n),0);var r=this.clone();return i?r.__takeCount__=mu(n,r.__takeCount__):r.__views__.push({size:mu(n,wt),type:t+(r.__dir__<0?"Right":"")}),r},Se.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),a(["filter","map","takeWhile"],function(t,e){var n=e+1,i=n==ht||n==ft;Se.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:cr(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}}),a(["head","last"],function(t,e){var n="take"+(e?"Right":"");Se.prototype[t]=function(){return this[n](1).value()[0]}}),a(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");Se.prototype[t]=function(){return this.__filtered__?new Se(this):this[n](1)}}),Se.prototype.compact=function(){return this.filter(fl)},Se.prototype.find=function(t){return this.filter(t).head()},Se.prototype.findLast=function(t){return this.reverse().find(t)},Se.prototype.invokeMap=us(function(t,e){return"function"==typeof t?new Se(this):this.map(function(n){return Jn(n,t,e)})}),Se.prototype.reject=function(t){return t=cr(t,3),this.filter(function(e){return!t(e)})},Se.prototype.slice=function(t,e){t=so(t);var n=this;return n.__filtered__&&(t>0||0>e)?new Se(n):(0>t?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==U&&(e=so(e),n=0>e?n.dropRight(-e):n.take(e-t)),n)},Se.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Se.prototype.toArray=function(){return this.take(wt)},Rn(Se.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),r=be[i?"take"+("last"==e?"Right":""):e],a=i||/^find/.test(e);r&&(be.prototype[e]=function(){var e=this.__wrapped__,s=i?[1]:arguments,o=e instanceof Se,l=s[0],u=o||wd(e),d=function(t){var e=r.apply(be,h([t],s));return i&&c?e[0]:e};u&&n&&"function"==typeof l&&1!=l.length&&(o=u=!1);var c=this.__chain__,p=!!this.__actions__.length,f=a&&!c,m=o&&!p;if(!a&&u){e=m?e:new Se(this);var _=t.apply(e,s);return _.__actions__.push({func:Ta,args:[d],thisArg:U}),new De(_,c)}return f&&m?t.apply(this,s):(_=this.thru(d),f?i?_.value()[0]:_.value():_)})}),a(["pop","push","shift","sort","splice","unshift"],function(t){var e=Nl[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);be.prototype[t]=function(){var t=arguments;return i&&!this.__chain__?e.apply(this.value(),t):this[n](function(n){return e.apply(n,t)})}}),Rn(Se.prototype,function(t,e){var n=be[e];if(n){var i=n.name+"",r=Cu[i]||(Cu[i]=[]);r.push({name:e,func:n})}}),Cu[Zi(U,G).name]=[{name:"wrapper",func:U}],Se.prototype.clone=Ce,Se.prototype.reverse=He,Se.prototype.value=je,be.prototype.at=ad,be.prototype.chain=xa,be.prototype.commit=Da,be.prototype.flatMap=Sa,be.prototype.next=Ca,be.prototype.plant=ja,be.prototype.reverse=Aa,be.prototype.toJSON=be.prototype.valueOf=be.prototype.value=Pa,ru&&(be.prototype[ru]=Ha),be}var U,J="4.5.1",X=1,G=2,Q=4,Z=8,K=16,tt=32,et=64,nt=128,it=256,rt=512,at=1,st=2,ot=30,lt="...",ut=150,dt=16,ct=200,ht=1,pt=2,ft=3,mt="Expected a function",_t="__lodash_hash_undefined__",gt=1/0,yt=9007199254740991,vt=1.7976931348623157e308,Mt=NaN,wt=4294967295,Lt=wt-1,bt=wt>>>1,kt="__lodash_placeholder__",Yt="[object Arguments]",Tt="[object Array]",xt="[object Boolean]",Dt="[object Date]",St="[object Error]",Ct="[object Function]",Ht="[object GeneratorFunction]",jt="[object Map]",At="[object Number]",Pt="[object Object]",Et="[object RegExp]",Wt="[object Set]",Ft="[object String]",Ot="[object Symbol]",Rt="[object WeakMap]",It="[object WeakSet]",Nt="[object ArrayBuffer]",$t="[object Float32Array]",zt="[object Float64Array]",Bt="[object Int8Array]",qt="[object Int16Array]",Vt="[object Int32Array]",Ut="[object Uint8Array]",Jt="[object Uint8ClampedArray]",Xt="[object Uint16Array]",Gt="[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),re=/<%-([\s\S]+?)%>/g,ae=/<%([\s\S]+?)%>/g,se=/<%=([\s\S]+?)%>/g,oe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,le=/^\w*$/,ue=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g,de=/[\\^$.*+?()[\]{}|]/g,ce=RegExp(de.source),he=/^\s+|\s+$/g,pe=/^\s+/,fe=/\s+$/,me=/\\(\\)?/g,_e=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ge=/\w*$/,ye=/^0x/i,ve=/^[-+]0x[0-9a-f]+$/i,Me=/^0b[01]+$/i,we=/^\[object .+?Constructor\]$/,Le=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,ke=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Ye=/($^)/,Te=/['\n\r\u2028\u2029\\]/g,xe="\\ud800-\\udfff",De="\\u0300-\\u036f\\ufe20-\\ufe23",Se="\\u20d0-\\u20f0",Ce="\\u2700-\\u27bf",He="a-z\\xdf-\\xf6\\xf8-\\xff",je="\\xac\\xb1\\xd7\\xf7",Ae="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Pe="\\u2018\\u2019\\u201c\\u201d",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",We="A-Z\\xc0-\\xd6\\xd8-\\xde",Fe="\\ufe0e\\ufe0f",Oe=je+Ae+Pe+Ee,Re="["+xe+"]",Ie="["+Oe+"]",Ne="["+De+Se+"]",$e="\\d+",ze="["+Ce+"]",Be="["+He+"]",qe="[^"+xe+Oe+$e+Ce+He+We+"]",Ve="\\ud83c[\\udffb-\\udfff]",Ue="(?:"+Ne+"|"+Ve+")",Je="[^"+xe+"]",Xe="(?:\\ud83c[\\udde6-\\uddff]){2}",Ge="[\\ud800-\\udbff][\\udc00-\\udfff]",Qe="["+We+"]",Ze="\\u200d",Ke="(?:"+Be+"|"+qe+")",tn="(?:"+Qe+"|"+qe+")",en=Ue+"?",nn="["+Fe+"]?",rn="(?:"+Ze+"(?:"+[Je,Xe,Ge].join("|")+")"+nn+en+")*",an=nn+en+rn,sn="(?:"+[ze,Xe,Ge].join("|")+")"+an,on="(?:"+[Je+Ne+"?",Ne,Xe,Ge,Re].join("|")+")",ln=RegExp(Ne,"g"),un=RegExp(Ve+"(?="+Ve+")|"+on+an,"g"),dn=RegExp("["+Ze+xe+De+Se+Fe+"]"),cn=/[a-zA-Z0-9]+/g,hn=RegExp([Qe+"?"+Be+"+(?="+[Ie,Qe,"$"].join("|")+")",tn+"+(?="+[Ie,Qe+Ke,"$"].join("|")+")",Qe+"?"+Ke+"+",Qe+"+",$e,sn].join("|"),"g"),pn=/[a-z][A-Z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,fn=["Array","Buffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Reflect","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],mn=-1,_n={};_n[$t]=_n[zt]=_n[Bt]=_n[qt]=_n[Vt]=_n[Ut]=_n[Jt]=_n[Xt]=_n[Gt]=!0,_n[Yt]=_n[Tt]=_n[Nt]=_n[xt]=_n[Dt]=_n[St]=_n[Ct]=_n[jt]=_n[At]=_n[Pt]=_n[Et]=_n[Wt]=_n[Ft]=_n[Rt]=!1;var gn={};gn[Yt]=gn[Tt]=gn[Nt]=gn[xt]=gn[Dt]=gn[$t]=gn[zt]=gn[Bt]=gn[qt]=gn[Vt]=gn[jt]=gn[At]=gn[Pt]=gn[Et]=gn[Wt]=gn[Ft]=gn[Ot]=gn[Ut]=gn[Jt]=gn[Xt]=gn[Gt]=!0,gn[St]=gn[Ct]=gn[Rt]=!1;var yn={"À":"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"},vn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},Mn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},wn={"function":!0,object:!0},Ln={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},bn=parseFloat,kn=parseInt,Yn=wn[typeof exports]&&exports&&!exports.nodeType?exports:U,Tn=wn[typeof module]&&module&&!module.nodeType?module:U,xn=Tn&&Tn.exports===Yn?Yn:U,Dn=S(Yn&&Tn&&"object"==typeof global&&global),Sn=S(wn[typeof self]&&self),Cn=S(wn[typeof window]&&window),Hn=S(wn[typeof this]&&this),jn=Dn||Cn!==(Hn&&Hn.window)&&Cn||Sn||Hn||Function("return this")(),An=V();(Cn||Sn||{})._=An,"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return An}):Yn&&Tn?(xn&&((Tn.exports=An)._=An),Yn._=An):jn._=An}.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);p=e.overflowY,"vertical"===e.resize?t.style.resize="none":"both"===e.resize&&(t.style.resize="horizontal"),h="content-box"===e.boxSizing?-(parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)):parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth),isNaN(h)&&(h=0),r()}function n(e){var n=t.style.width;t.style.width="0px",t.offsetWidth,t.style.width=n,p=e,c&&(t.style.overflowY=e),i()}function i(){var e=window.pageYOffset,n=document.body.scrollTop,i=t.style.height;t.style.height="auto";var r=t.scrollHeight+h;return 0===t.scrollHeight?void(t.style.height=i):(t.style.height=r+"px",f=t.clientWidth,document.documentElement.scrollTop=e,void(document.body.scrollTop=n))}function r(){var e=t.style.height;i();var r=window.getComputedStyle(t,null);if(r.height!==t.style.height?"visible"!==p&&n("visible"):"hidden"!==p&&n("hidden"),e!==t.style.height){var a=s("autosize:resized");t.dispatchEvent(a)}}var o=void 0===arguments[1]?{}:arguments[1],l=o.setOverflowX,u=void 0===l?!0:l,d=o.setOverflowY,c=void 0===d?!0:d;if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!a.has(t)){var h=null,p=null,f=t.clientWidth,m=function(){t.clientWidth!==f&&r()},_=function(e){window.removeEventListener("resize",m,!1),t.removeEventListener("input",r,!1),t.removeEventListener("keyup",r,!1),t.removeEventListener("autosize:destroy",_,!1),t.removeEventListener("autosize:update",r,!1),a["delete"](t),Object.keys(e).forEach(function(n){t.style[n]=e[n]})}.bind(t,{height:t.style.height,resize:t.style.resize,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",_,!1),"onpropertychange"in t&&"oninput"in t&&t.addEventListener("keyup",r,!1),window.addEventListener("resize",m,!1),t.addEventListener("input",r,!1),t.addEventListener("autosize:update",r,!1),a.add(t),u&&(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 r(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName){var e=s("autosize:update");t.dispatchEvent(e)}}var a="function"==typeof Set?new Set:function(){var t=[];return{has:function(e){return Boolean(t.indexOf(e)>-1)},add:function(e){t.push(e)},"delete":function(e){t.splice(t.indexOf(e),1)}}}(),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],r),t}),e.exports=l}),function(){var t,e=window.Messenger;t=window.Messenger=function(){return t._call.apply(this,arguments)},window.Messenger.noConflict=function(){return window.Messenger=e,t}}(),window.Messenger._=function(){if(window._)return window._;var t=Array.prototype,e=Object.prototype,n=Function.prototype,i=(t.push,t.slice),r=(t.concat,e.toString),a=(e.hasOwnProperty,t.forEach),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,u={},d={},c=u.each=u.forEach=function(t,e,n){if(null!=t)if(a&&t.forEach===a)t.forEach(e,n);else if(t.length===+t.length){for(var i=0,r=t.length;r>i;i++)if(e.call(n,t[i],i,t)===d)return}else for(var s in t)if(u.has(t,s)&&e.call(n,t[s],s,t)===d)return};u.result=function(t,e){if(null==t)return null;var n=t[e];return u.isFunction(n)?n.call(t):n},u.once=function(t){var e,n=!1;return function(){return n?e:(n=!0,e=t.apply(this,arguments),t=null,e)}};var h=0;return u.uniqueId=function(t){var e=++h+"";return t?t+e:e},u.filter=u.select=function(t,e,n){var i=[];return null==t?i:s&&t.filter===s?t.filter(e,n):(c(t,function(t,r,a){e.call(n,t,r,a)&&(i[i.length]=t)}),i)},c(["Arguments","Function","String","Number","Date","RegExp"],function(t){u["is"+t]=function(e){return r.call(e)=="[object "+t+"]"}}),u.defaults=function(t){return c(i.call(arguments,1),function(e){if(e)for(var n in e)null==t[n]&&(t[n]=e[n])}),t},u.extend=function(t){return c(i.call(arguments,1),function(e){if(e)for(var n in e)t[n]=e[n]}),t},u.keys=o||function(t){if(t!==Object(t))throw new TypeError("Invalid object");var e=[];for(var n in t)u.has(t,n)&&(e[e.length]=n);return e},u.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)))}},u.isObject=function(t){return t===Object(t)},u}(),window.Messenger.Events=function(){if(window.Backbone&&Backbone.Events)return Backbone.Events;var t=function(){var t=/\s+/,e=function(e,n,i,r){if(!i)return!0;if("object"==typeof i)for(var a in i)e[n].apply(e,[a,i[a]].concat(r));else{if(!t.test(i))return!0;for(var s=i.split(t),o=0,l=s.length;l>o;o++)e[n].apply(e,[s[o]].concat(r))}},n=function(t,e){var n,i=-1,r=t.length;switch(e.length){case 0:for(;++i<r;)(n=t[i]).callback.call(n.ctx);return;case 1:for(;++i<r;)(n=t[i]).callback.call(n.ctx,e[0]);return;case 2:for(;++i<r;)(n=t[i]).callback.call(n.ctx,e[0],e[1]);return;case 3:for(;++i<r;)(n=t[i]).callback.call(n.ctx,e[0],e[1],e[2]);return;default:for(;++i<r;)(n=t[i]).callback.apply(n.ctx,e)}},i={on:function(t,n,i){if(!e(this,"on",t,[n,i])||!n)return this;this._events||(this._events={});var r=this._events[t]||(this._events[t]=[]);return r.push({callback:n,context:i,ctx:i||this}),this},once:function(t,n,i){if(!e(this,"once",t,[n,i])||!n)return this;var r=this,a=_.once(function(){r.off(t,a),n.apply(this,arguments)});return a._callback=n,this.on(t,a,i),this},off:function(t,n,i){var r,a,s,o,l,u,d,c;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,u=o.length;u>l;l++)if(t=o[l],r=this._events[t]){if(s=[],n||i)for(d=0,c=r.length;c>d;d++)a=r[d],(n&&n!==a.callback&&n!==a.callback._callback||i&&i!==a.context)&&s.push(a);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 r=this._events[t],a=this._events.all;return r&&n(r,i),a&&n(a,arguments),this},listenTo:function(t,e,n){var i=this._listeners||(this._listeners={}),r=t._listenerId||(t._listenerId=_.uniqueId("l"));return i[r]=t,t.on(e,"object"==typeof e?this:n,this),this},stopListening:function(t,e,n){var i=this._listeners;if(i){if(t)t.off(e,"object"==typeof e?this:n,this),e||n||delete i[t._listenerId];else{"object"==typeof e&&(n=this);for(var r in i)i[r].off(e,n,this);this._listeners={}}return this}}};return i.bind=i.on,i.unbind=i.off,i};return t()}(),function(){var t,e,n,i,r,a,s,o,l,u,d,c={}.hasOwnProperty,h=function(t,e){function n(){this.constructor=t}for(var i in e)c.call(e,i)&&(t[i]=e[i]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},p=[].slice,f=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1};t=jQuery,a=null!=(l=window._)?l:window.Messenger._,i=null!=(u="undefined"!=typeof Backbone&&null!==Backbone?Backbone.Events:void 0)?u:window.Messenger.Events,n=function(){function e(e){t.extend(this,i),a.isObject(e)&&(e.el&&this.setElement(e.el),this.model=e.model),this.initialize.apply(this,arguments)}return e.prototype.setElement=function(e){return this.$el=t(e),this.el=this.$el[0]},e.prototype.delegateEvents=function(t){var e,n,i,r,s,o,l;if(t||(t=a.result(this,"events"))){this.undelegateEvents(),e=/^(\S+)\s*(.*)$/,l=[];for(i in t){if(s=t[i],a.isFunction(s)||(s=this[t[i]]),!s)throw new Error('Method "'+t[i]+'" does not exist');r=i.match(e),n=r[1],o=r[2],s=a.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 h(n,e),n.prototype.defaults={hideAfter:10,scroll:!0,closeButtonText:"&times;",escapeText:!1},n.prototype.initialize=function(e){return null==e&&(e={}),this.shown=!1,this.rendered=!1,this.messenger=e.messenger,this.options=t.extend({},this.options,e,this.defaults)},n.prototype.show=function(){var t;return this.rendered||this.render(),this.$message.removeClass("messenger-hidden"),t=this.shown,this.shown=!0,t?void 0:this.trigger("show")},n.prototype.hide=function(){var t;if(this.rendered)return this.$message.addClass("messenger-hidden"),t=this.shown,this.shown=!1,t?this.trigger("hide"):void 0},n.prototype.cancel=function(){return this.hide()},n.prototype.update=function(e){var n,i=this;return a.isString(e)&&(e={message:e}),t.extend(this.options,e),this.lastUpdate=new Date,this.rendered=!1,this.events=null!=(n=this.options.events)?n:{},this.render(),this.actionsToEvents(),this.delegateEvents(),this.checkClickable(),this.options.hideAfter?(this.$message.addClass("messenger-will-hide-after"),null!=this._hideTimeout&&clearTimeout(this._hideTimeout),this._hideTimeout=setTimeout(function(){return i.hide()},1e3*this.options.hideAfter)):this.$message.removeClass("messenger-will-hide-after"),this.options.hideOnNavigate?(this.$message.addClass("messenger-will-hide-on-navigate"),null!=("undefined"!=typeof Backbone&&null!==Backbone?Backbone.history:void 0)&&Backbone.history.on("route",function(){return i.hide();
})):this.$message.removeClass("messenger-will-hide-on-navigate"),this.trigger("update",this)},n.prototype.scrollTo=function(){return this.options.scroll?t.scrollTo(this.$el,{duration:400,offset:{left:0,top:-20}}):void 0},n.prototype.timeSinceUpdate=function(){return this.lastUpdate?new Date-this.lastUpdate:null},n.prototype.actionsToEvents=function(){var t,e,n,i,r=this;n=this.options.actions,i=[];for(e in n)t=n[e],i.push(this.events['click [data-action="'+e+'"] a']=function(t){return function(n){return n.preventDefault(),n.stopPropagation(),r.trigger("action:"+e,t,n),t.action.call(r,n,r)}}(t));return i},n.prototype.checkClickable=function(){var t,e,n,i;n=this.events,i=[];for(e in n)t=n[e],"click"===e?i.push(this.$message.addClass("messenger-clickable")):i.push(void 0);return i},n.prototype.undelegateEvents=function(){var t;return n.__super__.undelegateEvents.apply(this,arguments),null!=(t=this.$message)?t.removeClass("messenger-clickable"):void 0},n.prototype.parseActions=function(){var e,n,i,r,a,s;n=[],a=this.options.actions;for(r in a)e=a[r],i=t.extend({},e),i.name=r,null==(s=i.label)&&(i.label=r),n.push(i);return n},n.prototype.template=function(e){var n,i,r,a,s,o,l,u,d,c,h=this;for(s=t("<div class='messenger-message message alert "+e.type+" message-"+e.type+" alert-"+e.type+"'>"),e.showCloseButton&&(r=t('<button type="button" class="messenger-close" data-dismiss="alert">'),r.html(e.closeButtonText),r.click(function(){return h.cancel(),!0}),s.append(r)),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">')),c=e.actions,u=0,d=c.length;d>u;u++)l=c[u],n=t("<span>"),n.attr("data-action",""+l.name),a=t("<a>"),a.html(l.label),n.append(t('<span class="messenger-phrase">')),n.append(a),i.append(n);return 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),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.initialize=function(){return e.__super__.initialize.apply(this,arguments),this._timers={}},e.prototype.cancel=function(){return this.clearTimers(),this.hide(),null!=this._actionInstance&&null!=this._actionInstance.abort?this._actionInstance.abort():void 0},e.prototype.clearTimers=function(){var t,e,n,i;n=this._timers;for(t in n)e=n[t],clearTimeout(e);return this._timers={},null!=(i=this.$message)?i.removeClass("messenger-retry-soon messenger-retry-later"):void 0},e.prototype.render=function(){var t,n,i,r;e.__super__.render.apply(this,arguments),this.clearTimers(),i=this.options.actions,r=[];for(n in i)t=i[n],t.auto?r.push(this.startCountdown(n,t)):r.push(void 0);return r},e.prototype.renderPhrase=function(t,e){var n;return n=t.phrase.replace("TIME",this.formatTime(e))},e.prototype.formatTime=function(t){var e;return e=function(t,e){return t=Math.floor(t),1!==t&&(e+="s"),"in "+t+" "+e},0===Math.floor(t)?"now...":60>t?e(t,"second"):(t/=60,60>t?e(t,"minute"):(t/=60,e(t,"hour")))},e.prototype.startCountdown=function(t,e){var n,i,r,a,s=this;if(null==this._timers[t])return n=this.$message.find("[data-action='"+t+"'] .messenger-phrase"),i=null!=(a=e.delay)?a:3,10>=i?(this.$message.removeClass("messenger-retry-later"),this.$message.addClass("messenger-retry-soon")):(this.$message.removeClass("messenger-retry-soon"),this.$message.addClass("messenger-retry-later")),(r=function(){var a;return n.text(s.renderPhrase(e,i)),i>0?(a=Math.min(i,1),i-=a,s._timers[t]=setTimeout(r,1e3*a)):(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 h(n,e),n.prototype.tagName="ul",n.prototype.className="messenger",n.prototype.messageDefaults={type:"info"},n.prototype.initialize=function(e){return this.options=null!=e?e:{},this.history=[],this.messageDefaults=t.extend({},this.messageDefaults,this.options.messageDefaults)},n.prototype.render=function(){return this.updateMessageSlotClasses()},n.prototype.findById=function(t){return a.filter(this.history,function(e){return e.msg.options.id===t})},n.prototype._reserveMessageSlot=function(e){var n,i,r=this;for(n=t("<li>"),n.addClass("messenger-message-slot"),this.$el.prepend(n),this.history.push({msg:e,$slot:n}),this._enforceIdConstraint(e),e.on("update",function(){return r._enforceIdConstraint(e)});this.options.maxMessages&&this.history.length>this.options.maxMessages;)i=this.history.shift(),i.msg.remove(),i.$slot.remove();return n},n.prototype._enforceIdConstraint=function(t){var e,n,i,r,a;if(null!=t.options.id)for(a=this.history,n=0,i=a.length;i>n;n++)if(e=a[n],r=e.msg,null!=r.options.id&&r.options.id===t.options.id&&t!==r){if(t.options.singleton)return void t.hide();r.hide()}},n.prototype.newMessage=function(t){var e,n,i,a,o=this;return null==t&&(t={}),t.messenger=this,s=null!=(n=null!=(i=Messenger.themes[null!=(a=t.theme)?a:this.options.theme])?i.Message:void 0)?n:r,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,r,a,s;for(i=!0,e=null,t=!1,s=this.history,r=0,a=s.length;a>r;r++)n=s[r],n.$slot.removeClass("messenger-first messenger-last messenger-shown"),n.msg.shown&&n.msg.rendered&&(n.$slot.addClass("messenger-shown"),t=!0,e=n,i&&(i=!1,n.$slot.addClass("messenger-first")));return null!=e&&e.$slot.addClass("messenger-last"),this.$el[""+(t?"remove":"add")+"Class"]("messenger-empty")},n.prototype.hideAll=function(){var t,e,n,i,r;for(i=this.history,r=[],e=0,n=i.length;n>e;e++)t=i[e],r.push(t.msg.hide());return r},n.prototype.post=function(e){var n;return a.isString(e)&&(e={message:e}),e=t.extend(!0,{},this.messageDefaults,e),n=this.newMessage(e),n.update(e),n},n}(n),e=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return h(n,e),n.prototype.doDefaults={progressMessage:null,successMessage:null,errorMessage:"Error connecting to the server.",showSuccessWithoutError:!0,retry:{auto:!0,allow:!0},action:t.ajax},n.prototype.hookBackboneAjax=function(e){var n,i=this;if(null==e&&(e={}),null==window.Backbone)throw"Expected Backbone to be defined";return e=a.defaults(e,{id:"BACKBONE_ACTION",errorMessage:!1,successMessage:"Request completed successfully.",showSuccessWithoutError:!1}),n=function(t){var n;return n=a.extend({},e,t.messenger),i["do"](n,t)},null!=Backbone.ajax?(Backbone.ajax._withoutMessenger&&(Backbone.ajax=Backbone.ajax._withoutMessenger),null!=e.action&&e.action!==this.doDefaults.action||(e.action=Backbone.ajax),n._withoutMessenger=Backbone.ajax,Backbone.ajax=n):Backbone.sync=a.wrap(Backbone.sync,function(){var e,i,r;return r=arguments[0],e=2<=arguments.length?p.call(arguments,1):[],i=t.ajax,t.ajax=n,r.call.apply(r,[this].concat(p.call(e))),t.ajax=i})},n.prototype._getHandlerResponse=function(t){return t===!1?!1:t===!0||null==t?!0:t},n.prototype._parseEvents=function(t){var e,n,i,r,a,s,o;null==t&&(t={}),a={};for(r in t)i=t[r],n=r.indexOf(" "),s=r.substring(0,n),e=r.substring(n+1),null==(o=a[s])&&(a[s]={}),a[s][e]=i;return a},n.prototype._normalizeResponse=function(){var t,e,n,i,r,s,o;for(n=1<=arguments.length?p.call(arguments,0):[],i=null,r=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)?r=e:a.isObject(e)&&(t=e);return[i,t,r]},n.prototype.run=function(){var e,n,i,r,s,o,l,u,d,c,h,m=this;if(o=arguments[0],d=arguments[1],e=3<=arguments.length?p.call(arguments,2):[],null==d&&(d={}),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"],a.isFunction(n)?n.call(m,t,e):n},l=null!=(h=o.messageInstance)?h: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={},a.each(["error","success"],function(r){var u;return u=d[r],s[r]=function(){var s,c,h,_,g,y,v,M,w,L,b,k,Y,T,x;return y=1<=arguments.length?p.call(arguments,0):[],w=m._normalizeResponse.apply(m,y),g=w[0],s=w[1],M=w[2],"success"===r&&null==l.errorCount&&o.showSuccessWithoutError===!1&&(o.successMessage=null),"error"===r&&(null==(L=o.errorCount)&&(o.errorCount=0),o.errorCount+=1),h=o.returnsPromise?y[0]:"function"==typeof u?u.apply(null,y):void 0,v=m._getHandlerResponse(h),a.isString(v)&&(v={message:v}),"error"!==r||0!==(null!=M?M.status:void 0)&&"abort"!==g?"error"===r&&null!=o.ignoredErrorCodes&&(b=null!=M?M.status:void 0,f.call(o.ignoredErrorCodes,b)>=0)?void l.hide():(c={message:i(r,M),type:r,events:null!=(k=n[r])?k:{},hideOnNavigate:"success"===r},_=t.extend({},o,c,v),"number"==typeof(null!=(Y=_.retry)?Y.allow:void 0)&&_.retry.allow--,"error"===r&&(null!=M?M.status:void 0)>=500&&(null!=(T=_.retry)?T.allow:void 0)?(null==_.retry.delay&&(_.errorCount<4?_.retry.delay=10:_.retry.delay=300),_.hideAfter&&(null==(x=_._hideAfter)&&(_._hideAfter=_.hideAfter),_.hideAfter=_._hideAfter+_.retry.delay),_._retryActions=!0,_.actions={retry:{label:"retry now",phrase:"Retrying TIME",auto:_.retry.auto,delay:_.retry.delay,action:function(){return _.messageInstance=l,setTimeout(function(){return m["do"].apply(m,[_,d].concat(p.call(e)))},0)}},cancel:{action:function(){return l.cancel()}}}):_._retryActions&&(delete _.actions.retry,delete _.actions.cancel,delete o._retryActions),l.update(_),v&&_.message?(Messenger(a.extend({},m.options,{instance:m})),l.show()):l.hide()):void l.hide()}}),!o.returnsPromise)for(c in s)r=s[c],u=d[c],d[c]=r;return l._actionInstance=o.action.apply(o,[d].concat(p.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?p.call(arguments,1):[],n.action=t.ajax,this.run.apply(this,[n].concat(p.call(e)))},n.prototype.expectPromise=function(t,e){return e=a.extend({},e,{action:t,returnsPromise:!0}),this.run(e)},n.prototype.error=function(t){return null==t&&(t={}),"string"==typeof t&&(t={message:t}),t.type="error",this.post(t)},n.prototype.info=function(t){return null==t&&(t={}),"string"==typeof t&&(t={message:t}),t.type="info",this.post(t)},n.prototype.success=function(t){return null==t&&(t={}),"string"==typeof t&&(t={message:t}),t.type="success",this.post(t)},n}(o),t.fn.messenger=function(){var n,i,r,s,l,u,d,c;return r=arguments[0],i=2<=arguments.length?p.call(arguments,1):[],null==r&&(r={}),n=this,null!=r&&a.isString(r)?(c=n.data("messenger"))[r].apply(c,i):(l=r,null==n.data("messenger")&&(o=null!=(u=null!=(d=Messenger.themes[l.theme])?d.Messenger:void 0)?u: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,r,a,s,o,l,u,d,c,h;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(d=e.parentLocations,i=null,r=null,c=0,h=d.length;h>c;c++)if(u=d[c],i=t(u),i.length){a=u;break}l?t(l._location).is(t(a))||(l.$el.detach(),i.prepend(l.$el)):(n=t("<ul>"),i.prepend(n),l=n.messenger(e),l._location=a,Messenger.instance=l)}return null!=l._addedClasses&&l.$el.removeClass(l._addedClasses),l.$el.addClass(s=""+l.className+" "+e.extraClasses),l._addedClasses=s,l},t.extend(Messenger,{Message:r,Messenger:e,themes:null!=(d=Messenger.themes)?d:{}}),t.globalMessenger=window.Messenger=Messenger}.call(this),function(t){"use strict";"function"==typeof define&&define.amd?define(t):"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=t():"undefined"!=typeof Package?Sortable=t():window.Sortable=t()}(function(){"use strict";function t(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(t);this.el=t,this.options=e=g({},e),t[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 a in this)"_"===a.charAt(0)&&(this[a]=this[a].bind(this));this.nativeDraggable=e.forceFallback?!1:N,r(t,"mousedown",this._onTapStart),r(t,"touchstart",this._onTapStart),this.nativeDraggable&&(r(t,"dragover",this),r(t,"dragenter",this)),q.push(this._onDragOver),e.store&&this.sort(e.store.get(this))}function e(t){w&&w.state!==t&&(o(w,"display",t?"none":""),!t&&w.state&&L.insertBefore(w,y),w.state=t)}function n(t,e,n){if(t){n=n||R,e=e.split(".");var i=e.shift().toUpperCase(),r=new RegExp("\\s("+e.join("|")+")(?=\\s)","g");do if(">*"===i&&t.parentNode===n||(""===i||t.nodeName.toUpperCase()==i)&&(!e.length||((" "+t.className+" ").match(r)||[]).length==e.length))return t;while(t!==n&&(t=t.parentNode))}return null}function i(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.preventDefault()}function r(t,e,n){t.addEventListener(e,n,!1)}function a(t,e,n){t.removeEventListener(e,n,!1)}function s(t,e,n){if(t)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(W," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(W," ")}}function o(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return R.defaultView&&R.defaultView.getComputedStyle?n=R.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in i||(e="-webkit-"+e),i[e]=n+("string"==typeof n?"":"px")}}function l(t,e,n){if(t){var i=t.getElementsByTagName(e),r=0,a=i.length;if(n)for(;a>r;r++)n(i[r],r);return i}return[]}function u(t,e,n,i,r,a,s){var o=R.createEvent("Event"),l=(t||e[F]).options,u="on"+n.charAt(0).toUpperCase()+n.substr(1);o.initEvent(n,!0,!0),o.to=e,o.from=r||e,o.item=i||e,o.clone=w,o.oldIndex=a,o.newIndex=s,e.dispatchEvent(o),l[u]&&l[u].call(t,o)}function d(t,e,n,i,r,a){var s,o,l=t[F],u=l.options.onMove;return s=R.createEvent("Event"),s.initEvent("move",!0,!0),s.to=e,s.from=t,s.dragged=n,s.draggedRect=i,s.related=r||e,s.relatedRect=a||e.getBoundingClientRect(),t.dispatchEvent(s),u&&(o=u.call(l,s)),o}function c(t){t.draggable=!1}function h(){z=!1}function p(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 f(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;n--;)i+=e.charCodeAt(n);return i.toString(36)}function m(t){var e=0;if(!t||!t.parentNode)return-1;for(;t&&(t=t.previousElementSibling);)"TEMPLATE"!==t.nodeName.toUpperCase()&&e++;return e}function _(t,e){var n,i;return function(){void 0===n&&(n=arguments,i=this,setTimeout(function(){1===n.length?t.call(i,n[0]):t.apply(i,n),n=void 0},e))}}function g(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var y,v,M,w,L,b,k,Y,T,x,D,S,C,H,j,A,P,E={},W=/\s+/g,F="Sortable"+(new Date).getTime(),O=window,R=O.document,I=O.parseInt,N=!!("draggable"in R.createElement("div")),$=function(t){return t=R.createElement("x"),t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}(),z=!1,B=Math.abs,q=([].slice,[]),V=_(function(t,e,n){if(n&&e.scroll){var i,r,a,s,o=e.scrollSensitivity,l=e.scrollSpeed,u=t.clientX,d=t.clientY,c=window.innerWidth,h=window.innerHeight;if(Y!==n&&(k=e.scroll,Y=n,k===!0)){k=n;do if(k.offsetWidth<k.scrollWidth||k.offsetHeight<k.scrollHeight)break;while(k=k.parentNode)}k&&(i=k,r=k.getBoundingClientRect(),a=(B(r.right-u)<=o)-(B(r.left-u)<=o),s=(B(r.bottom-d)<=o)-(B(r.top-d)<=o)),a||s||(a=(o>=c-u)-(o>=u),s=(o>=h-d)-(o>=d),(a||s)&&(i=O)),E.vx===a&&E.vy===s&&E.el===i||(E.el=i,E.vx=a,E.vy=s,clearInterval(E.pid),i&&(E.pid=setInterval(function(){i===O?O.scrollTo(O.pageXOffset+a*l,O.pageYOffset+s*l):(s&&(i.scrollTop+=s*l),a&&(i.scrollLeft+=a*l))},24)))}},30),U=function(t){var e=t.group;e&&"object"==typeof e||(e=t.group={name:e}),["pull","put"].forEach(function(t){t in e||(e[t]=!0)}),t.groups=" "+e.name+(e.put.join?" "+e.put.join(" "):"")+" "};return t.prototype={constructor:t,_onTapStart:function(t){var e=this,i=this.el,r=this.options,a=t.type,s=t.touches&&t.touches[0],o=(s||t).target,l=o,d=r.filter;if(!("mousedown"===a&&0!==t.button||r.disabled)&&(o=n(o,r.draggable,i))){if(S=m(o),"function"==typeof d){if(d.call(this,t,o,this))return u(e,l,"filter",o,i,S),void t.preventDefault()}else if(d&&(d=d.split(",").some(function(t){return t=n(l,t.trim(),i),t?(u(e,t,"filter",o,i,S),!0):void 0})))return void t.preventDefault();r.handle&&!n(l,r.handle,i)||this._prepareDragStart(t,s,o)}},_prepareDragStart:function(t,e,n){var i,a=this,o=a.el,u=a.options,d=o.ownerDocument;n&&!y&&n.parentNode===o&&(j=t,L=o,y=n,v=y.parentNode,b=y.nextSibling,H=u.group,i=function(){a._disableDelayedDrag(),y.draggable=!0,s(y,a.options.chosenClass,!0),a._triggerDragStart(e)},u.ignore.split(",").forEach(function(t){l(y,t.trim(),c)}),r(d,"mouseup",a._onDrop),r(d,"touchend",a._onDrop),r(d,"touchcancel",a._onDrop),u.delay?(r(d,"mouseup",a._disableDelayedDrag),r(d,"touchend",a._disableDelayedDrag),r(d,"touchcancel",a._disableDelayedDrag),r(d,"mousemove",a._disableDelayedDrag),r(d,"touchmove",a._disableDelayedDrag),a._dragStartTimer=setTimeout(i,u.delay)):i())},_disableDelayedDrag:function(){var t=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(t,"mouseup",this._disableDelayedDrag),a(t,"touchend",this._disableDelayedDrag),a(t,"touchcancel",this._disableDelayedDrag),a(t,"mousemove",this._disableDelayedDrag),a(t,"touchmove",this._disableDelayedDrag)},_triggerDragStart:function(t){t?(j={target:y,clientX:t.clientX,clientY:t.clientY},this._onDragStart(j,"touch")):this.nativeDraggable?(r(y,"dragend",this),r(L,"dragstart",this._onDragStart)):this._onDragStart(j,!0);try{R.selection?R.selection.empty():window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){L&&y&&(s(y,this.options.ghostClass,!0),t.active=this,u(this,L,"start",y,L,S))},_emulateDragOver:function(){if(A){if(this._lastX===A.clientX&&this._lastY===A.clientY)return;this._lastX=A.clientX,this._lastY=A.clientY,$||o(M,"display","none");var t=R.elementFromPoint(A.clientX,A.clientY),e=t,n=" "+this.options.group.name,i=q.length;if(e)do{if(e[F]&&e[F].options.groups.indexOf(n)>-1){for(;i--;)q[i]({clientX:A.clientX,clientY:A.clientY,target:t,rootEl:e});break}t=e}while(e=e.parentNode);$||o(M,"display","")}},_onTouchMove:function(e){if(j){t.active||this._dragStarted(),this._appendGhost();var n=e.touches?e.touches[0]:e,i=n.clientX-j.clientX,r=n.clientY-j.clientY,a=e.touches?"translate3d("+i+"px,"+r+"px,0)":"translate("+i+"px,"+r+"px)";P=!0,A=n,o(M,"webkitTransform",a),o(M,"mozTransform",a),o(M,"msTransform",a),o(M,"transform",a),e.preventDefault()}},_appendGhost:function(){if(!M){var t,e=y.getBoundingClientRect(),n=o(y),i=this.options;M=y.cloneNode(!0),s(M,i.ghostClass,!1),s(M,i.fallbackClass,!0),o(M,"top",e.top-I(n.marginTop,10)),o(M,"left",e.left-I(n.marginLeft,10)),o(M,"width",e.width),o(M,"height",e.height),o(M,"opacity","0.8"),o(M,"position","fixed"),o(M,"zIndex","100000"),o(M,"pointerEvents","none"),i.fallbackOnBody&&R.body.appendChild(M)||L.appendChild(M),t=M.getBoundingClientRect(),o(M,"width",2*e.width-t.width),o(M,"height",2*e.height-t.height)}},_onDragStart:function(t,e){var n=t.dataTransfer,i=this.options;this._offUpEvents(),"clone"==H.pull&&(w=y.cloneNode(!0),o(w,"display","none"),L.insertBefore(w,y)),e?("touch"===e?(r(R,"touchmove",this._onTouchMove),r(R,"touchend",this._onDrop),r(R,"touchcancel",this._onDrop)):(r(R,"mousemove",this._onTouchMove),r(R,"mouseup",this._onDrop)),this._loopId=setInterval(this._emulateDragOver,50)):(n&&(n.effectAllowed="move",i.setData&&i.setData.call(this,n,y)),r(R,"drop",this),setTimeout(this._dragStarted,0))},_onDragOver:function(t){var i,r,a,s=this.el,l=this.options,u=l.group,c=u.put,f=H===u,m=l.sort;if(void 0!==t.preventDefault&&(t.preventDefault(),!l.dragoverBubble&&t.stopPropagation()),P=!0,H&&!l.disabled&&(f?m||(a=!L.contains(y)):H.pull&&c&&(H.name===u.name||c.indexOf&&~c.indexOf(H.name)))&&(void 0===t.rootEl||t.rootEl===this.el)){if(V(t,l,this.el),z)return;if(i=n(t.target,l.draggable,s),r=y.getBoundingClientRect(),a)return e(!0),void(w||b?L.insertBefore(y,w||b):m||L.appendChild(y));if(0===s.children.length||s.children[0]===M||s===t.target&&(i=p(s,t))){if(i){if(i.animated)return;g=i.getBoundingClientRect()}e(f),d(L,s,y,r,i,g)!==!1&&(y.contains(s)||(s.appendChild(y),v=s),this._animate(r,y),i&&this._animate(g,i))}else if(i&&!i.animated&&i!==y&&void 0!==i.parentNode[F]){T!==i&&(T=i,x=o(i),D=o(i.parentNode));var _,g=i.getBoundingClientRect(),k=g.right-g.left,Y=g.bottom-g.top,S=/left|right|inline/.test(x.cssFloat+x.display)||"flex"==D.display&&0===D["flex-direction"].indexOf("row"),C=i.offsetWidth>y.offsetWidth,j=i.offsetHeight>y.offsetHeight,A=(S?(t.clientX-g.left)/k:(t.clientY-g.top)/Y)>.5,E=i.nextElementSibling,W=d(L,s,y,r,i,g);if(W!==!1){if(z=!0,setTimeout(h,30),e(f),1===W||-1===W)_=1===W;else if(S){var O=y.offsetTop,R=i.offsetTop;_=O===R?i.previousElementSibling===y&&!C||A&&C:R>O}else _=E!==y&&!j||A&&j;y.contains(s)||(_&&!E?s.appendChild(y):i.parentNode.insertBefore(y,_?E:i)),v=y.parentNode,this._animate(r,y),this._animate(g,i)}}}},_animate:function(t,e){var n=this.options.animation;if(n){var i=e.getBoundingClientRect();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;a(R,"touchmove",this._onTouchMove),a(t,"mouseup",this._onDrop),a(t,"touchend",this._onDrop),a(t,"touchcancel",this._onDrop)},_onDrop:function(e){var n=this.el,i=this.options;clearInterval(this._loopId),clearInterval(E.pid),clearTimeout(this._dragStartTimer),a(R,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(R,"drop",this),a(n,"dragstart",this._onDragStart)),this._offUpEvents(),e&&(P&&(e.preventDefault(),!i.dropBubble&&e.stopPropagation()),M&&M.parentNode.removeChild(M),y&&(this.nativeDraggable&&a(y,"dragend",this),c(y),s(y,this.options.ghostClass,!1),s(y,this.options.chosenClass,!1),L!==v?(C=m(y),C>=0&&(u(null,v,"sort",y,L,S,C),u(this,L,"sort",y,L,S,C),u(null,v,"add",y,L,S,C),u(this,L,"remove",y,L,S,C))):(w&&w.parentNode.removeChild(w),y.nextSibling!==b&&(C=m(y),C>=0&&(u(this,L,"update",y,L,S,C),u(this,L,"sort",y,L,S,C)))),t.active&&(null!==C&&-1!==C||(C=S),u(this,L,"end",y,L,S,C),this.save())),L=y=v=M=b=w=k=Y=j=A=P=C=T=x=H=t.active=null)},handleEvent:function(t){var e=t.type;"dragover"===e||"dragenter"===e?y&&(this._onDragOver(t),i(t)):"drop"!==e&&"dragend"!==e||this._onDrop(t)},toArray:function(){for(var t,e=[],i=this.el.children,r=0,a=i.length,s=this.options;a>r;r++)t=i[r],n(t,s.draggable,this.el)&&e.push(t.getAttribute(s.dataIdAttr)||f(t));return e},sort:function(t){var e={},i=this.el;this.toArray().forEach(function(t,r){var a=i.children[r];n(a,this.options.draggable,i)&&(e[t]=a)},this),t.forEach(function(t){e[t]&&(i.removeChild(e[t]),i.appendChild(e[t]))})},save:function(){var t=this.options.store;t&&t.set(this)},closest:function(t,e){return n(t,e||this.options.draggable,this.el)},option:function(t,e){var n=this.options;return void 0===e?n[t]:(n[t]=e,void("group"===t&&U(n)))},destroy:function(){var t=this.el;t[F]=null,a(t,"mousedown",this._onTapStart),a(t,"touchstart",this._onTapStart),this.nativeDraggable&&(a(t,"dragover",this),a(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),q.splice(q.indexOf(this._onDragOver),1),this._onDrop(),this.el=t=null}},t.utils={on:r,off:a,css:o,find:l,is:function(t,e){return!!n(t,e,t)},extend:g,throttle:_,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,r=t([]),a=function(){l.resume()},s=function(n,i){var a=n.data("livestampdata");if("number"==typeof i&&(i*=1e3),n.removeAttr("data-livestamp").removeData("livestamp"),i=e(i),e.isMoment(i)&&!isNaN(+i)){var s=t.extend({},{original:n.contents()},a);s.moment=e(i),n.data("livestampdata",s).empty(),r.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=[];r.each(function(){var i=t(this),r=i.data("livestampdata");if(void 0===r)n.push(this);else if(e.isMoment(r.moment)){var a=i.html(),s=r.moment.fromNow();if(a!=s){var o=t.Event("change.livestamp");i.trigger(o,[a,s]),o.isDefaultPrevented()||i.html(s)}}}),r=r.not(n)},pause:function(){i=!0},resume:function(){i=!1,o()},interval:function(t){return void 0===t?n:void(n=t)}},u={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 r=r.not(e),e.each(function(){var n=t(this),i=n.data("livestampdata");return void 0===i?e:void n.html(i.original?i.original:"").removeData("livestampdata")}),e},isLivestamp:function(t){return void 0!==t.data("livestampdata")}};t.livestamp=l,t(a),t.fn.livestamp=function(t,e){return u[t]||(e=t,t="add"),u[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,r,a,s,o,u=t('<div class="minicolors" />'),d=t.minicolors.defaults;if(!e.data("minicolors-initialized")){if(n=t.extend(!0,{},d,n),u.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(){u.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(u).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"),r=t('<ul class="minicolors-swatches"></ul>').appendTo(s),o=0;o<n.swatches.length;++o)a=n.swatches[o],a=g(a)?f(a,!0):Y(p(a,!0)),t('<li class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></li>').appendTo(r).data("swatch-color",n.swatches[o]).find(".minicolors-swatch-color").css({backgroundColor:w(a),opacity:a.a}),n.swatches[o]=a;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")||(r(),e.addClass("minicolors-focus"),n.stop(!0,!0).fadeIn(i.showSpeed,function(){i.show&&i.show.call(t.get(0))}))}function r(){t(".minicolors-focus").each(function(){var e=t(this),n=e.find(".minicolors-input"),i=e.find(".minicolors-panel"),r=n.data("minicolors-settings");i.fadeOut(r.hideSpeed,function(){r.hide&&r.hide.call(n.get(0)),e.removeClass("minicolors-focus")})})}function a(t,e,n){var i,r,a,o,l=t.parents(".minicolors").find(".minicolors-input"),u=l.data("minicolors-settings"),d=t.find("[class$=-picker]"),c=t.offset().left,h=t.offset().top,p=Math.round(e.pageX-c),f=Math.round(e.pageY-h),m=n?u.animationSpeed:0;e.originalEvent.changedTouches&&(p=e.originalEvent.changedTouches[0].pageX-c,f=e.originalEvent.changedTouches[0].pageY-h),0>p&&(p=0),0>f&&(f=0),p>t.width()&&(p=t.width()),f>t.height()&&(f=t.height()),t.parent().is(".minicolors-slider-wheel")&&d.parent().is(".minicolors-grid")&&(i=75-p,r=75-f,a=Math.sqrt(i*i+r*r),o=Math.atan2(r,i),0>o&&(o+=2*Math.PI),a>75&&(a=75,p=75-75*Math.cos(o),f=75-75*Math.sin(o)),p=Math.round(p),f=Math.round(f)),t.is(".minicolors-grid")?d.stop(!0).animate({top:f+"px",left:p+"px"},m,u.animationEasing,function(){s(l,t)}):d.stop(!0).animate({top:f+"px"},m,u.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,r,a,s,l,d,c,h=t.val(),p=t.attr("data-opacity"),f=t.parent(),m=t.data("minicolors-settings"),g=f.find(".minicolors-input-swatch"),y=f.find(".minicolors-grid"),v=f.find(".minicolors-slider"),M=f.find(".minicolors-opacity-slider"),w=y.find("[class$=-picker]"),b=v.find("[class$=-picker]"),k=M.find("[class$=-picker]"),Y=n(w,y),T=n(b,v),x=n(k,M);if(e.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch(m.control){case"wheel":s=y.width()/2-Y.x,l=y.height()/2-Y.y,d=Math.sqrt(s*s+l*l),c=Math.atan2(l,s),0>c&&(c+=2*Math.PI),d>75&&(d=75,Y.x=69-75*Math.cos(c),Y.y=69-75*Math.sin(c)),r=_(d/.75,0,100),i=_(180*c/Math.PI,0,360),a=_(100-Math.floor(T.y*(100/v.height())),0,100),h=L({h:i,s:r,b:a}),v.css("backgroundColor",L({h:i,s:r,b:100}));break;case"saturation":i=_(parseInt(Y.x*(360/y.width()),10),0,360),r=_(100-Math.floor(T.y*(100/v.height())),0,100),a=_(100-Math.floor(Y.y*(100/y.height())),0,100),h=L({h:i,s:r,b:a}),v.css("backgroundColor",L({h:i,s:100,b:a})),f.find(".minicolors-grid-inner").css("opacity",r/100);break;case"brightness":i=_(parseInt(Y.x*(360/y.width()),10),0,360),r=_(100-Math.floor(Y.y*(100/y.height())),0,100),a=_(100-Math.floor(T.y*(100/v.height())),0,100),h=L({h:i,s:r,b:a}),v.css("backgroundColor",L({h:i,s:r,b:100})),f.find(".minicolors-grid-inner").css("opacity",1-a/100);break;default:i=_(360-parseInt(T.y*(360/v.height()),10),0,360),r=_(Math.floor(Y.x*(100/y.width())),0,100),a=_(100-Math.floor(Y.y*(100/y.height())),0,100),h=L({h:i,s:r,b:a}),y.css("backgroundColor",L({h:i,s:100,b:100}))}p=m.opacity?parseFloat(1-x.y/M.height()).toFixed(2):1,o(t,h,p)}else g.find("span").css({backgroundColor:h,opacity:p}),u(t,h,p)}function o(t,e,n){var i,r=t.parent(),a=t.data("minicolors-settings"),s=r.find(".minicolors-input-swatch");a.opacity&&t.attr("data-opacity",n),"rgb"===a.format?(i=g(e)?f(e,!0):Y(p(e,!0)),n=""===t.attr("data-opacity")?1:_(parseFloat(t.attr("data-opacity")).toFixed(2),0,1),!isNaN(n)&&a.opacity||(n=1),e=t.minicolors("rgbObject").a<=1&&i&&a.opacity?"rgba("+i.r+", "+i.g+", "+i.b+", "+parseFloat(n)+")":"rgb("+i.r+", "+i.g+", "+i.b+")"):(g(e)&&(e=M(e)),
e=h(e,a.letterCase)),t.val(e),s.find("span").css({backgroundColor:e,opacity:n}),u(t,e,n)}function l(e,n){var i,r,a,s,o,l,d,c,v,w,k=e.parent(),Y=e.data("minicolors-settings"),T=k.find(".minicolors-input-swatch"),x=k.find(".minicolors-grid"),D=k.find(".minicolors-slider"),S=k.find(".minicolors-opacity-slider"),C=x.find("[class$=-picker]"),H=D.find("[class$=-picker]"),j=S.find("[class$=-picker]");switch(g(e.val())?(i=M(e.val()),o=_(parseFloat(y(e.val())).toFixed(2),0,1),o&&e.attr("data-opacity",o)):i=h(p(e.val(),!0),Y.letterCase),i||(i=h(m(Y.defaultValue,!0),Y.letterCase)),r=b(i),s=Y.keywords?t.map(Y.keywords.split(","),function(e){return t.trim(e.toLowerCase())}):[],l=""!==e.val()&&t.inArray(e.val().toLowerCase(),s)>-1?h(e.val()):g(e.val())?f(e.val()):i,n||e.val(l),Y.opacity&&(a=""===e.attr("data-opacity")?1:_(parseFloat(e.attr("data-opacity")).toFixed(2),0,1),isNaN(a)&&(a=1),e.attr("data-opacity",a),T.find("span").css("opacity",a),c=_(S.height()-S.height()*a,0,S.height()),j.css("top",c+"px")),"transparent"===e.val().toLowerCase()&&T.find("span").css("opacity",0),T.find("span").css("backgroundColor",i),Y.control){case"wheel":v=_(Math.ceil(.75*r.s),0,x.height()/2),w=r.h*Math.PI/180,d=_(75-Math.cos(w)*v,0,x.width()),c=_(75-Math.sin(w)*v,0,x.height()),C.css({top:c+"px",left:d+"px"}),c=150-r.b/(100/x.height()),""===i&&(c=0),H.css("top",c+"px"),D.css("backgroundColor",L({h:r.h,s:r.s,b:100}));break;case"saturation":d=_(5*r.h/12,0,150),c=_(x.height()-Math.ceil(r.b/(100/x.height())),0,x.height()),C.css({top:c+"px",left:d+"px"}),c=_(D.height()-r.s*(D.height()/100),0,D.height()),H.css("top",c+"px"),D.css("backgroundColor",L({h:r.h,s:100,b:r.b})),k.find(".minicolors-grid-inner").css("opacity",r.s/100);break;case"brightness":d=_(5*r.h/12,0,150),c=_(x.height()-Math.ceil(r.s/(100/x.height())),0,x.height()),C.css({top:c+"px",left:d+"px"}),c=_(D.height()-r.b*(D.height()/100),0,D.height()),H.css("top",c+"px"),D.css("backgroundColor",L({h:r.h,s:r.s,b:100})),k.find(".minicolors-grid-inner").css("opacity",1-r.b/100);break;default:d=_(Math.ceil(r.s/(100/x.width())),0,x.width()),c=_(x.height()-Math.ceil(r.b/(100/x.height())),0,x.height()),C.css({top:c+"px",left:d+"px"}),c=_(D.height()-r.h/(360/D.height()),0,D.height()),H.css("top",c+"px"),x.css("backgroundColor",L({h:r.h,s:100,b:100}))}e.data("minicolors-initialized")&&u(e,l,a)}function u(t,e,n){var i,r,a,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=g(e)?f(e,!0):Y(e),r=-1,a=0;a<s.swatches.length;++a)if(i.r===s.swatches[a].r&&i.g===s.swatches[a].g&&i.b===s.swatches[a].b&&i.a===s.swatches[a].a){r=a;break}t.parent().find(".minicolors-swatches .minicolors-swatch").removeClass("selected"),-1!==a&&t.parent().find(".minicolors-swatches .minicolors-swatch").eq(a).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 d(e){var n=p(t(e).val(),!0),i=Y(n),r=t(e).attr("data-opacity");return i?(void 0!==r&&t.extend(i,{a:parseFloat(r)}),i):null}function c(e,n){var i=p(t(e).val(),!0),r=Y(i),a=t(e).attr("data-opacity");return r?(void 0===a&&(a=1),n?"rgba("+r.r+", "+r.g+", "+r.b+", "+parseFloat(a)+")":"rgb("+r.r+", "+r.g+", "+r.b+")"):null}function h(t,e){return"uppercase"===e?t.toUpperCase():t.toLowerCase()}function p(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 f(t,e){var n=t.replace(/[^\d,.]/g,""),i=n.split(",");return i[0]=_(parseInt(i[0],10),0,255),i[1]=_(parseInt(i[1],10),0,255),i[2]=_(parseInt(i[2],10),0,255),i[3]&&(i[3]=_(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 g(t)?f(t):p(t,e)}function _(t,e,n){return e>t&&(t=e),t>n&&(t=n),t}function g(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),r=Math.round(255*t.b/100);if(0===i)e.r=e.g=e.b=r;else{var a=r,s=(255-i)*r/255,o=(a-s)*(n%60)/60;360===n&&(n=0),60>n?(e.r=a,e.b=s,e.g=s+o):120>n?(e.g=a,e.b=s,e.r=a-o):180>n?(e.g=a,e.r=s,e.b=s+o):240>n?(e.b=a,e.r=s,e.g=a-o):300>n?(e.b=a,e.g=s,e.r=s+o):360>n?(e.r=a,e.g=s,e.b=a-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 M(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 w(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 L(t){return w(v(t))}function b(t){var e=k(Y(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),r=i-n;return e.b=i,e.s=0!==i?255*r/i:0,0!==e.s?t.r===i?e.h=(t.g-t.b)/r:t.g===i?e.h=2+(t.b-t.r)/r:e.h=4+(t.r-t.g)/r:e.h=-1,e.h*=60,e.h<0&&(e.h+=360),e.s*=100/255,e.b*=100/255,e}function Y(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(a,s){switch(a){case"destroy":return t(this).each(function(){n(t(this))}),t(this);case"hide":return r(),t(this);case"opacity":return void 0===s?t(this).attr("data-opacity"):(t(this).each(function(){l(t(this).attr("data-opacity",s))}),t(this));case"rgbObject":return d(t(this),"rgbaObject"===a);case"rgbString":case"rgbaString":return c(t(this),"rgbaString"===a);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",_(s.opacity,0,1)),s.color&&t(this).val(s.color)):t(this).val(s),l(t(this))}),t(this));default:return"create"!==a&&(s=a),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")||r()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(e){var n=t(this);e.preventDefault(),t(document).data("minicolors-target",n),a(n,e,!0)}).on("mousemove.minicolors touchmove.minicolors",function(e){var n=t(document).data("minicolors-target");n&&a(n,e)}).on("mouseup.minicolors touchend.minicolors",function(){t(this).removeData("minicolors-target")}).on("click.minicolors",".minicolors-swatches li",function(e){e.preventDefault();var n=t(this),i=n.parents(".minicolors").find(".minicolors-input"),r=n.data("swatch-color");o(i,r,y(r)),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,r,a,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?a=s.val():(g(s.val())?i=f(s.val(),!0):(n=p(s.val(),!0),i=n?Y(n):null),a=null===i?o.defaultValue:"rgb"===o.format?f(o.opacity?"rgba("+i.r+","+i.g+","+i.b+","+s.attr("data-opacity")+")":"rgb("+i.r+","+i.g+","+i.b+")"):w(i)),r=o.opacity?s.attr("data-opacity"):1,"transparent"===a.toLowerCase()&&(r=0),s.closest(".minicolors").find(".minicolors-input-swatch > span").css("opacity",r),s.val(a),""===s.val()&&s.val(m(o.defaultValue,!0)),s.val(h(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:r();break;case 13:case 27:r(),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 r(t,e,n){return t[e]=n,t}function a(t,e){for(var n,a=t.match(i.key);void 0!==(n=a.pop());)if(i.push.test(n)){var o=s(t.replace(/\[\]$/,""));e=r([],o,e)}else i.fixed.test(n)?e=r([],n,e):i.named.test(n)&&(e=r({},n,e));return e}function s(t){return void 0===p[t]&&(p[t]=0),p[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=a(e.name,o(e));return h=t.extend(!0,h,n),this}function u(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 d(){return h}function c(){return JSON.stringify(d())}var h={},p={};this.addPair=l,this.addPairs=u,this.serialize=d,this.serializeJSON=c}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(){"use strict";var t=this,e=t.Chart,n=function(t){this.canvas=t.canvas,this.ctx=t;var e=function(t,e){return t["offset"+e]?t["offset"+e]:document.defaultView.getComputedStyle(t).getPropertyValue(e)},n=this.width=e(t.canvas,"Width"),r=this.height=e(t.canvas,"Height");t.canvas.width=n,t.canvas.height=r;var n=this.width=t.canvas.width,r=this.height=t.canvas.height;return this.aspectRatio=this.width/this.height,i.retinaScale(this),this};n.defaults={global:{animation:!0,animationSteps:60,animationEasing:"easeOutQuart",showScale:!0,scaleOverride:!1,scaleSteps:null,scaleStepWidth:null,scaleStartValue:null,scaleLineColor:"rgba(0,0,0,.1)",scaleLineWidth:1,scaleShowLabels:!0,scaleLabel:"<%=value%>",scaleIntegersOnly:!0,scaleBeginAtZero:!1,scaleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",scaleFontSize:12,scaleFontStyle:"normal",scaleFontColor:"#666",responsive:!1,maintainAspectRatio:!0,showTooltips:!0,customTooltips:!1,tooltipEvents:["mousemove","touchstart","touchmove","mouseout"],tooltipFillColor:"rgba(0,0,0,0.8)",tooltipFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipFontSize:14,tooltipFontStyle:"normal",tooltipFontColor:"#fff",tooltipTitleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipTitleFontSize:14,tooltipTitleFontStyle:"bold",tooltipTitleFontColor:"#fff",tooltipYPadding:6,tooltipXPadding:6,tooltipCaretSize:8,tooltipCornerRadius:6,tooltipXOffset:10,tooltipTemplate:"<%if (label){%><%=label%>: <%}%><%= value %>",multiTooltipTemplate:"<%= value %>",multiTooltipKeyBackground:"#fff",onAnimationProgress:function(){},onAnimationComplete:function(){}}},n.types={};var i=n.helpers={},r=i.each=function(t,e,n){var i=Array.prototype.slice.call(arguments,3);if(t)if(t.length===+t.length){var r;for(r=0;r<t.length;r++)e.apply(n,[t[r],r].concat(i))}else for(var a in t)e.apply(n,[t[a],a].concat(i))},a=i.clone=function(t){var e={};return r(t,function(n,i){t.hasOwnProperty(i)&&(e[i]=n)}),e},s=i.extend=function(t){return r(Array.prototype.slice.call(arguments,1),function(e){r(e,function(n,i){e.hasOwnProperty(i)&&(t[i]=n)})}),t},o=i.merge=function(t,e){var n=Array.prototype.slice.call(arguments,0);return n.unshift({}),s.apply(null,n)},l=i.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},u=(i.where=function(t,e){var n=[];return i.each(t,function(t){e(t)&&n.push(t)}),n},i.findNextWhere=function(t,e,n){n||(n=-1);for(var i=n+1;i<t.length;i++){var r=t[i];if(e(r))return r}},i.findPreviousWhere=function(t,e,n){n||(n=t.length);for(var i=n-1;i>=0;i--){var r=t[i];if(e(r))return r}},i.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=u,t&&s(n.prototype,t),n.__super__=e.prototype,n}),d=i.noop=function(){},c=i.uid=function(){var t=0;return function(){return"chart-"+t++}}(),h=i.warn=function(t){window.console&&"function"==typeof window.console.warn&&console.warn(t)},p=i.amd="function"==typeof define&&define.amd,f=i.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},m=i.max=function(t){return Math.max.apply(Math,t)},_=i.min=function(t){return Math.min.apply(Math,t)},g=(i.cap=function(t,e,n){if(f(e)){if(t>e)return e}else if(f(n)&&n>t)return n;return t},i.getDecimalPlaces=function(t){return t%1!==0&&f(t)?t.toString().split(".")[1].length:0}),y=i.radians=function(t){return t*(Math.PI/180)},v=(i.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,r=Math.sqrt(n*n+i*i),a=2*Math.PI+Math.atan2(i,n);return 0>n&&0>i&&(a+=2*Math.PI),{angle:a,distance:r}},i.aliasPixel=function(t){return t%2===0?0:.5}),M=(i.splineCurve=function(t,e,n,i){var r=Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)),a=Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2)),s=i*r/(r+a),o=i*a/(r+a);return{inner:{x:e.x-s*(n.x-t.x),y:e.y-s*(n.y-t.y)},outer:{x:e.x+o*(n.x-t.x),y:e.y+o*(n.y-t.y)}}},i.calculateOrderOfMagnitude=function(t){return Math.floor(Math.log(t)/Math.LN10)}),w=(i.calculateScaleRange=function(t,e,n,i,r){var a=2,s=Math.floor(e/(1.5*n)),o=a>=s,l=m(t),u=_(t);l===u&&(l+=.5,u>=.5&&!i?u-=.5:l+=.5);for(var d=Math.abs(l-u),c=M(d),h=Math.ceil(l/(1*Math.pow(10,c)))*Math.pow(10,c),p=i?0:Math.floor(u/(1*Math.pow(10,c)))*Math.pow(10,c),f=h-p,g=Math.pow(10,c),y=Math.round(f/g);(y>s||s>2*y)&&!o;)if(y>s)g*=2,y=Math.round(f/g),y%1!==0&&(o=!0);else if(r&&c>=0){if(g/2%1!==0)break;g/=2,y=Math.round(f/g)}else g/=2,y=Math.round(f/g);return o&&(y=a,g=f/y),{steps:y,stepValue:g,min:p,max:p+y*g}},i.template=function(t,e){function n(t,e){var n=/\W/.test(t)?new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+t.replace(/[\r\t\n]/g," ").split("<%").join(" ").replace(/((^|%>)[^\t]*)'/g,"$1\r").replace(/\t=(.*?)%>/g,"',$1,'").split(" ").join("');").split("%>").join("p.push('").split("\r").join("\\'")+"');}return p.join('');"):i[t]=i[t];return e?n(e):n}if(t instanceof Function)return t(e);var i={};return n(t,e)}),L=(i.generateLabels=function(t,e,n,i){var a=new Array(e);return labelTemplateString&&r(a,function(e,r){a[r]=w(t,{value:n+i*(r+1)})}),a},i.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-L.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*L.easeInBounce(2*t):.5*L.easeOutBounce(2*t-1)+.5}}),b=i.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)}}(),k=i.cancelAnimFrame=function(){return window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(t){return window.clearTimeout(t,1e3/60)}}(),Y=(i.animationLoop=function(t,e,n,i,r,a){var s=0,o=L[n]||L.linear,l=function(){s++;var n=s/e,u=o(n);t.call(a,u,n,s),i.call(a,u,n),e>s?a.animationFrame=b(l):r.apply(a)};b(l)},i.getRelativePosition=function(t){var e,n,i=t.originalEvent||t,r=t.currentTarget||t.srcElement,a=r.getBoundingClientRect();return i.touches?(e=i.touches[0].clientX-a.left,n=i.touches[0].clientY-a.top):(e=i.clientX-a.left,n=i.clientY-a.top),{x:e,y:n}},i.addEvent=function(t,e,n){t.addEventListener?t.addEventListener(e,n):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n}),T=i.removeEvent=function(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=d},x=(i.bindEvents=function(t,e,n){t.events||(t.events={}),r(e,function(e){t.events[e]=function(){n.apply(t,arguments)},Y(t.chart.canvas,e,t.events[e])})},i.unbindEvents=function(t,e){r(e,function(e,n){T(t.chart.canvas,n,e)})}),D=i.getMaximumWidth=function(t){var e=t.parentNode;return e.clientWidth},S=i.getMaximumHeight=function(t){var e=t.parentNode;return e.clientHeight},C=(i.getMaximumSize=i.getMaximumWidth,i.retinaScale=function(t){var e=t.ctx,n=t.canvas.width,i=t.canvas.height;window.devicePixelRatio&&(e.canvas.style.width=n+"px",e.canvas.style.height=i+"px",e.canvas.height=i*window.devicePixelRatio,e.canvas.width=n*window.devicePixelRatio,e.scale(window.devicePixelRatio,window.devicePixelRatio))}),H=i.clear=function(t){t.ctx.clearRect(0,0,t.width,t.height)},j=i.fontString=function(t,e,n){return e+" "+t+"px "+n},A=i.longestText=function(t,e,n){t.font=e;var i=0;return r(n,function(e){var n=t.measureText(e).width;i=n>i?n:i}),i},P=i.drawRoundedRectangle=function(t,e,n,i,r,a){t.beginPath(),t.moveTo(e+a,n),t.lineTo(e+i-a,n),t.quadraticCurveTo(e+i,n,e+i,n+a),t.lineTo(e+i,n+r-a),t.quadraticCurveTo(e+i,n+r,e+i-a,n+r),t.lineTo(e+a,n+r),t.quadraticCurveTo(e,n+r,e,n+r-a),t.lineTo(e,n+a),t.quadraticCurveTo(e,n,e+a,n),t.closePath()};n.instances={},n.Type=function(t,e,i){this.options=e,this.chart=i,this.id=c(),n.instances[this.id]=this,e.responsive&&this.resize(),this.initialize.call(this,t)},s(n.Type.prototype,{initialize:function(){return this},clear:function(){return H(this.chart),this},stop:function(){return k(this.animationFrame),this},resize:function(t){this.stop();var e=this.chart.canvas,n=D(this.chart.canvas),i=this.options.maintainAspectRatio?n/this.chart.aspectRatio:S(this.chart.canvas);return e.width=this.chart.width=n,e.height=this.chart.height=i,C(this.chart),"function"==typeof t&&t.apply(this,Array.prototype.slice.call(arguments,1)),this},reflow:d,render:function(t){return t&&this.reflow(),this.options.animation&&!t?i.animationLoop(this.draw,this.options.animationSteps,this.options.animationEasing,this.options.onAnimationProgress,this.options.onAnimationComplete,this):(this.draw(),this.options.onAnimationComplete.call(this)),this},generateLegend:function(){return w(this.options.legendTemplate,this)},destroy:function(){this.clear(),x(this,this.events);var t=this.chart.canvas;t.width=this.chart.width,t.height=this.chart.height,t.style.removeProperty?(t.style.removeProperty("width"),t.style.removeProperty("height")):(t.style.removeAttribute("width"),t.style.removeAttribute("height")),delete n.instances[this.id]},showTooltip:function(t,e){"undefined"==typeof this.activeElements&&(this.activeElements=[]);var a=function(t){var e=!1;return t.length!==this.activeElements.length?e=!0:(r(t,function(t,n){t!==this.activeElements[n]&&(e=!0)},this),e)}.call(this,t);if(a||e){if(this.activeElements=t,this.draw(),this.options.customTooltips&&this.options.customTooltips(!1),t.length>0)if(this.datasets&&this.datasets.length>1){for(var s,o,u=this.datasets.length-1;u>=0&&(s=this.datasets[u].points||this.datasets[u].bars||this.datasets[u].segments,o=l(s,t[0]),-1===o);u--);var d=[],c=[],h=function(t){var e,n,r,a,s,l=[],u=[],h=[];return i.each(this.datasets,function(t){e=t.points||t.bars||t.segments,e[o]&&e[o].hasValue()&&l.push(e[o])}),i.each(l,function(t){u.push(t.x),h.push(t.y),d.push(i.template(this.options.multiTooltipTemplate,t)),c.push({fill:t._saved.fillColor||t.fillColor,stroke:t._saved.strokeColor||t.strokeColor})},this),s=_(h),r=m(h),a=_(u),n=m(u),{x:a>this.chart.width/2?a:n,y:(s+r)/2}}.call(this,o);new n.MultiTooltip({x:h.x,y:h.y,xPadding:this.options.tooltipXPadding,yPadding:this.options.tooltipYPadding,xOffset:this.options.tooltipXOffset,fillColor:this.options.tooltipFillColor,textColor:this.options.tooltipFontColor,fontFamily:this.options.tooltipFontFamily,fontStyle:this.options.tooltipFontStyle,fontSize:this.options.tooltipFontSize,titleTextColor:this.options.tooltipTitleFontColor,titleFontFamily:this.options.tooltipTitleFontFamily,titleFontStyle:this.options.tooltipTitleFontStyle,titleFontSize:this.options.tooltipTitleFontSize,cornerRadius:this.options.tooltipCornerRadius,labels:d,legendColors:c,legendColorBackground:this.options.multiTooltipKeyBackground,title:t[0].label,chart:this.chart,ctx:this.chart.ctx,custom:this.options.customTooltips}).draw()}else r(t,function(t){var e=t.tooltipPosition();new n.Tooltip({x:Math.round(e.x),y:Math.round(e.y),xPadding:this.options.tooltipXPadding,yPadding:this.options.tooltipYPadding,fillColor:this.options.tooltipFillColor,textColor:this.options.tooltipFontColor,fontFamily:this.options.tooltipFontFamily,fontStyle:this.options.tooltipFontStyle,fontSize:this.options.tooltipFontSize,caretHeight:this.options.tooltipCaretSize,cornerRadius:this.options.tooltipCornerRadius,text:w(this.options.tooltipTemplate,t),chart:this.chart,custom:this.options.customTooltips}).draw()},this);return this}},toBase64Image:function(){return this.chart.canvas.toDataURL.apply(this.chart.canvas,arguments)}}),n.Type.extend=function(t){var e=this,i=function(){return e.apply(this,arguments)};if(i.prototype=a(e.prototype),s(i.prototype,t),i.extend=n.Type.extend,t.name||e.prototype.name){var r=t.name||e.prototype.name,l=n.defaults[e.prototype.name]?a(n.defaults[e.prototype.name]):{};n.defaults[r]=s(l,t.defaults),n.types[r]=i,n.prototype[r]=function(t,e){var a=o(n.defaults.global,n.defaults[r],e||{});return new i(t,a,this)}}else h("Name not provided for this chart, so it hasn't been registered");return e},n.Element=function(t){s(this,t),this.initialize.apply(this,arguments),this.save()},s(n.Element.prototype,{initialize:function(){},restore:function(t){return t?r(t,function(t){this[t]=this._saved[t]},this):s(this,this._saved),this},save:function(){return this._saved=a(this),delete this._saved._saved,this},update:function(t){return r(t,function(t,e){this._saved[e]=this[e],this[e]=t},this),this},transition:function(t,e){return r(t,function(t,n){this[n]=(t-this._saved[n])*e+this._saved[n]},this),this},tooltipPosition:function(){return{x:this.x,y:this.y}},hasValue:function(){return f(this.value)}}),n.Element.extend=u,n.Point=n.Element.extend({display:!0,inRange:function(t,e){var n=this.hitDetectionRadius+this.radius;return Math.pow(t-this.x,2)+Math.pow(e-this.y,2)<Math.pow(n,2)},draw:function(){if(this.display){var t=this.ctx;t.beginPath(),t.arc(this.x,this.y,this.radius,0,2*Math.PI),t.closePath(),t.strokeStyle=this.strokeColor,t.lineWidth=this.strokeWidth,t.fillStyle=this.fillColor,t.fill(),t.stroke()}}}),n.Arc=n.Element.extend({inRange:function(t,e){var n=i.getAngleFromPoint(this,{x:t,y:e}),r=n.angle>=this.startAngle&&n.angle<=this.endAngle,a=n.distance>=this.innerRadius&&n.distance<=this.outerRadius;return r&&a},tooltipPosition:function(){var t=this.startAngle+(this.endAngle-this.startAngle)/2,e=(this.outerRadius-this.innerRadius)/2+this.innerRadius;return{x:this.x+Math.cos(t)*e,y:this.y+Math.sin(t)*e}},draw:function(t){var e=this.ctx;e.beginPath(),e.arc(this.x,this.y,this.outerRadius,this.startAngle,this.endAngle),e.arc(this.x,this.y,this.innerRadius,this.endAngle,this.startAngle,!0),e.closePath(),e.strokeStyle=this.strokeColor,e.lineWidth=this.strokeWidth,e.fillStyle=this.fillColor,e.fill(),e.lineJoin="bevel",this.showStroke&&e.stroke()}}),n.Rectangle=n.Element.extend({draw:function(){var t=this.ctx,e=this.width/2,n=this.x-e,i=this.x+e,r=this.base-(this.base-this.y),a=this.strokeWidth/2;this.showStroke&&(n+=a,i-=a,r+=a),t.beginPath(),t.fillStyle=this.fillColor,t.strokeStyle=this.strokeColor,t.lineWidth=this.strokeWidth,t.moveTo(n,this.base),t.lineTo(n,r),t.lineTo(i,r),t.lineTo(i,this.base),t.fill(),this.showStroke&&t.stroke()},height:function(){return this.base-this.y},inRange:function(t,e){return t>=this.x-this.width/2&&t<=this.x+this.width/2&&e>=this.y&&e<=this.base}}),n.Tooltip=n.Element.extend({draw:function(){var t=this.chart.ctx;t.font=j(this.fontSize,this.fontStyle,this.fontFamily),this.xAlign="center",this.yAlign="above";var e=this.caretPadding=2,n=t.measureText(this.text).width+2*this.xPadding,i=this.fontSize+2*this.yPadding,r=i+this.caretHeight+e;this.x+n/2>this.chart.width?this.xAlign="left":this.x-n/2<0&&(this.xAlign="right"),this.y-r<0&&(this.yAlign="below");var a=this.x-n/2,s=this.y-r;if(t.fillStyle=this.fillColor,this.custom)this.custom(this);else{switch(this.yAlign){case"above":t.beginPath(),t.moveTo(this.x,this.y-e),t.lineTo(this.x+this.caretHeight,this.y-(e+this.caretHeight)),t.lineTo(this.x-this.caretHeight,this.y-(e+this.caretHeight)),t.closePath(),t.fill();break;case"below":s=this.y+e+this.caretHeight,t.beginPath(),t.moveTo(this.x,this.y+e),t.lineTo(this.x+this.caretHeight,this.y+e+this.caretHeight),t.lineTo(this.x-this.caretHeight,this.y+e+this.caretHeight),t.closePath(),t.fill()}switch(this.xAlign){case"left":a=this.x-n+(this.cornerRadius+this.caretHeight);break;case"right":a=this.x-(this.cornerRadius+this.caretHeight)}P(t,a,s,n,i,this.cornerRadius),t.fill(),t.fillStyle=this.textColor,t.textAlign="center",t.textBaseline="middle",t.fillText(this.text,a+n/2,s+i/2)}}}),n.MultiTooltip=n.Element.extend({initialize:function(){this.font=j(this.fontSize,this.fontStyle,this.fontFamily),this.titleFont=j(this.titleFontSize,this.titleFontStyle,this.titleFontFamily),this.height=this.labels.length*this.fontSize+(this.labels.length-1)*(this.fontSize/2)+2*this.yPadding+1.5*this.titleFontSize,this.ctx.font=this.titleFont;var t=this.ctx.measureText(this.title).width,e=A(this.ctx,this.font,this.labels)+this.fontSize+3,n=m([e,t]);this.width=n+2*this.xPadding;var i=this.height/2;this.y-i<0?this.y=i:this.y+i>this.chart.height&&(this.y=this.chart.height-i),this.x>this.chart.width/2?this.x-=this.xOffset+this.width:this.x+=this.xOffset},getLineHeight:function(t){var e=this.y-this.height/2+this.yPadding,n=t-1;return 0===t?e+this.titleFontSize/2:e+(1.5*this.fontSize*n+this.fontSize/2)+1.5*this.titleFontSize},draw:function(){if(this.custom)this.custom(this);else{P(this.ctx,this.x,this.y-this.height/2,this.width,this.height,this.cornerRadius);var t=this.ctx;t.fillStyle=this.fillColor,t.fill(),t.closePath(),t.textAlign="left",t.textBaseline="middle",t.fillStyle=this.titleTextColor,t.font=this.titleFont,t.fillText(this.title,this.x+this.xPadding,this.getLineHeight(0)),t.font=this.font,i.each(this.labels,function(e,n){t.fillStyle=this.textColor,t.fillText(e,this.x+this.xPadding+this.fontSize+3,this.getLineHeight(n+1)),t.fillStyle=this.legendColorBackground,t.fillRect(this.x+this.xPadding,this.getLineHeight(n+1)-this.fontSize/2,this.fontSize,this.fontSize),t.fillStyle=this.legendColors[n].fill,t.fillRect(this.x+this.xPadding,this.getLineHeight(n+1)-this.fontSize/2,this.fontSize,this.fontSize)},this)}}}),n.Scale=n.Element.extend({initialize:function(){this.fit()},buildYLabels:function(){this.yLabels=[];for(var t=g(this.stepValue),e=0;e<=this.steps;e++)this.yLabels.push(w(this.templateString,{value:(this.min+e*this.stepValue).toFixed(t)}));this.yLabelWidth=this.display&&this.showLabels?A(this.ctx,this.font,this.yLabels):0},addXLabel:function(t){this.xLabels.push(t),this.valuesCount++,this.fit()},removeXLabel:function(){this.xLabels.shift(),this.valuesCount--,this.fit()},fit:function(){this.startPoint=this.display?this.fontSize:0,this.endPoint=this.display?this.height-1.5*this.fontSize-5:this.height,this.startPoint+=this.padding,this.endPoint-=this.padding;var t,e=this.endPoint-this.startPoint;for(this.calculateYRange(e),this.buildYLabels(),this.calculateXLabelRotation();e>this.endPoint-this.startPoint;)e=this.endPoint-this.startPoint,t=this.yLabelWidth,this.calculateYRange(e),this.buildYLabels(),t<this.yLabelWidth&&this.calculateXLabelRotation()},calculateXLabelRotation:function(){this.ctx.font=this.font;var t,e,n=this.ctx.measureText(this.xLabels[0]).width,i=this.ctx.measureText(this.xLabels[this.xLabels.length-1]).width;if(this.xScalePaddingRight=i/2+3,this.xScalePaddingLeft=n/2>this.yLabelWidth+10?n/2:this.yLabelWidth+10,this.xLabelRotation=0,this.display){var r,a=A(this.ctx,this.font,this.xLabels);this.xLabelWidth=a;for(var s=Math.floor(this.calculateX(1)-this.calculateX(0))-6;this.xLabelWidth>s&&0===this.xLabelRotation||this.xLabelWidth>s&&this.xLabelRotation<=90&&this.xLabelRotation>0;)r=Math.cos(y(this.xLabelRotation)),
t=r*n,e=r*i,t+this.fontSize/2>this.yLabelWidth+8&&(this.xScalePaddingLeft=t+this.fontSize/2),this.xScalePaddingRight=this.fontSize/2,this.xLabelRotation++,this.xLabelWidth=r*a;this.xLabelRotation>0&&(this.endPoint-=Math.sin(y(this.xLabelRotation))*a+3)}else this.xLabelWidth=0,this.xScalePaddingRight=this.padding,this.xScalePaddingLeft=this.padding},calculateYRange:d,drawingArea:function(){return this.startPoint-this.endPoint},calculateY:function(t){var e=this.drawingArea()/(this.min-this.max);return this.endPoint-e*(t-this.min)},calculateX:function(t){var e=(this.xLabelRotation>0,this.width-(this.xScalePaddingLeft+this.xScalePaddingRight)),n=e/Math.max(this.valuesCount-(this.offsetGridLines?0:1),1),i=n*t+this.xScalePaddingLeft;return this.offsetGridLines&&(i+=n/2),Math.round(i)},update:function(t){i.extend(this,t),this.fit()},draw:function(){var t=this.ctx,e=(this.endPoint-this.startPoint)/this.steps,n=Math.round(this.xScalePaddingLeft);this.display&&(t.fillStyle=this.textColor,t.font=this.font,r(this.yLabels,function(r,a){var s=this.endPoint-e*a,o=Math.round(s),l=this.showHorizontalLines;t.textAlign="right",t.textBaseline="middle",this.showLabels&&t.fillText(r,n-10,s),0!==a||l||(l=!0),l&&t.beginPath(),a>0?(t.lineWidth=this.gridLineWidth,t.strokeStyle=this.gridLineColor):(t.lineWidth=this.lineWidth,t.strokeStyle=this.lineColor),o+=i.aliasPixel(t.lineWidth),l&&(t.moveTo(n,o),t.lineTo(this.width,o),t.stroke(),t.closePath()),t.lineWidth=this.lineWidth,t.strokeStyle=this.lineColor,t.beginPath(),t.moveTo(n-5,o),t.lineTo(n,o),t.stroke(),t.closePath()},this),r(this.xLabels,function(e,n){var i=this.calculateX(n)+v(this.lineWidth),r=this.calculateX(n-(this.offsetGridLines?.5:0))+v(this.lineWidth),a=this.xLabelRotation>0,s=this.showVerticalLines;0!==n||s||(s=!0),s&&t.beginPath(),n>0?(t.lineWidth=this.gridLineWidth,t.strokeStyle=this.gridLineColor):(t.lineWidth=this.lineWidth,t.strokeStyle=this.lineColor),s&&(t.moveTo(r,this.endPoint),t.lineTo(r,this.startPoint-3),t.stroke(),t.closePath()),t.lineWidth=this.lineWidth,t.strokeStyle=this.lineColor,t.beginPath(),t.moveTo(r,this.endPoint),t.lineTo(r,this.endPoint+5),t.stroke(),t.closePath(),t.save(),t.translate(i,a?this.endPoint+12:this.endPoint+8),t.rotate(-1*y(this.xLabelRotation)),t.font=this.font,t.textAlign=a?"right":"center",t.textBaseline=a?"middle":"top",t.fillText(e,0,0),t.restore()},this))}}),n.RadialScale=n.Element.extend({initialize:function(){this.size=_([this.height,this.width]),this.drawingArea=this.display?this.size/2-(this.fontSize/2+this.backdropPaddingY):this.size/2},calculateCenterOffset:function(t){var e=this.drawingArea/(this.max-this.min);return(t-this.min)*e},update:function(){this.lineArc?this.drawingArea=this.display?this.size/2-(this.fontSize/2+this.backdropPaddingY):this.size/2:this.setScaleSize(),this.buildYLabels()},buildYLabels:function(){this.yLabels=[];for(var t=g(this.stepValue),e=0;e<=this.steps;e++)this.yLabels.push(w(this.templateString,{value:(this.min+e*this.stepValue).toFixed(t)}))},getCircumference:function(){return 2*Math.PI/this.valuesCount},setScaleSize:function(){var t,e,n,i,r,a,s,o,l,u,d,c,h=_([this.height/2-this.pointLabelFontSize-5,this.width/2]),p=this.width,m=0;for(this.ctx.font=j(this.pointLabelFontSize,this.pointLabelFontStyle,this.pointLabelFontFamily),e=0;e<this.valuesCount;e++)t=this.getPointPosition(e,h),n=this.ctx.measureText(w(this.templateString,{value:this.labels[e]})).width+5,0===e||e===this.valuesCount/2?(i=n/2,t.x+i>p&&(p=t.x+i,r=e),t.x-i<m&&(m=t.x-i,s=e)):e<this.valuesCount/2?t.x+n>p&&(p=t.x+n,r=e):e>this.valuesCount/2&&t.x-n<m&&(m=t.x-n,s=e);l=m,u=Math.ceil(p-this.width),a=this.getIndexAngle(r),o=this.getIndexAngle(s),d=u/Math.sin(a+Math.PI/2),c=l/Math.sin(o+Math.PI/2),d=f(d)?d:0,c=f(c)?c:0,this.drawingArea=h-(c+d)/2,this.setCenterPoint(c,d)},setCenterPoint:function(t,e){var n=this.width-e-this.drawingArea,i=t+this.drawingArea;this.xCenter=(i+n)/2,this.yCenter=this.height/2},getIndexAngle:function(t){var e=2*Math.PI/this.valuesCount;return t*e-Math.PI/2},getPointPosition:function(t,e){var n=this.getIndexAngle(t);return{x:Math.cos(n)*e+this.xCenter,y:Math.sin(n)*e+this.yCenter}},draw:function(){if(this.display){var t=this.ctx;if(r(this.yLabels,function(e,n){if(n>0){var i,r=n*(this.drawingArea/this.steps),a=this.yCenter-r;if(this.lineWidth>0)if(t.strokeStyle=this.lineColor,t.lineWidth=this.lineWidth,this.lineArc)t.beginPath(),t.arc(this.xCenter,this.yCenter,r,0,2*Math.PI),t.closePath(),t.stroke();else{t.beginPath();for(var s=0;s<this.valuesCount;s++)i=this.getPointPosition(s,this.calculateCenterOffset(this.min+n*this.stepValue)),0===s?t.moveTo(i.x,i.y):t.lineTo(i.x,i.y);t.closePath(),t.stroke()}if(this.showLabels){if(t.font=j(this.fontSize,this.fontStyle,this.fontFamily),this.showLabelBackdrop){var o=t.measureText(e).width;t.fillStyle=this.backdropColor,t.fillRect(this.xCenter-o/2-this.backdropPaddingX,a-this.fontSize/2-this.backdropPaddingY,o+2*this.backdropPaddingX,this.fontSize+2*this.backdropPaddingY)}t.textAlign="center",t.textBaseline="middle",t.fillStyle=this.fontColor,t.fillText(e,this.xCenter,a)}}},this),!this.lineArc){t.lineWidth=this.angleLineWidth,t.strokeStyle=this.angleLineColor;for(var e=this.valuesCount-1;e>=0;e--){if(this.angleLineWidth>0){var n=this.getPointPosition(e,this.calculateCenterOffset(this.max));t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(n.x,n.y),t.stroke(),t.closePath()}var i=this.getPointPosition(e,this.calculateCenterOffset(this.max)+5);t.font=j(this.pointLabelFontSize,this.pointLabelFontStyle,this.pointLabelFontFamily),t.fillStyle=this.pointLabelFontColor;var a=this.labels.length,s=this.labels.length/2,o=s/2,l=o>e||e>a-o,u=e===o||e===a-o;0===e?t.textAlign="center":e===s?t.textAlign="center":s>e?t.textAlign="left":t.textAlign="right",u?t.textBaseline="middle":l?t.textBaseline="bottom":t.textBaseline="top",t.fillText(this.labels[e],i.x,i.y)}}}}}),i.addEvent(window,"resize",function(){var t;return function(){clearTimeout(t),t=setTimeout(function(){r(n.instances,function(t){t.options.responsive&&t.resize(t.render,!0)})},50)}}()),p?define(function(){return n}):"object"==typeof module&&module.exports&&(module.exports=n),t.Chart=n,n.noConflict=function(){return t.Chart=e,n}}.call(this),function(){"use strict";var t=this,e=t.Chart,n=e.helpers,i={scaleBeginAtZero:!0,scaleShowGridLines:!0,scaleGridLineColor:"rgba(0,0,0,.05)",scaleGridLineWidth:1,scaleShowHorizontalLines:!0,scaleShowVerticalLines:!0,barShowStroke:!0,barStrokeWidth:2,barValueSpacing:5,barDatasetSpacing:1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].fillColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'};e.Type.extend({name:"Bar",defaults:i,initialize:function(t){var i=this.options;this.ScaleClass=e.Scale.extend({offsetGridLines:!0,calculateBarX:function(t,e,n){var r=this.calculateBaseWidth(),a=this.calculateX(n)-r/2,s=this.calculateBarWidth(t);return a+s*e+e*i.barDatasetSpacing+s/2},calculateBaseWidth:function(){return this.calculateX(1)-this.calculateX(0)-2*i.barValueSpacing},calculateBarWidth:function(t){var e=this.calculateBaseWidth()-(t-1)*i.barDatasetSpacing;return e/t}}),this.datasets=[],this.options.showTooltips&&n.bindEvents(this,this.options.tooltipEvents,function(t){var e="mouseout"!==t.type?this.getBarsAtEvent(t):[];this.eachBars(function(t){t.restore(["fillColor","strokeColor"])}),n.each(e,function(t){t.fillColor=t.highlightFill,t.strokeColor=t.highlightStroke}),this.showTooltip(e)}),this.BarClass=e.Rectangle.extend({strokeWidth:this.options.barStrokeWidth,showStroke:this.options.barShowStroke,ctx:this.chart.ctx}),n.each(t.datasets,function(e,i){var r={label:e.label||null,fillColor:e.fillColor,strokeColor:e.strokeColor,bars:[]};this.datasets.push(r),n.each(e.data,function(n,i){r.bars.push(new this.BarClass({value:n,label:t.labels[i],datasetLabel:e.label,strokeColor:e.strokeColor,fillColor:e.fillColor,highlightFill:e.highlightFill||e.fillColor,highlightStroke:e.highlightStroke||e.strokeColor}))},this)},this),this.buildScale(t.labels),this.BarClass.prototype.base=this.scale.endPoint,this.eachBars(function(t,e,i){n.extend(t,{width:this.scale.calculateBarWidth(this.datasets.length),x:this.scale.calculateBarX(this.datasets.length,i,e),y:this.scale.endPoint}),t.save()},this),this.render()},update:function(){this.scale.update(),n.each(this.activeElements,function(t){t.restore(["fillColor","strokeColor"])}),this.eachBars(function(t){t.save()}),this.render()},eachBars:function(t){n.each(this.datasets,function(e,i){n.each(e.bars,t,this,i)},this)},getBarsAtEvent:function(t){for(var e,i=[],r=n.getRelativePosition(t),a=function(t){i.push(t.bars[e])},s=0;s<this.datasets.length;s++)for(e=0;e<this.datasets[s].bars.length;e++)if(this.datasets[s].bars[e].inRange(r.x,r.y))return n.each(this.datasets,a),i;return i},buildScale:function(t){var e=this,i=function(){var t=[];return e.eachBars(function(e){t.push(e.value)}),t},r={templateString:this.options.scaleLabel,height:this.chart.height,width:this.chart.width,ctx:this.chart.ctx,textColor:this.options.scaleFontColor,fontSize:this.options.scaleFontSize,fontStyle:this.options.scaleFontStyle,fontFamily:this.options.scaleFontFamily,valuesCount:t.length,beginAtZero:this.options.scaleBeginAtZero,integersOnly:this.options.scaleIntegersOnly,calculateYRange:function(t){var e=n.calculateScaleRange(i(),t,this.fontSize,this.beginAtZero,this.integersOnly);n.extend(this,e)},xLabels:t,font:n.fontString(this.options.scaleFontSize,this.options.scaleFontStyle,this.options.scaleFontFamily),lineWidth:this.options.scaleLineWidth,lineColor:this.options.scaleLineColor,showHorizontalLines:this.options.scaleShowHorizontalLines,showVerticalLines:this.options.scaleShowVerticalLines,gridLineWidth:this.options.scaleShowGridLines?this.options.scaleGridLineWidth:0,gridLineColor:this.options.scaleShowGridLines?this.options.scaleGridLineColor:"rgba(0,0,0,0)",padding:this.options.showScale?0:this.options.barShowStroke?this.options.barStrokeWidth:0,showLabels:this.options.scaleShowLabels,display:this.options.showScale};this.options.scaleOverride&&n.extend(r,{calculateYRange:n.noop,steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}),this.scale=new this.ScaleClass(r)},addData:function(t,e){n.each(t,function(t,n){this.datasets[n].bars.push(new this.BarClass({value:t,label:e,x:this.scale.calculateBarX(this.datasets.length,n,this.scale.valuesCount+1),y:this.scale.endPoint,width:this.scale.calculateBarWidth(this.datasets.length),base:this.scale.endPoint,strokeColor:this.datasets[n].strokeColor,fillColor:this.datasets[n].fillColor}))},this),this.scale.addXLabel(e),this.update()},removeData:function(){this.scale.removeXLabel(),n.each(this.datasets,function(t){t.bars.shift()},this),this.update()},reflow:function(){n.extend(this.BarClass.prototype,{y:this.scale.endPoint,base:this.scale.endPoint});var t=n.extend({height:this.chart.height,width:this.chart.width});this.scale.update(t)},draw:function(t){var e=t||1;this.clear();this.chart.ctx;this.scale.draw(e),n.each(this.datasets,function(t,i){n.each(t.bars,function(t,n){t.hasValue()&&(t.base=this.scale.endPoint,t.transition({x:this.scale.calculateBarX(this.datasets.length,i,n),y:this.scale.calculateY(t.value),width:this.scale.calculateBarWidth(this.datasets.length)},e).draw())},this)},this)}})}.call(this),function(){"use strict";var t=this,e=t.Chart,n=e.helpers,i={segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:2,percentageInnerCutout:50,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'};e.Type.extend({name:"Doughnut",defaults:i,initialize:function(t){this.segments=[],this.outerRadius=(n.min([this.chart.width,this.chart.height])-this.options.segmentStrokeWidth/2)/2,this.SegmentArc=e.Arc.extend({ctx:this.chart.ctx,x:this.chart.width/2,y:this.chart.height/2}),this.options.showTooltips&&n.bindEvents(this,this.options.tooltipEvents,function(t){var e="mouseout"!==t.type?this.getSegmentsAtEvent(t):[];n.each(this.segments,function(t){t.restore(["fillColor"])}),n.each(e,function(t){t.fillColor=t.highlightColor}),this.showTooltip(e)}),this.calculateTotal(t),n.each(t,function(t,e){this.addData(t,e,!0)},this),this.render()},getSegmentsAtEvent:function(t){var e=[],i=n.getRelativePosition(t);return n.each(this.segments,function(t){t.inRange(i.x,i.y)&&e.push(t)},this),e},addData:function(t,e,n){var i=e||this.segments.length;this.segments.splice(i,0,new this.SegmentArc({value:t.value,outerRadius:this.options.animateScale?0:this.outerRadius,innerRadius:this.options.animateScale?0:this.outerRadius/100*this.options.percentageInnerCutout,fillColor:t.color,highlightColor:t.highlight||t.color,showStroke:this.options.segmentShowStroke,strokeWidth:this.options.segmentStrokeWidth,strokeColor:this.options.segmentStrokeColor,startAngle:1.5*Math.PI,circumference:this.options.animateRotate?0:this.calculateCircumference(t.value),label:t.label})),n||(this.reflow(),this.update())},calculateCircumference:function(t){return 2*Math.PI*(Math.abs(t)/this.total)},calculateTotal:function(t){this.total=0,n.each(t,function(t){this.total+=Math.abs(t.value)},this)},update:function(){this.calculateTotal(this.segments),n.each(this.activeElements,function(t){t.restore(["fillColor"])}),n.each(this.segments,function(t){t.save()}),this.render()},removeData:function(t){var e=n.isNumber(t)?t:this.segments.length-1;this.segments.splice(e,1),this.reflow(),this.update()},reflow:function(){n.extend(this.SegmentArc.prototype,{x:this.chart.width/2,y:this.chart.height/2}),this.outerRadius=(n.min([this.chart.width,this.chart.height])-this.options.segmentStrokeWidth/2)/2,n.each(this.segments,function(t){t.update({outerRadius:this.outerRadius,innerRadius:this.outerRadius/100*this.options.percentageInnerCutout})},this)},draw:function(t){var e=t?t:1;this.clear(),n.each(this.segments,function(t,n){t.transition({circumference:this.calculateCircumference(t.value),outerRadius:this.outerRadius,innerRadius:this.outerRadius/100*this.options.percentageInnerCutout},e),t.endAngle=t.startAngle+t.circumference,t.draw(),0===n&&(t.startAngle=1.5*Math.PI),n<this.segments.length-1&&(this.segments[n+1].startAngle=t.endAngle)},this)}}),e.types.Doughnut.extend({name:"Pie",defaults:n.merge(i,{percentageInnerCutout:0})})}.call(this),function(){"use strict";var t=this,e=t.Chart,n=e.helpers,i={scaleShowGridLines:!0,scaleGridLineColor:"rgba(0,0,0,.05)",scaleGridLineWidth:1,scaleShowHorizontalLines:!0,scaleShowVerticalLines:!0,bezierCurve:!0,bezierCurveTension:.4,pointDot:!0,pointDotRadius:4,pointDotStrokeWidth:1,pointHitDetectionRadius:20,datasetStroke:!0,datasetStrokeWidth:2,datasetFill:!0,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].strokeColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'};e.Type.extend({name:"Line",defaults:i,initialize:function(t){this.PointClass=e.Point.extend({strokeWidth:this.options.pointDotStrokeWidth,radius:this.options.pointDotRadius,display:this.options.pointDot,hitDetectionRadius:this.options.pointHitDetectionRadius,ctx:this.chart.ctx,inRange:function(t){return Math.pow(t-this.x,2)<Math.pow(this.radius+this.hitDetectionRadius,2)}}),this.datasets=[],this.options.showTooltips&&n.bindEvents(this,this.options.tooltipEvents,function(t){var e="mouseout"!==t.type?this.getPointsAtEvent(t):[];this.eachPoints(function(t){t.restore(["fillColor","strokeColor"])}),n.each(e,function(t){t.fillColor=t.highlightFill,t.strokeColor=t.highlightStroke}),this.showTooltip(e)}),n.each(t.datasets,function(e){var i={label:e.label||null,fillColor:e.fillColor,strokeColor:e.strokeColor,pointColor:e.pointColor,pointStrokeColor:e.pointStrokeColor,points:[]};this.datasets.push(i),n.each(e.data,function(n,r){i.points.push(new this.PointClass({value:n,label:t.labels[r],datasetLabel:e.label,strokeColor:e.pointStrokeColor,fillColor:e.pointColor,highlightFill:e.pointHighlightFill||e.pointColor,highlightStroke:e.pointHighlightStroke||e.pointStrokeColor}))},this),this.buildScale(t.labels),this.eachPoints(function(t,e){n.extend(t,{x:this.scale.calculateX(e),y:this.scale.endPoint}),t.save()},this)},this),this.render()},update:function(){this.scale.update(),n.each(this.activeElements,function(t){t.restore(["fillColor","strokeColor"])}),this.eachPoints(function(t){t.save()}),this.render()},eachPoints:function(t){n.each(this.datasets,function(e){n.each(e.points,t,this)},this)},getPointsAtEvent:function(t){var e=[],i=n.getRelativePosition(t);return n.each(this.datasets,function(t){n.each(t.points,function(t){t.inRange(i.x,i.y)&&e.push(t)})},this),e},buildScale:function(t){var i=this,r=function(){var t=[];return i.eachPoints(function(e){t.push(e.value)}),t},a={templateString:this.options.scaleLabel,height:this.chart.height,width:this.chart.width,ctx:this.chart.ctx,textColor:this.options.scaleFontColor,fontSize:this.options.scaleFontSize,fontStyle:this.options.scaleFontStyle,fontFamily:this.options.scaleFontFamily,valuesCount:t.length,beginAtZero:this.options.scaleBeginAtZero,integersOnly:this.options.scaleIntegersOnly,calculateYRange:function(t){var e=n.calculateScaleRange(r(),t,this.fontSize,this.beginAtZero,this.integersOnly);n.extend(this,e)},xLabels:t,font:n.fontString(this.options.scaleFontSize,this.options.scaleFontStyle,this.options.scaleFontFamily),lineWidth:this.options.scaleLineWidth,lineColor:this.options.scaleLineColor,showHorizontalLines:this.options.scaleShowHorizontalLines,showVerticalLines:this.options.scaleShowVerticalLines,gridLineWidth:this.options.scaleShowGridLines?this.options.scaleGridLineWidth:0,gridLineColor:this.options.scaleShowGridLines?this.options.scaleGridLineColor:"rgba(0,0,0,0)",padding:this.options.showScale?0:this.options.pointDotRadius+this.options.pointDotStrokeWidth,showLabels:this.options.scaleShowLabels,display:this.options.showScale};this.options.scaleOverride&&n.extend(a,{calculateYRange:n.noop,steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}),this.scale=new e.Scale(a)},addData:function(t,e){n.each(t,function(t,n){this.datasets[n].points.push(new this.PointClass({value:t,label:e,x:this.scale.calculateX(this.scale.valuesCount+1),y:this.scale.endPoint,strokeColor:this.datasets[n].pointStrokeColor,fillColor:this.datasets[n].pointColor}))},this),this.scale.addXLabel(e),this.update()},removeData:function(){this.scale.removeXLabel(),n.each(this.datasets,function(t){t.points.shift()},this),this.update()},reflow:function(){var t=n.extend({height:this.chart.height,width:this.chart.width});this.scale.update(t)},draw:function(t){var e=t||1;this.clear();var i=this.chart.ctx,r=function(t){return null!==t.value},a=function(t,e,i){return n.findNextWhere(e,r,i)||t},s=function(t,e,i){return n.findPreviousWhere(e,r,i)||t};this.scale.draw(e),n.each(this.datasets,function(t){var o=n.where(t.points,r);n.each(t.points,function(t,n){t.hasValue()&&t.transition({y:this.scale.calculateY(t.value),x:this.scale.calculateX(n)},e)},this),this.options.bezierCurve&&n.each(o,function(t,e){var i=e>0&&e<o.length-1?this.options.bezierCurveTension:0;t.controlPoints=n.splineCurve(s(t,o,e),t,a(t,o,e),i),t.controlPoints.outer.y>this.scale.endPoint?t.controlPoints.outer.y=this.scale.endPoint:t.controlPoints.outer.y<this.scale.startPoint&&(t.controlPoints.outer.y=this.scale.startPoint),t.controlPoints.inner.y>this.scale.endPoint?t.controlPoints.inner.y=this.scale.endPoint:t.controlPoints.inner.y<this.scale.startPoint&&(t.controlPoints.inner.y=this.scale.startPoint)},this),i.lineWidth=this.options.datasetStrokeWidth,i.strokeStyle=t.strokeColor,i.beginPath(),n.each(o,function(t,e){if(0===e)i.moveTo(t.x,t.y);else if(this.options.bezierCurve){var n=s(t,o,e);i.bezierCurveTo(n.controlPoints.outer.x,n.controlPoints.outer.y,t.controlPoints.inner.x,t.controlPoints.inner.y,t.x,t.y)}else i.lineTo(t.x,t.y)},this),i.stroke(),this.options.datasetFill&&o.length>0&&(i.lineTo(o[o.length-1].x,this.scale.endPoint),i.lineTo(o[0].x,this.scale.endPoint),i.fillStyle=t.fillColor,i.closePath(),i.fill()),n.each(o,function(t){t.draw()})},this)}})}.call(this),function(){"use strict";var t=this,e=t.Chart,n=e.helpers,i={scaleShowLabelBackdrop:!0,scaleBackdropColor:"rgba(255,255,255,0.75)",scaleBeginAtZero:!0,scaleBackdropPaddingY:2,scaleBackdropPaddingX:2,scaleShowLine:!0,segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:2,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'};e.Type.extend({name:"PolarArea",defaults:i,initialize:function(t){this.segments=[],this.SegmentArc=e.Arc.extend({showStroke:this.options.segmentShowStroke,strokeWidth:this.options.segmentStrokeWidth,strokeColor:this.options.segmentStrokeColor,ctx:this.chart.ctx,innerRadius:0,x:this.chart.width/2,y:this.chart.height/2}),this.scale=new e.RadialScale({display:this.options.showScale,fontStyle:this.options.scaleFontStyle,fontSize:this.options.scaleFontSize,fontFamily:this.options.scaleFontFamily,fontColor:this.options.scaleFontColor,showLabels:this.options.scaleShowLabels,showLabelBackdrop:this.options.scaleShowLabelBackdrop,backdropColor:this.options.scaleBackdropColor,backdropPaddingY:this.options.scaleBackdropPaddingY,backdropPaddingX:this.options.scaleBackdropPaddingX,lineWidth:this.options.scaleShowLine?this.options.scaleLineWidth:0,lineColor:this.options.scaleLineColor,lineArc:!0,width:this.chart.width,height:this.chart.height,xCenter:this.chart.width/2,yCenter:this.chart.height/2,ctx:this.chart.ctx,templateString:this.options.scaleLabel,valuesCount:t.length}),this.updateScaleRange(t),this.scale.update(),n.each(t,function(t,e){this.addData(t,e,!0)},this),this.options.showTooltips&&n.bindEvents(this,this.options.tooltipEvents,function(t){var e="mouseout"!==t.type?this.getSegmentsAtEvent(t):[];n.each(this.segments,function(t){t.restore(["fillColor"])}),n.each(e,function(t){t.fillColor=t.highlightColor}),this.showTooltip(e)}),this.render()},getSegmentsAtEvent:function(t){var e=[],i=n.getRelativePosition(t);return n.each(this.segments,function(t){t.inRange(i.x,i.y)&&e.push(t)},this),e},addData:function(t,e,n){var i=e||this.segments.length;this.segments.splice(i,0,new this.SegmentArc({fillColor:t.color,highlightColor:t.highlight||t.color,label:t.label,value:t.value,outerRadius:this.options.animateScale?0:this.scale.calculateCenterOffset(t.value),circumference:this.options.animateRotate?0:this.scale.getCircumference(),startAngle:1.5*Math.PI})),n||(this.reflow(),this.update())},removeData:function(t){var e=n.isNumber(t)?t:this.segments.length-1;this.segments.splice(e,1),this.reflow(),this.update()},calculateTotal:function(t){this.total=0,n.each(t,function(t){this.total+=t.value},this),this.scale.valuesCount=this.segments.length},updateScaleRange:function(t){var e=[];n.each(t,function(t){e.push(t.value)});var i=this.options.scaleOverride?{steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}:n.calculateScaleRange(e,n.min([this.chart.width,this.chart.height])/2,this.options.scaleFontSize,this.options.scaleBeginAtZero,this.options.scaleIntegersOnly);n.extend(this.scale,i,{size:n.min([this.chart.width,this.chart.height]),xCenter:this.chart.width/2,yCenter:this.chart.height/2})},update:function(){this.calculateTotal(this.segments),n.each(this.segments,function(t){t.save()}),this.reflow(),this.render()},reflow:function(){n.extend(this.SegmentArc.prototype,{x:this.chart.width/2,y:this.chart.height/2}),this.updateScaleRange(this.segments),this.scale.update(),n.extend(this.scale,{xCenter:this.chart.width/2,yCenter:this.chart.height/2}),n.each(this.segments,function(t){t.update({outerRadius:this.scale.calculateCenterOffset(t.value)})},this)},draw:function(t){var e=t||1;this.clear(),n.each(this.segments,function(t,n){t.transition({circumference:this.scale.getCircumference(),outerRadius:this.scale.calculateCenterOffset(t.value)},e),t.endAngle=t.startAngle+t.circumference,0===n&&(t.startAngle=1.5*Math.PI),n<this.segments.length-1&&(this.segments[n+1].startAngle=t.endAngle),t.draw()},this),this.scale.draw()}})}.call(this),function(){"use strict";var t=this,e=t.Chart,n=e.helpers;e.Type.extend({name:"Radar",defaults:{scaleShowLine:!0,angleShowLineOut:!0,scaleShowLabels:!1,scaleBeginAtZero:!0,angleLineColor:"rgba(0,0,0,.1)",angleLineWidth:1,pointLabelFontFamily:"'Arial'",pointLabelFontStyle:"normal",pointLabelFontSize:10,pointLabelFontColor:"#666",pointDot:!0,pointDotRadius:3,pointDotStrokeWidth:1,pointHitDetectionRadius:20,datasetStroke:!0,datasetStrokeWidth:2,datasetFill:!0,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].strokeColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'},initialize:function(t){this.PointClass=e.Point.extend({strokeWidth:this.options.pointDotStrokeWidth,radius:this.options.pointDotRadius,display:this.options.pointDot,hitDetectionRadius:this.options.pointHitDetectionRadius,ctx:this.chart.ctx}),this.datasets=[],this.buildScale(t),this.options.showTooltips&&n.bindEvents(this,this.options.tooltipEvents,function(t){var e="mouseout"!==t.type?this.getPointsAtEvent(t):[];this.eachPoints(function(t){t.restore(["fillColor","strokeColor"])}),n.each(e,function(t){t.fillColor=t.highlightFill,t.strokeColor=t.highlightStroke}),this.showTooltip(e)}),n.each(t.datasets,function(e){var i={label:e.label||null,fillColor:e.fillColor,strokeColor:e.strokeColor,pointColor:e.pointColor,pointStrokeColor:e.pointStrokeColor,points:[]};this.datasets.push(i),n.each(e.data,function(n,r){var a;this.scale.animation||(a=this.scale.getPointPosition(r,this.scale.calculateCenterOffset(n))),i.points.push(new this.PointClass({value:n,label:t.labels[r],datasetLabel:e.label,x:this.options.animation?this.scale.xCenter:a.x,y:this.options.animation?this.scale.yCenter:a.y,strokeColor:e.pointStrokeColor,fillColor:e.pointColor,highlightFill:e.pointHighlightFill||e.pointColor,highlightStroke:e.pointHighlightStroke||e.pointStrokeColor}))},this)},this),this.render()},eachPoints:function(t){n.each(this.datasets,function(e){n.each(e.points,t,this)},this)},getPointsAtEvent:function(t){var e=n.getRelativePosition(t),i=n.getAngleFromPoint({x:this.scale.xCenter,y:this.scale.yCenter},e),r=2*Math.PI/this.scale.valuesCount,a=Math.round((i.angle-1.5*Math.PI)/r),s=[];return(a>=this.scale.valuesCount||0>a)&&(a=0),i.distance<=this.scale.drawingArea&&n.each(this.datasets,function(t){s.push(t.points[a])}),s},buildScale:function(t){this.scale=new e.RadialScale({display:this.options.showScale,fontStyle:this.options.scaleFontStyle,fontSize:this.options.scaleFontSize,fontFamily:this.options.scaleFontFamily,fontColor:this.options.scaleFontColor,showLabels:this.options.scaleShowLabels,showLabelBackdrop:this.options.scaleShowLabelBackdrop,backdropColor:this.options.scaleBackdropColor,backdropPaddingY:this.options.scaleBackdropPaddingY,backdropPaddingX:this.options.scaleBackdropPaddingX,lineWidth:this.options.scaleShowLine?this.options.scaleLineWidth:0,lineColor:this.options.scaleLineColor,angleLineColor:this.options.angleLineColor,angleLineWidth:this.options.angleShowLineOut?this.options.angleLineWidth:0,pointLabelFontColor:this.options.pointLabelFontColor,pointLabelFontSize:this.options.pointLabelFontSize,pointLabelFontFamily:this.options.pointLabelFontFamily,pointLabelFontStyle:this.options.pointLabelFontStyle,height:this.chart.height,width:this.chart.width,xCenter:this.chart.width/2,yCenter:this.chart.height/2,ctx:this.chart.ctx,templateString:this.options.scaleLabel,labels:t.labels,valuesCount:t.datasets[0].data.length}),this.scale.setScaleSize(),this.updateScaleRange(t.datasets),this.scale.buildYLabels()},updateScaleRange:function(t){var e=function(){var e=[];return n.each(t,function(t){t.data?e=e.concat(t.data):n.each(t.points,function(t){e.push(t.value)})}),e}(),i=this.options.scaleOverride?{steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}:n.calculateScaleRange(e,n.min([this.chart.width,this.chart.height])/2,this.options.scaleFontSize,this.options.scaleBeginAtZero,this.options.scaleIntegersOnly);n.extend(this.scale,i)},addData:function(t,e){this.scale.valuesCount++,n.each(t,function(t,n){var i=this.scale.getPointPosition(this.scale.valuesCount,this.scale.calculateCenterOffset(t));this.datasets[n].points.push(new this.PointClass({value:t,label:e,x:i.x,y:i.y,strokeColor:this.datasets[n].pointStrokeColor,fillColor:this.datasets[n].pointColor}))},this),this.scale.labels.push(e),this.reflow(),this.update()},removeData:function(){this.scale.valuesCount--,this.scale.labels.shift(),n.each(this.datasets,function(t){t.points.shift()},this),this.reflow(),this.update()},update:function(){this.eachPoints(function(t){t.save()}),this.reflow(),this.render()},reflow:function(){n.extend(this.scale,{width:this.chart.width,height:this.chart.height,size:n.min([this.chart.width,this.chart.height]),xCenter:this.chart.width/2,yCenter:this.chart.height/2}),this.updateScaleRange(this.datasets),this.scale.setScaleSize(),this.scale.buildYLabels()},draw:function(t){var e=t||1,i=this.chart.ctx;this.clear(),this.scale.draw(),n.each(this.datasets,function(t){n.each(t.points,function(t,n){t.hasValue()&&t.transition(this.scale.getPointPosition(n,this.scale.calculateCenterOffset(t.value)),e)},this),i.lineWidth=this.options.datasetStrokeWidth,i.strokeStyle=t.strokeColor,i.beginPath(),n.each(t.points,function(t,e){0===e?i.moveTo(t.x,t.y):i.lineTo(t.x,t.y)},this),i.closePath(),i.stroke(),i.fillStyle=t.fillColor,i.fill(),n.each(t.points,function(t){t.hasValue()&&t.draw()})},this)}})}.call(this),function(t,e,n){!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):jQuery&&!jQuery.fn.sparkline&&t(jQuery)}(function(i){"use strict";var r,a,s,o,l,u,d,c,h,p,f,m,_,g,y,v,M,w,L,b,k,Y,T,x,D,S,C,H,j,A,P,E,W={},F=0;r=function(){return{common:{type:"line",lineColor:"#00f",fillColor:"#cdf",defaultPixelsPerValue:3,width:"auto",height:"auto",composite:!1,tagValuesAttribute:"values",tagOptionsPrefix:"spark",enableTagOptions:!1,enableHighlight:!0,highlightLighten:1.4,tooltipSkipNull:!0,tooltipPrefix:"",tooltipSuffix:"",disableHiddenCheck:!1,numberFormatter:!1,numberDigitGroupCount:3,numberDigitGroupSep:",",numberDecimalMark:".",disableTooltips:!1,disableInteraction:!1},line:{spotColor:"#f80",highlightSpotColor:"#5f5",highlightLineColor:"#f22",spotRadius:1.5,minSpotColor:"#f80",maxSpotColor:"#f80",lineWidth:1,normalRangeMin:n,normalRangeMax:n,normalRangeColor:"#ccc",drawNormalOnTop:!1,chartRangeMin:n,chartRangeMax:n,chartRangeMinX:n,chartRangeMaxX:n,tooltipFormat:new s('<span style="color: {{color}}">&#9679;</span> {{prefix}}{{y}}{{suffix}}')},bar:{barColor:"#3366cc",negBarColor:"#f44",stackedBarColor:["#3366cc","#dc3912","#ff9900","#109618","#66aa00","#dd4477","#0099c6","#990099"],zeroColor:n,nullColor:n,zeroAxis:!0,barWidth:4,barSpacing:1,chartRangeMax:n,chartRangeMin:n,chartRangeClip:!1,
colorMap:n,tooltipFormat:new s('<span style="color: {{color}}">&#9679;</span> {{prefix}}{{value}}{{suffix}}')},tristate:{barWidth:4,barSpacing:1,posBarColor:"#6f6",negBarColor:"#f44",zeroBarColor:"#999",colorMap:{},tooltipFormat:new s('<span style="color: {{color}}">&#9679;</span> {{value:map}}'),tooltipValueLookups:{map:{"-1":"Loss",0:"Draw",1:"Win"}}},discrete:{lineHeight:"auto",thresholdColor:n,thresholdValue:0,chartRangeMax:n,chartRangeMin:n,chartRangeClip:!1,tooltipFormat:new 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}}">&#9679;</span> {{value}} ({{percent.1}}%)')},box:{raw:!1,boxLineColor:"#000",boxFillColor:"#cdf",whiskerColor:"#000",outlierLineColor:"#333",outlierFillColor:"#fff",medianColor:"#f00",showOutliers:!0,outlierIQR:1.5,spotRadius:1.5,target:n,targetColor:"#4a2",chartRangeMax:n,chartRangeMin:n,tooltipFormat:new 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"}}}}},S='.jqstooltip { position: absolute;left: 0px;top: 0px;visibility: hidden;background: rgb(0, 0, 0) transparent;background-color: rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";color: white;font: 10px arial, san serif;text-align: left;white-space: nowrap;padding: 5px;border: 1px solid white;box-sizing: content-box;z-index: 10000;}.jqsfield { color: white;font: 10px arial, san serif;text-align: left;}',a=function(){var t,e;return t=function(){this.init.apply(this,arguments)},arguments.length>1?(arguments[0]?(t.prototype=i.extend(new arguments[0],arguments[arguments.length-1]),t._super=arguments[0].prototype):t.prototype=arguments[arguments.length-1],arguments.length>2&&(e=Array.prototype.slice.call(arguments,1,-1),e.unshift(t.prototype),i.extend.apply(i,e))):t.prototype=arguments[0],t.prototype.cls=t,t},i.SPFormatClass=s=a({fre:/\{\{([\w.]+?)(:(.+?))?\}\}/g,precre:/(\w+)\.(\d+)/,init:function(t,e){this.format=t,this.fclass=e},render:function(t,e,i){var r,a,s,o,l,u=this,d=t;return this.format.replace(this.fre,function(){var t;return a=arguments[1],s=arguments[3],r=u.precre.exec(a),r?(l=r[2],a=r[1]):l=!1,o=d[a],o===n?"":s&&e&&e[s]?(t=e[s],t.get?e[s].get(o)||o:e[s][o]||o):(h(o)&&(o=i.get("numberFormatter")?i.get("numberFormatter")(o):g(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])},u=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},d=function(t){var e,n=[];for(e=t.length;e--;)n[e]=u(t[e]);return n},c=function(t,e){var n,i,r=[];for(n=0,i=t.length;i>n;n++)t[n]!==e&&r.push(t[n]);return r},h=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},g=function(t,e,n,r,a){var 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]=a),o=s-n;o>0;o-=n)t.splice(o,0,r);return t.join("")},p=function(t,e,n){var i;for(i=e.length;i--;)if((!n||null!==e[i])&&e[i]!==t)return!1;return!0},f=function(t){var e,n=0;for(e=t.length;e--;)n+="number"==typeof t[e]?t[e]:0;return n},_=function(t){return i.isArray(t)?t:[t]},m=function(e){var n,i;if(t.createStyleSheet)try{return void(t.createStyleSheet().cssText=e)}catch(r){i=!0}n=t.createElement("style"),n.type="text/css",t.getElementsByTagName("head")[0].appendChild(n),i?t.styleSheets[t.styleSheets.length-1].cssText=e:n["string"==typeof t.body.style.WebkitAppearance?"innerText":"innerHTML"]=e},i.fn.simpledraw=function(e,r,a,s){var o,l;if(a&&(o=this.data("_jqs_vcanvas")))return o;if(i.fn.sparkline.canvas===!1)return!1;if(i.fn.sparkline.canvas===n){var u=t.createElement("canvas");if(u.getContext&&u.getContext("2d"))i.fn.sparkline.canvas=function(t,e,n,i){return new A(t,e,n,i)};else{if(!t.namespaces||t.namespaces.v)return i.fn.sparkline.canvas=!1,!1;t.namespaces.add("v","urn:schemas-microsoft-com:vml","#default#VML"),i.fn.sparkline.canvas=function(t,e,n,i){return new P(t,e,n)}}}return e===n&&(e=i(this).innerWidth()),r===n&&(r=i(this).innerHeight()),o=i.fn.sparkline.canvas(e,r,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=a({init:function(t){var e,n,i=[];for(e in t)t.hasOwnProperty(e)&&"string"==typeof e&&e.indexOf(":")>-1&&(n=e.split(":"),n[0]=0===n[0].length?-(1/0):parseFloat(n[0]),n[1]=0===n[1].length?1/0:parseFloat(n[1]),n[2]=t[e],i.push(n));this.map=t,this.rangelist=i||!1},get:function(t){var e,i,r,a=this.rangelist;if((r=this.map[t])!==n)return r;if(a)for(e=a.length;e--;)if(i=a[e],i[0]<=t&&i[1]>=t)return i[2];return n}}),i.range_map=function(t){return new y(t)},v=a({init:function(t,e){var n=i(t);this.$el=n,this.options=e,this.currentPageX=0,this.currentPageY=0,this.el=t,this.splist=[],this.tooltip=null,this.over=!1,this.displayTooltips=!e.get("disableTooltips"),this.highlightEnabled=!e.get("disableHighlight")},registerSparkline:function(t){this.splist.push(t),this.over&&this.updateDisplay()},registerCanvas:function(t){var e=i(t.canvas);this.canvas=t,this.$canvas=e,e.mouseenter(i.proxy(this.mouseenter,this)),e.mouseleave(i.proxy(this.mouseleave,this)),e.click(i.proxy(this.mouseclick,this))},reset:function(t){this.splist=[],this.tooltip&&t&&(this.tooltip.remove(),this.tooltip=n)},mouseclick:function(t){var e=i.Event("sparklineClick");e.originalEvent=t,e.sparklines=this.splist,this.$el.trigger(e)},mouseenter:function(e){i(t.body).unbind("mousemove.jqs"),i(t.body).bind("mousemove.jqs",i.proxy(this.mousemove,this)),this.over=!0,this.currentPageX=e.pageX,this.currentPageY=e.pageY,this.currentEl=e.target,!this.tooltip&&this.displayTooltips&&(this.tooltip=new M(this.options),this.tooltip.updatePosition(e.pageX,e.pageY)),this.updateDisplay()},mouseleave:function(){i(t.body).unbind("mousemove.jqs");var e,n,r=this.splist,a=r.length,s=!1;for(this.over=!1,this.currentEl=null,this.tooltip&&(this.tooltip.remove(),this.tooltip=null),n=0;a>n;n++)e=r[n],e.clearRegionHighlight()&&(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,r,a,s=this.splist,o=s.length,l=!1,u=this.$canvas.offset(),d=this.currentPageX-u.left,c=this.currentPageY-u.top;if(this.over){for(n=0;o>n;n++)e=s[n],r=e.setRegionHighlight(this.currentEl,d,c),r&&(l=!0);if(l){if(a=i.Event("sparklineRegionChange"),a.sparklines=this.splist,this.$el.trigger(a),this.tooltip){for(t="",n=0;o>n;n++)e=s[n],t+=e.getCurrentRegionTooltip();this.tooltip.setContent(t)}this.disableHighlight||this.canvas.render()}null===r&&this.mouseleave()}}}),M=a({sizeStyle:"position: static !important;display: block !important;visibility: hidden !important;float: left !important;",init:function(e){var n,r=e.get("tooltipClassname","jqstooltip"),a=this.sizeStyle;this.container=e.get("tooltipContainer")||t.body,this.tooltipOffsetX=e.get("tooltipOffsetX",10),this.tooltipOffsetY=e.get("tooltipOffsetY",12),i("#jqssizetip").remove(),i("#jqstooltip").remove(),this.sizetip=i("<div/>",{id:"jqssizetip",style:a,"class":r}),this.tooltip=i("<div/>",{id:"jqstooltip","class":r}).appendTo(this.container),n=this.tooltip.offset(),this.offsetLeft=n.left,this.offsetTop=n.top,this.hidden=!0,i(window).unbind("resize.jqs scroll.jqs"),i(window).bind("resize.jqs scroll.jqs",i.proxy(this.updateWindowDims,this)),this.updateWindowDims()},updateWindowDims:function(){this.scrollTop=i(window).scrollTop(),this.scrollLeft=i(window).scrollLeft(),this.scrollRight=this.scrollLeft+i(window).width(),this.updatePosition()},getSize:function(t){this.sizetip.html(t).appendTo(this.container),this.width=this.sizetip.width()+1,this.height=this.sizetip.height(),this.sizetip.remove()},setContent:function(t){return t?(this.getSize(t),this.tooltip.html(t).css({width:this.width,height:this.height,visibility:"visible"}),void(this.hidden&&(this.hidden=!1,this.updatePosition()))):(this.tooltip.css("visibility","hidden"),void(this.hidden=!0))},updatePosition:function(t,e){if(t===n){if(this.mousex===n)return;t=this.mousex-this.offsetLeft,e=this.mousey-this.offsetTop}else this.mousex=t-=this.offsetLeft,this.mousey=e-=this.offsetTop;this.height&&this.width&&!this.hidden&&(e-=this.height+this.tooltipOffsetY,t+=this.tooltipOffsetX,e<this.scrollTop&&(e=this.scrollTop),t<this.scrollLeft?t=this.scrollLeft:t+this.width>this.scrollRight&&(t=this.scrollRight-this.width),this.tooltip.css({left:t,top:e}))},remove:function(){this.tooltip.remove(),this.sizetip.remove(),this.sizetip=this.tooltip=n,i(window).unbind("resize.jqs scroll.jqs")}}),C=function(){m(S)},i(C),E=[],i.fn.sparkline=function(e,r){return this.each(function(){var a,s,o=new i.fn.sparkline.options(this,r),l=i(this);if(a=function(){var r,a,s,u,d,c,h;return"html"===e||e===n?(h=this.getAttribute(o.get("tagValuesAttribute")),h!==n&&null!==h||(h=l.html()),r=h.replace(/(^\s*<!--)|(-->\s*$)|\s+/g,"").split(",")):r=e,a="auto"===o.get("width")?r.length*o.get("defaultPixelsPerValue"):o.get("width"),"auto"===o.get("height")?o.get("composite")&&i.data(this,"_jqs_vcanvas")||(u=t.createElement("span"),u.innerHTML="a",l.html(u),s=i(u).innerHeight()||i(u).height(),i(u).remove(),u=null):s=o.get("height"),o.get("disableInteraction")?d=!1:(d=i.data(this,"_jqs_mhandler"),d?o.get("composite")||d.reset():(d=new v(this,o),i.data(this,"_jqs_mhandler",d))),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))):(c=new(i.fn.sparkline[o.get("type")])(this,r,o,a,s),c.render(),void(d&&d.registerSparkline(c)))},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=E.length;s;s--)E[s-1][0]==this&&E.splice(s-1,1);E.push([this,a]),i.data(this,"_jqs_pending",!0)}else a.call(this)})},i.fn.sparkline.defaults=r(),i.sparkline_display_visible=function(){var t,e,n,r=[];for(e=0,n=E.length;n>e;e++)t=E[e][0],i(t).is(":visible")&&!i(t).parents().is(":hidden")?(E[e][1].call(t),i.data(E[e][0],"_jqs_pending",!1),r.push(e)):i(t).closest("html").length||i.data(t,"_jqs_pending")||(i.data(E[e][0],"_jqs_pending",!1),r.push(e));for(e=r.length;e;e--)E.splice(r[e-1],1)},i.fn.sparkline.options=a({init:function(t,e){var n,r,a,s;this.userOptions=e=e||{},this.tag=t,this.tagValCache={},r=i.fn.sparkline.defaults,a=r.common,this.tagOptionsPrefix=e.enableTagOptions&&(e.tagOptionsPrefix||a.tagOptionsPrefix),s=this.getTagSetting("type"),n=s===W?r[e.type||a.type]:r[s],this.mergedOptions=i.extend({},a,n,e)},getTagSetting:function(t){var e,i,r,a,s=this.tagOptionsPrefix;if(s===!1||s===n)return W;if(this.tagValCache.hasOwnProperty(t))e=this.tagValCache.key;else{if(e=this.tag.getAttribute(s+t),e===n||null===e)e=W;else if("["===e.substr(0,1))for(e=e.substr(1,e.length-2).split(","),i=e.length;i--;)e[i]=u(e[i].replace(/(^\s*)|(\s*$)/g,""));else if("{"===e.substr(0,1))for(r=e.substr(1,e.length-2).split(","),e={},i=r.length;i--;)a=r[i].split(":",2),e[a[0].replace(/(^\s*)|(\s*$)/g,"")]=u(a[1].replace(/(^\s*)|(\s*$)/g,""));else e=u(e);this.tagValCache.key=e}return e},get:function(t,e){var i,r=this.getTagSetting(t);return r!==W?r:(i=this.mergedOptions[t])===n?e:i}}),i.fn.sparkline._base=a({disabled:!1,init:function(t,e,r,a,s){this.el=t,this.$el=i(t),this.values=e,this.options=r,this.width=a,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 r,a=this.currentRegion,s=!this.options.get("disableHighlight");return e>this.canvasWidth||i>this.canvasHeight||0>e||0>i?null:(r=this.getRegion(t,e,i),a!==r?(a!==n&&s&&this.removeHighlight(),this.currentRegion=r,r!==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,r,a,o,l,u,d,c,h,p,f,m,_,g=this.options,y="",v=[];if(this.currentRegion===n)return"";if(t=this.getCurrentRegionFields(),p=g.get("tooltipFormatter"))return p(this,g,t);if(g.get("tooltipChartTitle")&&(y+='<div class="jqs jqstitle">'+g.get("tooltipChartTitle")+"</div>\n"),e=this.options.get("tooltipFormat"),!e)return"";if(i.isArray(e)||(e=[e]),i.isArray(t)||(t=[t]),u=this.options.get("tooltipFormatFieldlist"),d=this.options.get("tooltipFormatFieldlistKey"),u&&d){for(c=[],l=t.length;l--;)h=t[l][d],-1!=(_=i.inArray(h,u))&&(c[_]=t[l]);t=c}for(r=e.length,m=t.length,l=0;r>l;l++)for(f=e[l],"string"==typeof f&&(f=new s(f)),a=f.fclass||"jqsfield",_=0;m>_;_++)t[_].isNull&&g.get("tooltipSkipNull")||(i.extend(t[_],{prefix:g.get("tooltipPrefix"),suffix:g.get("tooltipSuffix")}),o=f.render(t[_],g.get("tooltipValueLookups"),g),v.push('<div class="'+a+'">'+o+"</div>"));return v.length?y+v.join("\n"):""},getCurrentRegionFields:function(){},calcHighlightColor:function(t,n){var i,r,a,s,l=n.get("highlightColor"),u=n.get("highlightLighten");if(l)return l;if(u&&(i=/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i.exec(t)||/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(t))){for(a=[],r=4===t.length?16:1,s=0;3>s;s++)a[s]=o(e.round(parseInt(i[s+1],16)*r*u),0,255);return"rgb("+a.join(",")+")"}return t}}),w={changeHighlight:function(t){var e,n=this.currentRegion,r=this.target,a=this.regionShapes[n];a&&(e=this.renderRegion(n,t),i.isArray(e)||i.isArray(a)?(r.replaceWithShapes(a,e),this.regionShapes[n]=i.map(e,function(t){return t.id})):(r.replaceWithShape(a,e),this.regionShapes[n]=e.id))},render:function(){var t,e,n,r,a=this.values,s=this.target,o=this.regionShapes;if(this.cls._super.render.call(this)){for(n=a.length;n--;)if(t=this.renderRegion(n))if(i.isArray(t)){for(e=[],r=t.length;r--;)t[r].append(),e.push(t[r].id);o[n]=e}else t.append(),o[n]=t.id;else o[n]=null;s.render()}}},i.fn.sparkline.line=L=a(i.fn.sparkline._base,{type:"line",init:function(t,e,n,i,r){L._super.init.call(this,t,e,n,i,r),this.vertices=[],this.regionMap=[],this.xvalues=[],this.yvalues=[],this.yminmax=[],this.hightlightSpotId=null,this.lastShapeId=null,this.initTarget()},getRegion:function(t,e,i){var r,a=this.regionMap;for(r=a.length;r--;)if(null!==a[r]&&e>=a[r][0]&&e<=a[r][1])return a[r][2];return n},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:null===this.yvalues[t],x:this.xvalues[t],y:this.yvalues[t],color:this.options.get("lineColor"),fillColor:this.options.get("fillColor"),offset:t}},renderHighlight:function(){var t,e,i=this.currentRegion,r=this.target,a=this.vertices[i],s=this.options,o=s.get("spotRadius"),l=s.get("highlightSpotColor"),u=s.get("highlightLineColor");a&&(o&&l&&(t=r.drawCircle(a[0],a[1],o,n,l),this.highlightSpotId=t.id,r.insertAfterShape(this.lastShapeId,t)),u&&(e=r.drawLine(a[0],this.canvasTop,a[0],this.canvasTop+this.canvasHeight,u),this.highlightLineId=e.id,r.insertAfterShape(this.lastShapeId,e)))},removeHighlight:function(){var t=this.target;this.highlightSpotId&&(t.removeShapeId(this.highlightSpotId),this.highlightSpotId=null),this.highlightLineId&&(t.removeShapeId(this.highlightLineId),this.highlightLineId=null)},scanValues:function(){var t,n,i,r,a,s=this.values,o=s.length,l=this.xvalues,u=this.yvalues,d=this.yminmax;for(t=0;o>t;t++)n=s[t],i="string"==typeof s[t],r="object"==typeof s[t]&&s[t]instanceof Array,a=i&&s[t].split(":"),i&&2===a.length?(l.push(Number(a[0])),u.push(Number(a[1])),d.push(Number(a[1]))):r?(l.push(n[0]),u.push(n[1]),d.push(n[1])):(l.push(t),null===s[t]||"null"===s[t]?u.push(null):(u.push(Number(n)),d.push(Number(n))));this.options.get("xvalues")&&(l=this.options.get("xvalues")),this.maxy=this.maxyorg=e.max.apply(e,d),this.miny=this.minyorg=e.min.apply(e,d),this.maxx=e.max.apply(e,l),this.minx=e.min.apply(e,l),this.xvalues=l,this.yvalues=u,this.yminmax=d},processRangeOptions:function(){var t=this.options,e=t.get("normalRangeMin"),i=t.get("normalRangeMax");e!==n&&(e<this.miny&&(this.miny=e),i>this.maxy&&(this.maxy=i)),t.get("chartRangeMin")!==n&&(t.get("chartRangeClip")||t.get("chartRangeMin")<this.miny)&&(this.miny=t.get("chartRangeMin")),t.get("chartRangeMax")!==n&&(t.get("chartRangeClip")||t.get("chartRangeMax")>this.maxy)&&(this.maxy=t.get("chartRangeMax")),t.get("chartRangeMinX")!==n&&(t.get("chartRangeClipX")||t.get("chartRangeMinX")<this.minx)&&(this.minx=t.get("chartRangeMinX")),t.get("chartRangeMaxX")!==n&&(t.get("chartRangeClipX")||t.get("chartRangeMaxX")>this.maxx)&&(this.maxx=t.get("chartRangeMaxX"))},drawNormalRange:function(t,i,r,a,s){var o=this.options.get("normalRangeMin"),l=this.options.get("normalRangeMax"),u=i+e.round(r-r*((l-this.miny)/s)),d=e.round(r*(l-o)/s);this.target.drawRect(t,u,a,d,n,this.options.get("normalRangeColor")).append()},render:function(){var t,r,a,s,o,l,u,d,c,h,p,f,m,_,g,v,M,w,b,k,Y,T,x,D,S,C=this.options,H=this.target,j=this.canvasWidth,A=this.canvasHeight,P=this.vertices,E=C.get("spotRadius"),W=this.regionMap;if(L._super.render.call(this)&&(this.scanValues(),this.processRangeOptions(),x=this.xvalues,D=this.yvalues,this.yminmax.length&&!(this.yvalues.length<2))){for(s=o=0,t=this.maxx-this.minx===0?1:this.maxx-this.minx,r=this.maxy-this.miny===0?1:this.maxy-this.miny,a=this.yvalues.length-1,E&&(4*E>j||4*E>A)&&(E=0),E&&(Y=C.get("highlightSpotColor")&&!C.get("disableInteraction"),(Y||C.get("minSpotColor")||C.get("spotColor")&&D[a]===this.miny)&&(A-=e.ceil(E)),(Y||C.get("maxSpotColor")||C.get("spotColor")&&D[a]===this.maxy)&&(A-=e.ceil(E),s+=e.ceil(E)),(Y||(C.get("minSpotColor")||C.get("maxSpotColor"))&&(D[0]===this.miny||D[0]===this.maxy))&&(o+=e.ceil(E),j-=e.ceil(E)),(Y||C.get("spotColor")||C.get("minSpotColor")||C.get("maxSpotColor")&&(D[a]===this.miny||D[a]===this.maxy))&&(j-=e.ceil(E))),A--,C.get("normalRangeMin")===n||C.get("drawNormalOnTop")||this.drawNormalRange(o,s,A,j,r),u=[],d=[u],_=g=null,v=D.length,S=0;v>S;S++)c=x[S],p=x[S+1],h=D[S],f=o+e.round((c-this.minx)*(j/t)),m=v-1>S?o+e.round((p-this.minx)*(j/t)):j,g=f+(m-f)/2,W[S]=[_||0,g,S],_=g,null===h?S&&(null!==D[S-1]&&(u=[],d.push(u)),P.push(null)):(h<this.miny&&(h=this.miny),h>this.maxy&&(h=this.maxy),u.length||u.push([f,s+A]),l=[f,s+e.round(A-A*((h-this.miny)/r))],u.push(l),P.push(l));for(M=[],w=[],b=d.length,S=0;b>S;S++)u=d[S],u.length&&(C.get("fillColor")&&(u.push([u[u.length-1][0],s+A]),w.push(u.slice(0)),u.pop()),u.length>2&&(u[0]=[u[0][0],u[1][1]]),M.push(u));for(b=w.length,S=0;b>S;S++)H.drawShape(w[S],C.get("fillColor"),C.get("fillColor")).append();for(C.get("normalRangeMin")!==n&&C.get("drawNormalOnTop")&&this.drawNormalRange(o,s,A,j,r),b=M.length,S=0;b>S;S++)H.drawShape(M[S],C.get("lineColor"),n,C.get("lineWidth")).append();if(E&&C.get("valueSpots"))for(k=C.get("valueSpots"),k.get===n&&(k=new y(k)),S=0;v>S;S++)T=k.get(D[S]),T&&H.drawCircle(o+e.round((x[S]-this.minx)*(j/t)),s+e.round(A-A*((D[S]-this.miny)/r)),E,n,T).append();E&&C.get("spotColor")&&null!==D[a]&&H.drawCircle(o+e.round((x[x.length-1]-this.minx)*(j/t)),s+e.round(A-A*((D[a]-this.miny)/r)),E,n,C.get("spotColor")).append(),this.maxy!==this.minyorg&&(E&&C.get("minSpotColor")&&(c=x[i.inArray(this.minyorg,D)],H.drawCircle(o+e.round((c-this.minx)*(j/t)),s+e.round(A-A*((this.minyorg-this.miny)/r)),E,n,C.get("minSpotColor")).append()),E&&C.get("maxSpotColor")&&(c=x[i.inArray(this.maxyorg,D)],H.drawCircle(o+e.round((c-this.minx)*(j/t)),s+e.round(A-A*((this.maxyorg-this.miny)/r)),E,n,C.get("maxSpotColor")).append())),this.lastShapeId=H.getLastShapeId(),this.canvasTop=s,H.render()}}}),i.fn.sparkline.bar=b=a(i.fn.sparkline._base,w,{type:"bar",init:function(t,r,a,s,l){var h,p,f,m,_,g,v,M,w,L,k,Y,T,x,D,S,C,H,j,A,P,E,W=parseInt(a.get("barWidth"),10),F=parseInt(a.get("barSpacing"),10),O=a.get("chartRangeMin"),R=a.get("chartRangeMax"),I=a.get("chartRangeClip"),N=1/0,$=-(1/0);for(b._super.init.call(this,t,r,a,s,l),g=0,v=r.length;v>g;g++)A=r[g],h="string"==typeof A&&A.indexOf(":")>-1,(h||i.isArray(A))&&(D=!0,h&&(A=r[g]=d(A.split(":"))),A=c(A,null),p=e.min.apply(e,A),f=e.max.apply(e,A),N>p&&(N=p),f>$&&($=f));this.stacked=D,this.regionShapes={},this.barWidth=W,this.barSpacing=F,this.totalBarWidth=W+F,this.width=s=r.length*W+(r.length-1)*F,this.initTarget(),I&&(T=O===n?-(1/0):O,x=R===n?1/0:R),_=[],m=D?[]:_;var z=[],B=[];for(g=0,v=r.length;v>g;g++)if(D)for(S=r[g],r[g]=j=[],z[g]=0,m[g]=B[g]=0,C=0,H=S.length;H>C;C++)A=j[C]=I?o(S[C],T,x):S[C],null!==A&&(A>0&&(z[g]+=A),0>N&&$>0?0>A?B[g]+=e.abs(A):m[g]+=A:m[g]+=e.abs(A-(0>A?$:N)),_.push(A));else A=I?o(r[g],T,x):r[g],A=r[g]=u(A),null!==A&&_.push(A);this.max=Y=e.max.apply(e,_),this.min=k=e.min.apply(e,_),this.stackMax=$=D?e.max.apply(e,z):Y,this.stackMin=N=D?e.min.apply(e,_):k,a.get("chartRangeMin")!==n&&(a.get("chartRangeClip")||a.get("chartRangeMin")<k)&&(k=a.get("chartRangeMin")),a.get("chartRangeMax")!==n&&(a.get("chartRangeClip")||a.get("chartRangeMax")>Y)&&(Y=a.get("chartRangeMax")),this.zeroAxis=w=a.get("zeroAxis",!0),L=0>=k&&Y>=0&&w?0:0==w?k:k>0?k:Y,this.xaxisOffset=L,M=D?e.max.apply(e,m)+e.max.apply(e,B):Y-k,this.canvasHeightEf=w&&0>k?this.canvasHeight-2:this.canvasHeight-1,L>k?(E=D&&Y>=0?$:Y,P=(E-L)/M*this.canvasHeight,P!==e.ceil(P)&&(this.canvasHeightEf-=2,P=e.ceil(P))):P=this.canvasHeight,this.yoffset=P,i.isArray(a.get("colorMap"))?(this.colorMapByIndex=a.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=a.get("colorMap"),this.colorMapByValue&&this.colorMapByValue.get===n&&(this.colorMapByValue=new y(this.colorMapByValue))),this.range=M},getRegion:function(t,i,r){var a=e.floor(i/this.totalBarWidth);return 0>a||a>=this.values.length?n:a},getCurrentRegionFields:function(){var t,e,n=this.currentRegion,i=_(this.values[n]),r=[];for(e=i.length;e--;)t=i[e],r.push({isNull:null===t,value:t,color:this.calcColor(e,t,n),offset:n});return r},calcColor:function(t,e,r){var a,s,o=this.colorMapByIndex,l=this.colorMapByValue,u=this.options;return a=this.stacked?u.get("stackedBarColor"):0>e?u.get("negBarColor"):u.get("barColor"),0===e&&u.get("zeroColor")!==n&&(a=u.get("zeroColor")),l&&(s=l.get(e))?a=s:o&&o.length>r&&(a=o[r]),i.isArray(a)?a[t%a.length]:a},renderRegion:function(t,r){var a,s,o,l,u,d,c,h,f,m,_=this.values[t],g=this.options,y=this.xaxisOffset,v=[],M=this.range,w=this.stacked,L=this.target,b=t*this.totalBarWidth,k=this.canvasHeightEf,Y=this.yoffset;if(_=i.isArray(_)?_:[_],c=_.length,h=_[0],l=p(null,_),m=p(y,_,!0),l)return g.get("nullColor")?(o=r?g.get("nullColor"):this.calcHighlightColor(g.get("nullColor"),g),a=Y>0?Y-1:Y,L.drawRect(b,a,this.barWidth-1,0,o,o)):n;for(u=Y,d=0;c>d;d++){if(h=_[d],w&&h===y){if(!m||f)continue;f=!0}s=M>0?e.floor(k*(e.abs(h-y)/M))+1:1,y>h||h===y&&0===Y?(a=u,u+=s):(a=Y-s,Y-=s),o=this.calcColor(d,h,t),r&&(o=this.calcHighlightColor(o,g)),v.push(L.drawRect(b,a,this.barWidth-1,s-1,o,o))}return 1===v.length?v[0]:v}}),i.fn.sparkline.tristate=k=a(i.fn.sparkline._base,w,{type:"tristate",init:function(t,e,r,a,s){var o=parseInt(r.get("barWidth"),10),l=parseInt(r.get("barSpacing"),10);k._super.init.call(this,t,e,r,a,s),this.regionShapes={},this.barWidth=o,this.barSpacing=l,this.totalBarWidth=o+l,this.values=i.map(e,Number),this.width=a=e.length*o+(e.length-1)*l,i.isArray(r.get("colorMap"))?(this.colorMapByIndex=r.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=r.get("colorMap"),this.colorMapByValue&&this.colorMapByValue.get===n&&(this.colorMapByValue=new y(this.colorMapByValue))),this.initTarget()},getRegion:function(t,n,i){return e.floor(n/this.totalBarWidth)},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:this.values[t]===n,value:this.values[t],color:this.calcColor(this.values[t],t),offset:t}},calcColor:function(t,e){var n,i,r=this.values,a=this.options,s=this.colorMapByIndex,o=this.colorMapByValue;return n=o&&(i=o.get(t))?i:s&&s.length>e?s[e]:r[e]<0?a.get("negBarColor"):r[e]>0?a.get("posBarColor"):a.get("zeroBarColor")},renderRegion:function(t,n){var i,r,a,s,o,l,u=this.values,d=this.options,c=this.target;return i=c.pixelHeight,a=e.round(i/2),s=t*this.totalBarWidth,u[t]<0?(o=a,r=a-1):u[t]>0?(o=0,r=a-1):(o=a-1,r=2),l=this.calcColor(u[t],t),null!==l?(n&&(l=this.calcHighlightColor(l,d)),c.drawRect(s,o,this.barWidth-1,r-1,l,l)):void 0}}),i.fn.sparkline.discrete=Y=a(i.fn.sparkline._base,w,{type:"discrete",init:function(t,r,a,s,o){Y._super.init.call(this,t,r,a,s,o),this.regionShapes={},this.values=r=i.map(r,Number),this.min=e.min.apply(e,r),this.max=e.max.apply(e,r),this.range=this.max-this.min,this.width=s="auto"===a.get("width")?2*r.length:this.width,this.interval=e.floor(s/r.length),this.itemWidth=s/r.length,a.get("chartRangeMin")!==n&&(a.get("chartRangeClip")||a.get("chartRangeMin")<this.min)&&(this.min=a.get("chartRangeMin")),a.get("chartRangeMax")!==n&&(a.get("chartRangeClip")||a.get("chartRangeMax")>this.max)&&(this.max=a.get("chartRangeMax")),this.initTarget(),this.target&&(this.lineHeight="auto"===a.get("lineHeight")?e.round(.3*this.canvasHeight):a.get("lineHeight"))},getRegion:function(t,n,i){return e.floor(n/this.itemWidth)},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:this.values[t]===n,value:this.values[t],offset:t}},renderRegion:function(t,n){var i,r,a,s,l=this.values,u=this.options,d=this.min,c=this.max,h=this.range,p=this.interval,f=this.target,m=this.canvasHeight,_=this.lineHeight,g=m-_;return r=o(l[t],d,c),s=t*p,i=e.round(g-g*((r-d)/h)),a=u.get("thresholdColor")&&r<u.get("thresholdValue")?u.get("thresholdColor"):u.get("lineColor"),n&&(a=this.calcHighlightColor(a,u)),f.drawLine(s,i,s,i+_,a)}}),i.fn.sparkline.bullet=T=a(i.fn.sparkline._base,{type:"bullet",init:function(t,i,r,a,s){var o,l,u;T._super.init.call(this,t,i,r,a,s),this.values=i=d(i),u=i.slice(),u[0]=null===u[0]?u[2]:u[0],u[1]=null===i[1]?u[2]:u[1],o=e.min.apply(e,i),l=e.max.apply(e,i),o=r.get("base")===n?0>o?o:0:r.get("base"),this.min=o,this.max=l,this.range=l-o,this.shapes={},this.valueShapes={},this.regiondata={},this.width=a="auto"===r.get("width")?"4.0em":a,this.target=this.$el.simpledraw(a,s,r.get("composite")),i.length||(this.disabled=!0),this.initTarget()},getRegion:function(t,e,i){var r=this.target.getShapeAt(t,e,i);return r!==n&&this.shapes[r]!==n?this.shapes[r]:n},getCurrentRegionFields:function(){var t=this.currentRegion;return{fieldkey:t.substr(0,1),value:this.values[t.substr(1)],region:t}},changeHighlight:function(t){var e,n=this.currentRegion,i=this.valueShapes[n];switch(delete this.shapes[i],n.substr(0,1)){case"r":e=this.renderRange(n.substr(1),t);break;case"p":e=this.renderPerformance(t);break;case"t":e=this.renderTarget(t)}this.valueShapes[n]=e.id,this.shapes[e.id]=n,this.target.replaceWithShape(i,e)},renderRange:function(t,n){var i=this.values[t],r=e.round(this.canvasWidth*((i-this.min)/this.range)),a=this.options.get("rangeColors")[t-2];return n&&(a=this.calcHighlightColor(a,this.options)),this.target.drawRect(0,0,r-1,this.canvasHeight-1,a,a)},renderPerformance:function(t){var n=this.values[1],i=e.round(this.canvasWidth*((n-this.min)/this.range)),r=this.options.get("performanceColor");return t&&(r=this.calcHighlightColor(r,this.options)),this.target.drawRect(0,e.round(.3*this.canvasHeight),i-1,e.round(.4*this.canvasHeight)-1,r,r)},renderTarget:function(t){var n=this.values[0],i=e.round(this.canvasWidth*((n-this.min)/this.range)-this.options.get("targetWidth")/2),r=e.round(.1*this.canvasHeight),a=this.canvasHeight-2*r,s=this.options.get("targetColor");return t&&(s=this.calcHighlightColor(s,this.options)),this.target.drawRect(i,r,this.options.get("targetWidth")-1,a-1,s,s)},render:function(){var t,e,n=this.values.length,i=this.target;if(T._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=x=a(i.fn.sparkline._base,{type:"pie",init:function(t,n,r,a,s){var o,l=0;if(x._super.init.call(this,t,n,r,a,s),this.shapes={},this.valueShapes={},this.values=n=i.map(n,Number),"auto"===r.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 r=this.target.getShapeAt(t,e,i);return r!==n&&this.shapes[r]!==n?this.shapes[r]:n},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:this.values[t]===n,value:this.values[t],percent:this.values[t]/this.total*100,color:this.options.get("sliceColors")[t%this.options.get("sliceColors").length],offset:t}},changeHighlight:function(t){var e=this.currentRegion,n=this.renderSlice(e,t),i=this.valueShapes[e];delete this.shapes[i],this.target.replaceWithShape(i,n),this.valueShapes[e]=n.id,this.shapes[n.id]=e},renderSlice:function(t,i){var r,a,s,o,l,u=this.target,d=this.options,c=this.radius,h=d.get("borderWidth"),p=d.get("offset"),f=2*e.PI,m=this.values,_=this.total,g=p?2*e.PI*(p/360):0;for(o=m.length,s=0;o>s;s++){if(r=g,a=g,_>0&&(a=g+f*(m[s]/_)),t===s)return l=d.get("sliceColors")[s%d.get("sliceColors").length],i&&(l=this.calcHighlightColor(l,d)),u.drawPieSlice(c,c,c-h,r,a,n,l);g=a}},render:function(){var t,i,r=this.target,a=this.values,s=this.options,o=this.radius,l=s.get("borderWidth");if(x._super.render.call(this)){for(l&&r.drawCircle(o,o,e.floor(o-l/2),s.get("borderColor"),n,l).append(),i=a.length;i--;)a[i]&&(t=this.renderSlice(i).append(),this.valueShapes[i]=t.id,this.shapes[t.id]=i);r.render()}}}),i.fn.sparkline.box=D=a(i.fn.sparkline._base,{type:"box",init:function(t,e,n,r,a){D._super.init.call(this,t,e,n,r,a),this.values=i.map(e,Number),this.width="auto"===n.get("width")?"4.0em":r,this.initTarget(),this.values.length||(this.disabled=1)},getRegion:function(){return 1},getCurrentRegionFields:function(){var t=[{field:"lq",value:this.quartiles[0]},{field:"med",value:this.quartiles[1]},{field:"uq",value:this.quartiles[2]}];return this.loutlier!==n&&t.push({field:"lo",value:this.loutlier}),this.routlier!==n&&t.push({field:"ro",value:this.routlier}),this.lwhisker!==n&&t.push({field:"lw",value:this.lwhisker}),this.rwhisker!==n&&t.push({field:"rw",value:this.rwhisker}),t},render:function(){var t,i,r,a,s,o,u,d,c,h,p,f=this.target,m=this.values,_=m.length,g=this.options,y=this.canvasWidth,v=this.canvasHeight,M=g.get("chartRangeMin")===n?e.min.apply(e,m):g.get("chartRangeMin"),w=g.get("chartRangeMax")===n?e.max.apply(e,m):g.get("chartRangeMax"),L=0;
if(D._super.render.call(this)){if(g.get("raw"))g.get("showOutliers")&&m.length>5?(i=m[0],t=m[1],a=m[2],s=m[3],o=m[4],u=m[5],d=m[6]):(t=m[0],a=m[1],s=m[2],o=m[3],u=m[4]);else if(m.sort(function(t,e){return t-e}),a=l(m,1),s=l(m,2),o=l(m,3),r=o-a,g.get("showOutliers")){for(t=u=n,c=0;_>c;c++)t===n&&m[c]>a-r*g.get("outlierIQR")&&(t=m[c]),m[c]<o+r*g.get("outlierIQR")&&(u=m[c]);i=m[0],d=m[_-1]}else t=m[0],u=m[_-1];this.quartiles=[a,s,o],this.lwhisker=t,this.rwhisker=u,this.loutlier=i,this.routlier=d,p=y/(w-M+1),g.get("showOutliers")&&(L=e.ceil(g.get("spotRadius")),y-=2*e.ceil(g.get("spotRadius")),p=y/(w-M+1),t>i&&f.drawCircle((i-M)*p+L,v/2,g.get("spotRadius"),g.get("outlierLineColor"),g.get("outlierFillColor")).append(),d>u&&f.drawCircle((d-M)*p+L,v/2,g.get("spotRadius"),g.get("outlierLineColor"),g.get("outlierFillColor")).append()),f.drawRect(e.round((a-M)*p+L),e.round(.1*v),e.round((o-a)*p),e.round(.8*v),g.get("boxLineColor"),g.get("boxFillColor")).append(),f.drawLine(e.round((t-M)*p+L),e.round(v/2),e.round((a-M)*p+L),e.round(v/2),g.get("lineColor")).append(),f.drawLine(e.round((t-M)*p+L),e.round(v/4),e.round((t-M)*p+L),e.round(v-v/4),g.get("whiskerColor")).append(),f.drawLine(e.round((u-M)*p+L),e.round(v/2),e.round((o-M)*p+L),e.round(v/2),g.get("lineColor")).append(),f.drawLine(e.round((u-M)*p+L),e.round(v/4),e.round((u-M)*p+L),e.round(v-v/4),g.get("whiskerColor")).append(),f.drawLine(e.round((s-M)*p+L),e.round(.1*v),e.round((s-M)*p+L),e.round(.9*v),g.get("medianColor")).append(),g.get("target")&&(h=e.ceil(g.get("spotRadius")),f.drawLine(e.round((g.get("target")-M)*p+L),e.round(v/2-h),e.round((g.get("target")-M)*p+L),e.round(v/2+h),g.get("targetColor")).append(),f.drawLine(e.round((g.get("target")-M)*p+L-h),e.round(v/2),e.round((g.get("target")-M)*p+L+h),e.round(v/2),g.get("targetColor")).append()),f.render()}}}),H=a({init:function(t,e,n,i){this.target=t,this.id=e,this.type=n,this.args=i},append:function(){return this.target.appendShape(this),this}}),j=a({_pxregex:/(\d+)(px)?\s*$/i,init:function(t,e,n){t&&(this.width=t,this.height=e,this.target=n,this.lastShapeId=null,n[0]&&(n=n[0]),i.data(n,"_jqs_vcanvas",this))},drawLine:function(t,e,n,i,r,a){return this.drawShape([[t,e],[n,i]],r,a)},drawShape:function(t,e,n,i){return this._genShape("Shape",[t,e,n,i])},drawCircle:function(t,e,n,i,r,a){return this._genShape("Circle",[t,e,n,i,r,a])},drawPieSlice:function(t,e,n,i,r,a,s){return this._genShape("PieSlice",[t,e,n,i,r,a,s])},drawRect:function(t,e,n,i,r,a){return this._genShape("Rect",[t,e,n,i,r,a])},getElement:function(){return this.canvas},getLastShapeId:function(){return this.lastShapeId},reset:function(){alert("reset not implemented")},_insert:function(t,e){i(e).html(t)},_calculatePixelDims:function(t,e,n){var r;r=this._pxregex.exec(e),r?this.pixelHeight=r[1]:this.pixelHeight=i(n).height(),r=this._pxregex.exec(t),r?this.pixelWidth=r[1]:this.pixelWidth=i(n).width()},_genShape:function(t,e){var n=F++;return e.unshift(n),new H(this,n,t,e)},appendShape:function(t){alert("appendShape not implemented")},replaceWithShape:function(t,e){alert("replaceWithShape not implemented")},insertAfterShape:function(t,e){alert("insertAfterShape not implemented")},removeShapeId:function(t){alert("removeShapeId not implemented")},getShapeAt:function(t,e,n){alert("getShapeAt not implemented")},render:function(){alert("render not implemented")}}),A=a(j,{init:function(e,r,a,s){A._super.init.call(this,e,r,a),this.canvas=t.createElement("canvas"),a[0]&&(a=a[0]),i.data(a,"_jqs_vcanvas",this),i(this.canvas).css({display:"inline-block",width:e,height:r,verticalAlign:"top"}),this._insert(this.canvas,a),this._calculatePixelDims(e,r,this.canvas),this.canvas.width=this.pixelWidth,this.canvas.height=this.pixelHeight,this.interact=s,this.shapes={},this.shapeseq=[],this.currentTargetShapeId=n,i(this.canvas).css({width:this.pixelWidth,height:this.pixelHeight})},_getContext:function(t,e,i){var r=this.canvas.getContext("2d");return t!==n&&(r.strokeStyle=t),r.lineWidth=i===n?1:i,e!==n&&(r.fillStyle=e),r},reset:function(){var t=this._getContext();t.clearRect(0,0,this.pixelWidth,this.pixelHeight),this.shapes={},this.shapeseq=[],this.currentTargetShapeId=n},_drawShape:function(t,e,i,r,a){var s,o,l=this._getContext(i,r,a);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(),r!==n&&l.fill(),this.targetX!==n&&this.targetY!==n&&l.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=t)},_drawCircle:function(t,i,r,a,s,o,l){var u=this._getContext(s,o,l);u.beginPath(),u.arc(i,r,a,0,2*e.PI,!1),this.targetX!==n&&this.targetY!==n&&u.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=t),s!==n&&u.stroke(),o!==n&&u.fill()},_drawPieSlice:function(t,e,i,r,a,s,o,l){var u=this._getContext(o,l);u.beginPath(),u.moveTo(e,i),u.arc(e,i,r,a,s,!1),u.lineTo(e,i),u.closePath(),o!==n&&u.stroke(),l&&u.fill(),this.targetX!==n&&this.targetY!==n&&u.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=t)},_drawRect:function(t,e,n,i,r,a,s){return this._drawShape(t,[[e,n],[e+i,n],[e+i,n+r],[e,n+r],[e,n]],a,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,r,a=this.shapeseq,s={};for(i=t.length;i--;)s[t[i]]=!0;for(i=a.length;i--;)n=a[i],s[n]&&(a.splice(i,1),delete this.shapes[n],r=i);for(i=e.length;i--;)a.splice(r,0,e[i].id),this.shapes[e[i].id]=e[i]},insertAfterShape:function(t,e){var n,i=this.shapeseq;for(n=i.length;n--;)if(i[n]===t)return i.splice(n+1,0,e.id),void(this.shapes[e.id]=e)},removeShapeId:function(t){var e,n=this.shapeseq;for(e=n.length;e--;)if(n[e]===t){n.splice(e,1);break}delete this.shapes[t]},getShapeAt:function(t,e,n){return this.targetX=e,this.targetY=n,this.render(),this.currentTargetShapeId},render:function(){var t,e,n,i=this.shapeseq,r=this.shapes,a=i.length,s=this._getContext();for(s.clearRect(0,0,this.pixelWidth,this.pixelHeight),n=0;a>n;n++)t=i[n],e=r[t],this["_draw"+e.type].apply(this,e.args);this.interact||(this.shapes={},this.shapeseq=[])}}),P=a(j,{init:function(e,n,r){var a;P._super.init.call(this,e,n,r),r[0]&&(r=r[0]),i.data(r,"_jqs_vcanvas",this),this.canvas=t.createElement("span"),i(this.canvas).css({display:"inline-block",position:"relative",overflow:"hidden",width:e,height:n,margin:"0px",padding:"0px",verticalAlign:"top"}),this._insert(this.canvas,r),this._calculatePixelDims(e,n,this.canvas),this.canvas.width=this.pixelWidth,this.canvas.height=this.pixelHeight,a='<v:group coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" style="position:absolute;top:0;left:0;width:'+this.pixelWidth+"px;height="+this.pixelHeight+'px;"></v:group>',this.canvas.insertAdjacentHTML("beforeEnd",a),this.group=i(this.canvas).children()[0],this.rendered=!1,this.prerender=""},_drawShape:function(t,e,i,r,a){var s,o,l,u,d,c,h,p=[];for(h=0,c=e.length;c>h;h++)p[h]=""+e[h][0]+","+e[h][1];return s=p.splice(0,1),a=a===n?1:a,o=i===n?' stroked="false" ':' strokeWeight="'+a+'px" strokeColor="'+i+'" ',l=r===n?' filled="false"':' fillColor="'+r+'" filled="true" ',u=p[0]===p[p.length-1]?"x ":"",d='<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 "+p.join(", ")+" "+u+'e"> </v:shape>'},_drawCircle:function(t,e,i,r,a,s,o){var l,u,d;return e-=r,i-=r,l=a===n?' stroked="false" ':' strokeWeight="'+o+'px" strokeColor="'+a+'" ',u=s===n?' filled="false"':' fillColor="'+s+'" filled="true" ',d='<v:oval id="jqsshape'+t+'" '+l+u+' style="position:absolute;top:'+i+"px; left:"+e+"px; width:"+2*r+"px; height:"+2*r+'px"></v:oval>'},_drawPieSlice:function(t,i,r,a,s,o,l,u){var d,c,h,p,f,m,_,g;if(s===o)return"";if(o-s===2*e.PI&&(s=0,o=2*e.PI),c=i+e.round(e.cos(s)*a),h=r+e.round(e.sin(s)*a),p=i+e.round(e.cos(o)*a),f=r+e.round(e.sin(o)*a),c===p&&h===f){if(o-s<e.PI)return"";c=p=i+a,h=f=r}return c===p&&h===f&&o-s<e.PI?"":(d=[i-a,r-a,i+a,r+a,c,h,p,f],m=l===n?' stroked="false" ':' strokeWeight="1px" strokeColor="'+l+'" ',_=u===n?' filled="false"':' fillColor="'+u+'" filled="true" ',g='<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" id="jqsshape'+t+'" '+m+_+' style="position:absolute;left:0px;top:0px;height:'+this.pixelHeight+"px;width:"+this.pixelWidth+'px;padding:0px;margin:0px;" path="m '+i+","+r+" wa "+d.join(", ")+' x e"> </v:shape>')},_drawRect:function(t,e,n,i,r,a,s){return this._drawShape(t,[[e,n],[e,n+r],[e+i,n+r],[e+i,n],[e,n]],a,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),r=this["_draw"+e.type].apply(this,e.args);n[0].outerHTML=r},replaceWithShapes:function(t,e){var n,r=i("#jqsshape"+t[0]),a="",s=e.length;for(n=0;s>n;n++)a+=this["_draw"+e[n].type].apply(this,e[n].args);for(r[0].outerHTML=a,n=1;n<t.length;n++)i("#jqsshape"+t[n]).remove()},insertAfterShape:function(t,e){var n=i("#jqsshape"+t),r=this["_draw"+e.type].apply(this,e.args);n[0].insertAdjacentHTML("afterEnd",r)},removeShapeId:function(t){var e=i("#jqsshape"+t);this.group.removeChild(e[0])},getShapeAt:function(t,e,n){var i=t.id.substr(8);return i},render:function(){this.rendered||(this.group.innerHTML=this.prerender,this.rendered=!0)}})})}(document,Math),!function(t,e,n){"use strict";!function i(t,e,n){function r(s,o){if(!e[s]){if(!t[s]){var l="function"==typeof require&&require;if(!o&&l)return l(s,!0);if(a)return a(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var d=e[s]={exports:{}};t[s][0].call(d.exports,function(e){var n=t[s][1][e];return r(n?n:e)},d,d.exports,i,t,e,n)}return e[s].exports}for(var a="function"==typeof require&&require,s=0;s<n.length;s++)r(n[s]);return r}({1:[function(i,r,a){var s=function(t){return t&&t.__esModule?t:{"default":t}};Object.defineProperty(a,"__esModule",{value:!0});var o,l,u,d,c=i("./modules/handle-dom"),h=i("./modules/utils"),p=i("./modules/handle-swal-dom"),f=i("./modules/handle-click"),m=i("./modules/handle-key"),_=s(m),g=i("./modules/default-params"),y=s(g),v=i("./modules/set-params"),M=s(v);a["default"]=u=d=function(){function i(t){var e=r;return e[t]===n?y["default"][t]:e[t]}var r=arguments[0];if(c.addClass(e.body,"stop-scrolling"),p.resetInput(),r===n)return h.logStr("SweetAlert expects at least 1 attribute!"),!1;var a=h.extend({},y["default"]);switch(typeof r){case"string":a.title=r,a.text=arguments[1]||"",a.type=arguments[2]||"";break;case"object":if(r.title===n)return h.logStr('Missing "title" argument!'),!1;a.title=r.title;for(var s in y["default"])a[s]=i(s);a.confirmButtonText=a.showCancelButton?"Confirm":y["default"].confirmButtonText,a.confirmButtonText=i("confirmButtonText"),a.doneFunction=arguments[1]||null;break;default:return h.logStr('Unexpected type of argument! Expected "string" or "object", got '+typeof r),!1}M["default"](a),p.fixVerticalPosition(),p.openModal(arguments[1]);for(var u=p.getModal(),m=u.querySelectorAll("button"),g=["onclick","onmouseover","onmouseout","onmousedown","onmouseup","onfocus"],v=function(t){return f.handleButton(t,a,u)},w=0;w<m.length;w++)for(var L=0;L<g.length;L++){var b=g[L];m[w][b]=v}p.getOverlay().onclick=v,o=t.onkeydown;var k=function(t){return _["default"](t,a,u)};t.onkeydown=k,t.onfocus=function(){setTimeout(function(){l!==n&&(l.focus(),l=n)},0)},d.enableButtons()},u.setDefaults=d.setDefaults=function(t){if(!t)throw new Error("userParams is required");if("object"!=typeof t)throw new Error("userParams has to be a object");h.extend(y["default"],t)},u.close=d.close=function(){var i=p.getModal();c.fadeOut(p.getOverlay(),5),c.fadeOut(i,5),c.removeClass(i,"showSweetAlert"),c.addClass(i,"hideSweetAlert"),c.removeClass(i,"visible");var r=i.querySelector(".sa-icon.sa-success");c.removeClass(r,"animate"),c.removeClass(r.querySelector(".sa-tip"),"animateSuccessTip"),c.removeClass(r.querySelector(".sa-long"),"animateSuccessLong");var a=i.querySelector(".sa-icon.sa-error");c.removeClass(a,"animateErrorIcon"),c.removeClass(a.querySelector(".sa-x-mark"),"animateXMark");var s=i.querySelector(".sa-icon.sa-warning");return c.removeClass(s,"pulseWarning"),c.removeClass(s.querySelector(".sa-body"),"pulseWarningIns"),c.removeClass(s.querySelector(".sa-dot"),"pulseWarningIns"),setTimeout(function(){var t=i.getAttribute("data-custom-class");c.removeClass(i,t)},300),c.removeClass(e.body,"stop-scrolling"),t.onkeydown=o,t.previousActiveElement&&t.previousActiveElement.focus(),l=n,clearTimeout(i.timeout),!0},u.showInputError=d.showInputError=function(t){var e=p.getModal(),n=e.querySelector(".sa-input-error");c.addClass(n,"show");var i=e.querySelector(".sa-error-container");c.addClass(i,"show"),i.querySelector("p").innerHTML=t,setTimeout(function(){u.enableButtons()},1),e.querySelector("input").focus()},u.resetInputError=d.resetInputError=function(t){if(t&&13===t.keyCode)return!1;var e=p.getModal(),n=e.querySelector(".sa-input-error");c.removeClass(n,"show");var i=e.querySelector(".sa-error-container");c.removeClass(i,"show")},u.disableButtons=d.disableButtons=function(){var t=p.getModal(),e=t.querySelector("button.confirm"),n=t.querySelector("button.cancel");e.disabled=!0,n.disabled=!0},u.enableButtons=d.enableButtons=function(){var t=p.getModal(),e=t.querySelector("button.confirm"),n=t.querySelector("button.cancel");e.disabled=!1,n.disabled=!1},"undefined"!=typeof t?t.sweetAlert=t.swal=u:h.logStr("SweetAlert is a frontend module!"),r.exports=a["default"]},{"./modules/default-params":2,"./modules/handle-click":3,"./modules/handle-dom":4,"./modules/handle-key":5,"./modules/handle-swal-dom":6,"./modules/set-params":8,"./modules/utils":9}],2:[function(t,e,n){Object.defineProperty(n,"__esModule",{value:!0});var i={title:"",text:"",type:null,allowOutsideClick:!1,showConfirmButton:!0,showCancelButton:!1,closeOnConfirm:!0,closeOnCancel:!0,confirmButtonText:"OK",confirmButtonColor:"#8CD4F5",cancelButtonText:"Cancel",imageUrl:null,imageSize:null,timer:null,customClass:"",html:!1,animation:!0,allowEscapeKey:!0,inputType:"text",inputPlaceholder:"",inputValue:"",showLoaderOnConfirm:!1};n["default"]=i,e.exports=n["default"]},{}],3:[function(e,n,i){Object.defineProperty(i,"__esModule",{value:!0});var r=e("./utils"),a=(e("./handle-swal-dom"),e("./handle-dom")),s=function(e,n,i){function s(t){f&&n.confirmButtonColor&&(p.style.backgroundColor=t)}var u,d,c,h=e||t.event,p=h.target||h.srcElement,f=-1!==p.className.indexOf("confirm"),m=-1!==p.className.indexOf("sweet-overlay"),_=a.hasClass(i,"visible"),g=n.doneFunction&&"true"===i.getAttribute("data-has-done-function");switch(f&&n.confirmButtonColor&&(u=n.confirmButtonColor,d=r.colorLuminance(u,-.04),c=r.colorLuminance(u,-.14)),h.type){case"mouseover":s(d);break;case"mouseout":s(u);break;case"mousedown":s(c);break;case"mouseup":s(d);break;case"focus":var y=i.querySelector("button.confirm"),v=i.querySelector("button.cancel");f?v.style.boxShadow="none":y.style.boxShadow="none";break;case"click":var M=i===p,w=a.isDescendant(i,p);if(!M&&!w&&_&&!n.allowOutsideClick)break;f&&g&&_?o(i,n):g&&_||m?l(i,n):a.isDescendant(i,p)&&"BUTTON"===p.tagName&&sweetAlert.close()}},o=function(t,e){var n=!0;a.hasClass(t,"show-input")&&(n=t.querySelector("input").value,n||(n="")),e.doneFunction(n),e.closeOnConfirm&&sweetAlert.close(),e.showLoaderOnConfirm&&sweetAlert.disableButtons()},l=function(t,e){var n=String(e.doneFunction).replace(/\s/g,""),i="function("===n.substring(0,9)&&")"!==n.substring(9,10);i&&e.doneFunction(!1),e.closeOnCancel&&sweetAlert.close()};i["default"]={handleButton:s,handleConfirm:o,handleCancel:l},n.exports=i["default"]},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],4:[function(n,i,r){Object.defineProperty(r,"__esModule",{value:!0});var a=function(t,e){return new RegExp(" "+e+" ").test(" "+t.className+" ")},s=function(t,e){a(t,e)||(t.className+=" "+e)},o=function(t,e){var n=" "+t.className.replace(/[\t\r\n]/g," ")+" ";if(a(t,e)){for(;n.indexOf(" "+e+" ")>=0;)n=n.replace(" "+e+" "," ");t.className=n.replace(/^\s+|\s+$/g,"")}},l=function(t){var n=e.createElement("div");return n.appendChild(e.createTextNode(t)),n.innerHTML},u=function(t){t.style.opacity="",t.style.display="block"},d=function(t){if(t&&!t.length)return u(t);for(var e=0;e<t.length;++e)u(t[e])},c=function(t){t.style.opacity="",t.style.display="none"},h=function(t){if(t&&!t.length)return c(t);for(var e=0;e<t.length;++e)c(t[e])},p=function(t,e){for(var n=e.parentNode;null!==n;){if(n===t)return!0;n=n.parentNode}return!1},f=function(t){t.style.left="-9999px",t.style.display="block";var e,n=t.clientHeight;return e="undefined"!=typeof getComputedStyle?parseInt(getComputedStyle(t).getPropertyValue("padding-top"),10):parseInt(t.currentStyle.padding),t.style.left="",t.style.display="none","-"+parseInt((n+e)/2)+"px"},m=function(t,e){if(+t.style.opacity<1){e=e||16,t.style.opacity=0,t.style.display="block";var n=+new Date,i=function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){t.style.opacity=+t.style.opacity+(new Date-n)/100,n=+new Date,+t.style.opacity<1&&setTimeout(i,e)});i()}t.style.display="block"},_=function(t,e){e=e||16,t.style.opacity=1;var n=+new Date,i=function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){t.style.opacity=+t.style.opacity-(new Date-n)/100,n=+new Date,+t.style.opacity>0?setTimeout(i,e):t.style.display="none"});i()},g=function(n){if("function"==typeof MouseEvent){var i=new MouseEvent("click",{view:t,bubbles:!1,cancelable:!0});n.dispatchEvent(i)}else if(e.createEvent){var r=e.createEvent("MouseEvents");r.initEvent("click",!1,!1),n.dispatchEvent(r)}else e.createEventObject?n.fireEvent("onclick"):"function"==typeof n.onclick&&n.onclick()},y=function(e){"function"==typeof e.stopPropagation?(e.stopPropagation(),e.preventDefault()):t.event&&t.event.hasOwnProperty("cancelBubble")&&(t.event.cancelBubble=!0)};r.hasClass=a,r.addClass=s,r.removeClass=o,r.escapeHtml=l,r._show=u,r.show=d,r._hide=c,r.hide=h,r.isDescendant=p,r.getTopMargin=f,r.fadeIn=m,r.fadeOut=_,r.fireClick=g,r.stopEventPropagation=y},{}],5:[function(e,i,r){Object.defineProperty(r,"__esModule",{value:!0});var a=e("./handle-dom"),s=e("./handle-swal-dom"),o=function(e,i,r){var o=e||t.event,l=o.keyCode||o.which,u=r.querySelector("button.confirm"),d=r.querySelector("button.cancel"),c=r.querySelectorAll("button[tabindex]");if(-1!==[9,13,32,27].indexOf(l)){for(var h=o.target||o.srcElement,p=-1,f=0;f<c.length;f++)if(h===c[f]){p=f;break}9===l?(h=-1===p?u:p===c.length-1?c[0]:c[p+1],a.stopEventPropagation(o),h.focus(),i.confirmButtonColor&&s.setFocusStyle(h,i.confirmButtonColor)):13===l?("INPUT"===h.tagName&&(h=u,u.focus()),h=-1===p?u:n):27===l&&i.allowEscapeKey===!0?(h=d,a.fireClick(h,o)):h=n}};r["default"]=o,i.exports=r["default"]},{"./handle-dom":4,"./handle-swal-dom":6}],6:[function(n,i,r){var a=function(t){return t&&t.__esModule?t:{"default":t}};Object.defineProperty(r,"__esModule",{value:!0});var s=n("./utils"),o=n("./handle-dom"),l=n("./default-params"),u=a(l),d=n("./injected-html"),c=a(d),h=".sweet-alert",p=".sweet-overlay",f=function(){var t=e.createElement("div");for(t.innerHTML=c["default"];t.firstChild;)e.body.appendChild(t.firstChild)},m=function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){var t=e.querySelector(h);return t||(f(),t=m()),t}),_=function(){var t=m();return t?t.querySelector("input"):void 0},g=function(){return e.querySelector(p)},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(g(),10),o.show(i),o.addClass(i,"showSweetAlert"),o.removeClass(i,"hideSweetAlert"),t.previousActiveElement=e.activeElement;var r=i.querySelector("button.confirm");r.focus(),setTimeout(function(){o.addClass(i,"visible")},500);var a=i.getAttribute("data-timer");if("null"!==a&&""!==a){var s=n;i.timeout=setTimeout(function(){var t=(s||null)&&"true"===i.getAttribute("data-has-done-function");t?s(null):sweetAlert.close()},a)}},M=function(){var t=m(),e=_();o.removeClass(t,"show-input"),e.value=u["default"].inputValue,e.setAttribute("type",u["default"].inputType),e.setAttribute("placeholder",u["default"].inputPlaceholder),w()},w=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")},L=function(){var t=m();t.style.marginTop=o.getTopMargin(m())};r.sweetAlertInitialize=f,r.getModal=m,r.getOverlay=g,r.getInput=_,r.setFocusStyle=y,r.openModal=v,r.resetInput=M,r.resetInputError=w,r.fixVerticalPosition=L},{"./default-params":2,"./handle-dom":4,"./injected-html":7,"./utils":9}],7:[function(t,e,n){Object.defineProperty(n,"__esModule",{value:!0});var i='<div class="sweet-overlay" tabIndex="-1"></div><div class="sweet-alert"><div class="sa-icon sa-error">\n <span class="sa-x-mark">\n <span class="sa-line sa-left"></span>\n <span class="sa-line sa-right"></span>\n </span>\n </div><div class="sa-icon sa-warning">\n <span class="sa-body"></span>\n <span class="sa-dot"></span>\n </div><div class="sa-icon sa-info"></div><div class="sa-icon sa-success">\n <span class="sa-line sa-tip"></span>\n <span class="sa-line sa-long"></span>\n\n <div class="sa-placeholder"></div>\n <div class="sa-fix"></div>\n </div><div class="sa-icon sa-custom"></div><h2>Title</h2>\n <p>Text</p>\n <fieldset>\n <input type="text" tabIndex="3" />\n <div class="sa-input-error"></div>\n </fieldset><div class="sa-error-container">\n <div class="icon">!</div>\n <p>Not valid!</p>\n </div><div class="sa-button-container">\n <button class="cancel" tabIndex="2">Cancel</button>\n <div class="sa-confirm-button-container">\n <button class="confirm" tabIndex="1">OK</button><div class="la-ball-fall">\n <div></div>\n <div></div>\n <div></div>\n </div>\n </div>\n </div></div>';n["default"]=i,e.exports=n["default"]},{}],8:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0});var r=t("./utils"),a=t("./handle-swal-dom"),s=t("./handle-dom"),o=["error","warning","info","success","input","prompt"],l=function(t){var e=a.getModal(),i=e.querySelector("h2"),l=e.querySelector("p"),u=e.querySelector("button.cancel"),d=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 c=e.getAttribute("data-custom-class");s.removeClass(e,c),e.setAttribute("data-custom-class","")}if(s.hide(e.querySelectorAll(".sa-icon")),t.type&&!r.isIE8()){var h=function(){for(var i=!1,r=0;r<o.length;r++)if(t.type===o[r]){i=!0;break}if(!i)return logStr("Unknown alert type: "+t.type),{v:!1};var l=["success","error","warning","info"],u=n;-1!==l.indexOf(t.type)&&(u=e.querySelector(".sa-icon.sa-"+t.type),s.show(u));var d=a.getInput();switch(t.type){case"success":s.addClass(u,"animate"),s.addClass(u.querySelector(".sa-tip"),"animateSuccessTip"),s.addClass(u.querySelector(".sa-long"),"animateSuccessLong");break;case"error":s.addClass(u,"animateErrorIcon"),s.addClass(u.querySelector(".sa-x-mark"),"animateXMark");break;case"warning":s.addClass(u,"pulseWarning"),s.addClass(u.querySelector(".sa-body"),"pulseWarningIns"),s.addClass(u.querySelector(".sa-dot"),"pulseWarningIns");break;case"input":case"prompt":d.setAttribute("type",t.inputType),d.value=t.inputValue,d.setAttribute("placeholder",t.inputPlaceholder),s.addClass(e,"show-input"),setTimeout(function(){d.focus(),d.addEventListener("keyup",swal.resetInputError)},400)}}();if("object"==typeof h)return h.v}if(t.imageUrl){var p=e.querySelector(".sa-icon.sa-custom");p.style.backgroundImage="url("+t.imageUrl+")",s.show(p);var f=80,m=80;if(t.imageSize){var _=t.imageSize.toString().split("x"),g=_[0],y=_[1];g&&y?(f=g,m=y):logStr("Parameter imageSize expects value with format WIDTHxHEIGHT, got "+t.imageSize)}p.setAttribute("style",p.getAttribute("style")+"width:"+f+"px; height:"+m+"px")}e.setAttribute("data-has-cancel-button",t.showCancelButton),t.showCancelButton?u.style.display="inline-block":s.hide(u),e.setAttribute("data-has-confirm-button",t.showConfirmButton),t.showConfirmButton?d.style.display="inline-block":s.hide(d),t.cancelButtonText&&(u.innerHTML=s.escapeHtml(t.cancelButtonText)),t.confirmButtonText&&(d.innerHTML=s.escapeHtml(t.confirmButtonText)),t.confirmButtonColor&&(d.style.backgroundColor=t.confirmButtonColor,d.style.borderLeftColor=t.confirmLoadingButtonColor,d.style.borderRightColor=t.confirmLoadingButtonColor,a.setFocusStyle(d,t.confirmButtonColor)),e.setAttribute("data-allow-outside-click",t.allowOutsideClick);var v=!!t.doneFunction;e.setAttribute("data-has-done-function",v),t.animation?"string"==typeof t.animation?e.setAttribute("data-animation",t.animation):e.setAttribute("data-animation","pop"):e.setAttribute("data-animation","none"),e.setAttribute("data-timer",t.timer)};i["default"]=l,e.exports=i["default"]},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],9:[function(e,n,i){Object.defineProperty(i,"__esModule",{value:!0});var r=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},a=function(t){var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?parseInt(e[1],16)+", "+parseInt(e[2],16)+", "+parseInt(e[3],16):null},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,r="#";for(i=0;3>i;i++)n=parseInt(t.substr(2*i,2),16),n=Math.round(Math.min(Math.max(0,n+n*e),255)).toString(16),r+=("00"+n).substr(n.length);return r};i.extend=r,i.hexToRgb=a,i.isIE8=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"},r=t.extend(i,e);return t(".strengthify-wrapper").append('<div class="strengthify-bg" />').append('<div class="strengthify-container" />').append('<div class="strengthify-separator" style="left: 25%" />').append('<div class="strengthify-separator" style="left: 50%" />').append('<div class="strengthify-separator" style="left: 75%" />'),t.ajax({cache:!0,dataType:"script",url:r.zxcvbn}).done(function(){n.bind("keyup input",function(){var e=t(this).val(),n=""===e?0:1,i=zxcvbn(e),r="",a=t(".strengthify-container"),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:r="password-bad";break;case 2:r="password-medium";break;case 3:case 4:r="password-good"}a.attr("class",r+" strengthify-container").css("width",25*(0===i.score?1:i.score)+"%"),""===e&&a.css("width",0)})}),n}}(jQuery),$(function(){function t(t,e){$(".block-"+t).removeClass("show").addClass("hidden"),$(".block-"+e).removeClass("hidden").addClass("show"),$(".steps .step").removeClass("active").filter(":lt("+e+")").addClass("active")}$.ajaxPrefilter(function(t,e,n){var i;return t.crossDomain||(i=$('meta[name="token"]').attr("content"),i&&n.setRequestHeader("X-CSRF-Token",i)),n}),$.ajaxSetup({beforeSend:function(t){t.setRequestHeader("Accept","application/json")},statusCode:{401:function(){window.location.href="/"},403:function(){window.location.href="/"}}}),$("form").submit(function(){var t=$(this);t.find(":submit").prop("disabled",!0)}),autosize($("textarea.autosize")),$("[data-method]").not(".disabled").append(function(){var t="\n";return t+="<form action='"+$(this).attr("href")+"' method='POST' style='display:none'>\n",t+="<input type='hidden' name='_method' value='"+$(this).attr("data-method")+"'>\n",t+="<input type='hidden' name='_token' value='"+$("meta[name=token]").attr("content")+"'>\n",t+="</form>\n"}).removeAttr("href").on("click",function(){var t=$(this);t.hasClass("confirm-action")?askConfirmation(function(){t.find("form").submit()}):t.find("form").submit()}),Messenger.options={extraClasses:"messenger-fixed messenger-on-top",theme:"air"},window.Cachet={},moment.locale(Global.locale),$("abbr.timeago").each(function(){var t=$(this);t.livestamp(t.data("timeago")).tooltip()}),window.Cachet.Notifier=function(){this.notify=function(t,e,n){_.isPlainObject(t)&&(t=t.detail),e="undefined"==typeof e||"error"===e?"error":e;var i={message:t,type:e,showCloseButton:!0};n=_.extend(i,n),Messenger().post(n)}},$(".sidebar-toggler").click(function(t){t.preventDefault(),$(".wrapper").toggleClass("toggled")}),$(".color-code").minicolors({control:"hue",defaultValue:$(this).val()||"",inline:!1,letterCase:"lowercase",opacity:!1,position:"bottom left",theme:"bootstrap"}),$('[data-toggle="tooltip"]').tooltip(),$("button.close").on("click",function(){$(this).parents("div.alert").addClass("hide")}),$("form[name=IncidentForm] select[name=component_id]").on("change",function(){var t=$(this).find("option:selected"),e=$("#component-status");""!==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"),r=n.data("nextBlock");if(n.button("loading"),r>i){var a="/setup/step"+i;return $.post(a,e.serializeObject()).done(function(e){t(i,r)}).fail(function(t){var e=_.toArray(t.responseJSON.errors);_.each(e,function(t){(new Cachet.Notifier).notify(t)})}).always(function(){n.button("reset")}),!1}t(i,r),n.button("reset")}),$.fn.sparkline){var i=function(){$(".sparkline").each(function(){var t=$(this).data();t.valueSpots={"0:":t.spotColor},$(this).sparkline(t.data,t);var e=t.compositedata;if(e){var n=$(this).attr("data-stack-line-color"),i=$(this).attr("data-stack-fill-color"),r=$(this).attr("data-stack-spot-color"),a=$(this).attr("data-stack-spot-radius");$(this).sparkline(e,{composite:!0,lineColor:n,fillColor:i,spotColor:r,highlightSpotColor:r,spotRadius:a,valueSpots:{"0:":r}})}})};i(!1)}$(".password-strength").strengthify(),$("#update-alert").length>0&&$.ajax({async:!0,dataType:"json",url:"/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()})});