13 lines
398 KiB
JavaScript
13 lines
398 KiB
JavaScript
if(function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=t.length,n=K.type(t);return"function"===n||K.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(K.isFunction(e))return K.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return K.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(oe.test(e))return K.filter(e,t,n);e=K.filter(e,t)}return K.grep(t,function(t){return U.call(e,t)>=0!==n})}function s(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function a(t){var e=pe[t]={};return K.each(t.match(fe)||[],function(t,n){e[n]=!0}),e}function r(){Q.removeEventListener("DOMContentLoaded",r,!1),t.removeEventListener("load",r,!1),K.ready()}function o(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=K.expando+o.uid++}function l(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Me,"-$1").toLowerCase(),n=t.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:ve.test(n)?K.parseJSON(n):n}catch(s){}ye.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 K.nodeName(t,"table")&&K.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function f(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function p(t){var e=We.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function _(t,e){for(var n=0,i=t.length;i>n;n++)ge.set(t[n],"globalEval",!e||ge.get(e[n],"globalEval"))}function m(t,e){var n,i,s,a,r,o,l,u;if(1===e.nodeType){if(ge.hasData(t)&&(a=ge.access(t),r=ge.set(e,a),u=a.events)){delete r.handle,r.events={};for(s in u)for(n=0,i=u[s].length;i>n;n++)K.event.add(e,s,u[s][n])}ye.hasData(t)&&(o=ye.access(t),l=K.extend({},o),ye.set(e,l))}}function g(t,e){var n=t.getElementsByTagName?t.getElementsByTagName(e||"*"):t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&K.nodeName(t,e)?K.merge([t],n):n}function y(t,e){var n=e.nodeName.toLowerCase();"input"===n&&Te.test(t.type)?e.checked=t.checked:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}function v(e,n){var i,s=K(n.createElement(e)).appendTo(n.body),a=t.getDefaultComputedStyle&&(i=t.getDefaultComputedStyle(s[0]))?i.display:K.css(s[0],"display");return s.detach(),a}function M(t){var e=Q,n=Ne[t];return n||(n=v(t,e),"none"!==n&&n||(He=(He||K("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=He[0].contentDocument,e.write(),e.close(),n=v(t,e),He.detach()),Ne[t]=n),n}function L(t,e,n){var i,s,a,r,o=t.style;return n=n||Re(t),n&&(r=n.getPropertyValue(e)||n[e]),n&&(""!==r||K.contains(t.ownerDocument,t)||(r=K.style(t,e)),Ie.test(r)&&ze.test(e)&&(i=o.width,s=o.minWidth,a=o.maxWidth,o.minWidth=o.maxWidth=o.width=r,r=n.width,o.width=i,o.minWidth=s,o.maxWidth=a)),void 0!==r?r+"":r}function b(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function w(t,e){if(e in t)return e;for(var n=e[0].toUpperCase()+e.slice(1),i=e,s=Ve.length;s--;)if(e=Ve[s]+n,e in t)return e;return i}function T(t,e,n){var i=qe.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function Y(t,e,n,i,s){for(var a=n===(i?"border":"content")?4:"width"===e?1:0,r=0;4>a;a+=2)"margin"===n&&(r+=K.css(t,n+be[a],!0,s)),i?("content"===n&&(r-=K.css(t,"padding"+be[a],!0,s)),"margin"!==n&&(r-=K.css(t,"border"+be[a]+"Width",!0,s))):(r+=K.css(t,"padding"+be[a],!0,s),"padding"!==n&&(r+=K.css(t,"border"+be[a]+"Width",!0,s)));return r}function k(t,e,n){var i=!0,s="width"===e?t.offsetWidth:t.offsetHeight,a=Re(t),r="border-box"===K.css(t,"boxSizing",!1,a);if(0>=s||null==s){if(s=L(t,e,a),(0>s||null==s)&&(s=t.style[e]),Ie.test(s))return s;i=r&&(X.boxSizingReliable()||s===t.style[e]),s=parseFloat(s)||0}return s+Y(t,e,n||(r?"border":"content"),i,a)+"px"}function D(t,e){for(var n,i,s,a=[],r=0,o=t.length;o>r;r++)i=t[r],i.style&&(a[r]=ge.get(i,"olddisplay"),n=i.style.display,e?(a[r]||"none"!==n||(i.style.display=""),""===i.style.display&&we(i)&&(a[r]=ge.access(i,"olddisplay",M(i.nodeName)))):(s=we(i),"none"===n&&s||ge.set(i,"olddisplay",s?n:K.css(i,"display"))));for(r=0;o>r;r++)i=t[r],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?a[r]||"":"none"));return t}function x(t,e,n,i,s){return new x.prototype.init(t,e,n,i,s)}function S(){return setTimeout(function(){Xe=void 0}),Xe=K.now()}function C(t,e){var n,i=0,s={height:t};for(e=e?1:0;4>i;i+=2-e)n=be[i],s["margin"+n]=s["padding"+n]=t;return e&&(s.opacity=s.width=t),s}function j(t,e,n){for(var i,s=(nn[e]||[]).concat(nn["*"]),a=0,r=s.length;r>a;a++)if(i=s[a].call(n,e,t))return i}function P(t,e,n){var i,s,a,r,o,l,u,d,c=this,h={},f=t.style,p=t.nodeType&&we(t),_=ge.get(t,"fxshow");n.queue||(o=K._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--,K.queue(t,"fx").length||o.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],u=K.css(t,"display"),d="none"===u?ge.get(t,"olddisplay")||M(t.nodeName):u,"inline"===d&&"none"===K.css(t,"float")&&(f.display="inline-block")),n.overflow&&(f.overflow="hidden",c.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(i in e)if(s=e[i],Ze.exec(s)){if(delete e[i],a=a||"toggle"===s,s===(p?"hide":"show")){if("show"!==s||!_||void 0===_[i])continue;p=!0}h[i]=_&&_[i]||K.style(t,i)}else u=void 0;if(K.isEmptyObject(h))"inline"===("none"===u?M(t.nodeName):u)&&(f.display=u);else{_?"hidden"in _&&(p=_.hidden):_=ge.access(t,"fxshow",{}),a&&(_.hidden=!p),p?K(t).show():c.done(function(){K(t).hide()}),c.done(function(){var e;ge.remove(t,"fxshow");for(e in h)K.style(t,e,h[e])});for(i in h)r=j(p?_[i]:0,i,c),i in _||(_[i]=r.start,p&&(r.end=r.start,r.start="width"===i||"height"===i?1:0))}}function E(t,e){var n,i,s,a,r;for(n in t)if(i=K.camelCase(n),s=e[i],a=t[n],K.isArray(a)&&(s=a[1],a=t[n]=a[0]),n!==i&&(t[i]=a,delete t[n]),r=K.cssHooks[i],r&&"expand"in r){a=r.expand(a),delete t[i];for(n in a)n in t||(t[n]=a[n],e[n]=s)}else e[i]=s}function A(t,e,n){var i,s,a=0,r=en.length,o=K.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var e=Xe||S(),n=Math.max(0,u.startTime+u.duration-e),i=n/u.duration||0,a=1-i,r=0,l=u.tweens.length;l>r;r++)u.tweens[r].run(a);return o.notifyWith(t,[u,a,n]),1>a&&l?n:(o.resolveWith(t,[u]),!1)},u=o.promise({elem:t,props:K.extend({},e),opts:K.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:Xe||S(),duration:n.duration,tweens:[],createTween:function(e,n){var i=K.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(s)return this;for(s=!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(E(d,u.opts.specialEasing);r>a;a++)if(i=en[a].call(u,t,d,u.opts))return i;return K.map(d,j,u),K.isFunction(u.opts.start)&&u.opts.start.call(t,u),K.fx.timer(K.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 F(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,s=0,a=e.toLowerCase().match(fe)||[];if(K.isFunction(n))for(;i=a[s++];)"+"===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 s(o){var l;return a[o]=!0,K.each(t[o]||[],function(t,o){var u=o(e,n,i);return"string"!=typeof u||r||a[u]?r?!(l=u):void 0:(e.dataTypes.unshift(u),s(u),!1)}),l}var a={},r=t===Mn;return s(e.dataTypes[0])||!a["*"]&&s("*")}function O(t,e){var n,i,s=K.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((s[n]?t:i||(i={}))[n]=e[n]);return i&&K.extend(!0,t,i),t}function $(t,e,n){for(var i,s,a,r,o=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(s in o)if(o[s]&&o[s].test(i)){l.unshift(s);break}if(l[0]in n)a=l[0];else{for(s in n){if(!l[0]||t.converters[s+" "+l[0]]){a=s;break}r||(r=s)}a=a||r}return a?(a!==l[0]&&l.unshift(a),n[a]):void 0}function H(t,e,n,i){var s,a,r,o,l,u={},d=t.dataTypes.slice();if(d[1])for(r in t.converters)u[r.toLowerCase()]=t.converters[r];for(a=d.shift();a;)if(t.responseFields[a]&&(n[t.responseFields[a]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=a,a=d.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(r=u[l+" "+a]||u["* "+a],!r)for(s in u)if(o=s.split(" "),o[1]===a&&(r=u[l+" "+o[0]]||u["* "+o[0]])){r===!0?r=u[s]:u[s]!==!0&&(a=o[0],d.unshift(o[1]));break}if(r!==!0)if(r&&t["throws"])e=r(e);else try{e=r(e)}catch(c){return{state:"parsererror",error:r?c:"No conversion from "+l+" to "+a}}}return{state:"success",data:e}}function N(t,e,n,i){var s;if(K.isArray(e))K.each(e,function(e,s){n||Yn.test(t)?i(t,s):N(t+"["+("object"==typeof s?e:"")+"]",s,n,i)});else if(n||"object"!==K.type(e))i(t,e);else for(s in e)N(t+"["+s+"]",e[s],n,i)}function z(t){return K.isWindow(t)?t:9===t.nodeType&&t.defaultView}var I=[],R=I.slice,B=I.concat,q=I.push,U=I.indexOf,G={},J=G.toString,V=G.hasOwnProperty,X={},Q=t.document,Z="2.1.3",K=function(t,e){return new K.fn.init(t,e)},te=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ee=/^-ms-/,ne=/-([\da-z])/gi,ie=function(t,e){return e.toUpperCase()};K.fn=K.prototype={jquery:Z,constructor:K,selector:"",length:0,toArray:function(){return R.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:R.call(this)},pushStack:function(t){var e=K.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return K.each(this,t,e)},map:function(t){return this.pushStack(K.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(R.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:I.sort,splice:I.splice},K.extend=K.fn.extend=function(){var t,e,n,i,s,a,r=arguments[0]||{},o=1,l=arguments.length,u=!1;for("boolean"==typeof r&&(u=r,r=arguments[o]||{},o++),"object"==typeof r||K.isFunction(r)||(r={}),o===l&&(r=this,o--);l>o;o++)if(null!=(t=arguments[o]))for(e in t)n=r[e],i=t[e],r!==i&&(u&&i&&(K.isPlainObject(i)||(s=K.isArray(i)))?(s?(s=!1,a=n&&K.isArray(n)?n:[]):a=n&&K.isPlainObject(n)?n:{},r[e]=K.extend(u,a,i)):void 0!==i&&(r[e]=i));return r},K.extend({expando:"jQuery"+(Z+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===K.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){return!K.isArray(t)&&t-parseFloat(t)+1>=0},isPlainObject:function(t){return"object"!==K.type(t)||t.nodeType||K.isWindow(t)?!1:t.constructor&&!V.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?G[J.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;t=K.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(ee,"ms-").replace(ne,ie)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var s,a=0,r=t.length,o=n(t);if(i){if(o)for(;r>a&&(s=e.apply(t[a],i),s!==!1);a++);else for(a in t)if(s=e.apply(t[a],i),s===!1)break}else if(o)for(;r>a&&(s=e.call(t[a],a,t[a]),s!==!1);a++);else for(a in t)if(s=e.call(t[a],a,t[a]),s===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(te,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?K.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,s=t.length;n>i;i++)t[s++]=e[i];return t.length=s,t},grep:function(t,e,n){for(var i,s=[],a=0,r=t.length,o=!n;r>a;a++)i=!e(t[a],a),i!==o&&s.push(t[a]);return s},map:function(t,e,i){var s,a=0,r=t.length,o=n(t),l=[];if(o)for(;r>a;a++)s=e(t[a],a,i),null!=s&&l.push(s);else for(a in t)s=e(t[a],a,i),null!=s&&l.push(s);return B.apply([],l)},guid:1,proxy:function(t,e){var n,i,s;return"string"==typeof e&&(n=t[e],e=t,t=n),K.isFunction(t)?(i=R.call(arguments,2),s=function(){return t.apply(e||this,i.concat(R.call(arguments)))},s.guid=t.guid=t.guid||K.guid++,s):void 0},now:Date.now,support:X}),K.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){G["[object "+e+"]"]=e.toLowerCase()});var se=function(t){function e(t,e,n,i){var s,a,r,o,l,u,c,f,p,_;if((e?e.ownerDocument||e:N)!==P&&j(e),e=e||P,n=n||[],o=e.nodeType,"string"!=typeof t||!t||1!==o&&9!==o&&11!==o)return n;if(!i&&A){if(11!==o&&(s=ye.exec(t)))if(r=s[1]){if(9===o){if(a=e.getElementById(r),!a||!a.parentNode)return n;if(a.id===r)return n.push(a),n}else if(e.ownerDocument&&(a=e.ownerDocument.getElementById(r))&&$(e,a)&&a.id===r)return n.push(a),n}else{if(s[2])return Z.apply(n,e.getElementsByTagName(t)),n;if((r=s[3])&&L.getElementsByClassName)return Z.apply(n,e.getElementsByClassName(r)),n}if(L.qsa&&(!F||!F.test(t))){if(f=c=H,p=e,_=1!==o&&t,1===o&&"object"!==e.nodeName.toLowerCase()){for(u=Y(t),(c=e.getAttribute("id"))?f=c.replace(Me,"\\$&"):e.setAttribute("id",f),f="[id='"+f+"'] ",l=u.length;l--;)u[l]=f+h(u[l]);p=ve.test(t)&&d(e.parentNode)||e,_=u.join(",")}if(_)try{return Z.apply(n,p.querySelectorAll(_)),n}catch(m){}finally{c||e.removeAttribute("id")}}}return D(t.replace(le,"$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[H]=!0,t}function s(t){var e=P.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function a(t,e){for(var n=t.split("|"),i=t.length;i--;)b.attrHandle[n[i]]=e}function r(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||G)-(~t.sourceIndex||G);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 s,a=t([],n.length,e),r=a.length;r--;)n[s=a[r]]&&(n[s]=!(i[s]=n[s]))})})}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 f(t,e,n){var i=e.dir,s=n&&"parentNode"===i,a=I++;return e.first?function(e,n,a){for(;e=e[i];)if(1===e.nodeType||s)return t(e,n,a)}:function(e,n,r){var o,l,u=[z,a];if(r){for(;e=e[i];)if((1===e.nodeType||s)&&t(e,n,r))return!0}else for(;e=e[i];)if(1===e.nodeType||s){if(l=e[H]||(e[H]={}),(o=l[i])&&o[0]===z&&o[1]===a)return u[2]=o[2];if(l[i]=u,u[2]=t(e,n,r))return!0}}}function p(t){return t.length>1?function(e,n,i){for(var s=t.length;s--;)if(!t[s](e,n,i))return!1;return!0}:t[0]}function _(t,n,i){for(var s=0,a=n.length;a>s;s++)e(t,n[s],i);return i}function m(t,e,n,i,s){for(var a,r=[],o=0,l=t.length,u=null!=e;l>o;o++)(a=t[o])&&(!n||n(a,i,s))&&(r.push(a),u&&e.push(o));return r}function g(t,e,n,s,a,r){return s&&!s[H]&&(s=g(s)),a&&!a[H]&&(a=g(a,r)),i(function(i,r,o,l){var u,d,c,h=[],f=[],p=r.length,g=i||_(e||"*",o.nodeType?[o]:o,[]),y=!t||!i&&e?g:m(g,h,t,o,l),v=n?a||(i?t:p||s)?[]:r:y;if(n&&n(y,v,o,l),s)for(u=m(v,f),s(u,[],o,l),d=u.length;d--;)(c=u[d])&&(v[f[d]]=!(y[f[d]]=c));if(i){if(a||t){if(a){for(u=[],d=v.length;d--;)(c=v[d])&&u.push(y[d]=c);a(null,v=[],u,l)}for(d=v.length;d--;)(c=v[d])&&(u=a?te(i,c):h[d])>-1&&(i[u]=!(r[u]=c))}}else v=m(v===r?v.splice(p,v.length):v),a?a(null,r,v,l):Z.apply(r,v)})}function y(t){for(var e,n,i,s=t.length,a=b.relative[t[0].type],r=a||b.relative[" "],o=a?1:0,l=f(function(t){return t===e},r,!0),u=f(function(t){return te(e,t)>-1},r,!0),d=[function(t,n,i){var s=!a&&(i||n!==x)||((e=n).nodeType?l(t,n,i):u(t,n,i));return e=null,s}];s>o;o++)if(n=b.relative[t[o].type])d=[f(p(d),n)];else{if(n=b.filter[t[o].type].apply(null,t[o].matches),n[H]){for(i=++o;s>i&&!b.relative[t[i].type];i++);return g(o>1&&p(d),o>1&&h(t.slice(0,o-1).concat({value:" "===t[o-2].type?"*":""})).replace(le,"$1"),n,i>o&&y(t.slice(o,i)),s>i&&y(t=t.slice(i)),s>i&&h(t))}d.push(n)}return p(d)}function v(t,n){var s=n.length>0,a=t.length>0,r=function(i,r,o,l,u){var d,c,h,f=0,p="0",_=i&&[],g=[],y=x,v=i||a&&b.find.TAG("*",u),M=z+=null==y?1:Math.random()||.1,L=v.length;for(u&&(x=r!==P&&r);p!==L&&null!=(d=v[p]);p++){if(a&&d){for(c=0;h=t[c++];)if(h(d,r,o)){l.push(d);break}u&&(z=M)}s&&((d=!h&&d)&&f--,i&&_.push(d))}if(f+=p,s&&p!==f){for(c=0;h=n[c++];)h(_,g,r,o);if(i){if(f>0)for(;p--;)_[p]||g[p]||(g[p]=X.call(l));g=m(g)}Z.apply(l,g),u&&!i&&g.length>0&&f+n.length>1&&e.uniqueSort(l)}return u&&(z=M,x=y),_};return s?i(r):r}var M,L,b,w,T,Y,k,D,x,S,C,j,P,E,A,F,W,O,$,H="sizzle"+1*new Date,N=t.document,z=0,I=0,R=n(),B=n(),q=n(),U=function(t,e){return t===e&&(C=!0),0},G=1<<31,J={}.hasOwnProperty,V=[],X=V.pop,Q=V.push,Z=V.push,K=V.slice,te=function(t,e){for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return n;return-1},ee="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",se=ie.replace("w","w#"),ae="\\["+ne+"*("+ie+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+se+"))|)"+ne+"*\\]",re=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ae+")*)|.*)\\)|)",oe=new RegExp(ne+"+","g"),le=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),de=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),he=new RegExp(re),fe=new RegExp("^"+se+"$"),pe={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie.replace("w","w*")+")"),ATTR:new RegExp("^"+ae),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+ee+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},_e=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,Me=/'|\\/g,Le=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),be=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)},we=function(){j()};try{Z.apply(V=K.call(N.childNodes),N.childNodes),V[N.childNodes.length].nodeType}catch(Te){Z={apply:V.length?function(t,e){Q.apply(t,K.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}L=e.support={},T=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},j=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:N;return i!==P&&9===i.nodeType&&i.documentElement?(P=i,E=i.documentElement,n=i.defaultView,n&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",we,!1):n.attachEvent&&n.attachEvent("onunload",we)),A=!T(i),L.attributes=s(function(t){return t.className="i",!t.getAttribute("className")}),L.getElementsByTagName=s(function(t){return t.appendChild(i.createComment("")),!t.getElementsByTagName("*").length}),L.getElementsByClassName=ge.test(i.getElementsByClassName),L.getById=s(function(t){return E.appendChild(t).id=H,!i.getElementsByName||!i.getElementsByName(H).length}),L.getById?(b.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&A){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},b.filter.ID=function(t){var e=t.replace(Le,be);return function(t){return t.getAttribute("id")===e}}):(delete b.find.ID,b.filter.ID=function(t){var e=t.replace(Le,be);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),b.find.TAG=L.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):L.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],s=0,a=e.getElementsByTagName(t);if("*"===t){for(;n=a[s++];)1===n.nodeType&&i.push(n);return i}return a},b.find.CLASS=L.getElementsByClassName&&function(t,e){return A?e.getElementsByClassName(t):void 0},W=[],F=[],(L.qsa=ge.test(i.querySelectorAll))&&(s(function(t){E.appendChild(t).innerHTML="<a id='"+H+"'></a><select id='"+H+"-\f]' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&F.push("[*^$]="+ne+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||F.push("\\["+ne+"*(?:value|"+ee+")"),t.querySelectorAll("[id~="+H+"-]").length||F.push("~="),t.querySelectorAll(":checked").length||F.push(":checked"),t.querySelectorAll("a#"+H+"+*").length||F.push(".#.+[+~]")}),s(function(t){var e=i.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&F.push("name"+ne+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||F.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),F.push(",.*:")})),(L.matchesSelector=ge.test(O=E.matches||E.webkitMatchesSelector||E.mozMatchesSelector||E.oMatchesSelector||E.msMatchesSelector))&&s(function(t){L.disconnectedMatch=O.call(t,"div"),O.call(t,"[s!='']:x"),W.push("!=",re)}),F=F.length&&new RegExp(F.join("|")),W=W.length&&new RegExp(W.join("|")),e=ge.test(E.compareDocumentPosition),$=e||ge.test(E.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||!L.sortDetached&&e.compareDocumentPosition(t)===n?t===i||t.ownerDocument===N&&$(N,t)?-1:e===i||e.ownerDocument===N&&$(N,e)?1:S?te(S,t)-te(S,e):0:4&n?-1:1)}:function(t,e){if(t===e)return C=!0,0;var n,s=0,a=t.parentNode,o=e.parentNode,l=[t],u=[e];if(!a||!o)return t===i?-1:e===i?1:a?-1:o?1:S?te(S,t)-te(S,e):0;if(a===o)return r(t,e);for(n=t;n=n.parentNode;)l.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;l[s]===u[s];)s++;return s?r(l[s],u[s]):l[s]===N?-1:u[s]===N?1:0},i):P},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==P&&j(t),n=n.replace(ce,"='$1']"),!(!L.matchesSelector||!A||W&&W.test(n)||F&&F.test(n)))try{var i=O.call(t,n);if(i||L.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(s){}return e(n,P,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==P&&j(t),$(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==P&&j(t);var n=b.attrHandle[e.toLowerCase()],i=n&&J.call(b.attrHandle,e.toLowerCase())?n(t,e,!A):void 0;return void 0!==i?i:L.attributes||!A?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,s=0;if(C=!L.detectDuplicates,S=!L.sortStable&&t.slice(0),t.sort(U),C){for(;e=t[s++];)e===t[s]&&(i=n.push(s));for(;i--;)t.splice(n[i],1)}return S=null,t},w=e.getText=function(t){var e,n="",i=0,s=t.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=w(t)}else if(3===s||4===s)return t.nodeValue}else for(;e=t[i++];)n+=w(e);return n},b=e.selectors={cacheLength:50,createPseudo:i,match:pe,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(Le,be),t[3]=(t[3]||t[4]||t[5]||"").replace(Le,be),"~="===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 pe.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&he.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(Le,be).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=R[t+" "];return e||(e=new RegExp("(^|"+ne+")"+t+"("+ne+"|$)"))&&R(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(s){var a=e.attr(s,t);return null==a?"!="===n:n?(a+="","="===n?a===i:"!="===n?a!==i:"^="===n?i&&0===a.indexOf(i):"*="===n?i&&a.indexOf(i)>-1:"$="===n?i&&a.slice(-i.length)===i:"~="===n?(" "+a.replace(oe," ")+" ").indexOf(i)>-1:"|="===n?a===i||a.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(t,e,n,i,s){var a="nth"!==t.slice(0,3),r="last"!==t.slice(-4),o="of-type"===e;return 1===i&&0===s?function(t){return!!t.parentNode}:function(e,n,l){var u,d,c,h,f,p,_=a!==r?"nextSibling":"previousSibling",m=e.parentNode,g=o&&e.nodeName.toLowerCase(),y=!l&&!o;if(m){if(a){for(;_;){for(c=e;c=c[_];)if(o?c.nodeName.toLowerCase()===g:1===c.nodeType)return!1;p=_="only"===t&&!p&&"nextSibling"}return!0}if(p=[r?m.firstChild:m.lastChild],r&&y){for(d=m[H]||(m[H]={}),u=d[t]||[],f=u[0]===z&&u[1],h=u[0]===z&&u[2],c=f&&m.childNodes[f];c=++f&&c&&c[_]||(h=f=0)||p.pop();)if(1===c.nodeType&&++h&&c===e){d[t]=[z,f,h];break}}else if(y&&(u=(e[H]||(e[H]={}))[t])&&u[0]===z)h=u[1];else for(;(c=++f&&c&&c[_]||(h=f=0)||p.pop())&&((o?c.nodeName.toLowerCase()!==g:1!==c.nodeType)||!++h||(y&&((c[H]||(c[H]={}))[t]=[z,h]),c!==e)););return h-=s,h===i||h%i===0&&h/i>=0}}},PSEUDO:function(t,n){var s,a=b.pseudos[t]||b.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return a[H]?a(n):a.length>1?(s=[t,t,"",n],b.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,s=a(t,n),r=s.length;r--;)i=te(t,s[r]),t[i]=!(e[i]=s[r])}):function(t){return a(t,0,s)}):a}},pseudos:{not:i(function(t){var e=[],n=[],s=k(t.replace(le,"$1"));return s[H]?i(function(t,e,n,i){for(var a,r=s(t,null,i,[]),o=t.length;o--;)(a=r[o])&&(t[o]=!(e[o]=a))}):function(t,i,a){return e[0]=t,s(e,null,a,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(Le,be),function(e){return(e.textContent||e.innerText||w(e)).indexOf(t)>-1}}),lang:i(function(t){return fe.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(Le,be).toLowerCase(),function(e){var n;do if(n=A?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===E},focus:function(t){return t===P.activeElement&&(!P.hasFocus||P.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 me.test(t.nodeName)},input:function(t){return _e.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,s,a,r,o,l,u,d=B[t+" "];if(d)return n?0:d.slice(0);for(o=t,l=[],u=b.preFilter;o;){(!i||(s=ue.exec(o)))&&(s&&(o=o.slice(s[0].length)||o),l.push(a=[])),i=!1,(s=de.exec(o))&&(i=s.shift(),a.push({value:i,type:s[0].replace(le," ")}),o=o.slice(i.length));for(r in b.filter)!(s=pe[r].exec(o))||u[r]&&!(s=u[r](s))||(i=s.shift(),a.push({value:i,type:r,matches:s}),o=o.slice(i.length));if(!i)break}return n?o.length:o?e.error(t):B(t,l).slice(0)},k=e.compile=function(t,e){var n,i=[],s=[],a=q[t+" "];if(!a){for(e||(e=Y(t)),n=e.length;n--;)a=y(e[n]),a[H]?i.push(a):s.push(a);a=q(t,v(s,i)),a.selector=t}return a},D=e.select=function(t,e,n,i){var s,a,r,o,l,u="function"==typeof t&&t,c=!i&&Y(t=u.selector||t);if(n=n||[],1===c.length){if(a=c[0]=c[0].slice(0),a.length>2&&"ID"===(r=a[0]).type&&L.getById&&9===e.nodeType&&A&&b.relative[a[1].type]){if(e=(b.find.ID(r.matches[0].replace(Le,be),e)||[])[0],!e)return n;u&&(e=e.parentNode),t=t.slice(a.shift().value.length)}for(s=pe.needsContext.test(t)?0:a.length;s--&&(r=a[s],!b.relative[o=r.type]);)if((l=b.find[o])&&(i=l(r.matches[0].replace(Le,be),ve.test(a[0].type)&&d(e.parentNode)||e))){if(a.splice(s,1),t=i.length&&h(a),!t)return Z.apply(n,i),n;break}}return(u||k(t,c))(i,e,!A,n,ve.test(t)&&d(e.parentNode)||e),n},L.sortStable=H.split("").sort(U).join("")===H,L.detectDuplicates=!!C,j(),L.sortDetached=s(function(t){return 1&t.compareDocumentPosition(P.createElement("div"))}),s(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||a("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),L.attributes&&s(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||a("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),s(function(t){return null==t.getAttribute("disabled")})||a(ee,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);K.find=se,K.expr=se.selectors,K.expr[":"]=K.expr.pseudos,K.unique=se.uniqueSort,K.text=se.getText,K.isXMLDoc=se.isXML,K.contains=se.contains;var ae=K.expr.match.needsContext,re=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,oe=/^.[^:#\[\.,]*$/;K.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?K.find.matchesSelector(i,t)?[i]:[]:K.find.matches(t,K.grep(e,function(t){return 1===t.nodeType}))},K.fn.extend({find:function(t){var e,n=this.length,i=[],s=this;if("string"!=typeof t)return this.pushStack(K(t).filter(function(){for(e=0;n>e;e++)if(K.contains(s[e],this))return!0
|
||
}));for(e=0;n>e;e++)K.find(t,s[e],i);return i=this.pushStack(n>1?K.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&&ae.test(t)?K(t):t||[],!1).length}});var le,ue=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,de=K.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]:ue.exec(t),!n||!n[1]&&e)return!e||e.jquery?(e||le).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof K?e[0]:e,K.merge(this,K.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:Q,!0)),re.test(n[1])&&K.isPlainObject(e))for(n in e)K.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):K.isFunction(t)?"undefined"!=typeof le.ready?le.ready(t):t(K):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),K.makeArray(t,this))};de.prototype=K.fn,le=K(Q);var ce=/^(?:parents|prev(?:Until|All))/,he={children:!0,contents:!0,next:!0,prev:!0};K.extend({dir:function(t,e,n){for(var i=[],s=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(s&&K(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}}),K.fn.extend({has:function(t){var e=K(t,this),n=e.length;return this.filter(function(){for(var t=0;n>t;t++)if(K.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,i=0,s=this.length,a=[],r=ae.test(t)||"string"!=typeof t?K(t,e||this.context):0;s>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(r?r.index(n)>-1:1===n.nodeType&&K.find.matchesSelector(n,t))){a.push(n);break}return this.pushStack(a.length>1?K.unique(a):a)},index:function(t){return t?"string"==typeof t?U.call(K(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(K.unique(K.merge(this.get(),K(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),K.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return K.dir(t,"parentNode")},parentsUntil:function(t,e,n){return K.dir(t,"parentNode",n)},next:function(t){return s(t,"nextSibling")},prev:function(t){return s(t,"previousSibling")},nextAll:function(t){return K.dir(t,"nextSibling")},prevAll:function(t){return K.dir(t,"previousSibling")},nextUntil:function(t,e,n){return K.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return K.dir(t,"previousSibling",n)},siblings:function(t){return K.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return K.sibling(t.firstChild)},contents:function(t){return t.contentDocument||K.merge([],t.childNodes)}},function(t,e){K.fn[t]=function(n,i){var s=K.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(s=K.filter(i,s)),this.length>1&&(he[t]||K.unique(s),ce.test(t)&&s.reverse()),this.pushStack(s)}});var fe=/\S+/g,pe={};K.Callbacks=function(t){t="string"==typeof t?pe[t]||a(t):K.extend({},t);var e,n,i,s,r,o,l=[],u=!t.once&&[],d=function(a){for(e=t.memory&&a,n=!0,o=s||0,s=0,r=l.length,i=!0;l&&r>o;o++)if(l[o].apply(a[0],a[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 a(e){K.each(e,function(e,n){var i=K.type(n);"function"===i?t.unique&&c.has(n)||l.push(n):n&&n.length&&"string"!==i&&a(n)})}(arguments),i?r=l.length:e&&(s=n,d(e))}return this},remove:function(){return l&&K.each(arguments,function(t,e){for(var n;(n=K.inArray(e,l,n))>-1;)l.splice(n,1),i&&(r>=n&&r--,o>=n&&o--)}),this},has:function(t){return t?K.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],r=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},K.extend({Deferred:function(t){var e=[["resolve","done",K.Callbacks("once memory"),"resolved"],["reject","fail",K.Callbacks("once memory"),"rejected"],["notify","progress",K.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var t=arguments;return K.Deferred(function(n){K.each(e,function(e,a){var r=K.isFunction(t[e])&&t[e];s[a[1]](function(){var t=r&&r.apply(this,arguments);t&&K.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a[0]+"With"](this===i?n.promise():this,r?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?K.extend(t,i):i}},s={};return i.pipe=i.then,K.each(e,function(t,a){var r=a[2],o=a[3];i[a[1]]=r.add,o&&r.add(function(){n=o},e[1^t][2].disable,e[2][2].lock),s[a[0]]=function(){return s[a[0]+"With"](this===s?i:this,arguments),this},s[a[0]+"With"]=r.fireWith}),i.promise(s),t&&t.call(s,s),s},when:function(t){var e,n,i,s=0,a=R.call(arguments),r=a.length,o=1!==r||t&&K.isFunction(t.promise)?r:0,l=1===o?t:K.Deferred(),u=function(t,n,i){return function(s){n[t]=this,i[t]=arguments.length>1?R.call(arguments):s,i===e?l.notifyWith(n,i):--o||l.resolveWith(n,i)}};if(r>1)for(e=new Array(r),n=new Array(r),i=new Array(r);r>s;s++)a[s]&&K.isFunction(a[s].promise)?a[s].promise().done(u(s,i,a)).fail(l.reject).progress(u(s,n,e)):--o;return o||l.resolveWith(i,a),l.promise()}});var _e;K.fn.ready=function(t){return K.ready.promise().done(t),this},K.extend({isReady:!1,readyWait:1,holdReady:function(t){t?K.readyWait++:K.ready(!0)},ready:function(t){(t===!0?--K.readyWait:K.isReady)||(K.isReady=!0,t!==!0&&--K.readyWait>0||(_e.resolveWith(Q,[K]),K.fn.triggerHandler&&(K(Q).triggerHandler("ready"),K(Q).off("ready"))))}}),K.ready.promise=function(e){return _e||(_e=K.Deferred(),"complete"===Q.readyState?setTimeout(K.ready):(Q.addEventListener("DOMContentLoaded",r,!1),t.addEventListener("load",r,!1))),_e.promise(e)},K.ready.promise();var me=K.access=function(t,e,n,i,s,a,r){var o=0,l=t.length,u=null==n;if("object"===K.type(n)){s=!0;for(o in n)K.access(t,e,o,n[o],!0,a,r)}else if(void 0!==i&&(s=!0,K.isFunction(i)||(r=!0),u&&(r?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(K(t),n)})),e))for(;l>o;o++)e(t[o],n,r?i:i.call(t[o],o,e(t[o],n)));return s?t:u?e.call(t):l?e(t[0],n):a};K.acceptData=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType},o.uid=1,o.accepts=K.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,K.extend(t,e)}}return this.cache[n]||(this.cache[n]={}),n},set:function(t,e,n){var i,s=this.key(t),a=this.cache[s];if("string"==typeof e)a[e]=n;else if(K.isEmptyObject(a))K.extend(this.cache[s],e);else for(i in e)a[i]=e[i];return a},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,K.camelCase(e))):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i,s,a=this.key(t),r=this.cache[a];if(void 0===e)this.cache[a]={};else{K.isArray(e)?i=e.concat(e.map(K.camelCase)):(s=K.camelCase(e),e in r?i=[e,s]:(i=s,i=i in r?[i]:i.match(fe)||[])),n=i.length;for(;n--;)delete r[i[n]]}},hasData:function(t){return!K.isEmptyObject(this.cache[t[this.expando]]||{})},discard:function(t){t[this.expando]&&delete this.cache[t[this.expando]]}};var ge=new o,ye=new o,ve=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Me=/([A-Z])/g;K.extend({hasData:function(t){return ye.hasData(t)||ge.hasData(t)},data:function(t,e,n){return ye.access(t,e,n)},removeData:function(t,e){ye.remove(t,e)},_data:function(t,e,n){return ge.access(t,e,n)},_removeData:function(t,e){ge.remove(t,e)}}),K.fn.extend({data:function(t,e){var n,i,s,a=this[0],r=a&&a.attributes;if(void 0===t){if(this.length&&(s=ye.get(a),1===a.nodeType&&!ge.get(a,"hasDataAttrs"))){for(n=r.length;n--;)r[n]&&(i=r[n].name,0===i.indexOf("data-")&&(i=K.camelCase(i.slice(5)),l(a,i,s[i])));ge.set(a,"hasDataAttrs",!0)}return s}return"object"==typeof t?this.each(function(){ye.set(this,t)}):me(this,function(e){var n,i=K.camelCase(t);if(a&&void 0===e){if(n=ye.get(a,t),void 0!==n)return n;if(n=ye.get(a,i),void 0!==n)return n;if(n=l(a,i,void 0),void 0!==n)return n}else this.each(function(){var n=ye.get(this,i);ye.set(this,i,e),-1!==t.indexOf("-")&&void 0!==n&&ye.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){ye.remove(this,t)})}}),K.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=ge.get(t,e),n&&(!i||K.isArray(n)?i=ge.access(t,e,K.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=K.queue(t,e),i=n.length,s=n.shift(),a=K._queueHooks(t,e),r=function(){K.dequeue(t,e)};"inprogress"===s&&(s=n.shift(),i--),s&&("fx"===e&&n.unshift("inprogress"),delete a.stop,s.call(t,r,a)),!i&&a&&a.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return ge.get(t,n)||ge.access(t,n,{empty:K.Callbacks("once memory").add(function(){ge.remove(t,[e+"queue",n])})})}}),K.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?K.queue(this[0],t):void 0===e?this:this.each(function(){var n=K.queue(this,t,e);K._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&K.dequeue(this,t)})},dequeue:function(t){return this.each(function(){K.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,s=K.Deferred(),a=this,r=this.length,o=function(){--i||s.resolveWith(a,[a])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";r--;)n=ge.get(a[r],t+"queueHooks"),n&&n.empty&&(i++,n.empty.add(o));return o(),s.promise(e)}});var Le=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,be=["Top","Right","Bottom","Left"],we=function(t,e){return t=e||t,"none"===K.css(t,"display")||!K.contains(t.ownerDocument,t)},Te=/^(?: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),X.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",X.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Ye="undefined";X.focusinBubbles="onfocusin"in t;var ke=/^key/,De=/^(?:mouse|pointer|contextmenu)|click/,xe=/^(?:focusinfocus|focusoutblur)$/,Se=/^([^.]*)(?:\.(.+)|)$/;K.event={global:{},add:function(t,e,n,i,s){var a,r,o,l,u,d,c,h,f,p,_,m=ge.get(t);if(m)for(n.handler&&(a=n,n=a.handler,s=a.selector),n.guid||(n.guid=K.guid++),(l=m.events)||(l=m.events={}),(r=m.handle)||(r=m.handle=function(e){return typeof K!==Ye&&K.event.triggered!==e.type?K.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(fe)||[""],u=e.length;u--;)o=Se.exec(e[u])||[],f=_=o[1],p=(o[2]||"").split(".").sort(),f&&(c=K.event.special[f]||{},f=(s?c.delegateType:c.bindType)||f,c=K.event.special[f]||{},d=K.extend({type:f,origType:_,data:i,handler:n,guid:n.guid,selector:s,needsContext:s&&K.expr.match.needsContext.test(s),namespace:p.join(".")},a),(h=l[f])||(h=l[f]=[],h.delegateCount=0,c.setup&&c.setup.call(t,i,p,r)!==!1||t.addEventListener&&t.addEventListener(f,r,!1)),c.add&&(c.add.call(t,d),d.handler.guid||(d.handler.guid=n.guid)),s?h.splice(h.delegateCount++,0,d):h.push(d),K.event.global[f]=!0)},remove:function(t,e,n,i,s){var a,r,o,l,u,d,c,h,f,p,_,m=ge.hasData(t)&&ge.get(t);if(m&&(l=m.events)){for(e=(e||"").match(fe)||[""],u=e.length;u--;)if(o=Se.exec(e[u])||[],f=_=o[1],p=(o[2]||"").split(".").sort(),f){for(c=K.event.special[f]||{},f=(i?c.delegateType:c.bindType)||f,h=l[f]||[],o=o[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=a=h.length;a--;)d=h[a],!s&&_!==d.origType||n&&n.guid!==d.guid||o&&!o.test(d.namespace)||i&&i!==d.selector&&("**"!==i||!d.selector)||(h.splice(a,1),d.selector&&h.delegateCount--,c.remove&&c.remove.call(t,d));r&&!h.length&&(c.teardown&&c.teardown.call(t,p,m.handle)!==!1||K.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)K.event.remove(t,f+e[u],n,i,!0);K.isEmptyObject(l)&&(delete m.handle,ge.remove(t,"events"))}},trigger:function(e,n,i,s){var a,r,o,l,u,d,c,h=[i||Q],f=V.call(e,"type")?e.type:e,p=V.call(e,"namespace")?e.namespace.split("."):[];if(r=o=i=i||Q,3!==i.nodeType&&8!==i.nodeType&&!xe.test(f+K.event.triggered)&&(f.indexOf(".")>=0&&(p=f.split("."),f=p.shift(),p.sort()),u=f.indexOf(":")<0&&"on"+f,e=e[K.expando]?e:new K.Event(f,"object"==typeof e&&e),e.isTrigger=s?2:3,e.namespace=p.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:K.makeArray(n,[e]),c=K.event.special[f]||{},s||!c.trigger||c.trigger.apply(i,n)!==!1)){if(!s&&!c.noBubble&&!K.isWindow(i)){for(l=c.delegateType||f,xe.test(l+f)||(r=r.parentNode);r;r=r.parentNode)h.push(r),o=r;o===(i.ownerDocument||Q)&&h.push(o.defaultView||o.parentWindow||t)}for(a=0;(r=h[a++])&&!e.isPropagationStopped();)e.type=a>1?l:c.bindType||f,d=(ge.get(r,"events")||{})[e.type]&&ge.get(r,"handle"),d&&d.apply(r,n),d=u&&r[u],d&&d.apply&&K.acceptData(r)&&(e.result=d.apply(r,n),e.result===!1&&e.preventDefault());return e.type=f,s||e.isDefaultPrevented()||c._default&&c._default.apply(h.pop(),n)!==!1||!K.acceptData(i)||u&&K.isFunction(i[f])&&!K.isWindow(i)&&(o=i[u],o&&(i[u]=null),K.event.triggered=f,i[f](),K.event.triggered=void 0,o&&(i[u]=o)),e.result}},dispatch:function(t){t=K.event.fix(t);var e,n,i,s,a,r=[],o=R.call(arguments),l=(ge.get(this,"events")||{})[t.type]||[],u=K.event.special[t.type]||{};if(o[0]=t,t.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,t)!==!1){for(r=K.event.handlers.call(this,t,l),e=0;(s=r[e++])&&!t.isPropagationStopped();)for(t.currentTarget=s.elem,n=0;(a=s.handlers[n++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(a.namespace))&&(t.handleObj=a,t.data=a.data,i=((K.event.special[a.origType]||{}).handle||a.handler).apply(s.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,s,a,r=[],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++)a=e[n],s=a.selector+" ",void 0===i[s]&&(i[s]=a.needsContext?K(s,this).index(l)>=0:K.find(s,this,null,[l]).length),i[s]&&i.push(a);i.length&&r.push({elem:l,handlers:i})}return o<e.length&&r.push({elem:this,handlers:e.slice(o)}),r},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,s,a=e.button;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||Q,i=n.documentElement,s=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||s&&s.scrollLeft||0)-(i&&i.clientLeft||s&&s.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||s&&s.scrollTop||0)-(i&&i.clientTop||s&&s.clientTop||0)),t.which||void 0===a||(t.which=1&a?1:2&a?3:4&a?2:0),t}},fix:function(t){if(t[K.expando])return t;var e,n,i,s=t.type,a=t,r=this.fixHooks[s];for(r||(this.fixHooks[s]=r=De.test(s)?this.mouseHooks:ke.test(s)?this.keyHooks:{}),i=r.props?this.props.concat(r.props):this.props,t=new K.Event(a),e=i.length;e--;)n=i[e],t[n]=a[n];return t.target||(t.target=Q),3===t.target.nodeType&&(t.target=t.target.parentNode),r.filter?r.filter(t,a):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&&K.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(t){return K.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 s=K.extend(new K.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?K.event.trigger(s,null,e):K.event.dispatch.call(e,s),s.isDefaultPrevented()&&n.preventDefault()}},K.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)},K.Event=function(t,e){return this instanceof K.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&&K.extend(this,e),this.timeStamp=t&&t.timeStamp||K.now(),void(this[K.expando]=!0)):new K.Event(t,e)},K.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()}},K.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){K.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,s=t.relatedTarget,a=t.handleObj;return(!s||s!==i&&!K.contains(i,s))&&(t.type=a.origType,n=a.handler.apply(this,arguments),t.type=e),n}}}),X.focusinBubbles||K.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){K.event.simulate(e,t.target,K.event.fix(t),!0)};K.event.special[e]={setup:function(){var i=this.ownerDocument||this,s=ge.access(i,e);s||i.addEventListener(t,n,!0),ge.access(i,e,(s||0)+1)},teardown:function(){var i=this.ownerDocument||this,s=ge.access(i,e)-1;s?ge.access(i,e,s):(i.removeEventListener(t,n,!0),ge.remove(i,e))}}}),K.fn.extend({on:function(t,e,n,i,s){var a,r;if("object"==typeof t){"string"!=typeof e&&(n=n||e,e=void 0);for(r in t)this.on(r,e,n,t[r],s);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===s&&(a=i,i=function(t){return K().off(t),a.apply(this,arguments)},i.guid=a.guid||(a.guid=K.guid++)),this.each(function(){K.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,s;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,K(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(s in t)this.off(s,e,t[s]);return this}return(e===!1||"function"==typeof e)&&(n=e,e=void 0),n===!1&&(n=d),this.each(function(){K.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){K.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?K.event.trigger(t,e,n,!0):void 0}});var Ce=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,je=/<([\w:]+)/,Pe=/<|&#?\w+;/,Ee=/<(?:script|style|link)/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,Fe=/^$|\/(?:java|ecma)script/i,We=/^true\/(.*)/,Oe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,$e={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,"",""]};$e.optgroup=$e.option,$e.tbody=$e.tfoot=$e.colgroup=$e.caption=$e.thead,$e.th=$e.td,K.extend({clone:function(t,e,n){var i,s,a,r,o=t.cloneNode(!0),l=K.contains(t.ownerDocument,t);if(!(X.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||K.isXMLDoc(t)))for(r=g(o),a=g(t),i=0,s=a.length;s>i;i++)y(a[i],r[i]);if(e)if(n)for(a=a||g(t),r=r||g(o),i=0,s=a.length;s>i;i++)m(a[i],r[i]);else m(t,o);return r=g(o,"script"),r.length>0&&_(r,!l&&g(t,"script")),o},buildFragment:function(t,e,n,i){for(var s,a,r,o,l,u,d=e.createDocumentFragment(),c=[],h=0,f=t.length;f>h;h++)if(s=t[h],s||0===s)if("object"===K.type(s))K.merge(c,s.nodeType?[s]:s);else if(Pe.test(s)){for(a=a||d.appendChild(e.createElement("div")),r=(je.exec(s)||["",""])[1].toLowerCase(),o=$e[r]||$e._default,a.innerHTML=o[1]+s.replace(Ce,"<$1></$2>")+o[2],u=o[0];u--;)a=a.lastChild;K.merge(c,a.childNodes),a=d.firstChild,a.textContent=""}else c.push(e.createTextNode(s));for(d.textContent="",h=0;s=c[h++];)if((!i||-1===K.inArray(s,i))&&(l=K.contains(s.ownerDocument,s),a=g(d.appendChild(s),"script"),l&&_(a),n))for(u=0;s=a[u++];)Fe.test(s.type||"")&&n.push(s);return d},cleanData:function(t){for(var e,n,i,s,a=K.event.special,r=0;void 0!==(n=t[r]);r++){if(K.acceptData(n)&&(s=n[ge.expando],s&&(e=ge.cache[s]))){if(e.events)for(i in e.events)a[i]?K.event.remove(n,i):K.removeEvent(n,i,e.handle);ge.cache[s]&&delete ge.cache[s]}delete ye.cache[n[ye.expando]]}}}),K.fn.extend({text:function(t){return me(this,function(t){return void 0===t?K.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?K.filter(t,this):this,s=0;null!=(n=i[s]);s++)e||1!==n.nodeType||K.cleanData(g(n)),n.parentNode&&(e&&K.contains(n.ownerDocument,n)&&_(g(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(K.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 K.clone(this,t,e)})},html:function(t){return me(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&&!Ee.test(t)&&!$e[(je.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Ce,"<$1></$2>");try{for(;i>n;n++)e=this[n]||{},1===e.nodeType&&(K.cleanData(g(e,!1)),e.innerHTML=t);e=0}catch(s){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,K.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,s,a,r,o,l=0,u=this.length,d=this,c=u-1,h=t[0],_=K.isFunction(h);if(_||u>1&&"string"==typeof h&&!X.checkClone&&Ae.test(h))return this.each(function(n){var i=d.eq(n);_&&(t[0]=h.call(this,n,i.html())),i.domManip(t,e)});if(u&&(n=K.buildFragment(t,this[0].ownerDocument,!1,this),i=n.firstChild,1===n.childNodes.length&&(n=i),i)){for(s=K.map(g(n,"script"),f),a=s.length;u>l;l++)r=n,l!==c&&(r=K.clone(r,!0,!0),a&&K.merge(s,g(r,"script"))),e.call(this[l],r,l);if(a)for(o=s[s.length-1].ownerDocument,K.map(s,p),l=0;a>l;l++)r=s[l],Fe.test(r.type||"")&&!ge.access(r,"globalEval")&&K.contains(o,r)&&(r.src?K._evalUrl&&K._evalUrl(r.src):K.globalEval(r.textContent.replace(Oe,"")))}return this}}),K.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){K.fn[t]=function(t){for(var n,i=[],s=K(t),a=s.length-1,r=0;a>=r;r++)n=r===a?this:this.clone(!0),K(s[r])[e](n),q.apply(i,n.get());return this.pushStack(i)}});var He,Ne={},ze=/^margin/,Ie=new RegExp("^("+Le+")(?!px)[a-z%]+$","i"),Re=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):t.getComputedStyle(e,null)};!function(){function e(){r.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",r.innerHTML="",s.appendChild(a);var e=t.getComputedStyle(r,null);n="1%"!==e.top,i="4px"===e.width,s.removeChild(a)}var n,i,s=Q.documentElement,a=Q.createElement("div"),r=Q.createElement("div");r.style&&(r.style.backgroundClip="content-box",r.cloneNode(!0).style.backgroundClip="",X.clearCloneStyle="content-box"===r.style.backgroundClip,a.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",a.appendChild(r),t.getComputedStyle&&K.extend(X,{pixelPosition:function(){return e(),n},boxSizingReliable:function(){return null==i&&e(),i},reliableMarginRight:function(){var e,n=r.appendChild(Q.createElement("div"));return n.style.cssText=r.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",r.style.width="1px",s.appendChild(a),e=!parseFloat(t.getComputedStyle(n,null).marginRight),s.removeChild(a),r.removeChild(n),e}}))}(),K.swap=function(t,e,n,i){var s,a,r={};for(a in e)r[a]=t.style[a],t.style[a]=e[a];s=n.apply(t,i||[]);for(a in e)t.style[a]=r[a];return s};var Be=/^(none|table(?!-c[ea]).+)/,qe=new RegExp("^("+Le+")(.*)$","i"),Ue=new RegExp("^([+-])=("+Le+")","i"),Ge={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"},Ve=["Webkit","O","Moz","ms"];K.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=L(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 s,a,r,o=K.camelCase(e),l=t.style;return e=K.cssProps[o]||(K.cssProps[o]=w(l,o)),r=K.cssHooks[e]||K.cssHooks[o],void 0===n?r&&"get"in r&&void 0!==(s=r.get(t,!1,i))?s:l[e]:(a=typeof n,"string"===a&&(s=Ue.exec(n))&&(n=(s[1]+1)*s[2]+parseFloat(K.css(t,e)),a="number"),null!=n&&n===n&&("number"!==a||K.cssNumber[o]||(n+="px"),X.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),r&&"set"in r&&void 0===(n=r.set(t,n,i))||(l[e]=n)),void 0)}},css:function(t,e,n,i){var s,a,r,o=K.camelCase(e);return e=K.cssProps[o]||(K.cssProps[o]=w(t.style,o)),r=K.cssHooks[e]||K.cssHooks[o],r&&"get"in r&&(s=r.get(t,!0,n)),void 0===s&&(s=L(t,e,i)),"normal"===s&&e in Je&&(s=Je[e]),""===n||n?(a=parseFloat(s),n===!0||K.isNumeric(a)?a||0:s):s}}),K.each(["height","width"],function(t,e){K.cssHooks[e]={get:function(t,n,i){return n?Be.test(K.css(t,"display"))&&0===t.offsetWidth?K.swap(t,Ge,function(){return k(t,e,i)}):k(t,e,i):void 0},set:function(t,n,i){var s=i&&Re(t);return T(t,n,i?Y(t,e,i,"border-box"===K.css(t,"boxSizing",!1,s),s):0)}}}),K.cssHooks.marginRight=b(X.reliableMarginRight,function(t,e){return e?K.swap(t,{display:"inline-block"},L,[t,"marginRight"]):void 0}),K.each({margin:"",padding:"",border:"Width"},function(t,e){K.cssHooks[t+e]={expand:function(n){for(var i=0,s={},a="string"==typeof n?n.split(" "):[n];4>i;i++)s[t+be[i]+e]=a[i]||a[i-2]||a[0];return s}},ze.test(t)||(K.cssHooks[t+e].set=T)}),K.fn.extend({css:function(t,e){return me(this,function(t,e,n){var i,s,a={},r=0;if(K.isArray(e)){for(i=Re(t),s=e.length;s>r;r++)a[e[r]]=K.css(t,e[r],!1,i);return a}return void 0!==n?K.style(t,e,n):K.css(t,e)},t,e,arguments.length>1)},show:function(){return D(this,!0)},hide:function(){return D(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){we(this)?K(this).show():K(this).hide()})}}),K.Tween=x,x.prototype={constructor:x,init:function(t,e,n,i,s,a){this.elem=t,this.prop=n,this.easing=s||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=a||(K.cssNumber[n]?"":"px")},cur:function(){var t=x.propHooks[this.prop];return t&&t.get?t.get(this):x.propHooks._default.get(this)},run:function(t){var e,n=x.propHooks[this.prop];return this.pos=e=this.options.duration?K.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):x.propHooks._default.set(this),this}},x.prototype.init.prototype=x.prototype,x.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=K.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){K.fx.step[t.prop]?K.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[K.cssProps[t.prop]]||K.cssHooks[t.prop])?K.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},x.propHooks.scrollTop=x.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},K.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},K.fx=x.prototype.init,K.fx.step={};var Xe,Qe,Ze=/^(?:toggle|show|hide)$/,Ke=new RegExp("^(?:([+-])=|)("+Le+")([a-z%]*)$","i"),tn=/queueHooks$/,en=[P],nn={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),s=Ke.exec(e),a=s&&s[3]||(K.cssNumber[t]?"":"px"),r=(K.cssNumber[t]||"px"!==a&&+i)&&Ke.exec(K.css(n.elem,t)),o=1,l=20;if(r&&r[3]!==a){a=a||r[3],s=s||[],r=+i||1;do o=o||".5",r/=o,K.style(n.elem,t,r+a);while(o!==(o=n.cur()/i)&&1!==o&&--l)}return s&&(r=n.start=+r||+i||0,n.unit=a,n.end=s[1]?r+(s[1]+1)*s[2]:+s[2]),n}]};K.Animation=K.extend(A,{tweener:function(t,e){K.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,s=t.length;s>i;i++)n=t[i],nn[n]=nn[n]||[],nn[n].unshift(e)},prefilter:function(t,e){e?en.unshift(t):en.push(t)}}),K.speed=function(t,e,n){var i=t&&"object"==typeof t?K.extend({},t):{complete:n||!n&&e||K.isFunction(t)&&t,duration:t,easing:n&&e||e&&!K.isFunction(e)&&e};return i.duration=K.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in K.fx.speeds?K.fx.speeds[i.duration]:K.fx.speeds._default,(null==i.queue||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){K.isFunction(i.old)&&i.old.call(this),i.queue&&K.dequeue(this,i.queue)},i},K.fn.extend({fadeTo:function(t,e,n,i){return this.filter(we).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var s=K.isEmptyObject(t),a=K.speed(e,n,i),r=function(){var e=A(this,K.extend({},t),a);(s||ge.get(this,"finish"))&&e.stop(!0)};return r.finish=r,s||a.queue===!1?this.each(r):this.queue(a.queue,r)},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,s=null!=t&&t+"queueHooks",a=K.timers,r=ge.get(this);if(s)r[s]&&r[s].stop&&i(r[s]);else for(s in r)r[s]&&r[s].stop&&tn.test(s)&&i(r[s]);for(s=a.length;s--;)a[s].elem!==this||null!=t&&a[s].queue!==t||(a[s].anim.stop(n),e=!1,a.splice(s,1));(e||!n)&&K.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=ge.get(this),i=n[t+"queue"],s=n[t+"queueHooks"],a=K.timers,r=i?i.length:0;for(n.finish=!0,K.queue(this,t,[]),s&&s.stop&&s.stop.call(this,!0),e=a.length;e--;)a[e].elem===this&&a[e].queue===t&&(a[e].anim.stop(!0),a.splice(e,1));for(e=0;r>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);
|
||
delete n.finish})}}),K.each(["toggle","show","hide"],function(t,e){var n=K.fn[e];K.fn[e]=function(t,i,s){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(C(e,!0),t,i,s)}}),K.each({slideDown:C("show"),slideUp:C("hide"),slideToggle:C("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){K.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),K.timers=[],K.fx.tick=function(){var t,e=0,n=K.timers;for(Xe=K.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||K.fx.stop(),Xe=void 0},K.fx.timer=function(t){K.timers.push(t),t()?K.fx.start():K.timers.pop()},K.fx.interval=13,K.fx.start=function(){Qe||(Qe=setInterval(K.fx.tick,K.fx.interval))},K.fx.stop=function(){clearInterval(Qe),Qe=null},K.fx.speeds={slow:600,fast:200,_default:400},K.fn.delay=function(t,e){return t=K.fx?K.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",X.checkOn=""!==t.value,X.optSelected=n.selected,e.disabled=!0,X.optDisabled=!n.disabled,t=Q.createElement("input"),t.value="t",t.type="radio",X.radioValue="t"===t.value}();var sn,an,rn=K.expr.attrHandle;K.fn.extend({attr:function(t,e){return me(this,K.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){K.removeAttr(this,t)})}}),K.extend({attr:function(t,e,n){var i,s,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return typeof t.getAttribute===Ye?K.prop(t,e,n):(1===a&&K.isXMLDoc(t)||(e=e.toLowerCase(),i=K.attrHooks[e]||(K.expr.match.bool.test(e)?an:sn)),void 0===n?i&&"get"in i&&null!==(s=i.get(t,e))?s:(s=K.find.attr(t,e),null==s?void 0:s):null!==n?i&&"set"in i&&void 0!==(s=i.set(t,n,e))?s:(t.setAttribute(e,n+""),n):void K.removeAttr(t,e))},removeAttr:function(t,e){var n,i,s=0,a=e&&e.match(fe);if(a&&1===t.nodeType)for(;n=a[s++];)i=K.propFix[n]||n,K.expr.match.bool.test(n)&&(t[i]=!1),t.removeAttribute(n)},attrHooks:{type:{set:function(t,e){if(!X.radioValue&&"radio"===e&&K.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),an={set:function(t,e,n){return e===!1?K.removeAttr(t,n):t.setAttribute(n,n),n}},K.each(K.expr.match.bool.source.match(/\w+/g),function(t,e){var n=rn[e]||K.find.attr;rn[e]=function(t,e,i){var s,a;return i||(a=rn[e],rn[e]=s,s=null!=n(t,e,i)?e.toLowerCase():null,rn[e]=a),s}});var on=/^(?:input|select|textarea|button)$/i;K.fn.extend({prop:function(t,e){return me(this,K.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[K.propFix[t]||t]})}}),K.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,n){var i,s,a,r=t.nodeType;if(t&&3!==r&&8!==r&&2!==r)return a=1!==r||!K.isXMLDoc(t),a&&(e=K.propFix[e]||e,s=K.propHooks[e]),void 0!==n?s&&"set"in s&&void 0!==(i=s.set(t,n,e))?i:t[e]=n:s&&"get"in s&&null!==(i=s.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){return t.hasAttribute("tabindex")||on.test(t.nodeName)||t.href?t.tabIndex:-1}}}}),X.optSelected||(K.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null}}),K.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){K.propFix[this.toLowerCase()]=this});var ln=/[\t\r\n\f]/g;K.fn.extend({addClass:function(t){var e,n,i,s,a,r,o="string"==typeof t&&t,l=0,u=this.length;if(K.isFunction(t))return this.each(function(e){K(this).addClass(t.call(this,e,this.className))});if(o)for(e=(t||"").match(fe)||[];u>l;l++)if(n=this[l],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(ln," "):" ")){for(a=0;s=e[a++];)i.indexOf(" "+s+" ")<0&&(i+=s+" ");r=K.trim(i),n.className!==r&&(n.className=r)}return this},removeClass:function(t){var e,n,i,s,a,r,o=0===arguments.length||"string"==typeof t&&t,l=0,u=this.length;if(K.isFunction(t))return this.each(function(e){K(this).removeClass(t.call(this,e,this.className))});if(o)for(e=(t||"").match(fe)||[];u>l;l++)if(n=this[l],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(ln," "):"")){for(a=0;s=e[a++];)for(;i.indexOf(" "+s+" ")>=0;)i=i.replace(" "+s+" "," ");r=t?K.trim(i):"",n.className!==r&&(n.className=r)}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(K.isFunction(t)?function(n){K(this).toggleClass(t.call(this,n,this.className,e),e)}:function(){if("string"===n)for(var e,i=0,s=K(this),a=t.match(fe)||[];e=a[i++];)s.hasClass(e)?s.removeClass(e):s.addClass(e);else(n===Ye||"boolean"===n)&&(this.className&&ge.set(this,"__className__",this.className),this.className=this.className||t===!1?"":ge.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(ln," ").indexOf(e)>=0)return!0;return!1}});var un=/\r/g;K.fn.extend({val:function(t){var e,n,i,s=this[0];{if(arguments.length)return i=K.isFunction(t),this.each(function(n){var s;1===this.nodeType&&(s=i?t.call(this,n,K(this).val()):t,null==s?s="":"number"==typeof s?s+="":K.isArray(s)&&(s=K.map(s,function(t){return null==t?"":t+""})),e=K.valHooks[this.type]||K.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,s,"value")||(this.value=s))});if(s)return e=K.valHooks[s.type]||K.valHooks[s.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(s,"value"))?n:(n=s.value,"string"==typeof n?n.replace(un,""):null==n?"":n)}}}),K.extend({valHooks:{option:{get:function(t){var e=K.find.attr(t,"value");return null!=e?e:K.trim(K.text(t))}},select:{get:function(t){for(var e,n,i=t.options,s=t.selectedIndex,a="select-one"===t.type||0>s,r=a?null:[],o=a?s+1:i.length,l=0>s?o:a?s:0;o>l;l++)if(n=i[l],!(!n.selected&&l!==s||(X.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&K.nodeName(n.parentNode,"optgroup"))){if(e=K(n).val(),a)return e;r.push(e)}return r},set:function(t,e){for(var n,i,s=t.options,a=K.makeArray(e),r=s.length;r--;)i=s[r],(i.selected=K.inArray(i.value,a)>=0)&&(n=!0);return n||(t.selectedIndex=-1),a}}}}),K.each(["radio","checkbox"],function(){K.valHooks[this]={set:function(t,e){return K.isArray(e)?t.checked=K.inArray(K(t).val(),e)>=0:void 0}},X.checkOn||(K.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),K.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){K.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),K.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 dn=K.now(),cn=/\?/;K.parseJSON=function(t){return JSON.parse(t+"")},K.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)&&K.error("Invalid XML: "+t),e};var hn=/#.*$/,fn=/([?&])_=[^&]*/,pn=/^(.*?):[ \t]*([^\r\n]*)$/gm,_n=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,mn=/^(?:GET|HEAD)$/,gn=/^\/\//,yn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,vn={},Mn={},Ln="*/".concat("*"),bn=t.location.href,wn=yn.exec(bn.toLowerCase())||[];K.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:bn,type:"GET",isLocal:_n.test(wn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ln,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":K.parseJSON,"text xml":K.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?O(O(t,K.ajaxSettings),e):O(K.ajaxSettings,t)},ajaxPrefilter:F(vn),ajaxTransport:F(Mn),ajax:function(t,e){function n(t,e,n,r){var l,d,g,y,M,b=e;2!==v&&(v=2,o&&clearTimeout(o),i=void 0,a=r||"",L.readyState=t>0?4:0,l=t>=200&&300>t||304===t,n&&(y=$(c,L,n)),y=H(c,y,L,l),l?(c.ifModified&&(M=L.getResponseHeader("Last-Modified"),M&&(K.lastModified[s]=M),M=L.getResponseHeader("etag"),M&&(K.etag[s]=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))),L.status=t,L.statusText=(e||b)+"",l?p.resolveWith(h,[d,b,L]):p.rejectWith(h,[L,b,g]),L.statusCode(m),m=void 0,u&&f.trigger(l?"ajaxSuccess":"ajaxError",[L,c,l?d:g]),_.fireWith(h,[L,b]),u&&(f.trigger("ajaxComplete",[L,c]),--K.active||K.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,s,a,r,o,l,u,d,c=K.ajaxSetup({},e),h=c.context||c,f=c.context&&(h.nodeType||h.jquery)?K(h):K.event,p=K.Deferred(),_=K.Callbacks("once memory"),m=c.statusCode||{},g={},y={},v=0,M="canceled",L={readyState:0,getResponseHeader:function(t){var e;if(2===v){if(!r)for(r={};e=pn.exec(a);)r[e[1].toLowerCase()]=e[2];e=r[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===v?a: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)m[e]=[m[e],t[e]];else L.always(t[L.status]);return this},abort:function(t){var e=t||M;return i&&i.abort(e),n(0,e),this}};if(p.promise(L).complete=_.add,L.success=L.done,L.error=L.fail,c.url=((t||c.url||bn)+"").replace(hn,"").replace(gn,wn[1]+"//"),c.type=e.method||e.type||c.method||c.type,c.dataTypes=K.trim(c.dataType||"*").toLowerCase().match(fe)||[""],null==c.crossDomain&&(l=yn.exec(c.url.toLowerCase()),c.crossDomain=!(!l||l[1]===wn[1]&&l[2]===wn[2]&&(l[3]||("http:"===l[1]?"80":"443"))===(wn[3]||("http:"===wn[1]?"80":"443")))),c.data&&c.processData&&"string"!=typeof c.data&&(c.data=K.param(c.data,c.traditional)),W(vn,c,e,L),2===v)return L;u=K.event&&c.global,u&&0===K.active++&&K.event.trigger("ajaxStart"),c.type=c.type.toUpperCase(),c.hasContent=!mn.test(c.type),s=c.url,c.hasContent||(c.data&&(s=c.url+=(cn.test(s)?"&":"?")+c.data,delete c.data),c.cache===!1&&(c.url=fn.test(s)?s.replace(fn,"$1_="+dn++):s+(cn.test(s)?"&":"?")+"_="+dn++)),c.ifModified&&(K.lastModified[s]&&L.setRequestHeader("If-Modified-Since",K.lastModified[s]),K.etag[s]&&L.setRequestHeader("If-None-Match",K.etag[s])),(c.data&&c.hasContent&&c.contentType!==!1||e.contentType)&&L.setRequestHeader("Content-Type",c.contentType),L.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+("*"!==c.dataTypes[0]?", "+Ln+"; q=0.01":""):c.accepts["*"]);for(d in c.headers)L.setRequestHeader(d,c.headers[d]);if(c.beforeSend&&(c.beforeSend.call(h,L,c)===!1||2===v))return L.abort();M="abort";for(d in{success:1,error:1,complete:1})L[d](c[d]);if(i=W(Mn,c,e,L)){L.readyState=1,u&&f.trigger("ajaxSend",[L,c]),c.async&&c.timeout>0&&(o=setTimeout(function(){L.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 L},getJSON:function(t,e,n){return K.get(t,e,n,"json")},getScript:function(t,e){return K.get(t,void 0,e,"script")}}),K.each(["get","post"],function(t,e){K[e]=function(t,n,i,s){return K.isFunction(n)&&(s=s||i,i=n,n=void 0),K.ajax({url:t,type:e,dataType:s,data:n,success:i})}}),K._evalUrl=function(t){return K.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},K.fn.extend({wrapAll:function(t){var e;return K.isFunction(t)?this.each(function(e){K(this).wrapAll(t.call(this,e))}):(this[0]&&(e=K(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(K.isFunction(t)?function(e){K(this).wrapInner(t.call(this,e))}:function(){var e=K(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=K.isFunction(t);return this.each(function(n){K(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){K.nodeName(this,"body")||K(this).replaceWith(this.childNodes)}).end()}}),K.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0},K.expr.filters.visible=function(t){return!K.expr.filters.hidden(t)};var Tn=/%20/g,Yn=/\[\]$/,kn=/\r?\n/g,Dn=/^(?:submit|button|image|reset|file)$/i,xn=/^(?:input|select|textarea|keygen)/i;K.param=function(t,e){var n,i=[],s=function(t,e){e=K.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=K.ajaxSettings&&K.ajaxSettings.traditional),K.isArray(t)||t.jquery&&!K.isPlainObject(t))K.each(t,function(){s(this.name,this.value)});else for(n in t)N(n,t[n],e,s);return i.join("&").replace(Tn,"+")},K.fn.extend({serialize:function(){return K.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=K.prop(this,"elements");return t?K.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!K(this).is(":disabled")&&xn.test(this.nodeName)&&!Dn.test(t)&&(this.checked||!Te.test(t))}).map(function(t,e){var n=K(this).val();return null==n?null:K.isArray(n)?K.map(n,function(t){return{name:e.name,value:t.replace(kn,"\r\n")}}):{name:e.name,value:n.replace(kn,"\r\n")}}).get()}}),K.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(t){}};var Sn=0,Cn={},jn={0:200,1223:204},Pn=K.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in Cn)Cn[t]()}),X.cors=!!Pn&&"withCredentials"in Pn,X.ajax=Pn=!!Pn,K.ajaxTransport(function(t){var e;return X.cors||Pn&&!t.crossDomain?{send:function(n,i){var s,a=t.xhr(),r=++Sn;if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(s in n)a.setRequestHeader(s,n[s]);e=function(t){return function(){e&&(delete Cn[r],e=a.onload=a.onerror=null,"abort"===t?a.abort():"error"===t?i(a.status,a.statusText):i(jn[a.status]||a.status,a.statusText,"string"==typeof a.responseText?{text:a.responseText}:void 0,a.getAllResponseHeaders()))}},a.onload=e(),a.onerror=e("error"),e=Cn[r]=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(o){if(e)throw o}},abort:function(){e&&e()}}:void 0}),K.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return K.globalEval(t),t}}}),K.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),K.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(i,s){e=K("<script>").prop({async:!0,charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&s("error"===t.type?404:200,t.type)}),Q.head.appendChild(e[0])},abort:function(){n&&n()}}}});var En=[],An=/(=)\?(?=&|$)|\?\?/;K.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=En.pop()||K.expando+"_"+dn++;return this[t]=!0,t}}),K.ajaxPrefilter("json jsonp",function(e,n,i){var s,a,r,o=e.jsonp!==!1&&(An.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&An.test(e.data)&&"data");return o||"jsonp"===e.dataTypes[0]?(s=e.jsonpCallback=K.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(An,"$1"+s):e.jsonp!==!1&&(e.url+=(cn.test(e.url)?"&":"?")+e.jsonp+"="+s),e.converters["script json"]=function(){return r||K.error(s+" was not called"),r[0]},e.dataTypes[0]="json",a=t[s],t[s]=function(){r=arguments},i.always(function(){t[s]=a,e[s]&&(e.jsonpCallback=n.jsonpCallback,En.push(s)),r&&K.isFunction(a)&&a(r[0]),r=a=void 0}),"script"):void 0}),K.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||Q;var i=re.exec(t),s=!n&&[];return i?[e.createElement(i[1])]:(i=K.buildFragment([t],e,s),s&&s.length&&K(s).remove(),K.merge([],i.childNodes))};var Fn=K.fn.load;K.fn.load=function(t,e,n){if("string"!=typeof t&&Fn)return Fn.apply(this,arguments);var i,s,a,r=this,o=t.indexOf(" ");return o>=0&&(i=K.trim(t.slice(o)),t=t.slice(0,o)),K.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(s="POST"),r.length>0&&K.ajax({url:t,type:s,dataType:"html",data:e}).done(function(t){a=arguments,r.html(i?K("<div>").append(K.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){r.each(n,a||[t.responseText,e,t])}),this},K.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){K.fn[e]=function(t){return this.on(e,t)}}),K.expr.filters.animated=function(t){return K.grep(K.timers,function(e){return t===e.elem}).length};var Wn=t.document.documentElement;K.offset={setOffset:function(t,e,n){var i,s,a,r,o,l,u,d=K.css(t,"position"),c=K(t),h={};"static"===d&&(t.style.position="relative"),o=c.offset(),a=K.css(t,"top"),l=K.css(t,"left"),u=("absolute"===d||"fixed"===d)&&(a+l).indexOf("auto")>-1,u?(i=c.position(),r=i.top,s=i.left):(r=parseFloat(a)||0,s=parseFloat(l)||0),K.isFunction(e)&&(e=e.call(t,n,o)),null!=e.top&&(h.top=e.top-o.top+r),null!=e.left&&(h.left=e.left-o.left+s),"using"in e?e.using.call(t,h):c.css(h)}},K.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){K.offset.setOffset(this,t,e)});var e,n,i=this[0],s={top:0,left:0},a=i&&i.ownerDocument;if(a)return e=a.documentElement,K.contains(e,i)?(typeof i.getBoundingClientRect!==Ye&&(s=i.getBoundingClientRect()),n=z(a),{top:s.top+n.pageYOffset-e.clientTop,left:s.left+n.pageXOffset-e.clientLeft}):s},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===K.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),K.nodeName(t[0],"html")||(i=t.offset()),i.top+=K.css(t[0],"borderTopWidth",!0),i.left+=K.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-K.css(n,"marginTop",!0),left:e.left-i.left-K.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||Wn;t&&!K.nodeName(t,"html")&&"static"===K.css(t,"position");)t=t.offsetParent;return t||Wn})}}),K.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var i="pageYOffset"===n;K.fn[e]=function(s){return me(this,function(e,s,a){var r=z(e);return void 0===a?r?r[n]:e[s]:void(r?r.scrollTo(i?t.pageXOffset:a,i?a:t.pageYOffset):e[s]=a)},e,s,arguments.length,null)}}),K.each(["top","left"],function(t,e){K.cssHooks[e]=b(X.pixelPosition,function(t,n){return n?(n=L(t,e),Ie.test(n)?K(t).position()[e]+"px":n):void 0})}),K.each({Height:"height",Width:"width"},function(t,e){K.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){K.fn[i]=function(i,s){var a=arguments.length&&(n||"boolean"!=typeof i),r=n||(i===!0||s===!0?"margin":"border");return me(this,function(e,n,i){var s;return K.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(s=e.documentElement,Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])):void 0===i?K.css(e,n,r):K.style(e,n,i,r)},e,a?i:void 0,a,null)}})}),K.fn.size=function(){return this.length},K.fn.andSelf=K.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return K});var On=t.jQuery,$n=t.$;return K.noConflict=function(e){return t.$===K&&(t.$=$n),e&&t.jQuery===K&&(t.jQuery=On),K},typeof e===Ye&&(t.jQuery=t.$=K),K}),"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 s=function(){n||t(i).trigger(t.support.transition.end)};return setTimeout(s,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),s=n.data("bs.alert");s||n.data("bs.alert",s=new i(this)),"string"==typeof e&&s[e].call(n)})}var n='[data-dismiss="alert"]',i=function(e){t(e).on("click",n,this.close)};i.VERSION="3.3.2",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function n(){r.detach().trigger("closed.bs.alert").remove()}var s=t(this),a=s.attr("data-target");a||(a=s.attr("href"),a=a&&a.replace(/.*(?=#[^\s]*$)/,""));var r=t(a);e&&e.preventDefault(),r.length||(r=s.closest(".alert")),r.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(r.removeClass("in"),t.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n())};var s=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=s,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),s=i.data("bs.button"),a="object"==typeof e&&e;s||i.data("bs.button",s=new n(this,a)),"toggle"==e?s.toggle():e&&s.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.2",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,s=i.is("input")?"val":"html",a=i.data();e+="Text",null==a.resetText&&i.data("resetText",i[s]()),setTimeout(t.proxy(function(){i[s](null==a[e]?this.options[e]:a[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")&&(n.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&n.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));t&&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"),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),s=i.data("bs.carousel"),a=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),r="string"==typeof e?e:a.slide;s||i.data("bs.carousel",s=new n(this,a)),"number"==typeof e?s.to(e):r?s[r]():a.interval&&s.pause().cycle()})}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=this.sliding=this.interval=this.$active=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.2",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 s="prev"==t?-1:1,a=(n+s)%this.$items.length;return this.$items.eq(a)},n.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));return t>this.$items.length-1||0>t?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){return this.sliding?void 0:this.slide("next")},n.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},n.prototype.slide=function(e,i){var s=this.$element.find(".item.active"),a=i||this.getItemForDirection(e,s),r=this.interval,o="next"==e?"left":"right",l=this;if(a.hasClass("active"))return this.sliding=!1;var u=a[0],d=t.Event("slide.bs.carousel",{relatedTarget:u,direction:o});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,r&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var c=t(this.$indicators.children()[this.getItemIndex(a)]);c&&c.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:u,direction:o});return t.support.transition&&this.$element.hasClass("slide")?(a.addClass(e),a[0].offsetWidth,s.addClass(o),a.addClass(o),s.one("bsTransitionEnd",function(){a.removeClass([e,o].join(" ")).addClass("active"),s.removeClass(["active",o].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(h)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(s.removeClass("active"),a.addClass("active"),this.sliding=!1,this.$element.trigger(h)),r&&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 s=function(n){var i,s=t(this),a=t(s.attr("data-target")||(i=s.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(a.hasClass("carousel")){var r=t.extend({},a.data(),s.data()),o=s.attr("data-slide-to");o&&(r.interval=!1),e.call(a,r),o&&a.data("bs.carousel").to(o),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",s).on("click.bs.carousel.data-api","[data-slide-to]",s),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),s=n.data("bs.collapse"),a=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);!s&&a.toggle&&"show"==e&&(a.toggle=!1),s||n.data("bs.collapse",s=new i(this,a)),"string"==typeof e&&s[e]()})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.$trigger=t(this.options.trigger).filter('[href="#'+e.id+'"], [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.2",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0,trigger:'[data-toggle="collapse"]'},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,s=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(s&&s.length&&(e=s.data("bs.collapse"),e&&e.transitioning))){var a=t.Event("show.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){s&&s.length&&(n.call(s,"hide"),e||s.data("bs.collapse",null));var r=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[r](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")[r](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return o.call(this);var l=t.camelCase(["scroll",r].join("-"));this.$element.one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[r](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 s=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(s,this)).emulateTransitionEnd(i.TRANSITION_DURATION):s.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 s=t(i);this.addAriaAndCollapsedClass(e(s),s)},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 s=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=s,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var s=t(this);s.attr("data-target")||i.preventDefault();var a=e(s),r=a.data("bs.collapse"),o=r?"toggle":t.extend({},s.data(),{trigger:this});n.call(a,o)})}(jQuery),+function(t){"use strict";function e(e){e&&3===e.which||(t(s).remove(),t(a).each(function(){var i=t(this),s=n(i),a={relatedTarget:this};s.hasClass("open")&&(s.trigger(e=t.Event("hide.bs.dropdown",a)),e.isDefaultPrevented()||(i.attr("aria-expanded","false"),s.removeClass("open").trigger("hidden.bs.dropdown",a)))}))}function n(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 i(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new r(this)),"string"==typeof e&&i[e].call(n)})}var s=".dropdown-backdrop",a='[data-toggle="dropdown"]',r=function(e){t(e).on("click.bs.dropdown",this.toggle)};r.VERSION="3.3.2",r.prototype.toggle=function(i){var s=t(this);if(!s.is(".disabled, :disabled")){var a=n(s),r=a.hasClass("open");if(e(),!r){"ontouchstart"in document.documentElement&&!a.closest(".navbar-nav").length&&t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on("click",e);
|
||
var o={relatedTarget:this};if(a.trigger(i=t.Event("show.bs.dropdown",o)),i.isDefaultPrevented())return;s.trigger("focus").attr("aria-expanded","true"),a.toggleClass("open").trigger("shown.bs.dropdown",o)}return!1}},r.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var i=t(this);if(e.preventDefault(),e.stopPropagation(),!i.is(".disabled, :disabled")){var s=n(i),r=s.hasClass("open");if(!r&&27!=e.which||r&&27==e.which)return 27==e.which&&s.find(a).trigger("focus"),i.trigger("click");var o=" li:not(.divider):visible a",l=s.find('[role="menu"]'+o+', [role="listbox"]'+o);if(l.length){var u=l.index(e.target);38==e.which&&u>0&&u--,40==e.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=r,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=o,this},t(document).on("click.bs.dropdown.data-api",e).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",a,r.prototype.toggle).on("keydown.bs.dropdown.data-api",a,r.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',r.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',r.prototype.keydown)}(jQuery),+function(t){"use strict";function e(e,i){return this.each(function(){var s=t(this),a=s.data("bs.modal"),r=t.extend({},n.DEFAULTS,s.data(),"object"==typeof e&&e);a||s.data("bs.modal",a=new n(this,r)),"string"==typeof e?a[e](i):r.show&&a.show(i)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$backdrop=this.isShown=null,this.scrollbarWidth=0,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.2",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,s=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(s),this.isShown||s.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.backdrop(function(){var s=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.options.backdrop&&i.adjustBackdrop(),i.adjustDialog(),s&&i.$element[0].offsetWidth,i.$element.addClass("in").attr("aria-hidden",!1),i.enforceFocus();var a=t.Event("shown.bs.modal",{relatedTarget:e});s?i.$element.find(".modal-dialog").one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(a)}).emulateTransitionEnd(n.TRANSITION_DURATION):i.$element.trigger("focus").trigger(a)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.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,s=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var a=t.support.transition&&s;if(this.$backdrop=t('<div class="modal-backdrop '+s+'" />').prependTo(this.$element).on("click.dismiss.bs.modal",t.proxy(function(t){t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),a&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;a?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var r=function(){i.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",r).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):r()}else e&&e()},n.prototype.handleUpdate=function(){this.options.backdrop&&this.adjustBackdrop(),this.adjustDialog()},n.prototype.adjustBackdrop=function(){this.$backdrop.css("height",0).css("height",this.$element[0].scrollHeight)},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(){this.bodyIsOverflowing=document.body.scrollHeight>document.documentElement.clientHeight,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},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),s=i.attr("href"),a=t(i.attr("data-target")||s&&s.replace(/.*(?=#[^\s]+$)/,"")),r=a.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(s)&&s},a.data(),i.data());i.is("a")&&n.preventDefault(),a.one("show.bs.modal",function(t){t.isDefaultPrevented()||a.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(a,r,this)})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),s=i.data("bs.tooltip"),a="object"==typeof e&&e;(s||"destroy"!=e)&&(s||i.data("bs.tooltip",s=new n(this,a)),"string"==typeof e&&s[e]())})}var n=function(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",t,e)};n.VERSION="3.3.2",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){this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport);for(var s=this.options.trigger.split(" "),a=s.length;a--;){var r=s[a];if("click"==r)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=r){var o="hover"==r?"mouseenter":"focusin",l="hover"==r?"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.$tip&&n.$tip.is(":visible")?void(n.hoverState="in"):(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),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.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)),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 s=this,a=this.tip(),r=this.getUID(this.type);this.setContent(),a.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&a.addClass("fade");var o="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,u=l.test(o);u&&(o=o.replace(l,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(o).data("bs."+this.type,this),this.options.container?a.appendTo(this.options.container):a.insertAfter(this.$element);var d=this.getPosition(),c=a[0].offsetWidth,h=a[0].offsetHeight;if(u){var f=o,p=this.options.container?t(this.options.container):this.$element.parent(),_=this.getPosition(p);o="bottom"==o&&d.bottom+h>_.bottom?"top":"top"==o&&d.top-h<_.top?"bottom":"right"==o&&d.right+c>_.width?"left":"left"==o&&d.left-c<_.left?"right":o,a.removeClass(f).addClass(o)}var m=this.getCalculatedOffset(o,d,c,h);this.applyPlacement(m,o);var g=function(){var t=s.hoverState;s.$element.trigger("shown.bs."+s.type),s.hoverState=null,"out"==t&&s.leave(s)};t.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",g).emulateTransitionEnd(n.TRANSITION_DURATION):g()}},n.prototype.applyPlacement=function(e,n){var i=this.tip(),s=i[0].offsetWidth,a=i[0].offsetHeight,r=parseInt(i.css("margin-top"),10),o=parseInt(i.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(o)&&(o=0),e.top=e.top+r,e.left=e.left+o,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,u=i[0].offsetHeight;"top"==n&&u!=a&&(e.top=e.top+a-u);var d=this.getViewportAdjustedDelta(n,e,l,u);d.left?e.left+=d.left:e.top+=d.top;var c=/top|bottom/.test(n),h=c?2*d.left-s+l:2*d.top-a+u,f=c?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(h,i[0][f],c)},n.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},n.prototype.hide=function(e){function i(){"in"!=s.hoverState&&a.detach(),s.$element.removeAttr("aria-describedby").trigger("hidden.bs."+s.type),e&&e()}var s=this,a=this.tip(),r=t.Event("hide.bs."+this.type);return this.$element.trigger(r),r.isDefaultPrevented()?void 0:(a.removeClass("in"),t.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i(),this.hoverState=null,this)},n.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(e){e=e||this.$element;var n=e[0],i="BODY"==n.tagName,s=n.getBoundingClientRect();null==s.width&&(s=t.extend({},s,{width:s.right-s.left,height:s.bottom-s.top}));var a=i?{top:0,left:0}:e.offset(),r={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},o=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},s,r,o,a)},n.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},n.prototype.getViewportAdjustedDelta=function(t,e,n,i){var s={top:0,left:0};if(!this.$viewport)return s;var a=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport);if(/right|left/.test(t)){var o=e.top-a-r.scroll,l=e.top+a-r.scroll+i;o<r.top?s.top=r.top-o:l>r.top+r.height&&(s.top=r.top+r.height-l)}else{var u=e.left-a,d=e.left+a+n;u<r.left?s.left=r.left-u:d>r.width&&(s.left=r.left+r.width-d)}return s},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(){return this.$tip=this.$tip||t(this.options.template)},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))),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)})};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),s=i.data("bs.popover"),a="object"==typeof e&&e;(s||"destroy"!=e)&&(s||i.data("bs.popover",s=new n(this,a)),"string"==typeof e&&s[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.2",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")},n.prototype.tip=function(){return this.$tip||(this.$tip=t(this.options.template)),this.$tip};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){var s=t.proxy(this.process,this);this.$body=t("body"),this.$scrollElement=t(t(n).is("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",s),this.refresh(),this.process()}function n(n){return this.each(function(){var i=t(this),s=i.data("bs.scrollspy"),a="object"==typeof n&&n;s||i.data("bs.scrollspy",s=new e(this,a)),"string"==typeof n&&s[n]()})}e.VERSION="3.3.2",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="offset",n=0;t.isWindow(this.$scrollElement[0])||(e="position",n=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var i=this;this.$body.find(this.selector).map(function(){var i=t(this),s=i.data("target")||i.attr("href"),a=/^#./.test(s)&&t(s);return a&&a.length&&a.is(":visible")&&[[a[e]().top+n,s]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){i.offsets.push(this[0]),i.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(),s=this.offsets,a=this.targets,r=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return r!=(t=a[a.length-1])&&this.activate(t);if(r&&e<s[0])return this.activeTarget=null,this.clear();for(t=s.length;t--;)r!=a[t]&&e>=s[t]&&(!s[t+1]||e<=s[t+1])&&this.activate(a[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),s=i.data("bs.tab");s||i.data("bs.tab",s=new n(this)),"string"==typeof e&&s[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.3.2",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 s=n.find(".active:last a"),a=t.Event("hide.bs.tab",{relatedTarget:e[0]}),r=t.Event("show.bs.tab",{relatedTarget:s[0]});if(s.trigger(a),e.trigger(r),!r.isDefaultPrevented()&&!a.isDefaultPrevented()){var o=t(i);this.activate(e.closest("li"),n),this.activate(o,o.parent(),function(){s.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:s[0]})})}}},n.prototype.activate=function(e,i,s){function a(){r.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")&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),s&&s()}var r=i.find("> .active"),o=s&&t.support.transition&&(r.length&&r.hasClass("fade")||!!i.find("> .fade").length);r.length&&o?r.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a(),r.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 s=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',s).on("click.bs.tab.data-api",'[data-toggle="pill"]',s)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),s=i.data("bs.affix"),a="object"==typeof e&&e;s||i.data("bs.affix",s=new n(this,a)),"string"==typeof e&&s[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=this.unpin=this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.2",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,i){var s=this.$target.scrollTop(),a=this.$element.offset(),r=this.$target.height();if(null!=n&&"top"==this.affixed)return n>s?"top":!1;if("bottom"==this.affixed)return null!=n?s+this.unpin<=a.top?!1:"bottom":t-i>=s+r?!1:"bottom";var o=null==this.affixed,l=o?s:a.top,u=o?r:e;return null!=n&&n>=s?"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,s=i.top,a=i.bottom,r=t("body").height();"object"!=typeof i&&(a=s=i),"function"==typeof s&&(s=i.top(this.$element)),"function"==typeof a&&(a=i.bottom(this.$element));var o=this.getState(r,e,s,a);if(this.affixed!=o){null!=this.unpin&&this.$element.css("top","");var l="affix"+(o?"-"+o:""),u=t.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=o,this.unpin="bottom"==o?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==o&&this.$element.offset({top:r-e-a})}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),i=n.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),e.call(n,i)})})}(jQuery),function(){function t(t,e,n){for(var i=(n||0)-1,s=t?t.length:0;++i<s;)if(t[i]===e)return i;return-1}function e(e,n){var i=typeof n;if(e=e.cache,"boolean"==i||null==n)return e[n]?0:-1;"number"!=i&&"string"!=i&&(i="object");var s="number"==i?n:g+n;return e=(e=e[i])&&e[s],"object"==i?e&&t(e,n)>-1?0:-1:e?0:-1}function n(t){var e=this.cache,n=typeof t;if("boolean"==n||null==t)e[t]=!0;else{"number"!=n&&"string"!=n&&(n="object");var i="number"==n?t:g+t,s=e[n]||(e[n]={});"object"==n?(s[i]||(s[i]=[])).push(t):s[i]=!0}}function i(t){return t.charCodeAt(0)}function s(t,e){for(var n=t.criteria,i=e.criteria,s=-1,a=n.length;++s<a;){var r=n[s],o=i[s];if(r!==o){if(r>o||"undefined"==typeof r)return 1;if(o>r||"undefined"==typeof o)return-1}}return t.index-e.index}function a(t){var e=-1,i=t.length,s=t[0],a=t[i/2|0],r=t[i-1];if(s&&"object"==typeof s&&a&&"object"==typeof a&&r&&"object"==typeof r)return!1;var o=l();o["false"]=o["null"]=o["true"]=o.undefined=!1;var u=l();for(u.array=t,u.cache=o,u.push=n;++e<i;)u.push(t[e]);return u}function r(t){return"\\"+G[t]}function o(){return p.pop()||[]}function l(){return _.pop()||{array:null,cache:null,criteria:null,"false":!1,index:0,"null":!1,number:null,object:null,push:null,string:null,"true":!1,undefined:!1,value:null}}function u(t){t.length=0,p.length<v&&p.push(t)}function d(t){var e=t.cache;e&&d(e),t.array=t.cache=t.criteria=t.object=t.number=t.string=t.value=null,_.length<v&&_.push(t)}function c(t,e,n){e||(e=0),"undefined"==typeof n&&(n=t?t.length:0);for(var i=-1,s=n-e||0,a=Array(0>s?0:s);++i<s;)a[i]=t[e+i];return a}function h(n){function p(t){return t&&"object"==typeof t&&!Zi(t)&&Ai.call(t,"__wrapped__")?t:new _(t)}function _(t,e){this.__chain__=!!e,this.__wrapped__=t}function v(t){function e(){if(i){var t=c(i);Fi.apply(t,arguments)}if(this instanceof e){var a=V(n.prototype),r=n.apply(a,t||arguments);return Ce(r)?r:a}return n.apply(s,t||arguments)}var n=t[0],i=t[2],s=t[4];return Qi(e,t),e}function G(t,e,n,i,s){if(n){var a=n(t);if("undefined"!=typeof a)return a}var r=Ce(t);if(!r)return t;var l=Di.call(t);if(!R[l])return t;var d=Vi[l];switch(l){case W:case O:return new d(+t);case H:case I:return new d(t);case z:return a=d(t.source,Y.exec(t)),a.lastIndex=t.lastIndex,a}var h=Zi(t);if(e){var f=!i;i||(i=o()),s||(s=o());for(var p=i.length;p--;)if(i[p]==t)return s[p];a=h?d(t.length):{}}else a=h?c(t):as({},t);return h&&(Ai.call(t,"index")&&(a.index=t.index),Ai.call(t,"input")&&(a.input=t.input)),e?(i.push(t),s.push(a),(h?Xe:ls)(t,function(t,r){a[r]=G(t,e,n,i,s)}),f&&(u(i),u(s)),a):a}function V(t){return Ce(t)?Ni(t):{}}function X(t,e,n){if("function"!=typeof t)return Zn;if("undefined"==typeof e||!("prototype"in t))return t;var i=t.__bindData__;if("undefined"==typeof i&&(Xi.funcNames&&(i=!t.name),i=i||!Xi.funcDecomp,!i)){var s=Pi.call(t);Xi.funcNames||(i=!k.test(s)),i||(i=C.test(s),Qi(t,i))}if(i===!1||i!==!0&&1&i[1])return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,s){return t.call(e,n,i,s)};case 4:return function(n,i,s,a){return t.call(e,n,i,s,a)}}return Fn(t,e)}function Q(t){function e(){var t=l?r:this;if(s){var p=c(s);Fi.apply(p,arguments)}if((a||d)&&(p||(p=c(arguments)),a&&Fi.apply(p,a),d&&p.length<o))return i|=16,Q([n,h?i:-4&i,p,null,r,o]);if(p||(p=arguments),u&&(n=t[f]),this instanceof e){t=V(n.prototype);var _=n.apply(t,p);return Ce(_)?_:t}return n.apply(t,p)}var n=t[0],i=t[1],s=t[2],a=t[3],r=t[4],o=t[5],l=1&i,u=2&i,d=4&i,h=8&i,f=n;return Qi(e,t),e}function Z(n,i){var s=-1,r=le(),o=n?n.length:0,l=o>=y&&r===t,u=[];if(l){var c=a(i);c?(r=e,i=c):l=!1}for(;++s<o;){var h=n[s];r(i,h)<0&&u.push(h)}return l&&d(i),u}function te(t,e,n,i){for(var s=(i||0)-1,a=t?t.length:0,r=[];++s<a;){var o=t[s];if(o&&"object"==typeof o&&"number"==typeof o.length&&(Zi(o)||he(o))){e||(o=te(o,e,n));var l=-1,u=o.length,d=r.length;for(r.length+=u;++l<u;)r[d++]=o[l]}else n||r.push(o)}return r}function ee(t,e,n,i,s,a){if(n){var r=n(t,e);if("undefined"!=typeof r)return!!r}if(t===e)return 0!==t||1/t==1/e;var l=typeof t,d=typeof e;if(!(t!==t||t&&U[l]||e&&U[d]))return!1;if(null==t||null==e)return t===e;var c=Di.call(t),h=Di.call(e);if(c==A&&(c=N),h==A&&(h=N),c!=h)return!1;switch(c){case W:case O:return+t==+e;case H:return t!=+t?e!=+e:0==t?1/t==1/e:t==+e;case z:case I:return t==bi(e)}var f=c==F;if(!f){var p=Ai.call(t,"__wrapped__"),_=Ai.call(e,"__wrapped__");if(p||_)return ee(p?t.__wrapped__:t,_?e.__wrapped__:e,n,i,s,a);if(c!=N)return!1;var m=t.constructor,g=e.constructor;if(m!=g&&!(Se(m)&&m instanceof m&&Se(g)&&g instanceof g)&&"constructor"in t&&"constructor"in e)return!1}var y=!s;s||(s=o()),a||(a=o());for(var v=s.length;v--;)if(s[v]==t)return a[v]==e;var M=0;if(r=!0,s.push(t),a.push(e),f){if(v=t.length,M=e.length,r=M==v,r||i)for(;M--;){var L=v,b=e[M];if(i)for(;L--&&!(r=ee(t[L],b,n,i,s,a)););else if(!(r=ee(t[M],b,n,i,s,a)))break}}else os(e,function(e,o,l){return Ai.call(l,o)?(M++,r=Ai.call(t,o)&&ee(t[o],e,n,i,s,a)):void 0}),r&&!i&&os(t,function(t,e,n){return Ai.call(n,e)?r=--M>-1:void 0});return s.pop(),a.pop(),y&&(u(s),u(a)),r}function ne(t,e,n,i,s){(Zi(e)?Xe:ls)(e,function(e,a){var r,o,l=e,u=t[a];if(e&&((o=Zi(e))||us(e))){for(var d=i.length;d--;)if(r=i[d]==e){u=s[d];break}if(!r){var c;n&&(l=n(u,e),(c="undefined"!=typeof l)&&(u=l)),c||(u=o?Zi(u)?u:[]:us(u)?u:{}),i.push(e),s.push(u),c||ne(u,e,n,i,s)}}else n&&(l=n(u,e),"undefined"==typeof l&&(l=e)),"undefined"!=typeof l&&(u=l);t[a]=u})}function ie(t,e){return t+ji(Ji()*(e-t+1))}function se(n,i,s){var r=-1,l=le(),c=n?n.length:0,h=[],f=!i&&c>=y&&l===t,p=s||f?o():h;if(f){var _=a(p);l=e,p=_}for(;++r<c;){var m=n[r],g=s?s(m,r,n):m;(i?!r||p[p.length-1]!==g:l(p,g)<0)&&((s||f)&&p.push(g),h.push(m))}return f?(u(p.array),d(p)):s&&u(p),h}function ae(t){return function(e,n,i){var s={};n=p.createCallback(n,i,3);var a=-1,r=e?e.length:0;if("number"==typeof r)for(;++a<r;){var o=e[a];t(s,o,n(o,a,e),e)}else ls(e,function(e,i,a){t(s,e,n(e,i,a),a)});return s}}function re(t,e,n,i,s,a){var r=1&e,o=2&e,l=4&e,u=16&e,d=32&e;if(!o&&!Se(t))throw new wi;u&&!n.length&&(e&=-17,u=n=!1),d&&!i.length&&(e&=-33,d=i=!1);var h=t&&t.__bindData__;if(h&&h!==!0)return h=c(h),h[2]&&(h[2]=c(h[2])),h[3]&&(h[3]=c(h[3])),!r||1&h[1]||(h[4]=s),!r&&1&h[1]&&(e|=8),!l||4&h[1]||(h[5]=a),u&&Fi.apply(h[2]||(h[2]=[]),n),d&&$i.apply(h[3]||(h[3]=[]),i),h[1]|=e,re.apply(null,h);var f=1==e||17===e?v:Q;return f([t,e,n,i,s,a])}function oe(t){return es[t]}function le(){var e=(e=p.indexOf)===yn?t:e;return e}function ue(t){return"function"==typeof t&&xi.test(t)}function de(t){var e,n;return t&&Di.call(t)==N&&(e=t.constructor,!Se(e)||e instanceof e)?(os(t,function(t,e){n=e}),"undefined"==typeof n||Ai.call(t,n)):!1}function ce(t){return ns[t]}function he(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Di.call(t)==A||!1}function fe(t,e,n,i){return"boolean"!=typeof e&&null!=e&&(i=n,n=e,e=!1),G(t,e,"function"==typeof n&&X(n,i,1))}function pe(t,e,n){return G(t,!0,"function"==typeof e&&X(e,n,1))}function _e(t,e){var n=V(t);return e?as(n,e):n}function me(t,e,n){var i;return e=p.createCallback(e,n,3),ls(t,function(t,n,s){return e(t,n,s)?(i=n,!1):void 0}),i}function ge(t,e,n){var i;return e=p.createCallback(e,n,3),ve(t,function(t,n,s){return e(t,n,s)?(i=n,!1):void 0}),i}function ye(t,e,n){var i=[];os(t,function(t,e){i.push(e,t)});var s=i.length;for(e=X(e,n,3);s--&&e(i[s--],i[s],t)!==!1;);return t}function ve(t,e,n){var i=ts(t),s=i.length;for(e=X(e,n,3);s--;){var a=i[s];if(e(t[a],a,t)===!1)break}return t}function Me(t){var e=[];return os(t,function(t,n){Se(t)&&e.push(n)}),e.sort()}function Le(t,e){return t?Ai.call(t,e):!1}function be(t){for(var e=-1,n=ts(t),i=n.length,s={};++e<i;){var a=n[e];s[t[a]]=a}return s}function we(t){return t===!0||t===!1||t&&"object"==typeof t&&Di.call(t)==W||!1}function Te(t){return t&&"object"==typeof t&&Di.call(t)==O||!1}function Ye(t){return t&&1===t.nodeType||!1}function ke(t){var e=!0;if(!t)return e;var n=Di.call(t),i=t.length;return n==F||n==I||n==A||n==N&&"number"==typeof i&&Se(t.splice)?!i:(ls(t,function(){return e=!1}),e)}function De(t,e,n,i){return ee(t,e,"function"==typeof n&&X(n,i,2))}function xe(t){return Ii(t)&&!Ri(parseFloat(t))}function Se(t){return"function"==typeof t}function Ce(t){return!(!t||!U[typeof t])}function je(t){return Ee(t)&&t!=+t}function Pe(t){return null===t}function Ee(t){return"number"==typeof t||t&&"object"==typeof t&&Di.call(t)==H||!1}function Ae(t){return t&&"object"==typeof t&&Di.call(t)==z||!1}function Fe(t){return"string"==typeof t||t&&"object"==typeof t&&Di.call(t)==I||!1}function We(t){return"undefined"==typeof t}function Oe(t,e,n){var i={};return e=p.createCallback(e,n,3),ls(t,function(t,n,s){i[n]=e(t,n,s)}),i}function $e(t){var e=arguments,n=2;if(!Ce(t))return t;if("number"!=typeof e[2]&&(n=e.length),n>3&&"function"==typeof e[n-2])var i=X(e[--n-1],e[n--],2);
|
||
else n>2&&"function"==typeof e[n-1]&&(i=e[--n]);for(var s=c(arguments,1,n),a=-1,r=o(),l=o();++a<n;)ne(t,s[a],i,r,l);return u(r),u(l),t}function He(t,e,n){var i={};if("function"!=typeof e){var s=[];os(t,function(t,e){s.push(e)}),s=Z(s,te(arguments,!0,!1,1));for(var a=-1,r=s.length;++a<r;){var o=s[a];i[o]=t[o]}}else e=p.createCallback(e,n,3),os(t,function(t,n,s){e(t,n,s)||(i[n]=t)});return i}function Ne(t){for(var e=-1,n=ts(t),i=n.length,s=pi(i);++e<i;){var a=n[e];s[e]=[a,t[a]]}return s}function ze(t,e,n){var i={};if("function"!=typeof e)for(var s=-1,a=te(arguments,!0,!1,1),r=Ce(t)?a.length:0;++s<r;){var o=a[s];o in t&&(i[o]=t[o])}else e=p.createCallback(e,n,3),os(t,function(t,n,s){e(t,n,s)&&(i[n]=t)});return i}function Ie(t,e,n,i){var s=Zi(t);if(null==n)if(s)n=[];else{var a=t&&t.constructor,r=a&&a.prototype;n=V(r)}return e&&(e=p.createCallback(e,i,4),(s?Xe:ls)(t,function(t,i,s){return e(n,t,i,s)})),n}function Re(t){for(var e=-1,n=ts(t),i=n.length,s=pi(i);++e<i;)s[e]=t[n[e]];return s}function Be(t){for(var e=arguments,n=-1,i=te(e,!0,!1,1),s=e[2]&&e[2][e[1]]===t?1:i.length,a=pi(s);++n<s;)a[n]=t[i[n]];return a}function qe(t,e,n){var i=-1,s=le(),a=t?t.length:0,r=!1;return n=(0>n?qi(0,a+n):n)||0,Zi(t)?r=s(t,e,n)>-1:"number"==typeof a?r=(Fe(t)?t.indexOf(e,n):s(t,e,n))>-1:ls(t,function(t){return++i>=n?!(r=t===e):void 0}),r}function Ue(t,e,n){var i=!0;e=p.createCallback(e,n,3);var s=-1,a=t?t.length:0;if("number"==typeof a)for(;++s<a&&(i=!!e(t[s],s,t)););else ls(t,function(t,n,s){return i=!!e(t,n,s)});return i}function Ge(t,e,n){var i=[];e=p.createCallback(e,n,3);var s=-1,a=t?t.length:0;if("number"==typeof a)for(;++s<a;){var r=t[s];e(r,s,t)&&i.push(r)}else ls(t,function(t,n,s){e(t,n,s)&&i.push(t)});return i}function Je(t,e,n){e=p.createCallback(e,n,3);var i=-1,s=t?t.length:0;if("number"!=typeof s){var a;return ls(t,function(t,n,i){return e(t,n,i)?(a=t,!1):void 0}),a}for(;++i<s;){var r=t[i];if(e(r,i,t))return r}}function Ve(t,e,n){var i;return e=p.createCallback(e,n,3),Qe(t,function(t,n,s){return e(t,n,s)?(i=t,!1):void 0}),i}function Xe(t,e,n){var i=-1,s=t?t.length:0;if(e=e&&"undefined"==typeof n?e:X(e,n,3),"number"==typeof s)for(;++i<s&&e(t[i],i,t)!==!1;);else ls(t,e);return t}function Qe(t,e,n){var i=t?t.length:0;if(e=e&&"undefined"==typeof n?e:X(e,n,3),"number"==typeof i)for(;i--&&e(t[i],i,t)!==!1;);else{var s=ts(t);i=s.length,ls(t,function(t,n,a){return n=s?s[--i]:--i,e(a[n],n,a)})}return t}function Ze(t,e){var n=c(arguments,2),i=-1,s="function"==typeof e,a=t?t.length:0,r=pi("number"==typeof a?a:0);return Xe(t,function(t){r[++i]=(s?e:t[e]).apply(t,n)}),r}function Ke(t,e,n){var i=-1,s=t?t.length:0;if(e=p.createCallback(e,n,3),"number"==typeof s)for(var a=pi(s);++i<s;)a[i]=e(t[i],i,t);else a=[],ls(t,function(t,n,s){a[++i]=e(t,n,s)});return a}function tn(t,e,n){var s=-1/0,a=s;if("function"!=typeof e&&n&&n[e]===t&&(e=null),null==e&&Zi(t))for(var r=-1,o=t.length;++r<o;){var l=t[r];l>a&&(a=l)}else e=null==e&&Fe(t)?i:p.createCallback(e,n,3),Xe(t,function(t,n,i){var r=e(t,n,i);r>s&&(s=r,a=t)});return a}function en(t,e,n){var s=1/0,a=s;if("function"!=typeof e&&n&&n[e]===t&&(e=null),null==e&&Zi(t))for(var r=-1,o=t.length;++r<o;){var l=t[r];a>l&&(a=l)}else e=null==e&&Fe(t)?i:p.createCallback(e,n,3),Xe(t,function(t,n,i){var r=e(t,n,i);s>r&&(s=r,a=t)});return a}function nn(t,e,n,i){if(!t)return n;var s=arguments.length<3;e=p.createCallback(e,i,4);var a=-1,r=t.length;if("number"==typeof r)for(s&&(n=t[++a]);++a<r;)n=e(n,t[a],a,t);else ls(t,function(t,i,a){n=s?(s=!1,t):e(n,t,i,a)});return n}function sn(t,e,n,i){var s=arguments.length<3;return e=p.createCallback(e,i,4),Qe(t,function(t,i,a){n=s?(s=!1,t):e(n,t,i,a)}),n}function an(t,e,n){return e=p.createCallback(e,n,3),Ge(t,function(t,n,i){return!e(t,n,i)})}function rn(t,e,n){if(t&&"number"!=typeof t.length&&(t=Re(t)),null==e||n)return t?t[ie(0,t.length-1)]:f;var i=on(t);return i.length=Ui(qi(0,e),i.length),i}function on(t){var e=-1,n=t?t.length:0,i=pi("number"==typeof n?n:0);return Xe(t,function(t){var n=ie(0,++e);i[e]=i[n],i[n]=t}),i}function ln(t){var e=t?t.length:0;return"number"==typeof e?e:ts(t).length}function un(t,e,n){var i;e=p.createCallback(e,n,3);var s=-1,a=t?t.length:0;if("number"==typeof a)for(;++s<a&&!(i=e(t[s],s,t)););else ls(t,function(t,n,s){return!(i=e(t,n,s))});return!!i}function dn(t,e,n){var i=-1,a=Zi(e),r=t?t.length:0,c=pi("number"==typeof r?r:0);for(a||(e=p.createCallback(e,n,3)),Xe(t,function(t,n,s){var r=c[++i]=l();a?r.criteria=Ke(e,function(e){return t[e]}):(r.criteria=o())[0]=e(t,n,s),r.index=i,r.value=t}),r=c.length,c.sort(s);r--;){var h=c[r];c[r]=h.value,a||u(h.criteria),d(h)}return c}function cn(t){return t&&"number"==typeof t.length?c(t):Re(t)}function hn(t){for(var e=-1,n=t?t.length:0,i=[];++e<n;){var s=t[e];s&&i.push(s)}return i}function fn(t){return Z(t,te(arguments,!0,!0,1))}function pn(t,e,n){var i=-1,s=t?t.length:0;for(e=p.createCallback(e,n,3);++i<s;)if(e(t[i],i,t))return i;return-1}function _n(t,e,n){var i=t?t.length:0;for(e=p.createCallback(e,n,3);i--;)if(e(t[i],i,t))return i;return-1}function mn(t,e,n){var i=0,s=t?t.length:0;if("number"!=typeof e&&null!=e){var a=-1;for(e=p.createCallback(e,n,3);++a<s&&e(t[a],a,t);)i++}else if(i=e,null==i||n)return t?t[0]:f;return c(t,0,Ui(qi(0,i),s))}function gn(t,e,n,i){return"boolean"!=typeof e&&null!=e&&(i=n,n="function"!=typeof e&&i&&i[e]===t?null:e,e=!1),null!=n&&(t=Ke(t,n,i)),te(t,e)}function yn(e,n,i){if("number"==typeof i){var s=e?e.length:0;i=0>i?qi(0,s+i):i||0}else if(i){var a=Dn(e,n);return e[a]===n?a:-1}return t(e,n,i)}function vn(t,e,n){var i=0,s=t?t.length:0;if("number"!=typeof e&&null!=e){var a=s;for(e=p.createCallback(e,n,3);a--&&e(t[a],a,t);)i++}else i=null==e||n?1:e||i;return c(t,0,Ui(qi(0,s-i),s))}function Mn(){for(var n=[],i=-1,s=arguments.length,r=o(),l=le(),c=l===t,h=o();++i<s;){var f=arguments[i];(Zi(f)||he(f))&&(n.push(f),r.push(c&&f.length>=y&&a(i?n[i]:h)))}var p=n[0],_=-1,m=p?p.length:0,g=[];t:for(;++_<m;){var v=r[0];if(f=p[_],(v?e(v,f):l(h,f))<0){for(i=s,(v||h).push(f);--i;)if(v=r[i],(v?e(v,f):l(n[i],f))<0)continue t;g.push(f)}}for(;s--;)v=r[s],v&&d(v);return u(r),u(h),g}function Ln(t,e,n){var i=0,s=t?t.length:0;if("number"!=typeof e&&null!=e){var a=s;for(e=p.createCallback(e,n,3);a--&&e(t[a],a,t);)i++}else if(i=e,null==i||n)return t?t[s-1]:f;return c(t,qi(0,s-i))}function bn(t,e,n){var i=t?t.length:0;for("number"==typeof n&&(i=(0>n?qi(0,i+n):Ui(n,i-1))+1);i--;)if(t[i]===e)return i;return-1}function wn(t){for(var e=arguments,n=0,i=e.length,s=t?t.length:0;++n<i;)for(var a=-1,r=e[n];++a<s;)t[a]===r&&(Oi.call(t,a--,1),s--);return t}function Tn(t,e,n){t=+t||0,n="number"==typeof n?n:+n||1,null==e&&(e=t,t=0);for(var i=-1,s=qi(0,Si((e-t)/(n||1))),a=pi(s);++i<s;)a[i]=t,t+=n;return a}function Yn(t,e,n){var i=-1,s=t?t.length:0,a=[];for(e=p.createCallback(e,n,3);++i<s;){var r=t[i];e(r,i,t)&&(a.push(r),Oi.call(t,i--,1),s--)}return a}function kn(t,e,n){if("number"!=typeof e&&null!=e){var i=0,s=-1,a=t?t.length:0;for(e=p.createCallback(e,n,3);++s<a&&e(t[s],s,t);)i++}else i=null==e||n?1:qi(0,e);return c(t,i)}function Dn(t,e,n,i){var s=0,a=t?t.length:s;for(n=n?p.createCallback(n,i,1):Zn,e=n(e);a>s;){var r=s+a>>>1;n(t[r])<e?s=r+1:a=r}return s}function xn(){return se(te(arguments,!0,!0))}function Sn(t,e,n,i){return"boolean"!=typeof e&&null!=e&&(i=n,n="function"!=typeof e&&i&&i[e]===t?null:e,e=!1),null!=n&&(n=p.createCallback(n,i,3)),se(t,e,n)}function Cn(t){return Z(t,c(arguments,1))}function jn(){for(var t=-1,e=arguments.length;++t<e;){var n=arguments[t];if(Zi(n)||he(n))var i=i?se(Z(i,n).concat(Z(n,i))):n}return i||[]}function Pn(){for(var t=arguments.length>1?arguments:arguments[0],e=-1,n=t?tn(fs(t,"length")):0,i=pi(0>n?0:n);++e<n;)i[e]=fs(t,e);return i}function En(t,e){var n=-1,i=t?t.length:0,s={};for(e||!i||Zi(t[0])||(e=[]);++n<i;){var a=t[n];e?s[a]=e[n]:a&&(s[a[0]]=a[1])}return s}function An(t,e){if(!Se(e))throw new wi;return function(){return--t<1?e.apply(this,arguments):void 0}}function Fn(t,e){return arguments.length>2?re(t,17,c(arguments,2),null,e):re(t,1,null,null,e)}function Wn(t){for(var e=arguments.length>1?te(arguments,!0,!1,1):Me(t),n=-1,i=e.length;++n<i;){var s=e[n];t[s]=re(t[s],1,null,null,t)}return t}function On(t,e){return arguments.length>2?re(e,19,c(arguments,2),null,t):re(e,3,null,null,t)}function $n(){for(var t=arguments,e=t.length;e--;)if(!Se(t[e]))throw new wi;return function(){for(var e=arguments,n=t.length;n--;)e=[t[n].apply(this,e)];return e[0]}}function Hn(t,e){return e="number"==typeof e?e:+e||t.length,re(t,4,null,null,null,e)}function Nn(t,e,n){var i,s,a,r,o,l,u,d=0,c=!1,h=!0;if(!Se(t))throw new wi;if(e=qi(0,e)||0,n===!0){var p=!0;h=!1}else Ce(n)&&(p=n.leading,c="maxWait"in n&&(qi(e,n.maxWait)||0),h="trailing"in n?n.trailing:h);var _=function(){var n=e-(_s()-r);if(0>=n){s&&Ci(s);var c=u;s=l=u=f,c&&(d=_s(),a=t.apply(o,i),l||s||(i=o=null))}else l=Wi(_,n)},m=function(){l&&Ci(l),s=l=u=f,(h||c!==e)&&(d=_s(),a=t.apply(o,i),l||s||(i=o=null))};return function(){if(i=arguments,r=_s(),o=this,u=h&&(l||!p),c===!1)var n=p&&!l;else{s||p||(d=r);var f=c-(r-d),g=0>=f;g?(s&&(s=Ci(s)),d=r,a=t.apply(o,i)):s||(s=Wi(m,f))}return g&&l?l=Ci(l):l||e===c||(l=Wi(_,e)),n&&(g=!0,a=t.apply(o,i)),!g||l||s||(i=o=null),a}}function zn(t){if(!Se(t))throw new wi;var e=c(arguments,1);return Wi(function(){t.apply(f,e)},1)}function In(t,e){if(!Se(t))throw new wi;var n=c(arguments,2);return Wi(function(){t.apply(f,n)},e)}function Rn(t,e){if(!Se(t))throw new wi;var n=function(){var i=n.cache,s=e?e.apply(this,arguments):g+arguments[0];return Ai.call(i,s)?i[s]:i[s]=t.apply(this,arguments)};return n.cache={},n}function Bn(t){var e,n;if(!Se(t))throw new wi;return function(){return e?n:(e=!0,n=t.apply(this,arguments),t=null,n)}}function qn(t){return re(t,16,c(arguments,1))}function Un(t){return re(t,32,null,c(arguments,1))}function Gn(t,e,n){var i=!0,s=!0;if(!Se(t))throw new wi;return n===!1?i=!1:Ce(n)&&(i="leading"in n?n.leading:i,s="trailing"in n?n.trailing:s),B.leading=i,B.maxWait=e,B.trailing=s,Nn(t,e,B)}function Jn(t,e){return re(e,16,[t])}function Vn(t){return function(){return t}}function Xn(t,e,n){var i=typeof t;if(null==t||"function"==i)return X(t,e,n);if("object"!=i)return ni(t);var s=ts(t),a=s[0],r=t[a];return 1!=s.length||r!==r||Ce(r)?function(e){for(var n=s.length,i=!1;n--&&(i=ee(e[s[n]],t[s[n]],null,!0)););return i}:function(t){var e=t[a];return r===e&&(0!==r||1/r==1/e)}}function Qn(t){return null==t?"":bi(t).replace(ss,oe)}function Zn(t){return t}function Kn(t,e,n){var i=!0,s=e&&Me(e);e&&(n||s.length)||(null==n&&(n=e),a=_,e=t,t=p,s=Me(e)),n===!1?i=!1:Ce(n)&&"chain"in n&&(i=n.chain);var a=t,r=Se(a);Xe(s,function(n){var s=t[n]=e[n];r&&(a.prototype[n]=function(){var e=this.__chain__,n=this.__wrapped__,r=[n];Fi.apply(r,arguments);var o=s.apply(t,r);if(i||e){if(n===o&&Ce(o))return this;o=new a(o),o.__chain__=e}return o})})}function ti(){return n._=ki,this}function ei(){}function ni(t){return function(e){return e[t]}}function ii(t,e,n){var i=null==t,s=null==e;if(null==n&&("boolean"==typeof t&&s?(n=t,t=1):s||"boolean"!=typeof e||(n=e,s=!0)),i&&s&&(e=1),t=+t||0,s?(e=t,t=0):e=+e||0,n||t%1||e%1){var a=Ji();return Ui(t+a*(e-t+parseFloat("1e-"+((a+"").length-1))),e)}return ie(t,e)}function si(t,e){if(t){var n=t[e];return Se(n)?t[e]():n}}function ai(t,e,n){var i=p.templateSettings;t=bi(t||""),n=rs({},n,i);var s,a=rs({},n.imports,i.imports),o=ts(a),l=Re(a),u=0,d=n.interpolate||S,c="__p += '",h=Li((n.escape||S).source+"|"+d.source+"|"+(d===D?T:S).source+"|"+(n.evaluate||S).source+"|$","g");t.replace(h,function(e,n,i,a,o,l){return i||(i=a),c+=t.slice(u,l).replace(j,r),n&&(c+="' +\n__e("+n+") +\n'"),o&&(s=!0,c+="';\n"+o+";\n__p += '"),i&&(c+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=l+e.length,e}),c+="';\n";var _=n.variable,m=_;m||(_="obj",c="with ("+_+") {\n"+c+"\n}\n"),c=(s?c.replace(L,""):c).replace(b,"$1").replace(w,"$1;"),c="function("+_+") {\n"+(m?"":_+" || ("+_+" = {});\n")+"var __t, __p = '', __e = _.escape"+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+c+"return __p\n}";var g="\n/*\n//# sourceURL="+(n.sourceURL||"/lodash/template/source["+E++ +"]")+"\n*/";try{var y=gi(o,"return "+c+g).apply(f,l)}catch(v){throw v.source=c,v}return e?y(e):(y.source=c,y)}function ri(t,e,n){t=(t=+t)>-1?t:0;var i=-1,s=pi(t);for(e=X(e,n,1);++i<t;)s[i]=e(i);return s}function oi(t){return null==t?"":bi(t).replace(is,ce)}function li(t){var e=++m;return bi(null==t?"":t)+e}function ui(t){return t=new _(t),t.__chain__=!0,t}function di(t,e){return e(t),t}function ci(){return this.__chain__=!0,this}function hi(){return bi(this.__wrapped__)}function fi(){return this.__wrapped__}n=n?K.defaults(J.Object(),n,K.pick(J,P)):J;var pi=n.Array,_i=n.Boolean,mi=n.Date,gi=n.Function,yi=n.Math,vi=n.Number,Mi=n.Object,Li=n.RegExp,bi=n.String,wi=n.TypeError,Ti=[],Yi=Mi.prototype,ki=n._,Di=Yi.toString,xi=Li("^"+bi(Di).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$"),Si=yi.ceil,Ci=n.clearTimeout,ji=yi.floor,Pi=gi.prototype.toString,Ei=ue(Ei=Mi.getPrototypeOf)&&Ei,Ai=Yi.hasOwnProperty,Fi=Ti.push,Wi=n.setTimeout,Oi=Ti.splice,$i=Ti.unshift,Hi=function(){try{var t={},e=ue(e=Mi.defineProperty)&&e,n=e(t,t,t)&&e}catch(i){}return n}(),Ni=ue(Ni=Mi.create)&&Ni,zi=ue(zi=pi.isArray)&&zi,Ii=n.isFinite,Ri=n.isNaN,Bi=ue(Bi=Mi.keys)&&Bi,qi=yi.max,Ui=yi.min,Gi=n.parseInt,Ji=yi.random,Vi={};Vi[F]=pi,Vi[W]=_i,Vi[O]=mi,Vi[$]=gi,Vi[N]=Mi,Vi[H]=vi,Vi[z]=Li,Vi[I]=bi,_.prototype=p.prototype;var Xi=p.support={};Xi.funcDecomp=!ue(n.WinRTError)&&C.test(h),Xi.funcNames="string"==typeof gi.name,p.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:D,variable:"",imports:{_:p}},Ni||(V=function(){function t(){}return function(e){if(Ce(e)){t.prototype=e;var i=new t;t.prototype=null}return i||n.Object()}}());var Qi=Hi?function(t,e){q.value=e,Hi(t,"__bindData__",q)}:ei,Zi=zi||function(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Di.call(t)==F||!1},Ki=function(t){var e,n=t,i=[];if(!n)return i;if(!U[typeof t])return i;for(e in n)Ai.call(n,e)&&i.push(e);return i},ts=Bi?function(t){return Ce(t)?Bi(t):[]}:Ki,es={"&":"&","<":"<",">":">",'"':""","'":"'"},ns=be(es),is=Li("("+ts(ns).join("|")+")","g"),ss=Li("["+ts(es).join("")+"]","g"),as=function(t,e,n){var i,s=t,a=s;if(!s)return a;var r=arguments,o=0,l="number"==typeof n?2:r.length;if(l>3&&"function"==typeof r[l-2])var u=X(r[--l-1],r[l--],2);else l>2&&"function"==typeof r[l-1]&&(u=r[--l]);for(;++o<l;)if(s=r[o],s&&U[typeof s])for(var d=-1,c=U[typeof s]&&ts(s),h=c?c.length:0;++d<h;)i=c[d],a[i]=u?u(a[i],s[i]):s[i];return a},rs=function(t,e,n){var i,s=t,a=s;if(!s)return a;for(var r=arguments,o=0,l="number"==typeof n?2:r.length;++o<l;)if(s=r[o],s&&U[typeof s])for(var u=-1,d=U[typeof s]&&ts(s),c=d?d.length:0;++u<c;)i=d[u],"undefined"==typeof a[i]&&(a[i]=s[i]);return a},os=function(t,e,n){var i,s=t,a=s;if(!s)return a;if(!U[typeof s])return a;e=e&&"undefined"==typeof n?e:X(e,n,3);for(i in s)if(e(s[i],i,t)===!1)return a;return a},ls=function(t,e,n){var i,s=t,a=s;if(!s)return a;if(!U[typeof s])return a;e=e&&"undefined"==typeof n?e:X(e,n,3);for(var r=-1,o=U[typeof s]&&ts(s),l=o?o.length:0;++r<l;)if(i=o[r],e(s[i],i,t)===!1)return a;return a},us=Ei?function(t){if(!t||Di.call(t)!=N)return!1;var e=t.valueOf,n=ue(e)&&(n=Ei(e))&&Ei(n);return n?t==n||Ei(t)==n:de(t)}:de,ds=ae(function(t,e,n){Ai.call(t,n)?t[n]++:t[n]=1}),cs=ae(function(t,e,n){(Ai.call(t,n)?t[n]:t[n]=[]).push(e)}),hs=ae(function(t,e,n){t[n]=e}),fs=Ke,ps=Ge,_s=ue(_s=mi.now)&&_s||function(){return(new mi).getTime()},ms=8==Gi(M+"08")?Gi:function(t,e){return Gi(Fe(t)?t.replace(x,""):t,e||0)};return p.after=An,p.assign=as,p.at=Be,p.bind=Fn,p.bindAll=Wn,p.bindKey=On,p.chain=ui,p.compact=hn,p.compose=$n,p.constant=Vn,p.countBy=ds,p.create=_e,p.createCallback=Xn,p.curry=Hn,p.debounce=Nn,p.defaults=rs,p.defer=zn,p.delay=In,p.difference=fn,p.filter=Ge,p.flatten=gn,p.forEach=Xe,p.forEachRight=Qe,p.forIn=os,p.forInRight=ye,p.forOwn=ls,p.forOwnRight=ve,p.functions=Me,p.groupBy=cs,p.indexBy=hs,p.initial=vn,p.intersection=Mn,p.invert=be,p.invoke=Ze,p.keys=ts,p.map=Ke,p.mapValues=Oe,p.max=tn,p.memoize=Rn,p.merge=$e,p.min=en,p.omit=He,p.once=Bn,p.pairs=Ne,p.partial=qn,p.partialRight=Un,p.pick=ze,p.pluck=fs,p.property=ni,p.pull=wn,p.range=Tn,p.reject=an,p.remove=Yn,p.rest=kn,p.shuffle=on,p.sortBy=dn,p.tap=di,p.throttle=Gn,p.times=ri,p.toArray=cn,p.transform=Ie,p.union=xn,p.uniq=Sn,p.values=Re,p.where=ps,p.without=Cn,p.wrap=Jn,p.xor=jn,p.zip=Pn,p.zipObject=En,p.collect=Ke,p.drop=kn,p.each=Xe,p.eachRight=Qe,p.extend=as,p.methods=Me,p.object=En,p.select=Ge,p.tail=kn,p.unique=Sn,p.unzip=Pn,Kn(p),p.clone=fe,p.cloneDeep=pe,p.contains=qe,p.escape=Qn,p.every=Ue,p.find=Je,p.findIndex=pn,p.findKey=me,p.findLast=Ve,p.findLastIndex=_n,p.findLastKey=ge,p.has=Le,p.identity=Zn,p.indexOf=yn,p.isArguments=he,p.isArray=Zi,p.isBoolean=we,p.isDate=Te,p.isElement=Ye,p.isEmpty=ke,p.isEqual=De,p.isFinite=xe,p.isFunction=Se,p.isNaN=je,p.isNull=Pe,p.isNumber=Ee,p.isObject=Ce,p.isPlainObject=us,p.isRegExp=Ae,p.isString=Fe,p.isUndefined=We,p.lastIndexOf=bn,p.mixin=Kn,p.noConflict=ti,p.noop=ei,p.now=_s,p.parseInt=ms,p.random=ii,p.reduce=nn,p.reduceRight=sn,p.result=si,p.runInContext=h,p.size=ln,p.some=un,p.sortedIndex=Dn,p.template=ai,p.unescape=oi,p.uniqueId=li,p.all=Ue,p.any=un,p.detect=Je,p.findWhere=Je,p.foldl=nn,p.foldr=sn,p.include=qe,p.inject=nn,Kn(function(){var t={};return ls(p,function(e,n){p.prototype[n]||(t[n]=e)}),t}(),!1),p.first=mn,p.last=Ln,p.sample=rn,p.take=mn,p.head=mn,ls(p,function(t,e){var n="sample"!==e;p.prototype[e]||(p.prototype[e]=function(e,i){var s=this.__chain__,a=t(this.__wrapped__,e,i);return s||null!=e&&(!i||n&&"function"==typeof e)?new _(a,s):a})}),p.VERSION="2.4.1",p.prototype.chain=ci,p.prototype.toString=hi,p.prototype.value=fi,p.prototype.valueOf=fi,Xe(["join","pop","shift"],function(t){var e=Ti[t];p.prototype[t]=function(){var t=this.__chain__,n=e.apply(this.__wrapped__,arguments);return t?new _(n,t):n}}),Xe(["push","reverse","sort","unshift"],function(t){var e=Ti[t];p.prototype[t]=function(){return e.apply(this.__wrapped__,arguments),this}}),Xe(["concat","slice","splice"],function(t){var e=Ti[t];p.prototype[t]=function(){return new _(e.apply(this.__wrapped__,arguments),this.__chain__)}}),p}var f,p=[],_=[],m=0,g=+new Date+"",y=75,v=40,M=" \f \n\r\u2028\u2029 ",L=/\b__p \+= '';/g,b=/\b(__p \+=) '' \+/g,w=/(__e\(.*?\)|\b__t\)) \+\n'';/g,T=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Y=/\w*$/,k=/^\s*function[ \n\r\t]+\w/,D=/<%=([\s\S]+?)%>/g,x=RegExp("^["+M+"]*0+(?=.$)"),S=/($^)/,C=/\bthis\b/,j=/['\n\r\t\u2028\u2029\\]/g,P=["Array","Boolean","Date","Function","Math","Number","Object","RegExp","String","_","attachEvent","clearTimeout","isFinite","isNaN","parseInt","setTimeout"],E=0,A="[object Arguments]",F="[object Array]",W="[object Boolean]",O="[object Date]",$="[object Function]",H="[object Number]",N="[object Object]",z="[object RegExp]",I="[object String]",R={};R[$]=!1,R[A]=R[F]=R[W]=R[O]=R[H]=R[N]=R[z]=R[I]=!0;var B={leading:!1,maxWait:0,trailing:!1},q={configurable:!1,enumerable:!1,value:null,writable:!1},U={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1},G={"\\":"\\","'":"'","\n":"n","\r":"r"," ":"t","\u2028":"u2028","\u2029":"u2029"},J=U[typeof window]&&window||this,V=U[typeof exports]&&exports&&!exports.nodeType&&exports,X=U[typeof module]&&module&&!module.nodeType&&module,Q=X&&X.exports===V&&V,Z=U[typeof global]&&global;!Z||Z.global!==Z&&Z.window!==Z||(J=Z);var K=h();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(J._=K,define(function(){return K})):V&&X?Q?(X.exports=K)._=K:V._=K:J._=K}.call(this),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),s=(t.concat,e.toString),a=(e.hasOwnProperty,t.forEach),r=(t.map,t.reduce,t.reduceRight,t.filter),o=(t.every,t.some,t.indexOf,t.lastIndexOf,Array.isArray,Object.keys),l=n.bind,u={},d={},c=u.each=u.forEach=function(t,e,n){if(null!=t)if(a&&t.forEach===a)t.forEach(e,n);else if(t.length===+t.length){for(var i=0,s=t.length;s>i;i++)if(e.call(n,t[i],i,t)===d)return}else for(var r in t)if(u.has(t,r)&&e.call(n,t[r],r,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:r&&t.filter===r?t.filter(e,n):(c(t,function(t,s,a){e.call(n,t,s,a)&&(i[i.length]=t)}),i)},c(["Arguments","Function","String","Number","Date","RegExp"],function(t){u["is"+t]=function(e){return s.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,s){if(!i)return!0;if("object"==typeof i)for(var a in i)e[n].apply(e,[a,i[a]].concat(s));else{if(!t.test(i))return!0;for(var r=i.split(t),o=0,l=r.length;l>o;o++)e[n].apply(e,[r[o]].concat(s))}},n=function(t,e){var n,i=-1,s=t.length;switch(e.length){case 0:for(;++i<s;)(n=t[i]).callback.call(n.ctx);return;case 1:for(;++i<s;)(n=t[i]).callback.call(n.ctx,e[0]);return;case 2:for(;++i<s;)(n=t[i]).callback.call(n.ctx,e[0],e[1]);return;case 3:for(;++i<s;)(n=t[i]).callback.call(n.ctx,e[0],e[1],e[2]);return;default:for(;++i<s;)(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 s=this._events[t]||(this._events[t]=[]);return s.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 s=this,a=_.once(function(){s.off(t,a),n.apply(this,arguments)});return a._callback=n,this.on(t,a,i),this},off:function(t,n,i){var s,a,r,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],s=this._events[t]){if(r=[],n||i)for(d=0,c=s.length;c>d;d++)a=s[d],(n&&n!==a.callback&&n!==a.callback._callback||i&&i!==a.context)&&r.push(a);this._events[t]=r}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 s=this._events[t],a=this._events.all;return s&&n(s,i),a&&n(a,arguments),this},listenTo:function(t,e,n){var i=this._listeners||(this._listeners={}),s=t._listenerId||(t._listenerId=_.uniqueId("l"));return i[s]=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 s in i)i[s].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,s,a,r,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},f=[].slice,p=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1};t=jQuery,a=null!=(l=window._)?l:window.Messenger._,i=null!=(u="undefined"!=typeof Backbone&&null!==Backbone?Backbone.Events:void 0)?u:window.Messenger.Events,n=function(){function e(e){t.extend(this,i),a.isObject(e)&&(e.el&&this.setElement(e.el),this.model=e.model),this.initialize.apply(this,arguments)}return e.prototype.setElement=function(e){return this.$el=t(e),this.el=this.$el[0]},e.prototype.delegateEvents=function(t){var e,n,i,s,r,o,l;if(t||(t=a.result(this,"events"))){this.undelegateEvents(),e=/^(\S+)\s*(.*)$/,l=[];for(i in t){if(r=t[i],a.isFunction(r)||(r=this[t[i]]),!r)throw new Error('Method "'+t[i]+'" does not exist');s=i.match(e),n=s[1],o=s[2],r=a.bind(r,this),n+=".delegateEvents"+this.cid,l.push(""===o?this.jqon(n,r):this.jqon(n,o,r))}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}(),r=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return h(n,e),n.prototype.defaults={hideAfter:10,scroll:!0,closeButtonText:"×"},n.prototype.initialize=function(e){return null==e&&(e={}),this.shown=!1,this.rendered=!1,this.messenger=e.messenger,this.options=t.extend({},this.options,e,this.defaults)},n.prototype.show=function(){var t;return this.rendered||this.render(),this.$message.removeClass("messenger-hidden"),t=this.shown,this.shown=!0,t?void 0:this.trigger("show")},n.prototype.hide=function(){var t;if(this.rendered)return this.$message.addClass("messenger-hidden"),t=this.shown,this.shown=!1,t?this.trigger("hide"):void 0},n.prototype.cancel=function(){return this.hide()},n.prototype.update=function(e){var n,i=this;return a.isString(e)&&(e={message:e}),t.extend(this.options,e),this.lastUpdate=new Date,this.rendered=!1,this.events=null!=(n=this.options.events)?n:{},this.render(),this.actionsToEvents(),this.delegateEvents(),this.checkClickable(),this.options.hideAfter?(this.$message.addClass("messenger-will-hide-after"),null!=this._hideTimeout&&clearTimeout(this._hideTimeout),this._hideTimeout=setTimeout(function(){return i.hide()},1e3*this.options.hideAfter)):this.$message.removeClass("messenger-will-hide-after"),this.options.hideOnNavigate?(this.$message.addClass("messenger-will-hide-on-navigate"),null!=("undefined"!=typeof Backbone&&null!==Backbone?Backbone.history:void 0)&&Backbone.history.on("route",function(){return i.hide()})):this.$message.removeClass("messenger-will-hide-on-navigate"),this.trigger("update",this)},n.prototype.scrollTo=function(){return this.options.scroll?t.scrollTo(this.$el,{duration:400,offset:{left:0,top:-20}}):void 0},n.prototype.timeSinceUpdate=function(){return this.lastUpdate?new Date-this.lastUpdate:null},n.prototype.actionsToEvents=function(){var t,e,n,i,s=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(),s.trigger("action:"+e,t,n),t.action.call(s,n,s)}}(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,s,a,r;n=[],a=this.options.actions;for(s in a)e=a[s],i=t.extend({},e),i.name=s,null==(r=i.label)&&(i.label=s),n.push(i);return n},n.prototype.template=function(e){var n,i,s,a,r,o,l,u,d,c,h=this;for(r=t("<div class='messenger-message message alert "+e.type+" message-"+e.type+" alert-"+e.type+"'>"),e.showCloseButton&&(s=t('<button type="button" class="messenger-close" data-dismiss="alert">'),s.html(e.closeButtonText),s.click(function(){return h.cancel(),!0}),r.append(s)),o=t('<div class="messenger-message-inner">'+e.message+"</div>"),r.append(o),e.actions.length&&(i=t('<div class="messenger-actions">')),c=e.actions,u=0,d=c.length;d>u;u++)l=c[u],n=t("<span>"),n.attr("data-action",""+l.name),a=t("<a>"),a.html(l.label),n.append(t('<span class="messenger-phrase">')),n.append(a),i.append(n);return r.append(i),r},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),s=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,s;e.__super__.render.apply(this,arguments),this.clearTimers(),i=this.options.actions,s=[];for(n in i)t=i[n],s.push(t.auto?this.startCountdown(n,t):void 0);return s},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,s,a,r=this;if(null==this._timers[t])return n=this.$message.find("[data-action='"+t+"'] .messenger-phrase"),i=null!=(a=e.delay)?a:3,10>=i?(this.$message.removeClass("messenger-retry-later"),this.$message.addClass("messenger-retry-soon")):(this.$message.removeClass("messenger-retry-soon"),this.$message.addClass("messenger-retry-later")),(s=function(){var a;return n.text(r.renderPhrase(e,i)),i>0?(a=Math.min(i,1),i-=a,r._timers[t]=setTimeout(s,1e3*a)):(r.$message.removeClass("messenger-retry-soon messenger-retry-later"),delete r._timers[t],e.action())})()},e}(r),o=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return h(n,e),n.prototype.tagName="ul",n.prototype.className="messenger",n.prototype.messageDefaults={type:"info"},n.prototype.initialize=function(e){return this.options=null!=e?e:{},this.history=[],this.messageDefaults=t.extend({},this.messageDefaults,this.options.messageDefaults)},n.prototype.render=function(){return this.updateMessageSlotClasses()},n.prototype.findById=function(t){return a.filter(this.history,function(e){return e.msg.options.id===t})},n.prototype._reserveMessageSlot=function(e){var n,i,s=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 s._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,s,a;if(null!=t.options.id)for(a=this.history,n=0,i=a.length;i>n;n++)if(e=a[n],s=e.msg,null!=s.options.id&&s.options.id===t.options.id&&t!==s){if(t.options.singleton)return void t.hide();s.hide()}},n.prototype.newMessage=function(t){var e,n,i,a,o=this;return null==t&&(t={}),t.messenger=this,r=null!=(n=null!=(i=Messenger.themes[null!=(a=t.theme)?a:this.options.theme])?i.Message:void 0)?n:s,e=new r(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,s,a,r;for(i=!0,e=null,t=!1,r=this.history,s=0,a=r.length;a>s;s++)n=r[s],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,s;for(i=this.history,s=[],e=0,n=i.length;n>e;e++)t=i[e],s.push(t.msg.hide());return s},n.prototype.post=function(e){var n;return a.isString(e)&&(e={message:e}),e=t.extend(!0,{},this.messageDefaults,e),n=this.newMessage(e),n.update(e),n},n}(n),e=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return h(n,e),n.prototype.doDefaults={progressMessage:null,successMessage:null,errorMessage:"Error connecting to the server.",showSuccessWithoutError:!0,retry:{auto:!0,allow:!0},action:t.ajax},n.prototype.hookBackboneAjax=function(e){var n,i=this;if(null==e&&(e={}),null==window.Backbone)throw"Expected Backbone to be defined";return e=a.defaults(e,{id:"BACKBONE_ACTION",errorMessage:!1,successMessage:"Request completed successfully.",showSuccessWithoutError:!1}),n=function(t){var n;return n=a.extend({},e,t.messenger),i["do"](n,t)},null!=Backbone.ajax?(Backbone.ajax._withoutMessenger&&(Backbone.ajax=Backbone.ajax._withoutMessenger),(null==e.action||e.action===this.doDefaults.action)&&(e.action=Backbone.ajax),n._withoutMessenger=Backbone.ajax,Backbone.ajax=n):Backbone.sync=a.wrap(Backbone.sync,function(){var e,i,s;return s=arguments[0],e=2<=arguments.length?f.call(arguments,1):[],i=t.ajax,t.ajax=n,s.call.apply(s,[this].concat(f.call(e))),t.ajax=i})},n.prototype._getHandlerResponse=function(t){return t===!1?!1:t===!0||null==t?!0:t},n.prototype._parseEvents=function(t){var e,n,i,s,a,r,o;null==t&&(t={}),a={};for(s in t)i=t[s],n=s.indexOf(" "),r=s.substring(0,n),e=s.substring(n+1),null==(o=a[r])&&(a[r]={}),a[r][e]=i;return a},n.prototype._normalizeResponse=function(){var t,e,n,i,s,r,o;for(n=1<=arguments.length?f.call(arguments,0):[],i=null,s=null,t=null,r=0,o=n.length;o>r;r++)e=n[r],"success"===e||"timeout"===e||"abort"===e?i=e:null!=(null!=e?e.readyState:void 0)&&null!=(null!=e?e.responseText:void 0)?s=e:a.isObject(e)&&(t=e);return[i,t,s]},n.prototype.run=function(){var e,n,i,s,r,o,l,u,d,c,h,_=this;if(o=arguments[0],d=arguments[1],e=3<=arguments.length?f.call(arguments,2):[],null==d&&(d={}),o=t.extend(!0,{},this.messageDefaults,this.doDefaults,null!=o?o:{}),n=this._parseEvents(o.events),i=function(t,e){var n;return n=o[t+"Message"],a.isFunction(n)?n.call(_,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"})),r={},a.each(["error","success"],function(s){var u;return u=d[s],r[s]=function(){var r,c,h,m,g,y,v,M,L,b,w,T,Y,k,D;return y=1<=arguments.length?f.call(arguments,0):[],L=_._normalizeResponse.apply(_,y),g=L[0],r=L[1],M=L[2],"success"===s&&null==l.errorCount&&o.showSuccessWithoutError===!1&&(o.successMessage=null),"error"===s&&(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=_._getHandlerResponse(h),a.isString(v)&&(v={message:v}),"error"!==s||0!==(null!=M?M.status:void 0)&&"abort"!==g?"error"===s&&null!=o.ignoredErrorCodes&&(w=null!=M?M.status:void 0,p.call(o.ignoredErrorCodes,w)>=0)?void l.hide():(c={message:i(s,M),type:s,events:null!=(T=n[s])?T:{},hideOnNavigate:"success"===s},m=t.extend({},o,c,v),"number"==typeof(null!=(Y=m.retry)?Y.allow:void 0)&&m.retry.allow--,"error"===s&&(null!=M?M.status:void 0)>=500&&(null!=(k=m.retry)?k.allow:void 0)?(null==m.retry.delay&&(m.retry.delay=m.errorCount<4?10:300),m.hideAfter&&(null==(D=m._hideAfter)&&(m._hideAfter=m.hideAfter),m.hideAfter=m._hideAfter+m.retry.delay),m._retryActions=!0,m.actions={retry:{label:"retry now",phrase:"Retrying TIME",auto:m.retry.auto,delay:m.retry.delay,action:function(){return m.messageInstance=l,setTimeout(function(){return _["do"].apply(_,[m,d].concat(f.call(e)))},0)}},cancel:{action:function(){return l.cancel()}}}):m._retryActions&&(delete m.actions.retry,delete m.actions.cancel,delete o._retryActions),l.update(m),v&&m.message?(Messenger(a.extend({},_.options,{instance:_})),l.show()):l.hide()):void l.hide()}}),!o.returnsPromise)for(c in r)s=r[c],u=d[c],d[c]=s;return l._actionInstance=o.action.apply(o,[d].concat(f.call(e))),o.returnsPromise&&l._actionInstance.then(r.success,r.error),l},n.prototype["do"]=n.prototype.run,n.prototype.ajax=function(){var e,n;return n=arguments[0],e=2<=arguments.length?f.call(arguments,1):[],n.action=t.ajax,this.run.apply(this,[n].concat(f.call(e)))},n.prototype.expectPromise=function(t,e){return e=a.extend({},e,{action:t,returnsPromise:!0}),this.run(e)},n.prototype.error=function(t){return null==t&&(t={}),"string"==typeof t&&(t={message:t}),t.type="error",this.post(t)},n.prototype.info=function(t){return null==t&&(t={}),"string"==typeof t&&(t={message:t}),t.type="info",this.post(t)},n.prototype.success=function(t){return null==t&&(t={}),"string"==typeof t&&(t={message:t}),t.type="success",this.post(t)},n}(o),t.fn.messenger=function(){var n,i,s,r,l,u,d,c;return s=arguments[0],i=2<=arguments.length?f.call(arguments,1):[],null==s&&(s={}),n=this,null!=s&&a.isString(s)?(c=n.data("messenger"))[s].apply(c,i):(l=s,null==n.data("messenger")&&(o=null!=(u=null!=(d=Messenger.themes[l.theme])?d.Messenger:void 0)?u:e,n.data("messenger",r=new o(t.extend({el:n},l))),r.render()),n.data("messenger"))},window.Messenger._call=function(e){var n,i,s,a,r,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,s=null,c=0,h=d.length;h>c;c++)if(u=d[c],i=t(u),i.length){a=u;break}l?t(l._location).is(t(a))||(l.$el.detach(),i.prepend(l.$el)):(n=t("<ul>"),i.prepend(n),l=n.messenger(e),l._location=a,Messenger.instance=l)}return null!=l._addedClasses&&l.$el.removeClass(l._addedClasses),l.$el.addClass(r=""+l.className+" "+e.extraClasses),l._addedClasses=r,l},t.extend(Messenger,{Message:s,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){this.el=t,this.options=e=e||{};var i={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",ignore:"a, img",filter:null,animation:0,setData:function(t,e){t.setData("Text",e.textContent)}};for(var s in i)!(s in e)&&(e[s]=i[s]);var r=e.group;r&&"object"==typeof r||(r=e.group={name:r}),["pull","put"].forEach(function(t){t in r||(r[t]=!0)}),W.forEach(function(i){e[i]=n(this,e[i]||O),a(t,i.substr(2).toLowerCase(),e[i])},this),t[S]=r.name+" "+(r.put.join?r.put.join(" "):"");for(var o in this)"_"===o.charAt(0)&&(this[o]=n(this,this[o]));a(t,"mousedown",this._onTapStart),a(t,"touchstart",this._onTapStart),E&&a(t,"selectstart",this._onTapStart),a(t,"dragover",this._onDragOver),a(t,"dragenter",this._onDragOver),N.push(this._onDragOver),e.store&&this.sort(e.store.get(this))}function e(t){v&&v.state!==t&&(l(v,"display",t?"none":""),!t&&v.state&&M.insertBefore(v,m),v.state=t)}function n(t,e){var n=H.call(arguments,2);return e.bind?e.bind.apply(e,[t].concat(n)):function(){return e.apply(t,n.concat(H.call(arguments)))}}function i(t,e,n){if(t){n=n||j,e=e.split(".");var i=e.shift().toUpperCase(),s=new RegExp("\\s("+e.join("|")+")\\s","g");do if(">*"===i&&t.parentNode===n||(""===i||t.nodeName==i)&&(!e.length||((" "+t.className+" ").match(s)||[]).length==e.length))return t;while(t!==n&&(t=t.parentNode))}return null}function s(t){t.dataTransfer.dropEffect="move",t.preventDefault()}function a(t,e,n){t.addEventListener(e,n,!1)}function r(t,e,n){t.removeEventListener(e,n,!1)}function o(t,e,n){if(t)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(/\s+/g," ").replace(" "+e+" ","");t.className=i+(n?" "+e:"")}}function l(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return j.defaultView&&j.defaultView.getComputedStyle?n=j.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 u(t,e,n){if(t){var i=t.getElementsByTagName(e),s=0,a=i.length;if(n)for(;a>s;s++)n(i[s],s);return i}return[]}function d(t){t.draggable=!1}function c(){A=!1}function h(t,e){var n=t.lastElementChild,i=n.getBoundingClientRect();return e.clientY-(i.top+i.height)>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 p(t){for(var e=0;t&&(t=t.previousElementSibling)&&"TEMPLATE"!==t.nodeName;)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))}}var m,g,y,v,M,L,b,w,T,Y,k,D,x={},S="Sortable"+(new Date).getTime(),C=window,j=C.document,P=C.parseInt,E=!!j.createElement("div").dragDrop,A=!1,F=function(t,e,n,i,s,a){var r=j.createEvent("Event");r.initEvent(e,!0,!0),r.item=n||t,r.from=i||t,r.oldIndex=s,r.newIndex=a,t.dispatchEvent(r)},W="onAdd onUpdate onRemove onStart onEnd onFilter onSort".split(" "),O=function(){},$=Math.abs,H=[].slice,N=[];return t.prototype={constructor:t,_dragStarted:function(){o(m,this.options.ghostClass,!0),t.active=this,F(M,"start",m,M,g)},_onTapStart:function(t){var e=t.type,n=t.touches&&t.touches[0],s=(n||t).target,r=s,o=this.options,c=this.el,h=o.filter;if(!("mousedown"===e&&0!==t.button||o.disabled)){if(o.handle&&(s=i(s,o.handle,c)),s=i(s,o.draggable,c),g=p(s),"function"==typeof h){if(h.call(this,t,s,this))return F(r,"filter",s,c,g),void t.preventDefault()}else if(h&&(h=h.split(",").some(function(t){return t=i(r,t.trim(),c),t?(F(t,"filter",s,c,g),!0):void 0})))return void t.preventDefault();if(s&&!m&&s.parentNode===c){"selectstart"===e&&s.dragDrop(),k=t,M=this.el,m=s,b=m.nextSibling,Y=this.options.group,m.draggable=!0,o.ignore.split(",").forEach(function(t){u(s,t.trim(),d)}),n&&(k={target:s,clientX:n.clientX,clientY:n.clientY},this._onDragStart(k,!0),t.preventDefault()),a(j,"mouseup",this._onDrop),a(j,"touchend",this._onDrop),a(j,"touchcancel",this._onDrop),a(m,"dragend",this),a(M,"dragstart",this._onDragStart),a(j,"dragover",this);try{j.selection?j.selection.empty():window.getSelection().removeAllRanges()}catch(f){}"clone"==Y.pull&&(v=m.cloneNode(!0),l(v,"display","none"),M.insertBefore(v,m))}}},_emulateDragOver:function(){if(D){l(y,"display","none");var t=j.elementFromPoint(D.clientX,D.clientY),e=t,n=this.options.group.name,i=N.length;if(e)do{if((" "+e[S]+" ").indexOf(n)>-1){for(;i--;)N[i]({clientX:D.clientX,clientY:D.clientY,target:t,rootEl:e});break}t=e}while(e=e.parentNode);l(y,"display","")}},_onTouchMove:function(t){if(k){var e=t.touches[0],n=e.clientX-k.clientX,i=e.clientY-k.clientY,s="translate3d("+n+"px,"+i+"px,0)";D=e,l(y,"webkitTransform",s),l(y,"mozTransform",s),l(y,"msTransform",s),l(y,"transform",s),this._onDrag(e),t.preventDefault()}},_onDragStart:function(t,e){var n=t.dataTransfer,i=this.options;if(this._offUpEvents(),e){var s,r=m.getBoundingClientRect(),o=l(m);y=m.cloneNode(!0),l(y,"top",r.top-P(o.marginTop,10)),l(y,"left",r.left-P(o.marginLeft,10)),l(y,"width",r.width),l(y,"height",r.height),l(y,"opacity","0.8"),l(y,"position","fixed"),l(y,"zIndex","100000"),M.appendChild(y),s=y.getBoundingClientRect(),l(y,"width",2*r.width-s.width),l(y,"height",2*r.height-s.height),a(j,"touchmove",this._onTouchMove),a(j,"touchend",this._onDrop),a(j,"touchcancel",this._onDrop),this._loopId=setInterval(this._emulateDragOver,150)}else n.effectAllowed="move",i.setData&&i.setData.call(this,n,m),a(j,"drop",this);if(L=i.scroll,L===!0){L=M;do if(L.offsetWidth<L.scrollWidth||L.offsetHeight<L.scrollHeight)break;while(L=L.parentNode)}setTimeout(this._dragStarted,0)},_onDrag:_(function(t){if(M&&this.options.scroll){var e,n,i=this.options,s=i.scrollSensitivity,a=i.scrollSpeed,r=t.clientX,o=t.clientY,l=window.innerWidth,u=window.innerHeight,d=(s>=l-r)-(s>=r),c=(s>=u-o)-(s>=o);d||c?e=C:L&&(e=L,n=L.getBoundingClientRect(),d=($(n.right-r)<=s)-($(n.left-r)<=s),c=($(n.bottom-o)<=s)-($(n.top-o)<=s)),(x.vx!==d||x.vy!==c||x.el!==e)&&(x.el=e,x.vx=d,x.vy=c,clearInterval(x.pid),e&&(x.pid=setInterval(function(){e===C?C.scrollTo(C.scrollX+d*a,C.scrollY+c*a):(c&&(e.scrollTop+=c*a),d&&(e.scrollLeft+=d*a))},24)))}},30),_onDragOver:function(t){var n,s,a,r=this.el,o=this.options,u=o.group,d=u.put,f=Y===u,p=o.sort;if(void 0!==t.preventDefault&&(t.preventDefault(),t.stopPropagation()),!A&&Y&&(f?p||(a=!M.contains(m)):Y.pull&&d&&(Y.name===u.name||d.indexOf&&~d.indexOf(Y.name)))&&(void 0===t.rootEl||t.rootEl===this.el)){if(n=i(t.target,o.draggable,r),s=m.getBoundingClientRect(),a)return e(!0),void(v||b?M.insertBefore(m,v||b):p||M.appendChild(m));if(0===r.children.length||r.children[0]===y||r===t.target&&(n=h(r,t))){if(n){if(n.animated)return;g=n.getBoundingClientRect()}e(f),r.appendChild(m),this._animate(s,m),n&&this._animate(g,n)}else if(n&&!n.animated&&n!==m&&void 0!==n.parentNode[S]){w!==n&&(w=n,T=l(n));var _,g=n.getBoundingClientRect(),L=g.right-g.left,k=g.bottom-g.top,D=/left|right|inline/.test(T.cssFloat+T.display),x=n.offsetWidth>m.offsetWidth,C=n.offsetHeight>m.offsetHeight,j=(D?(t.clientX-g.left)/L:(t.clientY-g.top)/k)>.5,P=n.nextElementSibling;A=!0,setTimeout(c,30),e(f),_=D?n.previousElementSibling===m&&!x||j&&x:P!==m&&!C||j&&C,_&&!P?r.appendChild(m):n.parentNode.insertBefore(m,_?P:n),this._animate(s,m),this._animate(g,n)}}},_animate:function(t,e){var n=this.options.animation;if(n){var i=e.getBoundingClientRect();l(e,"transition","none"),l(e,"transform","translate3d("+(t.left-i.left)+"px,"+(t.top-i.top)+"px,0)"),e.offsetWidth,l(e,"transition","all "+n+"ms"),l(e,"transform","translate3d(0,0,0)"),clearTimeout(e.animated),e.animated=setTimeout(function(){l(e,"transition",""),e.animated=!1},n)}},_offUpEvents:function(){r(j,"mouseup",this._onDrop),r(j,"touchmove",this._onTouchMove),r(j,"touchend",this._onDrop),r(j,"touchcancel",this._onDrop)},_onDrop:function(e){var n=this.el;if(clearInterval(this._loopId),clearInterval(x.pid),r(j,"drop",this),r(j,"dragover",this),r(n,"dragstart",this._onDragStart),this._offUpEvents(),e){if(e.preventDefault(),e.stopPropagation(),y&&y.parentNode.removeChild(y),m){r(m,"dragend",this);var i=p(m);d(m),o(m,this.options.ghostClass,!1),M!==m.parentNode?(F(m.parentNode,"sort",m,M,g,i),F(M,"sort",m,M,g,i),F(m,"add",m,M,g,i),F(M,"remove",m,M,g,i)):m.nextSibling!==b&&(F(M,"update",m,M,g,i),F(M,"sort",m,M,g,i),v&&v.parentNode.removeChild(v)),t.active&&F(M,"end",m,M,g,i)}M=m=y=b=v=k=D=w=T=Y=t.active=null,this.save()}},handleEvent:function(t){var e=t.type;"dragover"===e?(this._onDrag(t),s(t)):("drop"===e||"dragend"===e)&&this._onDrop(t)},toArray:function(){for(var t,e=[],n=this.el.children,s=0,a=n.length;a>s;s++)t=n[s],i(t,this.options.draggable,this.el)&&e.push(t.getAttribute("data-id")||f(t));return e},sort:function(t){var e={},n=this.el;this.toArray().forEach(function(t,s){var a=n.children[s];i(a,this.options.draggable,n)&&(e[t]=a)},this),t.forEach(function(t){e[t]&&(n.removeChild(e[t]),n.appendChild(e[t]))})},save:function(){var t=this.options.store;t&&t.set(this)},closest:function(t,e){return i(t,e||this.options.draggable,this.el)},option:function(t,e){var n=this.options;return void 0===e?n[t]:void(n[t]=e)},destroy:function(){var t=this.el,e=this.options;W.forEach(function(n){r(t,n.substr(2).toLowerCase(),e[n])}),r(t,"mousedown",this._onTapStart),r(t,"touchstart",this._onTapStart),r(t,"selectstart",this._onTapStart),r(t,"dragover",this._onDragOver),r(t,"dragenter",this._onDragOver),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),N.splice(N.indexOf(this._onDragOver),1),this._onDrop(),this.el=null}},t.utils={on:a,off:r,css:l,find:u,bind:n,is:function(t,e){return!!i(t,e,t)},throttle:_,closest:i,toggleClass:o,dispatchEvent:F,index:p},t.version="1.0.0",t.create=function(e,n){return new t(e,n)},t}),function(t){function e(t,e,n){switch(arguments.length){case 2:return null!=t?t:e;case 3:return null!=t?t:null!=e?e:n;default:throw new Error("Implement me")}}function n(t,e){return De.call(t,e)}function i(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function s(t){Le.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function a(t,e){var n=!0;return p(function(){return n&&(s(t),n=!1),e.apply(this,arguments)},e)}function r(t,e){vn[t]||(s(e),vn[t]=!0)}function o(t,e){return function(n){return g(t.call(this,n),e)}}function l(t,e){return function(n){return this.localeData().ordinal(t.call(this,n),e)}}function u(t,e){var n,i,s=12*(e.year()-t.year())+(e.month()-t.month()),a=t.clone().add(s,"months");return 0>e-a?(n=t.clone().add(s-1,"months"),i=(e-a)/(a-n)):(n=t.clone().add(s+1,"months"),i=(e-a)/(n-a)),-(s+i)}function d(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 c(){}function h(t,e){e!==!1&&E(t),_(this,t),this._d=new Date(+t._d),Ln===!1&&(Ln=!0,Le.updateOffset(this),Ln=!1)}function f(t){var e=k(t),n=e.year||0,i=e.quarter||0,s=e.month||0,a=e.week||0,r=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=+r+7*a,this._months=+s+3*i+12*n,this._data={},this._locale=Le.localeData(),this._bubble()}function p(t,e){for(var i in e)n(e,i)&&(t[i]=e[i]);return n(e,"toString")&&(t.toString=e.toString),n(e,"valueOf")&&(t.valueOf=e.valueOf),t}function _(t,e){var n,i,s;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=e._pf),"undefined"!=typeof e._locale&&(t._locale=e._locale),We.length>0)for(n in We)i=We[n],s=e[i],"undefined"!=typeof s&&(t[i]=s);return t}function m(t){return 0>t?Math.ceil(t):Math.floor(t)}function g(t,e,n){for(var i=""+Math.abs(t),s=t>=0;i.length<e;)i="0"+i;return(s?n?"+":"":"-")+i}function y(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 v(t,e){var n;return e=$(e,t),t.isBefore(e)?n=y(t,e):(n=y(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function M(t,e){return function(n,i){var s,a;return null===i||isNaN(+i)||(r(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),a=n,n=i,i=a),n="string"==typeof n?+n:n,s=Le.duration(n,i),L(this,s,t),this}}function L(t,e,n,i){var s=e._milliseconds,a=e._days,r=e._months;i=null==i?!0:i,s&&t._d.setTime(+t._d+s*n),a&&_e(t,"Date",pe(t,"Date")+a*n),r&&fe(t,pe(t,"Month")+r*n),i&&Le.updateOffset(t,a||r)}function b(t){return"[object Array]"===Object.prototype.toString.call(t)}function w(t){return"[object Date]"===Object.prototype.toString.call(t)||t instanceof Date}function T(t,e,n){var i,s=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),r=0;for(i=0;s>i;i++)(n&&t[i]!==e[i]||!n&&x(t[i])!==x(e[i]))&&r++;return r+a}function Y(t){if(t){var e=t.toLowerCase().replace(/(.)s$/,"$1");t=hn[t]||fn[e]||e}return t}function k(t){var e,i,s={};for(i in t)n(t,i)&&(e=Y(i),e&&(s[e]=t[i]));return s}function D(e){var n,i;if(0===e.indexOf("week"))n=7,i="day";else{if(0!==e.indexOf("month"))return;n=12,i="month"}Le[e]=function(s,a){var r,o,l=Le._locale[e],u=[];if("number"==typeof s&&(a=s,s=t),o=function(t){var e=Le().utc().set(i,t);return l.call(Le._locale,e,s||"")},null!=a)return o(a);for(r=0;n>r;r++)u.push(o(r));return u}}function x(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=e>=0?Math.floor(e):Math.ceil(e)),n}function S(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function C(t,e,n){return ue(Le([t,11,31+e-n]),e,n).week}function j(t){return P(t)?366:365}function P(t){return t%4===0&&t%100!==0||t%400===0}function E(t){var e;t._a&&-2===t._pf.overflow&&(e=t._a[Se]<0||t._a[Se]>11?Se:t._a[Ce]<1||t._a[Ce]>S(t._a[xe],t._a[Se])?Ce:t._a[je]<0||t._a[je]>24||24===t._a[je]&&(0!==t._a[Pe]||0!==t._a[Ee]||0!==t._a[Ae])?je:t._a[Pe]<0||t._a[Pe]>59?Pe:t._a[Ee]<0||t._a[Ee]>59?Ee:t._a[Ae]<0||t._a[Ae]>999?Ae:-1,t._pf._overflowDayOfYear&&(xe>e||e>Ce)&&(e=Ce),t._pf.overflow=e)}function A(e){return null==e._isValid&&(e._isValid=!isNaN(e._d.getTime())&&e._pf.overflow<0&&!e._pf.empty&&!e._pf.invalidMonth&&!e._pf.nullInput&&!e._pf.invalidFormat&&!e._pf.userInvalidated,e._strict&&(e._isValid=e._isValid&&0===e._pf.charsLeftOver&&0===e._pf.unusedTokens.length&&e._pf.bigHour===t)),e._isValid}function F(t){return t?t.toLowerCase().replace("_","-"):t}function W(t){for(var e,n,i,s,a=0;a<t.length;){for(s=F(t[a]).split("-"),e=s.length,n=F(t[a+1]),n=n?n.split("-"):null;e>0;){if(i=O(s.slice(0,e).join("-")))return i;if(n&&n.length>=e&&T(s,n,!0)>=e-1)break;e--}a++}return null}function O(t){var e=null;if(!Fe[t]&&Oe)try{e=Le.locale(),require("./locale/"+t),Le.locale(e)}catch(n){}return Fe[t]}function $(t,e){var n,i;return e._isUTC?(n=e.clone(),i=(Le.isMoment(t)||w(t)?+t:+Le(t))-+n,n._d.setTime(+n._d+i),Le.updateOffset(n,!1),n):Le(t).local()}function H(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function N(t){var e,n,i=t.match(ze);for(e=0,n=i.length;n>e;e++)i[e]=yn[i[e]]?yn[i[e]]:H(i[e]);return function(s){var a="";for(e=0;n>e;e++)a+=i[e]instanceof Function?i[e].call(s,t):i[e];return a}}function z(t,e){return t.isValid()?(e=I(e,t.localeData()),pn[e]||(pn[e]=N(e)),pn[e](t)):t.localeData().invalidDate()}function I(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(Ie.lastIndex=0;i>=0&&Ie.test(t);)t=t.replace(Ie,n),Ie.lastIndex=0,i-=1;return t}function R(t,e){var n,i=e._strict;switch(t){case"Q":return Ke;case"DDDD":return en;case"YYYY":case"GGGG":case"gggg":return i?nn:qe;case"Y":case"G":case"g":return an;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return i?sn:Ue;case"S":if(i)return Ke;case"SS":if(i)return tn;case"SSS":if(i)return en;case"DDD":return Be;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return Je;case"a":case"A":return e._locale._meridiemParse;case"x":return Qe;case"X":return Ze;case"Z":case"ZZ":return Ve;case"T":return Xe;case"SSSS":return Ge;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return i?tn:Re;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return Re;case"Do":return i?e._locale._ordinalParse:e._locale._ordinalParseLenient;default:return n=new RegExp(Z(Q(t.replace("\\","")),"i"))}}function B(t){t=t||"";var e=t.match(Ve)||[],n=e[e.length-1]||[],i=(n+"").match(dn)||["-",0,0],s=+(60*i[1])+x(i[2]);return"+"===i[0]?s:-s}function q(t,e,n){var i,s=n._a;switch(t){case"Q":null!=e&&(s[Se]=3*(x(e)-1));break;case"M":case"MM":null!=e&&(s[Se]=x(e)-1);break;case"MMM":case"MMMM":i=n._locale.monthsParse(e,t,n._strict),null!=i?s[Se]=i:n._pf.invalidMonth=e;break;case"D":case"DD":null!=e&&(s[Ce]=x(e));break;case"Do":null!=e&&(s[Ce]=x(parseInt(e.match(/\d{1,2}/)[0],10)));break;case"DDD":case"DDDD":null!=e&&(n._dayOfYear=x(e));break;case"YY":s[xe]=Le.parseTwoDigitYear(e);break;case"YYYY":case"YYYYY":case"YYYYYY":s[xe]=x(e);break;case"a":case"A":n._meridiem=e;break;case"h":case"hh":n._pf.bigHour=!0;case"H":case"HH":s[je]=x(e);break;case"m":case"mm":s[Pe]=x(e);break;case"s":case"ss":s[Ee]=x(e);break;case"S":case"SS":case"SSS":case"SSSS":s[Ae]=x(1e3*("0."+e));break;case"x":n._d=new Date(x(e));break;case"X":n._d=new Date(1e3*parseFloat(e));break;case"Z":case"ZZ":n._useUTC=!0,n._tzm=B(e);break;case"dd":case"ddd":case"dddd":i=n._locale.weekdaysParse(e),null!=i?(n._w=n._w||{},n._w.d=i):n._pf.invalidWeekday=e;break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":t=t.substr(0,1);case"gggg":case"GGGG":case"GGGGG":t=t.substr(0,2),e&&(n._w=n._w||{},n._w[t]=x(e));break;case"gg":case"GG":n._w=n._w||{},n._w[t]=Le.parseTwoDigitYear(e)}}function U(t){var n,i,s,a,r,o,l;n=t._w,null!=n.GG||null!=n.W||null!=n.E?(r=1,o=4,i=e(n.GG,t._a[xe],ue(Le(),1,4).year),s=e(n.W,1),a=e(n.E,1)):(r=t._locale._week.dow,o=t._locale._week.doy,i=e(n.gg,t._a[xe],ue(Le(),r,o).year),s=e(n.w,1),null!=n.d?(a=n.d,r>a&&++s):a=null!=n.e?n.e+r:r),l=de(i,s,a,o,r),t._a[xe]=l.year,t._dayOfYear=l.dayOfYear}function G(t){var n,i,s,a,r=[];if(!t._d){for(s=V(t),t._w&&null==t._a[Ce]&&null==t._a[Se]&&U(t),t._dayOfYear&&(a=e(t._a[xe],s[xe]),t._dayOfYear>j(a)&&(t._pf._overflowDayOfYear=!0),i=ae(a,0,t._dayOfYear),t._a[Se]=i.getUTCMonth(),t._a[Ce]=i.getUTCDate()),n=0;3>n&&null==t._a[n];++n)t._a[n]=r[n]=s[n];for(;7>n;n++)t._a[n]=r[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[je]&&0===t._a[Pe]&&0===t._a[Ee]&&0===t._a[Ae]&&(t._nextDay=!0,t._a[je]=0),t._d=(t._useUTC?ae:se).apply(null,r),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[je]=24)}}function J(t){var e;t._d||(e=k(t._i),t._a=[e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],G(t))}function V(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function X(e){if(e._f===Le.ISO_8601)return void te(e);e._a=[],e._pf.empty=!0;var n,i,s,a,r,o=""+e._i,l=o.length,u=0;for(s=I(e._f,e._locale).match(ze)||[],n=0;n<s.length;n++)a=s[n],i=(o.match(R(a,e))||[])[0],i&&(r=o.substr(0,o.indexOf(i)),r.length>0&&e._pf.unusedInput.push(r),o=o.slice(o.indexOf(i)+i.length),u+=i.length),yn[a]?(i?e._pf.empty=!1:e._pf.unusedTokens.push(a),q(a,i,e)):e._strict&&!i&&e._pf.unusedTokens.push(a);e._pf.charsLeftOver=l-u,o.length>0&&e._pf.unusedInput.push(o),e._pf.bigHour===!0&&e._a[je]<=12&&(e._pf.bigHour=t),e._a[je]=d(e._locale,e._a[je],e._meridiem),G(e),E(e)}function Q(t){return t.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,s){return e||n||i||s})}function Z(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function K(t){var e,n,s,a,r;if(0===t._f.length)return t._pf.invalidFormat=!0,void(t._d=new Date(0/0));for(a=0;a<t._f.length;a++)r=0,e=_({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._pf=i(),e._f=t._f[a],X(e),A(e)&&(r+=e._pf.charsLeftOver,r+=10*e._pf.unusedTokens.length,e._pf.score=r,(null==s||s>r)&&(s=r,n=e));p(t,n||e)}function te(t){var e,n,i=t._i,s=rn.exec(i);if(s){for(t._pf.iso=!0,e=0,n=ln.length;n>e;e++)if(ln[e][1].exec(i)){t._f=ln[e][0]+(s[6]||" ");break}for(e=0,n=un.length;n>e;e++)if(un[e][1].exec(i)){t._f+=un[e][0];break}i.match(Ve)&&(t._f+="Z"),X(t)}else t._isValid=!1}function ee(t){te(t),t._isValid===!1&&(delete t._isValid,Le.createFromInputFallback(t))}function ne(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function ie(e){var n,i=e._i;i===t?e._d=new Date:w(i)?e._d=new Date(+i):null!==(n=$e.exec(i))?e._d=new Date(+n[1]):"string"==typeof i?ee(e):b(i)?(e._a=ne(i.slice(0),function(t){return parseInt(t,10)}),G(e)):"object"==typeof i?J(e):"number"==typeof i?e._d=new Date(i):Le.createFromInputFallback(e)}function se(t,e,n,i,s,a,r){var o=new Date(t,e,n,i,s,a,r);return 1970>t&&o.setFullYear(t),o}function ae(t){var e=new Date(Date.UTC.apply(null,arguments));return 1970>t&&e.setUTCFullYear(t),e}function re(t,e){if("string"==typeof t)if(isNaN(t)){if(t=e.weekdaysParse(t),"number"!=typeof t)return null}else t=parseInt(t,10);return t}function oe(t,e,n,i,s){return s.relativeTime(e||1,!!n,t,i)}function le(t,e,n){var i=Le.duration(t).abs(),s=ke(i.as("s")),a=ke(i.as("m")),r=ke(i.as("h")),o=ke(i.as("d")),l=ke(i.as("M")),u=ke(i.as("y")),d=s<_n.s&&["s",s]||1===a&&["m"]||a<_n.m&&["mm",a]||1===r&&["h"]||r<_n.h&&["hh",r]||1===o&&["d"]||o<_n.d&&["dd",o]||1===l&&["M"]||l<_n.M&&["MM",l]||1===u&&["y"]||["yy",u];return d[2]=e,d[3]=+t>0,d[4]=n,oe.apply({},d)}function ue(t,e,n){var i,s=n-e,a=n-t.day();return a>s&&(a-=7),s-7>a&&(a+=7),i=Le(t).add(a,"d"),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function de(t,e,n,i,s){var a,r,o=ae(t,0,1).getUTCDay();return o=0===o?7:o,n=null!=n?n:s,a=s-o+(o>i?7:0)-(s>o?7:0),r=7*(e-1)+(n-s)+a+1,{year:r>0?t:t-1,dayOfYear:r>0?r:j(t-1)+r}}function ce(e){var n,i=e._i,s=e._f;return e._locale=e._locale||Le.localeData(e._l),null===i||s===t&&""===i?Le.invalid({nullInput:!0}):("string"==typeof i&&(e._i=i=e._locale.preparse(i)),Le.isMoment(i)?new h(i,!0):(s?b(s)?K(e):X(e):ie(e),n=new h(e),n._nextDay&&(n.add(1,"d"),n._nextDay=t),n))}function he(t,e){var n,i;if(1===e.length&&b(e[0])&&(e=e[0]),!e.length)return Le();for(n=e[0],i=1;i<e.length;++i)e[i][t](n)&&(n=e[i]);return n}function fe(t,e){var n;return"string"==typeof e&&(e=t.localeData().monthsParse(e),"number"!=typeof e)?t:(n=Math.min(t.date(),S(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t)}function pe(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function _e(t,e,n){return"Month"===e?fe(t,n):t._d["set"+(t._isUTC?"UTC":"")+e](n)}function me(t,e){return function(n){return null!=n?(_e(this,t,n),Le.updateOffset(this,e),this):pe(this,t)}}function ge(t){return 400*t/146097}function ye(t){return 146097*t/400}function ve(t){Le.duration.fn[t]=function(){return this._data[t]}}function Me(t){"undefined"==typeof ender&&(be=Ye.moment,Ye.moment=t?a("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",Le):Le)}for(var Le,be,we,Te="2.9.0",Ye="undefined"==typeof global||"undefined"!=typeof window&&window!==global.window?this:global,ke=Math.round,De=Object.prototype.hasOwnProperty,xe=0,Se=1,Ce=2,je=3,Pe=4,Ee=5,Ae=6,Fe={},We=[],Oe="undefined"!=typeof module&&module&&module.exports,$e=/^\/?Date\((\-?\d+)/i,He=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Ne=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,ze=/(\[[^\[]*\])|(\\)?(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,4}|x|X|zz?|ZZ?|.)/g,Ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Re=/\d\d?/,Be=/\d{1,3}/,qe=/\d{1,4}/,Ue=/[+\-]?\d{1,6}/,Ge=/\d+/,Je=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Ve=/Z|[\+\-]\d\d:?\d\d/gi,Xe=/T/i,Qe=/[\+\-]?\d+/,Ze=/[\+\-]?\d+(\.\d{1,3})?/,Ke=/\d/,tn=/\d\d/,en=/\d{3}/,nn=/\d{4}/,sn=/[+-]?\d{6}/,an=/[+-]?\d+/,rn=/^\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)?)?$/,on="YYYY-MM-DDTHH:mm:ssZ",ln=[["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}/]],un=[["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/]],dn=/([\+\-]|\d\d)/gi,cn=("Date|Hours|Minutes|Seconds|Milliseconds".split("|"),{Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6}),hn={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},fn={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},pn={},_n={s:45,m:45,h:22,d:26,M:11},mn="DDD w W M D d".split(" "),gn="M D H h m s w W".split(" "),yn={M:function(){return this.month()+1
|
||
},MMM:function(t){return this.localeData().monthsShort(this,t)},MMMM:function(t){return this.localeData().months(this,t)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(t){return this.localeData().weekdaysMin(this,t)},ddd:function(t){return this.localeData().weekdaysShort(this,t)},dddd:function(t){return this.localeData().weekdays(this,t)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return g(this.year()%100,2)},YYYY:function(){return g(this.year(),4)},YYYYY:function(){return g(this.year(),5)},YYYYYY:function(){var t=this.year(),e=t>=0?"+":"-";return e+g(Math.abs(t),6)},gg:function(){return g(this.weekYear()%100,2)},gggg:function(){return g(this.weekYear(),4)},ggggg:function(){return g(this.weekYear(),5)},GG:function(){return g(this.isoWeekYear()%100,2)},GGGG:function(){return g(this.isoWeekYear(),4)},GGGGG:function(){return g(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return x(this.milliseconds()/100)},SS:function(){return g(x(this.milliseconds()/10),2)},SSS:function(){return g(this.milliseconds(),3)},SSSS:function(){return g(this.milliseconds(),3)},Z:function(){var t=this.utcOffset(),e="+";return 0>t&&(t=-t,e="-"),e+g(x(t/60),2)+":"+g(x(t)%60,2)},ZZ:function(){var t=this.utcOffset(),e="+";return 0>t&&(t=-t,e="-"),e+g(x(t/60),2)+g(x(t)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},x:function(){return this.valueOf()},X:function(){return this.unix()},Q:function(){return this.quarter()}},vn={},Mn=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"],Ln=!1;mn.length;)we=mn.pop(),yn[we+"o"]=l(yn[we],we);for(;gn.length;)we=gn.pop(),yn[we+we]=o(yn[we],2);yn.DDDD=o(yn.DDD,3),p(c.prototype,{set:function(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)},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(t){return this._months[t.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(t){return this._monthsShort[t.month()]},monthsParse:function(t,e,n){var i,s,a;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;12>i;i++){if(s=Le.utc([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(t){return this._weekdays[t.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(t){return this._weekdaysShort[t.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(t){return this._weekdaysMin[t.day()]},weekdaysParse:function(t){var e,n,i;for(this._weekdaysParse||(this._weekdaysParse=[]),e=0;7>e;e++)if(this._weekdaysParse[e]||(n=Le([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},_longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},longDateFormat:function(t){var e=this._longDateFormat[t];return!e&&this._longDateFormat[t.toUpperCase()]&&(e=this._longDateFormat[t.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t]=e),e},isPM:function(t){return"p"===(t+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(t,e,n){var i=this._calendar[t];return"function"==typeof i?i.apply(e,[n]):i},_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"},relativeTime:function(t,e,n,i){var s=this._relativeTime[n];return"function"==typeof s?s(t,e,n,i):s.replace(/%d/i,t)},pastFuture:function(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)},ordinal:function(t){return this._ordinal.replace("%d",t)},_ordinal:"%d",_ordinalParse:/\d{1,2}/,preparse:function(t){return t},postformat:function(t){return t},week:function(t){return ue(t,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},firstDayOfWeek:function(){return this._week.dow},firstDayOfYear:function(){return this._week.doy},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),Le=function(e,n,s,a){var r;return"boolean"==typeof s&&(a=s,s=t),r={},r._isAMomentObject=!0,r._i=e,r._f=n,r._l=s,r._strict=a,r._isUTC=!1,r._pf=i(),ce(r)},Le.suppressDeprecationWarnings=!1,Le.createFromInputFallback=a("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":""))}),Le.min=function(){var t=[].slice.call(arguments,0);return he("isBefore",t)},Le.max=function(){var t=[].slice.call(arguments,0);return he("isAfter",t)},Le.utc=function(e,n,s,a){var r;return"boolean"==typeof s&&(a=s,s=t),r={},r._isAMomentObject=!0,r._useUTC=!0,r._isUTC=!0,r._l=s,r._i=e,r._f=n,r._strict=a,r._pf=i(),ce(r).utc()},Le.unix=function(t){return Le(1e3*t)},Le.duration=function(t,e){var i,s,a,r,o=t,l=null;return Le.isDuration(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(o={},e?o[e]=t:o.milliseconds=t):(l=He.exec(t))?(i="-"===l[1]?-1:1,o={y:0,d:x(l[Ce])*i,h:x(l[je])*i,m:x(l[Pe])*i,s:x(l[Ee])*i,ms:x(l[Ae])*i}):(l=Ne.exec(t))?(i="-"===l[1]?-1:1,a=function(t){var e=t&&parseFloat(t.replace(",","."));return(isNaN(e)?0:e)*i},o={y:a(l[2]),M:a(l[3]),d:a(l[4]),h:a(l[5]),m:a(l[6]),s:a(l[7]),w:a(l[8])}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=v(Le(o.from),Le(o.to)),o={},o.ms=r.milliseconds,o.M=r.months),s=new f(o),Le.isDuration(t)&&n(t,"_locale")&&(s._locale=t._locale),s},Le.version=Te,Le.defaultFormat=on,Le.ISO_8601=function(){},Le.momentProperties=We,Le.updateOffset=function(){},Le.relativeTimeThreshold=function(e,n){return _n[e]===t?!1:n===t?_n[e]:(_n[e]=n,!0)},Le.lang=a("moment.lang is deprecated. Use moment.locale instead.",function(t,e){return Le.locale(t,e)}),Le.locale=function(t,e){var n;return t&&(n="undefined"!=typeof e?Le.defineLocale(t,e):Le.localeData(t),n&&(Le.duration._locale=Le._locale=n)),Le._locale._abbr},Le.defineLocale=function(t,e){return null!==e?(e.abbr=t,Fe[t]||(Fe[t]=new c),Fe[t].set(e),Le.locale(t),Fe[t]):(delete Fe[t],null)},Le.langData=a("moment.langData is deprecated. Use moment.localeData instead.",function(t){return Le.localeData(t)}),Le.localeData=function(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Le._locale;if(!b(t)){if(e=O(t))return e;t=[t]}return W(t)},Le.isMoment=function(t){return t instanceof h||null!=t&&n(t,"_isAMomentObject")},Le.isDuration=function(t){return t instanceof f};for(we=Mn.length-1;we>=0;--we)D(Mn[we]);Le.normalizeUnits=function(t){return Y(t)},Le.invalid=function(t){var e=Le.utc(0/0);return null!=t?p(e._pf,t):e._pf.userInvalidated=!0,e},Le.parseZone=function(){return Le.apply(null,arguments).parseZone()},Le.parseTwoDigitYear=function(t){return x(t)+(x(t)>68?1900:2e3)},Le.isDate=w,p(Le.fn=h.prototype,{clone:function(){return Le(this)},valueOf:function(){return+this._d-6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var t=Le(this).utc();return 0<t.year()&&t.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():z(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):z(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var t=this;return[t.year(),t.month(),t.date(),t.hours(),t.minutes(),t.seconds(),t.milliseconds()]},isValid:function(){return A(this)},isDSTShifted:function(){return this._a?this.isValid()&&T(this._a,(this._isUTC?Le.utc(this._a):Le(this._a)).toArray())>0:!1},parsingFlags:function(){return p({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(t){return this.utcOffset(0,t)},local:function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(this._dateUtcOffset(),"m")),this},format:function(t){var e=z(this,t||Le.defaultFormat);return this.localeData().postformat(e)},add:M(1,"add"),subtract:M(-1,"subtract"),diff:function(t,e,n){var i,s,a=$(t,this),r=6e4*(a.utcOffset()-this.utcOffset());return e=Y(e),"year"===e||"month"===e||"quarter"===e?(s=u(this,a),"quarter"===e?s/=3:"year"===e&&(s/=12)):(i=this-a,s="second"===e?i/1e3:"minute"===e?i/6e4:"hour"===e?i/36e5:"day"===e?(i-r)/864e5:"week"===e?(i-r)/6048e5:i),n?s:m(s)},from:function(t,e){return Le.duration({to:this,from:t}).locale(this.locale()).humanize(!e)},fromNow:function(t){return this.from(Le(),t)},calendar:function(t){var e=t||Le(),n=$(e,this).startOf("day"),i=this.diff(n,"days",!0),s=-6>i?"sameElse":-1>i?"lastWeek":0>i?"lastDay":1>i?"sameDay":2>i?"nextDay":7>i?"nextWeek":"sameElse";return this.format(this.localeData().calendar(s,this,Le(e)))},isLeapYear:function(){return P(this.year())},isDST:function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},day:function(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=re(t,this.localeData()),this.add(t-e,"d")):e},month:me("Month",!0),startOf:function(t){switch(t=Y(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},endOf:function(e){return e=Y(e),e===t||"millisecond"===e?this:this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms")},isAfter:function(t,e){var n;return e=Y("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=Le.isMoment(t)?t:Le(t),+this>+t):(n=Le.isMoment(t)?+t:+Le(t),n<+this.clone().startOf(e))},isBefore:function(t,e){var n;return e=Y("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=Le.isMoment(t)?t:Le(t),+t>+this):(n=Le.isMoment(t)?+t:+Le(t),+this.clone().endOf(e)<n)},isBetween:function(t,e,n){return this.isAfter(t,n)&&this.isBefore(e,n)},isSame:function(t,e){var n;return e=Y(e||"millisecond"),"millisecond"===e?(t=Le.isMoment(t)?t:Le(t),+this===+t):(n=+Le(t),+this.clone().startOf(e)<=n&&n<=+this.clone().endOf(e))},min:a("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(t){return t=Le.apply(null,arguments),this>t?this:t}),max:a("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(t){return t=Le.apply(null,arguments),t>this?this:t}),zone:a("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),utcOffset:function(t,e){var n,i=this._offset||0;return null!=t?("string"==typeof t&&(t=B(t)),Math.abs(t)<16&&(t=60*t),!this._isUTC&&e&&(n=this._dateUtcOffset()),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==t&&(!e||this._changeInProgress?L(this,Le.duration(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,Le.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:this._dateUtcOffset()},isLocal:function(){return!this._isUTC},isUtcOffset:function(){return this._isUTC},isUtc:function(){return this._isUTC&&0===this._offset},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(B(this._i)),this},hasAlignedHourOffset:function(t){return t=t?Le(t).utcOffset():0,(this.utcOffset()-t)%60===0},daysInMonth:function(){return S(this.year(),this.month())},dayOfYear:function(t){var e=ke((Le(this).startOf("day")-Le(this).startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},quarter:function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},weekYear:function(t){var e=ue(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==t?e:this.add(t-e,"y")},isoWeekYear:function(t){var e=ue(this,1,4).year;return null==t?e:this.add(t-e,"y")},week:function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},isoWeek:function(t){var e=ue(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},weekday:function(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},isoWeekday:function(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)},isoWeeksInYear:function(){return C(this.year(),1,4)},weeksInYear:function(){var t=this.localeData()._week;return C(this.year(),t.dow,t.doy)},get:function(t){return t=Y(t),this[t]()},set:function(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else t=Y(t),"function"==typeof this[t]&&this[t](e);return this},locale:function(e){var n;return e===t?this._locale._abbr:(n=Le.localeData(e),null!=n&&(this._locale=n),this)},lang:a("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===t?this.localeData():this.locale(e)}),localeData:function(){return this._locale},_dateUtcOffset:function(){return 15*-Math.round(this._d.getTimezoneOffset()/15)}}),Le.fn.millisecond=Le.fn.milliseconds=me("Milliseconds",!1),Le.fn.second=Le.fn.seconds=me("Seconds",!1),Le.fn.minute=Le.fn.minutes=me("Minutes",!1),Le.fn.hour=Le.fn.hours=me("Hours",!0),Le.fn.date=me("Date",!0),Le.fn.dates=a("dates accessor is deprecated. Use date instead.",me("Date",!0)),Le.fn.year=me("FullYear",!0),Le.fn.years=a("years accessor is deprecated. Use year instead.",me("FullYear",!0)),Le.fn.days=Le.fn.day,Le.fn.months=Le.fn.month,Le.fn.weeks=Le.fn.week,Le.fn.isoWeeks=Le.fn.isoWeek,Le.fn.quarters=Le.fn.quarter,Le.fn.toJSON=Le.fn.toISOString,Le.fn.isUTC=Le.fn.isUtc,p(Le.duration.fn=f.prototype,{_bubble:function(){var t,e,n,i=this._milliseconds,s=this._days,a=this._months,r=this._data,o=0;r.milliseconds=i%1e3,t=m(i/1e3),r.seconds=t%60,e=m(t/60),r.minutes=e%60,n=m(e/60),r.hours=n%24,s+=m(n/24),o=m(ge(s)),s-=m(ye(o)),a+=m(s/30),s%=30,o+=m(a/12),a%=12,r.days=s,r.months=a,r.years=o},abs:function(){return this._milliseconds=Math.abs(this._milliseconds),this._days=Math.abs(this._days),this._months=Math.abs(this._months),this._data.milliseconds=Math.abs(this._data.milliseconds),this._data.seconds=Math.abs(this._data.seconds),this._data.minutes=Math.abs(this._data.minutes),this._data.hours=Math.abs(this._data.hours),this._data.months=Math.abs(this._data.months),this._data.years=Math.abs(this._data.years),this},weeks:function(){return m(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12)},humanize:function(t){var e=le(this,!t,this.localeData());return t&&(e=this.localeData().pastFuture(+this,e)),this.localeData().postformat(e)},add:function(t,e){var n=Le.duration(t,e);return this._milliseconds+=n._milliseconds,this._days+=n._days,this._months+=n._months,this._bubble(),this},subtract:function(t,e){var n=Le.duration(t,e);return this._milliseconds-=n._milliseconds,this._days-=n._days,this._months-=n._months,this._bubble(),this},get:function(t){return t=Y(t),this[t.toLowerCase()+"s"]()},as:function(t){var e,n;if(t=Y(t),"month"===t||"year"===t)return e=this._days+this._milliseconds/864e5,n=this._months+12*ge(e),"month"===t?n:n/12;switch(e=this._days+Math.round(ye(this._months/12)),t){case"week":return e/7+this._milliseconds/6048e5;case"day":return e+this._milliseconds/864e5;case"hour":return 24*e+this._milliseconds/36e5;case"minute":return 24*e*60+this._milliseconds/6e4;case"second":return 24*e*60*60+this._milliseconds/1e3;case"millisecond":return Math.floor(24*e*60*60*1e3)+this._milliseconds;default:throw new Error("Unknown unit "+t)}},lang:Le.fn.lang,locale:Le.fn.locale,toIsoString:a("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){return this.toISOString()}),toISOString:function(){var t=Math.abs(this.years()),e=Math.abs(this.months()),n=Math.abs(this.days()),i=Math.abs(this.hours()),s=Math.abs(this.minutes()),a=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(t?t+"Y":"")+(e?e+"M":"")+(n?n+"D":"")+(i||s||a?"T":"")+(i?i+"H":"")+(s?s+"M":"")+(a?a+"S":""):"P0D"},localeData:function(){return this._locale},toJSON:function(){return this.toISOString()}}),Le.duration.fn.toString=Le.duration.fn.toISOString;for(we in cn)n(cn,we)&&ve(we.toLowerCase());Le.duration.fn.asMilliseconds=function(){return this.as("ms")},Le.duration.fn.asSeconds=function(){return this.as("s")},Le.duration.fn.asMinutes=function(){return this.as("m")},Le.duration.fn.asHours=function(){return this.as("h")},Le.duration.fn.asDays=function(){return this.as("d")},Le.duration.fn.asWeeks=function(){return this.as("weeks")},Le.duration.fn.asMonths=function(){return this.as("M")},Le.duration.fn.asYears=function(){return this.as("y")},Le.locale("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===x(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),function(t){t(Le)}(function(t){return t.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:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){return t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};return t.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 LT",LLLL:"dddd D MMMM YYYY LT"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t){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 n[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}),function(t){t(Le)}(function(t){return t.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&10>=t%100?3:t%100>=11?4:5},s={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(t){return function(e,n){var a=i(e),r=s[t][i(e)];return 2===a&&(r=r[n?0:1]),r.replace(/%d/i,e)}},r=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"];return t.defineLocale("ar",{months:r,monthsShort:r,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 LT",LLLL:"dddd D MMMM YYYY LT"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t){return 12>t?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return n[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}),function(t){t(Le)}(function(t){var e={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ı"};return t.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:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},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){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 n=t%10,i=t%100-n,s=t>=100?100:null;return t+(e[n]||e[i]||e[s])},week:{dow:1,doy:7}})}),function(t){t(Le)}(function(t){function e(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 n(t,n,i){var s={mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===i?n?"хвіліна":"хвіліну":"h"===i?n?"гадзіна":"гадзіну":t+" "+e(s[i],+t)}function i(t,e){var n={nominative:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_"),accusative:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_")},i=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function s(t,e){var n={nominative:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),accusative:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_")},i=/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/.test(e)?"accusative":"nominative";return n[i][t.day()]}return t.defineLocale("be",{months:i,monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:s,weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., LT",LLLL:"dddd, D MMMM YYYY г., LT"},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:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t){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}})}),function(t){t(Le)}(function(t){return t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};return t.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, LT",LLLL:"dddd, D MMMM YYYY, LT"},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 n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/রাত|শকাল|দুপুর|বিকেল|রাত/,isPM:function(t){return/^(দুপুর|বিকেল|রাত)$/.test(t)},meridiem:function(t){return 4>t?"রাত":10>t?"শকাল":17>t?"দুপুর":20>t?"বিকেল":"রাত"},week:{dow:0,doy:6}})}),function(t){t(Le)}(function(t){var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};return t.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},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 n[t]
|
||
})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,isPM:function(t){return/^(ཉིན་གུང|དགོང་དག|མཚན་མོ)$/.test(t)},meridiem:function(t){return 4>t?"མཚན་མོ":10>t?"ཞོགས་ཀས":17>t?"ཉིན་གུང":20>t?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}),function(t){t(Le)}(function(e){function n(t,e,n){var i={mm:"munutenn",MM:"miz",dd:"devezh"};return t+" "+a(i[n],t)}function i(t){switch(s(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}function s(t){return t>9?s(t%10):t}function a(t,e){return 2===e?r(t):t}function r(e){var n={m:"v",b:"v",d:"z"};return n[e.charAt(0)]===t?e:n[e.charAt(0)]+e.substring(1)}return e.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 LT",LLLL:"dddd, D [a viz] MMMM YYYY LT"},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:n,h:"un eur",hh:"%d eur",d:"un devezh",dd:n,M:"ur miz",MM:n,y:"ur bloaz",yy:i},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){var e=1===t?"añ":"vet";return t+e},week:{dow:1,doy:4}})}),function(t){t(Le)}(function(t){function e(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"}}return t.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:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},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:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}),function(t){t(Le)}(function(t){return t.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 LT",LLLL:"dddd D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){function e(t){return t>1&&5>t&&1!==~~(t/10)}function n(t,n,i,s){var a=t+" ";switch(i){case"s":return n||s?"pár sekund":"pár sekundami";case"m":return n?"minuta":s?"minutu":"minutou";case"mm":return n||s?a+(e(t)?"minuty":"minut"):a+"minutami";case"h":return n?"hodina":s?"hodinu":"hodinou";case"hh":return n||s?a+(e(t)?"hodiny":"hodin"):a+"hodinami";case"d":return n||s?"den":"dnem";case"dd":return n||s?a+(e(t)?"dny":"dní"):a+"dny";case"M":return n||s?"měsíc":"měsícem";case"MM":return n||s?a+(e(t)?"měsíce":"měsíců"):a+"měsíci";case"y":return n||s?"rok":"rokem";case"yy":return n||s?a+(e(t)?"roky":"let"):a+"lety"}}var i="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),s="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");return t.defineLocale("cs",{months:i,monthsShort:s,monthsParse:function(t,e){var n,i=[];for(n=0;12>n;n++)i[n]=new RegExp("^"+t[n]+"$|^"+e[n]+"$","i");return i}(i,s),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:"LT:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd D. MMMM YYYY LT"},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:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}),function(t){t(Le)}(function(t){return t.defineLocale("cv",{months:"кăрлач_нарăс_пуш_ака_май_çĕртме_утă_çурла_авăн_юпа_чӳк_раштав".split("_"),monthsShort:"кăр_нар_пуш_ака_май_çĕр_утă_çур_ав_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кĕçнерникун_эрнекун_шăматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кĕç_эрн_шăм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кç_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD-MM-YYYY",LL:"YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ]",LLL:"YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ], LT",LLLL:"dddd, YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ], LT"},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}})}),function(t){t(Le)}(function(t){return t.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:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){return t.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:"LT:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd [d.] D. MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){function e(t,e,n){var i={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?i[n][0]:i[n][1]}return t.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 LT",LLLL:"dddd, D. MMMM YYYY LT"},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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}),function(t){t(Le)}(function(t){function e(t,e,n){var i={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?i[n][0]:i[n][1]}return t.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 LT",LLLL:"dddd, D. MMMM YYYY LT"},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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}),function(t){t(Le)}(function(t){return t.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 LT",LLLL:"dddd, D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){return t.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 LT",LLLL:"dddd, D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){return t.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 LT",LLLL:"dddd, D MMMM, YYYY LT"},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}})}),function(t){t(Le)}(function(t){return t.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 LT",LLLL:"dddd, D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){return t.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:"LT:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY LT",LLLL:"dddd, [la] D[-an de] MMMM, YYYY LT"},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}})}),function(t){t(Le)}(function(t){var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");return t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return/-MMM-/.test(i)?n[t.month()]:e[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:"LT:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY LT",LLLL:"dddd, D [de] MMMM [de] YYYY LT"},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}})}),function(t){t(Le)}(function(t){function e(t,e,n,i){var s={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?s[n][2]?s[n][2]:s[n][1]:i?s[n][0]:s[n][1]}return t.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:"LT:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},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:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}),function(t){t(Le)}(function(t){return t.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:"LT:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] LT",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] LT",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] LT",llll:"ddd, YYYY[ko] MMM D[a] LT"},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}})}),function(t){t(Le)}(function(t){var e={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};return t.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(t){return/بعد از ظهر/.test(t)},meridiem:function(t){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 n[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}),function(t){t(Le)}(function(t){function e(t,e,i,s){var a="";switch(i){case"s":return s?"muutaman sekunnin":"muutama sekunti";case"m":return s?"minuutin":"minuutti";case"mm":a=s?"minuutin":"minuuttia";break;case"h":return s?"tunnin":"tunti";case"hh":a=s?"tunnin":"tuntia";break;case"d":return s?"päivän":"päivä";case"dd":a=s?"päivän":"päivää";break;case"M":return s?"kuukauden":"kuukausi";case"MM":a=s?"kuukauden":"kuukautta";break;case"y":return s?"vuoden":"vuosi";case"yy":a=s?"vuoden":"vuotta"}return a=n(t,s)+" "+a}function n(t,e){return 10>t?e?s[t]:i[t]:t}var i="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),s=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",i[7],i[8],i[9]];return t.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] LT",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] LT",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] LT",llll:"ddd, Do MMM YYYY, [klo] LT"},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:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}),function(t){t(Le)}(function(t){return t.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:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D. MMMM, YYYY LT"},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}})}),function(t){t(Le)}(function(t){return t.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:"LT:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},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":"")}})}),function(t){t(Le)}(function(t){return t.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:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");return t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,i){return/-MMM-/.test(i)?n[t.month()]:e[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:"LT:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){return t.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:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){return t.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY LT",LLLL:"dddd, D [ב]MMMM YYYY LT",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY LT",llll:"ddd, D MMM YYYY LT"},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+" שנים"}}})}),function(t){t(Le)}(function(t){var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return t.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, LT",LLLL:"dddd, D MMMM YYYY, LT"},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 n[t]
|
||
})},postformat:function(t){return t.replace(/\d/g,function(t){return e[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){return 4>t?"रात":10>t?"सुबह":17>t?"दोपहर":20>t?"शाम":"रात"},week:{dow:0,doy:6}})}),function(t){t(Le)}(function(t){function e(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"}}return t.defineLocale("hr",{months:"sječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),monthsShort:"sje._vel._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:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},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:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}),function(t){t(Le)}(function(t){function e(t,e,n,i){var s=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 s+(i||e?" perc":" perce");case"h":return"egy"+(i||e?" óra":" órája");case"hh":return s+(i||e?" óra":" órája");case"d":return"egy"+(i||e?" nap":" napja");case"dd":return s+(i||e?" nap":" napja");case"M":return"egy"+(i||e?" hónap":" hónapja");case"MM":return s+(i||e?" hónap":" hónapja");case"y":return"egy"+(i||e?" év":" éve");case"yy":return s+(i||e?" év":" éve")}return""}function n(t){return(t?"":"[múlt] ")+"["+i[this.day()]+"] LT[-kor]"}var i="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");return t.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:"LT:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D., LT",LLLL:"YYYY. MMMM D., dddd LT"},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 n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}),function(t){t(Le)}(function(t){function e(t,e){var n={nominative:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_"),accusative:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_")},i=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function n(t){var e="հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_");return e[t.month()]}function i(t){var e="կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_");return e[t.day()]}return t.defineLocale("hy-am",{months:e,monthsShort:n,weekdays:i,weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., LT",LLLL:"dddd, D MMMM YYYY թ., LT"},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}})}),function(t){t(Le)}(function(t){return t.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:"LT.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] LT",LLLL:"dddd, D MMMM YYYY [pukul] LT"},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){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}})}),function(t){t(Le)}(function(t){function e(t){return t%100===11?!0:t%10===1?!1:!0}function n(t,n,i,s){var a=t+" ";switch(i){case"s":return n||s?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return n?"mínúta":"mínútu";case"mm":return e(t)?a+(n||s?"mínútur":"mínútum"):n?a+"mínúta":a+"mínútu";case"hh":return e(t)?a+(n||s?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return n?"dagur":s?"dag":"degi";case"dd":return e(t)?n?a+"dagar":a+(s?"daga":"dögum"):n?a+"dagur":a+(s?"dag":"degi");case"M":return n?"mánuður":s?"mánuð":"mánuði";case"MM":return e(t)?n?a+"mánuðir":a+(s?"mánuði":"mánuðum"):n?a+"mánuður":a+(s?"mánuð":"mánuði");case"y":return n||s?"ár":"ári";case"yy":return e(t)?a+(n||s?"ár":"árum"):a+(n||s?"ár":"ári")}}return t.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:"LT:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] LT",LLLL:"dddd, D. MMMM YYYY [kl.] LT"},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:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}),function(t){t(Le)}(function(t){return t.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:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){return t.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:"LTs秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日LT",LLLL:"YYYY年M月D日LT dddd"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t){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年"}})}),function(t){t(Le)}(function(t){function e(t,e){var n={nominative:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),accusative:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},i=/D[oD] *MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function n(t,e){var n={nominative:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),accusative:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_")},i=/(წინა|შემდეგ)/.test(e)?"accusative":"nominative";return n[i][t.day()]}return t.defineLocale("ka",{months:e,monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:n,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 LT",LLLL:"dddd, D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){return t.defineLocale("km",{months:"មករា_កុម្ភៈ_មិនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មិនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){return t.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일 LT",LLLL:"YYYY년 MMMM D일 dddd LT"},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){return 12>t?"오전":"오후"}})}),function(t){t(Le)}(function(t){function e(t,e,n){var i={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?i[n][0]:i[n][1]}function n(t){var e=t.substr(0,t.indexOf(" "));return s(e)?"a "+t:"an "+t}function i(t){var e=t.substr(0,t.indexOf(" "));return s(e)?"viru "+t:"virun "+t}function s(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 s(0===e?n:e)}if(1e4>t){for(;t>=10;)t/=10;return s(t)}return t/=1e3,s(t)}return t.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 LT",LLLL:"dddd, D. MMMM YYYY LT"},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:n,past:i,s:"e puer Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}),function(t){t(Le)}(function(t){function e(t,e,n,i){return e?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"}function n(t,e,n,i){return e?s(n)[0]:i?s(n)[1]:s(n)[2]}function i(t){return t%10===0||t>10&&20>t}function s(t){return o[t].split("_")}function a(t,e,a,r){var o=t+" ";return 1===t?o+n(t,e,a[0],r):e?o+(i(t)?s(a)[1]:s(a)[0]):r?o+s(a)[1]:o+(i(t)?s(a)[1]:s(a)[2])}function r(t,e){var n=-1===e.indexOf("dddd HH:mm"),i=l[t.day()];return n?i:i.substring(0,i.length-2)+"į"}var o={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"},l="sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_");return t.defineLocale("lt",{months:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:r,weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], LT [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, LT [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], LT [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, LT [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:e,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},ordinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}),function(t){t(Le)}(function(t){function e(t,e,n){var i=t.split("_");return n?e%10===1&&11!==e?i[2]:i[3]:e%10===1&&11!==e?i[0]:i[1]}function n(t,n,s){return t+" "+e(i[s],t,n)}var i={mm:"minūti_minūtes_minūte_minūtes",hh:"stundu_stundas_stunda_stundas",dd:"dienu_dienas_diena_dienas",MM:"mēnesi_mēnešus_mēnesis_mēneši",yy:"gadu_gadus_gads_gadi"};return t.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:"LT:ss",L:"DD.MM.YYYY",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, LT",LLLL:"YYYY. [gada] D. MMMM, dddd, LT"},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:"%s vēlāk",past:"%s agrāk",s:"dažas sekundes",m:"minūti",mm:n,h:"stundu",hh:n,d:"dienu",dd:n,M:"mēnesi",MM:n,y:"gadu",yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}),function(t){t(Le)}(function(t){return t.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){return t.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, LT",LLLL:"dddd, D MMMM YYYY, LT"},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){return 4>t?"രാത്രി":12>t?"രാവിലെ":17>t?"ഉച്ച കഴിഞ്ഞ്":20>t?"വൈകുന്നേരം":"രാത്രി"}})}),function(t){t(Le)}(function(t){var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return t.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, LT",LLLL:"dddd, D MMMM YYYY, LT"},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 n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[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){return 4>t?"रात्री":10>t?"सकाळी":17>t?"दुपारी":20>t?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}),function(t){t(Le)}(function(t){return t.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:"LT.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] LT",LLLL:"dddd, D MMMM YYYY [pukul] LT"},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){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}})}),function(t){t(Le)}(function(t){var e={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};return t.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 LT",LLLL:"dddd D MMMM YYYY LT"},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 n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}),function(t){t(Le)}(function(t){return t.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:"LT.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] LT",LLLL:"dddd D. MMMM YYYY [kl.] LT"},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}})}),function(t){t(Le)}(function(t){var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return t.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, LT",LLLL:"dddd, D MMMM YYYY, LT"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[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){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}})}),function(t){t(Le)}(function(t){var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_");return t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return/-MMM-/.test(i)?n[t.month()]:e[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:"LT:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){return t.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:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){function e(t){return 5>t%10&&t%10>1&&~~(t/10)%10!==1}function n(t,n,i){var s=t+" ";switch(i){case"m":return n?"minuta":"minutę";case"mm":return s+(e(t)?"minuty":"minut");case"h":return n?"godzina":"godzinę";case"hh":return s+(e(t)?"godziny":"godzin");case"MM":return s+(e(t)?"miesiące":"miesięcy");case"yy":return s+(e(t)?"lata":"lat")}}var i="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),s="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");return t.defineLocale("pl",{months:function(t,e){return/D MMMM/.test(e)?s[t.month()]:i[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:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},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:n,mm:n,h:n,hh:n,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:n,y:"rok",yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}),function(t){t(Le)}(function(t){return t.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:"LT:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] LT",LLLL:"dddd, D [de] MMMM [de] YYYY [às] LT"},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:"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º"})}),function(t){t(Le)}(function(t){return t.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:"LT:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY LT",LLLL:"dddd, D [de] MMMM [de] YYYY LT"},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}})}),function(t){t(Le)}(function(t){function e(t,e,n){var i={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},s=" ";return(t%100>=20||t>=100&&t%100===0)&&(s=" de "),t+s+i[n]}return t.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:"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:"[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:e,h:"o oră",hh:e,d:"o zi",dd:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}),function(t){t(Le)}(function(t){function e(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 n(t,n,i){var s={mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===i?n?"минута":"минуту":t+" "+e(s[i],+t)}function i(t,e){var n={nominative:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),accusative:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_")},i=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function s(t,e){var n={nominative:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),accusative:"янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек".split("_")},i=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function a(t,e){var n={nominative:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),accusative:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_")},i=/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/.test(e)?"accusative":"nominative";return n[i][t.day()]}return t.defineLocale("ru",{months:i,monthsShort:s,weekdays:a,weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[й|я]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., LT",LLLL:"dddd, D MMMM YYYY г., LT"},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:n,mm:n,h:"час",hh:n,d:"день",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t){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}})}),function(t){t(Le)}(function(t){function e(t){return t>1&&5>t}function n(t,n,i,s){var a=t+" ";switch(i){case"s":return n||s?"pár sekúnd":"pár sekundami";case"m":return n?"minúta":s?"minútu":"minútou";case"mm":return n||s?a+(e(t)?"minúty":"minút"):a+"minútami";case"h":return n?"hodina":s?"hodinu":"hodinou";case"hh":return n||s?a+(e(t)?"hodiny":"hodín"):a+"hodinami";case"d":return n||s?"deň":"dňom";case"dd":return n||s?a+(e(t)?"dni":"dní"):a+"dňami";case"M":return n||s?"mesiac":"mesiacom";case"MM":return n||s?a+(e(t)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return n||s?"rok":"rokom";case"yy":return n||s?a+(e(t)?"roky":"rokov"):a+"rokmi"}}var i="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),s="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");return t.defineLocale("sk",{months:i,monthsShort:s,monthsParse:function(t,e){var n,i=[];for(n=0;12>n;n++)i[n]=new RegExp("^"+t[n]+"$|^"+e[n]+"$","i");return i}(i,s),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:"LT:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd D. MMMM YYYY LT"},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:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}),function(t){t(Le)}(function(t){function e(t,e,n){var i=t+" ";switch(n){case"m":return e?"ena minuta":"eno minuto";case"mm":return i+=1===t?"minuta":2===t?"minuti":3===t||4===t?"minute":"minut";case"h":return e?"ena ura":"eno uro";case"hh":return i+=1===t?"ura":2===t?"uri":3===t||4===t?"ure":"ur";case"dd":return i+=1===t?"dan":"dni";case"MM":return i+=1===t?"mesec":2===t?"meseca":3===t||4===t?"mesece":"mesecev";case"yy":return i+=1===t?"leto":2===t?"leti":3===t||4===t?"leta":"let"}}return t.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:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},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:case 3:case 6:return"[prejšnja] dddd [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"%s nazaj",s:"nekaj sekund",m:e,mm:e,h:e,hh:e,d:"en dan",dd:e,M:"en mesec",MM:e,y:"eno leto",yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}),function(t){t(Le)}(function(t){return t.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){return 12>t?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){var e={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,n,i){var s=e.words[i];return 1===i.length?n?s[0]:s[1]:t+" "+e.correctGrammaticalCase(t,s)}};return t.defineLocale("sr-cyrl",{months:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"],monthsShort:["јан.","феб.","мар.","апр.","мај","јун","јул","авг.","сеп.","окт.","нов.","дец."],weekdays:["недеља","понедељак","уторак","среда","четвртак","петак","субота"],weekdaysShort:["нед.","пон.","уто.","сре.","чет.","пет.","суб."],weekdaysMin:["не","по","ут","ср","че","пе","су"],longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},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:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"дан",dd:e.translate,M:"месец",MM:e.translate,y:"годину",yy:e.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}),function(t){t(Le)}(function(t){var e={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,n,i){var s=e.words[i];return 1===i.length?n?s[0]:s[1]:t+" "+e.correctGrammaticalCase(t,s)}};return t.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:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},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:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}),function(t){t(Le)}(function(t){return t.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:"LT:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"dddd LT",lastWeek:"[Förra] dddd[en] 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}})}),function(t){t(Le)}(function(t){return t.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},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){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}})}),function(t){t(Le)}(function(t){return t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา".split("_"),weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),longDateFormat:{LT:"H นาฬิกา m นาที",LTS:"LT s วินาที",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา LT",LLLL:"วันddddที่ D MMMM YYYY เวลา LT"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t){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 ปี"}})}),function(t){t(Le)}(function(t){return t.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:"LT:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM DD, YYYY LT"},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}})}),function(t){t(Le)}(function(t){var e={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ı"};return t.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:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},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 n=t%10,i=t%100-n,s=t>=100?100:null;return t+(e[n]||e[i]||e[s])},week:{dow:1,doy:7}})}),function(t){t(Le)}(function(t){return t.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:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){return t.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){function e(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 n(t,n,i){var s={mm:"хвилина_хвилини_хвилин",hh:"година_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===i?n?"хвилина":"хвилину":"h"===i?n?"година":"годину":t+" "+e(s[i],+t)}function i(t,e){var n={nominative:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),accusative:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_")},i=/D[oD]? *MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function s(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 a(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}return t.defineLocale("uk",{months:i,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:s,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., LT",LLLL:"dddd, D MMMM YYYY р., LT"},calendar:{sameDay:a("[Сьогодні "),nextDay:a("[Завтра "),lastDay:a("[Вчора "),nextWeek:a("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return a("[Минулої] dddd [").call(this);case 1:case 2:case 4:return a("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t){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}})}),function(t){t(Le)}(function(t){return t.defineLocale("uz",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"D MMMM YYYY, dddd LT"},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}})}),function(t){t(Le)}(function(t){return t.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:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY LT",LLLL:"dddd, D MMMM [năm] YYYY LT",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY LT",llll:"ddd, D MMM YYYY LT"},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}})}),function(t){t(Le)}(function(t){return t.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日LT",LLLL:"YYYY年MMMD日ddddLT",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日LT",llll:"YYYY年MMMD日ddddLT"},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){var n=100*t+e;return 600>n?"凌晨":900>n?"早上":1130>n?"上午":1230>n?"中午":1800>n?"下午":"晚上"},calendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var e,n;return e=t().startOf("week"),n=this.unix()-e.unix()>=604800?"[下]":"[本]",0===this.minutes()?n+"dddAh点整":n+"dddAh点mm"},lastWeek:function(){var e,n;return e=t().startOf("week"),n=this.unix()<e.unix()?"[上]":"[本]",0===this.minutes()?n+"dddAh点整":n+"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}})}),function(t){t(Le)}(function(t){return t.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日LT",LLLL:"YYYY年MMMD日ddddLT",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日LT",llll:"YYYY年MMMD日ddddLT"},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){var n=100*t+e;return 900>n?"早上":1130>n?"上午":1230>n?"中午":1800>n?"下午":"晚上"},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年"}})}),Le.locale("en"),Oe?module.exports=Le:"function"==typeof define&&define.amd?(define(function(t,e,n){return n.config&&n.config()&&n.config().noGlobal===!0&&(Ye.moment=be),Le}),Me(!0)):Me()}.call(this),function(t,e){var n=1e3,i=!1,s=t([]),a=function(){l.resume()},r=function(n,i){var a=n.data("livestampdata");if("number"==typeof i&&(i*=1e3),n.removeAttr("data-livestamp").removeData("livestamp"),i=e(i),e.isMoment(i)&&!isNaN(+i)){var r=t.extend({},{original:n.contents()},a);r.moment=e(i),n.data("livestampdata",r).empty(),s.push(n[0])}},o=function(){i||(l.update(),setTimeout(o,n))},l={update:function(){t("[data-livestamp]").each(function(){var e=t(this);r(e,e.data("livestamp"))});var n=[];s.each(function(){var i=t(this),s=i.data("livestampdata");if(void 0===s)n.push(this);else if(e.isMoment(s.moment)){var a=i.html(),r=s.moment.fromNow();if(a!=r){var o=t.Event("change.livestamp");i.trigger(o,[a,r]),o.isDefaultPrevented()||i.html(r)}}}),s=s.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(){r(t(this),i)}),l.update()),n},destroy:function(e){return s=s.not(e),e.each(function(){var n=t(this),i=n.data("livestampdata");return void 0===i?e:void n.html(i.original?i.original:"").removeData("livestampdata")}),e},isLivestamp:function(t){return void 0!==t.data("livestampdata")}};t.livestamp=l,t(a),t.fn.livestamp=function(t,e){return u[t]||(e=t,t="add"),u[t](this,e)}}(jQuery,moment),jQuery&&function(t){function e(e,n){var i=t('<div class="minicolors" />'),s=t.minicolors.defaults;e.data("minicolors-initialized")||(n=t.extend(!0,{},s,n),i.addClass("minicolors-theme-"+n.theme).toggleClass("minicolors-with-opacity",n.opacity).toggleClass("minicolors-no-data-uris",n.dataUris!==!0),void 0!==n.position&&t.each(n.position.split(" "),function(){i.addClass("minicolors-position-"+this)}),e.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",n).prop("size",7).wrap(i).after('<div class="minicolors-panel minicolors-slider-'+n.control+'"><div class="minicolors-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-opacity-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-grid minicolors-sprite"><div class="minicolors-grid-inner"></div><div class="minicolors-picker"><div></div></div></div></div>'),n.inline||(e.after('<span class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></span>'),e.next(".minicolors-swatch").on("click",function(t){t.preventDefault(),e.focus()})),e.parent().find(".minicolors-panel").on("selectstart",function(){return!1}).end(),n.inline&&e.parent().addClass("minicolors-inline"),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")||(s(),e.addClass("minicolors-focus"),n.stop(!0,!0).fadeIn(i.showSpeed,function(){i.show&&i.show.call(t.get(0))}))}function s(){t(".minicolors-focus").each(function(){var e=t(this),n=e.find(".minicolors-input"),i=e.find(".minicolors-panel"),s=n.data("minicolors-settings");i.fadeOut(s.hideSpeed,function(){s.hide&&s.hide.call(n.get(0)),e.removeClass("minicolors-focus")})})}function a(t,e,n){var i,s,a,o,l=t.parents(".minicolors").find(".minicolors-input"),u=l.data("minicolors-settings"),d=t.find("[class$=-picker]"),c=t.offset().left,h=t.offset().top,f=Math.round(e.pageX-c),p=Math.round(e.pageY-h),_=n?u.animationSpeed:0;e.originalEvent.changedTouches&&(f=e.originalEvent.changedTouches[0].pageX-c,p=e.originalEvent.changedTouches[0].pageY-h),0>f&&(f=0),0>p&&(p=0),f>t.width()&&(f=t.width()),p>t.height()&&(p=t.height()),t.parent().is(".minicolors-slider-wheel")&&d.parent().is(".minicolors-grid")&&(i=75-f,s=75-p,a=Math.sqrt(i*i+s*s),o=Math.atan2(s,i),0>o&&(o+=2*Math.PI),a>75&&(a=75,f=75-75*Math.cos(o),p=75-75*Math.sin(o)),f=Math.round(f),p=Math.round(p)),t.is(".minicolors-grid")?d.stop(!0).animate({top:p+"px",left:f+"px"},_,u.animationEasing,function(){r(l,t)}):d.stop(!0).animate({top:p+"px"},_,u.animationEasing,function(){r(l,t)})}function r(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,s,a,r,o,u,d,h=t.val(),p=t.attr("data-opacity"),_=t.parent(),g=t.data("minicolors-settings"),y=_.find(".minicolors-swatch"),v=_.find(".minicolors-grid"),M=_.find(".minicolors-slider"),L=_.find(".minicolors-opacity-slider"),b=v.find("[class$=-picker]"),w=M.find("[class$=-picker]"),T=L.find("[class$=-picker]"),Y=n(b,v),k=n(w,M),D=n(T,L);
|
||
if(e.is(".minicolors-grid, .minicolors-slider")){switch(g.control){case"wheel":r=v.width()/2-Y.x,o=v.height()/2-Y.y,u=Math.sqrt(r*r+o*o),d=Math.atan2(o,r),0>d&&(d+=2*Math.PI),u>75&&(u=75,Y.x=69-75*Math.cos(d),Y.y=69-75*Math.sin(d)),s=f(u/.75,0,100),i=f(180*d/Math.PI,0,360),a=f(100-Math.floor(k.y*(100/M.height())),0,100),h=m({h:i,s:s,b:a}),M.css("backgroundColor",m({h:i,s:s,b:100}));break;case"saturation":i=f(parseInt(Y.x*(360/v.width()),10),0,360),s=f(100-Math.floor(k.y*(100/M.height())),0,100),a=f(100-Math.floor(Y.y*(100/v.height())),0,100),h=m({h:i,s:s,b:a}),M.css("backgroundColor",m({h:i,s:100,b:a})),_.find(".minicolors-grid-inner").css("opacity",s/100);break;case"brightness":i=f(parseInt(Y.x*(360/v.width()),10),0,360),s=f(100-Math.floor(Y.y*(100/v.height())),0,100),a=f(100-Math.floor(k.y*(100/M.height())),0,100),h=m({h:i,s:s,b:a}),M.css("backgroundColor",m({h:i,s:s,b:100})),_.find(".minicolors-grid-inner").css("opacity",1-a/100);break;default:i=f(360-parseInt(k.y*(360/M.height()),10),0,360),s=f(Math.floor(Y.x*(100/v.width())),0,100),a=f(100-Math.floor(Y.y*(100/v.height())),0,100),h=m({h:i,s:s,b:a}),v.css("backgroundColor",m({h:i,s:100,b:100}))}t.val(c(h,g.letterCase))}e.is(".minicolors-opacity-slider")&&(p=g.opacity?parseFloat(1-D.y/L.height()).toFixed(2):1,g.opacity&&t.attr("data-opacity",p)),y.find("SPAN").css({backgroundColor:h,opacity:p}),l(t,h,p)}function o(t,e){var n,i,s,a,r,o,u,d=t.parent(),p=t.data("minicolors-settings"),_=d.find(".minicolors-swatch"),y=d.find(".minicolors-grid"),v=d.find(".minicolors-slider"),M=d.find(".minicolors-opacity-slider"),L=y.find("[class$=-picker]"),b=v.find("[class$=-picker]"),w=M.find("[class$=-picker]");switch(n=c(h(t.val(),!0),p.letterCase),n||(n=c(h(p.defaultValue,!0),p.letterCase)),i=g(n),e||t.val(n),p.opacity&&(s=""===t.attr("data-opacity")?1:f(parseFloat(t.attr("data-opacity")).toFixed(2),0,1),isNaN(s)&&(s=1),t.attr("data-opacity",s),_.find("SPAN").css("opacity",s),r=f(M.height()-M.height()*s,0,M.height()),w.css("top",r+"px")),_.find("SPAN").css("backgroundColor",n),p.control){case"wheel":o=f(Math.ceil(.75*i.s),0,y.height()/2),u=i.h*Math.PI/180,a=f(75-Math.cos(u)*o,0,y.width()),r=f(75-Math.sin(u)*o,0,y.height()),L.css({top:r+"px",left:a+"px"}),r=150-i.b/(100/y.height()),""===n&&(r=0),b.css("top",r+"px"),v.css("backgroundColor",m({h:i.h,s:i.s,b:100}));break;case"saturation":a=f(5*i.h/12,0,150),r=f(y.height()-Math.ceil(i.b/(100/y.height())),0,y.height()),L.css({top:r+"px",left:a+"px"}),r=f(v.height()-i.s*(v.height()/100),0,v.height()),b.css("top",r+"px"),v.css("backgroundColor",m({h:i.h,s:100,b:i.b})),d.find(".minicolors-grid-inner").css("opacity",i.s/100);break;case"brightness":a=f(5*i.h/12,0,150),r=f(y.height()-Math.ceil(i.s/(100/y.height())),0,y.height()),L.css({top:r+"px",left:a+"px"}),r=f(v.height()-i.b*(v.height()/100),0,v.height()),b.css("top",r+"px"),v.css("backgroundColor",m({h:i.h,s:i.s,b:100})),d.find(".minicolors-grid-inner").css("opacity",1-i.b/100);break;default:a=f(Math.ceil(i.s/(100/y.width())),0,y.width()),r=f(y.height()-Math.ceil(i.b/(100/y.height())),0,y.height()),L.css({top:r+"px",left:a+"px"}),r=f(v.height()-i.h/(360/v.height()),0,v.height()),b.css("top",r+"px"),y.css("backgroundColor",m({h:i.h,s:100,b:100}))}t.data("minicolors-initialized")&&l(t,n,s)}function l(t,e,n){var i=t.data("minicolors-settings"),s=t.data("minicolors-lastChange");s&&s.hex===e&&s.opacity===n||(t.data("minicolors-lastChange",{hex:e,opacity:n}),i.change&&(i.changeDelay?(clearTimeout(t.data("minicolors-changeTimeout")),t.data("minicolors-changeTimeout",setTimeout(function(){i.change.call(t.get(0),e,n)},i.changeDelay))):i.change.call(t.get(0),e,n)),t.trigger("change").trigger("input"))}function u(e){var n=h(t(e).val(),!0),i=v(n),s=t(e).attr("data-opacity");return i?(void 0!==s&&t.extend(i,{a:parseFloat(s)}),i):null}function d(e,n){var i=h(t(e).val(),!0),s=v(i),a=t(e).attr("data-opacity");return s?(void 0===a&&(a=1),n?"rgba("+s.r+", "+s.g+", "+s.b+", "+parseFloat(a)+")":"rgb("+s.r+", "+s.g+", "+s.b+")"):null}function c(t,e){return"uppercase"===e?t.toUpperCase():t.toLowerCase()}function h(t,e){return t=t.replace(/[^A-F0-9]/gi,""),3!==t.length&&6!==t.length?"":(3===t.length&&e&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),"#"+t)}function f(t,e,n){return e>t&&(t=e),t>n&&(t=n),t}function p(t){var e={},n=Math.round(t.h),i=Math.round(255*t.s/100),s=Math.round(255*t.b/100);if(0===i)e.r=e.g=e.b=s;else{var a=s,r=(255-i)*s/255,o=(a-r)*(n%60)/60;360===n&&(n=0),60>n?(e.r=a,e.b=r,e.g=r+o):120>n?(e.g=a,e.b=r,e.r=a-o):180>n?(e.g=a,e.r=r,e.b=r+o):240>n?(e.b=a,e.r=r,e.g=a-o):300>n?(e.b=a,e.g=r,e.r=r+o):360>n?(e.r=a,e.g=r,e.b=a-o):(e.r=0,e.g=0,e.b=0)}return{r:Math.round(e.r),g:Math.round(e.g),b:Math.round(e.b)}}function _(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 m(t){return _(p(t))}function g(t){var e=y(v(t));return 0===e.s&&(e.h=360),e}function y(t){var e={h:0,s:0,b:0},n=Math.min(t.r,t.g,t.b),i=Math.max(t.r,t.g,t.b),s=i-n;return e.b=i,e.s=0!==i?255*s/i:0,e.h=0!==e.s?t.r===i?(t.g-t.b)/s:t.g===i?2+(t.b-t.r)/s:4+(t.r-t.g)/s:-1,e.h*=60,e.h<0&&(e.h+=360),e.s*=100/255,e.b*=100/255,e}function v(t){return t=parseInt(t.indexOf("#")>-1?t.substring(1):t,16),{r:t>>16,g:(65280&t)>>8,b:255&t}}t.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",dataUris:!0,defaultValue:"",hide:null,hideSpeed:100,inline:!1,letterCase:"lowercase",opacity:!1,position:"bottom left",show:null,showSpeed:100,theme:"default"}},t.extend(t.fn,{minicolors:function(a,r){switch(a){case"destroy":return t(this).each(function(){n(t(this))}),t(this);case"hide":return s(),t(this);case"opacity":return void 0===r?t(this).attr("data-opacity"):(t(this).each(function(){o(t(this).attr("data-opacity",r))}),t(this));case"rgbObject":return u(t(this),"rgbaObject"===a);case"rgbString":case"rgbaString":return d(t(this),"rgbaString"===a);case"settings":return void 0===r?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,r))}),t(this));case"show":return i(t(this).eq(0)),t(this);case"value":return void 0===r?t(this).val():(t(this).each(function(){o(t(this).val(r))}),t(this));default:return"create"!==a&&(r=a),t(this).each(function(){e(t(this),r)}),t(this)}}}),t(document).on("mousedown.minicolors touchstart.minicolors",function(e){t(e.target).parents().add(e.target).hasClass("minicolors")||s()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(e){var n=t(this);e.preventDefault(),t(document).data("minicolors-target",n),a(n,e,!0)}).on("mousemove.minicolors touchmove.minicolors",function(e){var n=t(document).data("minicolors-target");n&&a(n,e)}).on("mouseup.minicolors touchend.minicolors",function(){t(this).removeData("minicolors-target")}).on("mousedown.minicolors touchstart.minicolors",".minicolors-swatch",function(e){var n=t(this).parent().find(".minicolors-input");e.preventDefault(),i(n)}).on("focus.minicolors",".minicolors-input",function(){var e=t(this);e.data("minicolors-initialized")&&i(e)}).on("blur.minicolors",".minicolors-input",function(){var e=t(this),n=e.data("minicolors-settings");e.data("minicolors-initialized")&&(e.val(h(e.val(),!0)),""===e.val()&&e.val(h(n.defaultValue,!0)),e.val(c(e.val(),n.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(e){var n=t(this);if(n.data("minicolors-initialized"))switch(e.keyCode){case 9:s();break;case 13:case 27:s(),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)})}(jQuery),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 s(t,e,n){return t[e]=n,t}function a(t,e){for(var n,a=t.match(i.key);void 0!==(n=a.pop());)if(i.push.test(n)){var o=r(t.replace(/\[\]$/,""));e=s([],o,e)}else i.fixed.test(n)?e=s([],n,e):i.named.test(n)&&(e=s({},n,e));return e}function r(t){return void 0===f[t]&&(f[t]=0),f[t]++}function o(t){switch(e('[name="'+t.name+'"]',n).attr("type")){case"checkbox":return"on"===t.value?!0:t.value;default:return t.value}}function l(e){if(!i.validate.test(e.name))return this;var n=a(e.name,o(e));return h=t.extend(!0,h,n),this}function u(e){if(!t.isArray(e))throw new Error("formSerializer.addPairs expects an Array");for(var n=0,i=e.length;i>n;n++)this.addPair(e[n]);return this}function d(){return h}function c(){return JSON.stringify(d())}var h={},f={};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 this.length>1?new Error("jquery-serialize-object can only serialize one form at a time"):new n(e,this).addPairs(this.serializeArray()).serialize()},n.serializeJSON=function(){return this.length>1?new Error("jquery-serialize-object can only serialize one form at a time"):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;this.width=t.canvas.width,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={},s=i.each=function(t,e,n){var i=Array.prototype.slice.call(arguments,3);if(t)if(t.length===+t.length){var s;for(s=0;s<t.length;s++)e.apply(n,[t[s],s].concat(i))}else for(var a in t)e.apply(n,[t[a],a].concat(i))},a=i.clone=function(t){var e={};return s(t,function(n,i){t.hasOwnProperty(i)&&(e[i]=n)}),e},r=i.extend=function(t){return s(Array.prototype.slice.call(arguments,1),function(e){s(e,function(n,i){e.hasOwnProperty(i)&&(t[i]=n)})}),t},o=i.merge=function(){var t=Array.prototype.slice.call(arguments,0);return t.unshift({}),r.apply(null,t)},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 s=t[i];if(e(s))return s}},i.findPreviousWhere=function(t,e,n){n||(n=t.length);for(var i=n-1;i>=0;i--){var s=t[i];if(e(s))return s}},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&&r(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)},f=i.amd="function"==typeof define&&define.amd,p=i.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},_=i.max=function(t){return Math.max.apply(Math,t)},m=i.min=function(t){return Math.min.apply(Math,t)},g=(i.cap=function(t,e,n){if(p(e)){if(t>e)return e}else if(p(n)&&n>t)return n;return t},i.getDecimalPlaces=function(t){return t%1!==0&&p(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,s=Math.sqrt(n*n+i*i),a=2*Math.PI+Math.atan2(i,n);return 0>n&&0>i&&(a+=2*Math.PI),{angle:a,distance:s}},i.aliasPixel=function(t){return t%2===0?0:.5}),M=(i.splineCurve=function(t,e,n,i){var s=Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)),a=Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2)),r=i*s/(s+a),o=i*a/(s+a);return{inner:{x:e.x-r*(n.x-t.x),y:e.y-r*(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)}),L=(i.calculateScaleRange=function(t,e,n,i,s){var a=2,r=Math.floor(e/(1.5*n)),o=a>=r,l=_(t),u=m(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),f=i?0:Math.floor(u/(1*Math.pow(10,c)))*Math.pow(10,c),p=h-f,g=Math.pow(10,c),y=Math.round(p/g);(y>r||r>2*y)&&!o;)if(y>r)g*=2,y=Math.round(p/g),y%1!==0&&(o=!0);else if(s&&c>=0){if(g/2%1!==0)break;g/=2,y=Math.round(p/g)}else g/=2,y=Math.round(p/g);return o&&(y=a,g=p/y),{steps:y,stepValue:g,min:f,max:f+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 a=new Array(e);return labelTemplateString&&s(a,function(e,s){a[s]=L(t,{value:n+i*(s+1)})}),a},i.easingEffects={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-1*t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-0.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1*((t=t/1-1)*t*t+1)},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-1*((t=t/1-1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-0.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return 1*(t/=1)*t*t*t*t},easeOutQuint:function(t){return 1*((t=t/1-1)*t*t*t*t+1)},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return-1*Math.cos(t/1*(Math.PI/2))+1},easeOutSine:function(t){return 1*Math.sin(t/1*(Math.PI/2))},easeInOutSine:function(t){return-0.5*(Math.cos(Math.PI*t/1)-1)},easeInExpo:function(t){return 0===t?1:1*Math.pow(2,10*(t/1-1))},easeOutExpo:function(t){return 1===t?1:1*(-Math.pow(2,-10*t/1)+1)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(-Math.pow(2,-10*--t)+2)},easeInCirc:function(t){return t>=1?t:-1*(Math.sqrt(1-(t/=1)*t)-1)},easeOutCirc:function(t){return 1*Math.sqrt(1-(t=t/1-1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-0.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1==(t/=1)?1:(n||(n=.3),i<Math.abs(1)?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-(i*Math.pow(2,10*(t-=1))*Math.sin(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}}),w=i.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)}}(),T=(i.cancelAnimFrame=function(){return window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(t){return window.clearTimeout(t,1e3/60)}}(),i.animationLoop=function(t,e,n,i,s,a){var r=0,o=b[n]||b.linear,l=function(){r++;var n=r/e,u=o(n);t.call(a,u,n,r),i.call(a,u,n),e>r?a.animationFrame=w(l):s.apply(a)};w(l)},i.getRelativePosition=function(t){var e,n,i=t.originalEvent||t,s=t.currentTarget||t.srcElement,a=s.getBoundingClientRect();return i.touches?(e=i.touches[0].clientX-a.left,n=i.touches[0].clientY-a.top):(e=i.clientX-a.left,n=i.clientY-a.top),{x:e,y:n}},i.addEvent=function(t,e,n){t.addEventListener?t.addEventListener(e,n):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n}),Y=i.removeEvent=function(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=d},k=(i.bindEvents=function(t,e,n){t.events||(t.events={}),s(e,function(e){t.events[e]=function(){n.apply(t,arguments)},T(t.chart.canvas,e,t.events[e])})},i.unbindEvents=function(t,e){s(e,function(e,n){Y(t.chart.canvas,n,e)})}),D=i.getMaximumWidth=function(t){var e=t.parentNode;return e.clientWidth},x=i.getMaximumHeight=function(t){var e=t.parentNode;return e.clientHeight},S=(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))}),C=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},P=i.longestText=function(t,e,n){t.font=e;var i=0;return s(n,function(e){var n=t.measureText(e).width;i=n>i?n:i}),i},E=i.drawRoundedRectangle=function(t,e,n,i,s,a){t.beginPath(),t.moveTo(e+a,n),t.lineTo(e+i-a,n),t.quadraticCurveTo(e+i,n,e+i,n+a),t.lineTo(e+i,n+s-a),t.quadraticCurveTo(e+i,n+s,e+i-a,n+s),t.lineTo(e+a,n+s),t.quadraticCurveTo(e,n+s,e,n+s-a),t.lineTo(e,n+a),t.quadraticCurveTo(e,n,e+a,n),t.closePath()};n.instances={},n.Type=function(t,e,i){this.options=e,this.chart=i,this.id=c(),n.instances[this.id]=this,e.responsive&&this.resize(),this.initialize.call(this,t)},r(n.Type.prototype,{initialize:function(){return this},clear:function(){return C(this.chart),this},stop:function(){return i.cancelAnimFrame.call(t,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:x(this.chart.canvas);return e.width=this.chart.width=n,e.height=this.chart.height=i,S(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 L(this.options.legendTemplate,this)},destroy:function(){this.clear(),k(this,this.events);var t=this.chart.canvas;t.width=this.chart.width,t.height=this.chart.height,t.style.removeProperty?(t.style.removeProperty("width"),t.style.removeProperty("height")):(t.style.removeAttribute("width"),t.style.removeAttribute("height")),delete n.instances[this.id]},showTooltip:function(t,e){"undefined"==typeof this.activeElements&&(this.activeElements=[]);var a=function(t){var e=!1;return t.length!==this.activeElements.length?e=!0:(s(t,function(t,n){t!==this.activeElements[n]&&(e=!0)},this),e)}.call(this,t);if(a||e){if(this.activeElements=t,this.draw(),this.options.customTooltips&&this.options.customTooltips(!1),t.length>0)if(this.datasets&&this.datasets.length>1){for(var r,o,u=this.datasets.length-1;u>=0&&(r=this.datasets[u].points||this.datasets[u].bars||this.datasets[u].segments,o=l(r,t[0]),-1===o);u--);var d=[],c=[],h=function(){var t,e,n,s,a,r=[],l=[],u=[];return i.each(this.datasets,function(e){t=e.points||e.bars||e.segments,t[o]&&t[o].hasValue()&&r.push(t[o])}),i.each(r,function(t){l.push(t.x),u.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=m(u),n=_(u),s=m(l),e=_(l),{x:s>this.chart.width/2?s:e,y:(a+n)/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 s(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:L(this.options.tooltipTemplate,t),chart:this.chart,custom:this.options.customTooltips}).draw()},this);return this}},toBase64Image:function(){return this.chart.canvas.toDataURL.apply(this.chart.canvas,arguments)}}),n.Type.extend=function(t){var e=this,i=function(){return e.apply(this,arguments)};if(i.prototype=a(e.prototype),r(i.prototype,t),i.extend=n.Type.extend,t.name||e.prototype.name){var s=t.name||e.prototype.name,l=n.defaults[e.prototype.name]?a(n.defaults[e.prototype.name]):{};n.defaults[s]=r(l,t.defaults),n.types[s]=i,n.prototype[s]=function(t,e){var a=o(n.defaults.global,n.defaults[s],e||{});return new i(t,a,this)}}else h("Name not provided for this chart, so it hasn't been registered");return e},n.Element=function(t){r(this,t),this.initialize.apply(this,arguments),this.save()},r(n.Element.prototype,{initialize:function(){},restore:function(t){return t?s(t,function(t){this[t]=this._saved[t]},this):r(this,this._saved),this},save:function(){return this._saved=a(this),delete this._saved._saved,this},update:function(t){return s(t,function(t,e){this._saved[e]=this[e],this[e]=t},this),this},transition:function(t,e){return s(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 p(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}),s=n.angle>=this.startAngle&&n.angle<=this.endAngle,a=n.distance>=this.innerRadius&&n.distance<=this.outerRadius;return s&&a},tooltipPosition:function(){var t=this.startAngle+(this.endAngle-this.startAngle)/2,e=(this.outerRadius-this.innerRadius)/2+this.innerRadius;return{x:this.x+Math.cos(t)*e,y:this.y+Math.sin(t)*e}},draw:function(t){var e=this.ctx;e.beginPath(),e.arc(this.x,this.y,this.outerRadius,this.startAngle,this.endAngle),e.arc(this.x,this.y,this.innerRadius,this.endAngle,this.startAngle,!0),e.closePath(),e.strokeStyle=this.strokeColor,e.lineWidth=this.strokeWidth,e.fillStyle=this.fillColor,e.fill(),e.lineJoin="bevel",this.showStroke&&e.stroke()}}),n.Rectangle=n.Element.extend({draw:function(){var t=this.ctx,e=this.width/2,n=this.x-e,i=this.x+e,s=this.base-(this.base-this.y),a=this.strokeWidth/2;this.showStroke&&(n+=a,i-=a,s+=a),t.beginPath(),t.fillStyle=this.fillColor,t.strokeStyle=this.strokeColor,t.lineWidth=this.strokeWidth,t.moveTo(n,this.base),t.lineTo(n,s),t.lineTo(i,s),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,s=i+this.caretHeight+e;this.x+n/2>this.chart.width?this.xAlign="left":this.x-n/2<0&&(this.xAlign="right"),this.y-s<0&&(this.yAlign="below");var a=this.x-n/2,r=this.y-s;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":r=this.y+e+this.caretHeight,t.beginPath(),t.moveTo(this.x,this.y+e),t.lineTo(this.x+this.caretHeight,this.y+e+this.caretHeight),t.lineTo(this.x-this.caretHeight,this.y+e+this.caretHeight),t.closePath(),t.fill()}switch(this.xAlign){case"left":a=this.x-n+(this.cornerRadius+this.caretHeight);break;case"right":a=this.x-(this.cornerRadius+this.caretHeight)}E(t,a,r,n,i,this.cornerRadius),t.fill(),t.fillStyle=this.textColor,t.textAlign="center",t.textBaseline="middle",t.fillText(this.text,a+n/2,r+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=P(this.ctx,this.font,this.labels)+this.fontSize+3,n=_([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(L(this.templateString,{value:(this.min+e*this.stepValue).toFixed(t)}));this.yLabelWidth=this.display&&this.showLabels?P(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 s,a=P(this.ctx,this.font,this.xLabels);this.xLabelWidth=a;for(var r=Math.floor(this.calculateX(1)-this.calculateX(0))-6;this.xLabelWidth>r&&0===this.xLabelRotation||this.xLabelWidth>r&&this.xLabelRotation<=90&&this.xLabelRotation>0;)s=Math.cos(y(this.xLabelRotation)),t=s*n,e=s*i,t+this.fontSize/2>this.yLabelWidth+8&&(this.xScalePaddingLeft=t+this.fontSize/2),this.xScalePaddingRight=this.fontSize/2,this.xLabelRotation++,this.xLabelWidth=s*a;this.xLabelRotation>0&&(this.endPoint-=Math.sin(y(this.xLabelRotation))*a+3)}else this.xLabelWidth=0,this.xScalePaddingRight=this.padding,this.xScalePaddingLeft=this.padding},calculateYRange:d,drawingArea:function(){return this.startPoint-this.endPoint},calculateY:function(t){var e=this.drawingArea()/(this.min-this.max);return this.endPoint-e*(t-this.min)},calculateX:function(t){var e=(this.xLabelRotation>0,this.width-(this.xScalePaddingLeft+this.xScalePaddingRight)),n=e/(this.valuesCount-(this.offsetGridLines?0: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,s(this.yLabels,function(s,a){var r=this.endPoint-e*a,o=Math.round(r),l=this.showHorizontalLines;t.textAlign="right",t.textBaseline="middle",this.showLabels&&t.fillText(s,n-10,r),0!==a||l||(l=!0),l&&t.beginPath(),a>0?(t.lineWidth=this.gridLineWidth,t.strokeStyle=this.gridLineColor):(t.lineWidth=this.lineWidth,t.strokeStyle=this.lineColor),o+=i.aliasPixel(t.lineWidth),l&&(t.moveTo(n,o),t.lineTo(this.width,o),t.stroke(),t.closePath()),t.lineWidth=this.lineWidth,t.strokeStyle=this.lineColor,t.beginPath(),t.moveTo(n-5,o),t.lineTo(n,o),t.stroke(),t.closePath()
|
||
},this),s(this.xLabels,function(e,n){var i=this.calculateX(n)+v(this.lineWidth),s=this.calculateX(n-(this.offsetGridLines?.5:0))+v(this.lineWidth),a=this.xLabelRotation>0,r=this.showVerticalLines;0!==n||r||(r=!0),r&&t.beginPath(),n>0?(t.lineWidth=this.gridLineWidth,t.strokeStyle=this.gridLineColor):(t.lineWidth=this.lineWidth,t.strokeStyle=this.lineColor),r&&(t.moveTo(s,this.endPoint),t.lineTo(s,this.startPoint-3),t.stroke(),t.closePath()),t.lineWidth=this.lineWidth,t.strokeStyle=this.lineColor,t.beginPath(),t.moveTo(s,this.endPoint),t.lineTo(s,this.endPoint+5),t.stroke(),t.closePath(),t.save(),t.translate(i,a?this.endPoint+12:this.endPoint+8),t.rotate(-1*y(this.xLabelRotation)),t.font=this.font,t.textAlign=a?"right":"center",t.textBaseline=a?"middle":"top",t.fillText(e,0,0),t.restore()},this))}}),n.RadialScale=n.Element.extend({initialize:function(){this.size=m([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(L(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,s,a,r,o,l,u,d,c,h=m([this.height/2-this.pointLabelFontSize-5,this.width/2]),f=this.width,_=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(L(this.templateString,{value:this.labels[e]})).width+5,0===e||e===this.valuesCount/2?(i=n/2,t.x+i>f&&(f=t.x+i,s=e),t.x-i<_&&(_=t.x-i,r=e)):e<this.valuesCount/2?t.x+n>f&&(f=t.x+n,s=e):e>this.valuesCount/2&&t.x-n<_&&(_=t.x-n,r=e);l=_,u=Math.ceil(f-this.width),a=this.getIndexAngle(s),o=this.getIndexAngle(r),d=u/Math.sin(a+Math.PI/2),c=l/Math.sin(o+Math.PI/2),d=p(d)?d:0,c=p(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(s(this.yLabels,function(e,n){if(n>0){var i,s=n*(this.drawingArea/this.steps),a=this.yCenter-s;if(this.lineWidth>0)if(t.strokeStyle=this.lineColor,t.lineWidth=this.lineWidth,this.lineArc)t.beginPath(),t.arc(this.xCenter,this.yCenter,s,0,2*Math.PI),t.closePath(),t.stroke();else{t.beginPath();for(var r=0;r<this.valuesCount;r++)i=this.getPointPosition(r,this.calculateCenterOffset(this.min+n*this.stepValue)),0===r?t.moveTo(i.x,i.y):t.lineTo(i.x,i.y);t.closePath(),t.stroke()}if(this.showLabels){if(t.font=j(this.fontSize,this.fontStyle,this.fontFamily),this.showLabelBackdrop){var o=t.measureText(e).width;t.fillStyle=this.backdropColor,t.fillRect(this.xCenter-o/2-this.backdropPaddingX,a-this.fontSize/2-this.backdropPaddingY,o+2*this.backdropPaddingX,this.fontSize+2*this.backdropPaddingY)}t.textAlign="center",t.textBaseline="middle",t.fillStyle=this.fontColor,t.fillText(e,this.xCenter,a)}}},this),!this.lineArc){t.lineWidth=this.angleLineWidth,t.strokeStyle=this.angleLineColor;for(var e=this.valuesCount-1;e>=0;e--){if(this.angleLineWidth>0){var n=this.getPointPosition(e,this.calculateCenterOffset(this.max));t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(n.x,n.y),t.stroke(),t.closePath()}var i=this.getPointPosition(e,this.calculateCenterOffset(this.max)+5);t.font=j(this.pointLabelFontSize,this.pointLabelFontStyle,this.pointLabelFontFamily),t.fillStyle=this.pointLabelFontColor;var a=this.labels.length,r=this.labels.length/2,o=r/2,l=o>e||e>a-o,u=e===o||e===a-o;t.textAlign=0===e?"center":e===r?"center":r>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(){s(n.instances,function(t){t.options.responsive&&t.resize(t.render,!0)})},50)}}()),f?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 s=this.calculateBaseWidth(),a=this.calculateX(n)-s/2,r=this.calculateBarWidth(t);return a+r*e+e*i.barDatasetSpacing+r/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){var i={label:e.label||null,fillColor:e.fillColor,strokeColor:e.strokeColor,bars:[]};this.datasets.push(i),n.each(e.data,function(n,s){i.bars.push(new this.BarClass({value:n,label:t.labels[s],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=[],s=n.getRelativePosition(t),a=function(t){i.push(t.bars[e])},r=0;r<this.datasets.length;r++)for(e=0;e<this.datasets[r].bars.length;e++)if(this.datasets[r].bars[e].inRange(s.x,s.y))return n.each(this.datasets,a),i;return i},buildScale:function(t){var e=this,i=function(){var t=[];return e.eachBars(function(e){t.push(e.value)}),t},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(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(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 this.ScaleClass(s)},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*(t/this.total)},calculateTotal:function(t){this.total=0,n.each(t,function(t){this.total+=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,s){i.points.push(new this.PointClass({value:n,label:t.labels[s],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,s=function(){var t=[];return i.eachPoints(function(e){t.push(e.value)}),t},a={templateString:this.options.scaleLabel,height:this.chart.height,width:this.chart.width,ctx:this.chart.ctx,textColor:this.options.scaleFontColor,fontSize:this.options.scaleFontSize,fontStyle:this.options.scaleFontStyle,fontFamily:this.options.scaleFontFamily,valuesCount:t.length,beginAtZero:this.options.scaleBeginAtZero,integersOnly:this.options.scaleIntegersOnly,calculateYRange:function(t){var e=n.calculateScaleRange(s(),t,this.fontSize,this.beginAtZero,this.integersOnly);n.extend(this,e)},xLabels:t,font:n.fontString(this.options.scaleFontSize,this.options.scaleFontStyle,this.options.scaleFontFamily),lineWidth:this.options.scaleLineWidth,lineColor:this.options.scaleLineColor,showHorizontalLines:this.options.scaleShowHorizontalLines,showVerticalLines:this.options.scaleShowVerticalLines,gridLineWidth:this.options.scaleShowGridLines?this.options.scaleGridLineWidth:0,gridLineColor:this.options.scaleShowGridLines?this.options.scaleGridLineColor:"rgba(0,0,0,0)",padding:this.options.showScale?0:this.options.pointDotRadius+this.options.pointDotStrokeWidth,showLabels:this.options.scaleShowLabels,display:this.options.showScale};this.options.scaleOverride&&n.extend(a,{calculateYRange:n.noop,steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}),this.scale=new e.Scale(a)},addData:function(t,e){n.each(t,function(t,n){this.datasets[n].points.push(new this.PointClass({value:t,label:e,x:this.scale.calculateX(this.scale.valuesCount+1),y:this.scale.endPoint,strokeColor:this.datasets[n].pointStrokeColor,fillColor:this.datasets[n].pointColor}))},this),this.scale.addXLabel(e),this.update()},removeData:function(){this.scale.removeXLabel(),n.each(this.datasets,function(t){t.points.shift()},this),this.update()},reflow:function(){var t=n.extend({height:this.chart.height,width:this.chart.width});this.scale.update(t)},draw:function(t){var e=t||1;this.clear();var i=this.chart.ctx,s=function(t){return null!==t.value},a=function(t,e,i){return n.findNextWhere(e,s,i)||t},r=function(t,e,i){return n.findPreviousWhere(e,s,i)||t};this.scale.draw(e),n.each(this.datasets,function(t){var o=n.where(t.points,s);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(r(t,o,e),t,a(t,o,e),i),t.controlPoints.outer.y>this.scale.endPoint?t.controlPoints.outer.y=this.scale.endPoint:t.controlPoints.outer.y<this.scale.startPoint&&(t.controlPoints.outer.y=this.scale.startPoint),t.controlPoints.inner.y>this.scale.endPoint?t.controlPoints.inner.y=this.scale.endPoint:t.controlPoints.inner.y<this.scale.startPoint&&(t.controlPoints.inner.y=this.scale.startPoint)},this),i.lineWidth=this.options.datasetStrokeWidth,i.strokeStyle=t.strokeColor,i.beginPath(),n.each(o,function(t,e){if(0===e)i.moveTo(t.x,t.y);else if(this.options.bezierCurve){var n=r(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.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,s){var a;this.scale.animation||(a=this.scale.getPointPosition(s,this.scale.calculateCenterOffset(n))),i.points.push(new this.PointClass({value:n,label:t.labels[s],datasetLabel:e.label,x:this.options.animation?this.scale.xCenter:a.x,y:this.options.animation?this.scale.yCenter:a.y,strokeColor:e.pointStrokeColor,fillColor:e.pointColor,highlightFill:e.pointHighlightFill||e.pointColor,highlightStroke:e.pointHighlightStroke||e.pointStrokeColor}))},this)},this),this.render()},eachPoints:function(t){n.each(this.datasets,function(e){n.each(e.points,t,this)},this)},getPointsAtEvent:function(t){var e=n.getRelativePosition(t),i=n.getAngleFromPoint({x:this.scale.xCenter,y:this.scale.yCenter},e),s=2*Math.PI/this.scale.valuesCount,a=Math.round((i.angle-1.5*Math.PI)/s),r=[];return(a>=this.scale.valuesCount||0>a)&&(a=0),i.distance<=this.scale.drawingArea&&n.each(this.datasets,function(t){r.push(t.points[a])}),r},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(){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"))?n.setRequestHeader("X-CSRF-Token",i):void 0}),$.ajaxSetup({statusCode:{401:function(){window.location.href="/"},403:function(){window.location.href="/"}}}),$("form").submit(function(){var t=$(this);t.find(":submit").prop("disabled",!0)}),$("[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").attr("onclick",' if ($(this).hasClass(\'confirm-action\')) { if(confirm("Are you sure you want to do this?")) { $(this).find("form").submit(); } } else { $(this).find("form").submit(); }'),Messenger.options={extraClasses:"messenger-fixed messenger-on-top",theme:"air"},window.CachetHQ={},moment.locale(Global.locale),$("abbr.timeago").each(function(){var t=$(this);t.livestamp(t.data("timeago")).tooltip()}),window.CachetHQ.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=incident\\[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"))});var e=document.getElementById("component-list");e&&new Sortable(e,{group:"omega",handle:".drag-handle",onUpdate:function(){var t=$("#component-list .striped-list-item");$.each(t,function(t){$(this).find("input[rel=order]").val(t+1)}),$.ajax({async:!0,url:"/dashboard/api/components/order",type:"POST",data:$("form[name=componentList]").serializeObject(),success:function(){(new CachetHQ.Notifier).notify("Components updated.","success")}})}}),$("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(){(new CachetHQ.Notifier).notify(t.data("messenger"),"success")},error:function(){(new CachetHQ.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,dataType:"json",data:{slug:e},url:"/dashboard/api/incidents/templates",success:function(t){var e=$("form[name=IncidentForm]");e.find("input[name=incident\\[name\\]]").val(t.name),e.find("textarea[name=incident\\[message\\]]").val(t.template)},error:function(){(new CachetHQ.Notifier).notify("There was an error finding that template.")}})}),$("#remove-banner").click(function(){$("#banner-view").remove(),$("input[name=remove_banner]").val("1")}),$(".wizard-next").on("click",function(){var e=$("#setup-form"),n=$(this),i=n.data("currentBlock"),s=n.data("nextBlock");if(n.button("loading"),s>i){var a="/setup/step"+i;return $.post(a,e.serializeObject()).done(function(){t(i,s)}).fail(function(t){var e=_.toArray(t.responseJSON.errors);_.each(e,function(t){(new CachetHQ.Notifier).notify(t)})}).always(function(){n.button("reset")}),!1}t(i,s),n.button("reset")})}); |