Files
cachet-docker/public/build/dist/js/all-08a6790e58.js
2015-11-22 19:16:35 +00:00

20 lines
521 KiB
JavaScript
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="length"in t&&t.length,n=Z.type(t);return"function"===n||Z.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t}function i(t,e,n){if(Z.isFunction(e))return Z.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return Z.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(ot.test(e))return Z.filter(e,t,n);e=Z.filter(e,t)}return Z.grep(t,function(t){return U.call(e,t)>=0!==n})}function r(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function s(t){var e=ft[t]={};return Z.each(t.match(pt)||[],function(t,n){e[n]=!0}),e}function a(){Q.removeEventListener("DOMContentLoaded",a,!1),t.removeEventListener("load",a,!1),Z.ready()}function o(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=Z.expando+o.uid++}function l(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Mt,"-$1").toLowerCase(),n=t.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:vt.test(n)?Z.parseJSON(n):n}catch(r){}yt.set(t,e,n)}else n=void 0;return n}function u(){return!0}function d(){return!1}function c(){try{return Q.activeElement}catch(t){}}function h(t,e){return Z.nodeName(t,"table")&&Z.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function p(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function f(t){var e=Wt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function m(t,e){for(var n=0,i=t.length;i>n;n++)gt.set(t[n],"globalEval",!e||gt.get(e[n],"globalEval"))}function _(t,e){var n,i,r,s,a,o,l,u;if(1===e.nodeType){if(gt.hasData(t)&&(s=gt.access(t),a=gt.set(e,s),u=s.events)){delete a.handle,a.events={};for(r in u)for(n=0,i=u[r].length;i>n;n++)Z.event.add(e,r,u[r][n])}yt.hasData(t)&&(o=yt.access(t),l=Z.extend({},o),yt.set(e,l))}}function g(t,e){var n=t.getElementsByTagName?t.getElementsByTagName(e||"*"):t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&Z.nodeName(t,e)?Z.merge([t],n):n}function y(t,e){var n=e.nodeName.toLowerCase();"input"===n&&kt.test(t.type)?e.checked=t.checked:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}function v(e,n){var i,r=Z(n.createElement(e)).appendTo(n.body),s=t.getDefaultComputedStyle&&(i=t.getDefaultComputedStyle(r[0]))?i.display:Z.css(r[0],"display");return r.detach(),s}function M(t){var e=Q,n=It[t];return n||(n=v(t,e),"none"!==n&&n||(Rt=(Rt||Z("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=Rt[0].contentDocument,e.write(),e.close(),n=v(t,e),Rt.detach()),It[t]=n),n}function w(t,e,n){var i,r,s,a,o=t.style;return n=n||zt(t),n&&(a=n.getPropertyValue(e)||n[e]),n&&(""!==a||Z.contains(t.ownerDocument,t)||(a=Z.style(t,e)),$t.test(a)&&Nt.test(e)&&(i=o.width,r=o.minWidth,s=o.maxWidth,o.minWidth=o.maxWidth=o.width=a,a=n.width,o.width=i,o.minWidth=r,o.maxWidth=s)),void 0!==a?a+"":a}function b(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function L(t,e){if(e in t)return e;for(var n=e[0].toUpperCase()+e.slice(1),i=e,r=Xt.length;r--;)if(e=Xt[r]+n,e in t)return e;return i}function k(t,e,n){var i=qt.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function Y(t,e,n,i,r){for(var s=n===(i?"border":"content")?4:"width"===e?1:0,a=0;4>s;s+=2)"margin"===n&&(a+=Z.css(t,n+bt[s],!0,r)),i?("content"===n&&(a-=Z.css(t,"padding"+bt[s],!0,r)),"margin"!==n&&(a-=Z.css(t,"border"+bt[s]+"Width",!0,r))):(a+=Z.css(t,"padding"+bt[s],!0,r),"padding"!==n&&(a+=Z.css(t,"border"+bt[s]+"Width",!0,r)));return a}function x(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,s=zt(t),a="border-box"===Z.css(t,"boxSizing",!1,s);if(0>=r||null==r){if(r=w(t,e,s),(0>r||null==r)&&(r=t.style[e]),$t.test(r))return r;i=a&&(G.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+Y(t,e,n||(a?"border":"content"),i,s)+"px"}function T(t,e){for(var n,i,r,s=[],a=0,o=t.length;o>a;a++)i=t[a],i.style&&(s[a]=gt.get(i,"olddisplay"),n=i.style.display,e?(s[a]||"none"!==n||(i.style.display=""),""===i.style.display&&Lt(i)&&(s[a]=gt.access(i,"olddisplay",M(i.nodeName)))):(r=Lt(i),"none"===n&&r||gt.set(i,"olddisplay",r?n:Z.css(i,"display"))));for(a=0;o>a;a++)i=t[a],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?s[a]||"":"none"));return t}function D(t,e,n,i,r){return new D.prototype.init(t,e,n,i,r)}function S(){return setTimeout(function(){Gt=void 0}),Gt=Z.now()}function C(t,e){var n,i=0,r={height:t};for(e=e?1:0;4>i;i+=2-e)n=bt[i],r["margin"+n]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function H(t,e,n){for(var i,r=(ne[e]||[]).concat(ne["*"]),s=0,a=r.length;a>s;s++)if(i=r[s].call(n,e,t))return i}function j(t,e,n){var i,r,s,a,o,l,u,d,c=this,h={},p=t.style,f=t.nodeType&&Lt(t),m=gt.get(t,"fxshow");n.queue||(o=Z._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--,Z.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=Z.css(t,"display"),d="none"===u?gt.get(t,"olddisplay")||M(t.nodeName):u,"inline"===d&&"none"===Z.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],Kt.exec(r)){if(delete e[i],s=s||"toggle"===r,r===(f?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;f=!0}h[i]=m&&m[i]||Z.style(t,i)}else u=void 0;if(Z.isEmptyObject(h))"inline"===("none"===u?M(t.nodeName):u)&&(p.display=u);else{m?"hidden"in m&&(f=m.hidden):m=gt.access(t,"fxshow",{}),s&&(m.hidden=!f),f?Z(t).show():c.done(function(){Z(t).hide()}),c.done(function(){var e;gt.remove(t,"fxshow");for(e in h)Z.style(t,e,h[e])});for(i in h)a=H(f?m[i]:0,i,c),i in m||(m[i]=a.start,f&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}}function A(t,e){var n,i,r,s,a;for(n in t)if(i=Z.camelCase(n),r=e[i],s=t[n],Z.isArray(s)&&(r=s[1],s=t[n]=s[0]),n!==i&&(t[i]=s,delete t[n]),a=Z.cssHooks[i],a&&"expand"in a){s=a.expand(s),delete t[i];for(n in s)n in t||(t[n]=s[n],e[n]=r)}else e[i]=r}function E(t,e,n){var i,r,s=0,a=ee.length,o=Z.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=Gt||S(),n=Math.max(0,u.startTime+u.duration-e),i=n/u.duration||0,s=1-i,a=0,l=u.tweens.length;l>a;a++)u.tweens[a].run(s);return o.notifyWith(t,[u,s,n]),1>s&&l?n:(o.resolveWith(t,[u]),!1)},u=o.promise({elem:t,props:Z.extend({},e),opts:Z.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:Gt||S(),duration:n.duration,tweens:[],createTween:function(e,n){var i=Z.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.resolveWith(t,[u,e]):o.rejectWith(t,[u,e]),this}}),d=u.props;for(A(d,u.opts.specialEasing);a>s;s++)if(i=ee[s].call(u,t,d,u.opts))return i;return Z.map(d,H,u),Z.isFunction(u.opts.start)&&u.opts.start.call(t,u),Z.fx.timer(Z.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 P(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,s=e.toLowerCase().match(pt)||[];if(Z.isFunction(n))for(;i=s[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function W(t,e,n,i){function r(o){var l;return s[o]=!0,Z.each(t[o]||[],function(t,o){var u=o(e,n,i);return"string"!=typeof u||a||s[u]?a?!(l=u):void 0:(e.dataTypes.unshift(u),r(u),!1)}),l}var s={},a=t===ve;return r(e.dataTypes[0])||!s["*"]&&r("*")}function F(t,e){var n,i,r=Z.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&Z.extend(!0,t,i),t}function O(t,e,n){for(var i,r,s,a,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)s=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){s=r;break}a||(a=r)}s=s||a}return s?(s!==l[0]&&l.unshift(s),n[s]):void 0}function R(t,e,n,i){var r,s,a,o,l,u={},d=t.dataTypes.slice();if(d[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(s=d.shift();s;)if(t.responseFields[s]&&(n[t.responseFields[s]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=s,s=d.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(a=u[l+" "+s]||u["* "+s],!a)for(r in u)if(o=r.split(" "),o[1]===s&&(a=u[l+" "+o[0]]||u["* "+o[0]])){a===!0?a=u[r]:u[r]!==!0&&(s=o[0],d.unshift(o[1]));break}if(a!==!0)if(a&&t["throws"])e=a(e);else try{e=a(e)}catch(c){return{state:"parsererror",error:a?c:"No conversion from "+l+" to "+s}}}return{state:"success",data:e}}function I(t,e,n,i){var r;if(Z.isArray(e))Z.each(e,function(e,r){n||ke.test(t)?i(t,r):I(t+"["+("object"==typeof r?e:"")+"]",r,n,i)});else if(n||"object"!==Z.type(e))i(t,e);else for(r in e)I(t+"["+r+"]",e[r],n,i)}function N(t){return Z.isWindow(t)?t:9===t.nodeType&&t.defaultView}var $=[],z=$.slice,B=$.concat,q=$.push,U=$.indexOf,V={},J=V.toString,X=V.hasOwnProperty,G={},Q=t.document,K="2.1.4",Z=function(t,e){return new Z.fn.init(t,e)},tt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,et=/^-ms-/,nt=/-([\da-z])/gi,it=function(t,e){return e.toUpperCase()};Z.fn=Z.prototype={jquery:K,constructor:Z,selector:"",length:0,toArray:function(){return z.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:z.call(this)},pushStack:function(t){var e=Z.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return Z.each(this,t,e)},map:function(t){return this.pushStack(Z.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(z.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(null)},push:q,sort:$.sort,splice:$.splice},Z.extend=Z.fn.extend=function(){var t,e,n,i,r,s,a=arguments[0]||{},o=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[o]||{},o++),"object"==typeof a||Z.isFunction(a)||(a={}),o===l&&(a=this,o--);l>o;o++)if(null!=(t=arguments[o]))for(e in t)n=a[e],i=t[e],a!==i&&(u&&i&&(Z.isPlainObject(i)||(r=Z.isArray(i)))?(r?(r=!1,s=n&&Z.isArray(n)?n:[]):s=n&&Z.isPlainObject(n)?n:{},a[e]=Z.extend(u,s,i)):void 0!==i&&(a[e]=i));return a},Z.extend({expando:"jQuery"+(K+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===Z.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){return!Z.isArray(t)&&t-parseFloat(t)+1>=0},isPlainObject:function(t){return"object"!==Z.type(t)||t.nodeType||Z.isWindow(t)?!1:t.constructor&&!X.call(t.constructor.prototype,"isPrototypeOf")?!1:!0},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?V[J.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;t=Z.trim(t),t&&(1===t.indexOf("use strict")?(e=Q.createElement("script"),e.text=t,Q.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){return t.replace(et,"ms-").replace(nt,it)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var r,s=0,a=t.length,o=n(t);if(i){if(o)for(;a>s&&(r=e.apply(t[s],i),r!==!1);s++);else for(s in t)if(r=e.apply(t[s],i),r===!1)break}else if(o)for(;a>s&&(r=e.call(t[s],s,t[s]),r!==!1);s++);else for(s in t)if(r=e.call(t[s],s,t[s]),r===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(tt,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?Z.merge(i,"string"==typeof t?[t]:t):q.call(i,t)),i},inArray:function(t,e,n){return null==e?-1:U.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=[],s=0,a=t.length,o=!n;a>s;s++)i=!e(t[s],s),i!==o&&r.push(t[s]);return r},map:function(t,e,i){var r,s=0,a=t.length,o=n(t),l=[];if(o)for(;a>s;s++)r=e(t[s],s,i),null!=r&&l.push(r);else for(s in t)r=e(t[s],s,i),null!=r&&l.push(r);return B.apply([],l)},guid:1,proxy:function(t,e){var n,i,r;return"string"==typeof e&&(n=t[e],e=t,t=n),Z.isFunction(t)?(i=z.call(arguments,2),r=function(){return t.apply(e||this,i.concat(z.call(arguments)))},r.guid=t.guid=t.guid||Z.guid++,r):void 0},now:Date.now,support:G}),Z.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){V["[object "+e+"]"]=e.toLowerCase()});var rt=function(t){function e(t,e,n,i){var r,s,a,o,l,u,c,p,f,m;if((e?e.ownerDocument||e:I)!==j&&H(e),e=e||j,n=n||[],o=e.nodeType,"string"!=typeof t||!t||1!==o&&9!==o&&11!==o)return n;if(!i&&E){if(11!==o&&(r=yt.exec(t)))if(a=r[1]){if(9===o){if(s=e.getElementById(a),!s||!s.parentNode)return n;if(s.id===a)return n.push(s),n}else if(e.ownerDocument&&(s=e.ownerDocument.getElementById(a))&&O(e,s)&&s.id===a)return n.push(s),n}else{if(r[2])return K.apply(n,e.getElementsByTagName(t)),n;if((a=r[3])&&w.getElementsByClassName)return K.apply(n,e.getElementsByClassName(a)),n}if(w.qsa&&(!P||!P.test(t))){if(p=c=R,f=e,m=1!==o&&t,1===o&&"object"!==e.nodeName.toLowerCase()){for(u=Y(t),(c=e.getAttribute("id"))?p=c.replace(Mt,"\\$&"):e.setAttribute("id",p),p="[id='"+p+"'] ",l=u.length;l--;)u[l]=p+h(u[l]);f=vt.test(t)&&d(e.parentNode)||e,m=u.join(",")}if(m)try{return K.apply(n,f.querySelectorAll(m)),n}catch(_){}finally{c||e.removeAttribute("id")}}}return T(t.replace(lt,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>b.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 s(t,e){for(var n=t.split("|"),i=t.length;i--;)b.attrHandle[n[i]]=e}function a(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||V)-(~t.sourceIndex||V);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,s=t([],n.length,e),a=s.length;a--;)n[r=s[a]]&&(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,s=$++;return e.first?function(e,n,s){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,s)}:function(e,n,a){var o,l,u=[N,s];if(a){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,a))return!0}else for(;e=e[i];)if(1===e.nodeType||r){if(l=e[R]||(e[R]={}),(o=l[i])&&o[0]===N&&o[1]===s)return u[2]=o[2];if(l[i]=u,u[2]=t(e,n,a))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,s=n.length;s>r;r++)e(t,n[r],i);return i}function _(t,e,n,i,r){for(var s,a=[],o=0,l=t.length,u=null!=e;l>o;o++)(s=t[o])&&(!n||n(s,i,r))&&(a.push(s),u&&e.push(o));return a}function g(t,e,n,r,s,a){return r&&!r[R]&&(r=g(r)),s&&!s[R]&&(s=g(s,a)),i(function(i,a,o,l){var u,d,c,h=[],p=[],f=a.length,g=i||m(e||"*",o.nodeType?[o]:o,[]),y=!t||!i&&e?g:_(g,h,t,o,l),v=n?s||(i?t:f||r)?[]:a: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(s||t){if(s){for(u=[],d=v.length;d--;)(c=v[d])&&u.push(y[d]=c);s(null,v=[],u,l)}for(d=v.length;d--;)(c=v[d])&&(u=s?tt(i,c):h[d])>-1&&(i[u]=!(a[u]=c))}}else v=_(v===a?v.splice(f,v.length):v),s?s(null,a,v,l):K.apply(a,v)})}function y(t){for(var e,n,i,r=t.length,s=b.relative[t[0].type],a=s||b.relative[" "],o=s?1:0,l=p(function(t){return t===e},a,!0),u=p(function(t){return tt(e,t)>-1},a,!0),d=[function(t,n,i){var r=!s&&(i||n!==D)||((e=n).nodeType?l(t,n,i):u(t,n,i));return e=null,r}];r>o;o++)if(n=b.relative[t[o].type])d=[p(f(d),n)];else{if(n=b.filter[t[o].type].apply(null,t[o].matches),n[R]){for(i=++o;r>i&&!b.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(lt,"$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,s=t.length>0,a=function(i,a,o,l,u){var d,c,h,p=0,f="0",m=i&&[],g=[],y=D,v=i||s&&b.find.TAG("*",u),M=N+=null==y?1:Math.random()||.1,w=v.length;for(u&&(D=a!==j&&a);f!==w&&null!=(d=v[f]);f++){if(s&&d){for(c=0;h=t[c++];)if(h(d,a,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,a,o);if(i){if(p>0)for(;f--;)m[f]||g[f]||(g[f]=G.call(l));g=_(g)}K.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(a):a}var M,w,b,L,k,Y,x,T,D,S,C,H,j,A,E,P,W,F,O,R="sizzle"+1*new Date,I=t.document,N=0,$=0,z=n(),B=n(),q=n(),U=function(t,e){return t===e&&(C=!0),0},V=1<<31,J={}.hasOwnProperty,X=[],G=X.pop,Q=X.push,K=X.push,Z=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=it.replace("w","w#"),st="\\["+nt+"*("+it+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+rt+"))|)"+nt+"*\\]",at=":("+it+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+st+")*)|.*)\\)|)",ot=new RegExp(nt+"+","g"),lt=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),ut=new RegExp("^"+nt+"*,"+nt+"*"),dt=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),ct=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),ht=new RegExp(at),pt=new RegExp("^"+rt+"$"),ft={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it.replace("w","w*")+")"),ATTR:new RegExp("^"+st),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")},mt=/^(?:input|select|textarea|button)$/i,_t=/^h\d$/i,gt=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,vt=/[+~]/,Mt=/'|\\/g,wt=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),bt=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{K.apply(X=Z.call(I.childNodes),I.childNodes),X[I.childNodes.length].nodeType}catch(kt){K={apply:X.length?function(t,e){Q.apply(t,Z.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=i.documentElement,n=i.defaultView,n&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",Lt,!1):n.attachEvent&&n.attachEvent("onunload",Lt)),E=!k(i),w.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),w.getElementsByTagName=r(function(t){return t.appendChild(i.createComment("")),!t.getElementsByTagName("*").length}),w.getElementsByClassName=gt.test(i.getElementsByClassName),w.getById=r(function(t){return A.appendChild(t).id=R,!i.getElementsByName||!i.getElementsByName(R).length}),w.getById?(b.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&E){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},b.filter.ID=function(t){var e=t.replace(wt,bt);return function(t){return t.getAttribute("id")===e}}):(delete b.find.ID,b.filter.ID=function(t){var e=t.replace(wt,bt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),b.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,s=e.getElementsByTagName(t);if("*"===t){for(;n=s[r++];)1===n.nodeType&&i.push(n);return i}return s},b.find.CLASS=w.getElementsByClassName&&function(t,e){return E?e.getElementsByClassName(t):void 0},W=[],P=[],(w.qsa=gt.test(i.querySelectorAll))&&(r(function(t){A.appendChild(t).innerHTML="<a id='"+R+"'></a><select id='"+R+"-\f]' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&P.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||P.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+R+"-]").length||P.push("~="),t.querySelectorAll(":checked").length||P.push(":checked"),t.querySelectorAll("a#"+R+"+*").length||P.push(".#.+[+~]")}),r(function(t){var e=i.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&P.push("name"+nt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||P.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),P.push(",.*:")})),(w.matchesSelector=gt.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)}),P=P.length&&new RegExp(P.join("|")),W=W.length&&new RegExp(W.join("|")),e=gt.test(A.compareDocumentPosition),O=e||gt.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},U=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===i||t.ownerDocument===I&&O(I,t)?-1:e===i||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,r=0,s=t.parentNode,o=e.parentNode,l=[t],u=[e];if(!s||!o)return t===i?-1:e===i?1:s?-1:o?1:S?tt(S,t)-tt(S,e):0;if(s===o)return a(t,e);for(n=t;n=n.parentNode;)l.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;l[r]===u[r];)r++;return r?a(l[r],u[r]):l[r]===I?-1:u[r]===I?1:0},i):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(ct,"='$1']"),!(!w.matchesSelector||!E||W&&W.test(n)||P&&P.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=b.attrHandle[e.toLowerCase()],i=n&&J.call(b.attrHandle,e.toLowerCase())?n(t,e,!E):void 0;return void 0!==i?i:w.attributes||!E?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(U),C){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return S=null,t},L=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+=L(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=L(e);return n},b=e.selectors={cacheLength:50,createPseudo:i,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(wt,bt),t[3]=(t[3]||t[4]||t[5]||"").replace(wt,bt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ht.test(n)&&(e=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(wt,bt).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 s=e.attr(r,t);return null==s?"!="===n:n?(s+="","="===n?s===i:"!="===n?s!==i:"^="===n?i&&0===s.indexOf(i):"*="===n?i&&s.indexOf(i)>-1:"$="===n?i&&s.slice(-i.length)===i:"~="===n?(" "+s.replace(ot," ")+" ").indexOf(i)>-1:"|="===n?s===i||s.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(t,e,n,i,r){var s="nth"!==t.slice(0,3),a="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=s!==a?"nextSibling":"previousSibling",_=e.parentNode,g=o&&e.nodeName.toLowerCase(),y=!l&&!o;if(_){if(s){for(;m;){for(c=e;c=c[m];)if(o?c.nodeName.toLowerCase()===g:1===c.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[a?_.firstChild:_.lastChild],a&&y){for(d=_[R]||(_[R]={}),u=d[t]||[],p=u[0]===N&&u[1],h=u[0]===N&&u[2],c=p&&_.childNodes[p];c=++p&&c&&c[m]||(h=p=0)||f.pop();)if(1===c.nodeType&&++h&&c===e){d[t]=[N,p,h];break}}else if(y&&(u=(e[R]||(e[R]={}))[t])&&u[0]===N)h=u[1];else for(;(c=++p&&c&&c[m]||(h=p=0)||f.pop())&&((o?c.nodeName.toLowerCase()!==g:1!==c.nodeType)||!++h||(y&&((c[R]||(c[R]={}))[t]=[N,h]),c!==e)););return h-=r,h===i||h%i===0&&h/i>=0}}},PSEUDO:function(t,n){var r,s=b.pseudos[t]||b.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return s[R]?s(n):s.length>1?(r=[t,t,"",n],b.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,r=s(t,n),a=r.length;a--;)i=tt(t,r[a]),t[i]=!(e[i]=r[a])}):function(t){return s(t,0,r)}):s}},pseudos:{not:i(function(t){var e=[],n=[],r=x(t.replace(lt,"$1"));return r[R]?i(function(t,e,n,i){for(var s,a=r(t,null,i,[]),o=t.length;o--;)(s=a[o])&&(t[o]=!(e[o]=s))}):function(t,i,s){return e[0]=t,r(e,null,s,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(wt,bt),function(e){return(e.textContent||e.innerText||L(e)).indexOf(t)>-1}}),lang:i(function(t){return pt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(wt,bt).toLowerCase(),function(e){var n;do if(n=E?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!b.pseudos.empty(t)},header:function(t){return _t.test(t.nodeName)},input:function(t){return mt.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})}},b.pseudos.nth=b.pseudos.eq;for(M in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[M]=o(M);for(M in{submit:!0,reset:!0})b.pseudos[M]=l(M);return c.prototype=b.filters=b.pseudos,b.setFilters=new c,Y=e.tokenize=function(t,n){var i,r,s,a,o,l,u,d=B[t+" "];if(d)return n?0:d.slice(0);for(o=t,l=[],u=b.preFilter;o;){(!i||(r=ut.exec(o)))&&(r&&(o=o.slice(r[0].length)||o),l.push(s=[])),i=!1,(r=dt.exec(o))&&(i=r.shift(),s.push({value:i,type:r[0].replace(lt," ")}),o=o.slice(i.length));for(a in b.filter)!(r=ft[a].exec(o))||u[a]&&!(r=u[a](r))||(i=r.shift(),s.push({value:i,type:a,matches:r}),o=o.slice(i.length));if(!i)break}return n?o.length:o?e.error(t):B(t,l).slice(0)},x=e.compile=function(t,e){var n,i=[],r=[],s=q[t+" "];if(!s){for(e||(e=Y(t)),n=e.length;n--;)s=y(e[n]),s[R]?i.push(s):r.push(s);s=q(t,v(r,i)),s.selector=t}return s},T=e.select=function(t,e,n,i){var r,s,a,o,l,u="function"==typeof t&&t,c=!i&&Y(t=u.selector||t);if(n=n||[],1===c.length){if(s=c[0]=c[0].slice(0),s.length>2&&"ID"===(a=s[0]).type&&w.getById&&9===e.nodeType&&E&&b.relative[s[1].type]){if(e=(b.find.ID(a.matches[0].replace(wt,bt),e)||[])[0],!e)return n;u&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(r=ft.needsContext.test(t)?0:s.length;r--&&(a=s[r],!b.relative[o=a.type]);)if((l=b.find[o])&&(i=l(a.matches[0].replace(wt,bt),vt.test(s[0].type)&&d(e.parentNode)||e))){if(s.splice(r,1),t=i.length&&h(s),!t)return K.apply(n,i),n;break}}return(u||x(t,c))(i,e,!E,n,vt.test(t)&&d(e.parentNode)||e),n},w.sortStable=R.split("").sort(U).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")})||s("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")})||s("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||s(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);Z.find=rt,Z.expr=rt.selectors,Z.expr[":"]=Z.expr.pseudos,Z.unique=rt.uniqueSort,Z.text=rt.getText,Z.isXMLDoc=rt.isXML,Z.contains=rt.contains;var st=Z.expr.match.needsContext,at=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ot=/^.[^:#\[\.,]*$/;Z.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),
1===e.length&&1===i.nodeType?Z.find.matchesSelector(i,t)?[i]:[]:Z.find.matches(t,Z.grep(e,function(t){return 1===t.nodeType}))},Z.fn.extend({find:function(t){var e,n=this.length,i=[],r=this;if("string"!=typeof t)return this.pushStack(Z(t).filter(function(){for(e=0;n>e;e++)if(Z.contains(r[e],this))return!0}));for(e=0;n>e;e++)Z.find(t,r[e],i);return i=this.pushStack(n>1?Z.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&&st.test(t)?Z(t):t||[],!1).length}});var lt,ut=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,dt=Z.fn.init=function(t,e){var n,i;if(!t)return this;if("string"==typeof t){if(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:ut.exec(t),!n||!n[1]&&e)return!e||e.jquery?(e||lt).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof Z?e[0]:e,Z.merge(this,Z.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:Q,!0)),at.test(n[1])&&Z.isPlainObject(e))for(n in e)Z.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return i=Q.getElementById(n[2]),i&&i.parentNode&&(this.length=1,this[0]=i),this.context=Q,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):Z.isFunction(t)?"undefined"!=typeof lt.ready?lt.ready(t):t(Z):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),Z.makeArray(t,this))};dt.prototype=Z.fn,lt=Z(Q);var ct=/^(?:parents|prev(?:Until|All))/,ht={children:!0,contents:!0,next:!0,prev:!0};Z.extend({dir:function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&Z(t).is(n))break;i.push(t)}return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),Z.fn.extend({has:function(t){var e=Z(t,this),n=e.length;return this.filter(function(){for(var t=0;n>t;t++)if(Z.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,i=0,r=this.length,s=[],a=st.test(t)||"string"!=typeof t?Z(t,e||this.context):0;r>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&Z.find.matchesSelector(n,t))){s.push(n);break}return this.pushStack(s.length>1?Z.unique(s):s)},index:function(t){return t?"string"==typeof t?U.call(Z(t),this[0]):U.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(Z.unique(Z.merge(this.get(),Z(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),Z.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Z.dir(t,"parentNode")},parentsUntil:function(t,e,n){return Z.dir(t,"parentNode",n)},next:function(t){return r(t,"nextSibling")},prev:function(t){return r(t,"previousSibling")},nextAll:function(t){return Z.dir(t,"nextSibling")},prevAll:function(t){return Z.dir(t,"previousSibling")},nextUntil:function(t,e,n){return Z.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return Z.dir(t,"previousSibling",n)},siblings:function(t){return Z.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return Z.sibling(t.firstChild)},contents:function(t){return t.contentDocument||Z.merge([],t.childNodes)}},function(t,e){Z.fn[t]=function(n,i){var r=Z.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=Z.filter(i,r)),this.length>1&&(ht[t]||Z.unique(r),ct.test(t)&&r.reverse()),this.pushStack(r)}});var pt=/\S+/g,ft={};Z.Callbacks=function(t){t="string"==typeof t?ft[t]||s(t):Z.extend({},t);var e,n,i,r,a,o,l=[],u=!t.once&&[],d=function(s){for(e=t.memory&&s,n=!0,o=r||0,r=0,a=l.length,i=!0;l&&a>o;o++)if(l[o].apply(s[0],s[1])===!1&&t.stopOnFalse){e=!1;break}i=!1,l&&(u?u.length&&d(u.shift()):e?l=[]:c.disable())},c={add:function(){if(l){var n=l.length;!function s(e){Z.each(e,function(e,n){var i=Z.type(n);"function"===i?t.unique&&c.has(n)||l.push(n):n&&n.length&&"string"!==i&&s(n)})}(arguments),i?a=l.length:e&&(r=n,d(e))}return this},remove:function(){return l&&Z.each(arguments,function(t,e){for(var n;(n=Z.inArray(e,l,n))>-1;)l.splice(n,1),i&&(a>=n&&a--,o>=n&&o--)}),this},has:function(t){return t?Z.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],a=0,this},disable:function(){return l=u=e=void 0,this},disabled:function(){return!l},lock:function(){return u=void 0,e||c.disable(),this},locked:function(){return!u},fireWith:function(t,e){return!l||n&&!u||(e=e||[],e=[t,e.slice?e.slice():e],i?u.push(e):d(e)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},Z.extend({Deferred:function(t){var e=[["resolve","done",Z.Callbacks("once memory"),"resolved"],["reject","fail",Z.Callbacks("once memory"),"rejected"],["notify","progress",Z.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return Z.Deferred(function(n){Z.each(e,function(e,s){var a=Z.isFunction(t[e])&&t[e];r[s[1]](function(){var t=a&&a.apply(this,arguments);t&&Z.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s[0]+"With"](this===i?n.promise():this,a?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?Z.extend(t,i):i}},r={};return i.pipe=i.then,Z.each(e,function(t,s){var a=s[2],o=s[3];i[s[1]]=a.add,o&&a.add(function(){n=o},e[1^t][2].disable,e[2][2].lock),r[s[0]]=function(){return r[s[0]+"With"](this===r?i:this,arguments),this},r[s[0]+"With"]=a.fireWith}),i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,i,r=0,s=z.call(arguments),a=s.length,o=1!==a||t&&Z.isFunction(t.promise)?a:0,l=1===o?t:Z.Deferred(),u=function(t,n,i){return function(r){n[t]=this,i[t]=arguments.length>1?z.call(arguments):r,i===e?l.notifyWith(n,i):--o||l.resolveWith(n,i)}};if(a>1)for(e=new Array(a),n=new Array(a),i=new Array(a);a>r;r++)s[r]&&Z.isFunction(s[r].promise)?s[r].promise().done(u(r,i,s)).fail(l.reject).progress(u(r,n,e)):--o;return o||l.resolveWith(i,s),l.promise()}});var mt;Z.fn.ready=function(t){return Z.ready.promise().done(t),this},Z.extend({isReady:!1,readyWait:1,holdReady:function(t){t?Z.readyWait++:Z.ready(!0)},ready:function(t){(t===!0?--Z.readyWait:Z.isReady)||(Z.isReady=!0,t!==!0&&--Z.readyWait>0||(mt.resolveWith(Q,[Z]),Z.fn.triggerHandler&&(Z(Q).triggerHandler("ready"),Z(Q).off("ready"))))}}),Z.ready.promise=function(e){return mt||(mt=Z.Deferred(),"complete"===Q.readyState?setTimeout(Z.ready):(Q.addEventListener("DOMContentLoaded",a,!1),t.addEventListener("load",a,!1))),mt.promise(e)},Z.ready.promise();var _t=Z.access=function(t,e,n,i,r,s,a){var o=0,l=t.length,u=null==n;if("object"===Z.type(n)){r=!0;for(o in n)Z.access(t,e,o,n[o],!0,s,a)}else if(void 0!==i&&(r=!0,Z.isFunction(i)||(a=!0),u&&(a?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(Z(t),n)})),e))for(;l>o;o++)e(t[o],n,a?i:i.call(t[o],o,e(t[o],n)));return r?t:u?e.call(t):l?e(t[0],n):s};Z.acceptData=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType},o.uid=1,o.accepts=Z.acceptData,o.prototype={key:function(t){if(!o.accepts(t))return 0;var e={},n=t[this.expando];if(!n){n=o.uid++;try{e[this.expando]={value:n},Object.defineProperties(t,e)}catch(i){e[this.expando]=n,Z.extend(t,e)}}return this.cache[n]||(this.cache[n]={}),n},set:function(t,e,n){var i,r=this.key(t),s=this.cache[r];if("string"==typeof e)s[e]=n;else if(Z.isEmptyObject(s))Z.extend(this.cache[r],e);else for(i in e)s[i]=e[i];return s},get:function(t,e){var n=this.cache[this.key(t)];return void 0===e?n:n[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,Z.camelCase(e))):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i,r,s=this.key(t),a=this.cache[s];if(void 0===e)this.cache[s]={};else{Z.isArray(e)?i=e.concat(e.map(Z.camelCase)):(r=Z.camelCase(e),e in a?i=[e,r]:(i=r,i=i in a?[i]:i.match(pt)||[])),n=i.length;for(;n--;)delete a[i[n]]}},hasData:function(t){return!Z.isEmptyObject(this.cache[t[this.expando]]||{})},discard:function(t){t[this.expando]&&delete this.cache[t[this.expando]]}};var gt=new o,yt=new o,vt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Mt=/([A-Z])/g;Z.extend({hasData:function(t){return yt.hasData(t)||gt.hasData(t)},data:function(t,e,n){return yt.access(t,e,n)},removeData:function(t,e){yt.remove(t,e)},_data:function(t,e,n){return gt.access(t,e,n)},_removeData:function(t,e){gt.remove(t,e)}}),Z.fn.extend({data:function(t,e){var n,i,r,s=this[0],a=s&&s.attributes;if(void 0===t){if(this.length&&(r=yt.get(s),1===s.nodeType&&!gt.get(s,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(i=a[n].name,0===i.indexOf("data-")&&(i=Z.camelCase(i.slice(5)),l(s,i,r[i])));gt.set(s,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){yt.set(this,t)}):_t(this,function(e){var n,i=Z.camelCase(t);if(s&&void 0===e){if(n=yt.get(s,t),void 0!==n)return n;if(n=yt.get(s,i),void 0!==n)return n;if(n=l(s,i,void 0),void 0!==n)return n}else this.each(function(){var n=yt.get(this,i);yt.set(this,i,e),-1!==t.indexOf("-")&&void 0!==n&&yt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){yt.remove(this,t)})}}),Z.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=gt.get(t,e),n&&(!i||Z.isArray(n)?i=gt.access(t,e,Z.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=Z.queue(t,e),i=n.length,r=n.shift(),s=Z._queueHooks(t,e),a=function(){Z.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete s.stop,r.call(t,a,s)),!i&&s&&s.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return gt.get(t,n)||gt.access(t,n,{empty:Z.Callbacks("once memory").add(function(){gt.remove(t,[e+"queue",n])})})}}),Z.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?Z.queue(this[0],t):void 0===e?this:this.each(function(){var n=Z.queue(this,t,e);Z._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&Z.dequeue(this,t)})},dequeue:function(t){return this.each(function(){Z.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=Z.Deferred(),s=this,a=this.length,o=function(){--i||r.resolveWith(s,[s])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)n=gt.get(s[a],t+"queueHooks"),n&&n.empty&&(i++,n.empty.add(o));return o(),r.promise(e)}});var wt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,bt=["Top","Right","Bottom","Left"],Lt=function(t,e){return t=e||t,"none"===Z.css(t,"display")||!Z.contains(t.ownerDocument,t)},kt=/^(?:checkbox|radio)$/i;!function(){var t=Q.createDocumentFragment(),e=t.appendChild(Q.createElement("div")),n=Q.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),G.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",G.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Yt="undefined";G.focusinBubbles="onfocusin"in t;var xt=/^key/,Tt=/^(?:mouse|pointer|contextmenu)|click/,Dt=/^(?:focusinfocus|focusoutblur)$/,St=/^([^.]*)(?:\.(.+)|)$/;Z.event={global:{},add:function(t,e,n,i,r){var s,a,o,l,u,d,c,h,p,f,m,_=gt.get(t);if(_)for(n.handler&&(s=n,n=s.handler,r=s.selector),n.guid||(n.guid=Z.guid++),(l=_.events)||(l=_.events={}),(a=_.handle)||(a=_.handle=function(e){return typeof Z!==Yt&&Z.event.triggered!==e.type?Z.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(pt)||[""],u=e.length;u--;)o=St.exec(e[u])||[],p=m=o[1],f=(o[2]||"").split(".").sort(),p&&(c=Z.event.special[p]||{},p=(r?c.delegateType:c.bindType)||p,c=Z.event.special[p]||{},d=Z.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&Z.expr.match.needsContext.test(r),namespace:f.join(".")},s),(h=l[p])||(h=l[p]=[],h.delegateCount=0,c.setup&&c.setup.call(t,i,f,a)!==!1||t.addEventListener&&t.addEventListener(p,a,!1)),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),Z.event.global[p]=!0)},remove:function(t,e,n,i,r){var s,a,o,l,u,d,c,h,p,f,m,_=gt.hasData(t)&&gt.get(t);if(_&&(l=_.events)){for(e=(e||"").match(pt)||[""],u=e.length;u--;)if(o=St.exec(e[u])||[],p=m=o[1],f=(o[2]||"").split(".").sort(),p){for(c=Z.event.special[p]||{},p=(i?c.delegateType:c.bindType)||p,h=l[p]||[],o=o[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=h.length;s--;)d=h[s],!r&&m!==d.origType||n&&n.guid!==d.guid||o&&!o.test(d.namespace)||i&&i!==d.selector&&("**"!==i||!d.selector)||(h.splice(s,1),d.selector&&h.delegateCount--,c.remove&&c.remove.call(t,d));a&&!h.length&&(c.teardown&&c.teardown.call(t,f,_.handle)!==!1||Z.removeEvent(t,p,_.handle),delete l[p])}else for(p in l)Z.event.remove(t,p+e[u],n,i,!0);Z.isEmptyObject(l)&&(delete _.handle,gt.remove(t,"events"))}},trigger:function(e,n,i,r){var s,a,o,l,u,d,c,h=[i||Q],p=X.call(e,"type")?e.type:e,f=X.call(e,"namespace")?e.namespace.split("."):[];if(a=o=i=i||Q,3!==i.nodeType&&8!==i.nodeType&&!Dt.test(p+Z.event.triggered)&&(p.indexOf(".")>=0&&(f=p.split("."),p=f.shift(),f.sort()),u=p.indexOf(":")<0&&"on"+p,e=e[Z.expando]?e:new Z.Event(p,"object"==typeof e&&e),e.isTrigger=r?2:3,e.namespace=f.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:Z.makeArray(n,[e]),c=Z.event.special[p]||{},r||!c.trigger||c.trigger.apply(i,n)!==!1)){if(!r&&!c.noBubble&&!Z.isWindow(i)){for(l=c.delegateType||p,Dt.test(l+p)||(a=a.parentNode);a;a=a.parentNode)h.push(a),o=a;o===(i.ownerDocument||Q)&&h.push(o.defaultView||o.parentWindow||t)}for(s=0;(a=h[s++])&&!e.isPropagationStopped();)e.type=s>1?l:c.bindType||p,d=(gt.get(a,"events")||{})[e.type]&&gt.get(a,"handle"),d&&d.apply(a,n),d=u&&a[u],d&&d.apply&&Z.acceptData(a)&&(e.result=d.apply(a,n),e.result===!1&&e.preventDefault());return e.type=p,r||e.isDefaultPrevented()||c._default&&c._default.apply(h.pop(),n)!==!1||!Z.acceptData(i)||u&&Z.isFunction(i[p])&&!Z.isWindow(i)&&(o=i[u],o&&(i[u]=null),Z.event.triggered=p,i[p](),Z.event.triggered=void 0,o&&(i[u]=o)),e.result}},dispatch:function(t){t=Z.event.fix(t);var e,n,i,r,s,a=[],o=z.call(arguments),l=(gt.get(this,"events")||{})[t.type]||[],u=Z.event.special[t.type]||{};if(o[0]=t,t.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,t)!==!1){for(a=Z.event.handlers.call(this,t,l),e=0;(r=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,n=0;(s=r.handlers[n++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(s.namespace))&&(t.handleObj=s,t.data=s.data,i=((Z.event.special[s.origType]||{}).handle||s.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,s,a=[],o=e.delegateCount,l=t.target;if(o&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!==this;l=l.parentNode||this)if(l.disabled!==!0||"click"!==t.type){for(i=[],n=0;o>n;n++)s=e[n],r=s.selector+" ",void 0===i[r]&&(i[r]=s.needsContext?Z(r,this).index(l)>=0:Z.find(r,this,null,[l]).length),i[r]&&i.push(s);i.length&&a.push({elem:l,handlers:i})}return o<e.length&&a.push({elem:this,handlers:e.slice(o)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget 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,s=e.button;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||Q,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===s||(t.which=1&s?1:2&s?3:4&s?2:0),t}},fix:function(t){if(t[Z.expando])return t;var e,n,i,r=t.type,s=t,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=Tt.test(r)?this.mouseHooks:xt.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,t=new Z.Event(s),e=i.length;e--;)n=i[e],t[n]=s[n];return t.target||(t.target=Q),3===t.target.nodeType&&(t.target=t.target.parentNode),a.filter?a.filter(t,s):t},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==c()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===c()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&Z.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(t){return Z.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var r=Z.extend(new Z.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?Z.event.trigger(r,null,e):Z.event.dispatch.call(e,r),r.isDefaultPrevented()&&n.preventDefault()}},Z.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)},Z.Event=function(t,e){return this instanceof Z.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?u:d):this.type=t,e&&Z.extend(this,e),this.timeStamp=t&&t.timeStamp||Z.now(),void(this[Z.expando]=!0)):new Z.Event(t,e)},Z.Event.prototype={isDefaultPrevented:d,isPropagationStopped:d,isImmediatePropagationStopped:d,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=u,t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=u,t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=u,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},Z.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){Z.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,s=t.handleObj;return(!r||r!==i&&!Z.contains(i,r))&&(t.type=s.origType,n=s.handler.apply(this,arguments),t.type=e),n}}}),G.focusinBubbles||Z.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){Z.event.simulate(e,t.target,Z.event.fix(t),!0)};Z.event.special[e]={setup:function(){var i=this.ownerDocument||this,r=gt.access(i,e);r||i.addEventListener(t,n,!0),gt.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=gt.access(i,e)-1;r?gt.access(i,e,r):(i.removeEventListener(t,n,!0),gt.remove(i,e))}}}),Z.fn.extend({on:function(t,e,n,i,r){var s,a;if("object"==typeof t){"string"!=typeof e&&(n=n||e,e=void 0);for(a in t)this.on(a,e,n,t[a],r);return this}if(null==n&&null==i?(i=e,n=e=void 0):null==i&&("string"==typeof e?(i=n,n=void 0):(i=n,n=e,e=void 0)),i===!1)i=d;else if(!i)return this;return 1===r&&(s=i,i=function(t){return Z().off(t),s.apply(this,arguments)},i.guid=s.guid||(s.guid=Z.guid++)),this.each(function(){Z.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,Z(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=d),this.each(function(){Z.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){Z.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?Z.event.trigger(t,e,n,!0):void 0}});var Ct=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ht=/<([\w:]+)/,jt=/<|&#?\w+;/,At=/<(?:script|style|link)/i,Et=/checked\s*(?:[^=]|=\s*.checked.)/i,Pt=/^$|\/(?:java|ecma)script/i,Wt=/^true\/(.*)/,Ft=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Ot={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,"",""]};Ot.optgroup=Ot.option,Ot.tbody=Ot.tfoot=Ot.colgroup=Ot.caption=Ot.thead,Ot.th=Ot.td,Z.extend({clone:function(t,e,n){var i,r,s,a,o=t.cloneNode(!0),l=Z.contains(t.ownerDocument,t);if(!(G.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||Z.isXMLDoc(t)))for(a=g(o),s=g(t),i=0,r=s.length;r>i;i++)y(s[i],a[i]);if(e)if(n)for(s=s||g(t),a=a||g(o),i=0,r=s.length;r>i;i++)_(s[i],a[i]);else _(t,o);return a=g(o,"script"),a.length>0&&m(a,!l&&g(t,"script")),o},buildFragment:function(t,e,n,i){for(var r,s,a,o,l,u,d=e.createDocumentFragment(),c=[],h=0,p=t.length;p>h;h++)if(r=t[h],r||0===r)if("object"===Z.type(r))Z.merge(c,r.nodeType?[r]:r);else if(jt.test(r)){for(s=s||d.appendChild(e.createElement("div")),a=(Ht.exec(r)||["",""])[1].toLowerCase(),o=Ot[a]||Ot._default,s.innerHTML=o[1]+r.replace(Ct,"<$1></$2>")+o[2],u=o[0];u--;)s=s.lastChild;Z.merge(c,s.childNodes),s=d.firstChild,s.textContent=""}else c.push(e.createTextNode(r));for(d.textContent="",h=0;r=c[h++];)if((!i||-1===Z.inArray(r,i))&&(l=Z.contains(r.ownerDocument,r),s=g(d.appendChild(r),"script"),l&&m(s),n))for(u=0;r=s[u++];)Pt.test(r.type||"")&&n.push(r);return d},cleanData:function(t){for(var e,n,i,r,s=Z.event.special,a=0;void 0!==(n=t[a]);a++){if(Z.acceptData(n)&&(r=n[gt.expando],r&&(e=gt.cache[r]))){if(e.events)for(i in e.events)s[i]?Z.event.remove(n,i):Z.removeEvent(n,i,e.handle);gt.cache[r]&&delete gt.cache[r]}delete yt.cache[n[yt.expando]]}}}),Z.fn.extend({text:function(t){return _t(this,function(t){return void 0===t?Z.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 this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=h(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=h(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=t?Z.filter(t,this):this,r=0;null!=(n=i[r]);r++)e||1!==n.nodeType||Z.cleanData(g(n)),n.parentNode&&(e&&Z.contains(n.ownerDocument,n)&&m(g(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(Z.cleanData(g(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 Z.clone(this,t,e)})},html:function(t){return _t(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&&!At.test(t)&&!Ot[(Ht.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Ct,"<$1></$2>");try{for(;i>n;n++)e=this[n]||{},1===e.nodeType&&(Z.cleanData(g(e,!1)),e.innerHTML=t);e=0}catch(r){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,Z.cleanData(g(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=B.apply([],t);var n,i,r,s,a,o,l=0,u=this.length,d=this,c=u-1,h=t[0],m=Z.isFunction(h);if(m||u>1&&"string"==typeof h&&!G.checkClone&&Et.test(h))return this.each(function(n){var i=d.eq(n);m&&(t[0]=h.call(this,n,i.html())),i.domManip(t,e)});if(u&&(n=Z.buildFragment(t,this[0].ownerDocument,!1,this),i=n.firstChild,1===n.childNodes.length&&(n=i),i)){for(r=Z.map(g(n,"script"),p),s=r.length;u>l;l++)a=n,l!==c&&(a=Z.clone(a,!0,!0),s&&Z.merge(r,g(a,"script"))),e.call(this[l],a,l);if(s)for(o=r[r.length-1].ownerDocument,Z.map(r,f),l=0;s>l;l++)a=r[l],Pt.test(a.type||"")&&!gt.access(a,"globalEval")&&Z.contains(o,a)&&(a.src?Z._evalUrl&&Z._evalUrl(a.src):Z.globalEval(a.textContent.replace(Ft,"")))}return this}}),Z.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){Z.fn[t]=function(t){for(var n,i=[],r=Z(t),s=r.length-1,a=0;s>=a;a++)n=a===s?this:this.clone(!0),Z(r[a])[e](n),q.apply(i,n.get());return this.pushStack(i)}});var Rt,It={},Nt=/^margin/,$t=new RegExp("^("+wt+")(?!px)[a-z%]+$","i"),zt=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):t.getComputedStyle(e,null)};!function(){function e(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",a.innerHTML="",r.appendChild(s);var e=t.getComputedStyle(a,null);n="1%"!==e.top,i="4px"===e.width,r.removeChild(s)}var n,i,r=Q.documentElement,s=Q.createElement("div"),a=Q.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",G.clearCloneStyle="content-box"===a.style.backgroundClip,s.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",s.appendChild(a),t.getComputedStyle&&Z.extend(G,{pixelPosition:function(){return e(),n},boxSizingReliable:function(){return null==i&&e(),i},reliableMarginRight:function(){var e,n=a.appendChild(Q.createElement("div"));return n.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",a.style.width="1px",r.appendChild(s),e=!parseFloat(t.getComputedStyle(n,null).marginRight),r.removeChild(s),a.removeChild(n),e}}))}(),Z.swap=function(t,e,n,i){var r,s,a={};for(s in e)a[s]=t.style[s],t.style[s]=e[s];r=n.apply(t,i||[]);for(s in e)t.style[s]=a[s];return r};var Bt=/^(none|table(?!-c[ea]).+)/,qt=new RegExp("^("+wt+")(.*)$","i"),Ut=new RegExp("^([+-])=("+wt+")","i"),Vt={position:"absolute",visibility:"hidden",display:"block"},Jt={letterSpacing:"0",fontWeight:"400"},Xt=["Webkit","O","Moz","ms"];Z.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=w(t,"opacity");return""===n?"1":n}}}},cssNumber:{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,s,a,o=Z.camelCase(e),l=t.style;return e=Z.cssProps[o]||(Z.cssProps[o]=L(l,o)),a=Z.cssHooks[e]||Z.cssHooks[o],void 0===n?a&&"get"in a&&void 0!==(r=a.get(t,!1,i))?r:l[e]:(s=typeof n,"string"===s&&(r=Ut.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(Z.css(t,e)),s="number"),null!=n&&n===n&&("number"!==s||Z.cssNumber[o]||(n+="px"),G.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,i))||(l[e]=n)),void 0)}},css:function(t,e,n,i){var r,s,a,o=Z.camelCase(e);return e=Z.cssProps[o]||(Z.cssProps[o]=L(t.style,o)),a=Z.cssHooks[e]||Z.cssHooks[o],a&&"get"in a&&(r=a.get(t,!0,n)),void 0===r&&(r=w(t,e,i)),"normal"===r&&e in Jt&&(r=Jt[e]),""===n||n?(s=parseFloat(r),n===!0||Z.isNumeric(s)?s||0:r):r}}),Z.each(["height","width"],function(t,e){Z.cssHooks[e]={get:function(t,n,i){return n?Bt.test(Z.css(t,"display"))&&0===t.offsetWidth?Z.swap(t,Vt,function(){return x(t,e,i)}):x(t,e,i):void 0},set:function(t,n,i){var r=i&&zt(t);return k(t,n,i?Y(t,e,i,"border-box"===Z.css(t,"boxSizing",!1,r),r):0)}}}),Z.cssHooks.marginRight=b(G.reliableMarginRight,function(t,e){return e?Z.swap(t,{display:"inline-block"},w,[t,"marginRight"]):void 0}),Z.each({margin:"",padding:"",border:"Width"},function(t,e){Z.cssHooks[t+e]={expand:function(n){for(var i=0,r={},s="string"==typeof n?n.split(" "):[n];4>i;i++)r[t+bt[i]+e]=s[i]||s[i-2]||s[0];return r}},Nt.test(t)||(Z.cssHooks[t+e].set=k)}),Z.fn.extend({css:function(t,e){return _t(this,function(t,e,n){var i,r,s={},a=0;if(Z.isArray(e)){for(i=zt(t),r=e.length;r>a;a++)s[e[a]]=Z.css(t,e[a],!1,i);return s}return void 0!==n?Z.style(t,e,n):Z.css(t,e)},t,e,arguments.length>1)},show:function(){return T(this,!0)},hide:function(){return T(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Lt(this)?Z(this).show():Z(this).hide()})}}),Z.Tween=D,D.prototype={constructor:D,init:function(t,e,n,i,r,s){this.elem=t,this.prop=n,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=s||(Z.cssNumber[n]?"":"px")},cur:function(){var t=D.propHooks[this.prop];return t&&t.get?t.get(this):D.propHooks._default.get(this)},run:function(t){var e,n=D.propHooks[this.prop];return this.pos=e=this.options.duration?Z.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):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):D.propHooks._default.set(this),this}},D.prototype.init.prototype=D.prototype,D.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=Z.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){Z.fx.step[t.prop]?Z.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[Z.cssProps[t.prop]]||Z.cssHooks[t.prop])?Z.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},D.propHooks.scrollTop=D.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},Z.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},Z.fx=D.prototype.init,Z.fx.step={};var Gt,Qt,Kt=/^(?:toggle|show|hide)$/,Zt=new RegExp("^(?:([+-])=|)("+wt+")([a-z%]*)$","i"),te=/queueHooks$/,ee=[j],ne={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),r=Zt.exec(e),s=r&&r[3]||(Z.cssNumber[t]?"":"px"),a=(Z.cssNumber[t]||"px"!==s&&+i)&&Zt.exec(Z.css(n.elem,t)),o=1,l=20;if(a&&a[3]!==s){s=s||a[3],r=r||[],a=+i||1;do o=o||".5",a/=o,Z.style(n.elem,t,a+s);while(o!==(o=n.cur()/i)&&1!==o&&--l)}return r&&(a=n.start=+a||+i||0,n.unit=s,n.end=r[1]?a+(r[1]+1)*r[2]:+r[2]),n}]};Z.Animation=Z.extend(E,{tweener:function(t,e){Z.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,r=t.length;r>i;i++)n=t[i],ne[n]=ne[n]||[],ne[n].unshift(e)},prefilter:function(t,e){e?ee.unshift(t):ee.push(t)}}),Z.speed=function(t,e,n){var i=t&&"object"==typeof t?Z.extend({},t):{complete:n||!n&&e||Z.isFunction(t)&&t,duration:t,easing:n&&e||e&&!Z.isFunction(e)&&e};return i.duration=Z.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in Z.fx.speeds?Z.fx.speeds[i.duration]:Z.fx.speeds._default,(null==i.queue||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){Z.isFunction(i.old)&&i.old.call(this),i.queue&&Z.dequeue(this,i.queue)},i},Z.fn.extend({fadeTo:function(t,e,n,i){return this.filter(Lt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=Z.isEmptyObject(t),s=Z.speed(e,n,i),a=function(){var e=E(this,Z.extend({},t),s);(r||gt.get(this,"finish"))&&e.stop(!0)};return a.finish=a,r||s.queue===!1?this.each(a):this.queue(s.queue,a)},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",s=Z.timers,a=gt.get(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&te.test(r)&&i(a[r]);for(r=s.length;r--;)s[r].elem!==this||null!=t&&s[r].queue!==t||(s[r].anim.stop(n),e=!1,s.splice(r,1));(e||!n)&&Z.dequeue(this,t)})},finish:function(t){
return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=gt.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],s=Z.timers,a=i?i.length:0;for(n.finish=!0,Z.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===t&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;a>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),Z.each(["toggle","show","hide"],function(t,e){var n=Z.fn[e];Z.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(C(e,!0),t,i,r)}}),Z.each({slideDown:C("show"),slideUp:C("hide"),slideToggle:C("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){Z.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),Z.timers=[],Z.fx.tick=function(){var t,e=0,n=Z.timers;for(Gt=Z.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||Z.fx.stop(),Gt=void 0},Z.fx.timer=function(t){Z.timers.push(t),t()?Z.fx.start():Z.timers.pop()},Z.fx.interval=13,Z.fx.start=function(){Qt||(Qt=setInterval(Z.fx.tick,Z.fx.interval))},Z.fx.stop=function(){clearInterval(Qt),Qt=null},Z.fx.speeds={slow:600,fast:200,_default:400},Z.fn.delay=function(t,e){return t=Z.fx?Z.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})},function(){var t=Q.createElement("input"),e=Q.createElement("select"),n=e.appendChild(Q.createElement("option"));t.type="checkbox",G.checkOn=""!==t.value,G.optSelected=n.selected,e.disabled=!0,G.optDisabled=!n.disabled,t=Q.createElement("input"),t.value="t",t.type="radio",G.radioValue="t"===t.value}();var ie,re,se=Z.expr.attrHandle;Z.fn.extend({attr:function(t,e){return _t(this,Z.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){Z.removeAttr(this,t)})}}),Z.extend({attr:function(t,e,n){var i,r,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return typeof t.getAttribute===Yt?Z.prop(t,e,n):(1===s&&Z.isXMLDoc(t)||(e=e.toLowerCase(),i=Z.attrHooks[e]||(Z.expr.match.bool.test(e)?re:ie)),void 0===n?i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=Z.find.attr(t,e),null==r?void 0:r):null!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):void Z.removeAttr(t,e))},removeAttr:function(t,e){var n,i,r=0,s=e&&e.match(pt);if(s&&1===t.nodeType)for(;n=s[r++];)i=Z.propFix[n]||n,Z.expr.match.bool.test(n)&&(t[i]=!1),t.removeAttribute(n)},attrHooks:{type:{set:function(t,e){if(!G.radioValue&&"radio"===e&&Z.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),re={set:function(t,e,n){return e===!1?Z.removeAttr(t,n):t.setAttribute(n,n),n}},Z.each(Z.expr.match.bool.source.match(/\w+/g),function(t,e){var n=se[e]||Z.find.attr;se[e]=function(t,e,i){var r,s;return i||(s=se[e],se[e]=r,r=null!=n(t,e,i)?e.toLowerCase():null,se[e]=s),r}});var ae=/^(?:input|select|textarea|button)$/i;Z.fn.extend({prop:function(t,e){return _t(this,Z.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[Z.propFix[t]||t]})}}),Z.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,n){var i,r,s,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return s=1!==a||!Z.isXMLDoc(t),s&&(e=Z.propFix[e]||e,r=Z.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){return t.hasAttribute("tabindex")||ae.test(t.nodeName)||t.href?t.tabIndex:-1}}}}),G.optSelected||(Z.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null}}),Z.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Z.propFix[this.toLowerCase()]=this});var oe=/[\t\r\n\f]/g;Z.fn.extend({addClass:function(t){var e,n,i,r,s,a,o="string"==typeof t&&t,l=0,u=this.length;if(Z.isFunction(t))return this.each(function(e){Z(this).addClass(t.call(this,e,this.className))});if(o)for(e=(t||"").match(pt)||[];u>l;l++)if(n=this[l],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(oe," "):" ")){for(s=0;r=e[s++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");a=Z.trim(i),n.className!==a&&(n.className=a)}return this},removeClass:function(t){var e,n,i,r,s,a,o=0===arguments.length||"string"==typeof t&&t,l=0,u=this.length;if(Z.isFunction(t))return this.each(function(e){Z(this).removeClass(t.call(this,e,this.className))});if(o)for(e=(t||"").match(pt)||[];u>l;l++)if(n=this[l],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(oe," "):"")){for(s=0;r=e[s++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");a=t?Z.trim(i):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):this.each(Z.isFunction(t)?function(n){Z(this).toggleClass(t.call(this,n,this.className,e),e)}:function(){if("string"===n)for(var e,i=0,r=Z(this),s=t.match(pt)||[];e=s[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else(n===Yt||"boolean"===n)&&(this.className&&gt.set(this,"__className__",this.className),this.className=this.className||t===!1?"":gt.get(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(oe," ").indexOf(e)>=0)return!0;return!1}});var le=/\r/g;Z.fn.extend({val:function(t){var e,n,i,r=this[0];{if(arguments.length)return i=Z.isFunction(t),this.each(function(n){var r;1===this.nodeType&&(r=i?t.call(this,n,Z(this).val()):t,null==r?r="":"number"==typeof r?r+="":Z.isArray(r)&&(r=Z.map(r,function(t){return null==t?"":t+""})),e=Z.valHooks[this.type]||Z.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))});if(r)return e=Z.valHooks[r.type]||Z.valHooks[r.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(le,""):null==n?"":n)}}}),Z.extend({valHooks:{option:{get:function(t){var e=Z.find.attr(t,"value");return null!=e?e:Z.trim(Z.text(t))}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,s="select-one"===t.type||0>r,a=s?null:[],o=s?r+1:i.length,l=0>r?o:s?r:0;o>l;l++)if(n=i[l],!(!n.selected&&l!==r||(G.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&Z.nodeName(n.parentNode,"optgroup"))){if(e=Z(n).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var n,i,r=t.options,s=Z.makeArray(e),a=r.length;a--;)i=r[a],(i.selected=Z.inArray(i.value,s)>=0)&&(n=!0);return n||(t.selectedIndex=-1),s}}}}),Z.each(["radio","checkbox"],function(){Z.valHooks[this]={set:function(t,e){return Z.isArray(e)?t.checked=Z.inArray(Z(t).val(),e)>=0:void 0}},G.checkOn||(Z.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),Z.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){Z.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),Z.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},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)}});var ue=Z.now(),de=/\?/;Z.parseJSON=function(t){return JSON.parse(t+"")},Z.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{n=new DOMParser,e=n.parseFromString(t,"text/xml")}catch(i){e=void 0}return(!e||e.getElementsByTagName("parsererror").length)&&Z.error("Invalid XML: "+t),e};var ce=/#.*$/,he=/([?&])_=[^&]*/,pe=/^(.*?):[ \t]*([^\r\n]*)$/gm,fe=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,me=/^(?:GET|HEAD)$/,_e=/^\/\//,ge=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,ye={},ve={},Me="*/".concat("*"),we=t.location.href,be=ge.exec(we.toLowerCase())||[];Z.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:we,type:"GET",isLocal:fe.test(be[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Me,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":Z.parseJSON,"text xml":Z.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?F(F(t,Z.ajaxSettings),e):F(Z.ajaxSettings,t)},ajaxPrefilter:P(ye),ajaxTransport:P(ve),ajax:function(t,e){function n(t,e,n,a){var l,d,g,y,M,b=e;2!==v&&(v=2,o&&clearTimeout(o),i=void 0,s=a||"",w.readyState=t>0?4:0,l=t>=200&&300>t||304===t,n&&(y=O(c,w,n)),y=R(c,y,w,l),l?(c.ifModified&&(M=w.getResponseHeader("Last-Modified"),M&&(Z.lastModified[r]=M),M=w.getResponseHeader("etag"),M&&(Z.etag[r]=M)),204===t||"HEAD"===c.type?b="nocontent":304===t?b="notmodified":(b=y.state,d=y.data,g=y.error,l=!g)):(g=b,(t||!b)&&(b="error",0>t&&(t=0))),w.status=t,w.statusText=(e||b)+"",l?f.resolveWith(h,[d,b,w]):f.rejectWith(h,[w,b,g]),w.statusCode(_),_=void 0,u&&p.trigger(l?"ajaxSuccess":"ajaxError",[w,c,l?d:g]),m.fireWith(h,[w,b]),u&&(p.trigger("ajaxComplete",[w,c]),--Z.active||Z.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,r,s,a,o,l,u,d,c=Z.ajaxSetup({},e),h=c.context||c,p=c.context&&(h.nodeType||h.jquery)?Z(h):Z.event,f=Z.Deferred(),m=Z.Callbacks("once memory"),_=c.statusCode||{},g={},y={},v=0,M="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(2===v){if(!a)for(a={};e=pe.exec(s);)a[e[1].toLowerCase()]=e[2];e=a[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===v?s:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return v||(t=y[n]=y[n]||t,g[t]=e),this},overrideMimeType:function(t){return v||(c.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>v)for(e in t)_[e]=[_[e],t[e]];else w.always(t[w.status]);return this},abort:function(t){var e=t||M;return i&&i.abort(e),n(0,e),this}};if(f.promise(w).complete=m.add,w.success=w.done,w.error=w.fail,c.url=((t||c.url||we)+"").replace(ce,"").replace(_e,be[1]+"//"),c.type=e.method||e.type||c.method||c.type,c.dataTypes=Z.trim(c.dataType||"*").toLowerCase().match(pt)||[""],null==c.crossDomain&&(l=ge.exec(c.url.toLowerCase()),c.crossDomain=!(!l||l[1]===be[1]&&l[2]===be[2]&&(l[3]||("http:"===l[1]?"80":"443"))===(be[3]||("http:"===be[1]?"80":"443")))),c.data&&c.processData&&"string"!=typeof c.data&&(c.data=Z.param(c.data,c.traditional)),W(ye,c,e,w),2===v)return w;u=Z.event&&c.global,u&&0===Z.active++&&Z.event.trigger("ajaxStart"),c.type=c.type.toUpperCase(),c.hasContent=!me.test(c.type),r=c.url,c.hasContent||(c.data&&(r=c.url+=(de.test(r)?"&":"?")+c.data,delete c.data),c.cache===!1&&(c.url=he.test(r)?r.replace(he,"$1_="+ue++):r+(de.test(r)?"&":"?")+"_="+ue++)),c.ifModified&&(Z.lastModified[r]&&w.setRequestHeader("If-Modified-Since",Z.lastModified[r]),Z.etag[r]&&w.setRequestHeader("If-None-Match",Z.etag[r])),(c.data&&c.hasContent&&c.contentType!==!1||e.contentType)&&w.setRequestHeader("Content-Type",c.contentType),w.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+("*"!==c.dataTypes[0]?", "+Me+"; q=0.01":""):c.accepts["*"]);for(d in c.headers)w.setRequestHeader(d,c.headers[d]);if(c.beforeSend&&(c.beforeSend.call(h,w,c)===!1||2===v))return w.abort();M="abort";for(d in{success:1,error:1,complete:1})w[d](c[d]);if(i=W(ve,c,e,w)){w.readyState=1,u&&p.trigger("ajaxSend",[w,c]),c.async&&c.timeout>0&&(o=setTimeout(function(){w.abort("timeout")},c.timeout));try{v=1,i.send(g,n)}catch(b){if(!(2>v))throw b;n(-1,b)}}else n(-1,"No Transport");return w},getJSON:function(t,e,n){return Z.get(t,e,n,"json")},getScript:function(t,e){return Z.get(t,void 0,e,"script")}}),Z.each(["get","post"],function(t,e){Z[e]=function(t,n,i,r){return Z.isFunction(n)&&(r=r||i,i=n,n=void 0),Z.ajax({url:t,type:e,dataType:r,data:n,success:i})}}),Z._evalUrl=function(t){return Z.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},Z.fn.extend({wrapAll:function(t){var e;return Z.isFunction(t)?this.each(function(e){Z(this).wrapAll(t.call(this,e))}):(this[0]&&(e=Z(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 this.each(Z.isFunction(t)?function(e){Z(this).wrapInner(t.call(this,e))}:function(){var e=Z(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=Z.isFunction(t);return this.each(function(n){Z(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){Z.nodeName(this,"body")||Z(this).replaceWith(this.childNodes)}).end()}}),Z.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0},Z.expr.filters.visible=function(t){return!Z.expr.filters.hidden(t)};var Le=/%20/g,ke=/\[\]$/,Ye=/\r?\n/g,xe=/^(?:submit|button|image|reset|file)$/i,Te=/^(?:input|select|textarea|keygen)/i;Z.param=function(t,e){var n,i=[],r=function(t,e){e=Z.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=Z.ajaxSettings&&Z.ajaxSettings.traditional),Z.isArray(t)||t.jquery&&!Z.isPlainObject(t))Z.each(t,function(){r(this.name,this.value)});else for(n in t)I(n,t[n],e,r);return i.join("&").replace(Le,"+")},Z.fn.extend({serialize:function(){return Z.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=Z.prop(this,"elements");return t?Z.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!Z(this).is(":disabled")&&Te.test(this.nodeName)&&!xe.test(t)&&(this.checked||!kt.test(t))}).map(function(t,e){var n=Z(this).val();return null==n?null:Z.isArray(n)?Z.map(n,function(t){return{name:e.name,value:t.replace(Ye,"\r\n")}}):{name:e.name,value:n.replace(Ye,"\r\n")}}).get()}}),Z.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(t){}};var De=0,Se={},Ce={0:200,1223:204},He=Z.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in Se)Se[t]()}),G.cors=!!He&&"withCredentials"in He,G.ajax=He=!!He,Z.ajaxTransport(function(t){var e;return G.cors||He&&!t.crossDomain?{send:function(n,i){var r,s=t.xhr(),a=++De;if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)s[r]=t.xhrFields[r];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(r in n)s.setRequestHeader(r,n[r]);e=function(t){return function(){e&&(delete Se[a],e=s.onload=s.onerror=null,"abort"===t?s.abort():"error"===t?i(s.status,s.statusText):i(Ce[s.status]||s.status,s.statusText,"string"==typeof s.responseText?{text:s.responseText}:void 0,s.getAllResponseHeaders()))}},s.onload=e(),s.onerror=e("error"),e=Se[a]=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(o){if(e)throw o}},abort:function(){e&&e()}}:void 0}),Z.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return Z.globalEval(t),t}}}),Z.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),Z.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(i,r){e=Z("<script>").prop({async:!0,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)}),Q.head.appendChild(e[0])},abort:function(){n&&n()}}}});var je=[],Ae=/(=)\?(?=&|$)|\?\?/;Z.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=je.pop()||Z.expando+"_"+ue++;return this[t]=!0,t}}),Z.ajaxPrefilter("json jsonp",function(e,n,i){var r,s,a,o=e.jsonp!==!1&&(Ae.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ae.test(e.data)&&"data");return o||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=Z.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(Ae,"$1"+r):e.jsonp!==!1&&(e.url+=(de.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||Z.error(r+" was not called"),a[0]},e.dataTypes[0]="json",s=t[r],t[r]=function(){a=arguments},i.always(function(){t[r]=s,e[r]&&(e.jsonpCallback=n.jsonpCallback,je.push(r)),a&&Z.isFunction(s)&&s(a[0]),a=s=void 0}),"script"):void 0}),Z.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||Q;var i=at.exec(t),r=!n&&[];return i?[e.createElement(i[1])]:(i=Z.buildFragment([t],e,r),r&&r.length&&Z(r).remove(),Z.merge([],i.childNodes))};var Ee=Z.fn.load;Z.fn.load=function(t,e,n){if("string"!=typeof t&&Ee)return Ee.apply(this,arguments);var i,r,s,a=this,o=t.indexOf(" ");return o>=0&&(i=Z.trim(t.slice(o)),t=t.slice(0,o)),Z.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),a.length>0&&Z.ajax({url:t,type:r,dataType:"html",data:e}).done(function(t){s=arguments,a.html(i?Z("<div>").append(Z.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){a.each(n,s||[t.responseText,e,t])}),this},Z.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){Z.fn[e]=function(t){return this.on(e,t)}}),Z.expr.filters.animated=function(t){return Z.grep(Z.timers,function(e){return t===e.elem}).length};var Pe=t.document.documentElement;Z.offset={setOffset:function(t,e,n){var i,r,s,a,o,l,u,d=Z.css(t,"position"),c=Z(t),h={};"static"===d&&(t.style.position="relative"),o=c.offset(),s=Z.css(t,"top"),l=Z.css(t,"left"),u=("absolute"===d||"fixed"===d)&&(s+l).indexOf("auto")>-1,u?(i=c.position(),a=i.top,r=i.left):(a=parseFloat(s)||0,r=parseFloat(l)||0),Z.isFunction(e)&&(e=e.call(t,n,o)),null!=e.top&&(h.top=e.top-o.top+a),null!=e.left&&(h.left=e.left-o.left+r),"using"in e?e.using.call(t,h):c.css(h)}},Z.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){Z.offset.setOffset(this,t,e)});var e,n,i=this[0],r={top:0,left:0},s=i&&i.ownerDocument;if(s)return e=s.documentElement,Z.contains(e,i)?(typeof i.getBoundingClientRect!==Yt&&(r=i.getBoundingClientRect()),n=N(s),{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"===Z.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),Z.nodeName(t[0],"html")||(i=t.offset()),i.top+=Z.css(t[0],"borderTopWidth",!0),i.left+=Z.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-Z.css(n,"marginTop",!0),left:e.left-i.left-Z.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||Pe;t&&!Z.nodeName(t,"html")&&"static"===Z.css(t,"position");)t=t.offsetParent;return t||Pe})}}),Z.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var i="pageYOffset"===n;Z.fn[e]=function(r){return _t(this,function(e,r,s){var a=N(e);return void 0===s?a?a[n]:e[r]:void(a?a.scrollTo(i?t.pageXOffset:s,i?s:t.pageYOffset):e[r]=s)},e,r,arguments.length,null)}}),Z.each(["top","left"],function(t,e){Z.cssHooks[e]=b(G.pixelPosition,function(t,n){return n?(n=w(t,e),$t.test(n)?Z(t).position()[e]+"px":n):void 0})}),Z.each({Height:"height",Width:"width"},function(t,e){Z.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){Z.fn[i]=function(i,r){var s=arguments.length&&(n||"boolean"!=typeof i),a=n||(i===!0||r===!0?"margin":"border");return _t(this,function(e,n,i){var r;return Z.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?Z.css(e,n,a):Z.style(e,n,i,a)},e,s?i:void 0,s,null)}})}),Z.fn.size=function(){return this.length},Z.fn.andSelf=Z.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Z});var We=t.jQuery,Fe=t.$;return Z.noConflict=function(e){return t.$===Z&&(t.$=Fe),e&&t.jQuery===Z&&(t.jQuery=We),Z},typeof e===Yt&&(t.jQuery=t.$=Z),Z}),"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)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(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.5",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function n(){a.detach().trigger("closed.bs.alert").remove()}var r=t(this),s=r.attr("data-target");s||(s=r.attr("href"),s=s&&s.replace(/.*(?=#[^\s]*$)/,""));var a=t(s);e&&e.preventDefault(),a.length||(a=r.closest(".alert")),a.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.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"),s="object"==typeof e&&e;r||i.data("bs.button",r=new n(this,s)),"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.5",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,r=i.is("input")?"val":"html",s=i.data();e+="Text",null==s.resetText&&i.data("resetText",i[r]()),setTimeout(t.proxy(function(){i[r](null==s[e]?this.options[e]:s[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"),s=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),a="string"==typeof e?e:s.slide;r||i.data("bs.carousel",r=new n(this,s)),"number"==typeof e?r.to(e):a?r[a]():s.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.5",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,s=(n+r)%this.$items.length;return this.$items.eq(s)},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"),s=i||this.getItemForDirection(e,r),a=this.interval,o="next"==e?"left":"right",l=this;if(s.hasClass("active"))return this.sliding=!1;var u=s[0],d=t.Event("slide.bs.carousel",{relatedTarget:u,direction:o});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var c=t(this.$indicators.children()[this.getItemIndex(s)]);c&&c.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:u,direction:o});return t.support.transition&&this.$element.hasClass("slide")?(s.addClass(e),s[0].offsetWidth,r.addClass(o),s.addClass(o),r.one("bsTransitionEnd",function(){s.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"),s.addClass("active"),this.sliding=!1,this.$element.trigger(h)),a&&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),s=t(r.attr("data-target")||(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(s.hasClass("carousel")){var a=t.extend({},s.data(),r.data()),o=r.attr("data-slide-to");o&&(a.interval=!1),e.call(s,a),o&&s.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"),s=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);!r&&s.toggle&&/show|hide/.test(e)&&(s.toggle=!1),r||n.data("bs.collapse",r=new i(this,s)),"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.5",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 s=t.Event("show.bs.collapse");if(this.$element.trigger(s),!s.isDefaultPrevented()){r&&r.length&&(n.call(r,"hide"),e||r.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](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")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return o.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[a](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 s=e(r),a=s.data("bs.collapse"),o=a?"toggle":r.data();n.call(s,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(s).each(function(){var i=t(this),r=e(i),s={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",s)),
n.isDefaultPrevented()||(i.attr("aria-expanded","false"),r.removeClass("open").trigger("hidden.bs.dropdown",s))))}))}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new a(this)),"string"==typeof e&&i[e].call(n)})}var r=".dropdown-backdrop",s='[data-toggle="dropdown"]',a=function(e){t(e).on("click.bs.dropdown",this.toggle)};a.VERSION="3.3.5",a.prototype.toggle=function(i){var r=t(this);if(!r.is(".disabled, :disabled")){var s=e(r),a=s.hasClass("open");if(n(),!a){"ontouchstart"in document.documentElement&&!s.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var o={relatedTarget:this};if(s.trigger(i=t.Event("show.bs.dropdown",o)),i.isDefaultPrevented())return;r.trigger("focus").attr("aria-expanded","true"),s.toggleClass("open").trigger("shown.bs.dropdown",o)}return!1}},a.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),a=r.hasClass("open");if(!a&&27!=n.which||a&&27==n.which)return 27==n.which&&r.find(s).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=a,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",s,a.prototype.toggle).on("keydown.bs.dropdown.data-api",s,a.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",a.prototype.keydown)}(jQuery),+function(t){"use strict";function e(e,i){return this.each(function(){var r=t(this),s=r.data("bs.modal"),a=t.extend({},n.DEFAULTS,r.data(),"object"==typeof e&&e);s||r.data("bs.modal",s=new n(this,a)),"string"==typeof e?s[e](i):a.show&&s.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.5",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 s=t.Event("shown.bs.modal",{relatedTarget:e});r?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(s)}).emulateTransitionEnd(n.TRANSITION_DURATION):i.$element.trigger("focus").trigger(s)}))},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 s=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)),s&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;s?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){i.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):a()}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"),s=t(i.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),a=s.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(r)&&r},s.data(),i.data());i.is("a")&&n.preventDefault(),s.one("show.bs.modal",function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(s,a,this)})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.tooltip"),s="object"==typeof e&&e;(r||!/destroy|hide/.test(e))&&(r||i.data("bs.tooltip",r=new n(this,s)),"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.5",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(" "),s=r.length;s--;){var a=r[s];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var o="hover"==a?"mouseenter":"focusin",l="hover"==a?"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,s=this.tip(),a=this.getUID(this.type);this.setContent(),s.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&s.addClass("fade");var o="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,u=l.test(o);u&&(o=o.replace(l,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(o).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var d=this.getPosition(),c=s[0].offsetWidth,h=s[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,s.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")?s.one("bsTransitionEnd",_).emulateTransitionEnd(n.TRANSITION_DURATION):_()}},n.prototype.applyPlacement=function(e,n){var i=this.tip(),r=i[0].offsetWidth,s=i[0].offsetHeight,a=parseInt(i.css("margin-top"),10),o=parseInt(i.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(o)&&(o=0),e.top+=a,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!=s&&(e.top=e.top+s-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-s+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&&s.detach(),r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),e&&e()}var r=this,s=t(this.$tip),a=t.Event("hide.bs."+this.type);return this.$element.trigger(a),a.isDefaultPrevented()?void 0:(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.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 s=i?{top:0,left:0}:e.offset(),a={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,a,o,s)},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 s=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var o=e.top-s-a.scroll,l=e.top+s-a.scroll+i;o<a.top?r.top=a.top-o:l>a.top+a.height&&(r.top=a.top+a.height-l)}else{var u=e.left-s,d=e.left+s+n;u<a.left?r.left=a.left-u:d>a.right&&(r.left=a.left+a.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"),s="object"==typeof e&&e;(r||!/destroy|hide/.test(e))&&(r||i.data("bs.popover",r=new n(this,s)),"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.5",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"),s="object"==typeof n&&n;r||i.data("bs.scrollspy",r=new e(this,s)),"string"==typeof n&&r[n]()})}e.VERSION="3.3.5",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"),s=/^#./.test(r)&&t(r);return s&&s.length&&s.is(":visible")&&[[s[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,s=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return a!=(t=s[s.length-1])&&this.activate(t);if(a&&e<r[0])return this.activeTarget=null,this.clear();for(t=r.length;t--;)a!=s[t]&&e>=r[t]&&(void 0===r[t+1]||e<r[t+1])&&this.activate(s[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.5",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"),s=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(s),e.trigger(a),!a.isDefaultPrevented()&&!s.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 s(){a.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 a=i.find("> .active"),o=r&&t.support.transition&&(a.length&&a.hasClass("fade")||!!i.find("> .fade").length);a.length&&o?a.one("bsTransitionEnd",s).emulateTransitionEnd(n.TRANSITION_DURATION):s(),a.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"),s="object"==typeof e&&e;r||i.data("bs.affix",r=new n(this,s)),"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.5",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(),s=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return n>r?"top":!1;if("bottom"==this.affixed)return null!=n?r+this.unpin<=s.top?!1:"bottom":t-i>=r+a?!1:"bottom";var o=null==this.affixed,l=o?r:s.top,u=o?a: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,s=i.bottom,a=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(s=r=i),"function"==typeof r&&(r=i.top(this.$element)),"function"==typeof s&&(s=i.bottom(this.$element));var o=this.getState(a,e,r,s);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:a-e-s})}};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 Ri.apply(null,arguments)}function e(t){Ri=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 s(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function a(t,e){for(var n in e)s(e,n)&&(t[n]=e[n]);return s(e,"toString")&&(t.toString=e.toString),s(e,"valueOf")&&(t.valueOf=e.valueOf),t}function o(t,e,n,i){return Dt(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(0/0);return null!=t?a(u(e),t):u(e).userInvalidated=!0,e}function h(t,e){var n,i,r;if("undefined"!=typeof e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),"undefined"!=typeof e._i&&(t._i=e._i),"undefined"!=typeof e._f&&(t._f=e._f),"undefined"!=typeof e._l&&(t._l=e._l),"undefined"!=typeof e._strict&&(t._strict=e._strict),"undefined"!=typeof e._tzm&&(t._tzm=e._tzm),"undefined"!=typeof e._isUTC&&(t._isUTC=e._isUTC),"undefined"!=typeof e._offset&&(t._offset=e._offset),"undefined"!=typeof e._pf&&(t._pf=u(e)),"undefined"!=typeof e._locale&&(t._locale=e._locale),Ni.length>0)for(n in Ni)i=Ni[n],r=e[i],"undefined"!=typeof r&&(t[i]=r);return t}function p(e){h(this,e),this._d=new Date(null!=e._d?e._d.getTime():0/0),$i===!1&&($i=!0,t.updateOffset(this),$i=!1)}function f(t){return t instanceof p||null!=t&&null!=t._isAMomentObject}function m(t){return 0>t?Math.ceil(t):Math.floor(t)}function _(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=m(e)),n}function g(t,e,n){var i,r=Math.min(t.length,e.length),s=Math.abs(t.length-e.length),a=0;for(i=0;r>i;i++)(n&&t[i]!==e[i]||!n&&_(t[i])!==_(e[i]))&&a++;return a+s}function y(){}function v(t){return t?t.toLowerCase().replace("_","-"):t}function M(t){for(var e,n,i,r,s=0;s<t.length;){for(r=v(t[s]).split("-"),e=r.length,n=v(t[s+1]),n=n?n.split("-"):null;e>0;){if(i=w(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&g(r,n,!0)>=e-1)break;e--}s++}return null}function w(t){var e=null;if(!zi[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=Ii._abbr,require("./locale/"+t),b(e)}catch(n){}return zi[t]}function b(t,e){var n;return t&&(n="undefined"==typeof e?k(t):L(t,e),n&&(Ii=n)),Ii._abbr}function L(t,e){return null!==e?(e.abbr=t,zi[t]=zi[t]||new y,zi[t].set(e),b(t),zi[t]):(delete zi[t],null)}function k(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Ii;if(!n(t)){if(e=w(t))return e;t=[t]}return M(t)}function Y(t,e){var n=t.toLowerCase();Bi[n]=Bi[n+"s"]=Bi[e]=t}function x(t){return"string"==typeof t?Bi[t]||Bi[t.toLowerCase()]:void 0}function T(t){var e,n,i={};for(n in t)s(t,n)&&(e=x(n),e&&(i[e]=t[n]));return i}function D(e,n){return function(i){return null!=i?(C(this,e,i),t.updateOffset(this,n),this):S(this,e)}}function S(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function C(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function H(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if(t=x(t),"function"==typeof this[t])return this[t](e);return this}function j(t,e,n){var i=""+Math.abs(t),r=e-i.length,s=t>=0;return(s?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function A(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(Ji[t]=r),e&&(Ji[e[0]]=function(){return j(r.apply(this,arguments),e[1],e[2])}),n&&(Ji[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function E(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function P(t){var e,n,i=t.match(qi);for(e=0,n=i.length;n>e;e++)i[e]=Ji[i[e]]?Ji[i[e]]:E(i[e]);return function(r){var s="";for(e=0;n>e;e++)s+=i[e]instanceof Function?i[e].call(r,t):i[e];return s}}function W(t,e){return t.isValid()?(e=F(e,t.localeData()),Vi[e]=Vi[e]||P(e),Vi[e](t)):t.localeData().invalidDate()}function F(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(Ui.lastIndex=0;i>=0&&Ui.test(t);)t=t.replace(Ui,n),Ui.lastIndex=0,i-=1;return t}function O(t){return"function"==typeof t&&"[object Function]"===Object.prototype.toString.call(t)}function R(t,e,n){ur[t]=O(e)?e:function(t){return t&&n?n:e}}function I(t,e){return s(ur,t)?ur[t](e._strict,e._locale):new RegExp(N(t))}function N(t){return t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function $(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(i=function(t,n){n[e]=_(t)}),n=0;n<t.length;n++)dr[t[n]]=i}function z(t,e){$(t,function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)})}function B(t,e,n){null!=e&&s(dr,t)&&dr[t](e,n._a,n,t)}function q(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function U(t){return this._months[t.month()]}function V(t){return this._monthsShort[t.month()]}function J(t,e,n){var i,r,s;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]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(s.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 X(t,e){var n;return"string"==typeof e&&(e=t.localeData().monthsParse(e),"number"!=typeof e)?t:(n=Math.min(t.date(),q(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t)}function G(e){return null!=e?(X(this,e),t.updateOffset(this,!0),this):S(this,"Month")}function Q(){return q(this.year(),this.month())}function K(t){var e,n=t._a;return n&&-2===u(t).overflow&&(e=n[hr]<0||n[hr]>11?hr:n[pr]<1||n[pr]>q(n[cr],n[hr])?pr:n[fr]<0||n[fr]>24||24===n[fr]&&(0!==n[mr]||0!==n[_r]||0!==n[gr])?fr:n[mr]<0||n[mr]>59?mr:n[_r]<0||n[_r]>59?_r:n[gr]<0||n[gr]>999?gr:-1,u(t)._overflowDayOfYear&&(cr>e||e>pr)&&(e=pr),u(t).overflow=e),t}function Z(e){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function tt(t,e){var n=!0;return a(function(){return n&&(Z(t+"\n"+(new Error).stack),n=!1),e.apply(this,arguments);
},e)}function et(t,e){Mr[t]||(Z(e),Mr[t]=!0)}function nt(t){var e,n,i=t._i,r=wr.exec(i);if(r){for(u(t).iso=!0,e=0,n=br.length;n>e;e++)if(br[e][1].exec(i)){t._f=br[e][0];break}for(e=0,n=Lr.length;n>e;e++)if(Lr[e][1].exec(i)){t._f+=(r[6]||" ")+Lr[e][0];break}i.match(ar)&&(t._f+="Z"),wt(t)}else t._isValid=!1}function it(e){var n=kr.exec(e._i);return null!==n?void(e._d=new Date(+n[1])):(nt(e),void(e._isValid===!1&&(delete e._isValid,t.createFromInputFallback(e))))}function rt(t,e,n,i,r,s,a){var o=new Date(t,e,n,i,r,s,a);return 1970>t&&o.setFullYear(t),o}function st(t){var e=new Date(Date.UTC.apply(null,arguments));return 1970>t&&e.setUTCFullYear(t),e}function at(t){return ot(t)?366:365}function ot(t){return t%4===0&&t%100!==0||t%400===0}function lt(){return ot(this.year())}function ut(t,e,n){var i,r=n-e,s=n-t.day();return s>r&&(s-=7),r-7>s&&(s+=7),i=St(t).add(s,"d"),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function dt(t){return ut(t,this._week.dow,this._week.doy).week}function ct(){return this._week.dow}function ht(){return this._week.doy}function pt(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function ft(t){var e=ut(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function mt(t,e,n,i,r){var s,a=6+r-i,o=st(t,0,1+a),l=o.getUTCDay();return r>l&&(l+=7),n=null!=n?1*n:r,s=1+a+7*(e-1)-l+n,{year:s>0?t:t-1,dayOfYear:s>0?s:at(t-1)+s}}function _t(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 gt(t,e,n){return null!=t?t:null!=e?e:n}function yt(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function vt(t){var e,n,i,r,s=[];if(!t._d){for(i=yt(t),t._w&&null==t._a[pr]&&null==t._a[hr]&&Mt(t),t._dayOfYear&&(r=gt(t._a[cr],i[cr]),t._dayOfYear>at(r)&&(u(t)._overflowDayOfYear=!0),n=st(r,0,t._dayOfYear),t._a[hr]=n.getUTCMonth(),t._a[pr]=n.getUTCDate()),e=0;3>e&&null==t._a[e];++e)t._a[e]=s[e]=i[e];for(;7>e;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[fr]&&0===t._a[mr]&&0===t._a[_r]&&0===t._a[gr]&&(t._nextDay=!0,t._a[fr]=0),t._d=(t._useUTC?st:rt).apply(null,s),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[fr]=24)}}function Mt(t){var e,n,i,r,s,a,o;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(s=1,a=4,n=gt(e.GG,t._a[cr],ut(St(),1,4).year),i=gt(e.W,1),r=gt(e.E,1)):(s=t._locale._week.dow,a=t._locale._week.doy,n=gt(e.gg,t._a[cr],ut(St(),s,a).year),i=gt(e.w,1),null!=e.d?(r=e.d,s>r&&++i):r=null!=e.e?e.e+s:s),o=mt(n,i,r,a,s),t._a[cr]=o.year,t._dayOfYear=o.dayOfYear}function wt(e){if(e._f===t.ISO_8601)return void nt(e);e._a=[],u(e).empty=!0;var n,i,r,s,a,o=""+e._i,l=o.length,d=0;for(r=F(e._f,e._locale).match(qi)||[],n=0;n<r.length;n++)s=r[n],i=(o.match(I(s,e))||[])[0],i&&(a=o.substr(0,o.indexOf(i)),a.length>0&&u(e).unusedInput.push(a),o=o.slice(o.indexOf(i)+i.length),d+=i.length),Ji[s]?(i?u(e).empty=!1:u(e).unusedTokens.push(s),B(s,i,e)):e._strict&&!i&&u(e).unusedTokens.push(s);u(e).charsLeftOver=l-d,o.length>0&&u(e).unusedInput.push(o),u(e).bigHour===!0&&e._a[fr]<=12&&e._a[fr]>0&&(u(e).bigHour=void 0),e._a[fr]=bt(e._locale,e._a[fr],e._meridiem),vt(e),K(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 Lt(t){var e,n,i,r,s;if(0===t._f.length)return u(t).invalidFormat=!0,void(t._d=new Date(0/0));for(r=0;r<t._f.length;r++)s=0,e=h({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],wt(e),d(e)&&(s+=u(e).charsLeftOver,s+=10*u(e).unusedTokens.length,u(e).score=s,(null==i||i>s)&&(i=s,n=e));a(t,n||e)}function kt(t){if(!t._d){var e=T(t._i);t._a=[e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],vt(t)}}function Yt(t){var e=new p(K(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||k(t._l),null===e||void 0===r&&""===e?c({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),f(e)?new p(K(e)):(n(r)?Lt(t):r?wt(t):i(e)?t._d=e:Tt(t),t))}function Tt(e){var s=e._i;void 0===s?e._d=new Date:i(s)?e._d=new Date(+s):"string"==typeof s?it(e):n(s)?(e._a=r(s.slice(0),function(t){return parseInt(t,10)}),vt(e)):"object"==typeof s?kt(e):"number"==typeof s?e._d=new Date(s):t.createFromInputFallback(e)}function Dt(t,e,n,i,r){var s={};return"boolean"==typeof n&&(i=n,n=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=r,s._l=n,s._i=t,s._f=e,s._strict=i,Yt(s)}function St(t,e,n,i){return Dt(t,e,n,i,!1)}function Ct(t,e){var i,r;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return St();for(i=e[0],r=1;r<e.length;++r)(!e[r].isValid()||e[r][t](i))&&(i=e[r]);return i}function Ht(){var t=[].slice.call(arguments,0);return Ct("isBefore",t)}function jt(){var t=[].slice.call(arguments,0);return Ct("isAfter",t)}function At(t){var e=T(t),n=e.year||0,i=e.quarter||0,r=e.month||0,s=e.week||0,a=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=+a+7*s,this._months=+r+3*i+12*n,this._data={},this._locale=k(),this._bubble()}function Et(t){return t instanceof At}function Pt(t,e){A(t,0,0,function(){var t=this.utcOffset(),n="+";return 0>t&&(t=-t,n="-"),n+j(~~(t/60),2)+e+j(~~t%60,2)})}function Wt(t){var e=(t||"").match(ar)||[],n=e[e.length-1]||[],i=(n+"").match(Sr)||["-",0,0],r=+(60*i[1])+_(i[2]);return"+"===i[0]?r:-r}function Ft(e,n){var r,s;return n._isUTC?(r=n.clone(),s=(f(e)||i(e)?+e:+St(e))-+r,r._d.setTime(+r._d+s),t.updateOffset(r,!1),r):St(e).local()}function Ot(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Rt(e,n){var i,r=this._offset||0;return null!=e?("string"==typeof e&&(e=Wt(e)),Math.abs(e)<16&&(e=60*e),!this._isUTC&&n&&(i=Ot(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!n||this._changeInProgress?ee(this,Gt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?r:Ot(this)}function It(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Nt(t){return this.utcOffset(0,t)}function $t(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ot(this),"m")),this}function zt(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Wt(this._i)),this}function Bt(t){return t=t?St(t).utcOffset():0,(this.utcOffset()-t)%60===0}function qt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ut(){if("undefined"!=typeof this._isDSTShifted)return this._isDSTShifted;var t={};if(h(t,this),t=xt(t),t._a){var e=t._isUTC?o(t._a):St(t._a);this._isDSTShifted=this.isValid()&&g(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Vt(){return!this._isUTC}function Jt(){return this._isUTC}function Xt(){return this._isUTC&&0===this._offset}function Gt(t,e){var n,i,r,a=t,o=null;return Et(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(a={},e?a[e]=t:a.milliseconds=t):(o=Cr.exec(t))?(n="-"===o[1]?-1:1,a={y:0,d:_(o[pr])*n,h:_(o[fr])*n,m:_(o[mr])*n,s:_(o[_r])*n,ms:_(o[gr])*n}):(o=Hr.exec(t))?(n="-"===o[1]?-1:1,a={y:Qt(o[2],n),M:Qt(o[3],n),d:Qt(o[4],n),h:Qt(o[5],n),m:Qt(o[6],n),s:Qt(o[7],n),w:Qt(o[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(r=Zt(St(a.from),St(a.to)),a={},a.ms=r.milliseconds,a.M=r.months),i=new At(a),Et(t)&&s(t,"_locale")&&(i._locale=t._locale),i}function Qt(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 Zt(t,e){var n;return e=Ft(e,t),t.isBefore(e)?n=Kt(t,e):(n=Kt(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function te(t,e){return function(n,i){var r,s;return null===i||isNaN(+i)||(et(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),s=n,n=i,i=s),n="string"==typeof n?+n:n,r=Gt(n,i),ee(this,r,t),this}}function ee(e,n,i,r){var s=n._milliseconds,a=n._days,o=n._months;r=null==r?!0:r,s&&e._d.setTime(+e._d+s*i),a&&C(e,"Date",S(e,"Date")+a*i),o&&X(e,S(e,"Month")+o*i),r&&t.updateOffset(e,a||o)}function ne(t,e){var n=t||St(),i=Ft(n,this).startOf("day"),r=this.diff(i,"days",!0),s=-6>r?"sameElse":-1>r?"lastWeek":0>r?"lastDay":1>r?"sameDay":2>r?"nextDay":7>r?"nextWeek":"sameElse";return this.format(e&&e[s]||this.localeData().calendar(s,this,St(n)))}function ie(){return new p(this)}function re(t,e){var n;return e=x("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=f(t)?t:St(t),+this>+t):(n=f(t)?+t:+St(t),n<+this.clone().startOf(e))}function se(t,e){var n;return e=x("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=f(t)?t:St(t),+t>+this):(n=f(t)?+t:+St(t),+this.clone().endOf(e)<n)}function ae(t,e,n){return this.isAfter(t,n)&&this.isBefore(e,n)}function oe(t,e){var n;return e=x(e||"millisecond"),"millisecond"===e?(t=f(t)?t:St(t),+this===+t):(n=+St(t),+this.clone().startOf(e)<=n&&n<=+this.clone().endOf(e))}function le(t,e,n){var i,r,s=Ft(t,this),a=6e4*(s.utcOffset()-this.utcOffset());return e=x(e),"year"===e||"month"===e||"quarter"===e?(r=ue(this,s),"quarter"===e?r/=3:"year"===e&&(r/=12)):(i=this-s,r="second"===e?i/1e3:"minute"===e?i/6e4:"hour"===e?i/36e5:"day"===e?(i-a)/864e5:"week"===e?(i-a)/6048e5:i),n?r:m(r)}function ue(t,e){var n,i,r=12*(e.year()-t.year())+(e.month()-t.month()),s=t.clone().add(r,"months");return 0>e-s?(n=t.clone().add(r-1,"months"),i=(e-s)/(s-n)):(n=t.clone().add(r+1,"months"),i=(e-s)/(n-s)),-(r+i)}function de(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ce(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():W(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):W(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function he(e){var n=W(this,e||t.defaultFormat);return this.localeData().postformat(n)}function pe(t,e){return this.isValid()?Gt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function fe(t){return this.from(St(),t)}function me(t,e){return this.isValid()?Gt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function _e(t){return this.to(St(),t)}function ge(t){var e;return void 0===t?this._locale._abbr:(e=k(t),null!=e&&(this._locale=e),this)}function ye(){return this._locale}function ve(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 Me(t){return t=x(t),void 0===t||"millisecond"===t?this:this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")}function we(){return+this._d-6e4*(this._offset||0)}function be(){return Math.floor(+this/1e3)}function Le(){return this._offset?new Date(+this):this._d}function ke(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Ye(){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 xe(){return d(this)}function Te(){return a({},u(this))}function De(){return u(this).overflow}function Se(t,e){A(0,[t,t.length],0,e)}function Ce(t,e,n){return ut(St([t,11,31+e-n]),e,n).week}function He(t){var e=ut(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==t?e:this.add(t-e,"y")}function je(t){var e=ut(this,1,4).year;return null==t?e:this.add(t-e,"y")}function Ae(){return Ce(this.year(),1,4)}function Ee(){var t=this.localeData()._week;return Ce(this.year(),t.dow,t.doy)}function Pe(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function We(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function Fe(t){return this._weekdays[t.day()]}function Oe(t){return this._weekdaysShort[t.day()]}function Re(t){return this._weekdaysMin[t.day()]}function Ie(t){var e,n,i;for(this._weekdaysParse=this._weekdaysParse||[],e=0;7>e;e++)if(this._weekdaysParse[e]||(n=St([2e3,1]).day(e),i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(i.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e}function Ne(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=We(t,this.localeData()),this.add(t-e,"d")):e}function $e(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function ze(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)}function Be(t,e){A(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function qe(t,e){return e._meridiemParse}function Ue(t){return"p"===(t+"").toLowerCase().charAt(0)}function Ve(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Je(t,e){e[gr]=_(1e3*("0."+t))}function Xe(){return this._isUTC?"UTC":""}function Ge(){return this._isUTC?"Coordinated Universal Time":""}function Qe(t){return St(1e3*t)}function Ke(){return St.apply(null,arguments).parseZone()}function Ze(t,e,n){var i=this._calendar[t];return"function"==typeof i?i.call(e,n):i}function tn(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function en(){return this._invalidDate}function nn(t){return this._ordinal.replace("%d",t)}function rn(t){return t}function sn(t,e,n,i){var r=this._relativeTime[n];return"function"==typeof r?r(t,e,n,i):r.replace(/%d/i,t)}function an(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)}function on(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function ln(t,e,n,i){var r=k(),s=o().set(i,e);return r[n](s,t)}function un(t,e,n,i,r){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return ln(t,e,n,r);var s,a=[];for(s=0;i>s;s++)a[s]=ln(t,s,n,r);return a}function dn(t,e){return un(t,e,"months",12,"month")}function cn(t,e){return un(t,e,"monthsShort",12,"month")}function hn(t,e){return un(t,e,"weekdays",7,"day")}function pn(t,e){return un(t,e,"weekdaysShort",7,"day")}function fn(t,e){return un(t,e,"weekdaysMin",7,"day")}function mn(){var t=this._data;return this._milliseconds=ts(this._milliseconds),this._days=ts(this._days),this._months=ts(this._months),t.milliseconds=ts(t.milliseconds),t.seconds=ts(t.seconds),t.minutes=ts(t.minutes),t.hours=ts(t.hours),t.months=ts(t.months),t.years=ts(t.years),this}function _n(t,e,n,i){var r=Gt(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function gn(t,e){return _n(this,t,e,1)}function yn(t,e){return _n(this,t,e,-1)}function vn(t){return 0>t?Math.floor(t):Math.ceil(t)}function Mn(){var t,e,n,i,r,s=this._milliseconds,a=this._days,o=this._months,l=this._data;return s>=0&&a>=0&&o>=0||0>=s&&0>=a&&0>=o||(s+=864e5*vn(bn(o)+a),a=0,o=0),l.milliseconds=s%1e3,t=m(s/1e3),l.seconds=t%60,e=m(t/60),l.minutes=e%60,n=m(e/60),l.hours=n%24,a+=m(n/24),r=m(wn(a)),o+=r,a-=vn(bn(r)),i=m(o/12),o%=12,l.days=a,l.months=o,l.years=i,this}function wn(t){return 4800*t/146097}function bn(t){return 146097*t/4800}function Ln(t){var e,n,i=this._milliseconds;if(t=x(t),"month"===t||"year"===t)return e=this._days+i/864e5,n=this._months+wn(e),"month"===t?n:n/12;switch(e=this._days+Math.round(bn(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 kn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*_(this._months/12)}function Yn(t){return function(){return this.as(t)}}function xn(t){return t=x(t),this[t+"s"]()}function Tn(t){return function(){return this._data[t]}}function Dn(){return m(this.days()/7)}function Sn(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function Cn(t,e,n){var i=Gt(t).abs(),r=_s(i.as("s")),s=_s(i.as("m")),a=_s(i.as("h")),o=_s(i.as("d")),l=_s(i.as("M")),u=_s(i.as("y")),d=r<gs.s&&["s",r]||1===s&&["m"]||s<gs.m&&["mm",s]||1===a&&["h"]||a<gs.h&&["hh",a]||1===o&&["d"]||o<gs.d&&["dd",o]||1===l&&["M"]||l<gs.M&&["MM",l]||1===u&&["y"]||["yy",u];return d[2]=e,d[3]=+t>0,d[4]=n,Sn.apply(null,d)}function Hn(t,e){return void 0===gs[t]?!1:void 0===e?gs[t]:(gs[t]=e,!0)}function jn(t){var e=this.localeData(),n=Cn(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function An(){var t,e,n,i=ys(this._milliseconds)/1e3,r=ys(this._days),s=ys(this._months);t=m(i/60),e=m(t/60),i%=60,t%=60,n=m(s/12),s%=12;var a=n,o=s,l=r,u=e,d=t,c=i,h=this.asSeconds();return h?(0>h?"-":"")+"P"+(a?a+"Y":"")+(o?o+"M":"")+(l?l+"D":"")+(u||d||c?"T":"")+(u?u+"H":"")+(d?d+"M":"")+(c?c+"S":""):"P0D"}function En(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 Pn(t,e,n){var i={mm:e?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:e?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===n?e?"хвіліна":"хвіліну":"h"===n?e?"гадзіна":"гадзіну":t+" "+En(i[n],+t)}function Wn(t,e){var n={nominative:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_"),accusative:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_")},i=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function Fn(t,e){var n={nominative:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),accusative:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_")},i=/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/.test(e)?"accusative":"nominative";return n[i][t.day()]}function On(t,e,n){var i={mm:"munutenn",MM:"miz",dd:"devezh"};return t+" "+Nn(i[n],t)}function Rn(t){switch(In(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}function In(t){return t>9?In(t%10):t}function Nn(t,e){return 2===e?$n(t):t}function $n(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 zn(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 Bn(t){return t>1&&5>t&&1!==~~(t/10)}function qn(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+(Bn(t)?"minuty":"minut"):r+"minutami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(Bn(t)?"hodiny":"hodin"):r+"hodinami";case"d":return e||i?"den":"dnem";case"dd":return e||i?r+(Bn(t)?"dny":"dní"):r+"dny";case"M":return e||i?"měsíc":"měsícem";case"MM":return e||i?r+(Bn(t)?"měsíce":"měsíců"):r+"měsíci";case"y":return e||i?"rok":"rokem";case"yy":return e||i?r+(Bn(t)?"roky":"let"):r+"lety"}}function Un(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 Vn(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 Jn(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 Xn(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=Gn(t,i)+" "+r}function Gn(t,e){return 10>t?e?Ns[t]:Is[t]:t}function Qn(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 Kn(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 Zn(t){return(t?"":"[múlt] ")+"["+Us[this.day()]+"] LT[-kor]"}function ti(t,e){var n={nominative:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_"),accusative:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_")},i=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function ei(t,e){var n="հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_");return n[t.month()]}function ni(t,e){var n="կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_");return n[t.day()]}function ii(t){return t%100===11?!0:t%10===1?!1:!0}function ri(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 ii(t)?r+(e||i?"mínútur":"mínútum"):e?r+"mínúta":r+"mínútu";case"hh":return ii(t)?r+(e||i?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return e?"dagur":i?"dag":"degi";case"dd":return ii(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 ii(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 ii(t)?r+(e||i?"ár":"árum"):r+(e||i?"ár":"ári")}}function si(t,e){var n={nominative:"___________".split("_"),accusative:"___________".split("_")},i=/D[oD] *MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function ai(t,e){var n={nominative:"______".split("_"),accusative:"______".split("_")},i=/(|)/.test(e)?"accusative":"nominative";return n[i][t.day()]}function oi(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 li(t){var e=t.substr(0,t.indexOf(" "));return di(e)?"a "+t:"an "+t}function ui(t){var e=t.substr(0,t.indexOf(" "));return di(e)?"viru "+t:"virun "+t}function di(t){if(t=parseInt(t,10),isNaN(t))return!1;if(0>t)return!0;if(10>t)return t>=4&&7>=t?!0:!1;if(100>t){var e=t%10,n=t/10;return di(0===e?n:e)}if(1e4>t){for(;t>=10;)t/=10;return di(t)}return t/=1e3,di(t)}function ci(t,e,n,i){return e?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"}function hi(t,e){var n={nominative:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),accusative:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_")},i=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function pi(t,e,n,i){return e?mi(n)[0]:i?mi(n)[1]:mi(n)[2]}function fi(t){return t%10===0||t>10&&20>t}function mi(t){return Vs[t].split("_")}function _i(t,e,n,i){var r=t+" ";return 1===t?r+pi(t,e,n[0],i):e?r+(fi(t)?mi(n)[1]:mi(n)[0]):i?r+mi(n)[1]:r+(fi(t)?mi(n)[1]:mi(n)[2])}function gi(t,e){var n=-1===e.indexOf("dddd HH:mm"),i=Js[t.day()];return n?i:i.substring(0,i.length-2)+"į"}function yi(t,e,n){return n?e%10===1&&11!==e?t[2]:t[3]:e%10===1&&11!==e?t[0]:t[1]}function vi(t,e,n){return t+" "+yi(Xs[n],t,e)}function Mi(t,e,n){return yi(Xs[n],t,e)}function wi(t,e){return e?"dažas sekundes":"dažām sekundēm"}function bi(t){return 5>t%10&&t%10>1&&~~(t/10)%10!==1}function Li(t,e,n){var i=t+" ";switch(n){case"m":return e?"minuta":"minutę";case"mm":return i+(bi(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return i+(bi(t)?"godziny":"godzin");case"MM":return i+(bi(t)?"miesiące":"miesięcy");case"yy":return i+(bi(t)?"lata":"lat")}}function ki(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 Yi(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 xi(t,e,n){var i={mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===n?e?"минута":"минуту":t+" "+Yi(i[n],+t)}function Ti(t,e){var n={nominative:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),accusative:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_")},i=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function Di(t,e){var n={nominative:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),accusative:"янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек".split("_")},i=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function Si(t,e){var n={nominative:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),accusative:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_")},i=/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/.test(e)?"accusative":"nominative";return n[i][t.day()]}function Ci(t){return t>1&&5>t}function Hi(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+(Ci(t)?"minúty":"minút"):r+"minútami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(Ci(t)?"hodiny":"hodín"):r+"hodinami";case"d":return e||i?"deň":"dňom";case"dd":return e||i?r+(Ci(t)?"dni":"dní"):r+"dňami";case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?r+(Ci(t)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return e||i?"rok":"rokom";case"yy":return e||i?r+(Ci(t)?"roky":"rokov"):r+"rokmi"}}function ji(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 Ai(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].trim()}function Ei(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 Pi(t,e,n){var i={mm:"хвилина_хвилини_хвилин",hh:"година_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===n?e?"хвилина":"хвилину":"h"===n?e?"година":"годину":t+" "+Ei(i[n],+t)}function Wi(t,e){var n={nominative:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),accusative:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_")},i=/D[oD]? *MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function Fi(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 Oi(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}var Ri,Ii,Ni=t.momentProperties=[],$i=!1,zi={},Bi={},qi=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Ui=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Vi={},Ji={},Xi=/\d/,Gi=/\d\d/,Qi=/\d{3}/,Ki=/\d{4}/,Zi=/[+-]?\d{6}/,tr=/\d\d?/,er=/\d{1,3}/,nr=/\d{1,4}/,ir=/[+-]?\d{1,6}/,rr=/\d+/,sr=/[+-]?\d+/,ar=/Z|[+-]\d\d:?\d\d/gi,or=/[+-]?\d+(\.\d{1,3})?/,lr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ur={},dr={},cr=0,hr=1,pr=2,fr=3,mr=4,_r=5,gr=6;A("M",["MM",2],"Mo",function(){return this.month()+1}),A("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),A("MMMM",0,0,function(t){return this.localeData().months(this,t)}),Y("month","M"),R("M",tr),R("MM",tr,Gi),R("MMM",lr),R("MMMM",lr),$(["M","MM"],function(t,e){e[hr]=_(t)-1}),$(["MMM","MMMM"],function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[hr]=r:u(n).invalidMonth=t});var yr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),vr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Mr={};
t.suppressDeprecationWarnings=!1;var wr=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,br=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],Lr=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],kr=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=tt("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":""))}),A(0,["YY",2],0,function(){return this.year()%100}),A(0,["YYYY",4],0,"year"),A(0,["YYYYY",5],0,"year"),A(0,["YYYYYY",6,!0],0,"year"),Y("year","y"),R("Y",sr),R("YY",tr,Gi),R("YYYY",nr,Ki),R("YYYYY",ir,Zi),R("YYYYYY",ir,Zi),$(["YYYYY","YYYYYY"],cr),$("YYYY",function(e,n){n[cr]=2===e.length?t.parseTwoDigitYear(e):_(e)}),$("YY",function(e,n){n[cr]=t.parseTwoDigitYear(e)}),t.parseTwoDigitYear=function(t){return _(t)+(_(t)>68?1900:2e3)};var Yr=D("FullYear",!1);A("w",["ww",2],"wo","week"),A("W",["WW",2],"Wo","isoWeek"),Y("week","w"),Y("isoWeek","W"),R("w",tr),R("ww",tr,Gi),R("W",tr),R("WW",tr,Gi),z(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=_(t)});var xr={dow:0,doy:6};A("DDD",["DDDD",3],"DDDo","dayOfYear"),Y("dayOfYear","DDD"),R("DDD",er),R("DDDD",Qi),$(["DDD","DDDD"],function(t,e,n){n._dayOfYear=_(t)}),t.ISO_8601=function(){};var Tr=tt("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=St.apply(null,arguments);return this>t?this:t}),Dr=tt("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=St.apply(null,arguments);return t>this?this:t});Pt("Z",":"),Pt("ZZ",""),R("Z",ar),R("ZZ",ar),$(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Wt(t)});var Sr=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Cr=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Hr=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;Gt.fn=At.prototype;var jr=te(1,"add"),Ar=te(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Er=tt("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)});A(0,["gg",2],0,function(){return this.weekYear()%100}),A(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Se("gggg","weekYear"),Se("ggggg","weekYear"),Se("GGGG","isoWeekYear"),Se("GGGGG","isoWeekYear"),Y("weekYear","gg"),Y("isoWeekYear","GG"),R("G",sr),R("g",sr),R("GG",tr,Gi),R("gg",tr,Gi),R("GGGG",nr,Ki),R("gggg",nr,Ki),R("GGGGG",ir,Zi),R("ggggg",ir,Zi),z(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=_(t)}),z(["gg","GG"],function(e,n,i,r){n[r]=t.parseTwoDigitYear(e)}),A("Q",0,0,"quarter"),Y("quarter","Q"),R("Q",Xi),$("Q",function(t,e){e[hr]=3*(_(t)-1)}),A("D",["DD",2],"Do","date"),Y("date","D"),R("D",tr),R("DD",tr,Gi),R("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),$(["D","DD"],pr),$("Do",function(t,e){e[pr]=_(t.match(tr)[0],10)});var Pr=D("Date",!0);A("d",0,"do","day"),A("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),A("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),A("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),A("e",0,0,"weekday"),A("E",0,0,"isoWeekday"),Y("day","d"),Y("weekday","e"),Y("isoWeekday","E"),R("d",tr),R("e",tr),R("E",tr),R("dd",lr),R("ddd",lr),R("dddd",lr),z(["dd","ddd","dddd"],function(t,e,n){var i=n._locale.weekdaysParse(t);null!=i?e.d=i:u(n).invalidWeekday=t}),z(["d","e","E"],function(t,e,n,i){e[i]=_(t)});var Wr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Fr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Or="Su_Mo_Tu_We_Th_Fr_Sa".split("_");A("H",["HH",2],0,"hour"),A("h",["hh",2],0,function(){return this.hours()%12||12}),Be("a",!0),Be("A",!1),Y("hour","h"),R("a",qe),R("A",qe),R("H",tr),R("h",tr),R("HH",tr,Gi),R("hh",tr,Gi),$(["H","HH"],fr),$(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),$(["h","hh"],function(t,e,n){e[fr]=_(t),u(n).bigHour=!0});var Rr=/[ap]\.?m?\.?/i,Ir=D("Hours",!0);A("m",["mm",2],0,"minute"),Y("minute","m"),R("m",tr),R("mm",tr,Gi),$(["m","mm"],mr);var Nr=D("Minutes",!1);A("s",["ss",2],0,"second"),Y("second","s"),R("s",tr),R("ss",tr,Gi),$(["s","ss"],_r);var $r=D("Seconds",!1);A("S",0,0,function(){return~~(this.millisecond()/100)}),A(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),A(0,["SSS",3],0,"millisecond"),A(0,["SSSS",4],0,function(){return 10*this.millisecond()}),A(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),A(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),A(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),A(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),A(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Y("millisecond","ms"),R("S",er,Xi),R("SS",er,Gi),R("SSS",er,Qi);var zr;for(zr="SSSS";zr.length<=9;zr+="S")R(zr,rr);for(zr="S";zr.length<=9;zr+="S")$(zr,Je);var Br=D("Milliseconds",!1);A("z",0,0,"zoneAbbr"),A("zz",0,0,"zoneName");var qr=p.prototype;qr.add=jr,qr.calendar=ne,qr.clone=ie,qr.diff=le,qr.endOf=Me,qr.format=he,qr.from=pe,qr.fromNow=fe,qr.to=me,qr.toNow=_e,qr.get=H,qr.invalidAt=De,qr.isAfter=re,qr.isBefore=se,qr.isBetween=ae,qr.isSame=oe,qr.isValid=xe,qr.lang=Er,qr.locale=ge,qr.localeData=ye,qr.max=Dr,qr.min=Tr,qr.parsingFlags=Te,qr.set=H,qr.startOf=ve,qr.subtract=Ar,qr.toArray=ke,qr.toObject=Ye,qr.toDate=Le,qr.toISOString=ce,qr.toJSON=ce,qr.toString=de,qr.unix=be,qr.valueOf=we,qr.year=Yr,qr.isLeapYear=lt,qr.weekYear=He,qr.isoWeekYear=je,qr.quarter=qr.quarters=Pe,qr.month=G,qr.daysInMonth=Q,qr.week=qr.weeks=pt,qr.isoWeek=qr.isoWeeks=ft,qr.weeksInYear=Ee,qr.isoWeeksInYear=Ae,qr.date=Pr,qr.day=qr.days=Ne,qr.weekday=$e,qr.isoWeekday=ze,qr.dayOfYear=_t,qr.hour=qr.hours=Ir,qr.minute=qr.minutes=Nr,qr.second=qr.seconds=$r,qr.millisecond=qr.milliseconds=Br,qr.utcOffset=Rt,qr.utc=Nt,qr.local=$t,qr.parseZone=zt,qr.hasAlignedHourOffset=Bt,qr.isDST=qt,qr.isDSTShifted=Ut,qr.isLocal=Vt,qr.isUtcOffset=Jt,qr.isUtc=Xt,qr.isUTC=Xt,qr.zoneAbbr=Xe,qr.zoneName=Ge,qr.dates=tt("dates accessor is deprecated. Use date instead.",Pr),qr.months=tt("months accessor is deprecated. Use month instead",G),qr.years=tt("years accessor is deprecated. Use year instead",Yr),qr.zone=tt("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",It);var Ur=qr,Vr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Jr={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"},Xr="Invalid date",Gr="%d",Qr=/\d{1,2}/,Kr={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"},Zr=y.prototype;Zr._calendar=Vr,Zr.calendar=Ze,Zr._longDateFormat=Jr,Zr.longDateFormat=tn,Zr._invalidDate=Xr,Zr.invalidDate=en,Zr._ordinal=Gr,Zr.ordinal=nn,Zr._ordinalParse=Qr,Zr.preparse=rn,Zr.postformat=rn,Zr._relativeTime=Kr,Zr.relativeTime=sn,Zr.pastFuture=an,Zr.set=on,Zr.months=U,Zr._months=yr,Zr.monthsShort=V,Zr._monthsShort=vr,Zr.monthsParse=J,Zr.week=dt,Zr._week=xr,Zr.firstDayOfYear=ht,Zr.firstDayOfWeek=ct,Zr.weekdays=Fe,Zr._weekdays=Wr,Zr.weekdaysMin=Re,Zr._weekdaysMin=Or,Zr.weekdaysShort=Oe,Zr._weekdaysShort=Fr,Zr.weekdaysParse=Ie,Zr.isPM=Ue,Zr._meridiemParse=Rr,Zr.meridiem=Ve,b("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===_(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),t.lang=tt("moment.lang is deprecated. Use moment.locale instead.",b),t.langData=tt("moment.langData is deprecated. Use moment.localeData instead.",k);var ts=Math.abs,es=Yn("ms"),ns=Yn("s"),is=Yn("m"),rs=Yn("h"),ss=Yn("d"),as=Yn("w"),os=Yn("M"),ls=Yn("y"),us=Tn("milliseconds"),ds=Tn("seconds"),cs=Tn("minutes"),hs=Tn("hours"),ps=Tn("days"),fs=Tn("months"),ms=Tn("years"),_s=Math.round,gs={s:45,m:45,h:22,d:26,M:11},ys=Math.abs,vs=At.prototype;vs.abs=mn,vs.add=gn,vs.subtract=yn,vs.as=Ln,vs.asMilliseconds=es,vs.asSeconds=ns,vs.asMinutes=is,vs.asHours=rs,vs.asDays=ss,vs.asWeeks=as,vs.asMonths=os,vs.asYears=ls,vs.valueOf=kn,vs._bubble=Mn,vs.get=xn,vs.milliseconds=us,vs.seconds=ds,vs.minutes=cs,vs.hours=hs,vs.days=ps,vs.weeks=Dn,vs.months=fs,vs.years=ms,vs.humanize=jn,vs.toISOString=An,vs.toString=An,vs.toJSON=An,vs.locale=ge,vs.localeData=ye,vs.toIsoString=tt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",An),vs.lang=Er,A("X",0,0,"unix"),A("x",0,0,"valueOf"),R("x",sr),R("X",or),$("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),$("x",function(t,e,n){n._d=new Date(_(t))}),t.version="2.10.6",e(St),t.fn=Ur,t.min=Ht,t.max=jt,t.utc=o,t.unix=Qe,t.months=dn,t.isDate=i,t.locale=b,t.invalid=c,t.duration=Gt,t.isMoment=f,t.weekdays=hn,t.parseZone=Ke,t.localeData=k,t.isDuration=Et,t.monthsShort=cn,t.weekdaysMin=fn,t.defineLocale=L,t.weekdaysShort=pn,t.normalizeUnits=x,t.relativeTimeThreshold=Hn;var Ms=t,ws=(Ms.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}}),Ms.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:"٠"}),bs={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},Ls=(Ms.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 bs[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return ws[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),Ms.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:"٠"}),ks={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},Ys=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&10>=t%100?3:t%100>=11?4:5},xs={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},Ts=function(t){return function(e,n,i,r){var s=Ys(e),a=xs[t][Ys(e)];return 2===s&&(a=a[n?0:1]),a.replace(/%d/i,e)}},Ds=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"],Ss=(Ms.defineLocale("ar",{months:Ds,monthsShort:Ds,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:Ts("s"),m:Ts("m"),mm:Ts("m"),h:Ts("h"),hh:Ts("h"),d:Ts("d"),dd:Ts("d"),M:Ts("M"),MM:Ts("M"),y:Ts("y"),yy:Ts("y")},preparse:function(t){return t.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return ks[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return Ls[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ı"}),Cs=(Ms.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+(Ss[e]||Ss[n]||Ss[i])},week:{dow:1,doy:7}}),Ms.defineLocale("be",{months:Wn,monthsShort:"студ_лют_сак_красрав_чэрв_ліп_жнів_вераст_ліст_снеж".split("_"),weekdays:Fn,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:Pn,mm:Pn,h:Pn,hh:Pn,d:"дзень",dd:Pn,M:"месяц",MM:Pn,y:"год",yy:Pn},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}}),Ms.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:""}),Hs={"১":"1","২":"2","৩":"3","":"4","৫":"5","৬":"6","":"7","৮":"8","৯":"9","":"0"},js=(Ms.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 Hs[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return Cs[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:"༠"}),As={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},Es=(Ms.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 As[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return js[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}}),Ms.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:On,h:"un eur",hh:"%d eur",d:"un devezh",dd:On,M:"ur miz",MM:On,y:"ur bloaz",yy:Rn},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){var e=1===t?"añ":"vet";return t+e},week:{dow:1,doy:4}}),Ms.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:zn,mm:zn,h:zn,hh:zn,d:"dan",dd:zn,M:"mjesec",MM:zn,y:"godinu",yy:zn},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),Ms.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:"LT: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("_")),Ps="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),Ws=(Ms.defineLocale("cs",{months:Es,monthsShort:Ps,monthsParse:function(t,e){var n,i=[];for(n=0;12>n;n++)i[n]=new RegExp("^"+t[n]+"$|^"+e[n]+"$","i");return i}(Es,Ps),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:qn,m:qn,mm:qn,h:qn,hh:qn,d:qn,dd:qn,M:qn,MM:qn,y:qn,yy:qn},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ms.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}}),Ms.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}}),Ms.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}}),Ms.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:Un,mm:"%d Minuten",h:Un,hh:"%d Stunden",d:Un,dd:Un,M:Un,MM:Un,y:Un,yy:Un},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ms.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:Vn,mm:"%d Minuten",h:Vn,hh:"%d Stunden",d:Vn,dd:Vn,M:Vn,MM:Vn,y:Vn,yy:Vn},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ms.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"function"==typeof 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}}),Ms.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}}),Ms.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}}),Ms.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}}),Ms.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("_")),Fs="Ene_Feb_Mar_Abr_May_Jun_Jul_Ago_Sep_Oct_Nov_Dic".split("_"),Os=(Ms.defineLocale("es",{months:"Enero_Febrero_Marzo_Abril_Mayo_Junio_Julio_Agosto_Septiembre_Octubre_Noviembre_Diciembre".split("_"),monthsShort:function(t,e){return/-MMM-/.test(e)?Fs[t.month()]:Ws[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}}),Ms.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:Jn,m:Jn,mm:Jn,h:Jn,hh:Jn,d:Jn,dd:"%d päeva",M:Jn,MM:Jn,y:Jn,yy:Jn},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ms.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:"۰"}),Rs={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},Is=(Ms.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 Rs[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return Os[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(" ")),Ns=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",Is[7],Is[8],Is[9]],$s=(Ms.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:Xn,m:Xn,mm:Xn,h:Xn,hh:Xn,d:Xn,dd:Xn,M:Xn,MM:Xn,y:Xn,yy:Xn},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ms.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}}),Ms.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")}}),Ms.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("_")),zs="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),Bs=(Ms.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,e){return/-MMM-/.test(e)?zs[t.month()]:$s[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}}),Ms.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}}),Ms.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:""}),qs={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"},Us=(Ms.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 qs[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return Bs[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}}),Ms.defineLocale("hr",{months:"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:Qn,mm:Qn,h:Qn,hh:Qn,d:"dan",dd:Qn,M:"mjesec",MM:Qn,y:"godinu",yy:Qn},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(" ")),Vs=(Ms.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 Zn.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return Zn.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:Kn,m:Kn,mm:Kn,h:Kn,hh:Kn,d:Kn,dd:Kn,M:Kn,MM:Kn,y:Kn,yy:Kn},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),Ms.defineLocale("hy-am",{months:ti,monthsShort:ei,weekdays:ni,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}}),Ms.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}}),Ms.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:ri,m:ri,mm:ri,h:"klukkustund",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}}),Ms.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:"D_L_Ma_Me_G_V_S".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}}),Ms.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年"}}),Ms.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}}),Ms.defineLocale("ka",{months:si,monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:ai,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}}),Ms.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}}),Ms.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?"오전":"오후"}}),Ms.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:li,past:ui,s:"e puer Sekonnen",m:oi,mm:"%d Minutten",
h:oi,hh:"%d Stonnen",d:oi,dd:"%d Deeg",M:oi,MM:"%d Méint",y:oi,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{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"}),Js="sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),Xs=(Ms.defineLocale("lt",{months:hi,monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:gi,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:ci,m:pi,mm:_i,h:pi,hh:_i,d:pi,dd:_i,M:pi,MM:_i,y:pi,yy:_i},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("_")}),Gs=(Ms.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:wi,m:Mi,mm:vi,h:Mi,hh:vi,d:Mi,dd:vi,M:Mi,MM:vi,y:Mi,yy:vi},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=Gs.words[n];return 1===n.length?e?i[0]:i[1]:t+" "+Gs.correctGrammaticalCase(t,i)}}),Qs=(Ms.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:Gs.translate,mm:Gs.translate,h:Gs.translate,hh:Gs.translate,d:"dan",dd:Gs.translate,M:"mjesec",MM:Gs.translate,y:"godinu",yy:Gs.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),Ms.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}}),Ms.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:""}),Ks={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"},Zs=(Ms.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:"सेकंद",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 Ks[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return Qs[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}}),Ms.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}}),Ms.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:""}),ta={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","":"0"},ea=(Ms.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 ta[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return Zs[t]})},week:{dow:1,doy:4}}),Ms.defineLocale("nb",{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:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tirs_ons_tors_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".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:"[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:""}),na={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"},ia=(Ms.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 na[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return ea[t]})},meridiemParse:/राती|बिहान|दिउँसो|बेलुका|साँझ|राती/,meridiemHour:function(t,e){return 12===t&&(t=0),"राती"===e?3>t?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"बेलुका"===e||"साँझ"===e?t+12:void 0},meridiem:function(t,e,n){return 3>t?"राती":10>t?"बिहान":15>t?"दिउँसो":18>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:1,doy:7}}),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_")),ra="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),sa=(Ms.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,e){return/-MMM-/.test(e)?ra[t.month()]:ia[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}}),Ms.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 HH:mm",LLLL:"dddd D MMMM YYYY 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("_")),aa="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),oa=(Ms.defineLocale("pl",{months:function(t,e){return""===e?"("+aa[t.month()]+"|"+sa[t.month()]+")":/D MMMM/.test(e)?aa[t.month()]:sa[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:"N_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:Li,mm:Li,h:Li,hh:Li,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:Li,y:"rok",yy:Li},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ms.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º"}),Ms.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}}),Ms.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:ki,h:"o oră",hh:ki,d:"o zi",dd:ki,M:"o lună",MM:ki,y:"un an",yy:ki},week:{dow:1,doy:7}}),Ms.defineLocale("ru",{months:Ti,monthsShort:Di,weekdays:Si,weekdaysShort:с_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:с_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[й|я]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(){return 2===this.day()?"[Во] dddd [в] LT":"[В] 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:xi,mm:xi,h:"час",hh:xi,d:"день",dd:xi,M:"месяц",MM:xi,y:"год",yy:xi},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}}),Ms.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("_")),la="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),ua=(Ms.defineLocale("sk",{months:oa,monthsShort:la,monthsParse:function(t,e){var n,i=[];for(n=0;12>n;n++)i[n]=new RegExp("^"+t[n]+"$|^"+e[n]+"$","i");return i}(oa,la),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:Hi,m:Hi,mm:Hi,h:Hi,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}}),Ms.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:ji,m:ji,mm:ji,h:ji,hh:ji,d:ji,dd:ji,M:ji,MM:ji,y:ji,yy:ji},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),Ms.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=ua.words[n];return 1===n.length?e?i[0]:i[1]:t+" "+ua.correctGrammaticalCase(t,i)}}),da=(Ms.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:ua.translate,mm:ua.translate,h:ua.translate,hh:ua.translate,d:"дан",dd:ua.translate,M:"месец",MM:ua.translate,y:"годину",yy:ua.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=da.words[n];return 1===n.length?e?i[0]:i[1]:t+" "+da.correctGrammaticalCase(t,i)}}),ca=(Ms.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:da.translate,mm:da.translate,h:da.translate,hh:da.translate,d:"dan",dd:da.translate,M:"mesec",MM:da.translate,y:"godinu",yy:da.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),Ms.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}}),Ms.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+"வது"},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}}),Ms.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 ปี"}}),Ms.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}}),{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ı"}),ha=(Ms.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+(ca[e]||ca[n]||ca[i])},week:{dow:1,doy:7}}),Ms.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:"LT.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY LT",LLLL:"dddd, [li] D. MMMM [dallas] YYYY LT"},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: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}}),Ms.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}}),Ms.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}}),Ms.defineLocale("uk",{months:Wi,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_веровт_лист_груд".split("_"),weekdays:Fi,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:Oi("[Сьогодні "),nextDay:Oi("[Завтра "),lastDay:Oi("[Вчора "),nextWeek:Oi("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return Oi("[Минулої] dddd [").call(this);case 1:case 2:case 4:return Oi("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:Pi,mm:Pi,h:"годину",hh:Pi,d:"день",dd:Pi,M:"місяць",MM:Pi,y:"рік",yy:Pi},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}}),Ms.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}}),Ms.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}}),Ms.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=Ms().startOf("week"),e=this.unix()-t.unix()>=604800?"[下]":"[本]",0===this.minutes()?e+"dddAh点整":e+"dddAh点mm"},lastWeek:function(){var t,e;return t=Ms().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}}),Ms.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年"}}),Ms);return ha.locale("en"),ha}),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 s,a=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 s,u,d=!1;if(l.options=t.extend({},a,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")&&(l.component=l.element.find(0===l.element.find(".datepickerbutton").size()?'[class^="input-group-"]':".datepickerbutton")),l.format=l.options.format,s=e().localeData(),l.format||(l.format=l.options.pickDate?s.longDateFormat("L"):"",l.options.pickDate&&l.options.pickTime&&(l.format+=" "),l.format+=l.options.pickTime?s.longDateFormat("LT"):"",l.options.useSeconds&&(-1!==s.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(),b(),_(),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),P()&&(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")),l.widget.css("top"===e?{position:n,bottom:"auto",top:i.top,left:i.left,right:i.right}:{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(),L()},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++)i.append(7===n?'<th class="dow">'+r[0]+"</th>":'<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,s,a,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()&&(s=t("<tr>"),y.push(s),l.options.calendarWeeks===!0&&s.append('<td class="cw">'+i.week()+"</td>")),a="",i.year()<h||i.year()===h&&i.month()<p?a+=" old":(i.year()>h||i.year()===h&&i.month()>p)&&(a+=" new"),i.isSame(e({y:l.date.year(),M:l.date.month(),d:l.date.date()}))&&(a+=" active"),(O(i,"day")||!R(i))&&(a+=" disabled"),l.options.showToday===!0&&i.isSame(e(),"day")&&(a+=" today"),l.options.daysOfWeekDisabled)for(o=0;o<l.options.daysOfWeekDisabled.length;o++)if(i.day()===l.options.daysOfWeekDisabled[o]){a+=" disabled";break}s.append('<td class="day'+a+'">'+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"),s="";if(r.parent().hide(),l.use24hours)for(t=0,n=0;6>n;n+=1){for(s+="<tr>",i=0;4>i;i+=1)s+='<td class="hour">'+N(t.toString())+"</td>",t++;s+="</tr>"}else for(t=1,n=0;3>n;n+=1){for(s+="<tr>",i=0;4>i;i+=1)s+='<td class="hour">'+N(t.toString())+"</td>",t++;s+="</tr>"}r.html(s)},w=function(){var t,e,n=l.widget.find(".timepicker .timepicker-minutes table"),i="",r=0,s=l.options.minuteStepping;for(n.parent().hide(),1===s&&(s=5),t=0;t<Math.ceil(60/s/4);t++){for(i+="<tr>",e=0;4>e;e+=1)60>r?(i+='<td class="minute">'+N(r.toString())+"</td>",r+=s):i+="<td></td>";i+="</tr>"}n.html(i)},b=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)},L=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,s,a,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":s=z.modes[l.viewMode].navStep,"prev"===o[0].className&&(s=-1*s),l.viewDate.add(s,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")&&(a=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:a,h:l.date.hours(),m:l.date.minutes(),s:l.date.seconds()}),l.viewDate=e({y:r,M:i,d:Math.min(28,a)}),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)}},x=function(n){var i=e(l.date),r=t(n.currentTarget).data("action"),s=Y[r].apply(l,arguments);return T(n),l.date||(l.date=e({y:1970})),W(),L(),f(i,n.type),s},T=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),s=e(i.val(),l.format,l.options.useStrict);s.isValid()&&!O(s)&&R(s)?(_(),l.setValue(s),f(r,n.type),W()):(l.viewDate=r,l.unset=!0,f(r,n.type),m(s))},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,s;l.widget.on("click",".datepicker *",t.proxy(k,this)),l.widget.on("click","[data-action]",t.proxy(x,this)),l.widget.on("mousedown",t.proxy(T,this)),l.element.on("keydown",t.proxy(D,this)),l.options.pickDate&&l.options.pickTime&&l.widget.on("click.togglePicker",".accordion-toggle",function(a){if(a.stopPropagation(),e=t(this),n=e.closest("ul"),i=n.find(".in"),r=n.find(".collapse:not(.in)"),i&&i.length){if(s=i.data("collapse"),s&&s.transitioning)return;i.collapse("hide"),r.collapse("show"),e.find("span").toggleClass(l.options.icons.time+" "+l.options.icons.date),l.component&&l.component.find("span").toggleClass(l.options.icons.time+" "+l.options.icons.date)}}),l.isInput?l.element.on({click:t.proxy(l.show,this),focus:t.proxy(l.show,this),change:t.proxy(S,this),blur:t.proxy(l.hide,this)}):(l.element.on({change:t.proxy(S,this)},"input"),l.component?(l.component.on("click",t.proxy(l.show,this)),l.component.on("mousedown",t.proxy(T,this))):l.element.on("click",t.proxy(l.show,this)))},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))},E=function(){t(window).off("resize.datetimepicker"+l.id),l.isInput||t(document).off("mousedown.datetimepicker"+l.id)},P=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++)s=e.isMoment(t[n])||t[n]instanceof Date?e(t[n]):e(t[n],l.format,l.options.useStrict),s.isValid()&&(i[s.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(),E(),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&&T(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)}),E()},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(),L()):m(t)},l.getDate=function(){return l.unset?null:e(l.date)},l.setDate=function(t){var n=e(l.date);l.setValue(t?t: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&&(l.options.maxDate=e.isMoment(t)||t instanceof Date?e(t):e(t,l.format,l.options.useStrict),l.viewDate&&_())},l.setMinDate=function(t){void 0!==t&&(l.options.minDate=e.isMoment(t)||t instanceof Date?e(t):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){if(t!==e){var n=null===t,i=t===b,r=t===t,s=null===e,a=e===b,o=e===e;if(t>e&&!s||!r||n&&!a&&o||i&&o)return 1;if(e>t&&!n||!o||s&&!i&&r||a&&r)return-1}return 0}function e(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 n(t,e,n){if(e!==e)return p(t,n);for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}function i(t){return"function"==typeof t||!1}function r(t){return null==t?"":t+""}function s(t,e){for(var n=-1,i=t.length;++n<i&&e.indexOf(t.charAt(n))>-1;);return n}function a(t,e){for(var n=t.length;n--&&e.indexOf(t.charAt(n))>-1;);return n}function o(e,n){return t(e.criteria,n.criteria)||e.index-n.index}function l(e,n,i){for(var r=-1,s=e.criteria,a=n.criteria,o=s.length,l=i.length;++r<o;){var u=t(s[r],a[r]);if(u){if(r>=l)return u;var d=i[r];return u*("asc"===d||d===!0?1:-1)}}return e.index-n.index}function u(t){return Nt[t]}function d(t){return $t[t]}function c(t,e,n){return e?t=qt[t]:n&&(t=Ut[t]),"\\"+t}function h(t){return"\\"+Ut[t]}function p(t,e,n){for(var i=t.length,r=e+(n?0:-1);n?r--:++r<i;){var s=t[r];if(s!==s)return r}return-1}function f(t){return!!t&&"object"==typeof t}function m(t){return 160>=t&&t>=9&&13>=t||32==t||160==t||5760==t||6158==t||t>=8192&&(8202>=t||8232==t||8233==t||8239==t||8287==t||12288==t||65279==t)}function _(t,e){for(var n=-1,i=t.length,r=-1,s=[];++n<i;)t[n]===e&&(t[n]=N,s[++r]=n);return s}function g(t,e){for(var n,i=-1,r=t.length,s=-1,a=[];++i<r;){var o=t[i],l=e?e(o,i,t):o;i&&n===l||(n=l,a[++s]=o)}return a}function y(t){for(var e=-1,n=t.length;++e<n&&m(t.charCodeAt(e)););return e}function v(t){for(var e=t.length;e--&&m(t.charCodeAt(e)););return e}function M(t){return zt[t]}function w(m){function J(t){if(f(t)&&!So(t)&&!(t instanceof Nt)){if(t instanceof tt)return t;if(ta.call(t,"__chain__")&&ta.call(t,"__wrapped__"))return pi(t)}return new tt(t)}function K(){}function tt(t,e,n){this.__wrapped__=t,this.__actions__=n||[],this.__chain__=!!e}function Nt(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ta,this.__views__=[]}function $t(){var t=new Nt(this.__wrapped__);return t.__actions__=ne(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=ne(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=ne(this.__views__),t}function zt(){if(this.__filtered__){var t=new Nt(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function Bt(){var t=this.__wrapped__.value(),e=this.__dir__,n=So(t),i=0>e,r=n?t.length:0,s=Un(0,r,this.__views__),a=s.start,o=s.end,l=o-a,u=i?o:a-1,d=this.__iteratees__,c=d.length,h=0,p=ba(l,this.__takeCount__);if(!n||F>r||r==l&&p==l)return nn(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==R)_=M;else if(!M){if(v==O)continue t;break t}}f[h++]=_}return f}function qt(){this.__data__={}}function Ut(t){return this.has(t)&&delete this.__data__[t]}function Vt(t){return"__proto__"==t?b:this.__data__[t]}function Jt(t){return"__proto__"!=t&&ta.call(this.__data__,t)}function Xt(t,e){return"__proto__"!=t&&(this.__data__[t]=e),this}function Gt(t){var e=t?t.length:0;for(this.data={hash:_a(null),set:new da};e--;)this.push(t[e])}function Qt(t,e){var n=t.data,i="string"==typeof e||Er(e)?n.set.has(e):n.hash[e];return i?0:-1}function Kt(t){var e=this.data;"string"==typeof t||Er(t)?e.set.add(t):e.hash[t]=!0}function ee(t,e){for(var n=-1,i=t.length,r=-1,s=e.length,a=Is(i+s);++n<i;)a[n]=t[n];for(;++r<s;)a[n++]=e[r];return a}function ne(t,e){var n=-1,i=t.length;for(e||(e=Is(i));++n<i;)e[n]=t[n];return e}function ie(t,e){for(var n=-1,i=t.length;++n<i&&e(t[n],n,t)!==!1;);return t}function re(t,e){for(var n=t.length;n--&&e(t[n],n,t)!==!1;);return t}function se(t,e){for(var n=-1,i=t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function ae(t,e,n,i){for(var r=-1,s=t.length,a=i,o=a;++r<s;){var l=t[r],u=+e(l);n(u,a)&&(a=u,o=l)}return o}function oe(t,e){for(var n=-1,i=t.length,r=-1,s=[];++n<i;){var a=t[n];e(a,n,t)&&(s[++r]=a)}return s}function le(t,e){for(var n=-1,i=t.length,r=Is(i);++n<i;)r[n]=e(t[n],n,t);return r}function ue(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function de(t,e,n,i){var r=-1,s=t.length;for(i&&s&&(n=t[++r]);++r<s;)n=e(n,t[r],r,t);return n}function ce(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 he(t,e){for(var n=-1,i=t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}function pe(t,e){for(var n=t.length,i=0;n--;)i+=+e(t[n])||0;return i}function fe(t,e){return t===b?e:t}function me(t,e,n,i){return t!==b&&ta.call(i,n)?t:e}function _e(t,e,n){for(var i=-1,r=Io(e),s=r.length;++i<s;){var a=r[i],o=t[a],l=n(o,e[a],a,t,e);(l===l?l===o:o!==o)&&(o!==b||a in t)||(t[a]=l)}return t}function ge(t,e){return null==e?t:ve(e,Io(e),t)}function ye(t,e){for(var n=-1,i=null==t,r=!i&&Qn(t),s=r?t.length:0,a=e.length,o=Is(a);++n<a;){var l=e[n];o[n]=r?Kn(l,s)?t[l]:b:i?b:t[l]}return o}function ve(t,e,n){n||(n={});for(var i=-1,r=e.length;++i<r;){var s=e[i];n[s]=t[s]}return n}function Me(t,e,n){var i=typeof t;return"function"==i?e===b?t:an(t,e,n):null==t?Ts:"object"==i?Re(t):e===b?As(t):Ie(t,e)}function we(t,e,n,i,r,s,a){var o;if(n&&(o=r?n(t,i,r):n(t)),o!==b)return o;if(!Er(t))return t;var l=So(t);if(l){if(o=Vn(t),!e)return ne(t,o)}else{var u=na.call(t),d=u==V;if(u!=G&&u!=$&&(!d||r))return It[u]?Xn(t,u,e):r?t:{};if(o=Jn(d?{}:t),!e)return ge(o,t)}s||(s=[]),a||(a=[]);for(var c=s.length;c--;)if(s[c]==t)return a[c];return s.push(t),a.push(o),(l?ie:He)(t,function(i,r){o[r]=we(i,e,n,r,t,s,a)}),o}function be(t,e,n){if("function"!=typeof t)throw new Xs(I);return ca(function(){t.apply(b,n)},e)}function Le(t,e){var i=t?t.length:0,r=[];if(!i)return r;var s=-1,a=zn(),o=a===n,l=o&&e.length>=F?mn(e):null,u=e.length;l&&(a=Qt,o=!1,e=l);t:for(;++s<i;){var d=t[s];if(o&&d===d){for(var c=u;c--;)if(e[c]===d)continue t;r.push(d)}else a(e,d,0)<0&&r.push(d)}return r}function ke(t,e){var n=!0;return Pa(t,function(t,i,r){return n=!!e(t,i,r)}),n}function Ye(t,e,n,i){var r=i,s=r;return Pa(t,function(t,a,o){var l=+e(t,a,o);(n(l,r)||l===i&&l===s)&&(r=l,s=t)}),s}function xe(t,e,n,i){var r=t.length;for(n=null==n?0:+n||0,0>n&&(n=-n>r?0:r+n),i=i===b||i>r?r:+i||0,0>i&&(i+=r),r=n>i?0:i>>>0,n>>>=0;r>n;)t[n++]=e;return t}function Te(t,e){var n=[];return Pa(t,function(t,i,r){e(t,i,r)&&n.push(t)}),n}function De(t,e,n,i){var r;return n(t,function(t,n,s){return e(t,n,s)?(r=i?n:t,!1):void 0}),r}function Se(t,e,n,i){i||(i=[]);for(var r=-1,s=t.length;++r<s;){var a=t[r];f(a)&&Qn(a)&&(n||So(a)||Yr(a))?e?Se(a,e,n,i):ue(i,a):n||(i[i.length]=a)}return i}function Ce(t,e){return Fa(t,e,ts)}function He(t,e){return Fa(t,e,Io)}function je(t,e){return Oa(t,e,Io)}function Ae(t,e){for(var n=-1,i=e.length,r=-1,s=[];++n<i;){var a=e[n];Ar(t[a])&&(s[++r]=a)}return s}function Ee(t,e,n){if(null!=t){n!==b&&n in ci(t)&&(e=[n]);for(var i=0,r=e.length;null!=t&&r>i;)t=t[e[i++]];return i&&i==r?t:b}}function Pe(t,e,n,i,r,s){return t===e?!0:null==t||null==e||!Er(t)&&!f(e)?t!==t&&e!==e:We(t,e,Pe,n,i,r,s)}function We(t,e,n,i,r,s,a){var o=So(t),l=So(e),u=z,d=z;o||(u=na.call(t),u==$?u=G:u!=G&&(o=zr(t))),l||(d=na.call(e),d==$?d=G:d!=G&&(l=zr(e)));var c=u==G,h=d==G,p=u==d;if(p&&!o&&!c)return Rn(t,e,u);if(!r){var f=c&&ta.call(t,"__wrapped__"),m=h&&ta.call(e,"__wrapped__");if(f||m)return n(f?t.value():t,m?e.value():e,i,r,s,a)}if(!p)return!1;s||(s=[]),a||(a=[]);for(var _=s.length;_--;)if(s[_]==t)return a[_]==e;s.push(t),a.push(e);var g=(o?On:In)(t,e,n,i,r,s,a);return s.pop(),a.pop(),g}function Fe(t,e,n){var i=e.length,r=i,s=!n;if(null==t)return!r;for(t=ci(t);i--;){var a=e[i];if(s&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<r;){a=e[i];var o=a[0],l=t[o],u=a[1];if(s&&a[2]){if(l===b&&!(o in t))return!1}else{var d=n?n(l,u,o):b;if(!(d===b?Pe(u,l,n,!0):d))return!1}}return!0}function Oe(t,e){var n=-1,i=Qn(t)?Is(t.length):[];return Pa(t,function(t,r,s){i[++n]=e(t,r,s)}),i}function Re(t){var e=Bn(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!==b||n in ci(t))}}return function(t){return Fe(t,e)}}function Ie(t,e){var n=So(t),i=ti(t)&&ii(e),r=t+"";return t=hi(t),function(s){if(null==s)return!1;var a=r;if(s=ci(s),!(!n&&i||a in s)){if(s=1==t.length?s:Ee(s,Je(t,0,-1)),null==s)return!1;a=xi(t),s=ci(s)}return s[a]===e?e!==b||a in s:Pe(e,s[a],b,!0)}}function Ne(t,e,n,i,r){if(!Er(t))return t;var s=Qn(e)&&(So(e)||zr(e)),a=s?b:Io(e);return ie(a||e,function(o,l){if(a&&(l=o,o=e[l]),f(o))i||(i=[]),r||(r=[]),$e(t,e,l,Ne,n,i,r);else{var u=t[l],d=n?n(u,o,l,t,e):b,c=d===b;c&&(d=o),d===b&&(!s||l in t)||!c&&(d===d?d===u:u!==u)||(t[l]=d)}}),t}function $e(t,e,n,i,r,s,a){for(var o=s.length,l=e[n];o--;)if(s[o]==l)return void(t[n]=a[o]);var u=t[n],d=r?r(u,l,n,t,e):b,c=d===b;c&&(d=l,Qn(l)&&(So(l)||zr(l))?d=So(u)?u:Qn(u)?ne(u):[]:Ir(l)||Yr(l)?d=Yr(u)?Jr(u):Ir(u)?u:{}:c=!1),s.push(l),a.push(d),c?t[n]=i(d,l,r,s,a):(d===d?d!==u:u===u)&&(t[n]=d)}function ze(t){return function(e){return null==e?b:e[t]}}function Be(t){var e=t+"";return t=hi(t),function(n){return Ee(n,t,e)}}function qe(t,e){for(var n=t?e.length:0;n--;){var i=e[n];if(i!=r&&Kn(i)){var r=i;ha.call(t,i,1)}}return t}function Ue(t,e){return t+ga(Ya()*(e-t+1))}function Ve(t,e,n,i,r){return r(t,function(t,r,s){n=i?(i=!1,t):e(n,t,r,s)}),n}function Je(t,e,n){var i=-1,r=t.length;e=null==e?0:+e||0,0>e&&(e=-e>r?0:r+e),n=n===b||n>r?r:+n||0,0>n&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var s=Is(r);++i<r;)s[i]=t[i+e];return s}function Xe(t,e){var n;return Pa(t,function(t,i,r){return n=e(t,i,r),!n}),!!n}function Ge(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function Qe(t,e,n){var i=Nn(),r=-1;e=le(e,function(t){return i(t)});var s=Oe(t,function(t){var n=le(e,function(e){return e(t)});return{criteria:n,index:++r,value:t}});return Ge(s,function(t,e){return l(t,e,n)})}function Ke(t,e){var n=0;return Pa(t,function(t,i,r){n+=+e(t,i,r)||0}),n}function Ze(t,e){var i=-1,r=zn(),s=t.length,a=r===n,o=a&&s>=F,l=o?mn():null,u=[];l?(r=Qt,a=!1):(o=!1,l=e?[]:u);t:for(;++i<s;){var d=t[i],c=e?e(d,i,t):d;if(a&&d===d){for(var h=l.length;h--;)if(l[h]===c)continue t;e&&l.push(c),u.push(d)}else r(l,c,0)<0&&((e||o)&&l.push(c),u.push(d))}return u}function tn(t,e){for(var n=-1,i=e.length,r=Is(i);++n<i;)r[n]=t[e[n]];return r}function en(t,e,n,i){for(var r=t.length,s=i?r:-1;(i?s--:++s<r)&&e(t[s],s,t););return n?Je(t,i?0:s,i?s+1:r):Je(t,i?s+1:0,i?r:s)}function nn(t,e){var n=t;n instanceof Nt&&(n=n.value());for(var i=-1,r=e.length;++i<r;){var s=e[i];n=s.func.apply(s.thisArg,ue([n],s.args))}return n}function rn(t,e,n){var i=0,r=t?t.length:i;if("number"==typeof e&&e===e&&Ca>=r){for(;r>i;){var s=i+r>>>1,a=t[s];(n?e>=a:e>a)&&null!==a?i=s+1:r=s}return r}return sn(t,e,Ts,n)}function sn(t,e,n,i){e=n(e);for(var r=0,s=t?t.length:0,a=e!==e,o=null===e,l=e===b;s>r;){var u=ga((r+s)/2),d=n(t[u]),c=d!==b,h=d===d;if(a)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:s=u}return ba(s,Sa)}function an(t,e,n){if("function"!=typeof t)return Ts;if(e===b)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,i,r){return t.call(e,n,i,r)};case 4:return function(n,i,r,s){return t.call(e,n,i,r,s)};case 5:return function(n,i,r,s,a){return t.call(e,n,i,r,s,a)}}return function(){return t.apply(e,arguments)}}function on(t){var e=new sa(t.byteLength),n=new pa(e);return n.set(new pa(t)),e}function ln(t,e,n){for(var i=n.length,r=-1,s=wa(t.length-i,0),a=-1,o=e.length,l=Is(o+s);++a<o;)l[a]=e[a];for(;++r<i;)l[n[r]]=t[r];for(;s--;)l[a++]=t[r++];return l}function un(t,e,n){for(var i=-1,r=n.length,s=-1,a=wa(t.length-r,0),o=-1,l=e.length,u=Is(a+l);++s<a;)u[s]=t[s];for(var d=s;++o<l;)u[d+o]=e[o];for(;++i<r;)u[d+n[i]]=t[s++];return u}function dn(t,e){return function(n,i,r){var s=e?e():{};if(i=Nn(i,r,3),So(n))for(var a=-1,o=n.length;++a<o;){var l=n[a];t(s,l,i(l,a,n),n)}else Pa(n,function(e,n,r){t(s,e,i(e,n,r),r)});return s}}function cn(t){return gr(function(e,n){var i=-1,r=null==e?0:n.length,s=r>2?n[r-2]:b,a=r>2?n[2]:b,o=r>1?n[r-1]:b;for("function"==typeof s?(s=an(s,o,5),r-=2):(s="function"==typeof o?o:b,r-=s?1:0),a&&Zn(n[0],n[1],a)&&(s=3>r?b:s,r=1);++i<r;){var l=n[i];l&&t(e,l,s)}return e})}function hn(t,e){return function(n,i){var r=n?Na(n):0;if(!ni(r))return t(n,i);for(var s=e?r:-1,a=ci(n);(e?s--:++s<r)&&i(a[s],s,a)!==!1;);return n}}function pn(t){return function(e,n,i){for(var r=ci(e),s=i(e),a=s.length,o=t?a:-1;t?o--:++o<a;){var l=s[o];if(n(r[l],l,r)===!1)break}return e}}function fn(t,e){function n(){var r=this&&this!==Zt&&this instanceof n?i:t;return r.apply(e,arguments)}var i=gn(t);return n}function mn(t){return _a&&da?new Gt(t):null}function _n(t){return function(e){for(var n=-1,i=ks(ds(e)),r=i.length,s="";++n<r;)s=t(s,i[n],n);return s}}function gn(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=Ea(t.prototype),i=t.apply(n,e);return Er(i)?i:n}}function yn(t){function e(n,i,r){r&&Zn(n,i,r)&&(i=b);var s=Fn(n,t,b,b,b,b,b,i);return s.placeholder=e.placeholder,s}return e}function vn(t,e){return gr(function(n){var i=n[0];return null==i?i:(n.push(e),t.apply(b,n))})}function Mn(t,e){return function(n,i,r){if(r&&Zn(n,i,r)&&(i=b),i=Nn(i,r,3),1==i.length){n=So(n)?n:di(n);var s=ae(n,i,t,e);if(!n.length||s!==e)return s}return Ye(n,i,t,e)}}function wn(t,n){return function(i,r,s){if(r=Nn(r,s,3),So(i)){var a=e(i,r,n);return a>-1?i[a]:b}return De(i,r,t)}}function bn(t){return function(n,i,r){return n&&n.length?(i=Nn(i,r,3),e(n,i,t)):-1}}function Ln(t){return function(e,n,i){return n=Nn(n,i,3),De(e,n,t,!0)}}function kn(t){return function(){for(var e,n=arguments.length,i=t?n:-1,r=0,s=Is(n);t?i--:++i<n;){var a=s[r++]=arguments[i];if("function"!=typeof a)throw new Xs(I);!e&&tt.prototype.thru&&"wrapper"==$n(a)&&(e=new tt([],!0))}for(i=e?-1:n;++i<n;){a=s[i];var o=$n(a),l="wrapper"==o?Ia(a):b;e=l&&ei(l[0])&&l[1]==(H|T|S|j)&&!l[4].length&&1==l[9]?e[$n(l[0])].apply(e,l[3]):1==a.length&&ei(a)?e[o]():e.thru(a)}return function(){var t=arguments,i=t[0];if(e&&1==t.length&&So(i)&&i.length>=F)return e.plant(i).value();for(var r=0,a=n?s[r].apply(this,t):i;++r<n;)a=s[r].call(this,a);return a}}}function Yn(t,e){return function(n,i,r){return"function"==typeof i&&r===b&&So(n)?t(n,i):e(n,an(i,r,3))}}function xn(t){return function(e,n,i){return("function"!=typeof n||i!==b)&&(n=an(n,i,3)),t(e,n,ts)}}function Tn(t){return function(e,n,i){return("function"!=typeof n||i!==b)&&(n=an(n,i,3)),t(e,n)}}function Dn(t){return function(e,n,i){var r={};return n=Nn(n,i,3),He(e,function(e,i,s){var a=n(e,i,s);i=t?a:i,e=t?e:a,r[i]=e}),r}}function Sn(t){return function(e,n,i){return e=r(e),(t?e:"")+An(e,n,i)+(t?"":e)}}function Cn(t){var e=gr(function(n,i){var r=_(i,e.placeholder);return Fn(n,t,b,i,r)});return e}function Hn(t,e){return function(n,i,r,s){var a=arguments.length<3;return"function"==typeof i&&s===b&&So(n)?t(n,i,r,a):Ve(n,Nn(i,s,4),r,a,e)}}function jn(t,e,n,i,r,s,a,o,l,u){function d(){for(var v=arguments.length,M=v,w=Is(v);M--;)w[M]=arguments[M];if(i&&(w=ln(w,i,r)),s&&(w=un(w,s,a)),f||g){var L=d.placeholder,x=_(w,L);if(v-=x.length,u>v){var T=o?ne(o):b,D=wa(u-v,0),H=f?x:b,j=f?b:x,A=f?w:b,E=f?b:w;e|=f?S:C,e&=~(f?C:S),m||(e&=~(k|Y));var P=[t,e,n,A,H,E,j,T,l,D],W=jn.apply(b,P);return ei(t)&&$a(W,P),W.placeholder=L,W}}var F=h?n:this,O=p?F[t]:t;return o&&(w=li(w,o)),c&&l<w.length&&(w.length=l),this&&this!==Zt&&this instanceof d&&(O=y||gn(t)),O.apply(F,w)}var c=e&H,h=e&k,p=e&Y,f=e&T,m=e&x,g=e&D,y=p?b:gn(t);return d}function An(t,e,n){var i=t.length;if(e=+e,i>=e||!va(e))return"";var r=e-i;return n=null==n?" ":n+"",_s(n,ma(r/n.length)).slice(0,r)}function En(t,e,n,i){function r(){for(var e=-1,o=arguments.length,l=-1,u=i.length,d=Is(u+o);++l<u;)d[l]=i[l];for(;o--;)d[l++]=arguments[++e];var c=this&&this!==Zt&&this instanceof r?a:t;return c.apply(s?n:this,d)}var s=e&k,a=gn(t);return r}function Pn(t){var e=Bs[t];return function(t,n){return n=n===b?0:+n||0,n?(n=la(10,n),e(t*n)/n):e(t)}}function Wn(t){return function(e,n,i,r){var s=Nn(i);return null==i&&s===Me?rn(e,n,t):sn(e,n,s(i,r,1),t)}}function Fn(t,e,n,i,r,s,a,o){var l=e&Y;if(!l&&"function"!=typeof t)throw new Xs(I);var u=i?i.length:0;if(u||(e&=~(S|C),i=r=b),u-=r?r.length:0,e&C){var d=i,c=r;i=r=b}var h=l?b:Ia(t),p=[t,e,n,i,r,d,c,s,a,o];if(h&&(ri(p,h),e=p[1],o=p[9]),p[9]=null==o?l?0:t.length:wa(o-u,0)||0,e==k)var f=fn(p[0],p[2]);else f=e!=S&&e!=(k|S)||p[4].length?jn.apply(b,p):En.apply(b,p);var m=h?Ra:$a;return m(f,p)}function On(t,e,n,i,r,s,a){var o=-1,l=t.length,u=e.length;if(l!=u&&!(r&&u>l))return!1;for(;++o<l;){var d=t[o],c=e[o],h=i?i(r?c:d,r?d:c,o):b;if(h!==b){if(h)continue;return!1}if(r){if(!he(e,function(t){return d===t||n(d,t,i,r,s,a)}))return!1}else if(d!==c&&!n(d,c,i,r,s,a))return!1}return!0}function Rn(t,e,n){switch(n){case B:case q:return+t==+e;case U:return t.name==e.name&&t.message==e.message;case X:return t!=+t?e!=+e:t==+e;case Q:case Z:return t==e+""}return!1}function In(t,e,n,i,r,s,a){var o=Io(t),l=o.length,u=Io(e),d=u.length;if(l!=d&&!r)return!1;for(var c=l;c--;){var h=o[c];if(!(r?h in e:ta.call(e,h)))return!1}for(var p=r;++c<l;){h=o[c];var f=t[h],m=e[h],_=i?i(r?m:f,r?f:m,h):b;if(!(_===b?n(f,m,i,r,s,a):_))return!1;p||(p="constructor"==h)}if(!p){var g=t.constructor,y=e.constructor;if(g!=y&&"constructor"in t&&"constructor"in e&&!("function"==typeof g&&g instanceof g&&"function"==typeof y&&y instanceof y))return!1}return!0}function Nn(t,e,n){var i=J.callback||Ys;return i=i===Ys?Me:i,n?i(t,e,n):i}function $n(t){for(var e=t.name+"",n=Aa[e],i=n?n.length:0;i--;){var r=n[i],s=r.func;if(null==s||s==t)return r.name}return e}function zn(t,e,i){var r=J.indexOf||ki;return r=r===ki?n:r,t?r(t,e,i):r}function Bn(t){for(var e=es(t),n=e.length;n--;)e[n][2]=ii(e[n][1]);return e}function qn(t,e){var n=null==t?b:t[e];return Fr(n)?n:b}function Un(t,e,n){for(var i=-1,r=n.length;++i<r;){var s=n[i],a=s.size;switch(s.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=ba(e,t+a);break;case"takeRight":t=wa(t,e-a)}}return{start:t,end:e}}function Vn(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&ta.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Jn(t){var e=t.constructor;return"function"==typeof e&&e instanceof e||(e=Us),new e}function Xn(t,e,n){var i=t.constructor;switch(e){case et:return on(t);case B:case q:return new i(+t);case nt:case it:case rt:case st:case at:case ot:case lt:case ut:case dt:var r=t.buffer;return new i(n?on(r):r,t.byteOffset,t.length);case X:case Z:return new i(t);case Q:var s=new i(t.source,St.exec(t));s.lastIndex=t.lastIndex}return s}function Gn(t,e,n){null==t||ti(e,t)||(e=hi(e),t=1==e.length?t:Ee(t,Je(e,0,-1)),e=xi(e));var i=null==t?t:t[e];return null==i?b:i.apply(t,n)}function Qn(t){return null!=t&&ni(Na(t))}function Kn(t,e){return t="number"==typeof t||jt.test(t)?+t:-1,e=null==e?Ha:e,t>-1&&t%1==0&&e>t}function Zn(t,e,n){if(!Er(n))return!1;var i=typeof e;if("number"==i?Qn(n)&&Kn(e,n.length):"string"==i&&e in n){var r=n[e];return t===t?t===r:r!==r}return!1}function ti(t,e){var n=typeof t;if("string"==n&&bt.test(t)||"number"==n)return!0;if(So(t))return!1;var i=!wt.test(t);return i||null!=e&&t in ci(e)}function ei(t){var e=$n(t),n=J[e];if("function"!=typeof n||!(e in Nt.prototype))return!1;if(t===n)return!0;var i=Ia(n);return!!i&&t===i[0]}function ni(t){return"number"==typeof t&&t>-1&&t%1==0&&Ha>=t}function ii(t){return t===t&&!Er(t)}function ri(t,e){var n=t[1],i=e[1],r=n|i,s=H>r,a=i==H&&n==T||i==H&&n==j&&t[7].length<=e[8]||i==(H|j)&&n==T;if(!s&&!a)return t;i&k&&(t[2]=e[2],r|=n&k?0:x);var o=e[3];if(o){var l=t[3];t[3]=l?ln(l,o,e[4]):ne(o),t[4]=l?_(t[3],N):ne(e[4])}return o=e[5],o&&(l=t[5],t[5]=l?un(l,o,e[6]):ne(o),t[6]=l?_(t[5],N):ne(e[6])),o=e[7],o&&(t[7]=ne(o)),i&H&&(t[8]=null==t[8]?e[8]:ba(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r,t}function si(t,e){return t===b?e:Co(t,e,si)}function ai(t,e){t=ci(t);for(var n=-1,i=e.length,r={};++n<i;){var s=e[n];s in t&&(r[s]=t[s])}return r}function oi(t,e){var n={};return Ce(t,function(t,i,r){e(t,i,r)&&(n[i]=t)}),n}function li(t,e){for(var n=t.length,i=ba(e.length,n),r=ne(t);i--;){var s=e[i];t[i]=Kn(s,n)?r[s]:b}return t}function ui(t){for(var e=ts(t),n=e.length,i=n&&t.length,r=!!i&&ni(i)&&(So(t)||Yr(t)),s=-1,a=[];++s<n;){var o=e[s];(r&&Kn(o,i)||ta.call(t,o))&&a.push(o)}return a}function di(t){return null==t?[]:Qn(t)?Er(t)?t:Us(t):ss(t)}function ci(t){return Er(t)?t:Us(t)}function hi(t){if(So(t))return t;var e=[];return r(t).replace(Lt,function(t,n,i,r){e.push(i?r.replace(Tt,"$1"):n||t)}),e}function pi(t){return t instanceof Nt?t.clone():new tt(t.__wrapped__,t.__chain__,ne(t.__actions__))}function fi(t,e,n){e=(n?Zn(t,e,n):null==e)?1:wa(ga(e)||1,1);for(var i=0,r=t?t.length:0,s=-1,a=Is(ma(r/e));r>i;)a[++s]=Je(t,i,i+=e);return a}function mi(t){for(var e=-1,n=t?t.length:0,i=-1,r=[];++e<n;){var s=t[e];s&&(r[++i]=s)}return r}function _i(t,e,n){var i=t?t.length:0;return i?((n?Zn(t,e,n):null==e)&&(e=1),Je(t,0>e?0:e)):[]}function gi(t,e,n){var i=t?t.length:0;return i?((n?Zn(t,e,n):null==e)&&(e=1),e=i-(+e||0),Je(t,0,0>e?0:e)):[]}function yi(t,e,n){return t&&t.length?en(t,Nn(e,n,3),!0,!0):[]}function vi(t,e,n){return t&&t.length?en(t,Nn(e,n,3),!0):[]}function Mi(t,e,n,i){var r=t?t.length:0;return r?(n&&"number"!=typeof n&&Zn(t,e,n)&&(n=0,i=r),xe(t,e,n,i)):[]}function wi(t){return t?t[0]:b}function bi(t,e,n){var i=t?t.length:0;return n&&Zn(t,e,n)&&(e=!1),i?Se(t,e):[]}function Li(t){var e=t?t.length:0;return e?Se(t,!0):[]}function ki(t,e,i){var r=t?t.length:0;if(!r)return-1;if("number"==typeof i)i=0>i?wa(r+i,0):i;else if(i){var s=rn(t,e);return r>s&&(e===e?e===t[s]:t[s]!==t[s])?s:-1}return n(t,e,i||0)}function Yi(t){return gi(t,1)}function xi(t){var e=t?t.length:0;return e?t[e-1]:b}function Ti(t,e,n){var i=t?t.length:0;if(!i)return-1;var r=i;if("number"==typeof n)r=(0>n?wa(i+n,0):ba(n||0,i-1))+1;else if(n){r=rn(t,e,!0)-1;var s=t[r];return(e===e?e===s:s!==s)?r:-1}if(e!==e)return p(t,r,!0);for(;r--;)if(t[r]===e)return r;return-1}function Di(){var t=arguments,e=t[0];if(!e||!e.length)return e;for(var n=0,i=zn(),r=t.length;++n<r;)for(var s=0,a=t[n];(s=i(e,a,s))>-1;)ha.call(e,s,1);return e}function Si(t,e,n){var i=[];if(!t||!t.length)return i;var r=-1,s=[],a=t.length;for(e=Nn(e,n,3);++r<a;){var o=t[r];e(o,r,t)&&(i.push(o),s.push(r))}return qe(t,s),i}function Ci(t){return _i(t,1)}function Hi(t,e,n){var i=t?t.length:0;return i?(n&&"number"!=typeof n&&Zn(t,e,n)&&(e=0,n=i),Je(t,e,n)):[]}function ji(t,e,n){var i=t?t.length:0;return i?((n?Zn(t,e,n):null==e)&&(e=1),Je(t,0,0>e?0:e)):[]}function Ai(t,e,n){var i=t?t.length:0;return i?((n?Zn(t,e,n):null==e)&&(e=1),e=i-(+e||0),Je(t,0>e?0:e)):[]}function Ei(t,e,n){return t&&t.length?en(t,Nn(e,n,3),!1,!0):[]}function Pi(t,e,n){return t&&t.length?en(t,Nn(e,n,3)):[]}function Wi(t,e,i,r){var s=t?t.length:0;if(!s)return[];null!=e&&"boolean"!=typeof e&&(r=i,i=Zn(t,e,r)?b:e,e=!1);var a=Nn();return(null!=i||a!==Me)&&(i=a(i,r,3)),e&&zn()===n?g(t,i):Ze(t,i)}function Fi(t){if(!t||!t.length)return[];var e=-1,n=0;t=oe(t,function(t){return Qn(t)?(n=wa(t.length,n),!0):void 0});for(var i=Is(n);++e<n;)i[e]=le(t,ze(e));return i}function Oi(t,e,n){var i=t?t.length:0;if(!i)return[];var r=Fi(t);return null==e?r:(e=an(e,n,4),le(r,function(t){return de(t,e,b,!0)}))}function Ri(){for(var t=-1,e=arguments.length;++t<e;){var n=arguments[t];if(Qn(n))var i=i?ue(Le(i,n),Le(n,i)):n}return i?Ze(i):[]}function Ii(t,e){var n=-1,i=t?t.length:0,r={};for(!i||e||So(t[0])||(e=[]);++n<i;){var s=t[n];e?r[s]=e[n]:s&&(r[s[0]]=s[1])}return r}function Ni(t){var e=J(t);return e.__chain__=!0,e}function $i(t,e,n){return e.call(n,t),t}function zi(t,e,n){return e.call(n,t)}function Bi(){return Ni(this)}function qi(){return new tt(this.value(),this.__chain__)}function Ui(t){for(var e,n=this;n instanceof K;){var i=pi(n);e?r.__wrapped__=i:e=i;var r=i;n=n.__wrapped__}return r.__wrapped__=t,e}function Vi(){var t=this.__wrapped__,e=function(t){return t.reverse()};if(t instanceof Nt){var n=t;return this.__actions__.length&&(n=new Nt(this)),n=n.reverse(),n.__actions__.push({func:zi,args:[e],thisArg:b}),new tt(n,this.__chain__)}return this.thru(e)}function Ji(){return this.value()+""}function Xi(){return nn(this.__wrapped__,this.__actions__)}function Gi(t,e,n){var i=So(t)?se:ke;return n&&Zn(t,e,n)&&(e=b),("function"!=typeof e||n!==b)&&(e=Nn(e,n,3)),i(t,e)}function Qi(t,e,n){var i=So(t)?oe:Te;return e=Nn(e,n,3),i(t,e)}function Ki(t,e){return io(t,Re(e))}function Zi(t,e,n,i){var r=t?Na(t):0;return ni(r)||(t=ss(t),r=t.length),n="number"!=typeof n||i&&Zn(e,n,i)?0:0>n?wa(r+n,0):n||0,"string"==typeof t||!So(t)&&$r(t)?r>=n&&t.indexOf(e,n)>-1:!!r&&zn(t,e,n)>-1}function tr(t,e,n){var i=So(t)?le:Oe;return e=Nn(e,n,3),i(t,e)}function er(t,e){return tr(t,As(e))}function nr(t,e,n){var i=So(t)?oe:Te;return e=Nn(e,n,3),i(t,function(t,n,i){return!e(t,n,i)})}function ir(t,e,n){if(n?Zn(t,e,n):null==e){t=di(t);var i=t.length;return i>0?t[Ue(0,i-1)]:b}var r=-1,s=Vr(t),i=s.length,a=i-1;for(e=ba(0>e?0:+e||0,i);++r<e;){var o=Ue(r,a),l=s[o];s[o]=s[r],s[r]=l}return s.length=e,s}function rr(t){return ir(t,Ta)}function sr(t){var e=t?Na(t):0;return ni(e)?e:Io(t).length}function ar(t,e,n){var i=So(t)?he:Xe;return n&&Zn(t,e,n)&&(e=b),("function"!=typeof e||n!==b)&&(e=Nn(e,n,3)),i(t,e)}function or(t,e,n){if(null==t)return[];n&&Zn(t,e,n)&&(e=b);var i=-1;e=Nn(e,n,3);var r=Oe(t,function(t,n,r){return{criteria:e(t,n,r),index:++i,value:t}});return Ge(r,o)}function lr(t,e,n,i){return null==t?[]:(i&&Zn(e,n,i)&&(n=b),So(e)||(e=null==e?[]:[e]),So(n)||(n=null==n?[]:[n]),Qe(t,e,n))}function ur(t,e){return Qi(t,Re(e))}function dr(t,e){if("function"!=typeof e){if("function"!=typeof t)throw new Xs(I);var n=t;t=e,e=n}return t=va(t=+t)?t:0,function(){return--t<1?e.apply(this,arguments):void 0}}function cr(t,e,n){return n&&Zn(t,e,n)&&(e=b),e=t&&null==e?t.length:wa(+e||0,0),Fn(t,H,b,b,b,b,e)}function hr(t,e){var n;if("function"!=typeof e){if("function"!=typeof t)throw new Xs(I);var i=t;t=e,e=i}return function(){return--t>0&&(n=e.apply(this,arguments)),1>=t&&(e=b),n}}function pr(t,e,n){function i(){p&&aa(p),u&&aa(u),m=0,u=p=f=b}function r(e,n){n&&aa(n),u=p=f=b,e&&(m=mo(),d=t.apply(h,l),p||u||(l=h=b))}function s(){var t=e-(mo()-c);0>=t||t>e?r(f,u):p=ca(s,t)}function a(){r(g,p)}function o(){if(l=arguments,c=mo(),h=this,f=g&&(p||!y),_===!1)var n=y&&!p;else{u||y||(m=c);var i=_-(c-m),r=0>=i||i>_;r?(u&&(u=aa(u)),m=c,d=t.apply(h,l)):u||(u=ca(a,i))}return r&&p?p=aa(p):p||e===_||(p=ca(s,e)),n&&(r=!0,d=t.apply(h,l)),!r||p||u||(l=h=b),d}var l,u,d,c,h,p,f,m=0,_=!1,g=!0;if("function"!=typeof t)throw new Xs(I);if(e=0>e?0:+e||0,n===!0){var y=!0;g=!1}else Er(n)&&(y=!!n.leading,_="maxWait"in n&&wa(+n.maxWait||0,e),g="trailing"in n?!!n.trailing:g);return o.cancel=i,o}function fr(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new Xs(I);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],s=n.cache;if(s.has(r))return s.get(r);var a=t.apply(this,i);return n.cache=s.set(r,a),a};return n.cache=new fr.Cache,n}function mr(t){if("function"!=typeof t)throw new Xs(I);return function(){return!t.apply(this,arguments)}}function _r(t){return hr(2,t)}function gr(t,e){if("function"!=typeof t)throw new Xs(I);return e=wa(e===b?t.length-1:+e||0,0),function(){for(var n=arguments,i=-1,r=wa(n.length-e,0),s=Is(r);++i<r;)s[i]=n[e+i];switch(e){case 0:return t.call(this,s);case 1:return t.call(this,n[0],s);case 2:return t.call(this,n[0],n[1],s)}var a=Is(e+1);for(i=-1;++i<e;)a[i]=n[i];return a[e]=s,t.apply(this,a)}}function yr(t){if("function"!=typeof t)throw new Xs(I);return function(e){return t.apply(this,e)}}function vr(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new Xs(I);return n===!1?i=!1:Er(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),pr(t,e,{leading:i,maxWait:+e,trailing:r})}function Mr(t,e){return e=null==e?Ts:e,Fn(e,S,b,[t],[])}function wr(t,e,n,i){return e&&"boolean"!=typeof e&&Zn(t,e,n)?e=!1:"function"==typeof e&&(i=n,n=e,e=!1),"function"==typeof n?we(t,e,an(n,i,3)):we(t,e)}function br(t,e,n){return"function"==typeof e?we(t,!0,an(e,n,3)):we(t,!0)}function Lr(t,e){return t>e}function kr(t,e){return t>=e}function Yr(t){return f(t)&&Qn(t)&&ta.call(t,"callee")&&!ua.call(t,"callee")}function xr(t){return t===!0||t===!1||f(t)&&na.call(t)==B}function Tr(t){return f(t)&&na.call(t)==q}function Dr(t){return!!t&&1===t.nodeType&&f(t)&&!Ir(t)}function Sr(t){return null==t?!0:Qn(t)&&(So(t)||$r(t)||Yr(t)||f(t)&&Ar(t.splice))?!t.length:!Io(t).length}function Cr(t,e,n,i){n="function"==typeof n?an(n,i,3):b;var r=n?n(t,e):b;return r===b?Pe(t,e,n):!!r}function Hr(t){return f(t)&&"string"==typeof t.message&&na.call(t)==U}function jr(t){return"number"==typeof t&&va(t)}function Ar(t){return Er(t)&&na.call(t)==V}function Er(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Pr(t,e,n,i){return n="function"==typeof n?an(n,i,3):b,Fe(t,Bn(e),n)}function Wr(t){return Rr(t)&&t!=+t}function Fr(t){return null==t?!1:Ar(t)?ra.test(Zs.call(t)):f(t)&&Ht.test(t)}function Or(t){return null===t}function Rr(t){return"number"==typeof t||f(t)&&na.call(t)==X}function Ir(t){
var e;if(!f(t)||na.call(t)!=G||Yr(t)||!ta.call(t,"constructor")&&(e=t.constructor,"function"==typeof e&&!(e instanceof e)))return!1;var n;return Ce(t,function(t,e){n=e}),n===b||ta.call(t,n)}function Nr(t){return Er(t)&&na.call(t)==Q}function $r(t){return"string"==typeof t||f(t)&&na.call(t)==Z}function zr(t){return f(t)&&ni(t.length)&&!!Rt[na.call(t)]}function Br(t){return t===b}function qr(t,e){return e>t}function Ur(t,e){return e>=t}function Vr(t){var e=t?Na(t):0;return ni(e)?e?ne(t):[]:ss(t)}function Jr(t){return ve(t,ts(t))}function Xr(t,e,n){var i=Ea(t);return n&&Zn(t,e,n)&&(e=b),e?ge(i,e):i}function Gr(t){return Ae(t,ts(t))}function Qr(t,e,n){var i=null==t?b:Ee(t,hi(e),e+"");return i===b?n:i}function Kr(t,e){if(null==t)return!1;var n=ta.call(t,e);if(!n&&!ti(e)){if(e=hi(e),t=1==e.length?t:Ee(t,Je(e,0,-1)),null==t)return!1;e=xi(e),n=ta.call(t,e)}return n||ni(t.length)&&Kn(e,t.length)&&(So(t)||Yr(t))}function Zr(t,e,n){n&&Zn(t,e,n)&&(e=b);for(var i=-1,r=Io(t),s=r.length,a={};++i<s;){var o=r[i],l=t[o];e?ta.call(a,l)?a[l].push(o):a[l]=[o]:a[l]=o}return a}function ts(t){if(null==t)return[];Er(t)||(t=Us(t));var e=t.length;e=e&&ni(e)&&(So(t)||Yr(t))&&e||0;for(var n=t.constructor,i=-1,r="function"==typeof n&&n.prototype===t,s=Is(e),a=e>0;++i<e;)s[i]=i+"";for(var o in t)a&&Kn(o,e)||"constructor"==o&&(r||!ta.call(t,o))||s.push(o);return s}function es(t){t=ci(t);for(var e=-1,n=Io(t),i=n.length,r=Is(i);++e<i;){var s=n[e];r[e]=[s,t[s]]}return r}function ns(t,e,n){var i=null==t?b:t[e];return i===b&&(null==t||ti(e,t)||(e=hi(e),t=1==e.length?t:Ee(t,Je(e,0,-1)),i=null==t?b:t[xi(e)]),i=i===b?n:i),Ar(i)?i.call(t):i}function is(t,e,n){if(null==t)return t;var i=e+"";e=null!=t[i]||ti(e,t)?[i]:hi(e);for(var r=-1,s=e.length,a=s-1,o=t;null!=o&&++r<s;){var l=e[r];Er(o)&&(r==a?o[l]=n:null==o[l]&&(o[l]=Kn(e[r+1])?[]:{})),o=o[l]}return t}function rs(t,e,n,i){var r=So(t)||zr(t);if(e=Nn(e,i,4),null==n)if(r||Er(t)){var s=t.constructor;n=r?So(t)?new s:[]:Ea(Ar(s)?s.prototype:b)}else n={};return(r?ie:He)(t,function(t,i,r){return e(n,t,i,r)}),n}function ss(t){return tn(t,Io(t))}function as(t){return tn(t,ts(t))}function os(t,e,n){return e=+e||0,n===b?(n=e,e=0):n=+n||0,t>=ba(e,n)&&t<wa(e,n)}function ls(t,e,n){n&&Zn(t,e,n)&&(e=n=b);var i=null==t,r=null==e;if(null==n&&(r&&"boolean"==typeof t?(n=t,t=1):"boolean"==typeof e&&(n=e,r=!0)),i&&r&&(e=1,r=!1),t=+t||0,r?(e=t,t=0):e=+e||0,n||t%1||e%1){var s=Ya();return ba(t+s*(e-t+oa("1e-"+((s+"").length-1))),e)}return Ue(t,e)}function us(t){return t=r(t),t&&t.charAt(0).toUpperCase()+t.slice(1)}function ds(t){return t=r(t),t&&t.replace(At,u).replace(xt,"")}function cs(t,e,n){t=r(t),e+="";var i=t.length;return n=n===b?i:ba(0>n?0:+n||0,i),n-=e.length,n>=0&&t.indexOf(e,n)==n}function hs(t){return t=r(t),t&&gt.test(t)?t.replace(mt,d):t}function ps(t){return t=r(t),t&&Yt.test(t)?t.replace(kt,c):t||"(?:)"}function fs(t,e,n){t=r(t),e=+e;var i=t.length;if(i>=e||!va(e))return t;var s=(e-i)/2,a=ga(s),o=ma(s);return n=An("",o,n),n.slice(0,a)+t+n}function ms(t,e,n){return(n?Zn(t,e,n):null==e)?e=0:e&&(e=+e),t=vs(t),ka(t,e||(Ct.test(t)?16:10))}function _s(t,e){var n="";if(t=r(t),e=+e,1>e||!t||!va(e))return n;do e%2&&(n+=t),e=ga(e/2),t+=t;while(e);return n}function gs(t,e,n){return t=r(t),n=null==n?0:ba(0>n?0:+n||0,t.length),t.lastIndexOf(e,n)==n}function ys(t,e,n){var i=J.templateSettings;n&&Zn(t,e,n)&&(e=n=b),t=r(t),e=_e(ge({},n||e),i,me);var s,a,o=_e(ge({},e.imports),i.imports,me),l=Io(o),u=tn(o,l),d=0,c=e.interpolate||Et,p="__p += '",f=Vs((e.escape||Et).source+"|"+c.source+"|"+(c===Mt?Dt:Et).source+"|"+(e.evaluate||Et).source+"|$","g"),m="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++Ot+"]")+"\n";t.replace(f,function(e,n,i,r,o,l){return i||(i=r),p+=t.slice(d,l).replace(Pt,h),n&&(s=!0,p+="' +\n__e("+n+") +\n'"),o&&(a=!0,p+="';\n"+o+";\n__p += '"),i&&(p+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),d=l+e.length,e}),p+="';\n";var _=e.variable;_||(p="with (obj) {\n"+p+"\n}\n"),p=(a?p.replace(ct,""):p).replace(ht,"$1").replace(pt,"$1;"),p="function("+(_||"obj")+") {\n"+(_?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(s?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var g=Qo(function(){return zs(l,m+"return "+p).apply(b,u)});if(g.source=p,Hr(g))throw g;return g}function vs(t,e,n){var i=t;return(t=r(t))?(n?Zn(i,e,n):null==e)?t.slice(y(t),v(t)+1):(e+="",t.slice(s(t,e),a(t,e)+1)):t}function Ms(t,e,n){var i=t;return t=r(t),t?t.slice((n?Zn(i,e,n):null==e)?y(t):s(t,e+"")):t}function ws(t,e,n){var i=t;return t=r(t),t?(n?Zn(i,e,n):null==e)?t.slice(0,v(t)+1):t.slice(0,a(t,e+"")+1):t}function bs(t,e,n){n&&Zn(t,e,n)&&(e=b);var i=A,s=E;if(null!=e)if(Er(e)){var a="separator"in e?e.separator:a;i="length"in e?+e.length||0:i,s="omission"in e?r(e.omission):s}else i=+e||0;if(t=r(t),i>=t.length)return t;var o=i-s.length;if(1>o)return s;var l=t.slice(0,o);if(null==a)return l+s;if(Nr(a)){if(t.slice(o).search(a)){var u,d,c=t.slice(0,o);for(a.global||(a=Vs(a.source,(St.exec(a)||"")+"g")),a.lastIndex=0;u=a.exec(c);)d=u.index;l=l.slice(0,null==d?o:d)}}else if(t.indexOf(a,o)!=o){var h=l.lastIndexOf(a);h>-1&&(l=l.slice(0,h))}return l+s}function Ls(t){return t=r(t),t&&_t.test(t)?t.replace(ft,M):t}function ks(t,e,n){return n&&Zn(t,e,n)&&(e=b),t=r(t),t.match(e||Wt)||[]}function Ys(t,e,n){return n&&Zn(t,e,n)&&(e=b),f(t)?Ds(t):Me(t,e)}function xs(t){return function(){return t}}function Ts(t){return t}function Ds(t){return Re(we(t,!0))}function Ss(t,e){return Ie(t,we(e,!0))}function Cs(t,e,n){if(null==n){var i=Er(e),r=i?Io(e):b,s=r&&r.length?Ae(e,r):b;(s?s.length:i)||(s=!1,n=e,e=t,t=this)}s||(s=Ae(e,Io(e)));var a=!0,o=-1,l=Ar(t),u=s.length;n===!1?a=!1:Er(n)&&"chain"in n&&(a=n.chain);for(;++o<u;){var d=s[o],c=e[d];t[d]=c,l&&(t.prototype[d]=function(e){return function(){var n=this.__chain__;if(a||n){var i=t(this.__wrapped__),r=i.__actions__=ne(this.__actions__);return r.push({func:e,args:arguments,thisArg:t}),i.__chain__=n,i}return e.apply(t,ue([this.value()],arguments))}}(c))}return t}function Hs(){return Zt._=ia,this}function js(){}function As(t){return ti(t)?ze(t):Be(t)}function Es(t){return function(e){return Ee(t,hi(e),e+"")}}function Ps(t,e,n){n&&Zn(t,e,n)&&(e=n=b),t=+t||0,n=null==n?1:+n||0,null==e?(e=t,t=0):e=+e||0;for(var i=-1,r=wa(ma((e-t)/(n||1)),0),s=Is(r);++i<r;)s[i]=t,t+=n;return s}function Ws(t,e,n){if(t=ga(t),1>t||!va(t))return[];var i=-1,r=Is(ba(t,Da));for(e=an(e,n,1);++i<t;)Da>i?r[i]=e(i):e(i);return r}function Fs(t){var e=++ea;return r(t)+e}function Os(t,e){return(+t||0)+(+e||0)}function Rs(t,e,n){return n&&Zn(t,e,n)&&(e=b),e=Nn(e,n,3),1==e.length?pe(So(t)?t:di(t),e):Ke(t,e)}m=m?te.defaults(Zt.Object(),m,te.pick(Zt,Ft)):Zt;{var Is=m.Array,Ns=m.Date,$s=m.Error,zs=m.Function,Bs=m.Math,qs=m.Number,Us=m.Object,Vs=m.RegExp,Js=m.String,Xs=m.TypeError,Gs=Is.prototype,Qs=Us.prototype,Ks=Js.prototype,Zs=zs.prototype.toString,ta=Qs.hasOwnProperty,ea=0,na=Qs.toString,ia=Zt._,ra=Vs("^"+Zs.call(ta).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),sa=m.ArrayBuffer,aa=m.clearTimeout,oa=m.parseFloat,la=Bs.pow,ua=Qs.propertyIsEnumerable,da=qn(m,"Set"),ca=m.setTimeout,ha=Gs.splice,pa=m.Uint8Array,fa=qn(m,"WeakMap"),ma=Bs.ceil,_a=qn(Us,"create"),ga=Bs.floor,ya=qn(Is,"isArray"),va=m.isFinite,Ma=qn(Us,"keys"),wa=Bs.max,ba=Bs.min,La=qn(Ns,"now"),ka=m.parseInt,Ya=Bs.random,xa=qs.NEGATIVE_INFINITY,Ta=qs.POSITIVE_INFINITY,Da=4294967295,Sa=Da-1,Ca=Da>>>1,Ha=9007199254740991,ja=fa&&new fa,Aa={};J.support={}}J.templateSettings={escape:yt,evaluate:vt,interpolate:Mt,variable:"",imports:{_:J}};var Ea=function(){function t(){}return function(e){if(Er(e)){t.prototype=e;var n=new t;t.prototype=b}return n||{}}}(),Pa=hn(He),Wa=hn(je,!0),Fa=pn(),Oa=pn(!0),Ra=ja?function(t,e){return ja.set(t,e),t}:Ts,Ia=ja?function(t){return ja.get(t)}:js,Na=ze("length"),$a=function(){var t=0,e=0;return function(n,i){var r=mo(),s=W-(r-e);if(e=r,s>0){if(++t>=P)return n}else t=0;return Ra(n,i)}}(),za=gr(function(t,e){return f(t)&&Qn(t)?Le(t,Se(e,!1,!0)):[]}),Ba=bn(),qa=bn(!0),Ua=gr(function(t){for(var e=t.length,i=e,r=Is(c),s=zn(),a=s===n,o=[];i--;){var l=t[i]=Qn(l=t[i])?l:[];r[i]=a&&l.length>=120?mn(i&&l):null}var u=t[0],d=-1,c=u?u.length:0,h=r[0];t:for(;++d<c;)if(l=u[d],(h?Qt(h,l):s(o,l,0))<0){for(var i=e;--i;){var p=r[i];if((p?Qt(p,l):s(t[i],l,0))<0)continue t}h&&h.push(l),o.push(l)}return o}),Va=gr(function(e,n){n=Se(n);var i=ye(e,n);return qe(e,n.sort(t)),i}),Ja=Wn(),Xa=Wn(!0),Ga=gr(function(t){return Ze(Se(t,!1,!0))}),Qa=gr(function(t,e){return Qn(t)?Le(t,e):[]}),Ka=gr(Fi),Za=gr(function(t){var e=t.length,n=e>2?t[e-2]:b,i=e>1?t[e-1]:b;return e>2&&"function"==typeof n?e-=2:(n=e>1&&"function"==typeof i?(--e,i):b,i=b),t.length=e,Oi(t,n,i)}),to=gr(function(t){return t=Se(t),this.thru(function(e){return ee(So(e)?e:[ci(e)],t)})}),eo=gr(function(t,e){return ye(t,Se(e))}),no=dn(function(t,e,n){ta.call(t,n)?++t[n]:t[n]=1}),io=wn(Pa),ro=wn(Wa,!0),so=Yn(ie,Pa),ao=Yn(re,Wa),oo=dn(function(t,e,n){ta.call(t,n)?t[n].push(e):t[n]=[e]}),lo=dn(function(t,e,n){t[n]=e}),uo=gr(function(t,e,n){var i=-1,r="function"==typeof e,s=ti(e),a=Qn(t)?Is(t.length):[];return Pa(t,function(t){var o=r?e:s&&null!=t?t[e]:b;a[++i]=o?o.apply(t,n):Gn(t,e,n)}),a}),co=dn(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),ho=Hn(de,Pa),po=Hn(ce,Wa),fo=gr(function(t,e){if(null==t)return[];var n=e[2];return n&&Zn(e[0],e[1],n)&&(e.length=1),Qe(t,Se(e),[])}),mo=La||function(){return(new Ns).getTime()},_o=gr(function(t,e,n){var i=k;if(n.length){var r=_(n,_o.placeholder);i|=S}return Fn(t,i,e,n,r)}),go=gr(function(t,e){e=e.length?Se(e):Gr(t);for(var n=-1,i=e.length;++n<i;){var r=e[n];t[r]=Fn(t[r],k,t)}return t}),yo=gr(function(t,e,n){var i=k|Y;if(n.length){var r=_(n,yo.placeholder);i|=S}return Fn(e,i,t,n,r)}),vo=yn(T),Mo=yn(D),wo=gr(function(t,e){return be(t,1,e)}),bo=gr(function(t,e,n){return be(t,e,n)}),Lo=kn(),ko=kn(!0),Yo=gr(function(t,e){if(e=Se(e),"function"!=typeof t||!se(e,i))throw new Xs(I);var n=e.length;return gr(function(i){for(var r=ba(i.length,n);r--;)i[r]=e[r](i[r]);return t.apply(this,i)})}),xo=Cn(S),To=Cn(C),Do=gr(function(t,e){return Fn(t,j,b,b,b,Se(e))}),So=ya||function(t){return f(t)&&ni(t.length)&&na.call(t)==z},Co=cn(Ne),Ho=cn(function(t,e,n){return n?_e(t,e,n):ge(t,e)}),jo=vn(Ho,fe),Ao=vn(Co,si),Eo=Ln(He),Po=Ln(je),Wo=xn(Fa),Fo=xn(Oa),Oo=Tn(He),Ro=Tn(je),Io=Ma?function(t){var e=null==t?b:t.constructor;return"function"==typeof e&&e.prototype===t||"function"!=typeof t&&Qn(t)?ui(t):Er(t)?Ma(t):[]}:ui,No=Dn(!0),$o=Dn(),zo=gr(function(t,e){if(null==t)return{};if("function"!=typeof e[0]){var e=le(Se(e),Js);return ai(t,Le(ts(t),e))}var n=an(e[0],e[1],3);return oi(t,function(t,e,i){return!n(t,e,i)})}),Bo=gr(function(t,e){return null==t?{}:"function"==typeof e[0]?oi(t,an(e[0],e[1],3)):ai(t,Se(e))}),qo=_n(function(t,e,n){return e=e.toLowerCase(),t+(n?e.charAt(0).toUpperCase()+e.slice(1):e)}),Uo=_n(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Vo=Sn(),Jo=Sn(!0),Xo=_n(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Go=_n(function(t,e,n){return t+(n?" ":"")+(e.charAt(0).toUpperCase()+e.slice(1))}),Qo=gr(function(t,e){try{return t.apply(b,e)}catch(n){return Hr(n)?n:new $s(n)}}),Ko=gr(function(t,e){return function(n){return Gn(n,t,e)}}),Zo=gr(function(t,e){return function(n){return Gn(t,n,e)}}),tl=Pn("ceil"),el=Pn("floor"),nl=Mn(Lr,xa),il=Mn(qr,Ta),rl=Pn("round");return J.prototype=K.prototype,tt.prototype=Ea(K.prototype),tt.prototype.constructor=tt,Nt.prototype=Ea(K.prototype),Nt.prototype.constructor=Nt,qt.prototype["delete"]=Ut,qt.prototype.get=Vt,qt.prototype.has=Jt,qt.prototype.set=Xt,Gt.prototype.push=Kt,fr.Cache=qt,J.after=dr,J.ary=cr,J.assign=Ho,J.at=eo,J.before=hr,J.bind=_o,J.bindAll=go,J.bindKey=yo,J.callback=Ys,J.chain=Ni,J.chunk=fi,J.compact=mi,J.constant=xs,J.countBy=no,J.create=Xr,J.curry=vo,J.curryRight=Mo,J.debounce=pr,J.defaults=jo,J.defaultsDeep=Ao,J.defer=wo,J.delay=bo,J.difference=za,J.drop=_i,J.dropRight=gi,J.dropRightWhile=yi,J.dropWhile=vi,J.fill=Mi,J.filter=Qi,J.flatten=bi,J.flattenDeep=Li,J.flow=Lo,J.flowRight=ko,J.forEach=so,J.forEachRight=ao,J.forIn=Wo,J.forInRight=Fo,J.forOwn=Oo,J.forOwnRight=Ro,J.functions=Gr,J.groupBy=oo,J.indexBy=lo,J.initial=Yi,J.intersection=Ua,J.invert=Zr,J.invoke=uo,J.keys=Io,J.keysIn=ts,J.map=tr,J.mapKeys=No,J.mapValues=$o,J.matches=Ds,J.matchesProperty=Ss,J.memoize=fr,J.merge=Co,J.method=Ko,J.methodOf=Zo,J.mixin=Cs,J.modArgs=Yo,J.negate=mr,J.omit=zo,J.once=_r,J.pairs=es,J.partial=xo,J.partialRight=To,J.partition=co,J.pick=Bo,J.pluck=er,J.property=As,J.propertyOf=Es,J.pull=Di,J.pullAt=Va,J.range=Ps,J.rearg=Do,J.reject=nr,J.remove=Si,J.rest=Ci,J.restParam=gr,J.set=is,J.shuffle=rr,J.slice=Hi,J.sortBy=or,J.sortByAll=fo,J.sortByOrder=lr,J.spread=yr,J.take=ji,J.takeRight=Ai,J.takeRightWhile=Ei,J.takeWhile=Pi,J.tap=$i,J.throttle=vr,J.thru=zi,J.times=Ws,J.toArray=Vr,J.toPlainObject=Jr,J.transform=rs,J.union=Ga,J.uniq=Wi,J.unzip=Fi,J.unzipWith=Oi,J.values=ss,J.valuesIn=as,J.where=ur,J.without=Qa,J.wrap=Mr,J.xor=Ri,J.zip=Ka,J.zipObject=Ii,J.zipWith=Za,J.backflow=ko,J.collect=tr,J.compose=ko,J.each=so,J.eachRight=ao,J.extend=Ho,J.iteratee=Ys,J.methods=Gr,J.object=Ii,J.select=Qi,J.tail=Ci,J.unique=Wi,Cs(J,J),J.add=Os,J.attempt=Qo,J.camelCase=qo,J.capitalize=us,J.ceil=tl,J.clone=wr,J.cloneDeep=br,J.deburr=ds,J.endsWith=cs,J.escape=hs,J.escapeRegExp=ps,J.every=Gi,J.find=io,J.findIndex=Ba,J.findKey=Eo,J.findLast=ro,J.findLastIndex=qa,J.findLastKey=Po,J.findWhere=Ki,J.first=wi,J.floor=el,J.get=Qr,J.gt=Lr,J.gte=kr,J.has=Kr,J.identity=Ts,J.includes=Zi,J.indexOf=ki,J.inRange=os,J.isArguments=Yr,J.isArray=So,J.isBoolean=xr,J.isDate=Tr,J.isElement=Dr,J.isEmpty=Sr,J.isEqual=Cr,J.isError=Hr,J.isFinite=jr,J.isFunction=Ar,J.isMatch=Pr,J.isNaN=Wr,J.isNative=Fr,J.isNull=Or,J.isNumber=Rr,J.isObject=Er,J.isPlainObject=Ir,J.isRegExp=Nr,J.isString=$r,J.isTypedArray=zr,J.isUndefined=Br,J.kebabCase=Uo,J.last=xi,J.lastIndexOf=Ti,J.lt=qr,J.lte=Ur,J.max=nl,J.min=il,J.noConflict=Hs,J.noop=js,J.now=mo,J.pad=fs,J.padLeft=Vo,J.padRight=Jo,J.parseInt=ms,J.random=ls,J.reduce=ho,J.reduceRight=po,J.repeat=_s,J.result=ns,J.round=rl,J.runInContext=w,J.size=sr,J.snakeCase=Xo,J.some=ar,J.sortedIndex=Ja,J.sortedLastIndex=Xa,J.startCase=Go,J.startsWith=gs,J.sum=Rs,J.template=ys,J.trim=vs,J.trimLeft=Ms,J.trimRight=ws,J.trunc=bs,J.unescape=Ls,J.uniqueId=Fs,J.words=ks,J.all=Gi,J.any=ar,J.contains=Zi,J.eq=Cr,J.detect=io,J.foldl=ho,J.foldr=po,J.head=wi,J.include=Zi,J.inject=ho,Cs(J,function(){var t={};return He(J,function(e,n){J.prototype[n]||(t[n]=e)}),t}(),!1),J.sample=ir,J.prototype.sample=function(t){return this.__chain__||null!=t?this.thru(function(e){return ir(e,t)}):ir(this.value())},J.VERSION=L,ie(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){J[t].placeholder=J}),ie(["drop","take"],function(t,e){Nt.prototype[t]=function(n){var i=this.__filtered__;if(i&&!e)return new Nt(this);n=null==n?1:wa(ga(n)||0,0);var r=this.clone();return i?r.__takeCount__=ba(r.__takeCount__,n):r.__views__.push({size:n,type:t+(r.__dir__<0?"Right":"")}),r},Nt.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),ie(["filter","map","takeWhile"],function(t,e){var n=e+1,i=n!=R;Nt.prototype[t]=function(t,e){var r=this.clone();return r.__iteratees__.push({iteratee:Nn(t,e,1),type:n}),r.__filtered__=r.__filtered__||i,r}}),ie(["first","last"],function(t,e){var n="take"+(e?"Right":"");Nt.prototype[t]=function(){return this[n](1).value()[0]}}),ie(["initial","rest"],function(t,e){var n="drop"+(e?"":"Right");Nt.prototype[t]=function(){return this.__filtered__?new Nt(this):this[n](1)}}),ie(["pluck","where"],function(t,e){var n=e?"filter":"map",i=e?Re:As;Nt.prototype[t]=function(t){return this[n](i(t))}}),Nt.prototype.compact=function(){return this.filter(Ts)},Nt.prototype.reject=function(t,e){return t=Nn(t,e,1),this.filter(function(e){return!t(e)})},Nt.prototype.slice=function(t,e){t=null==t?0:+t||0;var n=this;return n.__filtered__&&(t>0||0>e)?new Nt(n):(0>t?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==b&&(e=+e||0,n=0>e?n.dropRight(-e):n.take(e-t)),n)},Nt.prototype.takeRightWhile=function(t,e){return this.reverse().takeWhile(t,e).reverse()},Nt.prototype.toArray=function(){return this.take(Ta)},He(Nt.prototype,function(t,e){var n=/^(?:filter|map|reject)|While$/.test(e),i=/^(?:first|last)$/.test(e),r=J[i?"take"+("last"==e?"Right":""):e];r&&(J.prototype[e]=function(){var e=i?[1]:arguments,s=this.__chain__,a=this.__wrapped__,o=!!this.__actions__.length,l=a instanceof Nt,u=e[0],d=l||So(a);d&&n&&"function"==typeof u&&1!=u.length&&(l=d=!1);var c=function(t){return i&&s?r(t,1)[0]:r.apply(b,ue([t],e))},h={func:zi,args:[c],thisArg:b},p=l&&!o;if(i&&!s)return p?(a=a.clone(),a.__actions__.push(h),t.call(a)):r.call(b,this.value())[0];if(!i&&d){a=p?a:new Nt(this);var f=t.apply(a,e);return f.__actions__.push(h),new tt(f,s)}return this.thru(c)})}),ie(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(t){var e=(/^(?:replace|split)$/.test(t)?Ks:Gs)[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:join|pop|replace|shift)$/.test(t);J.prototype[t]=function(){var t=arguments;return i&&!this.__chain__?e.apply(this.value(),t):this[n](function(n){return e.apply(n,t)})}}),He(Nt.prototype,function(t,e){var n=J[e];if(n){var i=n.name+"",r=Aa[i]||(Aa[i]=[]);r.push({name:e,func:n})}}),Aa[jn(b,Y).name]=[{name:"wrapper",func:b}],Nt.prototype.clone=$t,Nt.prototype.reverse=zt,Nt.prototype.value=Bt,J.prototype.chain=Bi,J.prototype.commit=qi,J.prototype.concat=to,J.prototype.plant=Ui,J.prototype.reverse=Vi,J.prototype.toString=Ji,J.prototype.run=J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=Xi,J.prototype.collect=J.prototype.map,J.prototype.head=J.prototype.first,J.prototype.select=J.prototype.filter,J.prototype.tail=J.prototype.rest,J}var b,L="3.10.1",k=1,Y=2,x=4,T=8,D=16,S=32,C=64,H=128,j=256,A=30,E="...",P=150,W=16,F=200,O=1,R=2,I="Expected a function",N="__lodash_placeholder__",$="[object Arguments]",z="[object Array]",B="[object Boolean]",q="[object Date]",U="[object Error]",V="[object Function]",J="[object Map]",X="[object Number]",G="[object Object]",Q="[object RegExp]",K="[object Set]",Z="[object String]",tt="[object WeakMap]",et="[object ArrayBuffer]",nt="[object Float32Array]",it="[object Float64Array]",rt="[object Int8Array]",st="[object Int16Array]",at="[object Int32Array]",ot="[object Uint8Array]",lt="[object Uint8ClampedArray]",ut="[object Uint16Array]",dt="[object Uint32Array]",ct=/\b__p \+= '';/g,ht=/\b(__p \+=) '' \+/g,pt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ft=/&(?:amp|lt|gt|quot|#39|#96);/g,mt=/[&<>"'`]/g,_t=RegExp(ft.source),gt=RegExp(mt.source),yt=/<%-([\s\S]+?)%>/g,vt=/<%([\s\S]+?)%>/g,Mt=/<%=([\s\S]+?)%>/g,wt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,bt=/^\w*$/,Lt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,kt=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,Yt=RegExp(kt.source),xt=/[\u0300-\u036f\ufe20-\ufe23]/g,Tt=/\\(\\)?/g,Dt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,St=/\w*$/,Ct=/^0[xX]/,Ht=/^\[object .+?Constructor\]$/,jt=/^\d+$/,At=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Et=/($^)/,Pt=/['\n\r\u2028\u2029\\]/g,Wt=function(){var t="[A-Z\\xc0-\\xd6\\xd8-\\xde]",e="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(t+"+(?="+t+e+")|"+t+"?"+e+"|"+t+"+|[0-9]+","g")}(),Ft=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],Ot=-1,Rt={};Rt[nt]=Rt[it]=Rt[rt]=Rt[st]=Rt[at]=Rt[ot]=Rt[lt]=Rt[ut]=Rt[dt]=!0,Rt[$]=Rt[z]=Rt[et]=Rt[B]=Rt[q]=Rt[U]=Rt[V]=Rt[J]=Rt[X]=Rt[G]=Rt[Q]=Rt[K]=Rt[Z]=Rt[tt]=!1;var It={};It[$]=It[z]=It[et]=It[B]=It[q]=It[nt]=It[it]=It[rt]=It[st]=It[at]=It[X]=It[G]=It[Q]=It[Z]=It[ot]=It[lt]=It[ut]=It[dt]=!0,It[U]=It[V]=It[J]=It[K]=It[tt]=!1;var Nt={"À":"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"},$t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},zt={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},Bt={"function":!0,object:!0},qt={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},Ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Vt=Bt[typeof exports]&&exports&&!exports.nodeType&&exports,Jt=Bt[typeof module]&&module&&!module.nodeType&&module,Xt=Vt&&Jt&&"object"==typeof global&&global&&global.Object&&global,Gt=Bt[typeof self]&&self&&self.Object&&self,Qt=Bt[typeof window]&&window&&window.Object&&window,Kt=Jt&&Jt.exports===Vt&&Vt,Zt=Xt||Qt!==(this&&this.window)&&Qt||Gt||this,te=w();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Zt._=te,define(function(){return te})):Vt&&Jt?Kt?(Jt.exports=te)._=te:Vt._=te:Zt._=te}.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);h=e.overflowY,"vertical"===e.resize?t.style.resize="none":"both"===e.resize&&(t.style.resize="horizontal"),c="content-box"===e.boxSizing?-(parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)):parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth),isNaN(c)&&(c=0),r()}function n(e){var n=t.style.width;t.style.width="0px",t.offsetWidth,t.style.width=n,h=e,d&&(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+c;return 0===t.scrollHeight?void(t.style.height=i):(t.style.height=r+"px",p=t.clientWidth,document.documentElement.scrollTop=e,void(document.body.scrollTop=n))}function r(){var e=t.style.height;i();var r=window.getComputedStyle(t,null);if(r.height!==t.style.height?"visible"!==h&&n("visible"):"hidden"!==h&&n("hidden"),e!==t.style.height){var s=document.createEvent("Event");s.initEvent("autosize:resized",!0,!1),t.dispatchEvent(s)}}var a=void 0===arguments[1]?{}:arguments[1],o=a.setOverflowX,l=void 0===o?!0:o,u=a.setOverflowY,d=void 0===u?!0:u;if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!s.has(t)){var c=null,h=null,p=t.clientWidth,f=function(){t.clientWidth!==p&&r()},m=function(e){window.removeEventListener("resize",f,!1),t.removeEventListener("input",r,!1),t.removeEventListener("keyup",r,!1),t.removeEventListener("autosize:destroy",m,!1),t.removeEventListener("autosize:update",r,!1),s["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",m,!1),"onpropertychange"in t&&"oninput"in t&&t.addEventListener("keyup",r,!1),window.addEventListener("resize",f,!1),t.addEventListener("input",r,!1),t.addEventListener("autosize:update",r,!1),s.add(t),l&&(t.style.overflowX="hidden",t.style.wordWrap="break-word"),e()}}function i(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName){var e=document.createEvent("Event");e.initEvent("autosize:destroy",!0,!1),t.dispatchEvent(e)}}function r(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName){var e=document.createEvent("Event");e.initEvent("autosize:update",!0,!1),t.dispatchEvent(e)}}var s="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)}}}(),a=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(a=function(t){return t},a.destroy=function(t){return t},a.update=function(t){return t}):(a=function(t,e){return t&&Array.prototype.forEach.call(t.length?t:[t],function(t){return n(t,e)}),t},a.destroy=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],i),t},a.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],r),t}),e.exports=a}),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),s=(e.hasOwnProperty,t.forEach),a=(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(s&&t.forEach===s)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 a in t)if(u.has(t,a)&&e.call(n,t[a],a,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:a&&t.filter===a?t.filter(e,n):(c(t,function(t,r,s){e.call(n,t,r,s)&&(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 s in i)e[n].apply(e,[s,i[s]].concat(r));else{if(!t.test(i))return!0;for(var a=i.split(t),o=0,l=a.length;l>o;o++)e[n].apply(e,[a[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,s=_.once(function(){r.off(t,s),n.apply(this,arguments)});return s._callback=n,this.on(t,s,i),this},off:function(t,n,i){var r,s,a,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(a=[],n||i)for(d=0,c=r.length;c>d;d++)s=r[d],(n&&n!==s.callback&&n!==s.callback._callback||i&&i!==s.context)&&a.push(s);this._events[t]=a}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],s=this._events.all;return r&&n(r,i),s&&n(s,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,s,a,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,s=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),s.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,a,o,l;if(t||(t=s.result(this,"events"))){this.undelegateEvents(),e=/^(\S+)\s*(.*)$/,l=[];for(i in t){if(a=t[i],s.isFunction(a)||(a=this[t[i]]),!a)throw new Error('Method "'+t[i]+'" does not exist');r=i.match(e),n=r[1],o=r[2],a=s.bind(a,this),n+=".delegateEvents"+this.cid,l.push(""===o?this.jqon(n,a):this.jqon(n,o,a))}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}(),a=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 s.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],i.push("click"===e?this.$message.addClass("messenger-clickable"):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,s,a;n=[],s=this.options.actions;for(r in s)e=s[r],i=t.extend({},e),i.name=r,null==(a=i.label)&&(i.label=r),n.push(i);return n},n.prototype.template=function(e){var n,i,r,s,a,o,l,u,d,c,h=this;for(a=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}),a.append(r)),o=e.escapeText?t('<div class="messenger-message-inner"></div>').text(e.message):t('<div class="messenger-message-inner">'+e.message+"</div>"),a.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),s=t("<a>"),s.html(l.label),n.append(t('<span class="messenger-phrase">')),n.append(s),i.append(n);return a.append(i),a},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],r.push(t.auto?this.startCountdown(n,t):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,s,a=this;if(null==this._timers[t])return n=this.$message.find("[data-action='"+t+"'] .messenger-phrase"),i=null!=(s=e.delay)?s: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 s;return n.text(a.renderPhrase(e,i)),i>0?(s=Math.min(i,1),i-=s,a._timers[t]=setTimeout(r,1e3*s)):(a.$message.removeClass("messenger-retry-soon messenger-retry-later"),delete a._timers[t],e.action())})()},e}(a),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 s.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,s;if(null!=t.options.id)for(s=this.history,n=0,i=s.length;i>n;n++)if(e=s[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,s,o=this;return null==t&&(t={}),t.messenger=this,a=null!=(n=null!=(i=Messenger.themes[null!=(s=t.theme)?s:this.options.theme])?i.Message:void 0)?n:r,e=new a(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,s,a;for(i=!0,e=null,t=!1,a=this.history,r=0,s=a.length;s>r;r++)n=a[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 s.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=s.defaults(e,{id:"BACKBONE_ACTION",errorMessage:!1,successMessage:"Request completed successfully.",showSuccessWithoutError:!1}),n=function(t){var n;return n=s.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=s.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,s,a,o;null==t&&(t={}),s={};for(r in t)i=t[r],n=r.indexOf(" "),a=r.substring(0,n),e=r.substring(n+1),null==(o=s[a])&&(s[a]={}),s[a][e]=i;return s},n.prototype._normalizeResponse=function(){var t,e,n,i,r,a,o;for(n=1<=arguments.length?p.call(arguments,0):[],i=null,r=null,t=null,a=0,o=n.length;o>a;a++)e=n[a],"success"===e||"timeout"===e||"abort"===e?i=e:null!=(null!=e?e.readyState:void 0)&&null!=(null!=e?e.responseText:void 0)?r=e:s.isObject(e)&&(t=e);return[i,t,r]},n.prototype.run=function(){var e,n,i,r,a,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"],s.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"})),a={},s.each(["error","success"],function(r){var u;return u=d[r],a[r]=function(){var a,c,h,_,g,y,v,M,w,b,L,k,Y,x,T;return y=1<=arguments.length?p.call(arguments,0):[],w=m._normalizeResponse.apply(m,y),g=w[0],a=w[1],M=w[2],"success"===r&&null==l.errorCount&&o.showSuccessWithoutError===!1&&(o.successMessage=null),"error"===r&&(null==(b=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),s.isString(v)&&(v={message:v}),"error"!==r||0!==(null!=M?M.status:void 0)&&"abort"!==g?"error"===r&&null!=o.ignoredErrorCodes&&(L=null!=M?M.status:void 0,f.call(o.ignoredErrorCodes,L)>=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!=(x=_.retry)?x.allow:void 0)?(null==_.retry.delay&&(_.retry.delay=_.errorCount<4?10:300),_.hideAfter&&(null==(T=_._hideAfter)&&(_._hideAfter=_.hideAfter),_.hideAfter=_._hideAfter+_.retry.delay),_._retryActions=!0,_.actions={retry:{label:"retry now",phrase:"Retrying TIME",auto:_.retry.auto,delay:_.retry.delay,action:function(){return _.messageInstance=l,setTimeout(function(){return m["do"].apply(m,[_,d].concat(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(s.extend({},m.options,{instance:m})),l.show()):l.hide()):void l.hide()}}),!o.returnsPromise)for(c in a)r=a[c],u=d[c],d[c]=r;return l._actionInstance=o.action.apply(o,[d].concat(p.call(e))),o.returnsPromise&&l._actionInstance.then(a.success,a.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=s.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,a,l,u,d,c;return r=arguments[0],i=2<=arguments.length?p.call(arguments,1):[],null==r&&(r={}),n=this,null!=r&&s.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",a=new o(t.extend({el:n},l))),a.render()),n.data("messenger"))},window.Messenger._call=function(e){var n,i,r,s,a,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){s=u;break}l?t(l._location).is(t(s))||(l.$el.detach(),i.prepend(l.$el)):(n=t("<ul>"),i.prepend(n),l=n.messenger(e),l._location=s,Messenger.instance=l)}return null!=l._addedClasses&&l.$el.removeClass(l._addedClasses),l.$el.addClass(a=""+l.className+" "+e.extraClasses),l._addedClasses=a,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]);V(e);for(var s in this)"_"===s.charAt(0)&&(this[s]=this[s].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&&b.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 s(t,e,n){t.removeEventListener(e,n,!1)}function a(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,s=i.length;if(n)for(;s>r;r++)n(i[r],r);return i}return[]}function u(t,e,n,i,r,s,a){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=s,o.newIndex=a,e.dispatchEvent(o),l[u]&&l[u].call(t,o)}function d(t,e,n,i,r,s){var a,o,l=t[F],u=l.options.onMove;return a=R.createEvent("Event"),a.initEvent("move",!0,!0),a.to=e,a.from=t,a.dragged=n,a.draggedRect=i,a.related=r||e,a.relatedRect=s||e.getBoundingClientRect(),t.dispatchEvent(a),u&&(o=u.call(l,a)),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,b,L,k,Y,x,T,D,S,C,H,j,A,E,P={},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,[]),U=_(function(t,e,n){if(n&&e.scroll){var i,r,s,a,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(),s=(B(r.right-u)<=o)-(B(r.left-u)<=o),a=(B(r.bottom-d)<=o)-(B(r.top-d)<=o)),s||a||(s=(o>=c-u)-(o>=u),a=(o>=h-d)-(o>=d),(s||a)&&(i=O)),(P.vx!==s||P.vy!==a||P.el!==i)&&(P.el=i,P.vx=s,P.vy=a,clearInterval(P.pid),i&&(P.pid=setInterval(function(){i===O?O.scrollTo(O.pageXOffset+s*l,O.pageYOffset+a*l):(a&&(i.scrollTop+=a*l),s&&(i.scrollLeft+=s*l))},24)))}},30),V=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,s=t.type,a=t.touches&&t.touches[0],o=(a||t).target,l=o,d=r.filter;if(!("mousedown"===s&&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,a,o)}},_prepareDragStart:function(t,e,n){var i,s=this,o=s.el,u=s.options,d=o.ownerDocument;n&&!y&&n.parentNode===o&&(j=t,b=o,y=n,v=y.parentNode,L=y.nextSibling,H=u.group,i=function(){s._disableDelayedDrag(),y.draggable=!0,a(y,s.options.chosenClass,!0),s._triggerDragStart(e)},u.ignore.split(",").forEach(function(t){l(y,t.trim(),c)}),r(d,"mouseup",s._onDrop),r(d,"touchend",s._onDrop),r(d,"touchcancel",s._onDrop),u.delay?(r(d,"mouseup",s._disableDelayedDrag),r(d,"touchend",s._disableDelayedDrag),r(d,"touchcancel",s._disableDelayedDrag),r(d,"mousemove",s._disableDelayedDrag),r(d,"touchmove",s._disableDelayedDrag),s._dragStartTimer=setTimeout(i,u.delay)):i())},_disableDelayedDrag:function(){var t=this.el.ownerDocument;clearTimeout(this._dragStartTimer),s(t,"mouseup",this._disableDelayedDrag),s(t,"touchend",this._disableDelayedDrag),s(t,"touchcancel",this._disableDelayedDrag),s(t,"mousemove",this._disableDelayedDrag),s(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(b,"dragstart",this._onDragStart)):this._onDragStart(j,!0);try{R.selection?R.selection.empty():window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){b&&y&&(a(y,this.options.ghostClass,!0),t.active=this,u(this,b,"start",y,b,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,s=e.touches?"translate3d("+i+"px,"+r+"px,0)":"translate("+i+"px,"+r+"px)";E=!0,A=n,o(M,"webkitTransform",s),o(M,"mozTransform",s),o(M,"msTransform",s),o(M,"transform",s),e.preventDefault()}},_appendGhost:function(){if(!M){var t,e=y.getBoundingClientRect(),n=o(y),i=this.options;M=y.cloneNode(!0),a(M,i.ghostClass,!1),a(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)||b.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"),b.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,s,a=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()),E=!0,H&&!l.disabled&&(f?m||(s=!b.contains(y)):H.pull&&c&&(H.name===u.name||c.indexOf&&~c.indexOf(H.name)))&&(void 0===t.rootEl||t.rootEl===this.el)){if(U(t,l,this.el),z)return;if(i=n(t.target,l.draggable,a),r=y.getBoundingClientRect(),s)return e(!0),void(w||L?b.insertBefore(y,w||L):m||b.appendChild(y));if(0===a.children.length||a.children[0]===M||a===t.target&&(i=p(a,t))){if(i){if(i.animated)return;g=i.getBoundingClientRect()}e(f),d(b,a,y,r,i,g)!==!1&&(y.contains(a)||(a.appendChild(y),v=a),this._animate(r,y),i&&this._animate(g,i))}else if(i&&!i.animated&&i!==y&&void 0!==i.parentNode[F]){x!==i&&(x=i,T=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(T.cssFloat+T.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,P=i.nextElementSibling,W=d(b,a,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 _=P!==y&&!j||A&&j;y.contains(a)||(_&&!P?a.appendChild(y):i.parentNode.insertBefore(y,_?P: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;s(R,"touchmove",this._onTouchMove),s(t,"mouseup",this._onDrop),s(t,"touchend",this._onDrop),s(t,"touchcancel",this._onDrop)},_onDrop:function(e){var n=this.el,i=this.options;clearInterval(this._loopId),clearInterval(P.pid),clearTimeout(this._dragStartTimer),s(R,"mousemove",this._onTouchMove),this.nativeDraggable&&(s(R,"drop",this),s(n,"dragstart",this._onDragStart)),this._offUpEvents(),e&&(E&&(e.preventDefault(),!i.dropBubble&&e.stopPropagation()),M&&M.parentNode.removeChild(M),y&&(this.nativeDraggable&&s(y,"dragend",this),c(y),a(y,this.options.ghostClass,!1),a(y,this.options.chosenClass,!1),b!==v?(C=m(y),C>=0&&(u(null,v,"sort",y,b,S,C),u(this,b,"sort",y,b,S,C),u(null,v,"add",y,b,S,C),u(this,b,"remove",y,b,S,C))):(w&&w.parentNode.removeChild(w),y.nextSibling!==L&&(C=m(y),C>=0&&(u(this,b,"update",y,b,S,C),u(this,b,"sort",y,b,S,C)))),t.active&&((null===C||-1===C)&&(C=S),u(this,b,"end",y,b,S,C),this.save())),b=y=v=M=L=w=k=Y=j=A=E=C=x=T=H=t.active=null)},handleEvent:function(t){var e=t.type;"dragover"===e||"dragenter"===e?y&&(this._onDragOver(t),i(t)):("drop"===e||"dragend"===e)&&this._onDrop(t)},toArray:function(){for(var t,e=[],i=this.el.children,r=0,s=i.length,a=this.options;s>r;r++)t=i[r],n(t,a.draggable,this.el)&&e.push(t.getAttribute(a.dataIdAttr)||f(t));return e},sort:function(t){var e={},i=this.el;this.toArray().forEach(function(t,r){var s=i.children[r];n(s,this.options.draggable,i)&&(e[t]=s)},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&&V(n)))},destroy:function(){var t=this.el;t[F]=null,s(t,"mousedown",this._onTapStart),s(t,"touchstart",this._onTapStart),this.nativeDraggable&&(s(t,"dragover",this),s(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:s,css:o,find:l,is:function(t,e){return!!n(t,e,t)},extend:g,throttle:_,closest:n,toggleClass:a,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([]),s=function(){l.resume()},a=function(n,i){var s=n.data("livestampdata");if("number"==typeof i&&(i*=1e3),n.removeAttr("data-livestamp").removeData("livestamp"),i=e(i),e.isMoment(i)&&!isNaN(+i)){var a=t.extend({},{original:n.contents()},s);a.moment=e(i),n.data("livestampdata",a).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);a(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 s=i.html(),a=r.moment.fromNow();if(s!=a){var o=t.Event("change.livestamp");i.trigger(o,[s,a]),o.isDefaultPrevented()||i.html(a)}}}),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(){a(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(s),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){function e(e,n){var i=t('<div class="minicolors" />'),r=t.minicolors.defaults,s=e.attr("data-format"),a=e.attr("data-keywords"),l=e.attr("data-opacity");e.data("minicolors-initialized")||(n=t.extend(!0,{},r,n),i.addClass("minicolors-theme-"+n.theme).toggleClass("minicolors-with-opacity",n.opacity).toggleClass("minicolors-no-data-uris",n.dataUris!==!0),void 0!==n.position&&t.each(n.position.split(" "),function(){i.addClass("minicolors-position-"+this)}),$input_size="rgb"===s?l?"25":"20":a?"11":"7",e.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",n).prop("size",$input_size).wrap(i).after('<div class="minicolors-panel minicolors-slider-'+n.control+'"><div class="minicolors-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-opacity-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-grid minicolors-sprite"><div class="minicolors-grid-inner"></div><div class="minicolors-picker"><div></div></div></div></div>'),n.inline||(e.after('<span class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></span>'),e.next(".minicolors-swatch").on("click",function(t){t.preventDefault(),e.focus()})),e.parent().find(".minicolors-panel").on("selectstart",function(){return!1}).end(),n.inline&&e.parent().addClass("minicolors-inline"),o(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 s(t,e,n){var i,r,s,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,s=Math.sqrt(i*i+r*r),o=Math.atan2(r,i),0>o&&(o+=2*Math.PI),s>75&&(s=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(){a(l,t)}):d.stop(!0).animate({top:f+"px"},m,u.animationEasing,function(){a(l,t)})}function a(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,s,a,o,u,d,h=t.val(),p=t.attr("data-format"),f=(t.attr("data-keywords"),t.attr("data-opacity")),_=t.parent(),g=t.data("minicolors-settings"),y=_.find(".minicolors-swatch"),v=_.find(".minicolors-grid"),M=_.find(".minicolors-slider"),b=_.find(".minicolors-opacity-slider"),L=v.find("[class$=-picker]"),Y=M.find("[class$=-picker]"),x=b.find("[class$=-picker]"),T=n(L,v),D=n(Y,M),S=n(x,b);if(e.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch(g.control){case"wheel":a=v.width()/2-T.x,o=v.height()/2-T.y,u=Math.sqrt(a*a+o*o),d=Math.atan2(o,a),0>d&&(d+=2*Math.PI),u>75&&(u=75,T.x=69-75*Math.cos(d),T.y=69-75*Math.sin(d)),r=m(u/.75,0,100),i=m(180*d/Math.PI,0,360),s=m(100-Math.floor(D.y*(100/M.height())),0,100),h=w({h:i,s:r,b:s}),M.css("backgroundColor",w({h:i,s:r,b:100}));break;case"saturation":i=m(parseInt(T.x*(360/v.width()),10),0,360),r=m(100-Math.floor(D.y*(100/M.height())),0,100),s=m(100-Math.floor(T.y*(100/v.height())),0,100),h=w({h:i,s:r,b:s}),M.css("backgroundColor",w({h:i,s:100,b:s})),_.find(".minicolors-grid-inner").css("opacity",r/100);break;case"brightness":i=m(parseInt(T.x*(360/v.width()),10),0,360),r=m(100-Math.floor(T.y*(100/v.height())),0,100),s=m(100-Math.floor(D.y*(100/M.height())),0,100),h=w({h:i,s:r,b:s}),M.css("backgroundColor",w({h:i,s:r,b:100})),_.find(".minicolors-grid-inner").css("opacity",1-s/100);break;default:i=m(360-parseInt(D.y*(360/M.height()),10),0,360),r=m(Math.floor(T.x*(100/v.width())),0,100),s=m(100-Math.floor(T.y*(100/v.height())),0,100),h=w({h:i,s:r,b:s}),v.css("backgroundColor",w({h:i,s:100,b:100}))}if(f=g.opacity?parseFloat(1-S.y/b.height()).toFixed(2):1,g.opacity&&t.attr("data-opacity",f),"rgb"===p){var C=k(h),f=""===t.attr("data-opacity")?1:m(parseFloat(t.attr("data-opacity")).toFixed(2),0,1);(isNaN(f)||!g.opacity)&&(f=1),value=t.minicolors("rgbObject").a<=1&&C&&g.opacity?"rgba("+C.r+", "+C.g+", "+C.b+", "+parseFloat(f)+")":"rgb("+C.r+", "+C.g+", "+C.b+")"}else value=c(h,g.letterCase);t.val(value)}y.find("span").css({backgroundColor:h,opacity:f}),l(t,value,f)}function o(e,n){var i,r,s,a,o,u,d,y=(e.attr("data-format"),e.attr("data-keywords")),M=e.parent(),L=e.data("minicolors-settings"),k=M.find(".minicolors-swatch"),Y=M.find(".minicolors-grid"),x=M.find(".minicolors-slider"),T=M.find(".minicolors-opacity-slider"),D=Y.find("[class$=-picker]"),S=x.find("[class$=-picker]"),C=T.find("[class$=-picker]");switch(_(e.val())?(i=v(e.val()),alpha=m(parseFloat(g(e.val())).toFixed(2),0,1),alpha&&e.attr("data-opacity",alpha)):i=c(h(e.val(),!0),L.letterCase),i||(i=c(f(L.defaultValue,!0),L.letterCase)),r=b(i),y=y?t.map(y.split(","),function(e){return t.trim(e.toLowerCase())}):[],value=""!==e.val()&&t.inArray(e.val().toLowerCase(),y)>-1?c(e.val()):_(e.val())?p(e.val()):i,n||e.val(value),
L.opacity&&(s=""===e.attr("data-opacity")?1:m(parseFloat(e.attr("data-opacity")).toFixed(2),0,1),isNaN(s)&&(s=1),e.attr("data-opacity",s),k.find("span").css("opacity",s),o=m(T.height()-T.height()*s,0,T.height()),C.css("top",o+"px")),"transparent"===e.val().toLowerCase()&&k.find("span").css("opacity",0),k.find("span").css("backgroundColor",i),L.control){case"wheel":u=m(Math.ceil(.75*r.s),0,Y.height()/2),d=r.h*Math.PI/180,a=m(75-Math.cos(d)*u,0,Y.width()),o=m(75-Math.sin(d)*u,0,Y.height()),D.css({top:o+"px",left:a+"px"}),o=150-r.b/(100/Y.height()),""===i&&(o=0),S.css("top",o+"px"),x.css("backgroundColor",w({h:r.h,s:r.s,b:100}));break;case"saturation":a=m(5*r.h/12,0,150),o=m(Y.height()-Math.ceil(r.b/(100/Y.height())),0,Y.height()),D.css({top:o+"px",left:a+"px"}),o=m(x.height()-r.s*(x.height()/100),0,x.height()),S.css("top",o+"px"),x.css("backgroundColor",w({h:r.h,s:100,b:r.b})),M.find(".minicolors-grid-inner").css("opacity",r.s/100);break;case"brightness":a=m(5*r.h/12,0,150),o=m(Y.height()-Math.ceil(r.s/(100/Y.height())),0,Y.height()),D.css({top:o+"px",left:a+"px"}),o=m(x.height()-r.b*(x.height()/100),0,x.height()),S.css("top",o+"px"),x.css("backgroundColor",w({h:r.h,s:r.s,b:100})),M.find(".minicolors-grid-inner").css("opacity",1-r.b/100);break;default:a=m(Math.ceil(r.s/(100/Y.width())),0,Y.width()),o=m(Y.height()-Math.ceil(r.b/(100/Y.height())),0,Y.height()),D.css({top:o+"px",left:a+"px"}),o=m(x.height()-r.h/(360/x.height()),0,x.height()),S.css("top",o+"px"),Y.css("backgroundColor",w({h:r.h,s:100,b:100}))}e.data("minicolors-initialized")&&l(e,value,s)}function l(t,e,n){var i=t.data("minicolors-settings"),r=t.data("minicolors-lastChange");r&&r.value===e&&r.opacity===n||(t.data("minicolors-lastChange",{value:e,opacity:n}),i.change&&(i.changeDelay?(clearTimeout(t.data("minicolors-changeTimeout")),t.data("minicolors-changeTimeout",setTimeout(function(){i.change.call(t.get(0),e,n)},i.changeDelay))):i.change.call(t.get(0),e,n)),t.trigger("change").trigger("input"))}function u(e){var n=h(t(e).val(),!0),i=k(n),r=t(e).attr("data-opacity");return i?(void 0!==r&&t.extend(i,{a:parseFloat(r)}),i):null}function d(e,n){var i=h(t(e).val(),!0),r=k(i),s=t(e).attr("data-opacity");return r?(void 0===s&&(s=1),n?"rgba("+r.r+", "+r.g+", "+r.b+", "+parseFloat(s)+")":"rgb("+r.r+", "+r.g+", "+r.b+")"):null}function c(t,e){return"uppercase"===e?t.toUpperCase():t.toLowerCase()}function h(t,e){return t=t.replace(/^#/g,""),t.match(/^[A-F0-9]{3,6}/gi)?3!==t.length&&6!==t.length?"":(3===t.length&&e&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),"#"+t):""}function p(t,e){var n=t.replace(/[^\d,.]/g,""),i=n.split(",");return i[0]=m(parseInt(i[0],10),0,255),i[1]=m(parseInt(i[1],10),0,255),i[2]=m(parseInt(i[2],10),0,255),i[3]&&(i[3]=m(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 f(t,e){return _(t)?p(t):h(t,e)}function m(t,e,n){return e>t&&(t=e),t>n&&(t=n),t}function _(t){return rgb=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i),rgb&&4===rgb.length?!0:!1}function g(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 y(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 s=r,a=(255-i)*r/255,o=(s-a)*(n%60)/60;360===n&&(n=0),60>n?(e.r=s,e.b=a,e.g=a+o):120>n?(e.g=s,e.b=a,e.r=s-o):180>n?(e.g=s,e.r=a,e.b=a+o):240>n?(e.b=s,e.r=a,e.g=s-o):300>n?(e.b=s,e.g=a,e.r=a+o):360>n?(e.r=s,e.g=a,e.b=s-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 v(t){return t=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i),t&&4===t.length?"#"+("0"+parseInt(t[1],10).toString(16)).slice(-2)+("0"+parseInt(t[2],10).toString(16)).slice(-2)+("0"+parseInt(t[3],10).toString(16)).slice(-2):""}function M(e){var n=[e.r.toString(16),e.g.toString(16),e.b.toString(16)];return t.each(n,function(t,e){1===e.length&&(n[t]="0"+e)}),"#"+n.join("")}function w(t){return M(y(t))}function b(t){var e=L(k(t));return 0===e.s&&(e.h=360),e}function L(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,e.h=0!==e.s?t.r===i?(t.g-t.b)/r:t.g===i?2+(t.b-t.r)/r:4+(t.r-t.g)/r:-1,e.h*=60,e.h<0&&(e.h+=360),e.s*=100/255,e.b*=100/255,e}function k(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"}},t.extend(t.fn,{minicolors:function(s,a){switch(s){case"destroy":return t(this).each(function(){n(t(this))}),t(this);case"hide":return r(),t(this);case"opacity":return void 0===a?t(this).attr("data-opacity"):(t(this).each(function(){o(t(this).attr("data-opacity",a))}),t(this));case"rgbObject":return u(t(this),"rgbaObject"===s);case"rgbString":case"rgbaString":return d(t(this),"rgbaString"===s);case"settings":return void 0===a?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,a))}),t(this));case"show":return i(t(this).eq(0)),t(this);case"value":return void 0===a?t(this).val():(t(this).each(function(){"object"==typeof a?(a.opacity&&t(this).attr("data-opacity",m(a.opacity,0,1)),a.color&&t(this).val(a.color)):t(this).val(a),o(t(this))}),t(this));default:return"create"!==s&&(a=s),t(this).each(function(){e(t(this),a)}),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),s(n,e,!0)}).on("mousemove.minicolors touchmove.minicolors",function(e){var n=t(document).data("minicolors-target");n&&s(n,e)}).on("mouseup.minicolors touchend.minicolors",function(){t(this).removeData("minicolors-target")}).on("mousedown.minicolors touchstart.minicolors",".minicolors-swatch",function(e){var n=t(this).parent().find(".minicolors-input");e.preventDefault(),i(n)}).on("focus.minicolors",".minicolors-input",function(){var e=t(this);e.data("minicolors-initialized")&&i(e)}).on("blur.minicolors",".minicolors-input",function(){var e,n,i,r=t(this),s=r.attr("data-keywords"),a=r.data("minicolors-settings");r.data("minicolors-initialized")&&(s=s?t.map(s.split(","),function(e){return t.trim(e.toLowerCase())}):[],""!==r.val()&&t.inArray(r.val().toLowerCase(),s)>-1?value=r.val():(_(r.val())?n=p(r.val(),!0):(e=h(r.val(),!0),n=e?k(e):null),value=null===n?a.defaultValue:"rgb"===a.format?p(a.opacity?"rgba("+n.r+","+n.g+","+n.b+","+r.attr("data-opacity")+")":"rgb("+n.r+","+n.g+","+n.b+")"):M(n)),i=a.opacity?r.attr("data-opacity"):1,"transparent"===value.toLowerCase()&&(i=0),r.closest(".minicolors").find(".minicolors-swatch > span").css("opacity",i),r.val(value),""===r.val()&&r.val(f(a.defaultValue,!0)),r.val(c(r.val(),a.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")&&o(e,!0)}).on("paste.minicolors",".minicolors-input",function(){var e=t(this);e.data("minicolors-initialized")&&setTimeout(function(){o(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 s(t,e){for(var n,s=t.match(i.key);void 0!==(n=s.pop());)if(i.push.test(n)){var o=a(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 a(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=s(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 s in t)e.apply(n,[t[s],s].concat(i))},s=i.clone=function(t){var e={};return r(t,function(n,i){t.hasOwnProperty(i)&&(e[i]=n)}),e},a=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({}),a.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&&a(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),s=2*Math.PI+Math.atan2(i,n);return 0>n&&0>i&&(s+=2*Math.PI),{angle:s,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)),s=Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2)),a=i*r/(r+s),o=i*s/(r+s);return{inner:{x:e.x-a*(n.x-t.x),y:e.y-a*(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 s=2,a=Math.floor(e/(1.5*n)),o=s>=a,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>a||a>2*y)&&!o;)if(y>a)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=s,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)}),b=(i.generateLabels=function(t,e,n,i){var s=new Array(e);return labelTemplateString&&r(s,function(e,r){s[r]=w(t,{value:n+i*(r+1)})}),s},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(2*(1*t-e)*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(2*(1*t-e)*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=.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(2*(1*t-e)*Math.PI/n):i*Math.pow(2,-10*(t-=1))*Math.sin(2*(1*t-e)*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-b.easeOutBounce(1-t)},easeOutBounce:function(t){return(t/=1)<1/2.75?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*b.easeInBounce(2*t):.5*b.easeOutBounce(2*t-1)+.5}}),L=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,s){var a=0,o=b[n]||b.linear,l=function(){a++;var n=a/e,u=o(n);t.call(s,u,n,a),i.call(s,u,n),e>a?s.animationFrame=L(l):r.apply(s)};L(l)},i.getRelativePosition=function(t){var e,n,i=t.originalEvent||t,r=t.currentTarget||t.srcElement,s=r.getBoundingClientRect();return i.touches?(e=i.touches[0].clientX-s.left,n=i.touches[0].clientY-s.top):(e=i.clientX-s.left,n=i.clientY-s.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}),x=i.removeEvent=function(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=d},T=(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){x(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},E=i.drawRoundedRectangle=function(t,e,n,i,r,s){t.beginPath(),t.moveTo(e+s,n),t.lineTo(e+i-s,n),t.quadraticCurveTo(e+i,n,e+i,n+s),t.lineTo(e+i,n+r-s),t.quadraticCurveTo(e+i,n+r,e+i-s,n+r),t.lineTo(e+s,n+r),t.quadraticCurveTo(e,n+r,e,n+r-s),t.lineTo(e,n+s),t.quadraticCurveTo(e,n,e+s,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)},a(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(),T(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 s=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(s||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 a,o,u=this.datasets.length-1;u>=0&&(a=this.datasets[u].points||this.datasets[u].bars||this.datasets[u].segments,o=l(a,t[0]),-1===o);u--);var d=[],c=[],h=function(t){var e,n,r,s,a,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),a=_(h),r=m(h),s=_(u),n=m(u),{x:s>this.chart.width/2?s:n,y:(a+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=s(e.prototype),a(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]?s(n.defaults[e.prototype.name]):{};n.defaults[r]=a(l,t.defaults),n.types[r]=i,n.prototype[r]=function(t,e){var s=o(n.defaults.global,n.defaults[r],e||{});return new i(t,s,this)}}else h("Name not provided for this chart, so it hasn't been registered");return e},n.Element=function(t){a(this,t),this.initialize.apply(this,arguments),this.save()},a(n.Element.prototype,{initialize:function(){},restore:function(t){return t?r(t,function(t){this[t]=this._saved[t]},this):a(this,this._saved),this},save:function(){return this._saved=s(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,s=n.distance>=this.innerRadius&&n.distance<=this.outerRadius;return r&&s},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),s=this.strokeWidth/2;this.showStroke&&(n+=s,i-=s,r+=s),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 s=this.x-n/2,a=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":a=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":s=this.x-n+(this.cornerRadius+this.caretHeight);break;case"right":s=this.x-(this.cornerRadius+this.caretHeight)}E(t,s,a,n,i,this.cornerRadius),t.fill(),t.fillStyle=this.textColor,t.textAlign="center",t.textBaseline="middle",t.fillText(this.text,s+n/2,a+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{E(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,s=A(this.ctx,this.font,this.xLabels);this.xLabelWidth=s;for(var a=Math.floor(this.calculateX(1)-this.calculateX(0))-6;this.xLabelWidth>a&&0===this.xLabelRotation||this.xLabelWidth>a&&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*s;this.xLabelRotation>0&&(this.endPoint-=Math.sin(y(this.xLabelRotation))*s+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,s){var a=this.endPoint-e*s,o=Math.round(a),l=this.showHorizontalLines;t.textAlign="right",t.textBaseline="middle",this.showLabels&&t.fillText(r,n-10,a),0!==s||l||(l=!0),l&&t.beginPath(),s>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),s=this.xLabelRotation>0,a=this.showVerticalLines;0!==n||a||(a=!0),a&&t.beginPath(),n>0?(t.lineWidth=this.gridLineWidth,t.strokeStyle=this.gridLineColor):(t.lineWidth=this.lineWidth,t.strokeStyle=this.lineColor),a&&(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,s?this.endPoint+12:this.endPoint+8),t.rotate(-1*y(this.xLabelRotation)),t.font=this.font,t.textAlign=s?"right":"center",t.textBaseline=s?"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,s,a,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,a=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,a=e);l=m,u=Math.ceil(p-this.width),s=this.getIndexAngle(r),o=this.getIndexAngle(a),d=u/Math.sin(s+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),s=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 a=0;a<this.valuesCount;a++)i=this.getPointPosition(a,this.calculateCenterOffset(this.min+n*this.stepValue)),0===a?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,s-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,s)}}},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 s=this.labels.length,a=this.labels.length/2,o=a/2,l=o>e||e>s-o,u=e===o||e===s-o;t.textAlign=0===e?"center":e===a?"center":a>e?"left":"right",t.textBaseline=u?"middle":l?"bottom":"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(),s=this.calculateX(n)-r/2,a=this.calculateBarWidth(t);return s+a*e+e*i.barDatasetSpacing+a/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),s=function(t){i.push(t.bars[e])},a=0;a<this.datasets.length;a++)for(e=0;e<this.datasets[a].bars.length;e++)if(this.datasets[a].bars[e].inRange(r.x,r.y))return n.each(this.datasets,s),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},s={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(s,{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(s)},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},s=function(t,e,i){return n.findNextWhere(e,r,i)||t},a=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(a(t,o,e),t,s(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=a(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 s;this.scale.animation||(s=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:s.x,y:this.options.animation?this.scale.yCenter:s.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,s=Math.round((i.angle-1.5*Math.PI)/r),a=[];return(s>=this.scale.valuesCount||0>s)&&(s=0),i.distance<=this.scale.drawingArea&&n.each(this.datasets,function(t){a.push(t.points[s])}),a},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,s,a,o,l,u,d,c,h,p,f,m,_,g,y,v,M,w,b,L,k,Y,x,T,D,S,C,H,j,A,E,P,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 a('<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 a('<span style="color: {{color}}">&#9679;</span> {{prefix}}{{value}}{{suffix}}')},tristate:{barWidth:4,barSpacing:1,posBarColor:"#6f6",negBarColor:"#f44",zeroBarColor:"#999",colorMap:{},tooltipFormat:new a('<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 a("{{prefix}}{{value}}{{suffix}}")},bullet:{targetColor:"#f33",targetWidth:3,performanceColor:"#33f",rangeColors:["#d3dafe","#a8b6ff","#7f94ff"],base:n,tooltipFormat:new a("{{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 a('<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 a("{{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;}',s=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=a=s({fre:/\{\{([\w.]+?)(:(.+?))?\}\}/g,precre:/(\w+)\.(\d+)/,init:function(t,e){this.format=t,this.fclass=e},render:function(t,e,i){var r,s,a,o,l,u=this,d=t;return this.format.replace(this.fre,function(){var t;return s=arguments[1],a=arguments[3],r=u.precre.exec(s),r?(l=r[2],s=r[1]):l=!1,o=d[s],o===n?"":a&&e&&e[a]?(t=e[a],t.get?e[a].get(o)||o:e[a][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 a(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,s){var a,o;for(t=(e===!1?parseFloat(t).toString():t.toFixed(e)).split(""),a=(a=i.inArray(".",t))<0?t.length:a,a<t.length&&(t[a]=s),o=a-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,s,a){var o,l;if(s&&(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 E(t,e,n)}}}return e===n&&(e=i(this).innerWidth()),r===n&&(r=i(this).innerHeight()),o=i.fn.sparkline.canvas(e,r,this,a),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=s({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,s=this.rangelist;if((r=this.map[t])!==n)return r;if(s)for(e=s.length;e--;)if(i=s[e],i[0]<=t&&i[1]>=t)return i[2];return n}}),i.range_map=function(t){return new y(t)},v=s({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,s=r.length,a=!1;for(this.over=!1,this.currentEl=null,this.tooltip&&(this.tooltip.remove(),this.tooltip=null),n=0;s>n;n++)e=r[n],e.clearRegionHighlight()&&(a=!0);a&&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,s,a=this.splist,o=a.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=a[n],r=e.setRegionHighlight(this.currentEl,d,c),r&&(l=!0);if(l){if(s=i.Event("sparklineRegionChange"),s.sparklines=this.splist,this.$el.trigger(s),this.tooltip){for(t="",n=0;o>n;n++)e=a[n],t+=e.getCurrentRegionTooltip();this.tooltip.setContent(t)}this.disableHighlight||this.canvas.render()}null===r&&this.mouseleave()}}}),M=s({sizeStyle:"position: static !important;display: block !important;visibility: hidden !important;float: left !important;",init:function(e){var n,r=e.get("tooltipClassname","jqstooltip"),s=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:s,"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),P=[],i.fn.sparkline=function(e,r){return this.each(function(){var s,a,o=new i.fn.sparkline.options(this,r),l=i(this);if(s=function(){var r,s,a,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,s="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),a=i(u).innerHeight()||i(u).height(),i(u).remove(),u=null):a=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,s,a),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(a=P.length;a;a--)P[a-1][0]==this&&P.splice(a-1,1);P.push([this,s]),i.data(this,"_jqs_pending",!0)}else s.call(this)})},i.fn.sparkline.defaults=r(),i.sparkline_display_visible=function(){var t,e,n,r=[];for(e=0,n=P.length;n>e;e++)t=P[e][0],i(t).is(":visible")&&!i(t).parents().is(":hidden")?(P[e][1].call(t),i.data(P[e][0],"_jqs_pending",!1),r.push(e)):i(t).closest("html").length||i.data(t,"_jqs_pending")||(i.data(P[e][0],"_jqs_pending",!1),r.push(e));for(e=r.length;e;e--)P.splice(r[e-1],1)},i.fn.sparkline.options=s({init:function(t,e){var n,r,s,a;this.userOptions=e=e||{},this.tag=t,this.tagValCache={},r=i.fn.sparkline.defaults,s=r.common,this.tagOptionsPrefix=e.enableTagOptions&&(e.tagOptionsPrefix||s.tagOptionsPrefix),a=this.getTagSetting("type"),n=a===W?r[e.type||s.type]:r[a],this.mergedOptions=i.extend({},s,n,e)},getTagSetting:function(t){var e,i,r,s,a=this.tagOptionsPrefix;if(a===!1||a===n)return W;if(this.tagValCache.hasOwnProperty(t))e=this.tagValCache.key;else{if(e=this.tag.getAttribute(a+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--;)s=r[i].split(":",2),e[s[0].replace(/(^\s*)|(\s*$)/g,"")]=u(s[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=s({disabled:!1,init:function(t,e,r,s,a){this.el=t,this.$el=i(t),this.values=e,this.options=r,this.width=s,this.height=a,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,s=this.currentRegion,a=!this.options.get("disableHighlight");return e>this.canvasWidth||i>this.canvasHeight||0>e||0>i?null:(r=this.getRegion(t,e,i),s!==r?(s!==n&&a&&this.removeHighlight(),this.currentRegion=r,r!==n&&a&&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,s,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 a(f)),s=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="'+s+'">'+o+"</div>"));return v.length?y+v.join("\n"):""},getCurrentRegionFields:function(){},calcHighlightColor:function(t,n){var i,r,s,a,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(s=[],r=4===t.length?16:1,a=0;3>a;a++)s[a]=o(e.round(parseInt(i[a+1],16)*r*u),0,255);return"rgb("+s.join(",")+")"}return t}}),w={changeHighlight:function(t){var e,n=this.currentRegion,r=this.target,s=this.regionShapes[n];s&&(e=this.renderRegion(n,t),i.isArray(e)||i.isArray(s)?(r.replaceWithShapes(s,e),this.regionShapes[n]=i.map(e,function(t){return t.id})):(r.replaceWithShape(s,e),this.regionShapes[n]=e.id))},render:function(){var t,e,n,r,s=this.values,a=this.target,o=this.regionShapes;if(this.cls._super.render.call(this)){for(n=s.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;a.render()}}},i.fn.sparkline.line=b=s(i.fn.sparkline._base,{type:"line",init:function(t,e,n,i,r){b._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,s=this.regionMap;for(r=s.length;r--;)if(null!==s[r]&&e>=s[r][0]&&e<=s[r][1])return s[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,s=this.vertices[i],a=this.options,o=a.get("spotRadius"),l=a.get("highlightSpotColor"),u=a.get("highlightLineColor");s&&(o&&l&&(t=r.drawCircle(s[0],s[1],o,n,l),this.highlightSpotId=t.id,r.insertAfterShape(this.lastShapeId,t)),u&&(e=r.drawLine(s[0],this.canvasTop,s[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,s,a=this.values,o=a.length,l=this.xvalues,u=this.yvalues,d=this.yminmax;for(t=0;o>t;t++)n=a[t],i="string"==typeof a[t],r="object"==typeof a[t]&&a[t]instanceof Array,s=i&&a[t].split(":"),i&&2===s.length?(l.push(Number(s[0])),u.push(Number(s[1])),d.push(Number(s[1]))):r?(l.push(n[0]),u.push(n[1]),d.push(n[1])):(l.push(t),null===a[t]||"null"===a[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,s,a){var o=this.options.get("normalRangeMin"),l=this.options.get("normalRangeMax"),u=i+e.round(r-r*((l-this.miny)/a)),d=e.round(r*(l-o)/a);this.target.drawRect(t,u,s,d,n,this.options.get("normalRangeColor")).append()},render:function(){var t,r,s,a,o,l,u,d,c,h,p,f,m,_,g,v,M,w,L,k,Y,x,T,D,S,C=this.options,H=this.target,j=this.canvasWidth,A=this.canvasHeight,E=this.vertices,P=C.get("spotRadius"),W=this.regionMap;if(b._super.render.call(this)&&(this.scanValues(),this.processRangeOptions(),T=this.xvalues,D=this.yvalues,this.yminmax.length&&!(this.yvalues.length<2))){for(a=o=0,t=this.maxx-this.minx===0?1:this.maxx-this.minx,r=this.maxy-this.miny===0?1:this.maxy-this.miny,s=this.yvalues.length-1,P&&(4*P>j||4*P>A)&&(P=0),P&&(Y=C.get("highlightSpotColor")&&!C.get("disableInteraction"),(Y||C.get("minSpotColor")||C.get("spotColor")&&D[s]===this.miny)&&(A-=e.ceil(P)),(Y||C.get("maxSpotColor")||C.get("spotColor")&&D[s]===this.maxy)&&(A-=e.ceil(P),a+=e.ceil(P)),(Y||(C.get("minSpotColor")||C.get("maxSpotColor"))&&(D[0]===this.miny||D[0]===this.maxy))&&(o+=e.ceil(P),j-=e.ceil(P)),(Y||C.get("spotColor")||C.get("minSpotColor")||C.get("maxSpotColor")&&(D[s]===this.miny||D[s]===this.maxy))&&(j-=e.ceil(P))),A--,C.get("normalRangeMin")===n||C.get("drawNormalOnTop")||this.drawNormalRange(o,a,A,j,r),u=[],d=[u],_=g=null,v=D.length,S=0;v>S;S++)c=T[S],p=T[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)),E.push(null)):(h<this.miny&&(h=this.miny),h>this.maxy&&(h=this.maxy),u.length||u.push([f,a+A]),l=[f,a+e.round(A-A*((h-this.miny)/r))],u.push(l),E.push(l));for(M=[],w=[],L=d.length,S=0;L>S;S++)u=d[S],u.length&&(C.get("fillColor")&&(u.push([u[u.length-1][0],a+A]),w.push(u.slice(0)),u.pop()),u.length>2&&(u[0]=[u[0][0],u[1][1]]),M.push(u));for(L=w.length,S=0;L>S;S++)H.drawShape(w[S],C.get("fillColor"),C.get("fillColor")).append();for(C.get("normalRangeMin")!==n&&C.get("drawNormalOnTop")&&this.drawNormalRange(o,a,A,j,r),L=M.length,S=0;L>S;S++)H.drawShape(M[S],C.get("lineColor"),n,C.get("lineWidth")).append();if(P&&C.get("valueSpots"))for(k=C.get("valueSpots"),k.get===n&&(k=new y(k)),S=0;v>S;S++)x=k.get(D[S]),x&&H.drawCircle(o+e.round((T[S]-this.minx)*(j/t)),a+e.round(A-A*((D[S]-this.miny)/r)),P,n,x).append();P&&C.get("spotColor")&&null!==D[s]&&H.drawCircle(o+e.round((T[T.length-1]-this.minx)*(j/t)),a+e.round(A-A*((D[s]-this.miny)/r)),P,n,C.get("spotColor")).append(),this.maxy!==this.minyorg&&(P&&C.get("minSpotColor")&&(c=T[i.inArray(this.minyorg,D)],H.drawCircle(o+e.round((c-this.minx)*(j/t)),a+e.round(A-A*((this.minyorg-this.miny)/r)),P,n,C.get("minSpotColor")).append()),P&&C.get("maxSpotColor")&&(c=T[i.inArray(this.maxyorg,D)],H.drawCircle(o+e.round((c-this.minx)*(j/t)),a+e.round(A-A*((this.maxyorg-this.miny)/r)),P,n,C.get("maxSpotColor")).append())),this.lastShapeId=H.getLastShapeId(),this.canvasTop=a,H.render()}}}),i.fn.sparkline.bar=L=s(i.fn.sparkline._base,w,{type:"bar",init:function(t,r,s,a,l){var h,p,f,m,_,g,v,M,w,b,k,Y,x,T,D,S,C,H,j,A,E,P,W=parseInt(s.get("barWidth"),10),F=parseInt(s.get("barSpacing"),10),O=s.get("chartRangeMin"),R=s.get("chartRangeMax"),I=s.get("chartRangeClip"),N=1/0,$=-(1/0);for(L._super.init.call(this,t,r,s,a,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=a=r.length*W+(r.length-1)*F,this.initTarget(),I&&(x=O===n?-(1/0):O,T=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],x,T):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],x,T):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,s.get("chartRangeMin")!==n&&(s.get("chartRangeClip")||s.get("chartRangeMin")<k)&&(k=s.get("chartRangeMin")),s.get("chartRangeMax")!==n&&(s.get("chartRangeClip")||s.get("chartRangeMax")>Y)&&(Y=s.get("chartRangeMax")),this.zeroAxis=w=s.get("zeroAxis",!0),b=0>=k&&Y>=0&&w?0:0==w?k:k>0?k:Y,this.xaxisOffset=b,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,b>k?(P=D&&Y>=0?$:Y,E=(P-b)/M*this.canvasHeight,E!==e.ceil(E)&&(this.canvasHeightEf-=2,E=e.ceil(E))):E=this.canvasHeight,this.yoffset=E,i.isArray(s.get("colorMap"))?(this.colorMapByIndex=s.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=s.get("colorMap"),this.colorMapByValue&&this.colorMapByValue.get===n&&(this.colorMapByValue=new y(this.colorMapByValue))),this.range=M},getRegion:function(t,i,r){var s=e.floor(i/this.totalBarWidth);return 0>s||s>=this.values.length?n:s},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 s,a,o=this.colorMapByIndex,l=this.colorMapByValue,u=this.options;return s=u.get(this.stacked?"stackedBarColor":0>e?"negBarColor":"barColor"),0===e&&u.get("zeroColor")!==n&&(s=u.get("zeroColor")),l&&(a=l.get(e))?s=a:o&&o.length>r&&(s=o[r]),i.isArray(s)?s[t%s.length]:s},renderRegion:function(t,r){var s,a,o,l,u,d,c,h,f,m,_=this.values[t],g=this.options,y=this.xaxisOffset,v=[],M=this.range,w=this.stacked,b=this.target,L=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),s=Y>0?Y-1:Y,b.drawRect(L,s,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}a=M>0?e.floor(k*(e.abs(h-y)/M))+1:1,y>h||h===y&&0===Y?(s=u,u+=a):(s=Y-a,Y-=a),o=this.calcColor(d,h,t),r&&(o=this.calcHighlightColor(o,g)),v.push(b.drawRect(L,s,this.barWidth-1,a-1,o,o))}return 1===v.length?v[0]:v}}),i.fn.sparkline.tristate=k=s(i.fn.sparkline._base,w,{type:"tristate",init:function(t,e,r,s,a){var o=parseInt(r.get("barWidth"),10),l=parseInt(r.get("barSpacing"),10);k._super.init.call(this,t,e,r,s,a),this.regionShapes={},this.barWidth=o,this.barSpacing=l,this.totalBarWidth=o+l,this.values=i.map(e,Number),this.width=s=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,s=this.options,a=this.colorMapByIndex,o=this.colorMapByValue;return n=o&&(i=o.get(t))?i:a&&a.length>e?a[e]:s.get(r[e]<0?"negBarColor":r[e]>0?"posBarColor":"zeroBarColor")},renderRegion:function(t,n){var i,r,s,a,o,l,u=this.values,d=this.options,c=this.target;return i=c.pixelHeight,s=e.round(i/2),a=t*this.totalBarWidth,u[t]<0?(o=s,r=s-1):u[t]>0?(o=0,r=s-1):(o=s-1,r=2),l=this.calcColor(u[t],t),null!==l?(n&&(l=this.calcHighlightColor(l,d)),c.drawRect(a,o,this.barWidth-1,r-1,l,l)):void 0}}),i.fn.sparkline.discrete=Y=s(i.fn.sparkline._base,w,{type:"discrete",init:function(t,r,s,a,o){Y._super.init.call(this,t,r,s,a,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=a="auto"===s.get("width")?2*r.length:this.width,this.interval=e.floor(a/r.length),this.itemWidth=a/r.length,s.get("chartRangeMin")!==n&&(s.get("chartRangeClip")||s.get("chartRangeMin")<this.min)&&(this.min=s.get("chartRangeMin")),s.get("chartRangeMax")!==n&&(s.get("chartRangeClip")||s.get("chartRangeMax")>this.max)&&(this.max=s.get("chartRangeMax")),this.initTarget(),this.target&&(this.lineHeight="auto"===s.get("lineHeight")?e.round(.3*this.canvasHeight):s.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,s,a,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),a=t*p,i=e.round(g-g*((r-d)/h)),s=u.get(u.get("thresholdColor")&&r<u.get("thresholdValue")?"thresholdColor":"lineColor"),n&&(s=this.calcHighlightColor(s,u)),f.drawLine(a,i,a,i+_,s)}}),i.fn.sparkline.bullet=x=s(i.fn.sparkline._base,{type:"bullet",init:function(t,i,r,s,a){var o,l,u;x._super.init.call(this,t,i,r,s,a),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=s="auto"===r.get("width")?"4.0em":s,this.target=this.$el.simpledraw(s,a,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)),s=this.options.get("rangeColors")[t-2];return n&&(s=this.calcHighlightColor(s,this.options)),this.target.drawRect(0,0,r-1,this.canvasHeight-1,s,s)},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),s=this.canvasHeight-2*r,a=this.options.get("targetColor");return t&&(a=this.calcHighlightColor(a,this.options)),this.target.drawRect(i,r,this.options.get("targetWidth")-1,s-1,a,a)},render:function(){var t,e,n=this.values.length,i=this.target;if(x._super.render.call(this)){for(t=2;n>t;t++)e=this.renderRange(t).append(),this.shapes[e.id]="r"+t,this.valueShapes["r"+t]=e.id;null!==this.values[1]&&(e=this.renderPerformance().append(),this.shapes[e.id]="p1",this.valueShapes.p1=e.id),null!==this.values[0]&&(e=this.renderTarget().append(),this.shapes[e.id]="t0",this.valueShapes.t0=e.id),i.render()}}}),i.fn.sparkline.pie=T=s(i.fn.sparkline._base,{type:"pie",init:function(t,n,r,s,a){var o,l=0;if(T._super.init.call(this,t,n,r,s,a),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,s,a,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,a=0;o>a;a++){if(r=g,s=g,_>0&&(s=g+f*(m[a]/_)),t===a)return l=d.get("sliceColors")[a%d.get("sliceColors").length],i&&(l=this.calcHighlightColor(l,d)),u.drawPieSlice(c,c,c-h,r,s,n,l);g=s}},render:function(){var t,i,r=this.target,s=this.values,a=this.options,o=this.radius,l=a.get("borderWidth");if(T._super.render.call(this)){for(l&&r.drawCircle(o,o,e.floor(o-l/2),a.get("borderColor"),n,l).append(),i=s.length;i--;)s[i]&&(t=this.renderSlice(i).append(),this.valueShapes[i]=t.id,this.shapes[t.id]=i);r.render()}}}),i.fn.sparkline.box=D=s(i.fn.sparkline._base,{type:"box",init:function(t,e,n,r,s){D._super.init.call(this,t,e,n,r,s),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,s,a,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"),b=0;if(D._super.render.call(this)){if(g.get("raw"))g.get("showOutliers")&&m.length>5?(i=m[0],t=m[1],s=m[2],a=m[3],o=m[4],u=m[5],d=m[6]):(t=m[0],s=m[1],a=m[2],o=m[3],u=m[4]);else if(m.sort(function(t,e){return t-e}),s=l(m,1),a=l(m,2),o=l(m,3),r=o-s,g.get("showOutliers")){for(t=u=n,c=0;_>c;c++)t===n&&m[c]>s-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=[s,a,o],this.lwhisker=t,this.rwhisker=u,this.loutlier=i,this.routlier=d,p=y/(w-M+1),g.get("showOutliers")&&(b=e.ceil(g.get("spotRadius")),y-=2*e.ceil(g.get("spotRadius")),p=y/(w-M+1),t>i&&f.drawCircle((i-M)*p+b,v/2,g.get("spotRadius"),g.get("outlierLineColor"),g.get("outlierFillColor")).append(),d>u&&f.drawCircle((d-M)*p+b,v/2,g.get("spotRadius"),g.get("outlierLineColor"),g.get("outlierFillColor")).append()),f.drawRect(e.round((s-M)*p+b),e.round(.1*v),e.round((o-s)*p),e.round(.8*v),g.get("boxLineColor"),g.get("boxFillColor")).append(),f.drawLine(e.round((t-M)*p+b),e.round(v/2),e.round((s-M)*p+b),e.round(v/2),g.get("lineColor")).append(),f.drawLine(e.round((t-M)*p+b),e.round(v/4),e.round((t-M)*p+b),e.round(v-v/4),g.get("whiskerColor")).append(),f.drawLine(e.round((u-M)*p+b),e.round(v/2),e.round((o-M)*p+b),e.round(v/2),g.get("lineColor")).append(),f.drawLine(e.round((u-M)*p+b),e.round(v/4),e.round((u-M)*p+b),e.round(v-v/4),g.get("whiskerColor")).append(),f.drawLine(e.round((a-M)*p+b),e.round(.1*v),e.round((a-M)*p+b),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+b),e.round(v/2-h),e.round((g.get("target")-M)*p+b),e.round(v/2+h),g.get("targetColor")).append(),f.drawLine(e.round((g.get("target")-M)*p+b-h),e.round(v/2),e.round((g.get("target")-M)*p+b+h),e.round(v/2),g.get("targetColor")).append()),f.render()}}}),H=s({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=s({_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,s){return this.drawShape([[t,e],[n,i]],r,s)},drawShape:function(t,e,n,i){return this._genShape("Shape",[t,e,n,i])},drawCircle:function(t,e,n,i,r,s){return this._genShape("Circle",[t,e,n,i,r,s])},drawPieSlice:function(t,e,n,i,r,s,a){return this._genShape("PieSlice",[t,e,n,i,r,s,a])},drawRect:function(t,e,n,i,r,s){return this._genShape("Rect",[t,e,n,i,r,s])},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),this.pixelHeight=r?r[1]:i(n).height(),r=this._pxregex.exec(t),this.pixelWidth=r?r[1]: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=s(j,{init:function(e,r,s,a){A._super.init.call(this,e,r,s),this.canvas=t.createElement("canvas"),s[0]&&(s=s[0]),i.data(s,"_jqs_vcanvas",this),i(this.canvas).css({display:"inline-block",width:e,height:r,verticalAlign:"top"}),this._insert(this.canvas,s),this._calculatePixelDims(e,r,this.canvas),this.canvas.width=this.pixelWidth,this.canvas.height=this.pixelHeight,this.interact=a,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,s){var a,o,l=this._getContext(i,r,s);for(l.beginPath(),l.moveTo(e[0][0]+.5,e[0][1]+.5),a=1,o=e.length;o>a;a++)l.lineTo(e[a][0]+.5,e[a][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,s,a,o,l){var u=this._getContext(a,o,l);u.beginPath(),u.arc(i,r,s,0,2*e.PI,!1),this.targetX!==n&&this.targetY!==n&&u.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=t),a!==n&&u.stroke(),o!==n&&u.fill()},_drawPieSlice:function(t,e,i,r,s,a,o,l){var u=this._getContext(o,l);u.beginPath(),u.moveTo(e,i),u.arc(e,i,r,s,a,!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,s,a){return this._drawShape(t,[[e,n],[e+i,n],[e+i,n+r],[e,n+r],[e,n]],s,a)},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,s=this.shapeseq,a={};for(i=t.length;i--;)a[t[i]]=!0;for(i=s.length;i--;)n=s[i],a[n]&&(s.splice(i,1),delete this.shapes[n],r=i);for(i=e.length;i--;)s.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,s=i.length,a=this._getContext();for(a.clearRect(0,0,this.pixelWidth,this.pixelHeight),n=0;s>n;n++)t=i[n],e=r[t],this["_draw"+e.type].apply(this,e.args);this.interact||(this.shapes={},this.shapeseq=[])}}),E=s(j,{init:function(e,n,r){var s;E._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,s='<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",s),this.group=i(this.canvas).children()[0],this.rendered=!1,this.prerender=""},_drawShape:function(t,e,i,r,s){var a,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 a=p.splice(0,1),s=s===n?1:s,o=i===n?' stroked="false" ':' strokeWeight="'+s+'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 '+a+" l "+p.join(", ")+" "+u+'e"> </v:shape>'},_drawCircle:function(t,e,i,r,s,a,o){var l,u,d;return e-=r,i-=r,l=s===n?' stroked="false" ':' strokeWeight="'+o+'px" strokeColor="'+s+'" ',u=a===n?' filled="false"':' fillColor="'+a+'" 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,s,a,o,l,u){var d,c,h,p,f,m,_,g;if(a===o)return"";if(o-a===2*e.PI&&(a=0,o=2*e.PI),c=i+e.round(e.cos(a)*s),h=r+e.round(e.sin(a)*s),p=i+e.round(e.cos(o)*s),f=r+e.round(e.sin(o)*s),c===p&&h===f){if(o-a<e.PI)return"";c=p=i+s,h=f=r}return c===p&&h===f&&o-a<e.PI?"":(d=[i-s,r-s,i+s,r+s,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,s,a){return this._drawShape(t,[[e,n],[e,n+r],[e+i,n+r],[e+i,n],[e,n]],s,a)},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]),s="",a=e.length;for(n=0;a>n;n++)s+=this["_draw"+e[n].type].apply(this,e[n].args);for(r[0].outerHTML=s,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(a,o){if(!e[a]){if(!t[a]){var l="function"==typeof require&&require;if(!o&&l)return l(a,!0);if(s)return s(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var d=e[a]={exports:{}};t[a][0].call(d.exports,function(e){var n=t[a][1][e];return r(n?n:e)},d,d.exports,i,t,e,n)}return e[a].exports}for(var s="function"==typeof require&&require,a=0;a<n.length;a++)r(n[a]);return r}({1:[function(i,r,s){var a=function(t){return t&&t.__esModule?t:{"default":t}};Object.defineProperty(s,"__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"),_=a(m),g=i("./modules/default-params"),y=a(g),v=i("./modules/set-params"),M=a(v);s["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 s=h.extend({},y["default"]);switch(typeof r){case"string":s.title=r,s.text=arguments[1]||"",s.type=arguments[2]||"";break;case"object":if(r.title===n)return h.logStr('Missing "title" argument!'),!1;s.title=r.title;for(var a in y["default"])s[a]=i(a);s.confirmButtonText=s.showCancelButton?"Confirm":y["default"].confirmButtonText,s.confirmButtonText=i("confirmButtonText"),s.doneFunction=arguments[1]||null;break;default:return h.logStr('Unexpected type of argument! Expected "string" or "object", got '+typeof r),!1}M["default"](s),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,s,u)},w=0;w<m.length;w++)for(var b=0;b<g.length;b++){var L=g[b];m[w][L]=v}p.getOverlay().onclick=v,o=t.onkeydown;var k=function(t){return _["default"](t,s,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 s=i.querySelector(".sa-icon.sa-error");c.removeClass(s,"animateErrorIcon"),c.removeClass(s.querySelector(".sa-x-mark"),"animateXMark");var a=i.querySelector(".sa-icon.sa-warning");return c.removeClass(a,"pulseWarning"),c.removeClass(a.querySelector(".sa-body"),"pulseWarningIns"),c.removeClass(a.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=s["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"),s=(e("./handle-swal-dom"),e("./handle-dom")),a=function(e,n,i){function a(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"),_=s.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":a(d);break;case"mouseout":a(u);break;case"mousedown":a(c);break;case"mouseup":a(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=s.isDescendant(i,p);if(!M&&!w&&_&&!n.allowOutsideClick)break;f&&g&&_?o(i,n):g&&_||m?l(i,n):s.isDescendant(i,p)&&"BUTTON"===p.tagName&&sweetAlert.close()}},o=function(t,e){var n=!0;s.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:a,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 s=function(t,e){return new RegExp(" "+e+" ").test(" "+t.className+" ")},a=function(t,e){s(t,e)||(t.className+=" "+e)},o=function(t,e){var n=" "+t.className.replace(/[\t\r\n]/g," ")+" ";if(s(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=s,r.addClass=a,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 s=e("./handle-dom"),a=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],s.stopEventPropagation(o),h.focus(),i.confirmButtonColor&&a.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,s.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 s=function(t){return t&&t.__esModule?t:{"default":t}};Object.defineProperty(r,"__esModule",{value:!0});var a=n("./utils"),o=n("./handle-dom"),l=n("./default-params"),u=s(l),d=n("./injected-html"),c=s(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=a.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 s=i.getAttribute("data-timer");if("null"!==s&&""!==s){var a=n;i.timeout=setTimeout(function(){var t=(a||null)&&"true"===i.getAttribute("data-has-done-function");t?a(null):sweetAlert.close()},s)}},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")},b=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=b},{"./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"),s=t("./handle-swal-dom"),a=t("./handle-dom"),o=["error","warning","info","success","input","prompt"],l=function(t){var e=s.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:a.escapeHtml(t.title).split("\n").join("<br>"),l.innerHTML=t.html?t.text:a.escapeHtml(t.text||"").split("\n").join("<br>"),t.text&&a.show(l),t.customClass)a.addClass(e,t.customClass),e.setAttribute("data-custom-class",t.customClass);else{var c=e.getAttribute("data-custom-class");a.removeClass(e,c),e.setAttribute("data-custom-class","")}if(a.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),a.show(u));var d=s.getInput();switch(t.type){case"success":a.addClass(u,"animate"),a.addClass(u.querySelector(".sa-tip"),"animateSuccessTip"),a.addClass(u.querySelector(".sa-long"),"animateSuccessLong");break;case"error":a.addClass(u,"animateErrorIcon"),a.addClass(u.querySelector(".sa-x-mark"),"animateXMark");break;case"warning":a.addClass(u,"pulseWarning"),a.addClass(u.querySelector(".sa-body"),"pulseWarningIns"),a.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),a.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+")",a.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":a.hide(u),e.setAttribute("data-has-confirm-button",t.showConfirmButton),t.showConfirmButton?d.style.display="inline-block":a.hide(d),t.cancelButtonText&&(u.innerHTML=a.escapeHtml(t.cancelButtonText)),t.confirmButtonText&&(d.innerHTML=a.escapeHtml(t.confirmButtonText)),t.confirmButtonColor&&(d.style.backgroundColor=t.confirmButtonColor,d.style.borderLeftColor=t.confirmLoadingButtonColor,d.style.borderRightColor=t.confirmLoadingButtonColor,s.setFocusStyle(d,t.confirmButtonColor)),e.setAttribute("data-allow-outside-click",t.allowOutsideClick);var v=t.doneFunction?!0:!1;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},s=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},a=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=s,i.isIE8=a,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="",s=t(".strengthify-container"),a=t(".strengthify-wrapper");switch(a.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"}s.attr("class",r+" strengthify-container").css("width",25*(0===i.score?1:i.score)+"%"),""===e&&s.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",$(this).attr("data-token")&&(t+="<input type='hidden' name='_token' value='"+$(this).attr("data-token")+"'>\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){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=incident\\[name\\]]").val(t.name),e.find("textarea[name=incident\\[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 s="/setup/step"+i;return $.post(s,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"),s=$(this).attr("data-stack-spot-radius");$(this).sparkline(e,{composite:!0,lineColor:n,fillColor:i,spotColor:r,highlightSpotColor:r,spotRadius:s,valueSpots:{
"0:":r}})}})};i(!1)}$(".password-strength").strengthify()});