/*
: Copyright (c) 2012-2015 Dan Grossman. All rights reserved.
 @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
 @website: https://www.improvely.com/
*/
!function(a,q){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?q(a,!0):function(a){if(!a.document)throw Error("jQuery requires a window with a document");return q(a)}:q(a)}("undefined"!=typeof window?window:this,function(a,q){function p(c){var g=c.length,r=f.type(c);return"function"===r||f.isWindow(c)?!1:1===c.nodeType&&g?!0:"array"===r||0===g||"number"==typeof g&&0<g&&g-1 in c}function h(c,g,r){if(f.isFunction(g))return f.grep(c,function(c,f){return!!g.call(c,f,
c)!==r});if(g.nodeType)return f.grep(c,function(c){return c===g!==r});if("string"==typeof g){if(Pb.test(g))return f.filter(g,c,r);g=f.filter(g,c)}return f.grep(c,function(c){return 0<=f.inArray(c,g)!==r})}function m(c,g){do c=c[g];while(c&&1!==c.nodeType);return c}function e(c){var g=Ca[c]={};return f.each(c.match(xa)||[],function(c,f){g[f]=!0}),g}function d(){E.addEventListener?(E.removeEventListener("DOMContentLoaded",b,!1),a.removeEventListener("load",b,!1)):(E.detachEvent("onreadystatechange",
b),a.detachEvent("onload",b))}function b(){(E.addEventListener||"load"===event.type||"complete"===E.readyState)&&(d(),f.ready())}function l(c,g,r){if(void 0===r&&1===c.nodeType){var a="data-"+g.replace(jc,"-$1").toLowerCase();if(r=c.getAttribute(a),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:kc.test(r)?f.parseJSON(r):r}catch(b){}f.data(c,g,r)}else r=void 0}return r}function J(c){for(var g in c)if(("data"!==g||!f.isEmptyObject(c[g]))&&"toJSON"!==g)return!1;return!0}
function w(c,g,r,a){if(f.acceptData(c)){var b,d,e=f.expando,l=c.nodeType,s=l?f.cache:c,k=l?c[e]:c[e]&&e;if(k&&s[k]&&(a||s[k].data)||void 0!==r||"string"!=typeof g)return k||(k=l?c[e]=C.pop()||f.guid++:e),s[k]||(s[k]=l?{}:{toJSON:f.noop}),("object"==typeof g||"function"==typeof g)&&(a?s[k]=f.extend(s[k],g):s[k].data=f.extend(s[k].data,g)),d=s[k],a||(d.data||(d.data={}),d=d.data),void 0!==r&&(d[f.camelCase(g)]=r),"string"==typeof g?(b=d[g],null==b&&(b=d[f.camelCase(g)])):b=d,b}}function I(c,g,r){if(f.acceptData(c)){var a,
b,d=c.nodeType,e=d?f.cache:c,l=d?c[f.expando]:f.expando;if(e[l]){if(g&&(a=r?e[l]:e[l].data)){f.isArray(g)?g=g.concat(f.map(g,f.camelCase)):g in a?g=[g]:(g=f.camelCase(g),g=g in a?[g]:g.split(" "));for(b=g.length;b--;)delete a[g[b]];if(r?!J(a):!f.isEmptyObject(a))return}(r||(delete e[l].data,J(e[l])))&&(d?f.cleanData([c],!0):u.deleteExpando||e!=e.window?delete e[l]:e[l]=null)}}}function n(){return!0}function F(){return!1}function z(){try{return E.activeElement}catch(c){}}function K(c){var g=tb.split("|");
c=c.createDocumentFragment();if(c.createElement)for(;g.length;)c.createElement(g.pop());return c}function y(c,g){var r,a,b=0,d="undefined"!==typeof c.getElementsByTagName?c.getElementsByTagName(g||"*"):"undefined"!==typeof c.querySelectorAll?c.querySelectorAll(g||"*"):void 0;if(!d)for(d=[],r=c.childNodes||c;null!=(a=r[b]);b++)!g||f.nodeName(a,g)?d.push(a):f.merge(d,y(a,g));return void 0===g||g&&f.nodeName(c,g)?f.merge([c],d):d}function W(c){na.test(c.type)&&(c.defaultChecked=c.checked)}function Bb(c,
g){return f.nodeName(c,"table")&&f.nodeName(11!==g.nodeType?g:g.firstChild,"tr")?c.getElementsByTagName("tbody")[0]||c.appendChild(c.ownerDocument.createElement("tbody")):c}function Da(c){return c.type=(null!==f.find.attr(c,"type"))+"/"+c.type,c}function Cb(c){var g=Db.exec(c.type);return g?c.type=g[1]:c.removeAttribute("type"),c}function sa(c,g){for(var r,a=0;null!=(r=c[a]);a++)f._data(r,"globalEval",!g||f._data(g[a],"globalEval"))}function Y(c,g){if(1===g.nodeType&&f.hasData(c)){var r,a,b;a=f._data(c);
var d=f._data(g,a),e=a.events;if(e)for(r in delete d.handle,d.events={},e)for(a=0,b=e[r].length;b>a;a++)f.event.add(g,r,e[r][a]);d.data&&(d.data=f.extend({},d.data))}}function ga(c,g){var r,L=f(g.createElement(c)).appendTo(g.body),b=a.getDefaultComputedStyle&&(r=a.getDefaultComputedStyle(L[0]))?r.display:f.css(L[0],"display");return L.detach(),b}function Za(c){var g=E,r=ba[c];return r||(r=ga(c,g),"none"!==r&&r||(pa=(pa||f("\x3ciframe frameborder\x3d'0' width\x3d'0' height\x3d'0'/\x3e")).appendTo(g.documentElement),
g=(pa[0].contentWindow||pa[0].contentDocument).document,g.write(),g.close(),r=ga(c,g),pa.detach()),ba[c]=r),r}function S(c,g){return{get:function(){var f=c();if(null!=f)return f?void delete this.get:(this.get=g).apply(this,arguments)}}}function za(c,g){if(g in c)return g;for(var f=g.charAt(0).toUpperCase()+g.slice(1),a=g,b=Eb.length;b--;)if(g=Eb[b]+f,g in c)return g;return a}function V(c,g){for(var r,a,b,d=[],e=0,l=c.length;l>e;e++)a=c[e],a.style&&(d[e]=f._data(a,"olddisplay"),r=a.style.display,g?
(d[e]||"none"!==r||(a.style.display=""),""===a.style.display&&Ua(a)&&(d[e]=f._data(a,"olddisplay",Za(a.nodeName)))):(b=Ua(a),(r&&"none"!==r||!b)&&f._data(a,"olddisplay",b?r:f.css(a,"display"))));for(e=0;l>e;e++)a=c[e],a.style&&(g&&"none"!==a.style.display&&""!==a.style.display||(a.style.display=g?d[e]||"":"none"));return c}function P(c,g,f){return(c=Fb.exec(g))?Math.max(0,c[1]-(f||0))+(c[2]||"px"):g}function H(c,g,r,a,b){g=r===(a?"border":"content")?4:"width"===g?1:0;for(var d=0;4>g;g+=2)"margin"===
r&&(d+=f.css(c,r+Ea[g],!0,b)),a?("content"===r&&(d-=f.css(c,"padding"+Ea[g],!0,b)),"margin"!==r&&(d-=f.css(c,"border"+Ea[g]+"Width",!0,b))):(d+=f.css(c,"padding"+Ea[g],!0,b),"padding"!==r&&(d+=f.css(c,"border"+Ea[g]+"Width",!0,b)));return d}function Qb(c,g,r){var a=!0,b="width"===g?c.offsetWidth:c.offsetHeight,d=Fa(c),e=u.boxSizing&&"border-box"===f.css(c,"boxSizing",!1,d);if(0>=b||null==b){if(b=ma(c,g,d),(0>b||null==b)&&(b=c.style[g]),ka.test(b))return b;a=e&&(u.boxSizingReliable()||b===c.style[g]);
b=parseFloat(b)||0}return b+H(c,g,r||(e?"border":"content"),a,d)+"px"}function ca(c,g,f,a,b){return new ca.prototype.init(c,g,f,a,b)}function ib(){return setTimeout(function(){Ga=void 0}),Ga=f.now()}function jb(c,g){var f,a={height:c},b=0;for(g=g?1:0;4>b;b+=2-g)f=Ea[b],a["margin"+f]=a["padding"+f]=c;return g&&(a.opacity=a.width=c),a}function D(c,g,f){for(var a,b=(Ka[g]||[]).concat(Ka["*"]),d=0,e=b.length;e>d;d++)if(a=b[d].call(f,g,c))return a}function t(c,g){var r,a,b,d,e;for(r in c)if(a=f.camelCase(r),
b=g[a],d=c[r],f.isArray(d)&&(b=d[1],d=c[r]=d[0]),r!==a&&(c[a]=d,delete c[r]),e=f.cssHooks[a],e&&"expand"in e)for(r in d=e.expand(d),delete c[a],d)r in c||(c[r]=d[r],g[r]=b);else g[a]=b}function Z(c,g,r){var a,b=0,d=qa.length,e=f.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var g=Ga||ib(),g=Math.max(0,k.startTime+k.duration-g),f=1-(g/k.duration||0),r=0,b=k.tweens.length;b>r;r++)k.tweens[r].run(f);return e.notifyWith(c,[k,f,g]),1>f&&b?g:(e.resolveWith(c,[k]),!1)},k=e.promise({elem:c,
props:f.extend({},g),opts:f.extend(!0,{specialEasing:{}},r),originalProperties:g,originalOptions:r,startTime:Ga||ib(),duration:r.duration,tweens:[],createTween:function(g,r){var a=f.Tween(c,k.opts,g,r,k.opts.specialEasing[g]||k.opts.easing);return k.tweens.push(a),a},stop:function(g){var f=0,r=g?k.tweens.length:0;if(a)return this;for(a=!0;r>f;f++)k.tweens[f].run(1);return g?e.resolveWith(c,[k,g]):e.rejectWith(c,[k,g]),this}});r=k.props;for(t(r,k.opts.specialEasing);d>b;b++)if(g=qa[b].call(k,c,r,k.opts))return g;
return f.map(r,D,k),f.isFunction(k.opts.start)&&k.opts.start.call(c,k),f.fx.timer(f.extend(l,{elem:c,anim:k,queue:k.opts.queue})),k.progress(k.opts.progress).done(k.opts.done,k.opts.complete).fail(k.opts.fail).always(k.opts.always)}function s(c){return function(g,r){"string"!=typeof g&&(r=g,g="*");var a,b=0,d=g.toLowerCase().match(xa)||[];if(f.isFunction(r))for(;a=d[b++];)"+"===a.charAt(0)?(a=a.slice(1)||"*",(c[a]=c[a]||[]).unshift(r)):(c[a]=c[a]||[]).push(r)}}function x(c,g,r,a){function b(k){var l;
return d[k]=!0,f.each(c[k]||[],function(c,f){var k=f(g,r,a);return"string"!=typeof k||e||d[k]?e?!(l=k):void 0:(g.dataTypes.unshift(k),b(k),!1)}),l}var d={},e=c===ub;return b(g.dataTypes[0])||!d["*"]&&b("*")}function k(c,g){var r,a,b=f.ajaxSettings.flatOptions||{};for(a in g)void 0!==g[a]&&((b[a]?c:r||(r={}))[a]=g[a]);return r&&f.extend(!0,c,r),c}function M(c,g,r,a){var b;if(f.isArray(g))f.each(g,function(g,f){r||La.test(c)?a(c,f):M(c+"["+("object"==typeof f?g:"")+"]",f,r,a)});else if(r||"object"!==
f.type(g))a(c,g);else for(b in g)M(c+"["+b+"]",g[b],r,a)}function v(){try{return new a.XMLHttpRequest}catch(c){}}function da(c){return f.isWindow(c)?c:9===c.nodeType?c.defaultView||c.parentWindow:!1}var C=[],G=C.slice,oa=C.concat,T=C.push,ya=C.indexOf,Va={},ra=Va.toString,ta=Va.hasOwnProperty,u={},f=function(c,g){return new f.fn.init(c,g)},Gb=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ha=/^-ms-/,Ha=/-([\da-z])/gi,kb=function(c,g){return g.toUpperCase()};f.fn=f.prototype={jquery:"1.11.2",constructor:f,selector:"",
length:0,toArray:function(){return G.call(this)},get:function(c){return null!=c?0>c?this[c+this.length]:this[c]:G.call(this)},pushStack:function(c){c=f.merge(this.constructor(),c);return c.prevObject=this,c.context=this.context,c},each:function(c,g){return f.each(this,c,g)},map:function(c){return this.pushStack(f.map(this,function(g,f){return c.call(g,f,g)}))},slice:function(){return this.pushStack(G.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(c){var g=
this.length;c=+c+(0>c?g:0);return this.pushStack(0<=c&&g>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:T,sort:C.sort,splice:C.splice};f.extend=f.fn.extend=function(){var c,g,r,a,b,d,e=arguments[0]||{},k=1,l=arguments.length,s=!1;"boolean"==typeof e&&(s=e,e=arguments[k]||{},k++);"object"==typeof e||f.isFunction(e)||(e={});for(k===l&&(e=this,k--);l>k;k++)if(null!=(b=arguments[k]))for(a in b)c=e[a],r=b[a],e!==r&&(s&&r&&(f.isPlainObject(r)||(g=f.isArray(r)))?(g?
(g=!1,d=c&&f.isArray(c)?c:[]):d=c&&f.isPlainObject(c)?c:{},e[a]=f.extend(s,d,r)):void 0!==r&&(e[a]=r));return e};f.extend({expando:"jQuery"+("1.11.2"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(c){throw Error(c);},noop:function(){},isFunction:function(c){return"function"===f.type(c)},isArray:Array.isArray||function(c){return"array"===f.type(c)},isWindow:function(c){return null!=c&&c==c.window},isNumeric:function(c){return!f.isArray(c)&&0<=c-parseFloat(c)+1},isEmptyObject:function(c){for(var g in c)return!1;
return!0},isPlainObject:function(c){var g;if(!c||"object"!==f.type(c)||c.nodeType||f.isWindow(c))return!1;try{if(c.constructor&&!ta.call(c,"constructor")&&!ta.call(c.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(u.ownLast)for(g in c)return ta.call(c,g);for(g in c);return void 0===g||ta.call(c,g)},type:function(c){return null==c?c+"":"object"==typeof c||"function"==typeof c?Va[ra.call(c)]||"object":typeof c},globalEval:function(c){c&&f.trim(c)&&(a.execScript||function(c){a.eval.call(a,
c)})(c)},camelCase:function(c){return c.replace(ha,"ms-").replace(Ha,kb)},nodeName:function(c,g){return c.nodeName&&c.nodeName.toLowerCase()===g.toLowerCase()},each:function(c,g,f){var a,b=0,d=c.length,e=p(c);if(f)if(e)for(;d>b&&(a=g.apply(c[b],f),!1!==a);b++);else for(b in c){if(a=g.apply(c[b],f),!1===a)break}else if(e)for(;d>b&&(a=g.call(c[b],b,c[b]),!1!==a);b++);else for(b in c)if(a=g.call(c[b],b,c[b]),!1===a)break;return c},trim:function(c){return null==c?"":(c+"").replace(Gb,"")},makeArray:function(c,
g){var a=g||[];return null!=c&&(p(Object(c))?f.merge(a,"string"==typeof c?[c]:c):T.call(a,c)),a},inArray:function(c,g,f){var a;if(g){if(ya)return ya.call(g,c,f);a=g.length;for(f=f?0>f?Math.max(0,a+f):f:0;a>f;f++)if(f in g&&g[f]===c)return f}return-1},merge:function(c,g){for(var f=+g.length,a=0,b=c.length;f>a;)c[b++]=g[a++];if(f!==f)for(;void 0!==g[a];)c[b++]=g[a++];return c.length=b,c},grep:function(c,g,f){for(var a=[],b=0,d=c.length,e=!f;d>b;b++)f=!g(c[b],b),f!==e&&a.push(c[b]);return a},map:function(c,
g,f){var a,b=0,d=c.length,e=[];if(p(c))for(;d>b;b++)a=g(c[b],b,f),null!=a&&e.push(a);else for(b in c)a=g(c[b],b,f),null!=a&&e.push(a);return oa.apply([],e)},guid:1,proxy:function(c,g){var a,b,d;return"string"==typeof g&&(d=c[g],g=c,c=d),f.isFunction(c)?(a=G.call(arguments,2),b=function(){return c.apply(g||this,a.concat(G.call(arguments)))},b.guid=c.guid=c.guid||f.guid++,b):void 0},now:function(){return+new Date},support:u});f.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),
function(c,g){Va["[object "+g+"]"]=g.toLowerCase()});var ua=function(c){function g(c,g,f,a){var r,b,d,e,B;if((g?g.ownerDocument||g:D)!==T&&$(g),g=g||T,f=f||[],e=g.nodeType,"string"!=typeof c||!c||1!==e&&9!==e&&11!==e)return f;if(!a&&F){if(11!==e&&(r=Ca.exec(c)))if(d=r[1])if(9===e){if(b=g.getElementById(d),!b||!b.parentNode)return f;if(b.id===d)return f.push(b),f}else{if(g.ownerDocument&&(b=g.ownerDocument.getElementById(d))&&ra(g,b)&&b.id===d)return f.push(b),f}else{if(r[2])return Ba.apply(f,g.getElementsByTagName(c)),
f;if((d=r[3])&&G.getElementsByClassName)return Ba.apply(f,g.getElementsByClassName(d)),f}if(G.qsa&&(!la||!la.test(c))){if(b=r=z,d=g,B=1!==e&&c,1===e&&"object"!==g.nodeName.toLowerCase()){e=C(c);(r=g.getAttribute("id"))?b=r.replace(va,"\\$\x26"):g.setAttribute("id",b);b="[id\x3d'"+b+"'] ";for(d=e.length;d--;)e[d]=b+v(e[d]);d=xa.test(c)&&t(g.parentNode)||g;B=e.join(",")}if(B)try{return Ba.apply(f,d.querySelectorAll(B)),f}catch(N){}finally{r||g.removeAttribute("id")}}}return oa(c.replace(S,"$1"),g,f,
a)}function f(){function c(f,a){return g.push(f+" ")>w.cacheLength&&delete c[g.shift()],c[f+" "]=a}var g=[];return c}function a(c){return c[z]=!0,c}function b(c){var g=T.createElement("div");try{return!!c(g)}catch(f){return!1}finally{g.parentNode&&g.parentNode.removeChild(g)}}function d(c,g){for(var f=c.split("|"),a=c.length;a--;)w.attrHandle[f[a]]=g}function e(c,g){var f=g&&c,a=f&&1===c.nodeType&&1===g.nodeType&&(~g.sourceIndex||-2147483648)-(~c.sourceIndex||-2147483648);if(a)return a;if(f)for(;f=
f.nextSibling;)if(f===g)return-1;return c?1:-1}function k(c){return function(g){return"input"===g.nodeName.toLowerCase()&&g.type===c}}function l(c){return function(g){var f=g.nodeName.toLowerCase();return("input"===f||"button"===f)&&g.type===c}}function s(c){return a(function(g){return g=+g,a(function(f,a){for(var r,b=c([],f.length,g),d=b.length;d--;)f[r=b[d]]&&(f[r]=!(a[r]=f[r]))})})}function t(c){return c&&"undefined"!=typeof c.getElementsByTagName&&c}function x(){}function v(c){for(var g=0,f=c.length,
a="";f>g;g++)a+=c[g].value;return a}function m(c,g,f){var a=g.dir,r=f&&"parentNode"===a,b=Ha++;return g.first?function(g,f,B){for(;g=g[a];)if(1===g.nodeType||r)return c(g,f,B)}:function(g,f,B){var N,d,e=[ya,b];if(B)for(;g=g[a];){if((1===g.nodeType||r)&&c(g,f,B))return!0}else for(;g=g[a];)if(1===g.nodeType||r){if(d=g[z]||(g[z]={}),(N=d[a])&&N[0]===ya&&N[1]===b)return e[2]=N[2];if(d[a]=e,e[2]=c(g,f,B))return!0}}}function h(c){return 1<c.length?function(g,f,a){for(var r=c.length;r--;)if(!c[r](g,f,a))return!1;
return!0}:c[0]}function M(c,g,f,a,r){for(var b,d=[],e=0,B=c.length,N=null!=g;B>e;e++)(b=c[e])&&(!f||f(b,a,r))&&(d.push(b),N&&g.push(e));return d}function Z(c,f,r,b,d,e){return b&&!b[z]&&(b=Z(b)),d&&!d[z]&&(d=Z(d,e)),a(function(a,e,B,N){var ea,k,L=[],l=[],s=e.length,t;if(!(t=a)){t=f||"*";for(var R=B.nodeType?[B]:B,x=[],v=0,m=R.length;m>v;v++)g(t,R[v],x);t=x}t=!c||!a&&f?t:M(t,L,c,B,N);R=r?d||(a?c:s||b)?[]:e:t;if(r&&r(t,R,B,N),b)for(ea=M(R,l),b(ea,[],B,N),B=ea.length;B--;)(k=ea[B])&&(R[l[B]]=!(t[l[B]]=
k));if(a){if(d||c){if(d){ea=[];for(B=R.length;B--;)(k=R[B])&&ea.push(t[B]=k);d(null,R=[],ea,N)}for(B=R.length;B--;)(k=R[B])&&-1<(ea=d?ua(a,k):L[B])&&(a[ea]=!(e[ea]=k))}}else R=M(R===e?R.splice(s,R.length):R),d?d(null,e,R,N):Ba.apply(e,R)})}function n(c){var g,f,a,r=c.length,b=w.relative[c[0].type];f=b||w.relative[" "];for(var d=b?1:0,e=m(function(B){return B===g},f,!0),B=m(function(B){return-1<ua(g,B)},f,!0),N=[function(c,N,f){c=!b&&(f||N!==q)||((g=N).nodeType?e(c,N,f):B(c,N,f));return g=null,c}];r>
d;d++)if(f=w.relative[c[d].type])N=[m(h(N),f)];else{if(f=w.filter[c[d].type].apply(null,c[d].matches),f[z]){for(a=++d;r>a&&!w.relative[c[a].type];a++);return Z(1<d&&h(N),1<d&&v(c.slice(0,d-1).concat({value:" "===c[d-2].type?"*":""})).replace(S,"$1"),f,a>d&&n(c.slice(d,a)),r>a&&n(c=c.slice(a)),r>a&&v(c))}N.push(f)}return h(N)}function J(c,f){var r=0<f.length,b=0<c.length,d=function(a,d,e,B,N){var ea,k,L,l=0,s="0",R=a&&[],t=[],x=q,v=a||b&&w.find.TAG("*",N),m=ya+=null==x?1:Math.random()||.1,h=v.length;
for(N&&(q=d!==T&&d);s!==h&&null!=(ea=v[s]);s++){if(b&&ea){for(k=0;L=c[k++];)if(L(ea,d,e)){B.push(ea);break}N&&(ya=m)}r&&((ea=!L&&ea)&&l--,a&&R.push(ea))}if(l+=s,r&&s!==l){for(k=0;L=f[k++];)L(R,t,d,e);if(a){if(0<l)for(;s--;)R[s]||t[s]||(t[s]=P.call(B));t=M(t)}Ba.apply(B,t);N&&!a&&0<t.length&&1<l+f.length&&g.uniqueSort(B)}return N&&(ya=m,q=x),R};return r?a(d):d}var ia,G,w,da,p,C,ha,oa,q,na,u,$,T,I,F,la,y,E,ra,z="sizzle"+1*new Date,D=c.document,ya=0,Ha=0,kb=f(),Va=f(),ta=f(),H=function(c,g){return c===
g&&(u=!0),0},K={}.hasOwnProperty,O=[],P=O.pop,Hb=O.push,Ba=O.push,X=O.slice,ua=function(c,g){for(var f=0,a=c.length;a>f;f++)if(c[f]===g)return f;return-1},V="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w","w#"),W="\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?\x3d)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+V+"))|)[\\x20\\t\\r\\n\\f]*\\]",Y=":((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+
W+")*)|.*)\\)|)",fa=RegExp("[\\x20\\t\\r\\n\\f]+","g"),S=RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),Gb=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,ma=/^[\x20\t\r\n\f]*([>+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,ca=RegExp("\x3d[\\x20\\t\\r\\n\\f]*([^\\]'\"]*?)[\\x20\\t\\r\\n\\f]*\\]","g"),ga=new RegExp(Y),pa=new RegExp("^"+V+"$"),ka={ID:/^#((?:\\.|[\w-]|[^\x00-\xa0])+)/,CLASS:/^\.((?:\\.|[\w-]|[^\x00-\xa0])+)/,TAG:new RegExp("^("+"(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w",
"w*")+")"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+Y),CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i,bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},
qa=/^(?:input|select|textarea|button)$/i,Xa=/^h\d$/i,ja=/^[^{]+\{\s*\[native \w/,Ca=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,xa=/[+~]/,va=/'|\\/g,aa=RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)","ig"),ba=function(c,g,f){c="0x"+g-65536;return c!==c||f?g:0>c?String.fromCharCode(c+65536):String.fromCharCode(c>>10|55296,1023&c|56320)},wa=function(){$()};try{Ba.apply(O=X.call(D.childNodes),D.childNodes),O[D.childNodes.length].nodeType}catch(Aa){Ba={apply:O.length?function(c,g){Hb.apply(c,
X.call(g))}:function(c,g){for(var f=c.length,a=0;c[f++]=g[a++];);c.length=f-1}}}G=g.support={};p=g.isXML=function(c){return(c=c&&(c.ownerDocument||c).documentElement)?"HTML"!==c.nodeName:!1};$=g.setDocument=function(c){var g,f,a=c?c.ownerDocument||c:D;return a!==T&&9===a.nodeType&&a.documentElement?(T=a,I=a.documentElement,f=a.defaultView,f&&f!==f.top&&(f.addEventListener?f.addEventListener("unload",wa,!1):f.attachEvent&&f.attachEvent("onunload",wa)),F=!p(a),G.attributes=b(function(c){return c.className=
"i",!c.getAttribute("className")}),G.getElementsByTagName=b(function(c){return c.appendChild(a.createComment("")),!c.getElementsByTagName("*").length}),G.getElementsByClassName=ja.test(a.getElementsByClassName),G.getById=b(function(c){return I.appendChild(c).id=z,!a.getElementsByName||!a.getElementsByName(z).length}),G.getById?(w.find.ID=function(c,g){if("undefined"!=typeof g.getElementById&&F){var f=g.getElementById(c);return f&&f.parentNode?[f]:[]}},w.filter.ID=function(c){var g=c.replace(aa,ba);
return function(c){return c.getAttribute("id")===g}}):(delete w.find.ID,w.filter.ID=function(c){var g=c.replace(aa,ba);return function(c){return(c="undefined"!=typeof c.getAttributeNode&&c.getAttributeNode("id"))&&c.value===g}}),w.find.TAG=G.getElementsByTagName?function(c,g){return"undefined"!=typeof g.getElementsByTagName?g.getElementsByTagName(c):G.qsa?g.querySelectorAll(c):void 0}:function(c,g){var f,a=[],B=0,N=g.getElementsByTagName(c);if("*"===c){for(;f=N[B++];)1===f.nodeType&&a.push(f);return a}return N},
w.find.CLASS=G.getElementsByClassName&&function(c,g){return F?g.getElementsByClassName(c):void 0},y=[],la=[],(G.qsa=ja.test(a.querySelectorAll))&&(b(function(c){I.appendChild(c).innerHTML="\x3ca id\x3d'"+z+"'\x3e\x3c/a\x3e\x3cselect id\x3d'"+z+"-\f]' msallowcapture\x3d''\x3e\x3coption selected\x3d''\x3e\x3c/option\x3e\x3c/select\x3e";c.querySelectorAll("[msallowcapture^\x3d'']").length&&la.push("[*^$]\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")");c.querySelectorAll("[selected]").length||la.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)");
c.querySelectorAll("[id~\x3d"+z+"-]").length||la.push("~\x3d");c.querySelectorAll(":checked").length||la.push(":checked");c.querySelectorAll("a#"+z+"+*").length||la.push(".#.+[+~]")}),b(function(c){var g=a.createElement("input");g.setAttribute("type","hidden");c.appendChild(g).setAttribute("name","D");c.querySelectorAll("[name\x3dd]").length&&la.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?\x3d");c.querySelectorAll(":enabled").length||la.push(":enabled",":disabled");c.querySelectorAll("*,:x");la.push(",.*:")})),
(G.matchesSelector=ja.test(E=I.matches||I.webkitMatchesSelector||I.mozMatchesSelector||I.oMatchesSelector||I.msMatchesSelector))&&b(function(c){G.disconnectedMatch=E.call(c,"div");E.call(c,"[s!\x3d'']:x");y.push("!\x3d",Y)}),la=la.length&&new RegExp(la.join("|")),y=y.length&&new RegExp(y.join("|")),g=ja.test(I.compareDocumentPosition),ra=g||ja.test(I.contains)?function(c,g){var f=9===c.nodeType?c.documentElement:c,a=g&&g.parentNode;return c===a||!(!a||1!==a.nodeType||!(f.contains?f.contains(a):c.compareDocumentPosition&&
16&c.compareDocumentPosition(a)))}:function(c,g){if(g)for(;g=g.parentNode;)if(g===c)return!0;return!1},H=g?function(c,g){if(c===g)return u=!0,0;var f=!c.compareDocumentPosition-!g.compareDocumentPosition;return f?f:(f=(c.ownerDocument||c)===(g.ownerDocument||g)?c.compareDocumentPosition(g):1,1&f||!G.sortDetached&&g.compareDocumentPosition(c)===f?c===a||c.ownerDocument===D&&ra(D,c)?-1:g===a||g.ownerDocument===D&&ra(D,g)?1:na?ua(na,c)-ua(na,g):0:4&f?-1:1)}:function(c,g){if(c===g)return u=!0,0;var f,
r=0;f=c.parentNode;var B=g.parentNode,N=[c],b=[g];if(!f||!B)return c===a?-1:g===a?1:f?-1:B?1:na?ua(na,c)-ua(na,g):0;if(f===B)return e(c,g);for(f=c;f=f.parentNode;)N.unshift(f);for(f=g;f=f.parentNode;)b.unshift(f);for(;N[r]===b[r];)r++;return r?e(N[r],b[r]):N[r]===D?-1:b[r]===D?1:0},a):T};g.matches=function(c,f){return g(c,null,null,f)};g.matchesSelector=function(c,f){if((c.ownerDocument||c)!==T&&$(c),f=f.replace(ca,"\x3d'$1']"),!(!G.matchesSelector||!F||y&&y.test(f)||la&&la.test(f)))try{var a=E.call(c,
f);if(a||G.disconnectedMatch||c.document&&11!==c.document.nodeType)return a}catch(r){}return 0<g(f,T,null,[c]).length};g.contains=function(c,g){return(c.ownerDocument||c)!==T&&$(c),ra(c,g)};g.attr=function(c,g){(c.ownerDocument||c)!==T&&$(c);var f=w.attrHandle[g.toLowerCase()],f=f&&K.call(w.attrHandle,g.toLowerCase())?f(c,g,!F):void 0;return void 0!==f?f:G.attributes||!F?c.getAttribute(g):(f=c.getAttributeNode(g))&&f.specified?f.value:null};g.error=function(c){throw Error("Syntax error, unrecognized expression: "+
c);};g.uniqueSort=function(c){var g,f=[],a=0,r=0;if(u=!G.detectDuplicates,na=!G.sortStable&&c.slice(0),c.sort(H),u){for(;g=c[r++];)g===c[r]&&(a=f.push(r));for(;a--;)c.splice(f[a],1)}return na=null,c};da=g.getText=function(c){var g,f="",a=0;if(g=c.nodeType)if(1===g||9===g||11===g){if("string"==typeof c.textContent)return c.textContent;for(c=c.firstChild;c;c=c.nextSibling)f+=da(c)}else{if(3===g||4===g)return c.nodeValue}else for(;g=c[a++];)f+=da(g);return f};w=g.selectors={cacheLength:50,createPseudo:a,
match:ka,attrHandle:{},find:{},relative:{"\x3e":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(c){return c[1]=c[1].replace(aa,ba),c[3]=(c[3]||c[4]||c[5]||"").replace(aa,ba),"~\x3d"===c[2]&&(c[3]=" "+c[3]+" "),c.slice(0,4)},CHILD:function(c){return c[1]=c[1].toLowerCase(),"nth"===c[1].slice(0,3)?(c[3]||g.error(c[0]),c[4]=+(c[4]?c[5]+(c[6]||1):2*("even"===c[3]||"odd"===c[3])),c[5]=+(c[7]+c[8]||"odd"===c[3])):
c[3]&&g.error(c[0]),c},PSEUDO:function(c){var g,f=!c[6]&&c[2];return ka.CHILD.test(c[0])?null:(c[3]?c[2]=c[4]||c[5]||"":f&&ga.test(f)&&(g=C(f,!0))&&(g=f.indexOf(")",f.length-g)-f.length)&&(c[0]=c[0].slice(0,g),c[2]=f.slice(0,g)),c.slice(0,3))}},filter:{TAG:function(c){var g=c.replace(aa,ba).toLowerCase();return"*"===c?function(){return!0}:function(c){return c.nodeName&&c.nodeName.toLowerCase()===g}},CLASS:function(c){var g=kb[c+" "];return g||(g=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+c+"([\\x20\\t\\r\\n\\f]|$)"))&&
kb(c,function(c){return g.test("string"==typeof c.className&&c.className||"undefined"!=typeof c.getAttribute&&c.getAttribute("class")||"")})},ATTR:function(c,f,a){return function(r){r=g.attr(r,c);return null==r?"!\x3d"===f:f?(r+="","\x3d"===f?r===a:"!\x3d"===f?r!==a:"^\x3d"===f?a&&0===r.indexOf(a):"*\x3d"===f?a&&-1<r.indexOf(a):"$\x3d"===f?a&&r.slice(-a.length)===a:"~\x3d"===f?-1<(" "+r.replace(fa," ")+" ").indexOf(a):"|\x3d"===f?r===a||r.slice(0,a.length+1)===a+"-":!1):!0}},CHILD:function(c,g,f,
a,r){var b="nth"!==c.slice(0,3),d="last"!==c.slice(-4),e="of-type"===g;return 1===a&&0===r?function(B){return!!B.parentNode}:function(B,g,f){var k,L,l,s,R;g=b!==d?"nextSibling":"previousSibling";var t=B.parentNode,x=e&&B.nodeName.toLowerCase();f=!f&&!e;if(t){if(b){for(;g;){for(L=B;L=L[g];)if(e?L.nodeName.toLowerCase()===x:1===L.nodeType)return!1;R=g="only"===c&&!R&&"nextSibling"}return!0}if(R=[d?t.firstChild:t.lastChild],d&&f)for(f=t[z]||(t[z]={}),k=f[c]||[],s=k[0]===ya&&k[1],l=k[0]===ya&&k[2],L=
s&&t.childNodes[s];L=++s&&L&&L[g]||(l=s=0)||R.pop();){if(1===L.nodeType&&++l&&L===B){f[c]=[ya,s,l];break}}else if(f&&(k=(B[z]||(B[z]={}))[c])&&k[0]===ya)l=k[1];else for(;(L=++s&&L&&L[g]||(l=s=0)||R.pop())&&((e?L.nodeName.toLowerCase()!==x:1!==L.nodeType)||!++l||(f&&((L[z]||(L[z]={}))[c]=[ya,l]),L!==B)););return l-=r,l===a||0===l%a&&0<=l/a}}},PSEUDO:function(c,f){var r,b=w.pseudos[c]||w.setFilters[c.toLowerCase()]||g.error("unsupported pseudo: "+c);return b[z]?b(f):1<b.length?(r=[c,c,"",f],w.setFilters.hasOwnProperty(c.toLowerCase())?
a(function(c,g){for(var a,r=b(c,f),B=r.length;B--;)a=ua(c,r[B]),c[a]=!(g[a]=r[B])}):function(c){return b(c,0,r)}):b}},pseudos:{not:a(function(c){var g=[],f=[],r=ha(c.replace(S,"$1"));return r[z]?a(function(c,g,f,a){var B;f=r(c,null,a,[]);for(a=c.length;a--;)(B=f[a])&&(c[a]=!(g[a]=B))}):function(c,a,b){return g[0]=c,r(g,null,b,f),g[0]=null,!f.pop()}}),has:a(function(c){return function(f){return 0<g(c,f).length}}),contains:a(function(c){return c=c.replace(aa,ba),function(g){return-1<(g.textContent||
g.innerText||da(g)).indexOf(c)}}),lang:a(function(c){return pa.test(c||"")||g.error("unsupported lang: "+c),c=c.replace(aa,ba).toLowerCase(),function(g){var f;do if(f=F?g.lang:g.getAttribute("xml:lang")||g.getAttribute("lang"))return f=f.toLowerCase(),f===c||0===f.indexOf(c+"-");while((g=g.parentNode)&&1===g.nodeType);return!1}}),target:function(g){var f=c.location&&c.location.hash;return f&&f.slice(1)===g.id},root:function(c){return c===I},focus:function(c){return c===T.activeElement&&(!T.hasFocus||
T.hasFocus())&&!!(c.type||c.href||~c.tabIndex)},enabled:function(c){return!1===c.disabled},disabled:function(c){return!0===c.disabled},checked:function(c){var g=c.nodeName.toLowerCase();return"input"===g&&!!c.checked||"option"===g&&!!c.selected},selected:function(c){return c.parentNode&&c.parentNode.selectedIndex,!0===c.selected},empty:function(c){for(c=c.firstChild;c;c=c.nextSibling)if(6>c.nodeType)return!1;return!0},parent:function(c){return!w.pseudos.empty(c)},header:function(c){return Xa.test(c.nodeName)},
input:function(c){return qa.test(c.nodeName)},button:function(c){var g=c.nodeName.toLowerCase();return"input"===g&&"button"===c.type||"button"===g},text:function(c){var g;return"input"===c.nodeName.toLowerCase()&&"text"===c.type&&(null==(g=c.getAttribute("type"))||"text"===g.toLowerCase())},first:s(function(){return[0]}),last:s(function(c,g){return[g-1]}),eq:s(function(c,g,f){return[0>f?f+g:f]}),even:s(function(c,g){for(var f=0;g>f;f+=2)c.push(f);return c}),odd:s(function(c,g){for(var f=1;g>f;f+=
2)c.push(f);return c}),lt:s(function(c,g,f){for(g=0>f?f+g:f;0<=--g;)c.push(g);return c}),gt:s(function(c,g,f){for(f=0>f?f+g:f;++f<g;)c.push(f);return c})}};w.pseudos.nth=w.pseudos.eq;for(ia in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[ia]=k(ia);for(ia in{submit:!0,reset:!0})w.pseudos[ia]=l(ia);x.prototype=w.filters=w.pseudos;w.setFilters=new x;C=g.tokenize=function(c,f){var a,r,b,d,e,k,B;if(e=Va[c+" "])return f?0:e.slice(0);e=c;k=[];for(B=w.preFilter;e;){a&&!(r=Gb.exec(e))||(r&&
(e=e.slice(r[0].length)||e),k.push(b=[]));a=!1;(r=ma.exec(e))&&(a=r.shift(),b.push({value:a,type:r[0].replace(S," ")}),e=e.slice(a.length));for(d in w.filter)!(r=ka[d].exec(e))||B[d]&&!(r=B[d](r))||(a=r.shift(),b.push({value:a,type:d,matches:r}),e=e.slice(a.length));if(!a)break}return f?e.length:e?g.error(c):Va(c,k).slice(0)};return ha=g.compile=function(c,g){var f,a=[],r=[],b=ta[c+" "];if(!b){g||(g=C(c));for(f=g.length;f--;)b=n(g[f]),b[z]?a.push(b):r.push(b);b=ta(c,J(r,a));b.selector=c}return b},
oa=g.select=function(c,g,f,a){var r,b,d,e,B,N="function"==typeof c&&c,ea=!a&&C(c=N.selector||c);if(f=f||[],1===ea.length){if(b=ea[0]=ea[0].slice(0),2<b.length&&"ID"===(d=b[0]).type&&G.getById&&9===g.nodeType&&F&&w.relative[b[1].type]){if(g=(w.find.ID(d.matches[0].replace(aa,ba),g)||[])[0],!g)return f;N&&(g=g.parentNode);c=c.slice(b.shift().value.length)}for(r=ka.needsContext.test(c)?0:b.length;r--&&(d=b[r],!w.relative[e=d.type]);)if((B=w.find[e])&&(a=B(d.matches[0].replace(aa,ba),xa.test(b[0].type)&&
t(g.parentNode)||g))){if(b.splice(r,1),c=a.length&&v(b),!c)return Ba.apply(f,a),f;break}}return(N||ha(c,ea))(a,g,!F,f,xa.test(c)&&t(g.parentNode)||g),f},G.sortStable=z.split("").sort(H).join("")===z,G.detectDuplicates=!!u,$(),G.sortDetached=b(function(c){return 1&c.compareDocumentPosition(T.createElement("div"))}),b(function(c){return c.innerHTML="\x3ca href\x3d'#'\x3e\x3c/a\x3e","#"===c.firstChild.getAttribute("href")})||d("type|href|height|width",function(c,g,f){return f?void 0:c.getAttribute(g,
"type"===g.toLowerCase()?1:2)}),G.attributes&&b(function(c){return c.innerHTML="\x3cinput/\x3e",c.firstChild.setAttribute("value",""),""===c.firstChild.getAttribute("value")})||d("value",function(c,g,f){return f||"input"!==c.nodeName.toLowerCase()?void 0:c.defaultValue}),b(function(c){return null==c.getAttribute("disabled")})||d("checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",function(c,g,f){var a;return f?void 0:!0===c[g]?
g.toLowerCase():(a=c.getAttributeNode(g))&&a.specified?a.value:null}),g}(a);f.find=ua;f.expr=ua.selectors;f.expr[":"]=f.expr.pseudos;f.unique=ua.uniqueSort;f.text=ua.getText;f.isXMLDoc=ua.isXML;f.contains=ua.contains;var O=f.expr.match.needsContext,Zb=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Pb=/^.[^:#\[\.,]*$/;f.filter=function(c,g,a){var b=g[0];return a&&(c=":not("+c+")"),1===g.length&&1===b.nodeType?f.find.matchesSelector(b,c)?[b]:[]:f.find.matches(c,f.grep(g,function(c){return 1===c.nodeType}))};f.fn.extend({find:function(c){var g,
a=[],b=this,d=b.length;if("string"!=typeof c)return this.pushStack(f(c).filter(function(){for(g=0;d>g;g++)if(f.contains(b[g],this))return!0}));for(g=0;d>g;g++)f.find(c,b[g],a);return a=this.pushStack(1<d?f.unique(a):a),a.selector=this.selector?this.selector+" "+c:c,a},filter:function(c){return this.pushStack(h(this,c||[],!1))},not:function(c){return this.pushStack(h(this,c||[],!0))},is:function(c){return!!h(this,"string"==typeof c&&O.test(c)?f(c):c||[],!1).length}});var Xa,E=a.document,$b=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;
(f.fn.init=function(c,g){var a,b;if(!c)return this;if("string"==typeof c){if(a="\x3c"===c.charAt(0)&&"\x3e"===c.charAt(c.length-1)&&3<=c.length?[null,c,null]:$b.exec(c),!a||!a[1]&&g)return!g||g.jquery?(g||Xa).find(c):this.constructor(g).find(c);if(a[1]){if(g=g instanceof f?g[0]:g,f.merge(this,f.parseHTML(a[1],g&&g.nodeType?g.ownerDocument||g:E,!0)),Zb.test(a[1])&&f.isPlainObject(g))for(a in g)f.isFunction(this[a])?this[a](g[a]):this.attr(a,g[a]);return this}if(b=E.getElementById(a[2]),b&&b.parentNode){if(b.id!==
a[2])return Xa.find(c);this.length=1;this[0]=b}return this.context=E,this.selector=c,this}return c.nodeType?(this.context=this[0]=c,this.length=1,this):f.isFunction(c)?"undefined"!=typeof Xa.ready?Xa.ready(c):c(f):(void 0!==c.selector&&(this.selector=c.selector,this.context=c.context),f.makeArray(c,this))}).prototype=f.fn;Xa=f(E);var ac=/^(?:parents|prev(?:Until|All))/,bc={children:!0,contents:!0,next:!0,prev:!0};f.extend({dir:function(c,g,a){var b=[];for(c=c[g];c&&9!==c.nodeType&&(void 0===a||1!==
c.nodeType||!f(c).is(a));)1===c.nodeType&&b.push(c),c=c[g];return b},sibling:function(c,g){for(var f=[];c;c=c.nextSibling)1===c.nodeType&&c!==g&&f.push(c);return f}});f.fn.extend({has:function(c){var g,a=f(c,this),b=a.length;return this.filter(function(){for(g=0;b>g;g++)if(f.contains(this,a[g]))return!0})},closest:function(c,g){for(var a,b=0,d=this.length,e=[],k=O.test(c)||"string"!=typeof c?f(c,g||this.context):0;d>b;b++)for(a=this[b];a&&a!==g;a=a.parentNode)if(11>a.nodeType&&(k?-1<k.index(a):1===
a.nodeType&&f.find.matchesSelector(a,c))){e.push(a);break}return this.pushStack(1<e.length?f.unique(e):e)},index:function(c){return c?"string"==typeof c?f.inArray(this[0],f(c)):f.inArray(c.jquery?c[0]:c,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(c,g){return this.pushStack(f.unique(f.merge(this.get(),f(c,g))))},addBack:function(c){return this.add(null==c?this.prevObject:this.prevObject.filter(c))}});f.each({parent:function(c){return(c=c.parentNode)&&11!==c.nodeType?
c:null},parents:function(c){return f.dir(c,"parentNode")},parentsUntil:function(c,g,a){return f.dir(c,"parentNode",a)},next:function(c){return m(c,"nextSibling")},prev:function(c){return m(c,"previousSibling")},nextAll:function(c){return f.dir(c,"nextSibling")},prevAll:function(c){return f.dir(c,"previousSibling")},nextUntil:function(c,g,a){return f.dir(c,"nextSibling",a)},prevUntil:function(c,g,a){return f.dir(c,"previousSibling",a)},siblings:function(c){return f.sibling((c.parentNode||{}).firstChild,
c)},children:function(c){return f.sibling(c.firstChild)},contents:function(c){return f.nodeName(c,"iframe")?c.contentDocument||c.contentWindow.document:f.merge([],c.childNodes)}},function(c,g){f.fn[c]=function(a,b){var d=f.map(this,g,a);return"Until"!==c.slice(-5)&&(b=a),b&&"string"==typeof b&&(d=f.filter(b,d)),1<this.length&&(bc[c]||(d=f.unique(d)),ac.test(c)&&(d=d.reverse())),this.pushStack(d)}});var xa=/\S+/g,Ca={};f.Callbacks=function(c){c="string"==typeof c?Ca[c]||e(c):f.extend({},c);var g,a,
b,d,k,l,s=[],t=!c.once&&[],x=function(f){a=c.memory&&f;b=!0;k=l||0;l=0;d=s.length;for(g=!0;s&&d>k;k++)if(!1===s[k].apply(f[0],f[1])&&c.stopOnFalse){a=!1;break}g=!1;s&&(t?t.length&&x(t.shift()):a?s=[]:v.disable())},v={add:function(){if(s){var b=s.length;!function xc(g){f.each(g,function(g,a){var b=f.type(a);"function"===b?c.unique&&v.has(a)||s.push(a):a&&a.length&&"string"!==b&&xc(a)})}(arguments);g?d=s.length:a&&(l=b,x(a))}return this},remove:function(){return s&&f.each(arguments,function(c,a){for(var b;-1<
(b=f.inArray(a,s,b));)s.splice(b,1),g&&(d>=b&&d--,k>=b&&k--)}),this},has:function(c){return c?-1<f.inArray(c,s):!(!s||!s.length)},empty:function(){return s=[],d=0,this},disable:function(){return s=t=a=void 0,this},disabled:function(){return!s},lock:function(){return t=void 0,a||v.disable(),this},locked:function(){return!t},fireWith:function(c,f){return!s||b&&!t||(f=f||[],f=[c,f.slice?f.slice():f],g?t.push(f):x(f)),this},fire:function(){return v.fireWith(this,arguments),this},fired:function(){return!!b}};
return v};f.extend({Deferred:function(c){var g=[["resolve","done",f.Callbacks("once memory"),"resolved"],["reject","fail",f.Callbacks("once memory"),"rejected"],["notify","progress",f.Callbacks("memory")]],a="pending",b={state:function(){return a},always:function(){return d.done(arguments).fail(arguments),this},then:function(){var c=arguments;return f.Deferred(function(a){f.each(g,function(g,r){var e=f.isFunction(c[g])&&c[g];d[r[1]](function(){var c=e&&e.apply(this,arguments);c&&f.isFunction(c.promise)?
c.promise().done(a.resolve).fail(a.reject).progress(a.notify):a[r[0]+"With"](this===b?a.promise():this,e?[c]:arguments)})});c=null}).promise()},promise:function(c){return null!=c?f.extend(c,b):b}},d={};return b.pipe=b.then,f.each(g,function(c,f){var e=f[2],k=f[3];b[f[1]]=e.add;k&&e.add(function(){a=k},g[1^c][2].disable,g[2][2].lock);d[f[0]]=function(){return d[f[0]+"With"](this===d?b:this,arguments),this};d[f[0]+"With"]=e.fireWith}),b.promise(d),c&&c.call(d,d),d},when:function(c){var g=0,a=G.call(arguments),
b=a.length,d=1!==b||c&&f.isFunction(c.promise)?b:0,e=1===d?c:f.Deferred(),k=function(c,g,f){return function(a){g[c]=this;f[c]=1<arguments.length?G.call(arguments):a;f===l?e.notifyWith(g,f):--d||e.resolveWith(g,f)}},l,s,t;if(1<b)for(l=Array(b),s=Array(b),t=Array(b);b>g;g++)a[g]&&f.isFunction(a[g].promise)?a[g].promise().done(k(g,t,a)).fail(e.reject).progress(k(g,s,l)):--d;return d||e.resolveWith(t,a),e.promise()}});var va;f.fn.ready=function(c){return f.ready.promise().done(c),this};f.extend({isReady:!1,
readyWait:1,holdReady:function(c){c?f.readyWait++:f.ready(!0)},ready:function(c){if(!0===c?!--f.readyWait:!f.isReady){if(!E.body)return setTimeout(f.ready);f.isReady=!0;!0!==c&&0<--f.readyWait||(va.resolveWith(E,[f]),f.fn.triggerHandler&&(f(E).triggerHandler("ready"),f(E).off("ready")))}}});f.ready.promise=function(c){if(!va)if(va=f.Deferred(),"complete"===E.readyState)setTimeout(f.ready);else if(E.addEventListener)E.addEventListener("DOMContentLoaded",b,!1),a.addEventListener("load",b,!1);else{E.attachEvent("onreadystatechange",
b);a.attachEvent("onload",b);var g=!1;try{g=null==a.frameElement&&E.documentElement}catch(r){}g&&g.doScroll&&!function R(){if(!f.isReady){try{g.doScroll("left")}catch(c){return setTimeout(R,50)}d();f.ready()}}()}return va.promise(c)};for(var mc in f(u))break;u.ownLast="0"!==mc;u.inlineBlockNeedsLayout=!1;f(function(){var c,g,f,a;(f=E.getElementsByTagName("body")[0])&&f.style&&(g=E.createElement("div"),a=E.createElement("div"),a.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",
f.appendChild(a).appendChild(g),"undefined"!==typeof g.style.zoom&&(g.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",u.inlineBlockNeedsLayout=c=3===g.offsetWidth,c&&(f.style.zoom=1)),f.removeChild(a))});(function(){var c=E.createElement("div");if(null==u.deleteExpando){u.deleteExpando=!0;try{delete c.test}catch(g){u.deleteExpando=!1}}})();f.acceptData=function(c){var g=f.noData[(c.nodeName+" ").toLowerCase()],a=+c.nodeType||1;return 1!==a&&9!==a?!1:!g||!0!==g&&c.getAttribute("classid")===
g};var kc=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,jc=/([A-Z])/g;f.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(c){return c=c.nodeType?f.cache[c[f.expando]]:c[f.expando],!!c&&!J(c)},data:function(c,g,f){return w(c,g,f)},removeData:function(c,g){return I(c,g)},_data:function(c,g,f){return w(c,g,f,!0)},_removeData:function(c,g){return I(c,g,!0)}});f.fn.extend({data:function(c,g){var a,b,d,e=this[0],k=e&&e.attributes;if(void 0===c){if(this.length&&
(d=f.data(e),1===e.nodeType&&!f._data(e,"parsedAttrs"))){for(a=k.length;a--;)k[a]&&(b=k[a].name,0===b.indexOf("data-")&&(b=f.camelCase(b.slice(5)),l(e,b,d[b])));f._data(e,"parsedAttrs",!0)}return d}return"object"==typeof c?this.each(function(){f.data(this,c)}):1<arguments.length?this.each(function(){f.data(this,c,g)}):e?l(e,c,f.data(e,c)):void 0},removeData:function(c){return this.each(function(){f.removeData(this,c)})}});f.extend({queue:function(c,g,a){var b;return c?(g=(g||"fx")+"queue",b=f._data(c,
g),a&&(!b||f.isArray(a)?b=f._data(c,g,f.makeArray(a)):b.push(a)),b||[]):void 0},dequeue:function(c,g){g=g||"fx";var a=f.queue(c,g),b=a.length,d=a.shift(),e=f._queueHooks(c,g),k=function(){f.dequeue(c,g)};"inprogress"===d&&(d=a.shift(),b--);d&&("fx"===g&&a.unshift("inprogress"),delete e.stop,d.call(c,k,e));!b&&e&&e.empty.fire()},_queueHooks:function(c,g){var a=g+"queueHooks";return f._data(c,a)||f._data(c,a,{empty:f.Callbacks("once memory").add(function(){f._removeData(c,g+"queue");f._removeData(c,
a)})})}});f.fn.extend({queue:function(c,g){var a=2;return"string"!=typeof c&&(g=c,c="fx",a--),arguments.length<a?f.queue(this[0],c):void 0===g?this:this.each(function(){var a=f.queue(this,c,g);f._queueHooks(this,c);"fx"===c&&"inprogress"!==a[0]&&f.dequeue(this,c)})},dequeue:function(c){return this.each(function(){f.dequeue(this,c)})},clearQueue:function(c){return this.queue(c||"fx",[])},promise:function(c,g){var a,b=1,d=f.Deferred(),e=this,k=this.length,l=function(){--b||d.resolveWith(e,[e])};"string"!=
typeof c&&(g=c,c=void 0);for(c=c||"fx";k--;)(a=f._data(e[k],c+"queueHooks"))&&a.empty&&(b++,a.empty.add(l));return l(),d.promise(g)}});var Ya=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ea=["Top","Right","Bottom","Left"],Ua=function(c,g){return c=g||c,"none"===f.css(c,"display")||!f.contains(c.ownerDocument,c)},ia=f.access=function(c,g,a,b,d,e,k){var l=0,s=c.length,t=null==a;if("object"===f.type(a))for(l in d=!0,a)f.access(c,g,l,a[l],!0,e,k);else if(void 0!==b&&(d=!0,f.isFunction(b)||(k=!0),t&&(k?
(g.call(c,b),g=null):(t=g,g=function(c,g,a){return t.call(f(c),a)})),g))for(;s>l;l++)g(c[l],a,k?b:b.call(c[l],l,g(c[l],a)));return d?c:t?g.call(c):s?g(c[0],a):e},na=/^(?:checkbox|radio)$/i;!function(){var c=E.createElement("input"),g=E.createElement("div"),f=E.createDocumentFragment();if(g.innerHTML="  \x3clink/\x3e\x3ctable\x3e\x3c/table\x3e\x3ca href\x3d'/a'\x3ea\x3c/a\x3e\x3cinput type\x3d'checkbox'/\x3e",u.leadingWhitespace=3===g.firstChild.nodeType,u.tbody=!g.getElementsByTagName("tbody").length,
u.htmlSerialize=!!g.getElementsByTagName("link").length,u.html5Clone="\x3c:nav\x3e\x3c/:nav\x3e"!==E.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,f.appendChild(c),u.appendChecked=c.checked,g.innerHTML="\x3ctextarea\x3ex\x3c/textarea\x3e",u.noCloneChecked=!!g.cloneNode(!0).lastChild.defaultValue,f.appendChild(g),g.innerHTML="\x3cinput type\x3d'radio' checked\x3d'checked' name\x3d't'/\x3e",u.checkClone=g.cloneNode(!0).cloneNode(!0).lastChild.checked,u.noCloneEvent=!0,
g.attachEvent&&(g.attachEvent("onclick",function(){u.noCloneEvent=!1}),g.cloneNode(!0).click()),null==u.deleteExpando){u.deleteExpando=!0;try{delete g.test}catch(a){u.deleteExpando=!1}}}();(function(){var c,g,f=E.createElement("div");for(c in{submit:!0,change:!0,focusin:!0})g="on"+c,(u[c+"Bubbles"]=g in a)||(f.setAttribute(g,"t"),u[c+"Bubbles"]=!1===f.attributes[g].expando)})();var $=/^(?:input|select|textarea)$/i,la=/^key/,Hb=/^(?:mouse|pointer|contextmenu)|click/,Ba=/^(?:focusinfocus|focusoutblur)$/,
cc=/^([^.]*)(?:\.(.+)|)$/;f.event={global:{},add:function(c,g,a,b,d){var e,k,l,s,t,x,v,m,h,M;if(l=f._data(c)){a.handler&&(s=a,a=s.handler,d=s.selector);a.guid||(a.guid=f.guid++);(k=l.events)||(k=l.events={});(x=l.handle)||(x=l.handle=function(c){return"undefined"===typeof f||c&&f.event.triggered===c.type?void 0:f.event.dispatch.apply(x.elem,arguments)},x.elem=c);g=(g||"").match(xa)||[""];for(l=g.length;l--;)e=cc.exec(g[l])||[],h=M=e[1],e=(e[2]||"").split(".").sort(),h&&(t=f.event.special[h]||{},h=
(d?t.delegateType:t.bindType)||h,t=f.event.special[h]||{},v=f.extend({type:h,origType:M,data:b,handler:a,guid:a.guid,selector:d,needsContext:d&&f.expr.match.needsContext.test(d),namespace:e.join(".")},s),(m=k[h])||(m=k[h]=[],m.delegateCount=0,t.setup&&!1!==t.setup.call(c,b,e,x)||(c.addEventListener?c.addEventListener(h,x,!1):c.attachEvent&&c.attachEvent("on"+h,x))),t.add&&(t.add.call(c,v),v.handler.guid||(v.handler.guid=a.guid)),d?m.splice(m.delegateCount++,0,v):m.push(v),f.event.global[h]=!0);c=
null}},remove:function(c,g,a,b,d){var e,k,l,s,t,x,v,h,m,M,Z,n=f.hasData(c)&&f._data(c);if(n&&(x=n.events)){g=(g||"").match(xa)||[""];for(t=g.length;t--;)if(l=cc.exec(g[t])||[],m=Z=l[1],M=(l[2]||"").split(".").sort(),m){v=f.event.special[m]||{};m=(b?v.delegateType:v.bindType)||m;h=x[m]||[];l=l[2]&&new RegExp("(^|\\.)"+M.join("\\.(?:.*\\.|)")+"(\\.|$)");for(s=e=h.length;e--;)k=h[e],!d&&Z!==k.origType||a&&a.guid!==k.guid||l&&!l.test(k.namespace)||b&&b!==k.selector&&("**"!==b||!k.selector)||(h.splice(e,
1),k.selector&&h.delegateCount--,v.remove&&v.remove.call(c,k));s&&!h.length&&(v.teardown&&!1!==v.teardown.call(c,M,n.handle)||f.removeEvent(c,m,n.handle),delete x[m])}else for(m in x)f.event.remove(c,m+g[t],a,b,!0);f.isEmptyObject(x)&&(delete n.handle,f._removeData(c,"events"))}},trigger:function(c,g,b,d){var e,k,l,s,t,x,v=[b||E],m=ta.call(c,"type")?c.type:c;x=ta.call(c,"namespace")?c.namespace.split("."):[];if(l=e=b=b||E,3!==b.nodeType&&8!==b.nodeType&&!Ba.test(m+f.event.triggered)&&(0<=m.indexOf(".")&&
(x=m.split("."),m=x.shift(),x.sort()),k=0>m.indexOf(":")&&"on"+m,c=c[f.expando]?c:new f.Event(m,"object"==typeof c&&c),c.isTrigger=d?2:3,c.namespace=x.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,c.result=void 0,c.target||(c.target=b),g=null==g?[c]:f.makeArray(g,[c]),t=f.event.special[m]||{},d||!t.trigger||!1!==t.trigger.apply(b,g))){if(!d&&!t.noBubble&&!f.isWindow(b)){s=t.delegateType||m;for(Ba.test(s+m)||(l=l.parentNode);l;l=l.parentNode)v.push(l),
e=l;e===(b.ownerDocument||E)&&v.push(e.defaultView||e.parentWindow||a)}for(x=0;(l=v[x++])&&!c.isPropagationStopped();)c.type=1<x?s:t.bindType||m,(e=(f._data(l,"events")||{})[c.type]&&f._data(l,"handle"))&&e.apply(l,g),(e=k&&l[k])&&e.apply&&f.acceptData(l)&&(c.result=e.apply(l,g),!1===c.result&&c.preventDefault());if(c.type=m,!(d||c.isDefaultPrevented()||t._default&&!1!==t._default.apply(v.pop(),g))&&f.acceptData(b)&&k&&b[m]&&!f.isWindow(b)){(e=b[k])&&(b[k]=null);f.event.triggered=m;try{b[m]()}catch(h){}f.event.triggered=
void 0;e&&(b[k]=e)}return c.result}},dispatch:function(c){c=f.event.fix(c);var g,a,b,d,e,k=[],l=G.call(arguments);g=(f._data(this,"events")||{})[c.type]||[];var s=f.event.special[c.type]||{};if(l[0]=c,c.delegateTarget=this,!s.preDispatch||!1!==s.preDispatch.call(this,c)){k=f.event.handlers.call(this,c,g);for(g=0;(d=k[g++])&&!c.isPropagationStopped();)for(c.currentTarget=d.elem,e=0;(b=d.handlers[e++])&&!c.isImmediatePropagationStopped();)c.namespace_re&&!c.namespace_re.test(b.namespace)||(c.handleObj=
b,c.data=b.data,a=((f.event.special[b.origType]||{}).handle||b.handler).apply(d.elem,l),void 0===a||!1!==(c.result=a)||(c.preventDefault(),c.stopPropagation()));return s.postDispatch&&s.postDispatch.call(this,c),c.result}},handlers:function(c,g){var a,b,d,e,k=[],l=g.delegateCount,s=c.target;if(l&&s.nodeType&&(!c.button||"click"!==c.type))for(;s!=this;s=s.parentNode||this)if(1===s.nodeType&&(!0!==s.disabled||"click"!==c.type)){d=[];for(e=0;l>e;e++)b=g[e],a=b.selector+" ",void 0===d[a]&&(d[a]=b.needsContext?
0<=f(a,this).index(s):f.find(a,this,null,[s]).length),d[a]&&d.push(b);d.length&&k.push({elem:s,handlers:d})}return l<g.length&&k.push({elem:this,handlers:g.slice(l)}),k},fix:function(c){if(c[f.expando])return c;var g,a,b;g=c.type;var d=c,e=this.fixHooks[g];e||(this.fixHooks[g]=e=Hb.test(g)?this.mouseHooks:la.test(g)?this.keyHooks:{});b=e.props?this.props.concat(e.props):this.props;c=new f.Event(d);for(g=b.length;g--;)a=b[g],c[a]=d[a];return c.target||(c.target=d.srcElement||E),3===c.target.nodeType&&
(c.target=c.target.parentNode),c.metaKey=!!c.metaKey,e.filter?e.filter(c,d):c},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:["char","charCode","key","keyCode"],filter:function(c,g){return null==c.which&&(c.which=null!=g.charCode?g.charCode:g.keyCode),c}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
filter:function(c,g){var f,a,b,d=g.button,e=g.fromElement;return null==c.pageX&&null!=g.clientX&&(a=c.target.ownerDocument||E,b=a.documentElement,f=a.body,c.pageX=g.clientX+(b&&b.scrollLeft||f&&f.scrollLeft||0)-(b&&b.clientLeft||f&&f.clientLeft||0),c.pageY=g.clientY+(b&&b.scrollTop||f&&f.scrollTop||0)-(b&&b.clientTop||f&&f.clientTop||0)),!c.relatedTarget&&e&&(c.relatedTarget=e===c.target?g.toElement:e),c.which||void 0===d||(c.which=1&d?1:2&d?3:4&d?2:0),c}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==
z()&&this.focus)try{return this.focus(),!1}catch(c){}},delegateType:"focusin"},blur:{trigger:function(){return this===z()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return f.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(c){return f.nodeName(c.target,"a")}},beforeunload:{postDispatch:function(c){void 0!==c.result&&c.originalEvent&&(c.originalEvent.returnValue=c.result)}}},simulate:function(c,g,a,b){c=
f.extend(new f.Event,a,{type:c,isSimulated:!0,originalEvent:{}});b?f.event.trigger(c,null,g):f.event.dispatch.call(g,c);c.isDefaultPrevented()&&a.preventDefault()}};f.removeEvent=E.removeEventListener?function(c,g,f){c.removeEventListener&&c.removeEventListener(g,f,!1)}:function(c,g,f){g="on"+g;c.detachEvent&&("undefined"===typeof c[g]&&(c[g]=null),c.detachEvent(g,f))};f.Event=function(c,g){return this instanceof f.Event?(c&&c.type?(this.originalEvent=c,this.type=c.type,this.isDefaultPrevented=c.defaultPrevented||
void 0===c.defaultPrevented&&!1===c.returnValue?n:F):this.type=c,g&&f.extend(this,g),this.timeStamp=c&&c.timeStamp||f.now(),void(this[f.expando]=!0)):new f.Event(c,g)};f.Event.prototype={isDefaultPrevented:F,isPropagationStopped:F,isImmediatePropagationStopped:F,preventDefault:function(){var c=this.originalEvent;this.isDefaultPrevented=n;c&&(c.preventDefault?c.preventDefault():c.returnValue=!1)},stopPropagation:function(){var c=this.originalEvent;this.isPropagationStopped=n;c&&(c.stopPropagation&&
c.stopPropagation(),c.cancelBubble=!0)},stopImmediatePropagation:function(){var c=this.originalEvent;this.isImmediatePropagationStopped=n;c&&c.stopImmediatePropagation&&c.stopImmediatePropagation();this.stopPropagation()}};f.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(c,g){f.event.special[c]={delegateType:g,bindType:g,handle:function(c){var a,b=c.relatedTarget,d=c.handleObj;return(!b||b!==this&&!f.contains(this,b))&&(c.type=d.origType,
a=d.handler.apply(this,arguments),c.type=g),a}}});u.submitBubbles||(f.event.special.submit={setup:function(){return f.nodeName(this,"form")?!1:void f.event.add(this,"click._submit keypress._submit",function(c){c=c.target;(c=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:void 0)&&!f._data(c,"submitBubbles")&&(f.event.add(c,"submit._submit",function(c){c._submit_bubble=!0}),f._data(c,"submitBubbles",!0))})},postDispatch:function(c){c._submit_bubble&&(delete c._submit_bubble,this.parentNode&&!c.isTrigger&&
f.event.simulate("submit",this.parentNode,c,!0))},teardown:function(){return f.nodeName(this,"form")?!1:void f.event.remove(this,"._submit")}});u.changeBubbles||(f.event.special.change={setup:function(){return $.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(f.event.add(this,"propertychange._change",function(c){"checked"===c.originalEvent.propertyName&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(c){this._just_changed&&!c.isTrigger&&(this._just_changed=
!1);f.event.simulate("change",this,c,!0)})),!1):void f.event.add(this,"beforeactivate._change",function(c){c=c.target;$.test(c.nodeName)&&!f._data(c,"changeBubbles")&&(f.event.add(c,"change._change",function(c){!this.parentNode||c.isSimulated||c.isTrigger||f.event.simulate("change",this.parentNode,c,!0)}),f._data(c,"changeBubbles",!0))})},handle:function(c){var g=c.target;return this!==g||c.isSimulated||c.isTrigger||"radio"!==g.type&&"checkbox"!==g.type?c.handleObj.handler.apply(this,arguments):void 0},
teardown:function(){return f.event.remove(this,"._change"),!$.test(this.nodeName)}});u.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(c,g){var a=function(c){f.event.simulate(g,c.target,f.event.fix(c),!0)};f.event.special[g]={setup:function(){var b=this.ownerDocument||this,d=f._data(b,g);d||b.addEventListener(c,a,!0);f._data(b,g,(d||0)+1)},teardown:function(){var b=this.ownerDocument||this,d=f._data(b,g)-1;d?f._data(b,g,d):(b.removeEventListener(c,a,!0),f._removeData(b,g))}}});f.fn.extend({on:function(c,
g,a,b,d){var e,k;if("object"==typeof c){"string"!=typeof g&&(a=a||g,g=void 0);for(e in c)this.on(e,g,a,c[e],d);return this}if(null==a&&null==b?(b=g,a=g=void 0):null==b&&("string"==typeof g?(b=a,a=void 0):(b=a,a=g,g=void 0)),!1===b)b=F;else if(!b)return this;return 1===d&&(k=b,b=function(c){return f().off(c),k.apply(this,arguments)},b.guid=k.guid||(k.guid=f.guid++)),this.each(function(){f.event.add(this,c,b,a,g)})},one:function(c,g,f,a){return this.on(c,g,f,a,1)},off:function(c,g,a){var b,d;if(c&&
c.preventDefault&&c.handleObj)return b=c.handleObj,f(c.delegateTarget).off(b.namespace?b.origType+"."+b.namespace:b.origType,b.selector,b.handler),this;if("object"==typeof c){for(d in c)this.off(d,g,c[d]);return this}return(!1===g||"function"==typeof g)&&(a=g,g=void 0),!1===a&&(a=F),this.each(function(){f.event.remove(this,c,a,g)})},trigger:function(c,g){return this.each(function(){f.event.trigger(c,g,this)})},triggerHandler:function(c,g){var a=this[0];return a?f.event.trigger(c,g,a,!0):void 0}});
var tb="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",nc=/ jQuery\d+="(?:null|\d+)"/g,dc=new RegExp("\x3c(?:"+tb+")[\\s/\x3e]","i"),Ma=/^\s+/,ab=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,oc=/<([\w:]+)/,Ib=/<tbody/i,pb=/<|&#?\w+;/,ec=/<(?:script|style|link)/i,pc=/checked\s*(?:[^=]|=\s*.checked.)/i,bb=/^$|\/(?:java|ecma)script/i,Db=/^true\/(.*)/,Ia=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
fa={option:[1,"\x3cselect multiple\x3d'multiple'\x3e","\x3c/select\x3e"],legend:[1,"\x3cfieldset\x3e","\x3c/fieldset\x3e"],area:[1,"\x3cmap\x3e","\x3c/map\x3e"],param:[1,"\x3cobject\x3e","\x3c/object\x3e"],thead:[1,"\x3ctable\x3e","\x3c/table\x3e"],tr:[2,"\x3ctable\x3e\x3ctbody\x3e","\x3c/tbody\x3e\x3c/table\x3e"],col:[2,"\x3ctable\x3e\x3ctbody\x3e\x3c/tbody\x3e\x3ccolgroup\x3e","\x3c/colgroup\x3e\x3c/table\x3e"],td:[3,"\x3ctable\x3e\x3ctbody\x3e\x3ctr\x3e","\x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e"],
_default:u.htmlSerialize?[0,"",""]:[1,"X\x3cdiv\x3e","\x3c/div\x3e"]},Na=K(E).appendChild(E.createElement("div"));fa.optgroup=fa.option;fa.tbody=fa.tfoot=fa.colgroup=fa.caption=fa.thead;fa.th=fa.td;f.extend({clone:function(c,g,a){var b,d,e,k,l,s=f.contains(c.ownerDocument,c);if(u.html5Clone||f.isXMLDoc(c)||!dc.test("\x3c"+c.nodeName+"\x3e")?e=c.cloneNode(!0):(Na.innerHTML=c.outerHTML,Na.removeChild(e=Na.firstChild)),!(u.noCloneEvent&&u.noCloneChecked||1!==c.nodeType&&11!==c.nodeType||f.isXMLDoc(c)))for(b=
y(e),l=y(c),k=0;null!=(d=l[k]);++k)if(b[k]){var t=b[k],x=void 0,v=void 0,m=void 0;if(1===t.nodeType){if(x=t.nodeName.toLowerCase(),!u.noCloneEvent&&t[f.expando]){m=f._data(t);for(v in m.events)f.removeEvent(t,v,m.handle);t.removeAttribute(f.expando)}"script"===x&&t.text!==d.text?(Da(t).text=d.text,Cb(t)):"object"===x?(t.parentNode&&(t.outerHTML=d.outerHTML),u.html5Clone&&d.innerHTML&&!f.trim(t.innerHTML)&&(t.innerHTML=d.innerHTML)):"input"===x&&na.test(d.type)?(t.defaultChecked=t.checked=d.checked,
t.value!==d.value&&(t.value=d.value)):"option"===x?t.defaultSelected=t.selected=d.defaultSelected:("input"===x||"textarea"===x)&&(t.defaultValue=d.defaultValue)}}if(g)if(a)for(l=l||y(c),b=b||y(e),k=0;null!=(d=l[k]);k++)Y(d,b[k]);else Y(c,e);return b=y(e,"script"),0<b.length&&sa(b,!s&&y(c,"script")),e},buildFragment:function(c,g,a,b){for(var d,e,k,l,s,t,x,v=c.length,m=K(g),h=[],M=0;v>M;M++)if(e=c[M],e||0===e)if("object"===f.type(e))f.merge(h,e.nodeType?[e]:e);else if(pb.test(e)){l=l||m.appendChild(g.createElement("div"));
s=(oc.exec(e)||["",""])[1].toLowerCase();x=fa[s]||fa._default;l.innerHTML=x[1]+e.replace(ab,"\x3c$1\x3e\x3c/$2\x3e")+x[2];for(d=x[0];d--;)l=l.lastChild;if(!u.leadingWhitespace&&Ma.test(e)&&h.push(g.createTextNode(Ma.exec(e)[0])),!u.tbody)for(d=(e="table"!==s||Ib.test(e)?"\x3ctable\x3e"!==x[1]||Ib.test(e)?0:l:l.firstChild)&&e.childNodes.length;d--;)f.nodeName(t=e.childNodes[d],"tbody")&&!t.childNodes.length&&e.removeChild(t);f.merge(h,l.childNodes);for(l.textContent="";l.firstChild;)l.removeChild(l.firstChild);
l=m.lastChild}else h.push(g.createTextNode(e));l&&m.removeChild(l);u.appendChecked||f.grep(y(h,"input"),W);for(M=0;e=h[M++];)if((!b||-1===f.inArray(e,b))&&(k=f.contains(e.ownerDocument,e),l=y(m.appendChild(e),"script"),k&&sa(l),a))for(d=0;e=l[d++];)bb.test(e.type||"")&&a.push(e);return m},cleanData:function(c,g){for(var a,b,d,e,k=0,l=f.expando,s=f.cache,t=u.deleteExpando,x=f.event.special;null!=(a=c[k]);k++)if((g||f.acceptData(a))&&(d=a[l],e=d&&s[d])){if(e.events)for(b in e.events)x[b]?f.event.remove(a,
b):f.removeEvent(a,b,e.handle);s[d]&&(delete s[d],t?delete a[l]:"undefined"!==typeof a.removeAttribute?a.removeAttribute(l):a[l]=null,C.push(d))}}});f.fn.extend({text:function(c){return ia(this,function(c){return void 0===c?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||E).createTextNode(c))},null,c,arguments.length)},append:function(){return this.domManip(arguments,function(c){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Bb(this,c).appendChild(c)})},prepend:function(){return this.domManip(arguments,
function(c){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var g=Bb(this,c);g.insertBefore(c,g.firstChild)}})},before:function(){return this.domManip(arguments,function(c){this.parentNode&&this.parentNode.insertBefore(c,this)})},after:function(){return this.domManip(arguments,function(c){this.parentNode&&this.parentNode.insertBefore(c,this.nextSibling)})},remove:function(c,g){for(var a,b=c?f.filter(c,this):this,d=0;null!=(a=b[d]);d++)g||1!==a.nodeType||f.cleanData(y(a)),a.parentNode&&
(g&&f.contains(a.ownerDocument,a)&&sa(y(a,"script")),a.parentNode.removeChild(a));return this},empty:function(){for(var c,g=0;null!=(c=this[g]);g++){for(1===c.nodeType&&f.cleanData(y(c,!1));c.firstChild;)c.removeChild(c.firstChild);c.options&&f.nodeName(c,"select")&&(c.options.length=0)}return this},clone:function(c,g){return c=null==c?!1:c,g=null==g?c:g,this.map(function(){return f.clone(this,c,g)})},html:function(c){return ia(this,function(c){var a=this[0]||{},b=0,d=this.length;if(void 0===c)return 1===
a.nodeType?a.innerHTML.replace(nc,""):void 0;if(!("string"!=typeof c||ec.test(c)||!u.htmlSerialize&&dc.test(c)||!u.leadingWhitespace&&Ma.test(c)||fa[(oc.exec(c)||["",""])[1].toLowerCase()])){c=c.replace(ab,"\x3c$1\x3e\x3c/$2\x3e");try{for(;d>b;b++)a=this[b]||{},1===a.nodeType&&(f.cleanData(y(a,!1)),a.innerHTML=c);a=0}catch(e){}}a&&this.empty().append(c)},null,c,arguments.length)},replaceWith:function(){var c=arguments[0];return this.domManip(arguments,function(g){c=this.parentNode;f.cleanData(y(this));
c&&c.replaceChild(g,this)}),c&&(c.length||c.nodeType)?this:this.remove()},detach:function(c){return this.remove(c,!0)},domManip:function(c,g){c=oa.apply([],c);var a,b,d,e,k=0,l=this.length,s=this,t=l-1,x=c[0],m=f.isFunction(x);if(m||1<l&&"string"==typeof x&&!u.checkClone&&pc.test(x))return this.each(function(a){var f=s.eq(a);m&&(c[0]=x.call(this,a,f.html()));f.domManip(c,g)});if(l&&(e=f.buildFragment(c,this[0].ownerDocument,!1,this),a=e.firstChild,1===e.childNodes.length&&(e=a),a)){d=f.map(y(e,"script"),
Da);for(b=d.length;l>k;k++)a=e,k!==t&&(a=f.clone(a,!0,!0),b&&f.merge(d,y(a,"script"))),g.call(this[k],a,k);if(b)for(e=d[d.length-1].ownerDocument,f.map(d,Cb),k=0;b>k;k++)a=d[k],bb.test(a.type||"")&&!f._data(a,"globalEval")&&f.contains(e,a)&&(a.src?f._evalUrl&&f._evalUrl(a.src):f.globalEval((a.text||a.textContent||a.innerHTML||"").replace(Ia,"")));e=a=null}return this}});f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(c,g){f.fn[c]=
function(c){for(var a=0,b=[],d=f(c),e=d.length-1;e>=a;a++)c=a===e?this:this.clone(!0),f(d[a])[g](c),T.apply(b,c.get());return this.pushStack(b)}});var pa,ba={};!function(){var c;u.shrinkWrapBlocks=function(){if(null!=c)return c;c=!1;var g,a,f;return a=E.getElementsByTagName("body")[0],a&&a.style?(g=E.createElement("div"),f=E.createElement("div"),f.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",a.appendChild(f).appendChild(g),"undefined"!==typeof g.style.zoom&&(g.style.cssText=
"-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",g.appendChild(E.createElement("div")).style.width="5px",c=3!==g.offsetWidth),a.removeChild(f),c):void 0}}();var cb=/^margin/,ka=new RegExp("^("+Ya+")(?!px)[a-z%]+$","i"),Fa,ma,Jb=/^(top|right|bottom|left)$/;a.getComputedStyle?(Fa=function(c){return c.ownerDocument.defaultView.opener?c.ownerDocument.defaultView.getComputedStyle(c,null):a.getComputedStyle(c,
null)},ma=function(c,g,a){var b,d,e,k,l=c.style;return a=a||Fa(c),k=a?a.getPropertyValue(g)||a[g]:void 0,a&&(""!==k||f.contains(c.ownerDocument,c)||(k=f.style(c,g)),ka.test(k)&&cb.test(g)&&(b=l.width,d=l.minWidth,e=l.maxWidth,l.minWidth=l.maxWidth=l.width=k,k=a.width,l.width=b,l.minWidth=d,l.maxWidth=e)),void 0===k?k:k+""}):E.documentElement.currentStyle&&(Fa=function(c){return c.currentStyle},ma=function(c,g,a){var f,b,d,e,k=c.style;return a=a||Fa(c),e=a?a[g]:void 0,null==e&&k&&k[g]&&(e=k[g]),ka.test(e)&&
!Jb.test(g)&&(f=k.left,b=c.runtimeStyle,d=b&&b.left,d&&(b.left=c.currentStyle.left),k.left="fontSize"===g?"1em":e,e=k.pixelLeft+"px",k.left=f,d&&(b.left=d)),void 0===e?e:e+""||"auto"});!function(){var c,g,b,d,e,k,l;if(c=E.createElement("div"),c.innerHTML="  \x3clink/\x3e\x3ctable\x3e\x3c/table\x3e\x3ca href\x3d'/a'\x3ea\x3c/a\x3e\x3cinput type\x3d'checkbox'/\x3e",b=c.getElementsByTagName("a")[0],g=b&&b.style){var s=function(){var c,g,f,b;(g=E.getElementsByTagName("body")[0])&&g.style&&(c=E.createElement("div"),
f=E.createElement("div"),f.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",g.appendChild(f).appendChild(c),c.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",d=e=!1,l=!0,a.getComputedStyle&&(d="1%"!==(a.getComputedStyle(c,null)||{}).top,e="4px"===(a.getComputedStyle(c,null)||{width:"4px"}).width,b=c.appendChild(E.createElement("div")),b.style.cssText=
c.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",b.style.marginRight=b.style.width="0",c.style.width="1px",l=!parseFloat((a.getComputedStyle(b,null)||{}).marginRight),c.removeChild(b)),c.innerHTML="\x3ctable\x3e\x3ctr\x3e\x3ctd\x3e\x3c/td\x3e\x3ctd\x3et\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e",b=c.getElementsByTagName("td"),b[0].style.cssText="margin:0;border:0;padding:0;display:none",k=0===b[0].offsetHeight,
k&&(b[0].style.display="",b[1].style.display="none",k=0===b[0].offsetHeight),g.removeChild(f))};g.cssText="float:left;opacity:.5";u.opacity="0.5"===g.opacity;u.cssFloat=!!g.cssFloat;c.style.backgroundClip="content-box";c.cloneNode(!0).style.backgroundClip="";u.clearCloneStyle="content-box"===c.style.backgroundClip;u.boxSizing=""===g.boxSizing||""===g.MozBoxSizing||""===g.WebkitBoxSizing;f.extend(u,{reliableHiddenOffsets:function(){return null==k&&s(),k},boxSizingReliable:function(){return null==e&&
s(),e},pixelPosition:function(){return null==d&&s(),d},reliableMarginRight:function(){return null==l&&s(),l}})}}();f.swap=function(c,g,a,f){var b,d={};for(b in g)d[b]=c.style[b],c.style[b]=g[b];a=a.apply(c,f||[]);for(b in g)c.style[b]=d[b];return a};var qb=/alpha\([^)]*\)/i,wb=/opacity\s*=\s*([^)]*)/,db=/^(none|table(?!-c[ea]).+)/,Fb=new RegExp("^("+Ya+")(.*)$","i"),qc=new RegExp("^([+-])\x3d("+Ya+")","i"),Kb={position:"absolute",visibility:"hidden",display:"block"},xb={letterSpacing:"0",fontWeight:"400"},
Eb=["Webkit","O","Moz","ms"];f.extend({cssHooks:{opacity:{get:function(c,g){if(g){var a=ma(c,"opacity");return""===a?"1":a}}}},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":u.cssFloat?"cssFloat":"styleFloat"},style:function(c,g,a,b){if(c&&3!==c.nodeType&&8!==c.nodeType&&c.style){var d,e,k,l=f.camelCase(g),s=c.style;if(g=f.cssProps[l]||(f.cssProps[l]=za(s,l)),k=f.cssHooks[g]||
f.cssHooks[l],void 0===a)return k&&"get"in k&&void 0!==(d=k.get(c,!1,b))?d:s[g];if(e=typeof a,"string"===e&&(d=qc.exec(a))&&(a=(d[1]+1)*d[2]+parseFloat(f.css(c,g)),e="number"),null!=a&&a===a&&("number"!==e||f.cssNumber[l]||(a+="px"),u.clearCloneStyle||""!==a||0!==g.indexOf("background")||(s[g]="inherit"),!(k&&"set"in k&&void 0===(a=k.set(c,a,b)))))try{s[g]=a}catch(t){}}},css:function(c,a,b,d){var e,k,l,s=f.camelCase(a);return a=f.cssProps[s]||(f.cssProps[s]=za(c.style,s)),l=f.cssHooks[a]||f.cssHooks[s],
l&&"get"in l&&(k=l.get(c,!0,b)),void 0===k&&(k=ma(c,a,d)),"normal"===k&&a in xb&&(k=xb[a]),""===b||b?(e=parseFloat(k),!0===b||f.isNumeric(e)?e||0:k):k}});f.each(["height","width"],function(c,a){f.cssHooks[a]={get:function(c,b,d){return b?db.test(f.css(c,"display"))&&0===c.offsetWidth?f.swap(c,Kb,function(){return Qb(c,a,d)}):Qb(c,a,d):void 0},set:function(c,b,d){var e=d&&Fa(c);return P(c,b,d?H(c,a,d,u.boxSizing&&"border-box"===f.css(c,"boxSizing",!1,e),e):0)}}});u.opacity||(f.cssHooks.opacity={get:function(c,
a){return wb.test((a&&c.currentStyle?c.currentStyle.filter:c.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":a?"1":""},set:function(c,a){var b=c.style,d=c.currentStyle,e=f.isNumeric(a)?"alpha(opacity\x3d"+100*a+")":"",k=d&&d.filter||b.filter||"";b.zoom=1;(1<=a||""===a)&&""===f.trim(k.replace(qb,""))&&b.removeAttribute&&(b.removeAttribute("filter"),""===a||d&&!d.filter)||(b.filter=qb.test(k)?k.replace(qb,e):k+" "+e)}});f.cssHooks.marginRight=S(u.reliableMarginRight,function(c,a){return a?f.swap(c,
{display:"inline-block"},ma,[c,"marginRight"]):void 0});f.each({margin:"",padding:"",border:"Width"},function(c,a){f.cssHooks[c+a]={expand:function(f){var b=0,d={};for(f="string"==typeof f?f.split(" "):[f];4>b;b++)d[c+Ea[b]+a]=f[b]||f[b-2]||f[0];return d}};cb.test(c)||(f.cssHooks[c+a].set=P)});f.fn.extend({css:function(c,a){return ia(this,function(c,a,g){var b,d={},e=0;if(f.isArray(a)){g=Fa(c);for(b=a.length;b>e;e++)d[a[e]]=f.css(c,a[e],!1,g);return d}return void 0!==g?f.style(c,a,g):f.css(c,a)},
c,a,1<arguments.length)},show:function(){return V(this,!0)},hide:function(){return V(this)},toggle:function(c){return"boolean"==typeof c?c?this.show():this.hide():this.each(function(){Ua(this)?f(this).show():f(this).hide()})}});f.Tween=ca;ca.prototype={constructor:ca,init:function(c,a,b,d,e,k){this.elem=c;this.prop=b;this.easing=e||"swing";this.options=a;this.start=this.now=this.cur();this.end=d;this.unit=k||(f.cssNumber[b]?"":"px")},cur:function(){var c=ca.propHooks[this.prop];return c&&c.get?c.get(this):
ca.propHooks._default.get(this)},run:function(c){var a,b=ca.propHooks[this.prop];return this.pos=a=this.options.duration?f.easing[this.easing](c,this.options.duration*c,0,1,this.options.duration):c,this.now=(this.end-this.start)*a+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),b&&b.set?b.set(this):ca.propHooks._default.set(this),this}};ca.prototype.init.prototype=ca.prototype;ca.propHooks={_default:{get:function(c){var a;return null==c.elem[c.prop]||c.elem.style&&null!=
c.elem.style[c.prop]?(a=f.css(c.elem,c.prop,""),a&&"auto"!==a?a:0):c.elem[c.prop]},set:function(c){f.fx.step[c.prop]?f.fx.step[c.prop](c):c.elem.style&&(null!=c.elem.style[f.cssProps[c.prop]]||f.cssHooks[c.prop])?f.style(c.elem,c.prop,c.now+c.unit):c.elem[c.prop]=c.now}}};ca.propHooks.scrollTop=ca.propHooks.scrollLeft={set:function(c){c.elem.nodeType&&c.elem.parentNode&&(c.elem[c.prop]=c.now)}};f.easing={linear:function(c){return c},swing:function(c){return.5-Math.cos(c*Math.PI)/2}};f.fx=ca.prototype.init;
f.fx.step={};var Ga,eb,yb=/^(?:toggle|show|hide)$/,wa=new RegExp("^(?:([+-])\x3d|)("+Ya+")([a-z%]*)$","i"),Ja=/queueHooks$/,qa=[function(c,a,b){var d,e,k,l,s,t,x,m=this,v={},h=c.style,M=c.nodeType&&Ua(c),Z=f._data(c,"fxshow");b.queue||(l=f._queueHooks(c,"fx"),null==l.unqueued&&(l.unqueued=0,s=l.empty.fire,l.empty.fire=function(){l.unqueued||s()}),l.unqueued++,m.always(function(){m.always(function(){l.unqueued--;f.queue(c,"fx").length||l.empty.fire()})}));1===c.nodeType&&("height"in a||"width"in a)&&
(b.overflow=[h.overflow,h.overflowX,h.overflowY],t=f.css(c,"display"),x="none"===t?f._data(c,"olddisplay")||Za(c.nodeName):t,"inline"===x&&"none"===f.css(c,"float")&&(u.inlineBlockNeedsLayout&&"inline"!==Za(c.nodeName)?h.zoom=1:h.display="inline-block"));b.overflow&&(h.overflow="hidden",u.shrinkWrapBlocks()||m.always(function(){h.overflow=b.overflow[0];h.overflowX=b.overflow[1];h.overflowY=b.overflow[2]}));for(d in a)if(e=a[d],yb.exec(e)){if(delete a[d],k=k||"toggle"===e,e===(M?"hide":"show")){if("show"!==
e||!Z||void 0===Z[d])continue;M=!0}v[d]=Z&&Z[d]||f.style(c,d)}else t=void 0;if(f.isEmptyObject(v))"inline"===("none"===t?Za(c.nodeName):t)&&(h.display=t);else for(d in Z?"hidden"in Z&&(M=Z.hidden):Z=f._data(c,"fxshow",{}),k&&(Z.hidden=!M),M?f(c).show():m.done(function(){f(c).hide()}),m.done(function(){var a;f._removeData(c,"fxshow");for(a in v)f.style(c,a,v[a])}),v)a=D(M?Z[d]:0,d,m),d in Z||(Z[d]=a.start,M&&(a.end=a.start,a.start="width"===d||"height"===d?1:0))}],Ka={"*":[function(c,a){var b=this.createTween(c,
a),d=b.cur(),e=wa.exec(a),k=e&&e[3]||(f.cssNumber[c]?"":"px"),l=(f.cssNumber[c]||"px"!==k&&+d)&&wa.exec(f.css(b.elem,c)),s=1,t=20;if(l&&l[3]!==k){k=k||l[3];e=e||[];l=+d||1;do s=s||".5",l/=s,f.style(b.elem,c,l+k);while(s!==(s=b.cur()/d)&&1!==s&&--t)}return e&&(l=b.start=+l||+d||0,b.unit=k,b.end=e[1]?l+(e[1]+1)*e[2]:+e[2]),b}]};f.Animation=f.extend(Z,{tweener:function(c,a){f.isFunction(c)?(a=c,c=["*"]):c=c.split(" ");for(var b,d=0,e=c.length;e>d;d++)b=c[d],Ka[b]=Ka[b]||[],Ka[b].unshift(a)},prefilter:function(c,
a){a?qa.unshift(c):qa.push(c)}});f.speed=function(c,a,b){var d=c&&"object"==typeof c?f.extend({},c):{complete:b||!b&&a||f.isFunction(c)&&c,duration:c,easing:b&&a||a&&!f.isFunction(a)&&a};return d.duration=f.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default,(null==d.queue||!0===d.queue)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){f.isFunction(d.old)&&d.old.call(this);d.queue&&f.dequeue(this,d.queue)},d};f.fn.extend({fadeTo:function(c,
a,f,b){return this.filter(Ua).css("opacity",0).show().end().animate({opacity:a},c,f,b)},animate:function(c,a,b,d){var e=f.isEmptyObject(c),k=f.speed(a,b,d);a=function(){var a=Z(this,f.extend({},c),k);(e||f._data(this,"finish"))&&a.stop(!0)};return a.finish=a,e||!1===k.queue?this.each(a):this.queue(k.queue,a)},stop:function(c,a,b){var d=function(c){var a=c.stop;delete c.stop;a(b)};return"string"!=typeof c&&(b=a,a=c,c=void 0),a&&!1!==c&&this.queue(c||"fx",[]),this.each(function(){var a=!0,g=null!=c&&
c+"queueHooks",e=f.timers,k=f._data(this);if(g)k[g]&&k[g].stop&&d(k[g]);else for(g in k)k[g]&&k[g].stop&&Ja.test(g)&&d(k[g]);for(g=e.length;g--;)e[g].elem!==this||null!=c&&e[g].queue!==c||(e[g].anim.stop(b),a=!1,e.splice(g,1));!a&&b||f.dequeue(this,c)})},finish:function(c){return!1!==c&&(c=c||"fx"),this.each(function(){var a,b=f._data(this),d=b[c+"queue"];a=b[c+"queueHooks"];var e=f.timers,k=d?d.length:0;b.finish=!0;f.queue(this,c,[]);a&&a.stop&&a.stop.call(this,!0);for(a=e.length;a--;)e[a].elem===
this&&e[a].queue===c&&(e[a].anim.stop(!0),e.splice(a,1));for(a=0;k>a;a++)d[a]&&d[a].finish&&d[a].finish.call(this);delete b.finish})}});f.each(["toggle","show","hide"],function(c,a){var b=f.fn[a];f.fn[a]=function(c,f,d){return null==c||"boolean"==typeof c?b.apply(this,arguments):this.animate(jb(a,!0),c,f,d)}});f.each({slideDown:jb("show"),slideUp:jb("hide"),slideToggle:jb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(c,a){f.fn[c]=function(c,f,b){return this.animate(a,
c,f,b)}});f.timers=[];f.fx.tick=function(){var c,a=f.timers,b=0;for(Ga=f.now();b<a.length;b++)c=a[b],c()||a[b]!==c||a.splice(b--,1);a.length||f.fx.stop();Ga=void 0};f.fx.timer=function(c){f.timers.push(c);c()?f.fx.start():f.timers.pop()};f.fx.interval=13;f.fx.start=function(){eb||(eb=setInterval(f.fx.tick,f.fx.interval))};f.fx.stop=function(){clearInterval(eb);eb=null};f.fx.speeds={slow:600,fast:200,_default:400};f.fn.delay=function(c,a){return c=f.fx?f.fx.speeds[c]||c:c,a=a||"fx",this.queue(a,function(a,
f){var g=setTimeout(a,c);f.stop=function(){clearTimeout(g)}})};(function(){var c,a,f,b,d;a=E.createElement("div");a.setAttribute("className","t");a.innerHTML="  \x3clink/\x3e\x3ctable\x3e\x3c/table\x3e\x3ca href\x3d'/a'\x3ea\x3c/a\x3e\x3cinput type\x3d'checkbox'/\x3e";b=a.getElementsByTagName("a")[0];f=E.createElement("select");d=f.appendChild(E.createElement("option"));c=a.getElementsByTagName("input")[0];b.style.cssText="top:1px";u.getSetAttribute="t"!==a.className;u.style=/top/.test(b.getAttribute("style"));
u.hrefNormalized="/a"===b.getAttribute("href");u.checkOn=!!c.value;u.optSelected=d.selected;u.enctype=!!E.createElement("form").enctype;f.disabled=!0;u.optDisabled=!d.disabled;c=E.createElement("input");c.setAttribute("value","");u.input=""===c.getAttribute("value");c.value="t";c.setAttribute("type","radio");u.radioValue="t"===c.value})();var zb=/\r/g;f.fn.extend({val:function(c){var a,b,d,e=this[0];if(arguments.length)return d=f.isFunction(c),this.each(function(b){var e;1===this.nodeType&&(e=d?c.call(this,
b,f(this).val()):c,null==e?e="":"number"==typeof e?e+="":f.isArray(e)&&(e=f.map(e,function(c){return null==c?"":c+""})),a=f.valHooks[this.type]||f.valHooks[this.nodeName.toLowerCase()],a&&"set"in a&&void 0!==a.set(this,e,"value")||(this.value=e))});if(e)return a=f.valHooks[e.type]||f.valHooks[e.nodeName.toLowerCase()],a&&"get"in a&&void 0!==(b=a.get(e,"value"))?b:(b=e.value,"string"==typeof b?b.replace(zb,""):null==b?"":b)}});f.extend({valHooks:{option:{get:function(c){var a=f.find.attr(c,"value");
return null!=a?a:f.trim(f.text(c))}},select:{get:function(c){for(var a,b=c.options,d=c.selectedIndex,e="select-one"===c.type||0>d,k=e?null:[],l=e?d+1:b.length,s=0>d?l:e?d:0;l>s;s++)if(a=b[s],!(!a.selected&&s!==d||(u.optDisabled?a.disabled:null!==a.getAttribute("disabled"))||a.parentNode.disabled&&f.nodeName(a.parentNode,"optgroup"))){if(c=f(a).val(),e)return c;k.push(c)}return k},set:function(c,a){for(var b,d,e=c.options,k=f.makeArray(a),l=e.length;l--;)if(d=e[l],0<=f.inArray(f.valHooks.option.get(d),
k))try{d.selected=b=!0}catch(s){d.scrollHeight}else d.selected=!1;return b||(c.selectedIndex=-1),e}}}});f.each(["radio","checkbox"],function(){f.valHooks[this]={set:function(c,a){return f.isArray(a)?c.checked=0<=f.inArray(f(c).val(),a):void 0}};u.checkOn||(f.valHooks[this].get=function(c){return null===c.getAttribute("value")?"on":c.value})});var rb,Lb,Oa=f.expr.attrHandle,Mb=/^(?:checked|selected)$/i,aa=u.getSetAttribute,fb=u.input;f.fn.extend({attr:function(c,a){return ia(this,f.attr,c,a,1<arguments.length)},
removeAttr:function(c){return this.each(function(){f.removeAttr(this,c)})}});f.extend({attr:function(c,a,b){var d,e,k=c.nodeType;if(c&&3!==k&&8!==k&&2!==k)return"undefined"===typeof c.getAttribute?f.prop(c,a,b):(1===k&&f.isXMLDoc(c)||(a=a.toLowerCase(),d=f.attrHooks[a]||(f.expr.match.bool.test(a)?Lb:rb)),void 0===b?d&&"get"in d&&null!==(e=d.get(c,a))?e:(e=f.find.attr(c,a),null==e?void 0:e):null!==b?d&&"set"in d&&void 0!==(e=d.set(c,b,a))?e:(c.setAttribute(a,b+""),b):void f.removeAttr(c,a))},removeAttr:function(c,
a){var b,d,e=0,k=a&&a.match(xa);if(k&&1===c.nodeType)for(;b=k[e++];)d=f.propFix[b]||b,f.expr.match.bool.test(b)?fb&&aa||!Mb.test(b)?c[d]=!1:c[f.camelCase("default-"+b)]=c[d]=!1:f.attr(c,b,""),c.removeAttribute(aa?b:d)},attrHooks:{type:{set:function(c,a){if(!u.radioValue&&"radio"===a&&f.nodeName(c,"input")){var b=c.value;return c.setAttribute("type",a),b&&(c.value=b),a}}}}});Lb={set:function(c,a,b){return!1===a?f.removeAttr(c,b):fb&&aa||!Mb.test(b)?c.setAttribute(!aa&&f.propFix[b]||b,b):c[f.camelCase("default-"+
b)]=c[b]=!0,b}};f.each(f.expr.match.bool.source.match(/\w+/g),function(c,a){var b=Oa[a]||f.find.attr;Oa[a]=fb&&aa||!Mb.test(a)?function(c,a,f){var g,d;return f||(d=Oa[a],Oa[a]=g,g=null!=b(c,a,f)?a.toLowerCase():null,Oa[a]=d),g}:function(c,a,b){return b?void 0:c[f.camelCase("default-"+a)]?a.toLowerCase():null}});fb&&aa||(f.attrHooks.value={set:function(c,a,b){return f.nodeName(c,"input")?void(c.defaultValue=a):rb&&rb.set(c,a,b)}});aa||(rb={set:function(c,a,f){var b=c.getAttributeNode(f);return b||
c.setAttributeNode(b=c.ownerDocument.createAttribute(f)),b.value=a+="","value"===f||a===c.getAttribute(f)?a:void 0}},Oa.id=Oa.name=Oa.coords=function(c,a,f){var b;return f?void 0:(b=c.getAttributeNode(a))&&""!==b.value?b.value:null},f.valHooks.button={get:function(c,a){var f=c.getAttributeNode(a);return f&&f.specified?f.value:void 0},set:rb.set},f.attrHooks.contenteditable={set:function(c,a,f){rb.set(c,""===a?!1:a,f)}},f.each(["width","height"],function(c,a){f.attrHooks[a]={set:function(c,f){return""===
f?(c.setAttribute(a,"auto"),f):void 0}}}));u.style||(f.attrHooks.style={get:function(c){return c.style.cssText||void 0},set:function(c,a){return c.style.cssText=a+""}});var rc=/^(?:input|select|textarea|button|object)$/i,Sb=/^(?:a|area)$/i;f.fn.extend({prop:function(c,a){return ia(this,f.prop,c,a,1<arguments.length)},removeProp:function(c){return c=f.propFix[c]||c,this.each(function(){try{this[c]=void 0,delete this[c]}catch(a){}})}});f.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(c,
a,b){var d,e,k,l=c.nodeType;if(c&&3!==l&&8!==l&&2!==l)return k=1!==l||!f.isXMLDoc(c),k&&(a=f.propFix[a]||a,e=f.propHooks[a]),void 0!==b?e&&"set"in e&&void 0!==(d=e.set(c,b,a))?d:c[a]=b:e&&"get"in e&&null!==(d=e.get(c,a))?d:c[a]},propHooks:{tabIndex:{get:function(c){var a=f.find.attr(c,"tabindex");return a?parseInt(a,10):rc.test(c.nodeName)||Sb.test(c.nodeName)&&c.href?0:-1}}}});u.hrefNormalized||f.each(["href","src"],function(c,a){f.propHooks[a]={get:function(c){return c.getAttribute(a,4)}}});u.optSelected||
(f.propHooks.selected={get:function(c){c=c.parentNode;return c&&(c.selectedIndex,c.parentNode&&c.parentNode.selectedIndex),null}});f.each("tabIndex readOnly maxLength cellSpacing cellPadding rowSpan colSpan useMap frameBorder contentEditable".split(" "),function(){f.propFix[this.toLowerCase()]=this});u.enctype||(f.propFix.enctype="encoding");var Nb=/[\t\r\n\f]/g;f.fn.extend({addClass:function(c){var a,b,d,e,k,l=0,s=this.length;a="string"==typeof c&&c;if(f.isFunction(c))return this.each(function(a){f(this).addClass(c.call(this,
a,this.className))});if(a)for(a=(c||"").match(xa)||[];s>l;l++)if(b=this[l],d=1===b.nodeType&&(b.className?(" "+b.className+" ").replace(Nb," "):" ")){for(k=0;e=a[k++];)0>d.indexOf(" "+e+" ")&&(d+=e+" ");d=f.trim(d);b.className!==d&&(b.className=d)}return this},removeClass:function(c){var a,b,d,e,k,l=0,s=this.length;a=0===arguments.length||"string"==typeof c&&c;if(f.isFunction(c))return this.each(function(a){f(this).removeClass(c.call(this,a,this.className))});if(a)for(a=(c||"").match(xa)||[];s>l;l++)if(b=
this[l],d=1===b.nodeType&&(b.className?(" "+b.className+" ").replace(Nb," "):"")){for(k=0;e=a[k++];)for(;0<=d.indexOf(" "+e+" ");)d=d.replace(" "+e+" "," ");d=c?f.trim(d):"";b.className!==d&&(b.className=d)}return this},toggleClass:function(c,a){var b=typeof c;return"boolean"==typeof a&&"string"===b?a?this.addClass(c):this.removeClass(c):this.each(f.isFunction(c)?function(b){f(this).toggleClass(c.call(this,b,this.className,a),a)}:function(){if("string"===b)for(var a,g=0,d=f(this),e=c.match(xa)||[];a=
e[g++];)d.hasClass(a)?d.removeClass(a):d.addClass(a);else("undefined"===b||"boolean"===b)&&(this.className&&f._data(this,"__className__",this.className),this.className=this.className||!1===c?"":f._data(this,"__className__")||"")})},hasClass:function(c){c=" "+c+" ";for(var a=0,f=this.length;f>a;a++)if(1===this[a].nodeType&&0<=(" "+this[a].className+" ").replace(Nb," ").indexOf(c))return!0;return!1}});f.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(c,a){f.fn[a]=function(c,f){return 0<arguments.length?this.on(a,null,c,f):this.trigger(a)}});f.fn.extend({hover:function(c,a){return this.mouseenter(c).mouseleave(a||c)},bind:function(c,a,f){return this.on(c,null,a,f)},unbind:function(c,a){return this.off(c,null,a)},delegate:function(c,a,f,b){return this.on(a,c,f,b)},undelegate:function(c,a,f){return 1===arguments.length?this.off(c,"**"):this.off(a,c||"**",f)}});var gb=f.now(),Tb=/\?/,Aa=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;
f.parseJSON=function(c){if(a.JSON&&a.JSON.parse)return a.JSON.parse(c+"");var b,d=null,e=f.trim(c+"");return e&&!f.trim(e.replace(Aa,function(c,a,f,e){return b&&a&&(d=0),0===d?c:(b=f||a,d+=!e-!f,"")}))?Function("return "+e)():f.error("Invalid JSON: "+c)};f.parseXML=function(c){var b,d;if(!c||"string"!=typeof c)return null;try{a.DOMParser?(d=new DOMParser,b=d.parseFromString(c,"text/xml")):(b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(c))}catch(e){b=void 0}return b&&b.documentElement&&
!b.getElementsByTagName("parsererror").length||f.error("Invalid XML: "+c),b};var hb,Pa,Ub=/#.*$/,X=/([?&])_=[^&]*/,Vb=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,fc=/^(?:GET|HEAD)$/,Wb=/^\/\//,sc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Ob={},ub={},Ab="*/".concat("*");try{Pa=location.href}catch(tc){Pa=E.createElement("a"),Pa.href="",Pa=Pa.href}hb=sc.exec(Pa.toLowerCase())||[];f.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Pa,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(hb[1]),
global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset\x3dUTF-8",accepts:{"*":Ab,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":f.parseJSON,"text xml":f.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(c,a){return a?
k(k(c,f.ajaxSettings),a):k(f.ajaxSettings,c)},ajaxPrefilter:s(Ob),ajaxTransport:s(ub),ajax:function(c,a){function b(c,a,g,d){var e,x,v,r,G=a;if(2!==da){da=2;s&&clearTimeout(s);m=void 0;l=d||"";C.readyState=0<c?4:0;d=200<=c&&300>c||304===c;if(g){v=h;for(var w=C,p,ha,oa,q,na=v.contents,u=v.dataTypes;"*"===u[0];)u.shift(),void 0===ha&&(ha=v.mimeType||w.getResponseHeader("Content-Type"));if(ha)for(q in na)if(na[q]&&na[q].test(ha)){u.unshift(q);break}if(u[0]in g)oa=u[0];else{for(q in g){if(!u[0]||v.converters[q+
" "+u[0]]){oa=q;break}p||(p=q)}oa=oa||p}v=oa?(oa!==u[0]&&u.unshift(oa),g[oa]):void 0}var T;a:{g=h;p=v;ha=C;oa=d;var $,I,L;v={};w=g.dataTypes.slice();if(w[1])for($ in g.converters)v[$.toLowerCase()]=g.converters[$];for(q=w.shift();q;)if(g.responseFields[q]&&(ha[g.responseFields[q]]=p),!L&&oa&&g.dataFilter&&(p=g.dataFilter(p,g.dataType)),L=q,q=w.shift())if("*"===q)q=L;else if("*"!==L&&L!==q){if($=v[L+" "+q]||v["* "+q],!$)for(T in v)if(I=T.split(" "),I[1]===q&&($=v[L+" "+I[0]]||v["* "+I[0]])){!0===$?
$=v[T]:!0!==v[T]&&(q=I[0],w.unshift(I[1]));break}if(!0!==$)if($&&g["throws"])p=$(p);else try{p=$(p)}catch(z){T={state:"parsererror",error:$?z:"No conversion from "+L+" to "+q};break a}}T={state:"success",data:p}}v=T;d?(h.ifModified&&(r=C.getResponseHeader("Last-Modified"),r&&(f.lastModified[k]=r),r=C.getResponseHeader("etag"),r&&(f.etag[k]=r)),204===c||"HEAD"===h.type?G="nocontent":304===c?G="notmodified":(G=v.state,e=v.data,x=v.error,d=!x)):(x=G,(c||!G)&&(G="error",0>c&&(c=0)));C.status=c;C.statusText=
(a||G)+"";d?n.resolveWith(M,[e,G,C]):n.rejectWith(M,[C,G,x]);C.statusCode(J);J=void 0;t&&Z.trigger(d?"ajaxSuccess":"ajaxError",[C,h,d?e:x]);ia.fireWith(M,[C,G]);t&&(Z.trigger("ajaxComplete",[C,h]),--f.active||f.event.trigger("ajaxStop"))}}"object"==typeof c&&(a=c,c=void 0);a=a||{};var d,e,k,l,s,t,m,v,h=f.ajaxSetup({},a),M=h.context||h,Z=h.context&&(M.nodeType||M.jquery)?f(M):f.event,n=f.Deferred(),ia=f.Callbacks("once memory"),J=h.statusCode||{},G={},w={},da=0,p="canceled",C={readyState:0,getResponseHeader:function(c){var a;
if(2===da){if(!v)for(v={};a=Vb.exec(l);)v[a[1].toLowerCase()]=a[2];a=v[c.toLowerCase()]}return null==a?null:a},getAllResponseHeaders:function(){return 2===da?l:null},setRequestHeader:function(c,a){var f=c.toLowerCase();return da||(c=w[f]=w[f]||c,G[c]=a),this},overrideMimeType:function(c){return da||(h.mimeType=c),this},statusCode:function(c){var a;if(c)if(2>da)for(a in c)J[a]=[J[a],c[a]];else C.always(c[C.status]);return this},abort:function(c){c=c||p;return m&&m.abort(c),b(0,c),this}};if(n.promise(C).complete=
ia.add,C.success=C.done,C.error=C.fail,h.url=((c||h.url||Pa)+"").replace(Ub,"").replace(Wb,hb[1]+"//"),h.type=a.method||a.type||h.method||h.type,h.dataTypes=f.trim(h.dataType||"*").toLowerCase().match(xa)||[""],null==h.crossDomain&&(d=sc.exec(h.url.toLowerCase()),h.crossDomain=!(!d||d[1]===hb[1]&&d[2]===hb[2]&&(d[3]||("http:"===d[1]?"80":"443"))===(hb[3]||("http:"===hb[1]?"80":"443")))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=f.param(h.data,h.traditional)),x(Ob,h,a,C),2===da)return C;
(t=f.event&&h.global)&&0===f.active++&&f.event.trigger("ajaxStart");h.type=h.type.toUpperCase();h.hasContent=!fc.test(h.type);k=h.url;h.hasContent||(h.data&&(k=h.url+=(Tb.test(k)?"\x26":"?")+h.data,delete h.data),!1===h.cache&&(h.url=X.test(k)?k.replace(X,"$1_\x3d"+gb++):k+(Tb.test(k)?"\x26":"?")+"_\x3d"+gb++));h.ifModified&&(f.lastModified[k]&&C.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&C.setRequestHeader("If-None-Match",f.etag[k]));(h.data&&h.hasContent&&!1!==h.contentType||
a.contentType)&&C.setRequestHeader("Content-Type",h.contentType);C.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Ab+"; q\x3d0.01":""):h.accepts["*"]);for(e in h.headers)C.setRequestHeader(e,h.headers[e]);if(h.beforeSend&&(!1===h.beforeSend.call(M,C,h)||2===da))return C.abort();p="abort";for(e in{success:1,error:1,complete:1})C[e](h[e]);if(m=x(ub,h,a,C)){C.readyState=1;t&&Z.trigger("ajaxSend",[C,h]);h.async&&0<h.timeout&&(s=
setTimeout(function(){C.abort("timeout")},h.timeout));try{da=1,m.send(G,b)}catch(ha){if(!(2>da))throw ha;b(-1,ha)}}else b(-1,"No Transport");return C},getJSON:function(c,a,b){return f.get(c,a,b,"json")},getScript:function(c,a){return f.get(c,void 0,a,"script")}});f.each(["get","post"],function(c,a){f[a]=function(c,b,d,e){return f.isFunction(b)&&(e=e||d,d=b,b=void 0),f.ajax({url:c,type:a,dataType:e,data:b,success:d})}});f._evalUrl=function(c){return f.ajax({url:c,type:"GET",dataType:"script",async:!1,
global:!1,"throws":!0})};f.fn.extend({wrapAll:function(c){if(f.isFunction(c))return this.each(function(a){f(this).wrapAll(c.call(this,a))});if(this[0]){var a=f(c,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&a.insertBefore(this[0]);a.map(function(){for(var c=this;c.firstChild&&1===c.firstChild.nodeType;)c=c.firstChild;return c}).append(this)}return this},wrapInner:function(c){return this.each(f.isFunction(c)?function(a){f(this).wrapInner(c.call(this,a))}:function(){var a=f(this),b=a.contents();
b.length?b.wrapAll(c):a.append(c)})},wrap:function(c){var a=f.isFunction(c);return this.each(function(b){f(this).wrapAll(a?c.call(this,b):c)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()}});f.expr.filters.hidden=function(c){return 0>=c.offsetWidth&&0>=c.offsetHeight||!u.reliableHiddenOffsets()&&"none"===(c.style&&c.style.display||f.css(c,"display"))};f.expr.filters.visible=function(c){return!f.expr.filters.hidden(c)};
var gc=/%20/g,La=/\[\]$/,Qa=/\r?\n/g,Ra=/^(?:submit|button|image|reset|file)$/i,ja=/^(?:input|select|textarea|keygen)/i;f.param=function(c,a){var b,d=[],e=function(c,a){a=f.isFunction(a)?a():null==a?"":a;d[d.length]=encodeURIComponent(c)+"\x3d"+encodeURIComponent(a)};if(void 0===a&&(a=f.ajaxSettings&&f.ajaxSettings.traditional),f.isArray(c)||c.jquery&&!f.isPlainObject(c))f.each(c,function(){e(this.name,this.value)});else for(b in c)M(b,c[b],a,e);return d.join("\x26").replace(gc,"+")};f.fn.extend({serialize:function(){return f.param(this.serializeArray())},
serializeArray:function(){return this.map(function(){var c=f.prop(this,"elements");return c?f.makeArray(c):this}).filter(function(){var c=this.type;return this.name&&!f(this).is(":disabled")&&ja.test(this.nodeName)&&!Ra.test(c)&&(this.checked||!na.test(c))}).map(function(c,a){var b=f(this).val();return null==b?null:f.isArray(b)?f.map(b,function(c){return{name:a.name,value:c.replace(Qa,"\r\n")}}):{name:a.name,value:b.replace(Qa,"\r\n")}}).get()}});f.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){var c;
if(!(c=!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&v()))a:{try{c=new a.ActiveXObject("Microsoft.XMLHTTP");break a}catch(f){}c=void 0}return c}:v;var sb=0,Sa={},Ta=f.ajaxSettings.xhr();a.attachEvent&&a.attachEvent("onunload",function(){for(var c in Sa)Sa[c](void 0,!0)});u.cors=!!Ta&&"withCredentials"in Ta;(Ta=u.ajax=!!Ta)&&f.ajaxTransport(function(c){if(!c.crossDomain||u.cors){var a;return{send:function(b,d){var e,k=c.xhr(),l=++sb;if(k.open(c.type,c.url,c.async,c.username,
c.password),c.xhrFields)for(e in c.xhrFields)k[e]=c.xhrFields[e];c.mimeType&&k.overrideMimeType&&k.overrideMimeType(c.mimeType);c.crossDomain||b["X-Requested-With"]||(b["X-Requested-With"]="XMLHttpRequest");for(e in b)void 0!==b[e]&&k.setRequestHeader(e,b[e]+"");k.send(c.hasContent&&c.data||null);a=function(b,e){var s,t,h;if(a&&(e||4===k.readyState))if(delete Sa[l],a=void 0,k.onreadystatechange=f.noop,e)4!==k.readyState&&k.abort();else{h={};s=k.status;"string"==typeof k.responseText&&(h.text=k.responseText);
try{t=k.statusText}catch(x){t=""}s||!c.isLocal||c.crossDomain?1223===s&&(s=204):s=h.text?200:404}h&&d(s,t,h,k.getAllResponseHeaders())};c.async?4===k.readyState?setTimeout(a):k.onreadystatechange=Sa[l]=a:a()},abort:function(){a&&a(void 0,!0)}}}});f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(c){return f.globalEval(c),c}}});f.ajaxPrefilter("script",
function(c){void 0===c.cache&&(c.cache=!1);c.crossDomain&&(c.type="GET",c.global=!1)});f.ajaxTransport("script",function(c){if(c.crossDomain){var a,b=E.head||f("head")[0]||E.documentElement;return{send:function(f,d){a=E.createElement("script");a.async=!0;c.scriptCharset&&(a.charset=c.scriptCharset);a.src=c.url;a.onload=a.onreadystatechange=function(c,b){(b||!a.readyState||/loaded|complete/.test(a.readyState))&&(a.onload=a.onreadystatechange=null,a.parentNode&&a.parentNode.removeChild(a),a=null,b||
d(200,"success"))};b.insertBefore(a,b.firstChild)},abort:function(){a&&a.onload(void 0,!0)}}}});var hc=[],ic=/(=)\?(?=&|$)|\?\?/;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var c=hc.pop()||f.expando+"_"+gb++;return this[c]=!0,c}});f.ajaxPrefilter("json jsonp",function(c,b,d){var e,k,l,s=!1!==c.jsonp&&(ic.test(c.url)?"url":"string"==typeof c.data&&!(c.contentType||"").indexOf("application/x-www-form-urlencoded")&&ic.test(c.data)&&"data");return s||"jsonp"===c.dataTypes[0]?(e=c.jsonpCallback=
f.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,s?c[s]=c[s].replace(ic,"$1"+e):!1!==c.jsonp&&(c.url+=(Tb.test(c.url)?"\x26":"?")+c.jsonp+"\x3d"+e),c.converters["script json"]=function(){return l||f.error(e+" was not called"),l[0]},c.dataTypes[0]="json",k=a[e],a[e]=function(){l=arguments},d.always(function(){a[e]=k;c[e]&&(c.jsonpCallback=b.jsonpCallback,hc.push(e));l&&f.isFunction(k)&&k(l[0]);l=k=void 0}),"script"):void 0});f.parseHTML=function(c,a,b){if(!c||"string"!=typeof c)return null;
"boolean"==typeof a&&(b=a,a=!1);a=a||E;var d=Zb.exec(c);b=!b&&[];return d?[a.createElement(d[1])]:(d=f.buildFragment([c],a,b),b&&b.length&&f(b).remove(),f.merge([],d.childNodes))};var Xb=f.fn.load;f.fn.load=function(c,a,b){if("string"!=typeof c&&Xb)return Xb.apply(this,arguments);var d,e,k,l=this,s=c.indexOf(" ");return 0<=s&&(d=f.trim(c.slice(s,c.length)),c=c.slice(0,s)),f.isFunction(a)?(b=a,a=void 0):a&&"object"==typeof a&&(k="POST"),0<l.length&&f.ajax({url:c,type:k,dataType:"html",data:a}).done(function(c){e=
arguments;l.html(d?f("\x3cdiv\x3e").append(f.parseHTML(c)).find(d):c)}).complete(b&&function(c,a){l.each(b,e||[c.responseText,a,c])}),this};f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(c,a){f.fn[a]=function(c){return this.on(a,c)}});f.expr.filters.animated=function(c){return f.grep(f.timers,function(a){return c===a.elem}).length};var Yb=a.document.documentElement;f.offset={setOffset:function(c,a,b){var d,e,k,l,s,t,h=f.css(c,"position"),x=f(c),v={};"static"===
h&&(c.style.position="relative");s=x.offset();k=f.css(c,"top");t=f.css(c,"left");("absolute"===h||"fixed"===h)&&-1<f.inArray("auto",[k,t])?(d=x.position(),l=d.top,e=d.left):(l=parseFloat(k)||0,e=parseFloat(t)||0);f.isFunction(a)&&(a=a.call(c,b,s));null!=a.top&&(v.top=a.top-s.top+l);null!=a.left&&(v.left=a.left-s.left+e);"using"in a?a.using.call(c,v):x.css(v)}};f.fn.extend({offset:function(c){if(arguments.length)return void 0===c?this:this.each(function(a){f.offset.setOffset(this,c,a)});var a,b,d=
{top:0,left:0},e=this[0],k=e&&e.ownerDocument;if(k)return a=k.documentElement,f.contains(a,e)?("undefined"!==typeof e.getBoundingClientRect&&(d=e.getBoundingClientRect()),b=da(k),{top:d.top+(b.pageYOffset||a.scrollTop)-(a.clientTop||0),left:d.left+(b.pageXOffset||a.scrollLeft)-(a.clientLeft||0)}):d},position:function(){if(this[0]){var c,a,b={top:0,left:0},d=this[0];return"fixed"===f.css(d,"position")?a=d.getBoundingClientRect():(c=this.offsetParent(),a=this.offset(),f.nodeName(c[0],"html")||(b=c.offset()),
b.top+=f.css(c[0],"borderTopWidth",!0),b.left+=f.css(c[0],"borderLeftWidth",!0)),{top:a.top-b.top-f.css(d,"marginTop",!0),left:a.left-b.left-f.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent||Yb;c&&!f.nodeName(c,"html")&&"static"===f.css(c,"position");)c=c.offsetParent;return c||Yb})}});f.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(c,a){var b=/Y/.test(a);f.fn[c]=function(d){return ia(this,function(c,d,e){var k=da(c);return void 0===
e?k?a in k?k[a]:k.document.documentElement[d]:c[d]:void(k?k.scrollTo(b?f(k).scrollLeft():e,b?e:f(k).scrollTop()):c[d]=e)},c,d,arguments.length,null)}});f.each(["top","left"],function(c,a){f.cssHooks[a]=S(u.pixelPosition,function(c,b){return b?(b=ma(c,a),ka.test(b)?f(c).position()[a]+"px":b):void 0})});f.each({Height:"height",Width:"width"},function(c,a){f.each({padding:"inner"+c,content:a,"":"outer"+c},function(b,d){f.fn[d]=function(d,e){var k=arguments.length&&(b||"boolean"!=typeof d),l=b||(!0===
d||!0===e?"margin":"border");return ia(this,function(a,b,d){var e;return f.isWindow(a)?a.document.documentElement["client"+c]:9===a.nodeType?(e=a.documentElement,Math.max(a.body["scroll"+c],e["scroll"+c],a.body["offset"+c],e["offset"+c],e["client"+c])):void 0===d?f.css(a,b,l):f.style(a,b,d,l)},a,k?d:void 0,k,null)}})});f.fn.size=function(){return this.length};f.fn.andSelf=f.fn.addBack;"function"==typeof define&&define.amd&&define("jquery",[],function(){return f});var zc=a.jQuery,uc=a.$;return f.noConflict=
function(c){return a.$===f&&(a.$=uc),c&&a.jQuery===f&&(a.jQuery=zc),f},"undefined"===typeof q&&(a.jQuery=a.$=f),f});if("undefined"==typeof jQuery)throw Error("Bootstrap's JavaScript requires jQuery");+function(a){a=a.fn.jquery.split(" ")[0].split(".");if(2>a[0]&&9>a[1]||1==a[0]&&9==a[1]&&1>a[2]||2<a[0])throw Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3");}(jQuery);
+function(a){function q(){var a=document.createElement("bootstrap"),h={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},m;for(m in h)if(void 0!==a.style[m])return{end:h[m]};return!1}a.fn.emulateTransitionEnd=function(p){var h=!1,m=this;a(this).one("bsTransitionEnd",function(){h=!0});return setTimeout(function(){h||a(m).trigger(a.support.transition.end)},p),this};a(function(){a.support.transition=q();a.support.transition&&
(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(p){return a(p.target).is(this)?p.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery);
+function(a){var q=function(h){a(h).on("click",'[data-dismiss\x3d"alert"]',this.close)};q.VERSION="3.3.6";q.TRANSITION_DURATION=150;q.prototype.close=function(h){function m(){b.detach().trigger("closed.bs.alert").remove()}var e=a(this),d=e.attr("data-target");d||(d=e.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,""));var b=a(d);h&&h.preventDefault();b.length||(b=e.closest(".alert"));b.trigger(h=a.Event("close.bs.alert"));h.isDefaultPrevented()||(b.removeClass("in"),a.support.transition&&b.hasClass("fade")?
b.one("bsTransitionEnd",m).emulateTransitionEnd(q.TRANSITION_DURATION):m())};var p=a.fn.alert;a.fn.alert=function(h){return this.each(function(){var m=a(this),e=m.data("bs.alert");e||m.data("bs.alert",e=new q(this));"string"==typeof h&&e[h].call(m)})};a.fn.alert.Constructor=q;a.fn.alert.noConflict=function(){return a.fn.alert=p,this};a(document).on("click.bs.alert.data-api",'[data-dismiss\x3d"alert"]',q.prototype.close)}(jQuery);
+function(a){function q(h){return this.each(function(){var e=a(this),d=e.data("bs.button"),b="object"==typeof h&&h;d||e.data("bs.button",d=new p(this,b));"toggle"==h?d.toggle():h&&d.setState(h)})}var p=function(h,e){this.$element=a(h);this.options=a.extend({},p.DEFAULTS,e);this.isLoading=!1};p.VERSION="3.3.6";p.DEFAULTS={loadingText:"loading..."};p.prototype.setState=function(h){var e=this.$element,d=e.is("input")?"val":"html",b=e.data();h+="Text";null==b.resetText&&e.data("resetText",e[d]());setTimeout(a.proxy(function(){e[d](null==
b[h]?this.options[h]:b[h]);"loadingText"==h?(this.isLoading=!0,e.addClass("disabled").attr("disabled","disabled")):this.isLoading&&(this.isLoading=!1,e.removeClass("disabled").removeAttr("disabled"))},this),0)};p.prototype.toggle=function(){var a=!0,e=this.$element.closest('[data-toggle\x3d"buttons"]');if(e.length){var d=this.$element.find("input");"radio"==d.prop("type")?(d.prop("checked")&&(a=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==d.prop("type")&&
(d.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active"));d.prop("checked",this.$element.hasClass("active"));a&&d.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var h=a.fn.button;a.fn.button=q;a.fn.button.Constructor=p;a.fn.button.noConflict=function(){return a.fn.button=h,this};a(document).on("click.bs.button.data-api",'[data-toggle^\x3d"button"]',function(h){var e=a(h.target);
e.hasClass("btn")||(e=e.closest(".btn"));q.call(e,"toggle");a(h.target).is('input[type\x3d"radio"]')||a(h.target).is('input[type\x3d"checkbox"]')||h.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^\x3d"button"]',function(h){a(h.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(h.type))})}(jQuery);
+function(a){function q(e){return this.each(function(){var d=a(this),b=d.data("bs.carousel"),l=a.extend({},p.DEFAULTS,d.data(),"object"==typeof e&&e),h="string"==typeof e?e:l.slide;b||d.data("bs.carousel",b=new p(this,l));"number"==typeof e?b.to(e):h?b[h]():l.interval&&b.pause().cycle()})}var p=function(e,d){this.$element=a(e);this.$indicators=this.$element.find(".carousel-indicators");this.options=d;this.$items=this.$active=this.interval=this.sliding=this.paused=null;this.options.keyboard&&this.$element.on("keydown.bs.carousel",
a.proxy(this.keydown,this));"hover"!=this.options.pause||"ontouchstart"in document.documentElement||this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};p.VERSION="3.3.6";p.TRANSITION_DURATION=600;p.DEFAULTS={interval:5E3,pause:"hover",wrap:!0,keyboard:!0};p.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}};
p.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this};p.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)};p.prototype.getItemForDirection=function(a,d){var b=this.getItemIndex(d);return("prev"==a&&0===b||"next"==a&&b==this.$items.length-1)&&!this.options.wrap?d:this.$items.eq((b+
("prev"==a?-1:1))%this.$items.length)};p.prototype.to=function(a){var d=this,b=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){d.to(a)}):b==a?this.pause().cycle():this.slide(a>b?"next":"prev",this.$items.eq(a))};p.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),
this.cycle(!0)),this.interval=clearInterval(this.interval),this};p.prototype.next=function(){return this.sliding?void 0:this.slide("next")};p.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")};p.prototype.slide=function(e,d){var b=this.$element.find(".item.active"),l=d||this.getItemForDirection(e,b),h=this.interval,m="next"==e?"left":"right",q=this;if(l.hasClass("active"))return this.sliding=!1;var n=l[0],F=a.Event("slide.bs.carousel",{relatedTarget:n,direction:m});if(this.$element.trigger(F),
!F.isDefaultPrevented()){if(this.sliding=!0,h&&this.pause(),this.$indicators.length)this.$indicators.find(".active").removeClass("active"),(F=a(this.$indicators.children()[this.getItemIndex(l)]))&&F.addClass("active");var z=a.Event("slid.bs.carousel",{relatedTarget:n,direction:m});return a.support.transition&&this.$element.hasClass("slide")?(l.addClass(e),l[0].offsetWidth,b.addClass(m),l.addClass(m),b.one("bsTransitionEnd",function(){l.removeClass([e,m].join(" ")).addClass("active");b.removeClass(["active",
m].join(" "));q.sliding=!1;setTimeout(function(){q.$element.trigger(z)},0)}).emulateTransitionEnd(p.TRANSITION_DURATION)):(b.removeClass("active"),l.addClass("active"),this.sliding=!1,this.$element.trigger(z)),h&&this.cycle(),this}};var h=a.fn.carousel;a.fn.carousel=q;a.fn.carousel.Constructor=p;a.fn.carousel.noConflict=function(){return a.fn.carousel=h,this};var m=function(e){var d,b=a(this),l=a(b.attr("data-target")||(d=b.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));l.hasClass("carousel")&&(d=
a.extend({},l.data(),b.data()),(b=b.attr("data-slide-to"))&&(d.interval=!1),q.call(l,d),b&&l.data("bs.carousel").to(b),e.preventDefault())};a(document).on("click.bs.carousel.data-api","[data-slide]",m).on("click.bs.carousel.data-api","[data-slide-to]",m);a(window).on("load",function(){a('[data-ride\x3d"carousel"]').each(function(){var e=a(this);q.call(e,e.data())})})}(jQuery);
+function(a){function q(e){var d;e=e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,"");return a(e)}function p(e){return this.each(function(){var d=a(this),b=d.data("bs.collapse"),l=a.extend({},h.DEFAULTS,d.data(),"object"==typeof e&&e);!b&&l.toggle&&/show|hide/.test(e)&&(l.toggle=!1);b||d.data("bs.collapse",b=new h(this,l));"string"==typeof e&&b[e]()})}var h=function(e,d){this.$element=a(e);this.options=a.extend({},h.DEFAULTS,d);this.$trigger=a('[data-toggle\x3d"collapse"][href\x3d"#'+
e.id+'"],[data-toggle\x3d"collapse"][data-target\x3d"#'+e.id+'"]');this.transitioning=null;this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger);this.options.toggle&&this.toggle()};h.VERSION="3.3.6";h.TRANSITION_DURATION=350;h.DEFAULTS={toggle:!0};h.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"};h.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,d=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");
if(!(d&&d.length&&(e=d.data("bs.collapse"),e&&e.transitioning))){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){d&&d.length&&(p.call(d,"hide"),e||d.data("bs.collapse",null));var l=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[l](0).attr("aria-expanded",!0);this.$trigger.removeClass("collapsed").attr("aria-expanded",!0);this.transitioning=1;e=function(){this.$element.removeClass("collapsing").addClass("collapse in")[l]("");this.transitioning=
0;this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return e.call(this);d=a.camelCase(["scroll",l].join("-"));this.$element.one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(h.TRANSITION_DURATION)[l](this.$element[0][d])}}}};h.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=a.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){e=this.dimension();this.$element[e](this.$element[e]())[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 d=function(){this.transitioning=0;this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[e](0).one("bsTransitionEnd",a.proxy(d,this)).emulateTransitionEnd(h.TRANSITION_DURATION):d.call(this)}}};h.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};h.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle\x3d"collapse"][data-parent\x3d"'+
this.options.parent+'"]').each(a.proxy(function(e,d){var b=a(d);this.addAriaAndCollapsedClass(q(b),b)},this)).end()};h.prototype.addAriaAndCollapsedClass=function(a,d){var b=a.hasClass("in");a.attr("aria-expanded",b);d.toggleClass("collapsed",!b).attr("aria-expanded",b)};var m=a.fn.collapse;a.fn.collapse=p;a.fn.collapse.Constructor=h;a.fn.collapse.noConflict=function(){return a.fn.collapse=m,this};a(document).on("click.bs.collapse.data-api",'[data-toggle\x3d"collapse"]',function(e){var d=a(this);
d.attr("data-target")||e.preventDefault();e=q(d);d=e.data("bs.collapse")?"toggle":d.data();p.call(e,d)})}(jQuery);
+function(a){function q(b){var d=b.attr("data-target");d||(d=b.attr("href"),d=d&&/#[A-Za-z]/.test(d)&&d.replace(/.*(?=#[^\s]*$)/,""));return(d=d&&a(d))&&d.length?d:b.parent()}function p(b){b&&3===b.which||(a(h).remove(),a(m).each(function(){var d=a(this),e=q(d),h={relatedTarget:this};e.hasClass("open")&&(b&&"click"==b.type&&/input|textarea/i.test(b.target.tagName)&&a.contains(e[0],b.target)||(e.trigger(b=a.Event("hide.bs.dropdown",h)),b.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",
h)))))}))}var h=".dropdown-backdrop",m='[data-toggle\x3d"dropdown"]',e=function(b){a(b).on("click.bs.dropdown",this.toggle)};e.VERSION="3.3.6";e.prototype.toggle=function(b){var d=a(this);if(!d.is(".disabled, :disabled")){var e=q(d),h=e.hasClass("open");if(p(),!h){"ontouchstart"in document.documentElement&&!e.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",p);h={relatedTarget:this};if(e.trigger(b=a.Event("show.bs.dropdown",
h)),b.isDefaultPrevented())return;d.trigger("focus").attr("aria-expanded","true");e.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}};e.prototype.keydown=function(b){if(/(38|40|27|32)/.test(b.which)&&!/input|textarea/i.test(b.target.tagName)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var e=q(d),h=e.hasClass("open");if(!h&&27!=b.which||h&&27==b.which)return 27==b.which&&e.find(m).trigger("focus"),d.trigger("click");d=e.find(".dropdown-menu li:not(.disabled):visible a");
d.length&&(e=d.index(b.target),38==b.which&&0<e&&e--,40==b.which&&e<d.length-1&&e++,~e||(e=0),d.eq(e).trigger("focus"))}}};var d=a.fn.dropdown;a.fn.dropdown=function(b){return this.each(function(){var d=a(this),h=d.data("bs.dropdown");h||d.data("bs.dropdown",h=new e(this));"string"==typeof b&&h[b].call(d)})};a.fn.dropdown.Constructor=e;a.fn.dropdown.noConflict=function(){return a.fn.dropdown=d,this};a(document).on("click.bs.dropdown.data-api",p).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",
m,e.prototype.toggle).on("keydown.bs.dropdown.data-api",m,e.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",e.prototype.keydown)}(jQuery);
+function(a){function q(h,e){return this.each(function(){var d=a(this),b=d.data("bs.modal"),l=a.extend({},p.DEFAULTS,d.data(),"object"==typeof h&&h);b||d.data("bs.modal",b=new p(this,l));"string"==typeof h?b[h](e):l.show&&b.show(e)})}var p=function(h,e){this.options=e;this.$body=a(document.body);this.$element=a(h);this.$dialog=this.$element.find(".modal-dialog");this.originalBodyPad=this.isShown=this.$backdrop=null;this.scrollbarWidth=0;this.ignoreBackdropClick=!1;this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,
a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};p.VERSION="3.3.6";p.TRANSITION_DURATION=300;p.BACKDROP_TRANSITION_DURATION=150;p.DEFAULTS={backdrop:!0,keyboard:!0,show:!0};p.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)};p.prototype.show=function(h){var e=this,d=a.Event("show.bs.modal",{relatedTarget:h});this.$element.trigger(d);this.isShown||d.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\x3d"modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){e.$element.one("mouseup.dismiss.bs.modal",function(b){a(b.target).is(e.$element)&&(e.ignoreBackdropClick=!0)})}),this.backdrop(function(){var b=a.support.transition&&e.$element.hasClass("fade");e.$element.parent().length||e.$element.appendTo(e.$body);e.$element.show().scrollTop(0);e.adjustDialog();b&&e.$element[0].offsetWidth;
e.$element.addClass("in");e.enforceFocus();var d=a.Event("shown.bs.modal",{relatedTarget:h});b?e.$dialog.one("bsTransitionEnd",function(){e.$element.trigger("focus").trigger(d)}).emulateTransitionEnd(p.TRANSITION_DURATION):e.$element.trigger("focus").trigger(d)}))};p.prototype.hide=function(h){h&&h.preventDefault();h=a.Event("hide.bs.modal");this.$element.trigger(h);this.isShown&&!h.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),
this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(p.TRANSITION_DURATION):this.hideModal())};p.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))};p.prototype.escape=function(){this.isShown&&this.options.keyboard?
this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")};p.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")};p.prototype.hideModal=function(){var a=this;this.$element.hide();this.backdrop(function(){a.$body.removeClass("modal-open");a.resetAdjustments();a.resetScrollbar();a.$element.trigger("hidden.bs.modal")})};
p.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove();this.$backdrop=null};p.prototype.backdrop=function(h){var e=this,d=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var b=a.support.transition&&d;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+d).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(a.target===
a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),b&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),h)b?this.$backdrop.one("bsTransitionEnd",h).emulateTransitionEnd(p.BACKDROP_TRANSITION_DURATION):h()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),d=function(){e.removeBackdrop();h&&h()},a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",d).emulateTransitionEnd(p.BACKDROP_TRANSITION_DURATION):
d()):h&&h()};p.prototype.handleUpdate=function(){this.adjustDialog()};p.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})};p.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})};p.prototype.checkScrollbar=function(){var a=window.innerWidth;a||(a=document.documentElement.getBoundingClientRect(),
a=a.right-Math.abs(a.left));this.bodyIsOverflowing=document.body.clientWidth<a;this.scrollbarWidth=this.measureScrollbar()};p.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)};p.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)};p.prototype.measureScrollbar=function(){var a=document.createElement("div");
a.className="modal-scrollbar-measure";this.$body.append(a);var e=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),e};var h=a.fn.modal;a.fn.modal=q;a.fn.modal.Constructor=p;a.fn.modal.noConflict=function(){return a.fn.modal=h,this};a(document).on("click.bs.modal.data-api",'[data-toggle\x3d"modal"]',function(h){var e=a(this),d=e.attr("href"),b=a(e.attr("data-target")||d&&d.replace(/.*(?=#[^\s]+$)/,"")),d=b.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(d)&&d},b.data(),e.data());
e.is("a")&&h.preventDefault();b.one("show.bs.modal",function(a){a.isDefaultPrevented()||b.one("hidden.bs.modal",function(){e.is(":visible")&&e.trigger("focus")})});q.call(b,d,this)})}(jQuery);
+function(a){var q=function(a,m){this.inState=this.$element=this.hoverState=this.timeout=this.enabled=this.options=this.type=null;this.init("tooltip",a,m)};q.VERSION="3.3.6";q.TRANSITION_DURATION=150;q.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'\x3cdiv class\x3d"tooltip" role\x3d"tooltip"\x3e\x3cdiv class\x3d"tooltip-arrow"\x3e\x3c/div\x3e\x3cdiv class\x3d"tooltip-inner"\x3e\x3c/div\x3e\x3c/div\x3e',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",
padding:0}};q.prototype.init=function(h,m,e){if(this.enabled=!0,this.type=h,this.$element=a(m),this.options=this.getOptions(e),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");
h=this.options.trigger.split(" ");for(m=h.length;m--;)if(e=h[m],"click"==e)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=e){var d="hover"==e?"mouseleave":"focusout";this.$element.on(("hover"==e?"mouseenter":"focusin")+"."+this.type,this.options.selector,a.proxy(this.enter,this));this.$element.on(d+"."+this.type,this.options.selector,a.proxy(this.leave,this))}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):
this.fixTitle()};q.prototype.getDefaults=function(){return q.DEFAULTS};q.prototype.getOptions=function(h){return h=a.extend({},this.getDefaults(),this.$element.data(),h),h.delay&&"number"==typeof h.delay&&(h.delay={show:h.delay,hide:h.delay}),h};q.prototype.getDelegateOptions=function(){var h={},m=this.getDefaults();return this._options&&a.each(this._options,function(a,d){m[a]!=d&&(h[a]=d)}),h};q.prototype.enter=function(h){var m=h instanceof this.constructor?h:a(h.currentTarget).data("bs."+this.type);
return m||(m=new this.constructor(h.currentTarget,this.getDelegateOptions()),a(h.currentTarget).data("bs."+this.type,m)),h instanceof a.Event&&(m.inState["focusin"==h.type?"focus":"hover"]=!0),m.tip().hasClass("in")||"in"==m.hoverState?void(m.hoverState="in"):(clearTimeout(m.timeout),m.hoverState="in",m.options.delay&&m.options.delay.show?void(m.timeout=setTimeout(function(){"in"==m.hoverState&&m.show()},m.options.delay.show)):m.show())};q.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;
return!1};q.prototype.leave=function(h){var m=h instanceof this.constructor?h:a(h.currentTarget).data("bs."+this.type);return m||(m=new this.constructor(h.currentTarget,this.getDelegateOptions()),a(h.currentTarget).data("bs."+this.type,m)),h instanceof a.Event&&(m.inState["focusout"==h.type?"focus":"hover"]=!1),m.isInStateTrue()?void 0:(clearTimeout(m.timeout),m.hoverState="out",m.options.delay&&m.options.delay.hide?void(m.timeout=setTimeout(function(){"out"==m.hoverState&&m.hide()},m.options.delay.hide)):
m.hide())};q.prototype.show=function(){var h=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(h);var m=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(!h.isDefaultPrevented()&&m){var e=this,h=this.tip(),m=this.getUID(this.type);this.setContent();h.attr("id",m);this.$element.attr("aria-describedby",m);this.options.animation&&h.addClass("fade");var m="function"==typeof this.options.placement?this.options.placement.call(this,h[0],
this.$element[0]):this.options.placement,d=/\s?auto?\s?/i,b=d.test(m);b&&(m=m.replace(d,"")||"top");h.detach().css({top:0,left:0,display:"block"}).addClass(m).data("bs."+this.type,this);this.options.container?h.appendTo(this.options.container):h.insertAfter(this.$element);this.$element.trigger("inserted.bs."+this.type);var d=this.getPosition(),l=h[0].offsetWidth,J=h[0].offsetHeight;if(b){var b=m,w=this.getPosition(this.$viewport),m="bottom"==m&&d.bottom+J>w.bottom?"top":"top"==m&&d.top-J<w.top?"bottom":
"right"==m&&d.right+l>w.width?"left":"left"==m&&d.left-l<w.left?"right":m;h.removeClass(b).addClass(m)}d=this.getCalculatedOffset(m,d,l,J);this.applyPlacement(d,m);m=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type);e.hoverState=null;"out"==a&&e.leave(e)};a.support.transition&&this.$tip.hasClass("fade")?h.one("bsTransitionEnd",m).emulateTransitionEnd(q.TRANSITION_DURATION):m()}}};q.prototype.applyPlacement=function(h,m){var e=this.tip(),d=e[0].offsetWidth,b=e[0].offsetHeight,l=
parseInt(e.css("margin-top"),10),J=parseInt(e.css("margin-left"),10);isNaN(l)&&(l=0);isNaN(J)&&(J=0);h.top+=l;h.left+=J;a.offset.setOffset(e[0],a.extend({using:function(a){e.css({top:Math.round(a.top),left:Math.round(a.left)})}},h),0);e.addClass("in");var J=e[0].offsetWidth,w=e[0].offsetHeight;"top"==m&&w!=b&&(h.top=h.top+b-w);var p=this.getViewportAdjustedDelta(m,h,J,w);p.left?h.left+=p.left:h.top+=p.top;d=(l=/top|bottom/.test(m))?2*p.left-d+J:2*p.top-b+w;b=l?"offsetWidth":"offsetHeight";e.offset(h);
this.replaceArrow(d,e[0][b],l)};q.prototype.replaceArrow=function(a,m,e){this.arrow().css(e?"left":"top",50*(1-a/m)+"%").css(e?"top":"left","")};q.prototype.setContent=function(){var a=this.tip(),m=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](m);a.removeClass("fade in top bottom left right")};q.prototype.hide=function(h){function m(){"in"!=e.hoverState&&d.detach();e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type);h&&h()}var e=this,d=a(this.$tip),b=
a.Event("hide.bs."+this.type);return this.$element.trigger(b),b.isDefaultPrevented()?void 0:(d.removeClass("in"),a.support.transition&&d.hasClass("fade")?d.one("bsTransitionEnd",m).emulateTransitionEnd(q.TRANSITION_DURATION):m(),this.hoverState=null,this)};q.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")};q.prototype.hasContent=function(){return this.getTitle()};
q.prototype.getPosition=function(h){h=h||this.$element;var m=h[0],e="BODY"==m.tagName,m=m.getBoundingClientRect();null==m.width&&(m=a.extend({},m,{width:m.right-m.left,height:m.bottom-m.top}));var d=e?{top:0,left:0}:h.offset();h={scroll:e?document.documentElement.scrollTop||document.body.scrollTop:h.scrollTop()};e=e?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},m,h,e,d)};q.prototype.getCalculatedOffset=function(a,m,e,d){return"bottom"==a?{top:m.top+m.height,left:m.left+
m.width/2-e/2}:"top"==a?{top:m.top-d,left:m.left+m.width/2-e/2}:"left"==a?{top:m.top+m.height/2-d/2,left:m.left-e}:{top:m.top+m.height/2-d/2,left:m.left+m.width}};q.prototype.getViewportAdjustedDelta=function(a,m,e,d){var b={top:0,left:0};if(!this.$viewport)return b;var l=this.options.viewport&&this.options.viewport.padding||0,J=this.getPosition(this.$viewport);/right|left/.test(a)?(e=m.top-l-J.scroll,m=m.top+l-J.scroll+d,e<J.top?b.top=J.top-e:m>J.top+J.height&&(b.top=J.top+J.height-m)):(d=m.left-
l,m=m.left+l+e,d<J.left?b.left=J.left-d:m>J.right&&(b.left=J.left+J.width-m));return b};q.prototype.getTitle=function(){var a=this.$element,m=this.options;return a.attr("data-original-title")||("function"==typeof m.title?m.title.call(a[0]):m.title)};q.prototype.getUID=function(a){do a+=~~(1E6*Math.random());while(document.getElementById(a));return a};q.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw Error(this.type+" `template` option must consist of exactly 1 top-level element!");
return this.$tip};q.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")};q.prototype.enable=function(){this.enabled=!0};q.prototype.disable=function(){this.enabled=!1};q.prototype.toggleEnabled=function(){this.enabled=!this.enabled};q.prototype.toggle=function(h){var m=this;h&&(m=a(h.currentTarget).data("bs."+this.type),m||(m=new this.constructor(h.currentTarget,this.getDelegateOptions()),a(h.currentTarget).data("bs."+this.type,m)));h?(m.inState.click=!m.inState.click,
m.isInStateTrue()?m.enter(m):m.leave(m)):m.tip().hasClass("in")?m.leave(m):m.enter(m)};q.prototype.destroy=function(){var a=this;clearTimeout(this.timeout);this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type);a.$tip&&a.$tip.detach();a.$tip=null;a.$arrow=null;a.$viewport=null})};var p=a.fn.tooltip;a.fn.tooltip=function(h){return this.each(function(){var m=a(this),e=m.data("bs.tooltip"),d="object"==typeof h&&h;!e&&/destroy|hide/.test(h)||(e||m.data("bs.tooltip",e=new q(this,d)),
"string"!=typeof h||e[h]())})};a.fn.tooltip.Constructor=q;a.fn.tooltip.noConflict=function(){return a.fn.tooltip=p,this}}(jQuery);
+function(a){var q=function(a,m){this.init("popover",a,m)};if(!a.fn.tooltip)throw Error("Popover requires tooltip.js");q.VERSION="3.3.6";q.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'\x3cdiv class\x3d"popover" role\x3d"tooltip"\x3e\x3cdiv class\x3d"arrow"\x3e\x3c/div\x3e\x3ch3 class\x3d"popover-title"\x3e\x3c/h3\x3e\x3cdiv class\x3d"popover-content"\x3e\x3c/div\x3e\x3c/div\x3e'});q.prototype=a.extend({},a.fn.tooltip.Constructor.prototype);
q.prototype.constructor=q;q.prototype.getDefaults=function(){return q.DEFAULTS};q.prototype.setContent=function(){var a=this.tip(),m=this.getTitle(),e=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](m);a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof e?"html":"append":"text"](e);a.removeClass("fade top bottom left right in");a.find(".popover-title").html()||a.find(".popover-title").hide()};q.prototype.hasContent=function(){return this.getTitle()||
this.getContent()};q.prototype.getContent=function(){var a=this.$element,m=this.options;return a.attr("data-content")||("function"==typeof m.content?m.content.call(a[0]):m.content)};q.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var p=a.fn.popover;a.fn.popover=function(h){return this.each(function(){var m=a(this),e=m.data("bs.popover"),d="object"==typeof h&&h;!e&&/destroy|hide/.test(h)||(e||m.data("bs.popover",e=new q(this,d)),"string"!=typeof h||e[h]())})};
a.fn.popover.Constructor=q;a.fn.popover.noConflict=function(){return a.fn.popover=p,this}}(jQuery);
+function(a){function q(h,e){this.$body=a(document.body);this.$scrollElement=a(a(h).is(document.body)?window:h);this.options=a.extend({},q.DEFAULTS,e);this.selector=(this.options.target||"")+" .nav li \x3e a";this.offsets=[];this.targets=[];this.activeTarget=null;this.scrollHeight=0;this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this));this.refresh();this.process()}function p(h){return this.each(function(){var e=a(this),d=e.data("bs.scrollspy"),b="object"==typeof h&&h;d||e.data("bs.scrollspy",
d=new q(this,b));"string"==typeof h&&d[h]()})}q.VERSION="3.3.6";q.DEFAULTS={offset:10};q.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)};q.prototype.refresh=function(){var h=this,e="offset",d=0;this.offsets=[];this.targets=[];this.scrollHeight=this.getScrollHeight();a.isWindow(this.$scrollElement[0])||(e="position",d=this.$scrollElement.scrollTop());this.$body.find(this.selector).map(function(){var b=
a(this),b=b.data("target")||b.attr("href"),l=/^#./.test(b)&&a(b);return l&&l.length&&l.is(":visible")&&[[l[e]().top+d,b]]||null}).sort(function(a,d){return a[0]-d[0]}).each(function(){h.offsets.push(this[0]);h.targets.push(this[1])})};q.prototype.process=function(){var a,e=this.$scrollElement.scrollTop()+this.options.offset,d=this.getScrollHeight(),b=this.options.offset+d-this.$scrollElement.height(),l=this.offsets,h=this.targets,w=this.activeTarget;if(this.scrollHeight!=d&&this.refresh(),e>=b)return w!=
(a=h[h.length-1])&&this.activate(a);if(w&&e<l[0])return this.activeTarget=null,this.clear();for(a=l.length;a--;)w!=h[a]&&e>=l[a]&&(void 0===l[a+1]||e<l[a+1])&&this.activate(h[a])};q.prototype.activate=function(h){this.activeTarget=h;this.clear();h=a(this.selector+'[data-target\x3d"'+h+'"],'+this.selector+'[href\x3d"'+h+'"]').parents("li").addClass("active");h.parent(".dropdown-menu").length&&(h=h.closest("li.dropdown").addClass("active"));h.trigger("activate.bs.scrollspy")};q.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,
".active").removeClass("active")};var h=a.fn.scrollspy;a.fn.scrollspy=p;a.fn.scrollspy.Constructor=q;a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=h,this};a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy\x3d"scroll"]').each(function(){var h=a(this);p.call(h,h.data())})})}(jQuery);
+function(a){function q(e){return this.each(function(){var d=a(this),b=d.data("bs.tab");b||d.data("bs.tab",b=new p(this));"string"==typeof e&&b[e]()})}var p=function(e){this.element=a(e)};p.VERSION="3.3.6";p.TRANSITION_DURATION=150;p.prototype.show=function(){var e=this.element,d=e.closest("ul:not(.dropdown-menu)"),b=e.data("target");if(b||(b=e.attr("href"),b=b&&b.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var l=d.find(".active:last a"),h=a.Event("hide.bs.tab",{relatedTarget:e[0]}),
m=a.Event("show.bs.tab",{relatedTarget:l[0]});(l.trigger(h),e.trigger(m),m.isDefaultPrevented()||h.isDefaultPrevented())||(b=a(b),this.activate(e.closest("li"),d),this.activate(b,b.parent(),function(){l.trigger({type:"hidden.bs.tab",relatedTarget:e[0]});e.trigger({type:"shown.bs.tab",relatedTarget:l[0]})}))}};p.prototype.activate=function(e,d,b){function l(){h.removeClass("active").find("\x3e .dropdown-menu \x3e .active").removeClass("active").end().find('[data-toggle\x3d"tab"]').attr("aria-expanded",
!1);e.addClass("active").find('[data-toggle\x3d"tab"]').attr("aria-expanded",!0);m?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade");e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle\x3d"tab"]').attr("aria-expanded",!0);b&&b()}var h=d.find("\x3e .active"),m=b&&a.support.transition&&(h.length&&h.hasClass("fade")||!!d.find("\x3e .fade").length);h.length&&m?h.one("bsTransitionEnd",l).emulateTransitionEnd(p.TRANSITION_DURATION):l();h.removeClass("in")};
var h=a.fn.tab;a.fn.tab=q;a.fn.tab.Constructor=p;a.fn.tab.noConflict=function(){return a.fn.tab=h,this};var m=function(e){e.preventDefault();q.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle\x3d"tab"]',m).on("click.bs.tab.data-api",'[data-toggle\x3d"pill"]',m)}(jQuery);
+function(a){function q(h){return this.each(function(){var e=a(this),d=e.data("bs.affix"),b="object"==typeof h&&h;d||e.data("bs.affix",d=new p(this,b));"string"==typeof h&&d[h]()})}var p=function(h,e){this.options=a.extend({},p.DEFAULTS,e);this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this));this.$element=a(h);this.pinnedOffset=this.unpin=this.affixed=null;this.checkPosition()};
p.VERSION="3.3.6";p.RESET="affix affix-top affix-bottom";p.DEFAULTS={offset:0,target:window};p.prototype.getState=function(a,e,d,b){var l=this.$target.scrollTop(),h=this.$element.offset(),w=this.$target.height();if(null!=d&&"top"==this.affixed)return d>l?"top":!1;if("bottom"==this.affixed)return null!=d?l+this.unpin<=h.top?!1:"bottom":a-b>=l+w?!1:"bottom";var p=null==this.affixed,h=p?l:h.top;return null!=d&&d>=l?"top":null!=b&&h+(p?w:e)>=a-b?"bottom":!1};p.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;
this.$element.removeClass(p.RESET).addClass("affix");var a=this.$target.scrollTop();return this.pinnedOffset=this.$element.offset().top-a};p.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)};p.prototype.checkPosition=function(){if(this.$element.is(":visible")){var h=this.$element.height(),e=this.options.offset,d=e.top,b=e.bottom,l=Math.max(a(document).height(),a(document.body).height());"object"!=typeof e&&(b=d=e);"function"==typeof d&&(d=e.top(this.$element));
"function"==typeof b&&(b=e.bottom(this.$element));e=this.getState(l,h,d,b);if(this.affixed!=e){null!=this.unpin&&this.$element.css("top","");var d="affix"+(e?"-"+e:""),J=a.Event(d+".bs.affix");if(this.$element.trigger(J),J.isDefaultPrevented())return;this.affixed=e;this.unpin="bottom"==e?this.getPinnedOffset():null;this.$element.removeClass(p.RESET).addClass(d).trigger(d.replace("affix","affixed")+".bs.affix")}"bottom"==e&&this.$element.offset({top:l-h-b})}};var h=a.fn.affix;a.fn.affix=q;a.fn.affix.Constructor=
p;a.fn.affix.noConflict=function(){return a.fn.affix=h,this};a(window).on("load",function(){a('[data-spy\x3d"affix"]').each(function(){var h=a(this),e=h.data();e.offset=e.offset||{};null!=e.offsetBottom&&(e.offset.bottom=e.offsetBottom);null!=e.offsetTop&&(e.offset.top=e.offsetTop);q.call(h,e)})})}(jQuery);
(function(){var a,q,p,h,m={}.hasOwnProperty,e=function(a,b){function e(){this.constructor=a}for(var h in b)m.call(b,h)&&(a[h]=b[h]);return e.prototype=b.prototype,a.prototype=new e,a.__super__=b.prototype,a};h=function(){function a(){this.options_index=0;this.parsed=[]}return a.prototype.add_node=function(a){return"OPTGROUP"===a.nodeName.toUpperCase()?this.add_group(a):this.add_option(a)},a.prototype.add_group=function(a){var d,e,h,m,n,p;d=this.parsed.length;this.parsed.push({array_index:d,group:!0,
label:this.escapeExpression(a.label),title:a.title?a.title:void 0,children:0,disabled:a.disabled,classes:a.className});n=a.childNodes;p=[];h=0;for(m=n.length;m>h;h++)e=n[h],p.push(this.add_option(e,d,a.disabled));return p},a.prototype.add_option=function(a,d,e){return"OPTION"===a.nodeName.toUpperCase()?(""!==a.text?(null!=d&&(this.parsed[d].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:a.value,text:a.text,html:a.innerHTML,title:a.title?a.title:
void 0,selected:a.selected,disabled:!0===e?e:a.disabled,group_array_index:d,group_label:null!=d?this.parsed[d].label:null,classes:a.className,style:a.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1):void 0},a.prototype.escapeExpression=function(a){var d,e;return null==a||!1===a?"":/[\&\<\>\"\'\`]/.test(a)?(d={"\x3c":"\x26lt;","\x3e":"\x26gt;",'"':"\x26quot;","'":"\x26#x27;","`":"\x26#x60;"},e=/&(?!\w+;)|[\<\>\"\'\`]/g,
a.replace(e,function(a){return d[a]||"\x26amp;"})):a},a}();h.select_to_array=function(a){var b,e,m,w;b=new h;w=a.childNodes;e=0;for(m=w.length;m>e;e++)a=w[e],b.add_node(a);return b.parsed};q=function(){function a(b,e){this.form_field=b;this.options=null!=e?e:{};a.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return a.prototype.set_default_values=function(){var a=
this;return this.click_test_action=function(d){return a.test_active_click(d)},this.activate_action=function(d){return a.activate_field(d)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text?this.options.allow_single_deselect:!1,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=
this.options.disable_search||!1,this.enable_split_word_search=null!=this.options.enable_split_word_search?this.options.enable_split_word_search:!0,this.group_search=null!=this.options.group_search?this.options.group_search:!0,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null!=this.options.single_backstroke_delete?this.options.single_backstroke_delete:!0,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||
!1,this.display_selected_options=null!=this.options.display_selected_options?this.options.display_selected_options:!0,this.display_disabled_options=null!=this.options.display_disabled_options?this.options.display_disabled_options:!0,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1},a.prototype.set_default_text=function(){return this.default_text=this.form_field.getAttribute("data-placeholder")?this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.options.placeholder_text_multiple||
this.options.placeholder_text||a.default_multiple_text:this.options.placeholder_text_single||this.options.placeholder_text||a.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||a.default_no_result_text},a.prototype.choice_label=function(a){return this.include_group_label_in_selected&&null!=a.group_label?"\x3cb class\x3d'group-name'\x3e"+a.group_label+"\x3c/b\x3e"+a.html:a.html},a.prototype.mouse_enter=function(){return this.mouse_on_container=
!0},a.prototype.mouse_leave=function(){return this.mouse_on_container=!1},a.prototype.input_focus=function(){var a=this;if(this.is_multiple){if(!this.active_field)return setTimeout(function(){return a.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},a.prototype.input_blur=function(){var a=this;return this.mouse_on_container?void 0:(this.active_field=!1,setTimeout(function(){return a.blur_test()},100))},a.prototype.results_option_build=function(a){var d,e,h,m,n;d=
"";n=this.results_data;h=0;for(m=n.length;m>h;h++)e=n[h],d+=e.group?this.result_add_group(e):this.result_add_option(e),null!=a&&a.first&&(e.selected&&this.is_multiple?this.choice_build(e):e.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(e)));return d},a.prototype.result_add_option=function(a){var d,e;return a.search_match?this.include_option_in_results(a)?(d=[],a.disabled||a.selected&&this.is_multiple||d.push("active-result"),!a.disabled||a.selected&&this.is_multiple||
d.push("disabled-result"),a.selected&&d.push("result-selected"),null!=a.group_array_index&&d.push("group-option"),""!==a.classes&&d.push(a.classes),e=document.createElement("li"),e.className=d.join(" "),e.style.cssText=a.style,e.setAttribute("data-option-array-index",a.array_index),e.innerHTML=a.search_text,a.title&&(e.title=a.title),this.outerHTML(e)):"":""},a.prototype.result_add_group=function(a){var d,e;return a.search_match||a.group_match?0<a.active_options?(d=[],d.push("group-result"),a.classes&&
d.push(a.classes),e=document.createElement("li"),e.className=d.join(" "),e.innerHTML=a.search_text,a.title&&(e.title=a.title),this.outerHTML(e)):"":""},a.prototype.results_update_field=function(){return this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing?this.winnow_results():void 0},a.prototype.reset_single_select_options=function(){var a,d,e,h,m;h=this.results_data;m=[];d=0;for(e=h.length;e>d;d++)a=h[d],a.selected?
m.push(a.selected=!1):m.push(void 0);return m},a.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},a.prototype.results_search=function(){return this.results_showing?this.winnow_results():this.results_show()},a.prototype.winnow_results=function(){var a,d,e,h,m,n,p,q,K,y,W;this.no_results_clear();e=0;m=this.get_search_text();a=m.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$\x26");q=new RegExp(a,"i");d=this.get_search_regex(a);W=this.results_data;K=0;
for(y=W.length;y>K;K++)a=W[K],a.search_match=!1,h=null,this.include_option_in_results(a)&&(a.group&&(a.group_match=!1,a.active_options=0),null!=a.group_array_index&&this.results_data[a.group_array_index]&&(h=this.results_data[a.group_array_index],0===h.active_options&&h.search_match&&(e+=1),h.active_options+=1),a.search_text=a.group?a.label:a.html,(!a.group||this.group_search)&&(a.search_match=this.search_string_match(a.search_text,d),a.search_match&&!a.group&&(e+=1),a.search_match?(m.length&&(n=
a.search_text.search(q),p=a.search_text.substr(0,n+m.length)+"\x3c/em\x3e"+a.search_text.substr(n+m.length),a.search_text=p.substr(0,n)+"\x3cem\x3e"+p.substr(n)),null!=h&&(h.group_match=!0)):null!=a.group_array_index&&this.results_data[a.group_array_index].search_match&&(a.search_match=!0)));return this.result_clear_highlight(),1>e&&m.length?(this.update_results_content(""),this.no_results(m)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight())},a.prototype.get_search_regex=
function(a){var d;return d=this.search_contains?"":"^",new RegExp(d+a,"i")},a.prototype.search_string_match=function(a,d){var e,h,m,n;if(d.test(a))return!0;if(this.enable_split_word_search&&(0<=a.indexOf(" ")||0===a.indexOf("["))&&(h=a.replace(/\[|\]/g,"").split(" "),h.length))for(m=0,n=h.length;n>m;m++)if(e=h[m],d.test(e))return!0},a.prototype.choices_count=function(){var a,d,e,h;if(null!=this.selected_option_count)return this.selected_option_count;this.selected_option_count=0;h=this.form_field.options;
d=0;for(e=h.length;e>d;d++)a=h[d],a.selected&&(this.selected_option_count+=1);return this.selected_option_count},a.prototype.choices_click=function(a){return a.preventDefault(),this.results_showing||this.is_disabled?void 0:this.results_show()},a.prototype.keyup_checker=function(a){var d,e;switch(d=null!=(e=a.which)?e:a.keyCode,this.search_field_scale(),d){case 8:if(this.is_multiple&&1>this.backstroke_length&&0<this.choices_count())return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),
this.results_search();break;case 13:if(a.preventDefault(),this.results_showing)return this.result_select(a);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},a.prototype.clipboard_event_checker=function(){var a=this;return setTimeout(function(){return a.results_search()},50)},a.prototype.container_width=function(){return null!=this.options.width?this.options.width:""+this.form_field.offsetWidth+
"px"},a.prototype.include_option_in_results=function(a){return this.is_multiple&&!this.display_selected_options&&a.selected?!1:!this.display_disabled_options&&a.disabled?!1:a.empty?!1:!0},a.prototype.search_results_touchstart=function(a){return this.touch_started=!0,this.search_results_mouseover(a)},a.prototype.search_results_touchmove=function(a){return this.touch_started=!1,this.search_results_mouseout(a)},a.prototype.search_results_touchend=function(a){return this.touch_started?this.search_results_mouseup(a):
void 0},a.prototype.outerHTML=function(a){var d;return a.outerHTML?a.outerHTML:(d=document.createElement("div"),d.appendChild(a),d.innerHTML)},a.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?8<=document.documentMode:/iP(od|hone)/i.test(window.navigator.userAgent)?!1:/Android/i.test(window.navigator.userAgent)&&/Mobile/i.test(window.navigator.userAgent)?!1:!0},a.default_multiple_text="Select Some Options",a.default_single_text="Select an Option",a.default_no_result_text=
"No results match",a}();a=jQuery;a.fn.extend({chosen:function(d){return q.browser_is_supported()?this.each(function(){var b,e;b=a(this);e=b.data("chosen");"destroy"===d&&e instanceof p?e.destroy():e instanceof p||b.data("chosen",new p(this,d))}):this}});p=function(d){function b(){return b.__super__.constructor.apply(this,arguments)}return e(b,d),b.prototype.setup=function(){return this.form_field_jq=a(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chosen-rtl")},
b.prototype.set_up_html=function(){var b,d;return b=["chosen-container"],b.push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&b.push(this.form_field.className),this.is_rtl&&b.push("chosen-rtl"),d={"class":b.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.form_field.id.length&&(d.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=a("\x3cdiv /\x3e",d),this.is_multiple?this.container.html('\x3cul class\x3d"chosen-choices"\x3e\x3cli class\x3d"search-field"\x3e\x3cinput type\x3d"text" value\x3d"'+
this.default_text+'" class\x3d"default" autocomplete\x3d"off" style\x3d"width:25px;" /\x3e\x3c/li\x3e\x3c/ul\x3e\x3cdiv class\x3d"chosen-drop"\x3e\x3cul class\x3d"chosen-results"\x3e\x3c/ul\x3e\x3c/div\x3e'):this.container.html('\x3ca class\x3d"chosen-single chosen-default" tabindex\x3d"-1"\x3e\x3cspan\x3e'+this.default_text+'\x3c/span\x3e\x3cdiv\x3e\x3cb\x3e\x3c/b\x3e\x3c/div\x3e\x3c/a\x3e\x3cdiv class\x3d"chosen-drop"\x3e\x3cdiv class\x3d"chosen-search"\x3e\x3cinput type\x3d"text" autocomplete\x3d"off" /\x3e\x3c/div\x3e\x3cul class\x3d"chosen-results"\x3e\x3c/ul\x3e\x3c/div\x3e'),
this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=
this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},b.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},b.prototype.register_observers=function(){var a=this;return this.container.bind("touchstart.chosen",function(b){return a.container_mousedown(b),b.preventDefault()}),this.container.bind("touchend.chosen",function(b){return a.container_mouseup(b),
b.preventDefault()}),this.container.bind("mousedown.chosen",function(b){a.container_mousedown(b)}),this.container.bind("mouseup.chosen",function(b){a.container_mouseup(b)}),this.container.bind("mouseenter.chosen",function(b){a.mouse_enter(b)}),this.container.bind("mouseleave.chosen",function(b){a.mouse_leave(b)}),this.search_results.bind("mouseup.chosen",function(b){a.search_results_mouseup(b)}),this.search_results.bind("mouseover.chosen",function(b){a.search_results_mouseover(b)}),this.search_results.bind("mouseout.chosen",
function(b){a.search_results_mouseout(b)}),this.search_results.bind("mousewheel.chosen DOMMouseScroll.chosen",function(b){a.search_results_mousewheel(b)}),this.search_results.bind("touchstart.chosen",function(b){a.search_results_touchstart(b)}),this.search_results.bind("touchmove.chosen",function(b){a.search_results_touchmove(b)}),this.search_results.bind("touchend.chosen",function(b){a.search_results_touchend(b)}),this.form_field_jq.bind("chosen:updated.chosen",function(b){a.results_update_field(b)}),
this.form_field_jq.bind("chosen:activate.chosen",function(b){a.activate_field(b)}),this.form_field_jq.bind("chosen:open.chosen",function(b){a.container_mousedown(b)}),this.form_field_jq.bind("chosen:close.chosen",function(b){a.input_blur(b)}),this.search_field.bind("blur.chosen",function(b){a.input_blur(b)}),this.search_field.bind("keyup.chosen",function(b){a.keyup_checker(b)}),this.search_field.bind("keydown.chosen",function(b){a.keydown_checker(b)}),this.search_field.bind("focus.chosen",function(b){a.input_focus(b)}),
this.search_field.bind("cut.chosen",function(b){a.clipboard_event_checker(b)}),this.search_field.bind("paste.chosen",function(b){a.clipboard_event_checker(b)}),this.is_multiple?this.search_choices.bind("click.chosen",function(b){a.choices_click(b)}):this.container.bind("click.chosen",function(a){a.preventDefault()})},b.prototype.destroy=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=
this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},b.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chosen-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus.chosen",this.activate_action),this.close_field()):(this.container.removeClass("chosen-disabled"),this.search_field[0].disabled=!1,this.is_multiple?
void 0:this.selected_item.bind("focus.chosen",this.activate_action))},b.prototype.container_mousedown=function(b){return this.is_disabled||(b&&"mousedown"===b.type&&!this.results_showing&&b.preventDefault(),null!=b&&a(b.target).hasClass("search-choice-close"))?void 0:(this.active_field?this.is_multiple||!b||a(b.target)[0]!==this.selected_item[0]&&!a(b.target).parents("a.chosen-single").length||(b.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(this.container[0].ownerDocument).bind("click.chosen",
this.click_test_action),this.results_show()),this.activate_field())},b.prototype.container_mouseup=function(a){return"ABBR"!==a.target.nodeName||this.is_disabled?void 0:this.results_reset(a)},b.prototype.search_results_mousewheel=function(a){var b;return a.originalEvent&&(b=a.originalEvent.deltaY||-a.originalEvent.wheelDelta||a.originalEvent.detail),null!=b?(a.preventDefault(),"DOMMouseScroll"===a.type&&(b*=40),this.search_results.scrollTop(b+this.search_results.scrollTop())):void 0},b.prototype.blur_test=
function(){return!this.active_field&&this.container.hasClass("chosen-container-active")?this.close_field():void 0},b.prototype.close_field=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},b.prototype.activate_field=function(){return this.container.addClass("chosen-container-active"),
this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},b.prototype.test_active_click=function(b){var d;return d=a(b.target).closest(".chosen-container"),d.length&&this.container[0]===d[0]?this.active_field=!0:this.close_field()},b.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=h.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||
(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},b.prototype.result_do_highlight=
function(a){var b,d,e,h,m;if(a.length){if(this.result_clear_highlight(),this.result_highlight=a,this.result_highlight.addClass("highlighted"),e=parseInt(this.search_results.css("maxHeight"),10),m=this.search_results.scrollTop(),h=e+m,d=this.result_highlight.position().top+this.search_results.scrollTop(),b=d+this.result_highlight.outerHeight(),b>=h)return this.search_results.scrollTop(0<b-e?b-e:0);if(m>d)return this.search_results.scrollTop(d)}},b.prototype.result_clear_highlight=function(){return this.result_highlight&&
this.result_highlight.removeClass("highlighted"),this.result_highlight=null},b.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},b.prototype.update_results_content=
function(a){return this.search_results.html(a)},b.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},b.prototype.set_tab_index=function(){var a;return this.form_field.tabIndex?(a=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=a):void 0},b.prototype.set_label_behavior=function(){var b=
this;return this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=a("label[for\x3d'"+this.form_field.id+"']")),0<this.form_field_label.length?this.form_field_label.bind("click.chosen",function(a){return b.is_multiple?b.container_mousedown(a):b.activate_field()}):void 0},b.prototype.show_search_field_default=function(){return this.is_multiple&&1>this.choices_count()&&!this.active_field?(this.search_field.val(this.default_text),
this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},b.prototype.search_results_mouseup=function(b){var d;return d=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),d.length?(this.result_highlight=d,this.result_select(b),this.search_field.focus()):void 0},b.prototype.search_results_mouseover=function(b){var d;return d=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),
d?this.result_do_highlight(d):void 0},b.prototype.search_results_mouseout=function(b){return a(b.target).hasClass("active-result")?this.result_clear_highlight():void 0},b.prototype.choice_build=function(b){var d,e,h=this;return d=a("\x3cli /\x3e",{"class":"search-choice"}).html("\x3cspan\x3e"+this.choice_label(b)+"\x3c/span\x3e"),b.disabled?d.addClass("search-choice-disabled"):(e=a("\x3ca /\x3e",{"class":"search-choice-close","data-option-array-index":b.array_index}),e.bind("click.chosen",function(a){return h.choice_destroy_link_click(a)}),
d.append(e)),this.search_container.before(d)},b.prototype.choice_destroy_link_click=function(b){return b.preventDefault(),b.stopPropagation(),this.is_disabled?void 0:this.choice_destroy(a(b.target))},b.prototype.choice_destroy=function(a){return this.result_deselect(a[0].getAttribute("data-option-array-index"))?(this.show_search_field_default(),this.is_multiple&&0<this.choices_count()&&1>this.search_field.val().length&&this.results_hide(),a.parents("li").first().remove(),this.search_field_scale()):
void 0},b.prototype.results_reset=function(){return this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field?this.results_hide():void 0},b.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},b.prototype.result_select=function(a){var b,d;return this.result_highlight?
(b=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?b.removeClass("active-result"):this.reset_single_select_options(),b.addClass("result-selected"),d=this.results_data[b[0].getAttribute("data-option-array-index")],d.selected=!0,this.form_field.options[d.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(d):
this.single_set_selected_text(this.choice_label(d)),(a.metaKey||a.ctrlKey)&&this.is_multiple||this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[d.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,a.preventDefault(),this.search_field_scale())):void 0},b.prototype.single_set_selected_text=function(a){return null==a&&(a=this.default_text),
a===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(a)},b.prototype.result_deselect=function(a){var b;return b=this.results_data[a],this.form_field.options[b.options_index].disabled?!1:(b.selected=!1,this.form_field.options[b.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.form_field_jq.trigger("change",
{deselected:this.form_field.options[b.options_index].value}),this.search_field_scale(),!0)},b.prototype.single_deselect_control_build=function(){return this.allow_single_deselect?(this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('\x3cabbr class\x3d"search-choice-close"\x3e\x3c/abbr\x3e'),this.selected_item.addClass("chosen-single-with-deselect")):void 0},b.prototype.get_search_text=function(){return a("\x3cdiv/\x3e").text(a.trim(this.search_field.val())).html()},
b.prototype.winnow_results_set_highlight=function(){var a,b;return b=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),a=b.length?b.first():this.search_results.find(".active-result").first(),null!=a?this.result_do_highlight(a):void 0},b.prototype.no_results=function(b){var d;return d=a('\x3cli class\x3d"no-results"\x3e'+this.results_none_found+' "\x3cspan\x3e\x3c/span\x3e"\x3c/li\x3e'),d.find("span").first().html(b),this.search_results.append(d),this.form_field_jq.trigger("chosen:no_results",
{chosen:this})},b.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},b.prototype.keydown_arrow=function(){var a;return this.results_showing&&this.result_highlight?(a=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(a):void 0:this.results_show()},b.prototype.keyup_arrow=function(){var a;return this.results_showing||this.is_multiple?this.result_highlight?(a=this.result_highlight.prevAll("li.active-result"),a.length?this.result_do_highlight(a.first()):
(0<this.choices_count()&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},b.prototype.keydown_backstroke=function(){var a;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(a=this.search_container.siblings("li.search-choice").last(),a.length&&!a.hasClass("search-choice-disabled")?(this.pending_backstroke=a,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):
void 0)},b.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},b.prototype.keydown_checker=function(a){var b,d;switch(b=null!=(d=a.which)?d:a.keyCode,this.search_field_scale(),8!==b&&this.pending_backstroke&&this.clear_backstroke(),b){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(a);this.mouse_on_container=
!1;break;case 13:this.results_showing&&a.preventDefault();break;case 32:this.disable_search&&a.preventDefault();break;case 38:a.preventDefault();this.keyup_arrow();break;case 40:a.preventDefault(),this.keydown_arrow()}},b.prototype.search_field_scale=function(){var b,d,e,h,m,p,q,K;if(this.is_multiple){p=0;h="position:absolute; left: -1000px; top: -1000px; display:none;";m="font-size font-style font-weight font-family line-height text-transform letter-spacing".split(" ");q=0;for(K=m.length;K>q;q++)e=
m[q],h+=e+":"+this.search_field.css(e)+";";return b=a("\x3cdiv /\x3e",{style:h}),b.text(this.search_field.val()),a("body").append(b),p=b.width()+25,b.remove(),d=this.container.outerWidth(),p>d-10&&(p=d-10),this.search_field.css({width:p+"px"})}},b}(q)}).call(this);
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery")):a(window.jQuery)}(function(a){var q,p=function(){var b=0;return{eq:function(a){return function(b){return a===b}},eq2:function(a,b){return a===b},peq2:function(a){return function(b,d){return b[a]===d[a]}},ok:function(){return!0},fail:function(){return!1},self:function(a){return a},not:function(a){return function(){return!a.apply(a,arguments)}},and:function(a,
b){return function(d){return a(d)&&b(d)}},invoke:function(a,b){return function(){return a[b].apply(a,arguments)}},uniqueId:function(a){var d=++b+"";return a?a+d:d},rect2bnd:function(b){var d=a(document);return{top:b.top+d.scrollTop(),left:b.left+d.scrollLeft(),width:b.right-b.left,height:b.bottom-b.top}},invertObject:function(a){var b={},d;for(d in a)a.hasOwnProperty(d)&&(b[a[d]]=d);return b},namespaceToCamel:function(a,b){return b=b||"",b+a.split(".").map(function(a){return a.substring(0,1).toUpperCase()+
a.substring(1)}).join("")}}}(),h=function(){var b=function(a){return a[a.length-1]},d=function(a){return a.slice(1)},e=function(b,d){return-1!==a.inArray(d,b)};return{head:function(a){return a[0]},last:b,initial:function(a){return a.slice(0,a.length-1)},tail:d,prev:function(b,d){var e=a.inArray(d,b);return-1===e?null:b[e-1]},next:function(b,d){var e=a.inArray(d,b);return-1===e?null:b[e+1]},find:function(a,b){for(var d=0,e=a.length;e>d;d++){var h=a[d];if(b(h))return h}},contains:e,all:function(a,b){for(var d=
0,e=a.length;e>d;d++)if(!b(a[d]))return!1;return!0},sum:function(a,b){return b=b||p.self,a.reduce(function(a,d){return a+b(d)},0)},from:function(a){for(var b=[],d=-1,e=a.length;++d<e;)b[d]=a[d];return b},isEmpty:function(a){return!a||!a.length},clusterBy:function(a,e){return a.length?d(a).reduce(function(a,d){var h=b(a);return e(b(h),d)?h[h.length]=d:a[a.length]=[d],a},[[a[0]]]):[]},compact:function(a){for(var b=[],d=0,e=a.length;e>d;d++)a[d]&&b.push(a[d]);return b},unique:function(a){for(var b=[],
d=0,h=a.length;h>d;d++)e(b,a[d])||b.push(a[d]);return b}}}(),m="function"==typeof define&&define.amd,e=navigator.userAgent,d=/MSIE|Trident/i.test(e);if(d){var b=/MSIE (\d+[.]\d+)/.exec(e);b&&(q=parseFloat(b[1]));(b=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(e))&&(q=parseFloat(b[1]))}var b=/Edge\/\d+/.test(e),l=!!window.CodeMirror;if(!l&&m&&require)if(require.hasOwnProperty("resolve"))try{require.resolve("codemirror"),l=!0}catch(J){l=!1}else require.hasOwnProperty("specified")&&(l=require.specified("codemirror"));
var w={isMac:-1<navigator.appVersion.indexOf("Mac"),isMSIE:d,isEdge:b,isFF:!b&&/firefox/i.test(e),isPhantom:/PhantomJS/i.test(e),isWebkit:!b&&/webkit/i.test(e),isChrome:!b&&/chrome/i.test(e),isSafari:!b&&/safari/i.test(e),browserVersion:q,jqueryVersion:parseFloat(a.fn.jquery),isSupportAmd:m,hasCodeMirror:l,isFontInstalled:function(b){var d="Comic Sans MS"===b?"Courier New":"Comic Sans MS",e=a("\x3cdiv\x3e").css({position:"absolute",left:"-9999px",top:"-9999px",fontSize:"200px"}).text("mmmmmmmmmwwwwwww").appendTo(document.body),
h=e.css("fontFamily",d).width();b=e.css("fontFamily",b+","+d).width();return e.remove(),h!==b},isW3CRangeSupport:!!document.createRange},I=String.fromCharCode(160),n=function(){var b=function(b){return b&&a(b).hasClass("note-editable")},d=function(a){return a=a.toUpperCase(),function(b){return b&&b.nodeName.toUpperCase()===a}},e=function(a){return a&&3===a.nodeType},l=function(a){return a&&/^BR|^IMG|^HR|^IFRAME|^BUTTON/.test(a.nodeName.toUpperCase())},k=function(a){return b(a)?!1:a&&/^DIV|^P|^LI|^H[1-7]/.test(a.nodeName.toUpperCase())},
M=d("PRE"),v=d("LI"),m=d("TABLE"),C=function(a){return!(z(a)||G(a)||q(a)||k(a)||m(a)||J(a))},G=function(a){return a&&/^UL|^OL/.test(a.nodeName.toUpperCase())},q=d("HR"),T=function(a){return a&&/^TD|^TH/.test(a.nodeName.toUpperCase())},J=d("BLOCKQUOTE"),z=function(a){return T(a)||J(a)||b(a)},y=d("A"),D=d("BODY"),u=w.isMSIE&&11>w.browserVersion?"\x26nbsp;":"\x3cbr\x3e",f=function(a){return e(a)?a.nodeValue.length:a.childNodes.length},F=function(a){var b=f(a);return 0===b?!0:e(a)||1!==b||a.innerHTML!==
u?h.all(a.childNodes,e)&&""===a.innerHTML?!0:!1:!0},ha=function(a,f){for(;a;){if(f(a))return a;if(b(a))break;a=a.parentNode}return null},Ha=function(a,f){f=f||p.fail;var d=[];return ha(a,function(a){return b(a)||d.push(a),f(a)}),d},kb=function(a,b){b=b||p.fail;for(var f=[];a&&!b(a);)f.push(a),a=a.nextSibling;return f},H=function(a,b){var f=b.nextSibling,d=b.parentNode;return f?d.insertBefore(a,f):d.appendChild(a),a},O=function(b,f){return a.each(f,function(a,f){b.appendChild(f)}),b},K=function(a){return 0===
a.offset},P=function(a){return a.offset===f(a.node)},V=function(a){return K(a)||P(a)},E=function(a,b){for(;a&&a!==b;){if(0!==S(a))return!1;a=a.parentNode}return!0},Y=function(a,b){for(;a&&a!==b;){if(S(a)!==f(a.parentNode)-1)return!1;a=a.parentNode}return!0},S=function(a){for(var b=0;a=a.previousSibling;)b+=1;return b},W=function(a){return!!(a&&a.childNodes&&a.childNodes.length)},ca=function(a,d){var e,k;if(0===a.offset){if(b(a.node))return null;e=a.node.parentNode;k=S(a.node)}else W(a.node)?(e=a.node.childNodes[a.offset-
1],k=f(e)):(e=a.node,k=d?0:a.offset-1);return{node:e,offset:k}},ga=function(a,d){var e,k;if(f(a.node)===a.offset){if(b(a.node))return null;e=a.node.parentNode;k=S(a.node)+1}else W(a.node)?(e=a.node.childNodes[a.offset],k=0):(e=a.node,k=d?f(a.node):a.offset+1);return{node:e,offset:k}},va=function(a,b){return a.node===b.node&&a.offset===b.offset},sa=function(a,b){var d=b&&b.isSkipPaddingBlankHTML,k=b&&b.isNotSplitEdgePoint;if(V(a)&&(e(a.node)||k)){if(K(a))return a.node;if(P(a))return a.node.nextSibling}if(e(a.node))return a.node.splitText(a.offset);
var h=a.node.childNodes[a.offset],k=H(a.node.cloneNode(!1),a.node);O(k,kb(h));d||(d=a.node,l(d)||f(d)||(d.innerHTML=u),l(k)||f(k)||(k.innerHTML=u));return k},Da=function(a,b,d){a=Ha(b.node,p.eq(a));return a.length?1===a.length?sa(b,d):a.reduce(function(a,e){return a===b.node&&(a=sa(b,d)),sa({node:e,offset:a?n.position(a):f(e)},d)}):null},za=function(a){return document.createElement(a)},Ya=function(a,b){if(a&&a.parentNode){if(a.removeNode)return a.removeNode(b);var f=a.parentNode;if(!b){var d,e,k=
[];d=0;for(e=a.childNodes.length;e>d;d++)k.push(a.childNodes[d]);d=0;for(e=k.length;e>d;d++)f.insertBefore(k[d],a)}f.removeChild(a)}},Ea=d("TEXTAREA"),Ua=function(a,b){var f=Ea(a[0])?a.val():a.html();return b?f.replace(/[\n\r]/g,""):f};return{NBSP_CHAR:I,ZERO_WIDTH_NBSP_CHAR:"﻿",blank:u,emptyPara:"\x3cp\x3e"+u+"\x3c/p\x3e",makePredByNodeName:d,isEditable:b,isControlSizing:function(b){return b&&a(b).hasClass("note-control-sizing")},isText:e,isElement:function(a){return a&&1===a.nodeType},isVoid:l,
isPara:k,isPurePara:function(a){return k(a)&&!v(a)},isHeading:function(a){return a&&/^H[1-7]/.test(a.nodeName.toUpperCase())},isInline:C,isBlock:p.not(C),isBodyInline:function(a){return C(a)&&!ha(a,k)},isBody:D,isParaInline:function(a){return C(a)&&!!ha(a,k)},isPre:M,isList:G,isTable:m,isCell:T,isBlockquote:J,isBodyContainer:z,isAnchor:y,isDiv:d("DIV"),isLi:v,isBR:d("BR"),isSpan:d("SPAN"),isB:d("B"),isU:d("U"),isS:d("S"),isI:d("I"),isImg:d("IMG"),isTextarea:Ea,isEmpty:F,isEmptyAnchor:p.and(y,F),isClosestSibling:function(a,
b){return a.nextSibling===b||a.previousSibling===b},withClosestSiblings:function(a,b){b=b||p.ok;var f=[];return a.previousSibling&&b(a.previousSibling)&&f.push(a.previousSibling),f.push(a),a.nextSibling&&b(a.nextSibling)&&f.push(a.nextSibling),f},nodeLength:f,isLeftEdgePoint:K,isRightEdgePoint:P,isEdgePoint:V,isLeftEdgeOf:E,isRightEdgeOf:Y,isLeftEdgePointOf:function(a,b){return K(a)&&E(a.node,b)},isRightEdgePointOf:function(a,b){return P(a)&&Y(a.node,b)},prevPoint:ca,nextPoint:ga,isSamePoint:va,isVisiblePoint:function(a){if(e(a.node)||
!W(a.node)||F(a.node))return!0;var b=a.node.childNodes[a.offset-1];a=a.node.childNodes[a.offset];return b&&!l(b)||a&&!l(a)?!1:!0},prevPointUntil:function(a,b){for(;a;){if(b(a))return a;a=ca(a)}return null},nextPointUntil:function(a,b){for(;a;){if(b(a))return a;a=ga(a)}return null},isCharPoint:function(a){return e(a.node)?(a=a.node.nodeValue.charAt(a.offset-1))&&" "!==a&&a!==I:!1},walkPoint:function(a,b,f,d){for(var e=a;e&&(f(e),!va(e,b));)e=ga(e,d&&a.node!==e.node&&b.node!==e.node)},ancestor:ha,singleChildAncestor:function(a,
d){for(a=a.parentNode;a&&1===f(a);){if(d(a))return a;if(b(a))break;a=a.parentNode}return null},listAncestor:Ha,lastAncestor:function(a,b){var f=Ha(a);return h.last(f.filter(b))},listNext:kb,listPrev:function(a,b){b=b||p.fail;for(var f=[];a&&!b(a);)f.push(a),a=a.previousSibling;return f},listDescendant:function(a,b){var f=[];return b=b||p.ok,function Hb(d){a!==d&&b(d)&&f.push(d);for(var e=0,k=d.childNodes.length;k>e;e++)Hb(d.childNodes[e])}(a),f},commonAncestor:function(b,f){for(var d=Ha(b),e=f;e;e=
e.parentNode)if(-1<a.inArray(e,d))return e;return null},wrap:function(b,f){var d=b.parentNode,e=a("\x3c"+f+"\x3e")[0];return d.insertBefore(e,b),e.appendChild(b),e},insertAfter:H,appendChildNodes:O,position:S,hasChildren:W,makeOffsetPath:function(a,b){return Ha(b,p.eq(a)).map(S).reverse()},fromOffsetPath:function(a,b){for(var f=a,d=0,e=b.length;e>d;d++)f=f.childNodes.length<=b[d]?f.childNodes[f.childNodes.length-1]:f.childNodes[b[d]];return f},splitTree:Da,splitPoint:function(a,b){var f,d,e=b?k:z,
s=Ha(a.node,e),t=h.last(s)||a.node;e(t)?(f=s[s.length-2],d=t):(f=t,d=f.parentNode);f=f&&Da(f,a,{isSkipPaddingBlankHTML:b,isNotSplitEdgePoint:b});return f||d!==a.node||(f=a.node.childNodes[a.offset]),{rightNode:f,container:d}},create:za,createText:function(a){return document.createTextNode(a)},remove:Ya,removeWhile:function(a,f){for(;a&&!b(a)&&f(a);){var d=a.parentNode;Ya(a);a=d}},replace:function(a,b){if(a.nodeName.toUpperCase()===b.toUpperCase())return a;var f=za(b);return a.style.cssText&&(f.style.cssText=
a.style.cssText),O(f,h.from(a.childNodes)),H(f,a),Ya(a),f},html:function(b,f){var d=Ua(b);f&&(d=d.replace(/<(\/?)(\b(?!!)[^>\s]*)(.*?)(\s*\/?>)/g,function(a,b,f){f=f.toUpperCase();b=/^DIV|^TD|^TH|^P|^LI|^H[1-7]/.test(f)&&!!b;f=/^BLOCKQUOTE|^TABLE|^TBODY|^TR|^HR|^UL|^OL/.test(f);return a+(b||f?"\n":"")}),d=a.trim(d));return d},value:Ua,posFromPlaceholder:function(b){var f=a(b);b=f.offset();f=f.outerHeight(!0);return{left:b.left,top:b.top+f}},attachEvents:function(a,b){Object.keys(b).forEach(function(f){a.on(f,
b[f])})},detachEvents:function(a,b){Object.keys(b).forEach(function(f){a.off(f,b[f])})}}}(),F=function(b,d){var e=this,l=a.summernote.ui;return this.memos={},this.modules={},this.layoutInfo={},this.options=d,this.initialize=function(){return this.layoutInfo=l.createLayout(b,d),this._initialize(),b.hide(),this},this.destroy=function(){this._destroy();b.removeData("summernote");l.removeLayout(b,this.layoutInfo)},this.reset=function(){var a=e.isDisabled();this.code(n.emptyPara);this._destroy();this._initialize();
a&&e.disable()},this._initialize=function(){var b=a.extend({},this.options.buttons);Object.keys(b).forEach(function(a){e.memo("button."+a,b[a])});var d=a.extend({},this.options.modules,a.summernote.plugins||{});Object.keys(d).forEach(function(a){e.module(a,d[a],!0)});Object.keys(this.modules).forEach(function(a){e.initializeModule(a)})},this._destroy=function(){Object.keys(this.modules).reverse().forEach(function(a){e.removeModule(a)});Object.keys(this.memos).forEach(function(a){e.removeMemo(a)})},
this.code=function(a){var d=this.invoke("codeview.isActivated");return void 0===a?(this.invoke("codeview.sync"),d?this.layoutInfo.codable.val():this.layoutInfo.editable.html()):(d?this.layoutInfo.codable.val(a):this.layoutInfo.editable.html(a),b.val(a),this.triggerEvent("change",a),void 0)},this.isDisabled=function(){return"false"===this.layoutInfo.editable.attr("contenteditable")},this.enable=function(){this.layoutInfo.editable.attr("contenteditable",!0);this.invoke("toolbar.activate",!0)},this.disable=
function(){this.invoke("codeview.isActivated")&&this.invoke("codeview.deactivate");this.layoutInfo.editable.attr("contenteditable",!1);this.invoke("toolbar.deactivate",!0)},this.triggerEvent=function(){var a=h.head(arguments),d=h.tail(h.from(arguments)),e=this.options.callbacks[p.namespaceToCamel(a,"on")];e&&e.apply(b[0],d);b.trigger("summernote."+a,d)},this.initializeModule=function(a){a=this.modules[a];a.shouldInitialize=a.shouldInitialize||p.ok;a.shouldInitialize()&&(a.initialize&&a.initialize(),
a.events&&n.attachEvents(b,a.events))},this.module=function(a,b,d){return 1===arguments.length?this.modules[a]:(this.modules[a]=new b(this),void(d||this.initializeModule(a)))},this.removeModule=function(a){var d=this.modules[a];d.shouldInitialize()&&(d.events&&n.detachEvents(b,d.events),d.destroy&&d.destroy());delete this.modules[a]},this.memo=function(a,b){return 1===arguments.length?this.memos[a]:void(this.memos[a]=b)},this.removeMemo=function(a){this.memos[a]&&this.memos[a].destroy&&this.memos[a].destroy();
delete this.memos[a]},this.createInvokeHandler=function(b,d){return function(h){h.preventDefault();e.invoke(b,d||a(h.target).closest("[data-value]").data("value"))}},this.invoke=function(){var a=h.head(arguments),b=h.tail(h.from(arguments)),d=a.split("."),e=1<d.length,a=e&&h.head(d),d=e?h.last(d):h.head(d),e=this.modules[a||"editor"];return!a&&this[d]?this[d].apply(this,b):e&&e[d]&&e.shouldInitialize()?e[d].apply(e,b):void 0},this.initialize()};a.fn.extend({summernote:function(){var b=a.type(h.head(arguments)),
d="string"===b,e="object"===b?h.head(arguments):{},e=a.extend({},a.summernote.options,e);e.langInfo=a.extend(!0,{},a.summernote.lang["en-US"],a.summernote.lang[e.lang]);this.each(function(b,d){var h=a(d);if(!h.data("summernote")){var t=new F(h,e);h.data("summernote",t);h.data("summernote").triggerEvent("init",t.layoutInfo)}});b=this.first();if(b.length){b=b.data("summernote");if(d)return b.invoke.apply(b,h.from(arguments));e.focus&&b.invoke("editor.focus")}return this}});var z=function(b,d,e,h){this.render=
function(k){var l=a(b);if(e&&e.contents&&l.html(e.contents),e&&e.className&&l.addClass(e.className),e&&e.data&&a.each(e.data,function(a,b){l.attr("data-"+a,b)}),e&&e.click&&l.on("click",e.click),d){var v=l.find(".note-children-container");d.forEach(function(a){a.render(v.length?v:l)})}return h&&h(l,e),e&&e.callback&&e.callback(l),k&&k.append(l),l}},K={create:function(b,d){return function(e,h){var k=a.isArray(e)?e:[],l="object"==typeof h?h:e;return l&&l.children&&(k=l.children),new z(b,k,l,d)}}};q=
K.create('\x3cdiv class\x3d"note-editor note-frame panel panel-default"/\x3e');var m=K.create('\x3cdiv class\x3d"note-toolbar panel-heading"/\x3e'),e=K.create('\x3cdiv class\x3d"note-editing-area"/\x3e'),d=K.create('\x3ctextarea class\x3d"note-codable"/\x3e'),b=K.create('\x3cdiv class\x3d"note-editable panel-body" contentEditable\x3d"true"/\x3e'),l=K.create('\x3cdiv class\x3d"note-statusbar"\x3e  \x3cdiv class\x3d"note-resizebar"\x3e    \x3cdiv class\x3d"note-icon-bar"/\x3e    \x3cdiv class\x3d"note-icon-bar"/\x3e    \x3cdiv class\x3d"note-icon-bar"/\x3e  \x3c/div\x3e\x3c/div\x3e'),
y=K.create('\x3cdiv class\x3d"note-editor"/\x3e'),W=K.create('\x3cdiv class\x3d"note-editable" contentEditable\x3d"true"/\x3e'),Bb=K.create('\x3cdiv class\x3d"note-btn-group btn-group"\x3e'),Da=K.create('\x3cbutton type\x3d"button" class\x3d"note-btn btn btn-default btn-sm"\x3e',function(a,b){b&&b.tooltip&&a.attr({title:b.tooltip}).tooltip({container:"body",trigger:"hover",placement:"bottom"})}),Cb=K.create('\x3cdiv class\x3d"dropdown-menu"\x3e',function(b,d){var e=a.isArray(d.items)?d.items.map(function(a){var b=
"string"==typeof a?a:a.value||"";a=d.template?d.template(a):a;return'\x3cli\x3e\x3ca href\x3d"#" data-value\x3d"'+b+'"\x3e'+a+"\x3c/a\x3e\x3c/li\x3e"}).join(""):d.items;b.html(e)}),sa=K.create('\x3cdiv class\x3d"dropdown-menu note-check"\x3e',function(b,d){var e=a.isArray(d.items)?d.items.map(function(a){var b="string"==typeof a?a:a.value||"";a=d.template?d.template(a):a;return'\x3cli\x3e\x3ca href\x3d"#" data-value\x3d"'+b+'"\x3e'+Za(d.checkClassName)+" "+a+"\x3c/a\x3e\x3c/li\x3e"}).join(""):d.items;
b.html(e)}),Y=K.create('\x3cdiv class\x3d"note-color-palette"/\x3e',function(a,b){for(var d=[],e=0,k=b.colors.length;k>e;e++){for(var h=b.eventName,l=b.colors[e],m=[],n=0,G=l.length;G>n;n++){var p=l[n];m.push(['\x3cbutton type\x3d"button" class\x3d"note-color-btn"style\x3d"background-color:',p,'" data-event\x3d"',h,'" data-value\x3d"',p,'" title\x3d"',p,'" data-toggle\x3d"button" tabindex\x3d"-1"\x3e\x3c/button\x3e'].join(""))}d.push('\x3cdiv class\x3d"note-color-row"\x3e'+m.join("")+"\x3c/div\x3e")}a.html(d.join(""));
a.find(".note-color-btn").tooltip({container:"body",trigger:"hover",placement:"bottom"})}),ga=K.create('\x3cdiv class\x3d"modal" aria-hidden\x3d"false" tabindex\x3d"-1"/\x3e',function(a,b){b.fade&&a.addClass("fade");a.html(['\x3cdiv class\x3d"modal-dialog"\x3e  \x3cdiv class\x3d"modal-content"\x3e',b.title?'    \x3cdiv class\x3d"modal-header"\x3e      \x3cbutton type\x3d"button" class\x3d"close" data-dismiss\x3d"modal" aria-label\x3d"Close"\x3e\x3cspan aria-hidden\x3d"true"\x3e\x26times;\x3c/span\x3e\x3c/button\x3e      \x3ch4 class\x3d"modal-title"\x3e'+
b.title+"\x3c/h4\x3e    \x3c/div\x3e":"",'    \x3cdiv class\x3d"modal-body"\x3e'+b.body+"\x3c/div\x3e",b.footer?'    \x3cdiv class\x3d"modal-footer"\x3e'+b.footer+"\x3c/div\x3e":"","  \x3c/div\x3e\x3c/div\x3e"].join(""))}),K=K.create('\x3cdiv class\x3d"note-popover popover in"\x3e  \x3cdiv class\x3d"arrow"/\x3e  \x3cdiv class\x3d"popover-content note-children-container"/\x3e\x3c/div\x3e',function(a,b){a.addClass("undefined"!=typeof b.direction?b.direction:"bottom");b.hideArrow&&a.find(".arrow").hide()}),
Za=function(a,b){return b=b||"i","\x3c"+b+' class\x3d"'+a+'"/\x3e'},S={editor:q,toolbar:m,editingArea:e,codable:d,editable:b,statusbar:l,airEditor:y,airEditable:W,buttonGroup:Bb,button:Da,dropdown:Cb,dropdownCheck:sa,palette:Y,dialog:ga,popover:K,icon:Za,toggleBtn:function(a,b){a.toggleClass("disabled",!b);a.attr("disabled",!b)},toggleBtnActive:function(a,b){a.toggleClass("active",b)},onDialogShown:function(a,b){a.one("shown.bs.modal",b)},onDialogHidden:function(a,b){a.one("hidden.bs.modal",b)},showDialog:function(a){a.modal("show")},
hideDialog:function(a){a.modal("hide")},createLayout:function(a,b){var d=(b.airMode?S.airEditor([S.editingArea([S.airEditable()])]):S.editor([S.toolbar(),S.editingArea([S.codable(),S.editable()]),S.statusbar()])).render();return d.insertAfter(a),{note:a,editor:d,toolbar:d.find(".note-toolbar"),editingArea:d.find(".note-editing-area"),editable:d.find(".note-editable"),codable:d.find(".note-codable"),statusbar:d.find(".note-statusbar")}},removeLayout:function(a,b){a.html(b.editable.html());b.editor.remove();
a.show()}};a.summernote=a.summernote||{lang:{}};a.extend(a.summernote.lang,{"en-US":{font:{bold:"Bold",italic:"Italic",underline:"Underline",clear:"Remove Font Style",height:"Line Height",name:"Font Family",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript",size:"Font Size"},image:{image:"Picture",insert:"Insert Image",resizeFull:"Resize Full",resizeHalf:"Resize Half",resizeQuarter:"Resize Quarter",floatLeft:"Float Left",floatRight:"Float Right",floatNone:"Float None",shapeRounded:"Shape: Rounded",
shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Drag image or text here",dropImage:"Drop image or Text",selectFromFiles:"Select from files",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"Image URL",remove:"Remove Image"},video:{video:"Video",videoLink:"Video Link",insert:"Insert Video",url:"Video URL?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)"},link:{link:"Link",insert:"Insert Link",
unlink:"Unlink",edit:"Edit",textToDisplay:"Text to display",url:"To what URL should this link go?",openInNewWindow:"Open in new window"},table:{table:"Table"},hr:{insert:"Insert Horizontal Rule"},style:{style:"Style",normal:"Normal",blockquote:"Quote",pre:"Code",h1:"Header 1",h2:"Header 2",h3:"Header 3",h4:"Header 4",h5:"Header 5",h6:"Header 6"},lists:{unordered:"Unordered list",ordered:"Ordered list"},options:{help:"Help",fullscreen:"Full Screen",codeview:"Code View"},paragraph:{paragraph:"Paragraph",
outdent:"Outdent",indent:"Indent",left:"Align left",center:"Align center",right:"Align right",justify:"Justify full"},color:{recent:"Recent Color",more:"More Color",background:"Background Color",foreground:"Foreground Color",transparent:"Transparent",setTransparent:"Set transparent",reset:"Reset",resetToDefault:"Reset to default"},shortcut:{shortcuts:"Keyboard shortcuts",close:"Close",textFormatting:"Text formatting",action:"Action",paragraphFormatting:"Paragraph formatting",documentStyle:"Document Style",
extraKeys:"Extra keys"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",
outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},
history:{undo:"Undo",redo:"Redo"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}});var za,V=function(){var a={BACKSPACE:8,TAB:9,ENTER:13,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,NUM0:48,NUM1:49,NUM2:50,NUM3:51,NUM4:52,NUM5:53,NUM6:54,NUM7:55,NUM8:56,B:66,E:69,I:73,J:74,K:75,L:76,R:82,S:83,U:85,V:86,Y:89,Z:90,SLASH:191,LEFTBRACKET:219,BACKSLASH:220,RIGHTBRACKET:221};return{isEdit:function(b){return h.contains([a.BACKSPACE,a.TAB,a.ENTER,a.SPACE],b)},isMove:function(b){return h.contains([a.LEFT,
a.UP,a.RIGHT,a.DOWN],b)},nameFromCode:p.invertObject(a),code:a}}(),P=function(){var b=function(a,b){var d,e,s=a.parentElement(),l=document.body.createTextRange(),t=h.from(s.childNodes);for(d=0;d<t.length;d++)if(!n.isText(t[d])){if(l.moveToElementText(t[d]),0<=l.compareEndPoints("StartToStart",a))break;e=t[d]}if(0!==d&&n.isText(t[d-1])){l=document.body.createTextRange();d=null;l.moveToElementText(e||s);l.collapse(!e);d=e?e.nextSibling:s.firstChild;s=a.duplicate();s.setEndPoint("StartToStart",l);for(e=
s.text.replace(/[\r\n]/g,"").length;e>d.nodeValue.length&&d.nextSibling;)e-=d.nodeValue.length,d=d.nextSibling;d.nodeValue;b&&d.nextSibling&&n.isText(d.nextSibling)&&e===d.nodeValue.length&&(e-=d.nodeValue.length,d=d.nextSibling);s=d;d=e}return{cont:s,offset:d}},d=function(a){var b=function(a,d){var e,s;if(n.isText(a)){s=n.listPrev(a,p.not(n.isText));var l=h.last(s).previousSibling;e=l||a.parentNode;d+=h.sum(h.tail(s),n.nodeLength);s=!l}else{if(e=a.childNodes[d]||a,n.isText(e))return b(e,0);d=0;s=
!1}return{node:e,collapseToStart:s,offset:d}},d=document.body.createTextRange();a=b(a.node,a.offset);return d.moveToElementText(a.node),d.collapse(a.collapseToStart),d.moveStart("character",a.offset),d},e=function(b,k,l,t){this.sc=b;this.so=k;this.ec=l;this.eo=t;var m=function(){if(w.isW3CRangeSupport){var a=document.createRange();return a.setStart(b,k),a.setEnd(l,t),a}a=d({node:b,offset:k});return a.setEndPoint("EndToEnd",d({node:l,offset:t})),a};this.getPoints=function(){return{sc:b,so:k,ec:l,eo:t}};
this.getStartPoint=function(){return{node:b,offset:k}};this.getEndPoint=function(){return{node:l,offset:t}};this.select=function(){var a=m();if(w.isW3CRangeSupport){var b=document.getSelection();0<b.rangeCount&&b.removeAllRanges();b.addRange(a)}else a.select();return this};this.scrollIntoView=function(b){var d=a(b).height();return b.scrollTop+d<this.sc.offsetTop&&(b.scrollTop+=Math.abs(b.scrollTop+d-this.sc.offsetTop)),this};this.normalize=function(){var a=function(a,b){if(n.isVisiblePoint(a)&&!n.isEdgePoint(a)||
n.isVisiblePoint(a)&&n.isRightEdgePoint(a)&&!b||n.isVisiblePoint(a)&&n.isLeftEdgePoint(a)&&b||n.isVisiblePoint(a)&&n.isBlock(a.node)&&n.isEmpty(a.node))return a;var d=n.ancestor(a.node,n.isBlock);if((n.isLeftEdgePointOf(a,d)||n.isVoid(n.prevPoint(a).node))&&!b||(n.isRightEdgePointOf(a,d)||n.isVoid(n.nextPoint(a).node))&&b){if(n.isVisiblePoint(a))return a;b=!b}return(b?n.nextPointUntil(n.nextPoint(a),n.isVisiblePoint):n.prevPointUntil(n.prevPoint(a),n.isVisiblePoint))||a},b=a(this.getEndPoint(),!1),
a=this.isCollapsed()?b:a(this.getStartPoint(),!0);return new e(a.node,a.offset,b.node,b.offset)};this.nodes=function(a,b){a=a||p.ok;var d=b&&b.includeAncestor,e=b&&b.fullyContains,k=this.getStartPoint(),s=this.getEndPoint(),l=[],t=[];return n.walkPoint(k,s,function(b){if(!n.isEditable(b.node)){var k;e?(n.isLeftEdgePoint(b)&&t.push(b.node),n.isRightEdgePoint(b)&&h.contains(t,b.node)&&(k=b.node)):k=d?n.ancestor(b.node,a):b.node;k&&a(k)&&l.push(k)}},!0),h.unique(l)};this.commonAncestor=function(){return n.commonAncestor(b,
l)};this.expand=function(a){var d=n.ancestor(b,a);a=n.ancestor(l,a);if(!d&&!a)return new e(b,k,l,t);var h=this.getPoints();return d&&(h.sc=d,h.so=0),a&&(h.ec=a,h.eo=n.nodeLength(a)),new e(h.sc,h.so,h.ec,h.eo)};this.collapse=function(a){return a?new e(b,k,b,k):new e(l,t,l,t)};this.splitText=function(){var a=b===l,d=this.getPoints();return n.isText(l)&&!n.isEdgePoint(this.getEndPoint())&&l.splitText(t),n.isText(b)&&!n.isEdgePoint(this.getStartPoint())&&(d.sc=b.splitText(k),d.so=0,a&&(d.ec=d.sc,d.eo=
t-k)),new e(d.sc,d.so,d.ec,d.eo)};this.deleteContents=function(){if(this.isCollapsed())return this;var b=this.splitText(),d=b.nodes(null,{fullyContains:!0}),k=n.prevPointUntil(b.getStartPoint(),function(a){return!h.contains(d,a.node)}),l=[];return a.each(d,function(a,b){var d=b.parentNode;k.node!==d&&1===n.nodeLength(d)&&l.push(d);n.remove(b,!1)}),a.each(l,function(a,b){n.remove(b,!1)}),(new e(k.node,k.offset,k.node,k.offset)).normalize()};var C=function(a){return function(){var d=n.ancestor(b,a);
return!!d&&d===n.ancestor(l,a)}};this.isOnEditable=C(n.isEditable);this.isOnList=C(n.isList);this.isOnAnchor=C(n.isAnchor);this.isOnCell=C(n.isCell);this.isLeftEdgeOf=function(a){return n.isLeftEdgePoint(this.getStartPoint())?(a=n.ancestor(this.sc,a))&&n.isLeftEdgeOf(this.sc,a):!1};this.isCollapsed=function(){return b===l&&k===t};this.wrapBodyInlineWithPara=function(){if(n.isBodyContainer(b)&&n.isEmpty(b))return b.innerHTML=n.emptyPara,new e(b.firstChild,0,b.firstChild,0);var a=this.normalize();if(n.isParaInline(b)||
n.isPara(b))return a;var d;if(n.isInline(a.sc)){var k=n.listAncestor(a.sc,p.not(n.isInline));d=h.last(k);n.isInline(d)||(d=k[k.length-2]||a.sc.childNodes[a.so])}else d=a.sc.childNodes[0<a.so?a.so-1:0];a=n.listPrev(d,n.isParaInline).reverse();if(a=a.concat(n.listNext(d.nextSibling,n.isParaInline)),a.length)d=n.wrap(h.head(a),"p"),n.appendChildNodes(d,h.tail(a));return this.normalize()};this.insertNode=function(a){var b=this.wrapBodyInlineWithPara().deleteContents(),b=n.splitPoint(b.getStartPoint(),
n.isInline(a));return b.rightNode?b.rightNode.parentNode.insertBefore(a,b.rightNode):b.container.appendChild(a),a};this.pasteHTML=function(b){b=a("\x3cdiv\x3e\x3c/div\x3e").html(b)[0];b=h.from(b.childNodes);var d=this.wrapBodyInlineWithPara().deleteContents();return b.reverse().map(function(a){return d.insertNode(a)}).reverse()};this.toString=function(){var a=m();return w.isW3CRangeSupport?a.toString():a.text};this.getWordRange=function(a){var b=this.getEndPoint();if(!n.isCharPoint(b))return this;
var d=n.prevPointUntil(b,function(a){return!n.isCharPoint(a)});return a&&(b=n.nextPointUntil(b,function(a){return!n.isCharPoint(a)})),new e(d.node,d.offset,b.node,b.offset)};this.bookmark=function(a){return{s:{path:n.makeOffsetPath(a,b),offset:k},e:{path:n.makeOffsetPath(a,l),offset:t}}};this.paraBookmark=function(a){return{s:{path:h.tail(n.makeOffsetPath(h.head(a),b)),offset:k},e:{path:h.tail(n.makeOffsetPath(h.last(a),l)),offset:t}}};this.getClientRects=function(){return m().getClientRects()}};
return{create:function(a,b,d,h){if(4===arguments.length)return new e(a,b,d,h);if(2===arguments.length)return d=a,h=b,new e(a,b,d,h);var l=this.createFromSelection();return l||1!==arguments.length?l:(l=this.createFromNode(arguments[0]),l.collapse(n.emptyPara===arguments[0].innerHTML))},createFromSelection:function(){var a,d,h,l;if(w.isW3CRangeSupport){a=document.getSelection();if(!a||0===a.rangeCount||n.isBody(a.anchorNode))return null;l=a.getRangeAt(0);a=l.startContainer;d=l.startOffset;h=l.endContainer;
l=l.endOffset}else d=document.selection.createRange(),a=d.duplicate(),a.collapse(!1),d.collapse(!0),d=b(d,!0),l=b(a,!1),n.isText(d.node)&&n.isLeftEdgePoint(d)&&n.isTextNode(l.node)&&n.isRightEdgePoint(l)&&l.node.nextSibling===d.node&&(d=l),a=d.cont,d=d.offset,h=l.cont,l=l.offset;return new e(a,d,h,l)},createFromNode:function(a){var b=a,d=0,e=n.nodeLength(a);return n.isVoid(b)&&(d=n.listPrev(b).length-1,b=b.parentNode),n.isBR(a)?(e=n.listPrev(a).length-1,a=a.parentNode):n.isVoid(a)&&(e=n.listPrev(a).length,
a=a.parentNode),this.create(b,d,a,e)},createFromNodeBefore:function(a){return this.createFromNode(a).collapse(!0)},createFromNodeAfter:function(a){return this.createFromNode(a).collapse()},createFromBookmark:function(a,b){var d=n.fromOffsetPath(a,b.s.path),h=b.s.offset,l=n.fromOffsetPath(a,b.e.path);return new e(d,h,l,b.e.offset)},createFromParaBookmark:function(a,b){var d=a.s.offset,l=a.e.offset,t=n.fromOffsetPath(h.head(b),a.s.path),m=n.fromOffsetPath(h.last(b),a.e.path);return new e(t,d,m,l)}}}(),
H=function(){return{readFileAsDataURL:function(b){return a.Deferred(function(d){a.extend(new FileReader,{onload:function(a){d.resolve(a.target.result)},onerror:function(){d.reject(this)}}).readAsDataURL(b)}).promise()},createImage:function(b){return a.Deferred(function(d){var e=a("\x3cimg\x3e");e.one("load",function(){e.off("error abort");d.resolve(e)}).one("error abort",function(){e.off("load").detach();d.reject(e)}).css({display:"none"}).appendTo(document.body).attr("src",b)}).promise()}}}(),Qb=
function(a){var b=[],d=-1,e=a[0],k=function(){var b=P.create(e),d={s:{path:[],offset:0},e:{path:[],offset:0}};return{contents:a.html(),bookmark:b?b.bookmark(e):d}},h=function(b){null!==b.contents&&a.html(b.contents);null!==b.bookmark&&P.createFromBookmark(e,b.bookmark).select()};this.rewind=function(){a.html()!==b[d].contents&&this.recordUndo();d=0;h(b[d])};this.reset=function(){b=[];d=-1;a.html("");this.recordUndo()};this.undo=function(){a.html()!==b[d].contents&&this.recordUndo();0<d&&(d--,h(b[d]))};
this.redo=function(){b.length-1>d&&(d++,h(b[d]))};this.recordUndo=function(){d++;b.length>d&&(b=b.slice(0,d));b.push(k())}},ca=function(){var b=function(b,d){if(1.9>w.jqueryVersion){var e={};return a.each(d,function(a,d){e[d]=b.css(d)}),e}return b.css.call(b,d)};this.fromNode=function(a){a=b(a,["font-family","font-size","text-align","list-style-type","line-height"])||{};return a["font-size"]=parseInt(a["font-size"],10),a};this.stylePara=function(b,d){a.each(b.nodes(n.isPara,{includeAncestor:!0}),
function(b,e){a(e).css(d)})};this.styleNodes=function(b,d){b=b.splitText();var e=d&&d.nodeName||"SPAN",k=!(!d||!d.expandClosestSibling),l=!(!d||!d.onlyPartialContains);if(b.isCollapsed())return[b.insertNode(n.create(e))];var t=n.makePredByNodeName(e),m=b.nodes(n.isText,{fullyContains:!0}).map(function(a){return n.singleChildAncestor(a,t)||n.wrap(a,e)});if(k){if(l)var C=b.nodes(),t=p.and(t,function(a){return h.contains(C,a)});return m.map(function(b){b=n.withClosestSiblings(b,t);var d=h.head(b),e=
h.tail(b);return a.each(e,function(a,b){n.appendChildNodes(d,b.childNodes);n.remove(b)}),h.head(b)})}return m};this.current=function(b){var d=a(n.isElement(b.sc)?b.sc:b.sc.parentNode),d=this.fromNode(d);try{d=a.extend(d,{"font-bold":document.queryCommandState("bold")?"bold":"normal","font-italic":document.queryCommandState("italic")?"italic":"normal","font-underline":document.queryCommandState("underline")?"underline":"normal","font-subscript":document.queryCommandState("subscript")?"subscript":"normal",
"font-superscript":document.queryCommandState("superscript")?"superscript":"normal","font-strikethrough":document.queryCommandState("strikethrough")?"strikethrough":"normal"})}catch(e){}if(b.isOnList()){var k=-1<a.inArray(d["list-style-type"],["circle","disc","disc-leading-zero","square"]);d["list-style"]=k?"unordered":"ordered"}else d["list-style"]="none";(k=n.ancestor(b.sc,n.isPara))&&k.style["line-height"]?d["line-height"]=k.style.lineHeight:(k=parseInt(d["line-height"],10)/parseInt(d["font-size"],
10),d["line-height"]=k.toFixed(1));return d.anchor=b.isOnAnchor()&&n.ancestor(b.sc,n.isAnchor),d.ancestors=n.listAncestor(b.sc,n.isEditable),d.range=b,d}},ib=function(){var b=this;this.insertOrderedList=function(a){this.toggleList("OL",a)};this.insertUnorderedList=function(a){this.toggleList("UL",a)};this.indent=function(b){var d=this;b=P.create(b).wrapBodyInlineWithPara();var e=b.nodes(n.isPara,{includeAncestor:!0}),e=h.clusterBy(e,p.peq2("parentNode"));a.each(e,function(b,e){var l=h.head(e);n.isLi(l)?
d.wrapList(e,l.parentNode.nodeName):a.each(e,function(b,d){a(d).css("marginLeft",function(a,b){return(parseInt(b,10)||0)+25})})});b.select()};this.outdent=function(b){var d=this;b=P.create(b).wrapBodyInlineWithPara();var e=b.nodes(n.isPara,{includeAncestor:!0}),e=h.clusterBy(e,p.peq2("parentNode"));a.each(e,function(b,e){var l=h.head(e);n.isLi(l)?d.releaseList([e]):a.each(e,function(b,d){a(d).css("marginLeft",function(a,b){return b=parseInt(b,10)||0,25<b?b-25:""})})});b.select()};this.toggleList=
function(d,e){var l=P.create(e).wrapBodyInlineWithPara(),k=l.nodes(n.isPara,{includeAncestor:!0}),m=l.paraBookmark(k),v=h.clusterBy(k,p.peq2("parentNode"));if(h.find(k,n.isPurePara)){var w=[];a.each(v,function(a,e){w=w.concat(b.wrapList(e,d))});k=w}else l=l.nodes(n.isList,{includeAncestor:!0}).filter(function(b){return!a.nodeName(b,d)}),l.length?a.each(l,function(a,b){n.replace(b,d)}):k=this.releaseList(v,!0);P.createFromParaBookmark(m,k).select()};this.wrapList=function(a,b){var d=h.head(a),e=h.last(a),
l=n.isList(d.previousSibling)&&d.previousSibling,d=n.isList(e.nextSibling)&&e.nextSibling,e=l||n.insertAfter(n.create(b||"UL"),e);return a=a.map(function(a){return n.isPurePara(a)?n.replace(a,"LI"):a}),n.appendChildNodes(e,a),d&&(n.appendChildNodes(e,h.from(d.childNodes)),n.remove(d)),a};this.releaseList=function(b,d){var e=[];return a.each(b,function(b,l){var t=h.head(l),m=h.last(l),p=d?n.lastAncestor(t,n.isList):t.parentNode,m=1<p.childNodes.length?n.splitTree(p,{node:m.parentNode,offset:n.position(m)+
1},{isSkipPaddingBlankHTML:!0}):null,t=n.splitTree(p,{node:t.parentNode,offset:n.position(t)},{isSkipPaddingBlankHTML:!0});l=d?n.listDescendant(t,n.isLi):h.from(t.childNodes).filter(n.isLi);!d&&n.isList(p.parentNode)||(l=l.map(function(a){return n.replace(a,"P")}));a.each(h.from(l).reverse(),function(a,b){n.insertAfter(b,p)});t=h.compact([p,t,m]);a.each(t,function(b,d){var e=[d].concat(n.listDescendant(d,n.isList));a.each(e.reverse(),function(a,b){n.nodeLength(b)||n.remove(b,!0)})});e=e.concat(l)}),
e}},jb=function(){var b=new ib;this.insertTab=function(a,b){var d=n.createText(Array(b+1).join(n.NBSP_CHAR));a=a.deleteContents();a.insertNode(d,!0);a=P.create(d,b);a.select()};this.insertParagraph=function(d){var e=P.create(d),e=e.deleteContents(),e=e.wrapBodyInlineWithPara(),h,k=n.ancestor(e.sc,n.isPara);if(k){if(n.isEmpty(k)&&n.isLi(k))return void b.toggleList(k.parentNode.nodeName);n.isEmpty(k)&&n.isPara(k)&&n.isBlockquote(k.parentNode)?(n.insertAfter(k,k.parentNode),h=k):(h=n.splitTree(k,e.getStartPoint()),
e=n.listDescendant(k,n.isEmptyAnchor),e=e.concat(n.listDescendant(h,n.isEmptyAnchor)),a.each(e,function(a,b){n.remove(b)}),(n.isHeading(h)||n.isPre(h))&&n.isEmpty(h)&&(h=n.replace(h,"p")))}else k=e.sc.childNodes[e.so],h=a(n.emptyPara)[0],k?e.sc.insertBefore(h,k):e.sc.appendChild(h);P.create(h,0).normalize().select().scrollIntoView(d)}},D=function(){this.tab=function(a,b){var d=n.ancestor(a.commonAncestor(),n.isCell),e=n.ancestor(d,n.isTable),e=n.listDescendant(e,n.isCell);(d=h[b?"prev":"next"](e,
d))&&P.create(d,0).select()};this.createTable=function(b,d,e){for(var h=[],k=0;b>k;k++)h.push("\x3ctd\x3e"+n.blank+"\x3c/td\x3e");b=h.join("");h=[];for(k=0;d>k;k++)h.push("\x3ctr\x3e"+b+"\x3c/tr\x3e");d=h.join("");d=a("\x3ctable\x3e"+d+"\x3c/table\x3e");return e&&e.tableClassName&&d.addClass(e.tableClassName),d[0]}};w.hasCodeMirror&&(w.isSupportAmd?require(["codemirror"],function(a){za=a}):za=window.CodeMirror);a.summernote=a.extend(a.summernote,{version:"0.8.1",ui:S,plugins:{},options:{modules:{editor:function(b){var d=
this,e=b.layoutInfo.note,l=b.layoutInfo.editor,k=b.layoutInfo.editable,m=b.options,v=m.langInfo,p=k[0],C=null,q=new ca,J=new D,z=new jb,y=new ib,F=new Qb(k);this.initialize=function(){k.on("keydown",function(a){a.keyCode===V.code.ENTER&&b.triggerEvent("enter",a);b.triggerEvent("keydown",a);m.shortcuts&&!a.isDefaultPrevented()&&d.handleKeyMap(a)}).on("keyup",function(a){b.triggerEvent("keyup",a)}).on("focus",function(a){b.triggerEvent("focus",a)}).on("blur",function(a){b.triggerEvent("blur",a)}).on("mousedown",
function(a){b.triggerEvent("mousedown",a)}).on("mouseup",function(a){b.triggerEvent("mouseup",a)}).on("scroll",function(a){b.triggerEvent("scroll",a)}).on("paste",function(a){b.triggerEvent("paste",a)});k.html(n.html(e)||n.emptyPara);k.on(w.isMSIE?"DOMCharacterDataModified DOMSubtreeModified DOMNodeInserted":"input",function(){b.triggerEvent("change",k.html())});l.on("focusin",function(a){b.triggerEvent("focusin",a)}).on("focusout",function(a){b.triggerEvent("focusout",a)});!m.airMode&&m.height&&
this.setHeight(m.height);!m.airMode&&m.maxHeight&&k.css("max-height",m.maxHeight);!m.airMode&&m.minHeight&&k.css("min-height",m.minHeight);F.recordUndo()};this.destroy=function(){k.off()};this.handleKeyMap=function(a){var d=m.keyMap[w.isMac?"mac":"pc"],f=[];a.metaKey&&f.push("CMD");a.ctrlKey&&!a.altKey&&f.push("CTRL");a.shiftKey&&f.push("SHIFT");var e=V.nameFromCode[a.keyCode];e&&f.push(e);(d=d[f.join("+")])?(a.preventDefault(),b.invoke(d)):V.isEdit(a.keyCode)&&this.afterCommand()};this.createRange=
function(){return this.focus(),P.create(p)};this.saveRange=function(a){C=this.createRange();a&&C.collapse().select()};this.restoreRange=function(){C&&(C.select(),this.focus())};this.saveTarget=function(a){k.data("target",a)};this.clearTarget=function(){k.removeData("target")};this.restoreTarget=function(){return k.data("target")};this.currentStyle=function(){var a=P.create();return a&&(a=a.normalize()),a?q.current(a):q.fromNode(k)};this.styleFromNode=function(a){return q.fromNode(a)};this.undo=function(){b.triggerEvent("before.command",
k.html());F.undo();b.triggerEvent("change",k.html())};b.memo("help.undo",v.help.undo);this.redo=function(){b.triggerEvent("before.command",k.html());F.redo();b.triggerEvent("change",k.html())};b.memo("help.redo",v.help.redo);for(var ra=this.beforeCommand=function(){b.triggerEvent("before.command",k.html());d.focus()},I=this.afterCommand=function(a){F.recordUndo();a||b.triggerEvent("change",k.html())},u="bold italic underline strikethrough superscript subscript justifyLeft justifyCenter justifyRight justifyFull formatBlock removeFormat backColor foreColor fontName".split(" "),
f=0,K=u.length;K>f;f++)this[u[f]]=function(a){return function(b){ra();document.execCommand(a,!1,b);I(!0)}}(u[f]),b.memo("help."+u[f],v.help[u[f]]);this.tab=function(){var a=this.createRange();a.isCollapsed()&&a.isOnCell()?J.tab(a):(ra(),z.insertTab(a,m.tabSize),I())};b.memo("help.tab",v.help.tab);this.untab=function(){var a=this.createRange();a.isCollapsed()&&a.isOnCell()&&J.tab(a,!0)};b.memo("help.untab",v.help.untab);this.wrapCommand=function(a){return function(){ra();a.apply(d,arguments);I()}};
this.insertParagraph=this.wrapCommand(function(){z.insertParagraph(p)});b.memo("help.insertParagraph",v.help.insertParagraph);this.insertOrderedList=this.wrapCommand(function(){y.insertOrderedList(p)});b.memo("help.insertOrderedList",v.help.insertOrderedList);this.insertUnorderedList=this.wrapCommand(function(){y.insertUnorderedList(p)});b.memo("help.insertUnorderedList",v.help.insertUnorderedList);this.indent=this.wrapCommand(function(){y.indent(p)});b.memo("help.indent",v.help.indent);this.outdent=
this.wrapCommand(function(){y.outdent(p)});b.memo("help.outdent",v.help.outdent);this.insertImage=function(a,d){return H.createImage(a,d).then(function(a){ra();"function"==typeof d?d(a):("string"==typeof d&&a.attr("data-filename",d),a.css("width",Math.min(k.width(),a.width())));a.show();P.create(p).insertNode(a[0]);P.createFromNodeAfter(a[0]).select();I()}).fail(function(a){b.triggerEvent("image.upload.error",a)})};this.insertImages=function(f){a.each(f,function(a,f){var e=f.name;m.maximumImageFileSize&&
m.maximumImageFileSize<f.size?b.triggerEvent("image.upload.error",v.image.maximumFileSizeError):H.readFileAsDataURL(f).then(function(a){return d.insertImage(a,e)}).fail(function(){b.triggerEvent("image.upload.error")})})};this.insertImagesOrCallback=function(a){m.callbacks.onImageUpload?b.triggerEvent("image.upload",a):this.insertImages(a)};this.insertNode=this.wrapCommand(function(a){this.createRange().insertNode(a);P.createFromNodeAfter(a).select()});this.insertText=this.wrapCommand(function(a){a=
this.createRange().insertNode(n.createText(a));P.create(a,n.nodeLength(a)).select()});this.getSelectedText=function(){var a=this.createRange();return a.isOnAnchor()&&(a=P.createFromNode(n.ancestor(a.sc,n.isAnchor))),a.toString()};this.pasteHTML=this.wrapCommand(function(a){a=this.createRange().pasteHTML(a);P.createFromNodeAfter(h.last(a)).select()});this.formatBlock=this.wrapCommand(function(a){a=w.isMSIE?"\x3c"+a+"\x3e":a;document.execCommand("FormatBlock",!1,a)});this.formatPara=function(){this.formatBlock("P")};
b.memo("help.formatPara",v.help.formatPara);for(f=1;6>=f;f++)this["formatH"+f]=function(a){return function(){this.formatBlock("H"+a)}}(f),b.memo("help.formatH"+f,v.help["formatH"+f]);this.fontSize=function(b){var d=this.createRange();if(d&&d.isCollapsed()){var d=q.styleNodes(d),f=h.head(d);a(d).css({"font-size":b+"px"});f&&!n.nodeLength(f)&&(f.innerHTML=n.ZERO_WIDTH_NBSP_CHAR,P.createFromNodeAfter(f.firstChild).select(),k.data("bogus",f))}else ra(),a(q.styleNodes(d)).css({"font-size":b+"px"}),I()};
this.insertHorizontalRule=this.wrapCommand(function(){var a=this.createRange().insertNode(n.create("HR"));a.nextSibling&&P.create(a.nextSibling,0).normalize().select()});b.memo("help.insertHorizontalRule",v.help.insertHorizontalRule);this.removeBogus=function(){var a=k.data("bogus");if(a){var b=h.find(h.from(a.childNodes),n.isText),d=b.nodeValue.indexOf(n.ZERO_WIDTH_NBSP_CHAR);-1!==d&&b.deleteData(d,1);n.isEmpty(a)&&n.remove(a);k.removeData("bogus")}};this.lineHeight=this.wrapCommand(function(a){q.stylePara(this.createRange(),
{lineHeight:a})});this.unlink=function(){var a=this.createRange();a.isOnAnchor()&&(a=n.ancestor(a.sc,n.isAnchor),a=P.createFromNode(a),a.select(),ra(),document.execCommand("unlink"),I())};this.createLink=this.wrapCommand(function(b){var d=b.url,f=b.text,e=b.isNewWindow,k=b.range||this.createRange(),l=k.toString()!==f;m.onCreateLink&&(d=m.onCreateLink(d));b=[];l?(k=k.deleteContents(),f=k.insertNode(a("\x3cA\x3e"+f+"\x3c/A\x3e")[0]),b.push(f)):b=q.styleNodes(k,{nodeName:"A",expandClosestSibling:!0,
onlyPartialContains:!0});a.each(b,function(b,f){a(f).attr("href",d);e?a(f).attr("target","_blank"):a(f).removeAttr("target")});f=P.createFromNodeBefore(h.head(b)).getStartPoint();b=P.createFromNodeAfter(h.last(b)).getEndPoint();P.create(f.node,f.offset,b.node,b.offset).select()});this.getLinkInfo=function(){var b=this.createRange().expand(n.isAnchor),d=a(h.head(b.nodes(n.isAnchor)));return{range:b,text:b.toString(),isNewWindow:d.length?"_blank"===d.attr("target"):!1,url:d.length?d.attr("href"):""}};
this.color=this.wrapCommand(function(a){var b=a.foreColor;a=a.backColor;b&&document.execCommand("foreColor",!1,b);a&&document.execCommand("backColor",!1,a)});this.insertTable=this.wrapCommand(function(a){a=a.split("x");this.createRange().deleteContents().insertNode(J.createTable(a[0],a[1],m))});this.floatMe=this.wrapCommand(function(b){a(this.restoreTarget()).css("float",b)});this.resize=this.wrapCommand(function(b){a(this.restoreTarget()).css({width:100*b+"%",height:""})});this.resizeTo=function(a,
b,d){if(d){d=a.y/a.x;var f=b.data("ratio");a={width:f>d?a.x:a.y/f,height:f>d?a.x*f:a.y}}else a={width:a.x,height:a.y};b.css(a)};this.removeMedia=this.wrapCommand(function(){var d=a(this.restoreTarget()).detach();b.triggerEvent("media.delete",d,k)});this.hasFocus=function(){return k.is(":focus")};this.focus=function(){this.hasFocus()||k.focus()};this.isEmpty=function(){return n.isEmpty(k[0])||n.emptyPara===k.html()};this.empty=function(){b.invoke("code",n.emptyPara)};this.setHeight=function(a){k.outerHeight(a)}},
clipboard:function(b){var d=this,e=b.layoutInfo.editable;this.events={"summernote.keydown":function(a,e){d.needKeydownHook()&&(e.ctrlKey||e.metaKey)&&e.keyCode===V.code.V&&(b.invoke("editor.saveRange"),d.$paste.focus(),setTimeout(function(){d.pasteByHook()},0))}};this.needKeydownHook=function(){return w.isMSIE&&10<w.browserVersion||w.isFF};this.initialize=function(){this.needKeydownHook()?(this.$paste=a("\x3cdiv /\x3e").attr("contenteditable",!0).css({position:"absolute",left:-1E5,opacity:0}),e.before(this.$paste),
this.$paste.on("paste",function(a){b.triggerEvent("paste",a)})):e.on("paste",this.pasteByEvent)};this.destroy=function(){this.needKeydownHook()&&(this.$paste.remove(),this.$paste=null)};this.pasteByHook=function(){var d=this.$paste[0].firstChild;if(n.isImg(d)){for(var d=atob(d.src.split(",")[1]),e=new Uint8Array(d.length),h=0;h<d.length;h++)e[h]=d.charCodeAt(h);d=new Blob([e],{type:"image/png"});d.name="clipboard.png";b.invoke("editor.restoreRange");b.invoke("editor.focus");b.invoke("editor.insertImagesOrCallback",
[d])}else d=a("\x3cdiv /\x3e").html(this.$paste.html()).html(),b.invoke("editor.restoreRange"),b.invoke("editor.focus"),d&&b.invoke("editor.pasteHTML",d);this.$paste.empty()};this.pasteByEvent=function(a){(a=a.originalEvent.clipboardData)&&a.items&&a.items.length&&(a=h.head(a.items),"file"===a.kind&&-1!==a.type.indexOf("image/")&&b.invoke("editor.insertImagesOrCallback",[a.getAsFile()]),b.invoke("editor.afterCommand"))}},dropzone:function(b){var d=a(document),e=b.layoutInfo.editor,h=b.layoutInfo.editable,
k=b.options,l=k.langInfo,m=a('\x3cdiv class\x3d"note-dropzone"\x3e  \x3cdiv class\x3d"note-dropzone-message"/\x3e\x3c/div\x3e').prependTo(e);this.initialize=function(){k.disableDragAndDrop?d.on("drop",function(a){a.preventDefault()}):this.attachDragAndDropEvent()};this.attachDragAndDropEvent=function(){var k=a(),n=m.find(".note-dropzone-message");d.on("dragenter",function(a){var d=b.invoke("codeview.isActivated"),h=0<e.width()&&0<e.height();d||k.length||!h||(e.addClass("dragover"),m.width(e.width()),
m.height(e.height()),n.text(l.image.dragImageHere));k=k.add(a.target)}).on("dragleave",function(a){k=k.not(a.target);k.length||e.removeClass("dragover")}).on("drop",function(){k=a();e.removeClass("dragover")});m.on("dragenter",function(){m.addClass("hover");n.text(l.image.dropImage)}).on("dragleave",function(){m.removeClass("hover");n.text(l.image.dragImageHere)});m.on("drop",function(d){var e=d.originalEvent.dataTransfer;e&&e.files&&e.files.length?(d.preventDefault(),h.focus(),b.invoke("editor.insertImagesOrCallback",
e.files)):a.each(e.types,function(d,h){var k=e.getData(h);-1<h.toLowerCase().indexOf("text")?b.invoke("editor.pasteHTML",k):a(k).each(function(){b.invoke("editor.insertNode",this)})})}).on("dragover",!1)}},codeview:function(a){var b=a.layoutInfo.editor,d=a.layoutInfo.editable,e=a.layoutInfo.codable,h=a.options;this.sync=function(){this.isActivated()&&w.hasCodeMirror&&e.data("cmEditor").save()};this.isActivated=function(){return b.hasClass("codeview")};this.toggle=function(){this.isActivated()?this.deactivate():
this.activate();a.triggerEvent("codeview.toggled")};this.activate=function(){if(e.val(n.html(d,h.prettifyHtml)),e.height(d.height()),a.invoke("toolbar.updateCodeview",!0),b.addClass("codeview"),e.focus(),w.hasCodeMirror){var l=za.fromTextArea(e[0],h.codemirror);if(h.codemirror.tern){var m=new za.TernServer(h.codemirror.tern);l.ternServer=m;l.on("cursorActivity",function(a){m.updateArgHints(a)})}l.setSize(null,d.outerHeight());e.data("cmEditor",l)}};this.deactivate=function(){if(w.hasCodeMirror){var l=
e.data("cmEditor");e.val(l.getValue());l.toTextArea()}var l=n.value(e,h.prettifyHtml)||n.emptyPara,m=d.html()!==l;d.html(l);d.height(h.height?e.height():"auto");b.removeClass("codeview");m&&a.triggerEvent("change",d.html(),d);d.focus();a.invoke("toolbar.updateCodeview",!1)};this.destroy=function(){this.isActivated()&&this.deactivate()}},statusbar:function(b){var d=a(document),e=b.layoutInfo.statusbar,h=b.layoutInfo.editable,k=b.options;this.initialize=function(){k.airMode||k.disableResizeEditor||
e.on("mousedown",function(a){a.preventDefault();a.stopPropagation();var b=h.offset().top-d.scrollTop();d.on("mousemove",function(a){a=a.clientY-(b+24);a=0<k.minheight?Math.max(a,k.minheight):a;a=0<k.maxHeight?Math.min(a,k.maxHeight):a;h.height(a)}).one("mouseup",function(){d.off("mousemove")})})};this.destroy=function(){e.off()}},fullscreen:function(b){var d=b.layoutInfo.editor,e=b.layoutInfo.toolbar,h=b.layoutInfo.editable,k=b.layoutInfo.codable,l=a(window),m=a("html, body");this.toggle=function(){var a=
function(a){h.css("height",a.h);k.css("height",a.h);k.data("cmeditor")&&k.data("cmeditor").setsize(null,a.h)};d.toggleClass("fullscreen");this.isFullscreen()?(h.data("orgHeight",h.css("height")),l.on("resize",function(){a({h:l.height()-e.outerHeight()})}).trigger("resize"),m.css("overflow","hidden")):(l.off("resize"),a({h:h.data("orgHeight")}),m.css("overflow","visible"));b.invoke("toolbar.updateFullscreen",this.isFullscreen())};this.isFullscreen=function(){return d.hasClass("fullscreen")}},handle:function(b){var d=
this,e=a(document),h=b.layoutInfo.editingArea,k=b.options;this.events={"summernote.mousedown":function(a,b){d.update(b.target)&&b.preventDefault()},"summernote.keyup summernote.scroll summernote.change summernote.dialog.shown":function(){d.update()}};this.initialize=function(){this.$handle=a(['\x3cdiv class\x3d"note-handle"\x3e\x3cdiv class\x3d"note-control-selection"\x3e\x3cdiv class\x3d"note-control-selection-bg"\x3e\x3c/div\x3e\x3cdiv class\x3d"note-control-holder note-control-nw"\x3e\x3c/div\x3e\x3cdiv class\x3d"note-control-holder note-control-ne"\x3e\x3c/div\x3e\x3cdiv class\x3d"note-control-holder note-control-sw"\x3e\x3c/div\x3e\x3cdiv class\x3d"',
k.disableResizeImage?"note-control-holder":"note-control-sizing",' note-control-se"\x3e\x3c/div\x3e',k.disableResizeImage?"":'\x3cdiv class\x3d"note-control-selection-info"\x3e\x3c/div\x3e',"\x3c/div\x3e\x3c/div\x3e"].join("")).prependTo(h);this.$handle.on("mousedown",function(a){if(n.isControlSizing(a.target)){a.preventDefault();a.stopPropagation();var h=d.$handle.find(".note-control-selection").data("target"),k=h.offset(),l=e.scrollTop();e.on("mousemove",function(a){b.invoke("editor.resizeTo",{x:a.clientX-
k.left,y:a.clientY-(k.top-l)},h,!a.shiftKey);d.update(h[0])}).one("mouseup",function(a){a.preventDefault();e.off("mousemove");b.invoke("editor.afterCommand")});h.data("ratio")||h.data("ratio",h.height()/h.width())}})};this.destroy=function(){this.$handle.remove()};this.update=function(d){var e=n.isImg(d),h=this.$handle.find(".note-control-selection");if(b.invoke("imagePopover.update",d),e){var k=a(d),l=k.position(),m=k.outerWidth(!0),s=k.outerHeight(!0);h.css({display:"block",left:l.left,top:l.top,
width:m,height:s}).data("target",k);k=m+"x"+s;h.find(".note-control-selection-info").text(k);b.invoke("editor.saveTarget",d)}else this.hide();return e};this.hide=function(){b.invoke("editor.clearTarget");this.$handle.children().hide()}},hintPopover:function(b){var d=this,e=a.summernote.ui,l=b.options.hint||[],k=b.options.hintDirection||"bottom",m=a.isArray(l)?l:[l];this.events={"summernote.keyup":function(a,b){b.isDefaultPrevented()||d.handleKeyup(b)},"summernote.keydown":function(a,b){d.handleKeydown(b)},
"summernote.dialog.shown":function(){d.hide()}};this.shouldInitialize=function(){return 0<m.length};this.initialize=function(){this.lastWordRange=null;this.$popover=e.popover({className:"note-hint-popover",hideArrow:!0,direction:""}).render().appendTo("body");this.$popover.hide();this.$content=this.$popover.find(".popover-content");this.$content.on("click",".note-hint-item",function(){d.$content.find(".active").removeClass("active");a(this).addClass("active");d.replace()})};this.destroy=function(){this.$popover.remove()};
this.selectItem=function(a){this.$content.find(".active").removeClass("active");a.addClass("active");this.$content[0].scrollTop=a[0].offsetTop-this.$content.innerHeight()/2};this.moveDown=function(){var a=this.$content.find(".note-hint-item.active"),b=a.next();b.length?this.selectItem(b):(a=a.parent().next(),a.length||(a=this.$content.find(".note-hint-group").first()),this.selectItem(a.find(".note-hint-item").first()))};this.moveUp=function(){var a=this.$content.find(".note-hint-item.active"),b=a.prev();
b.length?this.selectItem(b):(a=a.parent().prev(),a.length||(a=this.$content.find(".note-hint-group").last()),this.selectItem(a.find(".note-hint-item").last()))};this.replace=function(){var a=this.$content.find(".note-hint-item.active");a.length&&(a=this.nodeFromItem(a),this.lastWordRange.insertNode(a),P.createFromNode(a).collapse().select(),this.lastWordRange=null,this.hide(),b.invoke("editor.focus"))};this.nodeFromItem=function(a){var b=m[a.data("index")];a=a.data("item");b=b.content?b.content(a):
a;return"string"==typeof b&&(b=n.createText(b)),b};this.createItemTemplates=function(b,d){var e=m[b];return d.map(function(d,h){var k=a('\x3cdiv class\x3d"note-hint-item"/\x3e');return k.append(e.template?e.template(d):d+""),k.data({index:b,item:d}),0===b&&0===h&&k.addClass("active"),k})};this.handleKeydown=function(a){this.$popover.is(":visible")&&(a.keyCode===V.code.ENTER?(a.preventDefault(),this.replace()):a.keyCode===V.code.UP?(a.preventDefault(),this.moveUp()):a.keyCode===V.code.DOWN&&(a.preventDefault(),
this.moveDown()))};this.searchKeyword=function(a,b,d){(a=m[a])&&a.match.test(b)&&a.search?(b=a.match.exec(b),a.search(b[1],d)):d()};this.createGroup=function(b,e){var h=a('\x3cdiv class\x3d"note-hint-group note-hint-group-'+b+'"/\x3e');return this.searchKeyword(b,e,function(a){a=a||[];a.length&&(h.html(d.createItemTemplates(b,a)),d.show())}),h};this.handleKeyup=function(a){if(h.contains([V.code.ENTER,V.code.UP,V.code.DOWN],a.keyCode))a.keyCode===V.code.ENTER&&this.$popover.is(":visible");else{a=b.invoke("editor.createRange").getWordRange();
var e=a.toString();if(m.length&&e){this.$content.empty();var l=p.rect2bnd(h.last(a.getClientRects()));l&&(this.$popover.hide(),this.lastWordRange=a,m.forEach(function(a,b){a.match.test(e)&&d.createGroup(b,e).appendTo(d.$content)}),"top"===k?this.$popover.css({left:l.left,top:l.top-this.$popover.outerHeight()-5}):this.$popover.css({left:l.left,top:l.top+l.height+5}))}else this.hide()}};this.show=function(){this.$popover.show()};this.hide=function(){this.$popover.hide()}},autoLink:function(b){var d=
this,e=/^(https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|mailto:[A-Z0-9._%+-]+@)?(www\.)?(.+)$/i;this.events={"summernote.keyup":function(a,b){b.isDefaultPrevented()||d.handleKeyup(b)},"summernote.keydown":function(a,b){d.handleKeydown(b)}};this.initialize=function(){this.lastWordRange=null};this.destroy=function(){this.lastWordRange=null};this.replace=function(){if(this.lastWordRange){var d=this.lastWordRange.toString(),h=d.match(e);h&&(h[1]||h[2])&&(h=h[1]?d:"http://"+d,d=a("\x3ca /\x3e").html(d).attr("href",
h)[0],this.lastWordRange.insertNode(d),this.lastWordRange=null,b.invoke("editor.focus"))}};this.handleKeydown=function(a){h.contains([V.code.ENTER,V.code.SPACE],a.keyCode)&&(this.lastWordRange=b.invoke("editor.createRange").getWordRange())};this.handleKeyup=function(a){h.contains([V.code.ENTER,V.code.SPACE],a.keyCode)&&this.replace()}},autoSync:function(a){var b=a.layoutInfo.note;this.events={"summernote.change":function(){b.val(a.invoke("code"))}};this.shouldInitialize=function(){return n.isTextarea(b[0])}},
placeholder:function(b){var d=this,e=b.layoutInfo.editingArea,h=b.options;this.events={"summernote.init summernote.change":function(){d.update()},"summernote.codeview.toggled":function(){d.update()}};this.shouldInitialize=function(){return!!h.placeholder};this.initialize=function(){this.$placeholder=a('\x3cdiv class\x3d"note-placeholder"\x3e');this.$placeholder.on("click",function(){b.invoke("focus")}).text(h.placeholder).prependTo(e)};this.destroy=function(){this.$placeholder.remove()};this.update=
function(){var a=!b.invoke("codeview.isActivated")&&b.invoke("editor.isEmpty");this.$placeholder.toggle(a)}},buttons:function(b){var d=this,e=a.summernote.ui,l=b.layoutInfo.toolbar,k=b.options,m=k.langInfo,n=p.invertObject(k.keyMap[w.isMac?"mac":"pc"]),q=this.representShortcut=function(a){a=n[a];return w.isMac&&(a=a.replace("CMD","⌘").replace("SHIFT","⇧")),a=a.replace("BACKSLASH","\\").replace("SLASH","/").replace("LEFTBRACKET","[").replace("RIGHTBRACKET","]")," ("+a+")"};this.initialize=function(){this.addToolbarButtons();
this.addImagePopoverButtons();this.addLinkPopoverButtons();this.fontInstalledMap={}};this.destroy=function(){delete this.fontInstalledMap};this.isFontInstalled=function(a){return d.fontInstalledMap.hasOwnProperty(a)||(d.fontInstalledMap[a]=w.isFontInstalled(a)||h.contains(k.fontNamesIgnoreCheck,a)),d.fontInstalledMap[a]};this.addToolbarButtons=function(){b.memo("button.style",function(){return e.buttonGroup([e.button({className:"dropdown-toggle",contents:e.icon(k.icons.magic)+" "+e.icon(k.icons.caret,
"span"),tooltip:m.style.style,data:{toggle:"dropdown"}}),e.dropdown({className:"dropdown-style",items:b.options.styleTags,template:function(a){"string"==typeof a&&(a={tag:a,title:a});var b=a.tag;return"\x3c"+b+(a.style?' style\x3d"'+a.style+'" ':"")+(a.className?' className\x3d"'+a.className+'"':"")+"\x3e"+a.title+"\x3c/"+b+"\x3e"},click:b.createInvokeHandler("editor.formatBlock")})]).render()});b.memo("button.bold",function(){return e.button({className:"note-btn-bold",contents:e.icon(k.icons.bold),
tooltip:m.font.bold+q("bold"),click:b.createInvokeHandler("editor.bold")}).render()});b.memo("button.italic",function(){return e.button({className:"note-btn-italic",contents:e.icon(k.icons.italic),tooltip:m.font.italic+q("italic"),click:b.createInvokeHandler("editor.italic")}).render()});b.memo("button.underline",function(){return e.button({className:"note-btn-underline",contents:e.icon(k.icons.underline),tooltip:m.font.underline+q("underline"),click:b.createInvokeHandler("editor.underline")}).render()});
b.memo("button.clear",function(){return e.button({contents:e.icon(k.icons.eraser),tooltip:m.font.clear+q("removeFormat"),click:b.createInvokeHandler("editor.removeFormat")}).render()});b.memo("button.strikethrough",function(){return e.button({className:"note-btn-strikethrough",contents:e.icon(k.icons.strikethrough),tooltip:m.font.strikethrough+q("strikethrough"),click:b.createInvokeHandler("editor.strikethrough")}).render()});b.memo("button.superscript",function(){return e.button({className:"note-btn-superscript",
contents:e.icon(k.icons.superscript),tooltip:m.font.superscript,click:b.createInvokeHandler("editor.superscript")}).render()});b.memo("button.subscript",function(){return e.button({className:"note-btn-subscript",contents:e.icon(k.icons.subscript),tooltip:m.font.subscript,click:b.createInvokeHandler("editor.subscript")}).render()});b.memo("button.fontname",function(){return e.buttonGroup([e.button({className:"dropdown-toggle",contents:'\x3cspan class\x3d"note-current-fontname"/\x3e '+e.icon(k.icons.caret,
"span"),tooltip:m.font.name,data:{toggle:"dropdown"}}),e.dropdownCheck({className:"dropdown-fontname",checkClassName:k.icons.menuCheck,items:k.fontNames.filter(d.isFontInstalled),template:function(a){return'\x3cspan style\x3d"font-family:'+a+'"\x3e'+a+"\x3c/span\x3e"},click:b.createInvokeHandler("editor.fontName")})]).render()});b.memo("button.fontsize",function(){return e.buttonGroup([e.button({className:"dropdown-toggle",contents:'\x3cspan class\x3d"note-current-fontsize"/\x3e'+e.icon(k.icons.caret,
"span"),tooltip:m.font.size,data:{toggle:"dropdown"}}),e.dropdownCheck({className:"dropdown-fontsize",checkClassName:k.icons.menuCheck,items:k.fontSizes,click:b.createInvokeHandler("editor.fontSize")})]).render()});b.memo("button.color",function(){return e.buttonGroup({className:"note-color",children:[e.button({className:"note-current-color-button",contents:e.icon(k.icons.font+" note-recent-color"),tooltip:m.color.recent,click:function(d){d=a(d.currentTarget);b.invoke("editor.color",{backColor:d.attr("data-backColor"),
foreColor:d.attr("data-foreColor")})},callback:function(a){a.find(".note-recent-color").css("background-color","#FFFF00");a.attr("data-backColor","#FFFF00")}}),e.button({className:"dropdown-toggle",contents:e.icon(k.icons.caret,"span"),tooltip:m.color.more,data:{toggle:"dropdown"}}),e.dropdown({items:['\x3cli\x3e\x3cdiv class\x3d"btn-group"\x3e','  \x3cdiv class\x3d"note-palette-title"\x3e'+m.color.background+"\x3c/div\x3e",'  \x3cdiv\x3e    \x3cbutton type\x3d"button" class\x3d"note-color-reset btn btn-default" data-event\x3d"backColor" data-value\x3d"inherit"\x3e',
m.color.transparent,'    \x3c/button\x3e  \x3c/div\x3e  \x3cdiv class\x3d"note-holder" data-event\x3d"backColor"/\x3e\x3c/div\x3e\x3cdiv class\x3d"btn-group"\x3e','  \x3cdiv class\x3d"note-palette-title"\x3e'+m.color.foreground+"\x3c/div\x3e",'  \x3cdiv\x3e    \x3cbutton type\x3d"button" class\x3d"note-color-reset btn btn-default" data-event\x3d"removeFormat" data-value\x3d"foreColor"\x3e',m.color.resetToDefault,'    \x3c/button\x3e  \x3c/div\x3e  \x3cdiv class\x3d"note-holder" data-event\x3d"foreColor"/\x3e\x3c/div\x3e\x3c/li\x3e'].join(""),
callback:function(b){b.find(".note-holder").each(function(){var b=a(this);b.append(e.palette({colors:k.colors,eventName:b.data("event")}).render())})},click:function(d){var e=a(d.target);d=e.data("event");var h=e.data("value");if(d&&h){var f="backColor"===d?"background-color":"color",k=e.closest(".note-color").find(".note-recent-color"),e=e.closest(".note-color").find(".note-current-color-button");k.css(f,h);e.attr("data-"+d,h);b.invoke("editor."+d,h)}}})]}).render()});b.memo("button.ul",function(){return e.button({contents:e.icon(k.icons.unorderedlist),
tooltip:m.lists.unordered+q("insertUnorderedList"),click:b.createInvokeHandler("editor.insertUnorderedList")}).render()});b.memo("button.ol",function(){return e.button({contents:e.icon(k.icons.orderedlist),tooltip:m.lists.ordered+q("insertOrderedList"),click:b.createInvokeHandler("editor.insertOrderedList")}).render()});var h=e.button({contents:e.icon(k.icons.alignLeft),tooltip:m.paragraph.left+q("justifyLeft"),click:b.createInvokeHandler("editor.justifyLeft")}),l=e.button({contents:e.icon(k.icons.alignCenter),
tooltip:m.paragraph.center+q("justifyCenter"),click:b.createInvokeHandler("editor.justifyCenter")}),n=e.button({contents:e.icon(k.icons.alignRight),tooltip:m.paragraph.right+q("justifyRight"),click:b.createInvokeHandler("editor.justifyRight")}),w=e.button({contents:e.icon(k.icons.alignJustify),tooltip:m.paragraph.justify+q("justifyFull"),click:b.createInvokeHandler("editor.justifyFull")}),v=e.button({contents:e.icon(k.icons.outdent),tooltip:m.paragraph.outdent+q("outdent"),click:b.createInvokeHandler("editor.outdent")}),
x=e.button({contents:e.icon(k.icons.indent),tooltip:m.paragraph.indent+q("indent"),click:b.createInvokeHandler("editor.indent")});b.memo("button.justifyLeft",p.invoke(h,"render"));b.memo("button.justifyCenter",p.invoke(l,"render"));b.memo("button.justifyRight",p.invoke(n,"render"));b.memo("button.justifyFull",p.invoke(w,"render"));b.memo("button.outdent",p.invoke(v,"render"));b.memo("button.indent",p.invoke(x,"render"));b.memo("button.paragraph",function(){return e.buttonGroup([e.button({className:"dropdown-toggle",
contents:e.icon(k.icons.alignLeft)+" "+e.icon(k.icons.caret,"span"),tooltip:m.paragraph.paragraph,data:{toggle:"dropdown"}}),e.dropdown([e.buttonGroup({className:"note-align",children:[h,l,n,w]}),e.buttonGroup({className:"note-list",children:[v,x]})])]).render()});b.memo("button.height",function(){return e.buttonGroup([e.button({className:"dropdown-toggle",contents:e.icon(k.icons.textHeight)+" "+e.icon(k.icons.caret,"span"),tooltip:m.font.height,data:{toggle:"dropdown"}}),e.dropdownCheck({items:k.lineHeights,
checkClassName:k.icons.menuCheck,className:"dropdown-line-height",click:b.createInvokeHandler("editor.lineHeight")})]).render()});b.memo("button.table",function(){return e.buttonGroup([e.button({className:"dropdown-toggle",contents:e.icon(k.icons.table)+" "+e.icon(k.icons.caret,"span"),tooltip:m.table.table,data:{toggle:"dropdown"}}),e.dropdown({className:"note-table",items:'\x3cdiv class\x3d"note-dimension-picker"\x3e  \x3cdiv class\x3d"note-dimension-picker-mousecatcher" data-event\x3d"insertTable" data-value\x3d"1x1"/\x3e  \x3cdiv class\x3d"note-dimension-picker-highlighted"/\x3e  \x3cdiv class\x3d"note-dimension-picker-unhighlighted"/\x3e\x3c/div\x3e\x3cdiv class\x3d"note-dimension-display"\x3e1 x 1\x3c/div\x3e'})],
{callback:function(a){a.find(".note-dimension-picker-mousecatcher").css({width:k.insertTableMaxSize.col+"em",height:k.insertTableMaxSize.row+"em"}).mousedown(b.createInvokeHandler("editor.insertTable")).on("mousemove",d.tableMoveHandler)}}).render()});b.memo("button.link",function(){return e.button({contents:e.icon(k.icons.link),tooltip:m.link.link,click:b.createInvokeHandler("linkDialog.show")}).render()});b.memo("button.picture",function(){return e.button({contents:e.icon(k.icons.picture),tooltip:m.image.image,
click:b.createInvokeHandler("imageDialog.show")}).render()});b.memo("button.video",function(){return e.button({contents:e.icon(k.icons.video),tooltip:m.video.video,click:b.createInvokeHandler("videoDialog.show")}).render()});b.memo("button.hr",function(){return e.button({contents:e.icon(k.icons.minus),tooltip:m.hr.insert+q("insertHorizontalRule"),click:b.createInvokeHandler("editor.insertHorizontalRule")}).render()});b.memo("button.fullscreen",function(){return e.button({className:"btn-fullscreen",
contents:e.icon(k.icons.arrowsAlt),tooltip:m.options.fullscreen,click:b.createInvokeHandler("fullscreen.toggle")}).render()});b.memo("button.codeview",function(){return e.button({className:"btn-codeview",contents:e.icon(k.icons.code),tooltip:m.options.codeview,click:b.createInvokeHandler("codeview.toggle")}).render()});b.memo("button.redo",function(){return e.button({contents:e.icon(k.icons.redo),tooltip:m.history.redo+q("redo"),click:b.createInvokeHandler("editor.redo")}).render()});b.memo("button.undo",
function(){return e.button({contents:e.icon(k.icons.undo),tooltip:m.history.undo+q("undo"),click:b.createInvokeHandler("editor.undo")}).render()});b.memo("button.help",function(){return e.button({contents:e.icon(k.icons.question),tooltip:m.options.help,click:b.createInvokeHandler("helpDialog.show")}).render()})};this.addImagePopoverButtons=function(){b.memo("button.imageSize100",function(){return e.button({contents:'\x3cspan class\x3d"note-fontsize-10"\x3e100%\x3c/span\x3e',tooltip:m.image.resizeFull,
click:b.createInvokeHandler("editor.resize","1")}).render()});b.memo("button.imageSize50",function(){return e.button({contents:'\x3cspan class\x3d"note-fontsize-10"\x3e50%\x3c/span\x3e',tooltip:m.image.resizeHalf,click:b.createInvokeHandler("editor.resize","0.5")}).render()});b.memo("button.imageSize25",function(){return e.button({contents:'\x3cspan class\x3d"note-fontsize-10"\x3e25%\x3c/span\x3e',tooltip:m.image.resizeQuarter,click:b.createInvokeHandler("editor.resize","0.25")}).render()});b.memo("button.floatLeft",
function(){return e.button({contents:e.icon(k.icons.alignLeft),tooltip:m.image.floatLeft,click:b.createInvokeHandler("editor.floatMe","left")}).render()});b.memo("button.floatRight",function(){return e.button({contents:e.icon(k.icons.alignRight),tooltip:m.image.floatRight,click:b.createInvokeHandler("editor.floatMe","right")}).render()});b.memo("button.floatNone",function(){return e.button({contents:e.icon(k.icons.alignJustify),tooltip:m.image.floatNone,click:b.createInvokeHandler("editor.floatMe",
"none")}).render()});b.memo("button.removeMedia",function(){return e.button({contents:e.icon(k.icons.trash),tooltip:m.image.remove,click:b.createInvokeHandler("editor.removeMedia")}).render()})};this.addLinkPopoverButtons=function(){b.memo("button.linkDialogShow",function(){return e.button({contents:e.icon(k.icons.link),tooltip:m.link.edit,click:b.createInvokeHandler("linkDialog.show")}).render()});b.memo("button.unlink",function(){return e.button({contents:e.icon(k.icons.unlink),tooltip:m.link.unlink,
click:b.createInvokeHandler("editor.unlink")}).render()})};this.build=function(a,d){for(var h=0,k=d.length;k>h;h++){for(var l=d[h],m=l[1],l=e.buttonGroup({className:"note-"+l[0]}).render(),n=0,p=m.length;p>n;n++){var q=b.memo("button."+m[n]);q&&l.append("function"==typeof q?q(b):q)}l.appendTo(a)}};this.updateCurrentStyle=function(){var e=b.invoke("editor.currentStyle");if(this.updateBtnStates({".note-btn-bold":function(){return"bold"===e["font-bold"]},".note-btn-italic":function(){return"italic"===
e["font-italic"]},".note-btn-underline":function(){return"underline"===e["font-underline"]},".note-btn-subscript":function(){return"subscript"===e["font-subscript"]},".note-btn-superscript":function(){return"superscript"===e["font-superscript"]},".note-btn-strikethrough":function(){return"strikethrough"===e["font-strikethrough"]}}),e["font-family"]){var k=e["font-family"].split(",").map(function(a){return a.replace(/[\'\"]/g,"").replace(/\s+$/,"").replace(/^\s+/,"")}),m=h.find(k,d.isFontInstalled);
l.find(".dropdown-fontname li a").each(function(){this.className=a(this).data("value")+""==m+""?"checked":""});l.find(".note-current-fontname").text(m)}if(e["font-size"]){var n=e["font-size"];l.find(".dropdown-fontsize li a").each(function(){this.className=a(this).data("value")+""==n+""?"checked":""});l.find(".note-current-fontsize").text(n)}if(e["line-height"]){var p=e["line-height"];l.find(".dropdown-line-height li a").each(function(){this.className=a(this).data("value")+""==p+""?"checked":""})}};
this.updateBtnStates=function(b){a.each(b,function(a,b){e.toggleBtnActive(l.find(a),b())})};this.tableMoveHandler=function(b){var d,e=a(b.target.parentNode),h=e.next(),l=e.find(".note-dimension-picker-mousecatcher"),m=e.find(".note-dimension-picker-highlighted"),e=e.find(".note-dimension-picker-unhighlighted");if(void 0===b.offsetX){var n=a(b.target).offset();d=b.pageX-n.left;b=b.pageY-n.top}else d=b.offsetX,b=b.offsetY;d=Math.ceil(d/18)||1;b=Math.ceil(b/18)||1;m.css({width:d+"em",height:b+"em"});
l.data("value",d+"x"+b);3<d&&d<k.insertTableMaxSize.col&&e.css({width:d+1+"em"});3<b&&b<k.insertTableMaxSize.row&&e.css({height:b+1+"em"});h.html(d+" x "+b)}},toolbar:function(b){var d=a.summernote.ui,e=b.layoutInfo.note,h=b.layoutInfo.toolbar,k=b.options;this.shouldInitialize=function(){return!k.airMode};this.initialize=function(){k.toolbar=k.toolbar||[];k.toolbar.length?b.invoke("buttons.build",h,k.toolbar):h.hide();k.toolbarContainer&&h.appendTo(k.toolbarContainer);e.on("summernote.keyup summernote.mouseup summernote.change",
function(){b.invoke("buttons.updateCurrentStyle")});b.invoke("buttons.updateCurrentStyle")};this.destroy=function(){h.children().remove()};this.updateFullscreen=function(a){d.toggleBtnActive(h.find(".btn-fullscreen"),a)};this.updateCodeview=function(a){d.toggleBtnActive(h.find(".btn-codeview"),a);a?this.deactivate():this.activate()};this.activate=function(a){var b=h.find("button");a||(b=b.not(".btn-codeview"));d.toggleBtn(b,!0)};this.deactivate=function(a){var b=h.find("button");a||(b=b.not(".btn-codeview"));
d.toggleBtn(b,!1)}},linkDialog:function(b){var d=this,e=a.summernote.ui,h=b.layoutInfo.editor,k=b.options,l=k.langInfo;this.initialize=function(){var b=k.dialogsInBody?a(document.body):h;this.$dialog=e.dialog({className:"link-dialog",title:l.link.insert,fade:k.dialogsFade,body:'\x3cdiv class\x3d"form-group"\x3e\x3clabel\x3e'+l.link.textToDisplay+'\x3c/label\x3e\x3cinput class\x3d"note-link-text form-control" type\x3d"text" /\x3e\x3c/div\x3e\x3cdiv class\x3d"form-group"\x3e\x3clabel\x3e'+l.link.url+
'\x3c/label\x3e\x3cinput class\x3d"note-link-url form-control" type\x3d"text" value\x3d"http://" /\x3e\x3c/div\x3e'+(k.disableLinkTarget?"":'\x3cdiv class\x3d"checkbox"\x3e\x3clabel\x3e\x3cinput type\x3d"checkbox" checked\x3e '+l.link.openInNewWindow+"\x3c/label\x3e\x3c/div\x3e"),footer:'\x3cbutton href\x3d"#" class\x3d"btn btn-primary note-link-btn disabled" disabled\x3e'+l.link.insert+"\x3c/button\x3e"}).render().appendTo(b)};this.destroy=function(){e.hideDialog(this.$dialog);this.$dialog.remove()};
this.bindEnterKey=function(a,b){a.on("keypress",function(a){a.keyCode===V.code.ENTER&&b.trigger("click")})};this.showLinkDialog=function(h){return a.Deferred(function(a){var k=d.$dialog.find(".note-link-text"),l=d.$dialog.find(".note-link-url"),m=d.$dialog.find(".note-link-btn"),n=d.$dialog.find("input[type\x3dcheckbox]");e.onDialogShown(d.$dialog,function(){b.triggerEvent("dialog.shown");k.val(h.text);k.on("input",function(){e.toggleBtn(m,k.val()&&l.val());h.text=k.val()});h.url||(h.url=h.text||
"http://",e.toggleBtn(m,h.text));l.on("input",function(){e.toggleBtn(m,k.val()&&l.val());h.text||k.val(l.val())}).val(h.url).trigger("focus");d.bindEnterKey(l,m);d.bindEnterKey(k,m);n.prop("checked",h.isNewWindow);m.one("click",function(b){b.preventDefault();a.resolve({range:h.range,url:l.val(),text:k.val(),isNewWindow:n.is(":checked")});d.$dialog.modal("hide")})});e.onDialogHidden(d.$dialog,function(){k.off("input keypress");l.off("input keypress");m.off("click");"pending"===a.state()&&a.reject()});
e.showDialog(d.$dialog)}).promise()};this.show=function(){var a=b.invoke("editor.getLinkInfo");b.invoke("editor.saveRange");this.showLinkDialog(a).then(function(a){b.invoke("editor.restoreRange");b.invoke("editor.createLink",a)}).fail(function(){b.invoke("editor.restoreRange")})};b.memo("help.linkDialog.show",k.langInfo.help["linkDialog.show"])},linkPopover:function(b){var d=this,e=a.summernote.ui,l=b.options;this.events={"summernote.keyup summernote.mouseup summernote.change summernote.scroll":function(){d.update()},
"summernote.dialog.shown":function(){d.hide()}};this.shouldInitialize=function(){return!h.isEmpty(l.popover.link)};this.initialize=function(){this.$popover=e.popover({className:"note-link-popover",callback:function(a){a.find(".popover-content").prepend('\x3cspan\x3e\x3ca target\x3d"_blank"\x3e\x3c/a\x3e\x26nbsp;\x3c/span\x3e')}}).render().appendTo("body");var a=this.$popover.find(".popover-content");b.invoke("buttons.build",a,l.popover.link)};this.destroy=function(){this.$popover.remove()};this.update=
function(){if(!b.invoke("editor.hasFocus"))return void this.hide();var d=b.invoke("editor.createRange");if(d.isCollapsed()&&d.isOnAnchor()){var d=n.ancestor(d.sc,n.isAnchor),e=a(d).attr("href");this.$popover.find("a").attr("href",e).html(e);d=n.posFromPlaceholder(d);this.$popover.css({display:"block",left:d.left,top:d.top})}else this.hide()};this.hide=function(){this.$popover.hide()}},imageDialog:function(b){var d=this,e=a.summernote.ui,h=b.layoutInfo.editor,k=b.options,l=k.langInfo;this.initialize=
function(){var b=k.dialogsInBody?a(document.body):h,d="";k.maximumImageFileSize&&(d=Math.floor(Math.log(k.maximumImageFileSize)/Math.log(1024)),d=1*(k.maximumImageFileSize/Math.pow(1024,d)).toFixed(2)+" "+" KMGTP"[d]+"B",d="\x3csmall\x3e"+l.image.maximumFileSize+" : "+d+"\x3c/small\x3e");this.$dialog=e.dialog({title:l.image.insert,fade:k.dialogsFade,body:'\x3cdiv class\x3d"form-group note-group-select-from-files"\x3e\x3clabel\x3e'+l.image.selectFromFiles+'\x3c/label\x3e\x3cinput class\x3d"note-image-input form-control" type\x3d"file" name\x3d"files" accept\x3d"image/*" multiple\x3d"multiple" /\x3e'+
d+'\x3c/div\x3e\x3cdiv class\x3d"form-group" style\x3d"overflow:auto;"\x3e\x3clabel\x3e'+l.image.url+'\x3c/label\x3e\x3cinput class\x3d"note-image-url form-control col-md-12" type\x3d"text" /\x3e\x3c/div\x3e',footer:'\x3cbutton href\x3d"#" class\x3d"btn btn-primary note-image-btn disabled" disabled\x3e'+l.image.insert+"\x3c/button\x3e"}).render().appendTo(b)};this.destroy=function(){e.hideDialog(this.$dialog);this.$dialog.remove()};this.bindEnterKey=function(a,b){a.on("keypress",function(a){a.keyCode===
V.code.ENTER&&b.trigger("click")})};this.show=function(){b.invoke("editor.saveRange");this.showImageDialog().then(function(a){e.hideDialog(d.$dialog);b.invoke("editor.restoreRange");"string"==typeof a?b.invoke("editor.insertImage",a):b.invoke("editor.insertImagesOrCallback",a)}).fail(function(){b.invoke("editor.restoreRange")})};this.showImageDialog=function(){return a.Deferred(function(a){var h=d.$dialog.find(".note-image-input"),k=d.$dialog.find(".note-image-url"),l=d.$dialog.find(".note-image-btn");
e.onDialogShown(d.$dialog,function(){b.triggerEvent("dialog.shown");h.replaceWith(h.clone().on("change",function(){a.resolve(this.files||this.value)}).val(""));l.click(function(b){b.preventDefault();a.resolve(k.val())});k.on("keyup paste",function(){var a=k.val();e.toggleBtn(l,a)}).val("").trigger("focus");d.bindEnterKey(k,l)});e.onDialogHidden(d.$dialog,function(){h.off("change");k.off("keyup paste keypress");l.off("click");"pending"===a.state()&&a.reject()});e.showDialog(d.$dialog)})}},imagePopover:function(b){var d=
a.summernote.ui,e=b.options;this.shouldInitialize=function(){return!h.isEmpty(e.popover.image)};this.initialize=function(){this.$popover=d.popover({className:"note-image-popover"}).render().appendTo("body");var a=this.$popover.find(".popover-content");b.invoke("buttons.build",a,e.popover.image)};this.destroy=function(){this.$popover.remove()};this.update=function(a){n.isImg(a)?(a=n.posFromPlaceholder(a),this.$popover.css({display:"block",left:a.left,top:a.top})):this.hide()};this.hide=function(){this.$popover.hide()}},
videoDialog:function(b){var d=this,e=a.summernote.ui,h=b.layoutInfo.editor,k=b.options,l=k.langInfo;this.initialize=function(){var b=k.dialogsInBody?a(document.body):h;this.$dialog=e.dialog({title:l.video.insert,fade:k.dialogsFade,body:'\x3cdiv class\x3d"form-group row-fluid"\x3e\x3clabel\x3e'+l.video.url+' \x3csmall class\x3d"text-muted"\x3e'+l.video.providers+'\x3c/small\x3e\x3c/label\x3e\x3cinput class\x3d"note-video-url form-control span12" type\x3d"text" /\x3e\x3c/div\x3e',footer:'\x3cbutton href\x3d"#" class\x3d"btn btn-primary note-video-btn disabled" disabled\x3e'+
l.video.insert+"\x3c/button\x3e"}).render().appendTo(b)};this.destroy=function(){e.hideDialog(this.$dialog);this.$dialog.remove()};this.bindEnterKey=function(a,b){a.on("keypress",function(a){a.keyCode===V.code.ENTER&&b.trigger("click")})};this.createVideoNode=function(b){var d=b.match(/^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/),e=b.match(/\/\/instagram.com\/p\/(.[a-zA-Z0-9_-]*)/),h=b.match(/\/\/vine.co\/v\/(.[a-zA-Z0-9]*)/),
k=b.match(/\/\/(player.)?vimeo.com\/([a-z]*\/)*([0-9]{6,11})[?]?.*/),l=b.match(/.+dailymotion.com\/(video|hub)\/([^_]+)[^#]*(#video=([^_&]+))?/),m=b.match(/\/\/v\.youku\.com\/v_show\/id_(\w+)=*\.html/),n=b.match(/^.+.(mp4|m4v)$/),p=b.match(/^.+.(ogg|ogv)$/),s=b.match(/^.+.(webm)$/);if(d&&11===d[1].length)b=d[1],b=a("\x3ciframe\x3e").attr("frameborder",0).attr("src","//www.youtube.com/embed/"+b).attr("width","640").attr("height","360");else if(e&&e[0].length)b=a("\x3ciframe\x3e").attr("frameborder",
0).attr("src",e[0]+"/embed/").attr("width","612").attr("height","710").attr("scrolling","no").attr("allowtransparency","true");else if(h&&h[0].length)b=a("\x3ciframe\x3e").attr("frameborder",0).attr("src",h[0]+"/embed/simple").attr("width","600").attr("height","600").attr("class","vine-embed");else if(k&&k[3].length)b=a("\x3ciframe webkitallowfullscreen mozallowfullscreen allowfullscreen\x3e").attr("frameborder",0).attr("src","//player.vimeo.com/video/"+k[3]).attr("width","640").attr("height","360");
else if(l&&l[2].length)b=a("\x3ciframe\x3e").attr("frameborder",0).attr("src","//www.dailymotion.com/embed/video/"+l[2]).attr("width","640").attr("height","360");else if(m&&m[1].length)b=a("\x3ciframe webkitallowfullscreen mozallowfullscreen allowfullscreen\x3e").attr("frameborder",0).attr("height","498").attr("width","510").attr("src","//player.youku.com/embed/"+m[1]);else{if(!(n||p||s))return!1;b=a("\x3cvideo controls\x3e").attr("src",b).attr("width","640").attr("height","360")}return b.addClass("note-video-clip"),
b[0]};this.show=function(){var a=b.invoke("editor.getSelectedText");b.invoke("editor.saveRange");this.showVideoDialog(a).then(function(a){e.hideDialog(d.$dialog);b.invoke("editor.restoreRange");(a=d.createVideoNode(a))&&b.invoke("editor.insertNode",a)}).fail(function(){b.invoke("editor.restoreRange")})};this.showVideoDialog=function(h){return a.Deferred(function(a){var k=d.$dialog.find(".note-video-url"),l=d.$dialog.find(".note-video-btn");e.onDialogShown(d.$dialog,function(){b.triggerEvent("dialog.shown");
k.val(h).on("input",function(){e.toggleBtn(l,k.val())}).trigger("focus");l.click(function(b){b.preventDefault();a.resolve(k.val())});d.bindEnterKey(k,l)});e.onDialogHidden(d.$dialog,function(){k.off("input");l.off("click");"pending"===a.state()&&a.reject()});e.showDialog(d.$dialog)})}},helpDialog:function(b){var d=this,e=a.summernote.ui,h=b.layoutInfo.editor,k=b.options,l=k.langInfo;this.createShortCutList=function(){var d=k.keyMap[w.isMac?"mac":"pc"];return Object.keys(d).map(function(e){var h=d[e],
k=a('\x3cdiv\x3e\x3cdiv class\x3d"help-list-item"/\x3e\x3c/div\x3e');return k.append(a("\x3clabel\x3e\x3ckbd\x3e"+e+"\x3c/kdb\x3e\x3c/label\x3e").css({width:180,"margin-right":10})).append(a("\x3cspan/\x3e").html(b.memo("help."+h)||h)),k.html()}).join("")};this.initialize=function(){var b=k.dialogsInBody?a(document.body):h;this.$dialog=e.dialog({title:l.options.help,fade:k.dialogsFade,body:this.createShortCutList(),footer:'\x3cp class\x3d"text-center"\x3e\x3ca href\x3d"//summernote.org/" target\x3d"_blank"\x3eSummernote 0.8.1\x3c/a\x3e · \x3ca href\x3d"//github.com/summernote/summernote" target\x3d"_blank"\x3eProject\x3c/a\x3e · \x3ca href\x3d"//github.com/summernote/summernote/issues" target\x3d"_blank"\x3eIssues\x3c/a\x3e\x3c/p\x3e',
callback:function(a){a.find(".modal-body").css({"max-height":300,overflow:"scroll"})}}).render().appendTo(b)};this.destroy=function(){e.hideDialog(this.$dialog);this.$dialog.remove()};this.showHelpDialog=function(){return a.Deferred(function(a){e.onDialogShown(d.$dialog,function(){b.triggerEvent("dialog.shown");a.resolve()});e.showDialog(d.$dialog)}).promise()};this.show=function(){b.invoke("editor.saveRange");this.showHelpDialog().then(function(){b.invoke("editor.restoreRange")})}},airPopover:function(b){var d=
this,e=a.summernote.ui,l=b.options;this.events={"summernote.keyup summernote.mouseup summernote.scroll":function(){d.update()},"summernote.change summernote.dialog.shown":function(){d.hide()},"summernote.focusout":function(a,b){w.isFF||b.relatedTarget&&n.ancestor(b.relatedTarget,p.eq(d.$popover[0]))||d.hide()}};this.shouldInitialize=function(){return l.airMode&&!h.isEmpty(l.popover.air)};this.initialize=function(){this.$popover=e.popover({className:"note-air-popover"}).render().appendTo("body");var a=
this.$popover.find(".popover-content");b.invoke("buttons.build",a,l.popover.air)};this.destroy=function(){this.$popover.remove()};this.update=function(){var a=b.invoke("editor.currentStyle");if(a.range&&!a.range.isCollapsed()){if(a=h.last(a.range.getClientRects()))a=p.rect2bnd(a),this.$popover.css({display:"block",left:Math.max(a.left+a.width/2,0)-20,top:a.top+a.height})}else this.hide()};this.hide=function(){this.$popover.hide()}}},buttons:{},lang:"en-US",toolbar:[["style",["style"]],["font",["bold",
"underline","clear"]],["fontname",["fontname"]],["color",["color"]],["para",["ul","ol","paragraph"]],["table",["table"]],["insert",["link","picture","video"]],["view",["fullscreen","codeview","help"]]],popover:{image:[["imagesize",["imageSize100","imageSize50","imageSize25"]],["float",["floatLeft","floatRight","floatNone"]],["remove",["removeMedia"]]],link:[["link",["linkDialogShow","unlink"]]],air:[["color",["color"]],["font",["bold","underline","clear"]],["para",["ul","paragraph"]],["table",["table"]],
["insert",["link","picture"]]]},airMode:!1,width:null,height:null,focus:!1,tabSize:4,styleWithSpan:!0,shortcuts:!0,textareaAutoSync:!0,direction:null,styleTags:"p blockquote pre h1 h2 h3 h4 h5 h6".split(" "),fontNames:"Arial;Arial Black;Comic Sans MS;Courier New;Helvetica Neue;Helvetica;Impact;Lucida Grande;Tahoma;Times New Roman;Verdana".split(";"),fontSizes:"8 9 10 11 12 14 18 24 36".split(" "),colors:["#000000 #424242 #636363 #9C9C94 #CEC6CE #EFEFEF #F7F7F7 #FFFFFF".split(" "),"#FF0000 #FF9C00 #FFFF00 #00FF00 #00FFFF #0000FF #9C00FF #FF00FF".split(" "),
"#F7C6CE #FFE7CE #FFEFC6 #D6EFD6 #CEDEE7 #CEE7F7 #D6D6E7 #E7D6DE".split(" "),"#E79C9C #FFC69C #FFE79C #B5D6A5 #A5C6CE #9CC6EF #B5A5D6 #D6A5BD".split(" "),"#E76363 #F7AD6B #FFD663 #94BD7B #73A5AD #6BADDE #8C7BC6 #C67BA5".split(" "),"#CE0000 #E79439 #EFC631 #6BA54A #4A7B8C #3984C6 #634AA5 #A54A7B".split(" "),"#9C0000 #B56308 #BD9400 #397B21 #104A5A #085294 #311873 #731842".split(" "),"#630000 #7B3900 #846300 #295218 #083139 #003163 #21104A #4A1031".split(" ")],lineHeights:"1.0 1.2 1.4 1.5 1.6 1.8 2.0 3.0".split(" "),
tableClassName:"table table-bordered",insertTableMaxSize:{col:10,row:10},dialogsInBody:!1,dialogsFade:!1,maximumImageFileSize:null,callbacks:{onInit:null,onFocus:null,onBlur:null,onEnter:null,onKeyup:null,onKeydown:null,onSubmit:null,onImageUpload:null,onImageUploadError:null},codemirror:{mode:"text/html",htmlMode:!0,lineNumbers:!0},keyMap:{pc:{ENTER:"insertParagraph","CTRL+Z":"undo","CTRL+Y":"redo",TAB:"tab","SHIFT+TAB":"untab","CTRL+B":"bold","CTRL+I":"italic","CTRL+U":"underline","CTRL+SHIFT+S":"strikethrough",
"CTRL+BACKSLASH":"removeFormat","CTRL+SHIFT+L":"justifyLeft","CTRL+SHIFT+E":"justifyCenter","CTRL+SHIFT+R":"justifyRight","CTRL+SHIFT+J":"justifyFull","CTRL+SHIFT+NUM7":"insertUnorderedList","CTRL+SHIFT+NUM8":"insertOrderedList","CTRL+LEFTBRACKET":"outdent","CTRL+RIGHTBRACKET":"indent","CTRL+NUM0":"formatPara","CTRL+NUM1":"formatH1","CTRL+NUM2":"formatH2","CTRL+NUM3":"formatH3","CTRL+NUM4":"formatH4","CTRL+NUM5":"formatH5","CTRL+NUM6":"formatH6","CTRL+ENTER":"insertHorizontalRule","CTRL+K":"linkDialog.show"},
mac:{ENTER:"insertParagraph","CMD+Z":"undo","CMD+SHIFT+Z":"redo",TAB:"tab","SHIFT+TAB":"untab","CMD+B":"bold","CMD+I":"italic","CMD+U":"underline","CMD+SHIFT+S":"strikethrough","CMD+BACKSLASH":"removeFormat","CMD+SHIFT+L":"justifyLeft","CMD+SHIFT+E":"justifyCenter","CMD+SHIFT+R":"justifyRight","CMD+SHIFT+J":"justifyFull","CMD+SHIFT+NUM7":"insertUnorderedList","CMD+SHIFT+NUM8":"insertOrderedList","CMD+LEFTBRACKET":"outdent","CMD+RIGHTBRACKET":"indent","CMD+NUM0":"formatPara","CMD+NUM1":"formatH1",
"CMD+NUM2":"formatH2","CMD+NUM3":"formatH3","CMD+NUM4":"formatH4","CMD+NUM5":"formatH5","CMD+NUM6":"formatH6","CMD+ENTER":"insertHorizontalRule","CMD+K":"linkDialog.show"}},icons:{align:"note-icon-align",alignCenter:"note-icon-align-center",alignJustify:"note-icon-align-justify",alignLeft:"note-icon-align-left",alignRight:"note-icon-align-right",indent:"note-icon-align-indent",outdent:"note-icon-align-outdent",arrowsAlt:"note-icon-arrows-alt",bold:"note-icon-bold",caret:"note-icon-caret",circle:"note-icon-circle",
close:"note-icon-close",code:"note-icon-code",eraser:"note-icon-eraser",font:"note-icon-font",frame:"note-icon-frame",italic:"note-icon-italic",link:"note-icon-link",unlink:"note-icon-chain-broken",magic:"note-icon-magic",menuCheck:"note-icon-check",minus:"note-icon-minus",orderedlist:"note-icon-orderedlist",pencil:"note-icon-pencil",picture:"note-icon-picture",question:"note-icon-question",redo:"note-icon-redo",square:"note-icon-square",strikethrough:"note-icon-strikethrough",subscript:"note-icon-subscript",
superscript:"note-icon-superscript",table:"note-icon-table",textHeight:"note-icon-text-height",trash:"note-icon-trash",underline:"note-icon-underline",undo:"note-icon-undo",unorderedlist:"note-icon-unorderedlist",video:"note-icon-video"}}})});
!function(a,q){"object"==typeof exports&&"undefined"!=typeof module?module.exports=q():"function"==typeof define&&define.amd?define(q):a.moment=q()}(this,function(){function a(){return rb.apply(null,arguments)}function q(a){return"[object Array]"===Object.prototype.toString.call(a)}function p(a){return a instanceof Date||"[object Date]"===Object.prototype.toString.call(a)}function h(a,b){var c,d=[];for(c=0;c<a.length;++c)d.push(b(a[c],c));return d}function m(a,b){return Object.prototype.hasOwnProperty.call(a,
b)}function e(a,b){for(var c in b)m(b,c)&&(a[c]=b[c]);return m(b,"toString")&&(a.toString=b.toString),m(b,"valueOf")&&(a.valueOf=b.valueOf),a}function d(a,b,c,d){return ua(a,b,c,d,!0).utc()}function b(a){return null==a._pf&&(a._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}),a._pf}function l(a){if(null==a._isValid){var c=b(a);a._isValid=!(isNaN(a._d.getTime())||!(0>c.overflow)||c.empty||c.invalidMonth||
c.invalidWeekday||c.nullInput||c.invalidFormat||c.userInvalidated);a._strict&&(a._isValid=a._isValid&&0===c.charsLeftOver&&0===c.unusedTokens.length&&void 0===c.bigHour)}return a._isValid}function J(a){var c=d(NaN);return null!=a?e(b(c),a):b(c).userInvalidated=!0,c}function w(a,c){var d,e,f;if("undefined"!=typeof c._isAMomentObject&&(a._isAMomentObject=c._isAMomentObject),"undefined"!=typeof c._i&&(a._i=c._i),"undefined"!=typeof c._f&&(a._f=c._f),"undefined"!=typeof c._l&&(a._l=c._l),"undefined"!=
typeof c._strict&&(a._strict=c._strict),"undefined"!=typeof c._tzm&&(a._tzm=c._tzm),"undefined"!=typeof c._isUTC&&(a._isUTC=c._isUTC),"undefined"!=typeof c._offset&&(a._offset=c._offset),"undefined"!=typeof c._pf&&(a._pf=b(c)),"undefined"!=typeof c._locale&&(a._locale=c._locale),0<Oa.length)for(d in Oa)e=Oa[d],f=c[e],"undefined"!=typeof f&&(a[e]=f);return a}function I(b){w(this,b);this._d=new Date(null!=b._d?b._d.getTime():NaN);!1===Mb&&(Mb=!0,a.updateOffset(this),Mb=!1)}function n(a){return a instanceof
I||null!=a&&null!=a._isAMomentObject}function F(a){return 0>a?Math.ceil(a):Math.floor(a)}function z(a){a=+a;var b=0;return 0!==a&&isFinite(a)&&(b=F(a)),b}function K(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;e>d;d++)(c&&a[d]!==b[d]||!c&&z(a[d])!==z(b[d]))&&g++;return g+f}function y(){}function W(a){return a?a.toLowerCase().replace("_","-"):a}function Bb(a){var b=null;if(!aa[a]&&"undefined"!=typeof module&&module&&module.exports)try{b=Lb._abbr,require("./locale/"+
a),Da(b)}catch(c){}return aa[a]}function Da(a,b){var c;return a&&(c="undefined"==typeof b?sa(a):Cb(a,b),c&&(Lb=c)),Lb._abbr}function Cb(a,b){return null!==b?(b.abbr=a,aa[a]=aa[a]||new y,aa[a].set(b),Da(a),aa[a]):(delete aa[a],null)}function sa(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return Lb;if(!q(a)){if(b=Bb(a))return b;a=[a]}a:{for(var c,d,e,f=0;f<a.length;){e=W(a[f]).split("-");b=e.length;for(c=(c=W(a[f+1]))?c.split("-"):null;0<b;){if(d=Bb(e.slice(0,b).join("-"))){a=
d;break a}if(c&&c.length>=b&&K(e,c,!0)>=b-1)break;b--}f++}a=null}return a}function Y(a,b){var c=a.toLowerCase();fb[c]=fb[c+"s"]=fb[b]=a}function ga(a){return"string"==typeof a?fb[a]||fb[a.toLowerCase()]:void 0}function Za(a){var b,c,d={};for(c in a)m(a,c)&&(b=ga(c),b&&(d[b]=a[c]));return d}function S(b,c){return function(d){return null!=d?(this._d["set"+(this._isUTC?"UTC":"")+b](d),a.updateOffset(this,c),this):za(this,b)}}function za(a,b){return a._d["get"+(a._isUTC?"UTC":"")+b]()}function V(a,b){var c;
if("object"==typeof a)for(c in a)this.set(c,a[c]);else if(a=ga(a),"function"==typeof this[a])return this[a](b);return this}function P(a,b,c){var d=""+Math.abs(a);return(0<=a?c?"+":"":"-")+Math.pow(10,Math.max(0,b-d.length)).toString().substr(1)+d}function H(a,b,c,d){var e=d;"string"==typeof d&&(e=function(){return this[d]()});a&&(gb[a]=e);b&&(gb[b[0]]=function(){return P(e.apply(this,arguments),b[1],b[2])});c&&(gb[c]=function(){return this.localeData().ordinal(e.apply(this,arguments),a)})}function Qb(a){return a.match(/\[[\s\S]/)?
a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function ca(a){var b,c,d=a.match(rc);b=0;for(c=d.length;c>b;b++)gb[d[b]]?d[b]=gb[d[b]]:d[b]=Qb(d[b]);return function(e){var f="";for(b=0;c>b;b++)f+=d[b]instanceof Function?d[b].call(e,a):d[b];return f}}function ib(a,b){return a.isValid()?(b=jb(b,a.localeData()),Nb[b]=Nb[b]||ca(b),Nb[b](a)):a.localeData().invalidDate()}function jb(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(Sb.lastIndex=0;0<=d&&Sb.test(a);)a=a.replace(Sb,c),Sb.lastIndex=
0,d-=1;return a}function D(a,b,c){tc[a]="function"==typeof b&&"[object Function]"===Object.prototype.toString.call(b)?b:function(a){return a&&c?c:b}}function t(a,b){return m(tc,a)?tc[a](b._strict,b._locale):new RegExp(Z(a))}function Z(a){return a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$\x26")}function s(a,b){var c,d=b;"string"==typeof a&&(a=[a]);"number"==typeof b&&(d=function(a,c){c[b]=z(a)});for(c=
0;c<a.length;c++)gc[a[c]]=d}function x(a,b){s(a,function(a,c,d,e){d._w=d._w||{};b(a,d._w,d,e)})}function k(a,b){return(new Date(Date.UTC(a,b+1,0))).getUTCDate()}function M(a,b){var c;return"string"==typeof b&&(b=a.localeData().monthsParse(b),"number"!=typeof b)?a:(c=Math.min(a.date(),k(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a)}function v(b){return null!=b?(M(this,b),a.updateOffset(this,!0),this):za(this,"Month")}function da(a){var c,d=a._a;return d&&-2===b(a).overflow&&(c=0>d[Qa]||
11<d[Qa]?Qa:1>d[Ra]||d[Ra]>k(d[La],d[Qa])?Ra:0>d[ja]||24<d[ja]||24===d[ja]&&(0!==d[sb]||0!==d[Sa]||0!==d[Ta])?ja:0>d[sb]||59<d[sb]?sb:0>d[Sa]||59<d[Sa]?Sa:0>d[Ta]||999<d[Ta]?Ta:-1,b(a)._overflowDayOfYear&&(La>c||c>Ra)&&(c=Ra),b(a).overflow=c),a}function C(b){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+b)}function G(a,b){var c=!0;return e(function(){return c&&(C(a+"\n"+Error().stack),c=!1),b.apply(this,arguments)},b)}function oa(a){var c,
d,e=a._i,f=ic.exec(e);if(f){b(a).iso=!0;c=0;for(d=Xb.length;d>c;c++)if(Xb[c][1].exec(e)){a._f=Xb[c][0];break}c=0;for(d=Yb.length;d>c;c++)if(Yb[c][1].exec(e)){a._f+=(f[6]||" ")+Yb[c][0];break}e.match(ub)&&(a._f+="Z");Gb(a)}else a._isValid=!1}function T(b){var c=zc.exec(b._i);return null!==c?void(b._d=new Date(+c[1])):(oa(b),void(!1===b._isValid&&(delete b._isValid,a.createFromInputFallback(b))))}function ya(a,b,c,d,e,f,g){b=new Date(a,b,c,d,e,f,g);return 1970>a&&b.setFullYear(a),b}function Va(a){var b=
new Date(Date.UTC.apply(null,arguments));return 1970>a&&b.setUTCFullYear(a),b}function ra(a){return 0===a%4&&0!==a%100||0===a%400}function ta(a,b,c){var d;b=c-b;c-=a.day();return c>b&&(c-=7),b-7>c&&(c+=7),d=O(a).add(c,"d"),{week:Math.ceil(d.dayOfYear()/7),year:d.year()}}function u(a,b,c){return null!=a?a:null!=b?b:c}function f(a){var c,d,e,f=[];if(!a._d){d=new Date;d=a._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()];if(a._w&&null==a._a[Ra]&&null==
a._a[Qa]){var g,h,k,l,m,n;g=a._w;null!=g.GG||null!=g.W||null!=g.E?(m=1,n=4,h=u(g.GG,a._a[La],ta(O(),1,4).year),k=u(g.W,1),l=u(g.E,1)):(m=a._locale._week.dow,n=a._locale._week.doy,h=u(g.gg,a._a[La],ta(O(),m,n).year),k=u(g.w,1),null!=g.d?(l=g.d,m>l&&++k):l=null!=g.e?g.e+m:m);var p;g=6+m-n;n=Va(h,0,1+g).getUTCDay();m=(m>n&&(n+=7),l=null!=l?1*l:m,p=1+g+7*(k-1)-n+l,{year:0<p?h:h-1,dayOfYear:0<p?p:(ra(h-1)?366:365)+p});a._a[La]=m.year;a._dayOfYear=m.dayOfYear}a._dayOfYear&&(e=u(a._a[La],d[La]),a._dayOfYear>
(ra(e)?366:365)&&(b(a)._overflowDayOfYear=!0),c=Va(e,0,a._dayOfYear),a._a[Qa]=c.getUTCMonth(),a._a[Ra]=c.getUTCDate());for(c=0;3>c&&null==a._a[c];++c)a._a[c]=f[c]=d[c];for(;7>c;c++)a._a[c]=f[c]=null==a._a[c]?2===c?1:0:a._a[c];24===a._a[ja]&&0===a._a[sb]&&0===a._a[Sa]&&0===a._a[Ta]&&(a._nextDay=!0,a._a[ja]=0);a._d=(a._useUTC?Va:ya).apply(null,f);null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm);a._nextDay&&(a._a[ja]=24)}}function Gb(c){if(c._f===a.ISO_8601)return void oa(c);c._a=[];b(c).empty=
!0;var d,e,g,h,k,l=""+c._i,n=l.length,p=0;g=jb(c._f,c._locale).match(rc)||[];for(d=0;d<g.length;d++)if(h=g[d],(e=(l.match(t(h,c))||[])[0])&&(k=l.substr(0,l.indexOf(e)),0<k.length&&b(c).unusedInput.push(k),l=l.slice(l.indexOf(e)+e.length),p+=e.length),gb[h]){e?b(c).empty=!1:b(c).unusedTokens.push(h);var r=c;null!=e&&m(gc,h)&&gc[h](e,r._a,r,h)}else c._strict&&!e&&b(c).unusedTokens.push(h);b(c).charsLeftOver=n-p;0<l.length&&b(c).unusedInput.push(l);!0===b(c).bigHour&&12>=c._a[ja]&&0<c._a[ja]&&(b(c).bigHour=
void 0);d=c._a;g=ja;l=c._locale;k=c._a[ja];var n=c._meridiem,s,l=null==n?k:null!=l.meridiemHour?l.meridiemHour(k,n):null!=l.isPM?(s=l.isPM(n),s&&12>k&&(k+=12),s||12!==k||(k=0),k):k;d[g]=l;f(c);da(c)}function ha(a){if(!a._d){var b=Za(a._i);a._a=[b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond];f(a)}}function Ha(a){var c=a._i,d=a._f;a._locale=a._locale||sa(a._l);if(null===c||void 0===d&&""===c)a=J({nullInput:!0});else if("string"==typeof c&&(a._i=c=a._locale.preparse(c)),n(c))a=
new I(da(c));else if(q(d)){var f,g,h;if(0===a._f.length)b(a).invalidFormat=!0,a._d=new Date(NaN);else{for(c=0;c<a._f.length;c++)d=0,f=w({},a),null!=a._useUTC&&(f._useUTC=a._useUTC),f._f=a._f[c],Gb(f),l(f)&&(d+=b(f).charsLeftOver,d+=10*b(f).unusedTokens.length,b(f).score=d,(null==h||h>d)&&(h=d,g=f));e(a,g||f)}}else d?Gb(a):p(c)?a._d=c:kb(a);return a}function kb(b){var c=b._i;void 0===c?b._d=new Date:p(c)?b._d=new Date(+c):"string"==typeof c?T(b):q(c)?(b._a=h(c.slice(0),function(a){return parseInt(a,
10)}),f(b)):"object"==typeof c?ha(b):"number"==typeof c?b._d=new Date(c):a.createFromInputFallback(b)}function ua(a,b,c,d,e){var f={};"boolean"==typeof c&&(d=c,c=void 0);f._isAMomentObject=!0;f._useUTC=f._isUTC=e;f._l=c;f._i=a;f._f=b;f._strict=d;a=new I(da(Ha(f)));return a._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function O(a,b,c,d){return ua(a,b,c,d,!1)}function Zb(a,b){var c,d;if(1===b.length&&q(b[0])&&(b=b[0]),!b.length)return O();c=b[0];for(d=1;d<b.length;++d)b[d].isValid()&&!b[d][a](c)||
(c=b[d]);return c}function Pb(a){a=Za(a);var b=a.year||0,c=a.quarter||0,d=a.month||0,e=a.week||0,f=a.day||0;this._milliseconds=+(a.millisecond||0)+1E3*(a.second||0)+6E4*(a.minute||0)+36E5*(a.hour||0);this._days=+f+7*e;this._months=+d+3*c+12*b;this._data={};this._locale=sa();this._bubble()}function Xa(a){return a instanceof Pb}function E(a,b){H(a,0,0,function(){var a=this.utcOffset(),c="+";return 0>a&&(a=-a,c="-"),c+P(~~(a/60),2)+b+P(~~a%60,2)})}function $b(a){a=(a||"").match(ub)||[];a=((a[a.length-
1]||[])+"").match(r)||["-",0,0];var b=+(60*a[1])+z(a[2]);return"+"===a[0]?b:-b}function ac(b,c){var d,e;return c._isUTC?(d=c.clone(),e=(n(b)||p(b)?+b:+O(b))-+d,d._d.setTime(+d._d+e),a.updateOffset(d,!1),d):O(b).local()}function bc(a){return 15*-Math.round(a._d.getTimezoneOffset()/15)}function xa(){return this._isUTC&&0===this._offset}function Ca(a,b){var c,d,e,f=a;e=null;Xa(a)?f={ms:a._milliseconds,d:a._days,M:a._months}:"number"==typeof a?(f={},b?f[b]=a:f.milliseconds=a):(e=L.exec(a))?(c="-"===e[1]?
-1:1,f={y:0,d:z(e[Ra])*c,h:z(e[ja])*c,m:z(e[sb])*c,s:z(e[Sa])*c,ms:z(e[Ta])*c}):(e=R.exec(a))?(c="-"===e[1]?-1:1,f={y:va(e[2],c),M:va(e[3],c),d:va(e[4],c),h:va(e[5],c),m:va(e[6],c),s:va(e[7],c),w:va(e[8],c)}):null==f?f={}:"object"==typeof f&&("from"in f||"to"in f)&&(e=O(f.from),f=O(f.to),e=(f=ac(f,e),e.isBefore(f)?c=mc(e,f):(c=mc(f,e),c.milliseconds=-c.milliseconds,c.months=-c.months),c),f={},f.ms=e.milliseconds,f.M=e.months);return d=new Pb(f),Xa(a)&&m(a,"_locale")&&(d._locale=a._locale),d}function va(a,
b){var c=a&&parseFloat(a.replace(",","."));return(isNaN(c)?0:c)*b}function mc(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function kc(a,b){return function(c,d){var e,f;null===d||isNaN(+d)||(hc[b]||(C("moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period)."),hc[b]=!0),f=c,c=d,d=f);return c="string"==typeof c?+c:c,e=
Ca(c,d),jc(this,e,a),this}}function jc(b,c,d,e){var f=c._milliseconds,g=c._days;c=c._months;e=null==e?!0:e;f&&b._d.setTime(+b._d+f*d);g&&(f=za(b,"Date")+g*d,b._d["set"+(b._isUTC?"UTC":"")+"Date"](f));c&&M(b,za(b,"Month")+c*d);e&&a.updateOffset(b,g||c)}function Ya(){var a=this.clone().utc();return 0<a.year()&&9999>=a.year()?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():ib(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):ib(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function Ea(a){var b;return void 0===
a?this._locale._abbr:(b=sa(a),null!=b&&(this._locale=b),this)}function Ua(){return this._locale}function ia(a,b){H(0,[a,a.length],0,b)}function na(a,b,c){return ta(O([a,11,31+b-c]),b,c).week}function $(a,b){H(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)})}function la(a,b){return b._meridiemParse}function Hb(a,b){b[Ta]=z(1E3*("0."+a))}function Ba(a){return a}function cc(a,b,c,e){var f=sa();b=d().set(e,b);return f[c](b,a)}function tb(a,b,c,d,e){if("number"==typeof a&&
(b=a,a=void 0),a=a||"",null!=b)return cc(a,b,c,e);var f=[];for(b=0;d>b;b++)f[b]=cc(a,b,c,e);return f}function nc(a,b,c,d){b=Ca(b,c);return a._milliseconds+=d*b._milliseconds,a._days+=d*b._days,a._months+=d*b._months,a._bubble()}function dc(a){return 0>a?Math.floor(a):Math.ceil(a)}function Ma(a){return function(){return this.as(a)}}function ab(a){return function(){return this._data[a]}}function oc(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function Ib(){var a,b,c,d=wc(this._milliseconds)/1E3,e=
wc(this._days),f=wc(this._months);a=F(d/60);b=F(a/60);d%=60;a%=60;c=F(f/12);var f=f%12,g=this.asSeconds();return g?(0>g?"-":"")+"P"+(c?c+"Y":"")+(f?f+"M":"")+(e?e+"D":"")+(b||a||d?"T":"")+(b?b+"H":"")+(a?a+"M":"")+(d?d+"S":""):"P0D"}function pb(a,b,c){var d={mm:b?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:b?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};"m"===c?a=b?"хвіліна":"хвіліну":"h"===c?a=b?"гадзіна":"гадзіну":(b=
+a,c=d[c].split("_"),a=a+" "+(1===b%10&&11!==b%100?c[0]:2<=b%10&&4>=b%10&&(10>b%100||20<=b%100)?c[1]:c[2]));return a}function ec(a,b,c){b={mm:"munutenn",MM:"miz",dd:"devezh"}[c];2===a&&(c={m:"v",b:"v",d:"z"},b=void 0===c[b.charAt(0)]?b:c[b.charAt(0)]+b.substring(1));return a+" "+b}function pc(a){return 9<a?pc(a%10):a}function bb(a,b,c){var d=a+" ";switch(c){case "m":return b?"jedna minuta":"jedne minute";case "mm":return d+(1===a?"minuta":2===a||3===a||4===a?"minute":"minuta");case "h":return b?"jedan sat":
"jednog sata";case "hh":return d+(1===a?"sat":2===a||3===a||4===a?"sata":"sati");case "dd":return d+(1===a?"dan":"dana");case "MM":return d+(1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci");case "yy":return d+(1===a?"godina":2===a||3===a||4===a?"godine":"godina")}}function Db(a){return 1<a&&5>a&&1!==~~(a/10)}function Ia(a,b,c,d){var e=a+" ";switch(c){case "s":return b||d?"pár sekund":"pár sekundami";case "m":return b?"minuta":d?"minutu":"minutou";case "mm":return b||d?e+(Db(a)?"minuty":"minut"):
e+"minutami";case "h":return b?"hodina":d?"hodinu":"hodinou";case "hh":return b||d?e+(Db(a)?"hodiny":"hodin"):e+"hodinami";case "d":return b||d?"den":"dnem";case "dd":return b||d?e+(Db(a)?"dny":"dní"):e+"dny";case "M":return b||d?"měsíc":"měsícem";case "MM":return b||d?e+(Db(a)?"měsíce":"měsíců"):e+"měsíci";case "y":return b||d?"rok":"rokem";case "yy":return b||d?e+(Db(a)?"roky":"let"):e+"lety"}}function fa(a,b,c,d){a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag",
"einem Tag"],dd:[a+" Tage",a+" Tagen"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return b?a[c][0]:a[c][1]}function Na(a,b,c,d){a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return b?a[c][0]:a[c][1]}function pa(a,b,c,d){a={s:["mõne sekundi",
"mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[a+" minuti",a+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[a+" tunni",a+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[a+" kuu",a+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[a+" aasta",a+" aastat"]};return b?a[c][2]?a[c][2]:a[c][1]:d?a[c][0]:a[c][1]}function ba(a,b,c,d){b="";switch(c){case "s":return d?"muutaman sekunnin":"muutama sekunti";case "m":return d?"minuutin":"minuutti";case "mm":b=
d?"minuutin":"minuuttia";break;case "h":return d?"tunnin":"tunti";case "hh":b=d?"tunnin":"tuntia";break;case "d":return d?"päivän":"päivä";case "dd":b=d?"päivän":"päivää";break;case "M":return d?"kuukauden":"kuukausi";case "MM":b=d?"kuukauden":"kuukautta";break;case "y":return d?"vuoden":"vuosi";case "yy":b=d?"vuoden":"vuotta"}return(10>a?d?xd[a]:lc[a]:a)+" "+b}function cb(a,b,c){var d=a+" ";switch(c){case "m":return b?"jedna minuta":"jedne minute";case "mm":return d+(1===a?"minuta":2===a||3===a||
4===a?"minute":"minuta");case "h":return b?"jedan sat":"jednog sata";case "hh":return d+(1===a?"sat":2===a||3===a||4===a?"sata":"sati");case "dd":return d+(1===a?"dan":"dana");case "MM":return d+(1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci");case "yy":return d+(1===a?"godina":2===a||3===a||4===a?"godine":"godina")}}function ka(a,b,c,d){switch(c){case "s":return d||b?"néhány másodperc":"néhány másodperce";case "m":return"egy"+(d||b?" perc":" perce");case "mm":return a+(d||b?" perc":" perce");
case "h":return"egy"+(d||b?" óra":" órája");case "hh":return a+(d||b?" óra":" órája");case "d":return"egy"+(d||b?" nap":" napja");case "dd":return a+(d||b?" nap":" napja");case "M":return"egy"+(d||b?" hónap":" hónapja");case "MM":return a+(d||b?" hónap":" hónapja");case "y":return"egy"+(d||b?" év":" éve");case "yy":return a+(d||b?" év":" éve")}return""}function Fa(a){return 11===a%100?!0:1===a%10?!1:!0}function ma(a,b,c,d){var e=a+" ";switch(c){case "s":return b||d?"nokkrar sekúndur":"nokkrum sekúndum";
case "m":return b?"mínúta":"mínútu";case "mm":return Fa(a)?e+(b||d?"mínútur":"mínútum"):b?e+"mínúta":e+"mínútu";case "hh":return Fa(a)?e+(b||d?"klukkustundir":"klukkustundum"):e+"klukkustund";case "d":return b?"dagur":d?"dag":"degi";case "dd":return Fa(a)?b?e+"dagar":e+(d?"daga":"dögum"):b?e+"dagur":e+(d?"dag":"degi");case "M":return b?"mánuður":d?"mánuð":"mánuði";case "MM":return Fa(a)?b?e+"mánuðir":e+(d?"mánuði":"mánuðum"):b?e+"mánuður":e+(d?"mánuð":"mánuði");case "y":return b||d?"ár":"ári";case "yy":return Fa(a)?
e+(b||d?"ár":"árum"):e+(b||d?"ár":"ári")}}function Jb(a,b,c,d){a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return b?a[c][0]:a[c][1]}function qb(a){if(a=parseInt(a,10),isNaN(a))return!1;if(0>a)return!0;if(10>a)return 4<=a&&7>=a?!0:!1;if(100>a){var b=a%10;return qb(0===b?a/10:b)}if(1E4>a){for(;10<=a;)a/=10;return qb(a)}return a/=1E3,qb(a)}function wb(a,b,c,d){return b?db(c)[0]:d?db(c)[1]:db(c)[2]}
function db(a){return Bd[a].split("_")}function Fb(a,b,c,d){var e=a+" ";return 1===a?e+wb(a,b,c[0],d):b?e+(0===a%10||10<a&&20>a?db(c)[1]:db(c)[0]):d?e+db(c)[1]:e+(0===a%10||10<a&&20>a?db(c)[1]:db(c)[2])}function qc(a,b,c){return c?1===b%10&&11!==b?a[2]:a[3]:1===b%10&&11!==b?a[0]:a[1]}function Kb(a,b,c){return a+" "+qc(Mc[c],a,b)}function xb(a,b,c){return qc(Mc[c],a,b)}function Eb(a){return 5>a%10&&1<a%10&&1!==~~(a/10)%10}function Ga(a,b,c){var d=a+" ";switch(c){case "m":return b?"minuta":"minutę";
case "mm":return d+(Eb(a)?"minuty":"minut");case "h":return b?"godzina":"godzinę";case "hh":return d+(Eb(a)?"godziny":"godzin");case "MM":return d+(Eb(a)?"miesiące":"miesięcy");case "yy":return d+(Eb(a)?"lata":"lat")}}function eb(a,b,c){b=" ";return(20<=a%100||100<=a&&0===a%100)&&(b=" de "),a+b+{mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[c]}function yb(a,b,c){var d={mm:b?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};
"m"===c?a=b?"минута":"минуту":(b=+a,c=d[c].split("_"),a=a+" "+(1===b%10&&11!==b%100?c[0]:2<=b%10&&4>=b%10&&(10>b%100||20<=b%100)?c[1]:c[2]));return a}function wa(a,b,c,d){var e=a+" ";switch(c){case "s":return b||d?"pár sekúnd":"pár sekundami";case "m":return b?"minúta":d?"minútu":"minútou";case "mm":return b||d?e+(1<a&&5>a?"minúty":"minút"):e+"minútami";case "h":return b?"hodina":d?"hodinu":"hodinou";case "hh":return b||d?e+(1<a&&5>a?"hodiny":"hodín"):e+"hodinami";case "d":return b||d?"deň":"dňom";
case "dd":return b||d?e+(1<a&&5>a?"dni":"dní"):e+"dňami";case "M":return b||d?"mesiac":"mesiacom";case "MM":return b||d?e+(1<a&&5>a?"mesiace":"mesiacov"):e+"mesiacmi";case "y":return b||d?"rok":"rokom";case "yy":return b||d?e+(1<a&&5>a?"roky":"rokov"):e+"rokmi"}}function Ja(a,b,c,d){var e=a+" ";switch(c){case "s":return b||d?"nekaj sekund":"nekaj sekundami";case "m":return b?"ena minuta":"eno minuto";case "mm":return e+(1===a?b?"minuta":"minuto":2===a?b||d?"minuti":"minutama":5>a?b||d?"minute":"minutami":
b||d?"minut":"minutami");case "h":return b?"ena ura":"eno uro";case "hh":return e+(1===a?b?"ura":"uro":2===a?b||d?"uri":"urama":5>a?b||d?"ure":"urami":b||d?"ur":"urami");case "d":return b||d?"en dan":"enim dnem";case "dd":return e+(1===a?b||d?"dan":"dnem":2===a?b||d?"dni":"dnevoma":b||d?"dni":"dnevi");case "M":return b||d?"en mesec":"enim mesecem";case "MM":return e+(1===a?b||d?"mesec":"mesecem":2===a?b||d?"meseca":"mesecema":5>a?b||d?"mesece":"meseci":b||d?"mesecev":"meseci");case "y":return b||
d?"eno leto":"enim letom";case "yy":return e+(1===a?b||d?"leto":"letom":2===a?b||d?"leti":"letoma":5>a?b||d?"leta":"leti":b||d?"let":"leti")}}function qa(a,b,c,d){a={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[a+" míuts"," "+a+" míuts"],h:["'n þora","'iensa þora"],hh:[a+" þoras"," "+a+" þoras"],d:["'n ziua","'iensa ziua"],dd:[a+" ziuas"," "+a+" ziuas"],M:["'n mes","'iens mes"],MM:[a+" mesen"," "+a+" mesen"],y:["'n ar","'iens ar"],yy:[a+" ars"," "+a+" ars"]};return d?a[c][0]:
b?a[c][0]:a[c][1].trim()}function Ka(a,b,c){var d={mm:"хвилина_хвилини_хвилин",hh:"година_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};"m"===c?a=b?"хвилина":"хвилину":"h"===c?a=b?"година":"годину":(b=+a,c=d[c].split("_"),a=a+" "+(1===b%10&&11!==b%100?c[0]:2<=b%10&&4>=b%10&&(10>b%100||20<=b%100)?c[1]:c[2]));return a}function zb(a){return function(){return a+"о"+(11===this.hours()?"б":"")+"] LT"}}var rb,Lb,Oa=a.momentProperties=[],Mb=!1,aa={},fb={},rc=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
Sb=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Nb={},gb={},Tb=/\d/,Aa=/\d\d/,hb=/\d{3}/,Pa=/\d{4}/,Ub=/[+-]?\d{6}/,X=/\d\d?/,Vb=/\d{1,3}/,fc=/\d{1,4}/,Wb=/[+-]?\d{1,6}/,sc=/\d+/,Ob=/[+-]?\d+/,ub=/Z|[+-]\d\d:?\d\d/gi,Ab=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,tc={},gc={},La=0,Qa=1,Ra=2,ja=3,sb=4,Sa=5,Ta=6;H("M",["MM",2],"Mo",function(){return this.month()+1});H("MMM",0,0,function(a){return this.localeData().monthsShort(this,
a)});H("MMMM",0,0,function(a){return this.localeData().months(this,a)});Y("month","M");D("M",X);D("MM",X,Aa);D("MMM",Ab);D("MMMM",Ab);s(["M","MM"],function(a,b){b[Qa]=z(a)-1});s(["MMM","MMMM"],function(a,c,d,e){e=d._locale.monthsParse(a,e,d._strict);null!=e?c[Qa]=e:b(d).invalidMonth=a});var hc={};a.suppressDeprecationWarnings=!1;var ic=/^\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)?)?$/,Xb=[["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}/]],Yb=[["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/]],zc=/^\/?Date\((\-?\d+)/i;a.createFromInputFallback=G("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(a){a._d=
new Date(a._i+(a._useUTC?" UTC":""))});H(0,["YY",2],0,function(){return this.year()%100});H(0,["YYYY",4],0,"year");H(0,["YYYYY",5],0,"year");H(0,["YYYYYY",6,!0],0,"year");Y("year","y");D("Y",Ob);D("YY",X,Aa);D("YYYY",fc,Pa);D("YYYYY",Wb,Ub);D("YYYYYY",Wb,Ub);s(["YYYYY","YYYYYY"],La);s("YYYY",function(b,c){c[La]=2===b.length?a.parseTwoDigitYear(b):z(b)});s("YY",function(b,c){c[La]=a.parseTwoDigitYear(b)});a.parseTwoDigitYear=function(a){return z(a)+(68<z(a)?1900:2E3)};var uc=S("FullYear",!1);H("w",
["ww",2],"wo","week");H("W",["WW",2],"Wo","isoWeek");Y("week","w");Y("isoWeek","W");D("w",X);D("ww",X,Aa);D("W",X);D("WW",X,Aa);x(["w","ww","W","WW"],function(a,b,c,d){b[d.substr(0,1)]=z(a)});H("DDD",["DDDD",3],"DDDo","dayOfYear");Y("dayOfYear","DDD");D("DDD",Vb);D("DDDD",hb);s(["DDD","DDDD"],function(a,b,c){c._dayOfYear=z(a)});a.ISO_8601=function(){};var c=G("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var a=O.apply(null,arguments);
return this>a?this:a}),g=G("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var a=O.apply(null,arguments);return a>this?this:a});E("Z",":");E("ZZ","");D("Z",ub);D("ZZ",ub);s(["Z","ZZ"],function(a,b,c){c._useUTC=!0;c._tzm=$b(a)});var r=/([\+\-]|\d\d)/gi;a.updateOffset=function(){};var L=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,R=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;
Ca.fn=Pb.prototype;var Nc=kc(1,"add"),Oc=kc(-1,"subtract");a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Ac=G("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(a){return void 0===a?this.localeData():this.locale(a)});H(0,["gg",2],0,function(){return this.weekYear()%100});H(0,["GG",2],0,function(){return this.isoWeekYear()%100});ia("gggg","weekYear");ia("ggggg","weekYear");ia("GGGG","isoWeekYear");
ia("GGGGG","isoWeekYear");Y("weekYear","gg");Y("isoWeekYear","GG");D("G",Ob);D("g",Ob);D("GG",X,Aa);D("gg",X,Aa);D("GGGG",fc,Pa);D("gggg",fc,Pa);D("GGGGG",Wb,Ub);D("ggggg",Wb,Ub);x(["gggg","ggggg","GGGG","GGGGG"],function(a,b,c,d){b[d.substr(0,2)]=z(a)});x(["gg","GG"],function(b,c,d,e){c[e]=a.parseTwoDigitYear(b)});H("Q",0,0,"quarter");Y("quarter","Q");D("Q",Tb);s("Q",function(a,b){b[Qa]=3*(z(a)-1)});H("D",["DD",2],"Do","date");Y("date","D");D("D",X);D("DD",X,Aa);D("Do",function(a,b){return a?b._ordinalParse:
b._ordinalParseLenient});s(["D","DD"],Ra);s("Do",function(a,b){b[Ra]=z(a.match(X)[0],10)});var Bc=S("Date",!0);H("d",0,"do","day");H("dd",0,0,function(a){return this.localeData().weekdaysMin(this,a)});H("ddd",0,0,function(a){return this.localeData().weekdaysShort(this,a)});H("dddd",0,0,function(a){return this.localeData().weekdays(this,a)});H("e",0,0,"weekday");H("E",0,0,"isoWeekday");Y("day","d");Y("weekday","e");Y("isoWeekday","E");D("d",X);D("e",X);D("E",X);D("dd",Ab);D("ddd",Ab);D("dddd",Ab);
x(["dd","ddd","dddd"],function(a,c,d){var e=d._locale.weekdaysParse(a);null!=e?c.d=e:b(d).invalidWeekday=a});x(["d","e","E"],function(a,b,c,d){b[d]=z(a)});H("H",["HH",2],0,"hour");H("h",["hh",2],0,function(){return this.hours()%12||12});$("a",!0);$("A",!1);Y("hour","h");D("a",la);D("A",la);D("H",X);D("h",X);D("HH",X,Aa);D("hh",X,Aa);s(["H","HH"],ja);s(["a","A"],function(a,b,c){c._isPm=c._locale.isPM(a);c._meridiem=a});s(["h","hh"],function(a,c,d){c[ja]=z(a);b(d).bigHour=!0});var Pc=S("Hours",!0);
H("m",["mm",2],0,"minute");Y("minute","m");D("m",X);D("mm",X,Aa);s(["m","mm"],sb);var Qc=S("Minutes",!1);H("s",["ss",2],0,"second");Y("second","s");D("s",X);D("ss",X,Aa);s(["s","ss"],Sa);var Rc=S("Seconds",!1);H("S",0,0,function(){return~~(this.millisecond()/100)});H(0,["SS",2],0,function(){return~~(this.millisecond()/10)});H(0,["SSS",3],0,"millisecond");H(0,["SSSS",4],0,function(){return 10*this.millisecond()});H(0,["SSSSS",5],0,function(){return 100*this.millisecond()});H(0,["SSSSSS",6],0,function(){return 1E3*
this.millisecond()});H(0,["SSSSSSS",7],0,function(){return 1E4*this.millisecond()});H(0,["SSSSSSSS",8],0,function(){return 1E5*this.millisecond()});H(0,["SSSSSSSSS",9],0,function(){return 1E6*this.millisecond()});Y("millisecond","ms");D("S",Vb,Tb);D("SS",Vb,Aa);D("SSS",Vb,hb);var $a;for($a="SSSS";9>=$a.length;$a+="S")D($a,sc);for($a="S";9>=$a.length;$a+="S")s($a,Hb);var xc=S("Milliseconds",!1);H("z",0,0,"zoneAbbr");H("zz",0,0,"zoneName");var A=I.prototype;A.add=Nc;A.calendar=function(a,b){var c=a||
O(),d=ac(c,this).startOf("day"),d=this.diff(d,"days",!0),d=-6>d?"sameElse":-1>d?"lastWeek":0>d?"lastDay":1>d?"sameDay":2>d?"nextDay":7>d?"nextWeek":"sameElse";return this.format(b&&b[d]||this.localeData().calendar(d,this,O(c)))};A.clone=function(){return new I(this)};A.diff=function(a,b,c){var d;a=ac(a,this);var e=6E4*(a.utcOffset()-this.utcOffset());b=ga(b);if("year"===b||"month"===b||"quarter"===b){var f,e=12*(a.year()-this.year())+(a.month()-this.month()),g=this.clone().add(e,"months");a=(0>a-
g?(d=this.clone().add(e-1,"months"),f=(a-g)/(g-d)):(d=this.clone().add(e+1,"months"),f=(a-g)/(d-g)),-(e+f));"quarter"===b?a/=3:"year"===b&&(a/=12)}else d=this-a,a="second"===b?d/1E3:"minute"===b?d/6E4:"hour"===b?d/36E5:"day"===b?(d-e)/864E5:"week"===b?(d-e)/6048E5:d;return c?a:F(a)};A.endOf=function(a){return a=ga(a),void 0===a||"millisecond"===a?this:this.startOf(a).add(1,"isoWeek"===a?"week":a).subtract(1,"ms")};A.format=function(b){b=ib(this,b||a.defaultFormat);return this.localeData().postformat(b)};
A.from=function(a,b){return this.isValid()?Ca({to:this,from:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()};A.fromNow=function(a){return this.from(O(),a)};A.to=function(a,b){return this.isValid()?Ca({from:this,to:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()};A.toNow=function(a){return this.to(O(),a)};A.get=V;A.invalidAt=function(){return b(this).overflow};A.isAfter=function(a,b){var c;return b=ga("undefined"!=typeof b?b:"millisecond"),"millisecond"===
b?(a=n(a)?a:O(a),+this>+a):(c=n(a)?+a:+O(a),c<+this.clone().startOf(b))};A.isBefore=function(a,b){var c;return b=ga("undefined"!=typeof b?b:"millisecond"),"millisecond"===b?(a=n(a)?a:O(a),+a>+this):(c=n(a)?+a:+O(a),+this.clone().endOf(b)<c)};A.isBetween=function(a,b,c){return this.isAfter(a,c)&&this.isBefore(b,c)};A.isSame=function(a,b){var c;return b=ga(b||"millisecond"),"millisecond"===b?(a=n(a)?a:O(a),+this===+a):(c=+O(a),+this.clone().startOf(b)<=c&&c<=+this.clone().endOf(b))};A.isValid=function(){return l(this)};
A.lang=Ac;A.locale=Ea;A.localeData=Ua;A.max=g;A.min=c;A.parsingFlags=function(){return e({},b(this))};A.set=V;A.startOf=function(a){switch(a=ga(a)){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"===a&&this.weekday(0),"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this};A.subtract=
Oc;A.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]};A.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}};A.toDate=function(){return this._offset?new Date(+this):this._d};A.toISOString=Ya;A.toJSON=Ya;A.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")};
A.unix=function(){return Math.floor(+this/1E3)};A.valueOf=function(){return+this._d-6E4*(this._offset||0)};A.year=uc;A.isLeapYear=function(){return ra(this.year())};A.weekYear=function(a){var b=ta(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==a?b:this.add(a-b,"y")};A.isoWeekYear=function(a){var b=ta(this,1,4).year;return null==a?b:this.add(a-b,"y")};A.quarter=A.quarters=function(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)};A.month=
v;A.daysInMonth=function(){return k(this.year(),this.month())};A.week=A.weeks=function(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")};A.isoWeek=A.isoWeeks=function(a){var b=ta(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")};A.weeksInYear=function(){var a=this.localeData()._week;return na(this.year(),a.dow,a.doy)};A.isoWeeksInYear=function(){return na(this.year(),1,4)};A.date=Bc;A.day=A.days=function(a){var b=this._isUTC?this._d.getUTCDay():this._d.getDay();if(null!=
a)var c=a,d=this.localeData(),b=(a="string"!=typeof c?c:isNaN(c)?(c=d.weekdaysParse(c),"number"==typeof c?c:null):parseInt(c,10),this.add(a-b,"d"));return b};A.weekday=function(a){var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")};A.isoWeekday=function(a){return null==a?this.day()||7:this.day(this.day()%7?a:a-7)};A.dayOfYear=function(a){var b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864E5)+1;return null==a?b:this.add(a-b,"d")};A.hour=
A.hours=Pc;A.minute=A.minutes=Qc;A.second=A.seconds=Rc;A.millisecond=A.milliseconds=xc;A.utcOffset=function(b,c){var d,e=this._offset||0;return null!=b?("string"==typeof b&&(b=$b(b)),16>Math.abs(b)&&(b*=60),!this._isUTC&&c&&(d=bc(this)),this._offset=b,this._isUTC=!0,null!=d&&this.add(d,"m"),e!==b&&(!c||this._changeInProgress?jc(this,Ca(b-e,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?e:bc(this)};A.utc=function(a){return this.utcOffset(0,
a)};A.local=function(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(bc(this),"m")),this};A.parseZone=function(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset($b(this._i)),this};A.hasAlignedHourOffset=function(a){return a=a?O(a).utcOffset():0,0===(this.utcOffset()-a)%60};A.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()};A.isDSTShifted=function(){if("undefined"!=
typeof this._isDSTShifted)return this._isDSTShifted;var a={};if(w(a,this),a=Ha(a),a._a){var b=a._isUTC?d(a._a):O(a._a);this._isDSTShifted=this.isValid()&&0<K(a._a,b.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted};A.isLocal=function(){return!this._isUTC};A.isUtcOffset=function(){return this._isUTC};A.isUtc=xa;A.isUTC=xa;A.zoneAbbr=function(){return this._isUTC?"UTC":""};A.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""};A.dates=G("dates accessor is deprecated. Use date instead.",
Bc);A.months=G("months accessor is deprecated. Use month instead",v);A.years=G("years accessor is deprecated. Use year instead",uc);A.zone=G("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",function(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()});var Q=y.prototype;Q._calendar={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",
sameElse:"L"};Q.calendar=function(a,b,c){a=this._calendar[a];return"function"==typeof a?a.call(b,c):a};Q._longDateFormat={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};Q.longDateFormat=function(a){var b=this._longDateFormat[a],c=this._longDateFormat[a.toUpperCase()];return b||!c?b:(this._longDateFormat[a]=c.replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a])};Q._invalidDate="Invalid date";Q.invalidDate=
function(){return this._invalidDate};Q._ordinal="%d";Q.ordinal=function(a){return this._ordinal.replace("%d",a)};Q._ordinalParse=/\d{1,2}/;Q.preparse=Ba;Q.postformat=Ba;Q._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"};Q.relativeTime=function(a,b,c,d){var e=this._relativeTime[c];return"function"==typeof e?e(a,b,c,d):e.replace(/%d/i,a)};Q.pastFuture=function(a,
b){var c=this._relativeTime[0<a?"future":"past"];return"function"==typeof c?c(b):c.replace(/%s/i,b)};Q.set=function(a){var b,c;for(c in a)b=a[c],"function"==typeof b?this[c]=b:this["_"+c]=b;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)};Q.months=function(a){return this._months[a.month()]};Q._months="January February March April May June July August September October November December".split(" ");Q.monthsShort=function(a){return this._monthsShort[a.month()]};
Q._monthsShort="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ");Q.monthsParse=function(a,b,c){var e,f,g;this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]);for(e=0;12>e;e++)if((f=d([2E3,e]),c&&!this._longMonthsParse[e]&&(this._longMonthsParse[e]=new RegExp("^"+this.months(f,"").replace(".","")+"$","i"),this._shortMonthsParse[e]=new RegExp("^"+this.monthsShort(f,"").replace(".","")+"$","i")),c||this._monthsParse[e]||(g="^"+this.months(f,"")+"|^"+
this.monthsShort(f,""),this._monthsParse[e]=new RegExp(g.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[e].test(a))||c&&"MMM"===b&&this._shortMonthsParse[e].test(a)||!c&&this._monthsParse[e].test(a))return e};Q.week=function(a){return ta(a,this._week.dow,this._week.doy).week};Q._week={dow:0,doy:6};Q.firstDayOfYear=function(){return this._week.doy};Q.firstDayOfWeek=function(){return this._week.dow};Q.weekdays=function(a){return this._weekdays[a.day()]};Q._weekdays="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" ");
Q.weekdaysMin=function(a){return this._weekdaysMin[a.day()]};Q._weekdaysMin="Su Mo Tu We Th Fr Sa".split(" ");Q.weekdaysShort=function(a){return this._weekdaysShort[a.day()]};Q._weekdaysShort="Sun Mon Tue Wed Thu Fri Sat".split(" ");Q.weekdaysParse=function(a){var b,c,d;this._weekdaysParse=this._weekdaysParse||[];for(b=0;7>b;b++)if(this._weekdaysParse[b]||(c=O([2E3,1]).day(b),d="^"+this.weekdays(c,"")+"|^"+this.weekdaysShort(c,"")+"|^"+this.weekdaysMin(c,""),this._weekdaysParse[b]=new RegExp(d.replace(".",
""),"i")),this._weekdaysParse[b].test(a))return b};Q.isPM=function(a){return"p"===(a+"").toLowerCase().charAt(0)};Q._meridiemParse=/[ap]\.?m?\.?/i;Q.meridiem=function(a,b,c){return 11<a?c?"pm":"PM":c?"am":"AM"};Da("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,b=1===z(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+b}});a.lang=G("moment.lang is deprecated. Use moment.locale instead.",Da);a.langData=G("moment.langData is deprecated. Use moment.localeData instead.",
sa);var nb=Math.abs,gd=Ma("ms"),id=Ma("s"),kd=Ma("m"),Xc=Ma("h"),dd=Ma("d"),ld=Ma("w"),md=Ma("M"),Zc=Ma("y"),nd=ab("milliseconds"),bd=ab("seconds"),hd=ab("minutes"),od=ab("hours"),pd=ab("days"),Uc=ab("months"),Tc=ab("years"),Rb=Math.round,vb={s:45,m:45,h:22,d:26,M:11},wc=Math.abs,U=Pb.prototype;U.abs=function(){var a=this._data;return this._milliseconds=nb(this._milliseconds),this._days=nb(this._days),this._months=nb(this._months),a.milliseconds=nb(a.milliseconds),a.seconds=nb(a.seconds),a.minutes=
nb(a.minutes),a.hours=nb(a.hours),a.months=nb(a.months),a.years=nb(a.years),this};U.add=function(a,b){return nc(this,a,b,1)};U.subtract=function(a,b){return nc(this,a,b,-1)};U.as=function(a){var b,c,d=this._milliseconds;if(a=ga(a),"month"===a||"year"===a)return b=this._days+d/864E5,c=this._months+4800*b/146097,"month"===a?c:c/12;switch(b=this._days+Math.round(146097*this._months/4800),a){case "week":return b/7+d/6048E5;case "day":return b+d/864E5;case "hour":return 24*b+d/36E5;case "minute":return 1440*
b+d/6E4;case "second":return 86400*b+d/1E3;case "millisecond":return Math.floor(864E5*b)+d;default:throw Error("Unknown unit "+a);}};U.asMilliseconds=gd;U.asSeconds=id;U.asMinutes=kd;U.asHours=Xc;U.asDays=dd;U.asWeeks=ld;U.asMonths=md;U.asYears=Zc;U.valueOf=function(){return this._milliseconds+864E5*this._days+this._months%12*2592E6+31536E6*z(this._months/12)};U._bubble=function(){var a,b,c,d,e,f=this._milliseconds,g=this._days,h=this._months,k=this._data;return 0<=f&&0<=g&&0<=h||0>=f&&0>=g&&0>=h||
(f+=864E5*dc(146097*h/4800+g),g=0,h=0),k.milliseconds=f%1E3,a=F(f/1E3),k.seconds=a%60,b=F(a/60),k.minutes=b%60,c=F(b/60),k.hours=c%24,g+=F(c/24),e=F(4800*g/146097),h+=e,g-=dc(146097*e/4800),d=F(h/12),h%=12,k.days=g,k.months=h,k.years=d,this};U.get=function(a){return a=ga(a),this[a+"s"]()};U.milliseconds=nd;U.seconds=bd;U.minutes=hd;U.hours=od;U.days=pd;U.weeks=function(){return F(this.days()/7)};U.months=Uc;U.years=Tc;U.humanize=function(a){var b=this.localeData(),c;c=!a;var d=Ca(this).abs(),e=Rb(d.as("s")),
f=Rb(d.as("m")),g=Rb(d.as("h")),h=Rb(d.as("d")),k=Rb(d.as("M")),d=Rb(d.as("y")),e=e<vb.s&&["s",e]||1===f&&["m"]||f<vb.m&&["mm",f]||1===g&&["h"]||g<vb.h&&["hh",g]||1===h&&["d"]||h<vb.d&&["dd",h]||1===k&&["M"]||k<vb.M&&["MM",k]||1===d&&["y"]||["yy",d];c=(e[2]=c,e[3]=0<+this,e[4]=b,oc.apply(null,e));return a&&(c=b.pastFuture(+this,c)),b.postformat(c)};U.toISOString=Ib;U.toString=Ib;U.toJSON=Ib;U.locale=Ea;U.localeData=Ua;U.toIsoString=G("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
Ib);U.lang=Ac;H("X",0,0,"unix");H("x",0,0,"valueOf");D("x",Ob);D("X",/[+-]?\d+(\.\d{1,3})?/);s("X",function(a,b,c){c._d=new Date(1E3*parseFloat(a,10))});s("x",function(a,b,c){c._d=new Date(z(a))});a.version="2.10.6";rb=O;a.fn=A;a.min=function(){var a=[].slice.call(arguments,0);return Zb("isBefore",a)};a.max=function(){var a=[].slice.call(arguments,0);return Zb("isAfter",a)};a.utc=d;a.unix=function(a){return O(1E3*a)};a.months=function(a,b){return tb(a,b,"months",12,"month")};a.isDate=p;a.locale=Da;
a.invalid=J;a.duration=Ca;a.isMoment=n;a.weekdays=function(a,b){return tb(a,b,"weekdays",7,"day")};a.parseZone=function(){return O.apply(null,arguments).parseZone()};a.localeData=sa;a.isDuration=Xa;a.monthsShort=function(a,b){return tb(a,b,"monthsShort",12,"month")};a.weekdaysMin=function(a,b){return tb(a,b,"weekdaysMin",7,"day")};a.defineLocale=Cb;a.weekdaysShort=function(a,b){return tb(a,b,"weekdaysShort",7,"day")};a.normalizeUnits=ga;a.relativeTimeThreshold=function(a,b){return void 0===vb[a]?
!1:void 0===b?vb[a]:(vb[a]=b,!0)};var qd=(a.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(a){return/^nm$/i.test(a)},meridiem:function(a,
b,c){return 12>a?c?"vm":"VM":c?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",
yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||20<=a?"ste":"de")},week:{dow:1,doy:4}}),a.defineLocale("ar-ma",{months:"يناير فبراير مارس أبريل ماي يونيو يوليوز غشت شتنبر أكتوبر نونبر دجنبر".split(" "),monthsShort:"يناير فبراير مارس أبريل ماي يونيو يوليوز غشت شتنبر أكتوبر نونبر دجنبر".split(" "),weekdays:"الأحد الإتنين الثلاثاء الأربعاء الخميس الجمعة السبت".split(" "),weekdaysShort:"احد اتنين ثلاثاء اربعاء خميس جمعة سبت".split(" "),weekdaysMin:"حنثرخجس".split(""),
longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}}),{1:"١",
2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"}),Wc={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},Yc=(a.defineLocale("ar-sa",{months:"يناير فبراير مارس أبريل مايو يونيو يوليو أغسطس سبتمبر أكتوبر نوفمبر ديسمبر".split(" "),monthsShort:"يناير فبراير مارس أبريل مايو يونيو يوليو أغسطس سبتمبر أكتوبر نوفمبر ديسمبر".split(" "),weekdays:"الأحد الإثنين الثلاثاء الأربعاء الخميس الجمعة السبت".split(" "),weekdaysShort:"أحد إثنين ثلاثاء أربعاء خميس جمعة سبت".split(" "),
weekdaysMin:"حنثرخجس".split(""),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(a){return"م"===a},meridiem:function(a,b,c){return 12>a?"ص":"م"},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(a){return a.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(a){return Wc[a]}).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return qd[a]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),a.defineLocale("ar-tn",{months:"جانفي فيفري مارس أفريل ماي جوان جويلية أوت سبتمبر أكتوبر نوفمبر ديسمبر".split(" "),monthsShort:"جانفي فيفري مارس أفريل ماي جوان جويلية أوت سبتمبر أكتوبر نوفمبر ديسمبر".split(" "),
weekdays:"الأحد الإثنين الثلاثاء الأربعاء الخميس الجمعة السبت".split(" "),weekdaysShort:"أحد إثنين ثلاثاء أربعاء خميس جمعة سبت".split(" "),weekdaysMin:"حنثرخجس".split(""),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",
past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}}),{1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"}),Sc={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},Ic=function(a){return 0===a?0:1===a?1:2===a?2:3<=a%100&&10>=a%100?3:11<=a%100?4:5},ed={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",
["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},Wa=function(a){return function(b,c,d,e){d=Ic(b);e=ed[a][Ic(b)];return 2===d&&(e=e[c?0:1]),e.replace(/%d/i,b)}},Jc="كانون الثاني يناير;شباط فبراير;آذار مارس;نيسان أبريل;أيار مايو;حزيران يونيو;تموز يوليو;آب أغسطس;أيلول سبتمبر;تشرين الأول أكتوبر;تشرين الثاني نوفمبر;كانون الأول ديسمبر".split(";"),
yc=(a.defineLocale("ar",{months:Jc,monthsShort:Jc,weekdays:"الأحد الإثنين الثلاثاء الأربعاء الخميس الجمعة السبت".split(" "),weekdaysShort:"أحد إثنين ثلاثاء أربعاء خميس جمعة سبت".split(" "),weekdaysMin:"حنثرخجس".split(""),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(a){return"م"===a},meridiem:function(a,b,c){return 12>a?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",
nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:Wa("s"),m:Wa("m"),mm:Wa("m"),h:Wa("h"),hh:Wa("h"),d:Wa("d"),dd:Wa("d"),M:Wa("M"),MM:Wa("M"),y:Wa("y"),yy:Wa("y")},preparse:function(a){return a.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(a){return Sc[a]}).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return Yc[a]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),
{1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"}),rd=(a.defineLocale("az",{months:"yanvar fevral mart aprel may iyun iyul avqust sentyabr oktyabr noyabr dekabr".split(" "),monthsShort:"yan fev mar apr may iyn iyl avq sen okt noy dek".split(" "),weekdays:"Bazar;Bazar ertəsi;Çərşənbə axşamı;Çərşənbə;Cümə axşamı;Cümə;Şənbə".split(";"),weekdaysShort:"Baz BzE ÇAx Çər CAx Cüm Şən".split(" "),
weekdaysMin:"Bz BE ÇA Çə CA Cü Şə".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",
M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(a){return/^(gündüz|axşam)$/.test(a)},meridiem:function(a,b,c){return 4>a?"gecə":12>a?"səhər":17>a?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(a){if(0===a)return a+"-ıncı";var b=a%10;return a+(yc[b]||yc[a%100-b]||yc[100<=a?100:null])},week:{dow:1,doy:7}}),a.defineLocale("be",{months:function(a,b){return{nominative:"студзень люты сакавік красавік травень чэрвень ліпень жнівень верасень кастрычнік лістапад снежань".split(" "),
accusative:"студзеня лютага сакавіка красавіка траўня чэрвеня ліпеня жніўня верасня кастрычніка лістапада снежня".split(" ")}[/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(b)?"accusative":"nominative"][a.month()]},monthsShort:"студ лют сак крас трав чэрв ліп жнів вер каст ліст снеж".split(" "),weekdays:function(a,b){return{nominative:"нядзеля панядзелак аўторак серада чацвер пятніца субота".split(" "),accusative:"нядзелю панядзелак аўторак сераду чацвер пятніцу суботу".split(" ")}[/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/.test(b)?
"accusative":"nominative"][a.day()]},weekdaysShort:"нд пн ат ср чц пт сб".split(" "),weekdaysMin:"нд пн ат ср чц пт сб".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},
sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:pb,mm:pb,h:pb,hh:pb,d:"дзень",dd:pb,M:"месяц",MM:pb,y:"год",yy:pb},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(a){return/^(дня|вечара)$/.test(a)},meridiem:function(a,b,c){return 4>a?"ночы":12>a?"раніцы":17>a?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(a,b){switch(b){case "M":case "d":case "DDD":case "w":case "W":return 2!==a%10&&3!==a%10||12===a%100||13===a%100?a+"-ы":a+"-і";case "D":return a+
"-га";default:return a}},week:{dow:1,doy:7}}),a.defineLocale("bg",{months:"януари февруари март април май юни юли август септември октомври ноември декември".split(" "),monthsShort:"янр фев мар апр май юни юли авг сеп окт ное дек".split(" "),weekdays:"неделя понеделник вторник сряда четвъртък петък събота".split(" "),weekdaysShort:"нед пон вто сря чет пет съб".split(" "),weekdaysMin:"нд пн вт ср чт пт сб".split(" "),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",
LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
ordinal:function(a){var b=a%10,c=a%100;return 0===a?a+"-ев":0===c?a+"-ен":10<c&&20>c?a+"-ти":1===b?a+"-ви":2===b?a+"-ри":7===b||8===b?a+"-ми":a+"-ти"},week:{dow:1,doy:7}}),{1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"}),sd={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},td=(a.defineLocale("bn",{months:"জানুয়ারী ফেবুয়ারী মার্চ এপ্রিল মে জুন জুলাই অগাস্ট সেপ্টেম্বর অক্টোবর নভেম্বর ডিসেম্বর".split(" "),monthsShort:"জানু ফেব মার্চ এপর মে জুন জুল অগ সেপ্ট অক্টো নভ ডিসেম্".split(" "),
weekdays:"রবিবার সোমবার মঙ্গলবার বুধবার বৃহস্পত্তিবার শুক্রুবার শনিবার".split(" "),weekdaysShort:"রবি সোম মঙ্গল বুধ বৃহস্পত্তি শুক্রু শনি".split(" "),weekdaysMin:"রব সম মঙ্গ বু ব্রিহ শু শনি".split(" "),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",
past:"%s আগে",s:"কএক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(a){return a.replace(/[১২৩৪৫৬৭৮৯০]/g,function(a){return sd[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return rd[a]})},meridiemParse:/রাত|সকাল|দুপুর|বিকেল|রাত/,isPM:function(a){return/^(দুপুর|বিকেল|রাত)$/.test(a)},meridiem:function(a,b,c){return 4>a?"রাত":10>a?"সকাল":17>a?"দুপুর":20>a?"বিকেল":"রাত"},week:{dow:0,
doy:6}}),{1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"}),jd={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},Kc=(a.defineLocale("bo",{months:"ཟླ་བ་དང་པོ ཟླ་བ་གཉིས་པ ཟླ་བ་གསུམ་པ ཟླ་བ་བཞི་པ ཟླ་བ་ལྔ་པ ཟླ་བ་དྲུག་པ ཟླ་བ་བདུན་པ ཟླ་བ་བརྒྱད་པ ཟླ་བ་དགུ་པ ཟླ་བ་བཅུ་པ ཟླ་བ་བཅུ་གཅིག་པ ཟླ་བ་བཅུ་གཉིས་པ".split(" "),monthsShort:"ཟླ་བ་དང་པོ ཟླ་བ་གཉིས་པ ཟླ་བ་གསུམ་པ ཟླ་བ་བཞི་པ ཟླ་བ་ལྔ་པ ཟླ་བ་དྲུག་པ ཟླ་བ་བདུན་པ ཟླ་བ་བརྒྱད་པ ཟླ་བ་དགུ་པ ཟླ་བ་བཅུ་པ ཟླ་བ་བཅུ་གཅིག་པ ཟླ་བ་བཅུ་གཉིས་པ".split(" "),
weekdays:"གཟའ་ཉི་མ་ གཟའ་ཟླ་བ་ གཟའ་མིག་དམར་ གཟའ་ལྷག་པ་ གཟའ་ཕུར་བུ གཟའ་པ་སངས་ གཟའ་སྤེན་པ་".split(" "),weekdaysShort:"ཉི་མ་ ཟླ་བ་ མིག་དམར་ ལྷག་པ་ ཕུར་བུ པ་སངས་ སྤེན་པ་".split(" "),weekdaysMin:"ཉི་མ་ ཟླ་བ་ མིག་དམར་ ལྷག་པ་ ཕུར་བུ པ་སངས་ སྤེན་པ་".split(" "),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",
sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(a){return a.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(a){return jd[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return td[a]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,isPM:function(a){return/^(ཉིན་གུང|དགོང་དག|མཚན་མོ)$/.test(a)},meridiem:function(a,b,c){return 4>
a?"མཚན་མོ":10>a?"ཞོགས་ཀས":17>a?"ཉིན་གུང":20>a?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}}),a.defineLocale("br",{months:"Genver C'hwevrer Meurzh Ebrel Mae Mezheven Gouere Eost Gwengolo Here Du Kerzu".split(" "),monthsShort:"Gen C'hwe Meu Ebr Mae Eve Gou Eos Gwe Her Du Ker".split(" "),weekdays:"Sul Lun Meurzh Merc'her Yaou Gwener Sadorn".split(" "),weekdaysShort:"Sul Lun Meu Mer Yao Gwe Sad".split(" "),weekdaysMin:"Su Lu Me Mer Ya Gw Sa".split(" "),longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",
LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:ec,h:"un eur",hh:"%d eur",d:"un devezh",dd:ec,M:"ur miz",MM:ec,y:"ur bloaz",yy:function(a){switch(pc(a)){case 1:case 3:case 4:case 5:case 9:return a+" bloaz";
default:return a+" vloaz"}}},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(a){return a+(1===a?"añ":"vet")},week:{dow:1,doy:4}}),a.defineLocale("bs",{months:"januar februar mart april maj juni juli august septembar oktobar novembar decembar".split(" "),monthsShort:"jan. feb. mar. apr. maj. jun. jul. aug. sep. okt. nov. dec.".split(" "),weekdays:"nedjelja ponedjeljak utorak srijeda četvrtak petak subota".split(" "),weekdaysShort:"ned. pon. uto. sri. čet. pet. sub.".split(" "),weekdaysMin:"ne po ut sr če pe su".split(" "),
longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";
case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:bb,mm:bb,h:bb,hh:bb,d:"dan",dd:bb,M:"mjesec",MM:bb,y:"godinu",yy:bb},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),a.defineLocale("ca",{months:"gener febrer març abril maig juny juliol agost setembre octubre novembre desembre".split(" "),monthsShort:"gen. febr. mar. abr. mai. jun. jul. ag. set. oct. nov. des.".split(" "),weekdays:"diumenge dilluns dimarts dimecres dijous divendres dissabte".split(" "),
weekdaysShort:"dg. dl. dt. dc. dj. dv. ds.".split(" "),weekdaysMin:"Dg Dl Dt Dc Dj Dv Ds".split(" "),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?
"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(a,b){var c=1===a?"r":2===a?"n":3===a?"r":4===a?"t":"è";return("w"===b||"W"===b)&&(c="a"),a+c},week:{dow:1,doy:4}}),"leden únor březen duben květen červen červenec srpen září říjen listopad prosinec".split(" ")),
Hc="led úno bře dub kvě čvn čvc srp zář říj lis pro".split(" "),ud=(a.defineLocale("cs",{months:Kc,monthsShort:Hc,monthsParse:function(a,b){var c,d=[];for(c=0;12>c;c++)d[c]=new RegExp("^"+a[c]+"$|^"+b[c]+"$","i");return d}(Kc,Hc),weekdays:"neděle pondělí úterý středa čtvrtek pátek sobota".split(" "),weekdaysShort:"ne po út st čt pá so".split(" "),weekdaysMin:"ne po út st čt pá so".split(" "),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},
calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";
case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:Ia,m:Ia,mm:Ia,h:Ia,hh:Ia,d:Ia,dd:Ia,M:Ia,MM:Ia,y:Ia,yy:Ia},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("cv",{months:"кӑрлач нарӑс пуш ака май ҫӗртме утӑ ҫурла авӑн юпа чӳк раштав".split(" "),monthsShort:"кӑр нар пуш ака май ҫӗр утӑ ҫур авн юпа чӳк раш".split(" "),weekdays:"вырсарникун тунтикун ытларикун юнкун кӗҫнерникун эрнекун шӑматкун".split(" "),weekdaysShort:"выр тун ытл юн кӗҫ эрн шӑм".split(" "),
weekdaysMin:"вр тн ыт юн кҫ эр шм".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(a){var b=/сехет$/i.exec(a)?"рен":
/ҫул$/i.exec(a)?"тан":"ран";return a+b},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}}),a.defineLocale("cy",{months:"Ionawr Chwefror Mawrth Ebrill Mai Mehefin Gorffennaf Awst Medi Hydref Tachwedd Rhagfyr".split(" "),monthsShort:"Ion Chwe Maw Ebr Mai Meh Gor Aws Med Hyd Tach Rhag".split(" "),weekdays:"Dydd Sul;Dydd Llun;Dydd Mawrth;Dydd Mercher;Dydd Iau;Dydd Gwener;Dydd Sadwrn".split(";"),
weekdaysShort:"Sul Llun Maw Mer Iau Gwe Sad".split(" "),weekdaysMin:"Su Ll Ma Me Ia Gw Sa".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",
dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(a){var b="",c=" af il ydd ydd ed ed ed fed fed fed eg fed eg eg fed eg eg fed eg fed".split(" ");return 20<a?b=40===a||50===a||60===a||80===a||100===a?"fed":"ain":0<a&&(b=c[a]),a+b},week:{dow:1,doy:4}}),a.defineLocale("da",{months:"januar februar marts april maj juni juli august september oktober november december".split(" "),monthsShort:"jan feb mar apr maj jun jul aug sep okt nov dec".split(" "),
weekdays:"søndag mandag tirsdag onsdag torsdag fredag lørdag".split(" "),weekdaysShort:"søn man tir ons tor fre lør".split(" "),weekdaysMin:"sø ma ti on to fr lø".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",
s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("de-at",{months:"Jänner Februar März April Mai Juni Juli August September Oktober November Dezember".split(" "),monthsShort:"Jän. Febr. Mrz. Apr. Mai Jun. Jul. Aug. Sept. Okt. Nov. Dez.".split(" "),weekdays:"Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag".split(" "),
weekdaysShort:"So. Mo. Di. Mi. Do. Fr. Sa.".split(" "),weekdaysMin:"So Mo Di Mi Do Fr Sa".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[Heute um] LT [Uhr]",sameElse:"L",nextDay:"[Morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[Gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:fa,mm:"%d Minuten",
h:fa,hh:"%d Stunden",d:fa,dd:fa,M:fa,MM:fa,y:fa,yy:fa},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("de",{months:"Januar Februar März April Mai Juni Juli August September Oktober November Dezember".split(" "),monthsShort:"Jan. Febr. Mrz. Apr. Mai Jun. Jul. Aug. Sept. Okt. Nov. Dez.".split(" "),weekdays:"Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag".split(" "),weekdaysShort:"So. Mo. Di. Mi. Do. Fr. Sa.".split(" "),weekdaysMin:"So Mo Di Mi Do Fr Sa".split(" "),
longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[Heute um] LT [Uhr]",sameElse:"L",nextDay:"[Morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[Gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Na,mm:"%d Minuten",h:Na,hh:"%d Stunden",d:Na,dd:Na,M:Na,MM:Na,y:Na,yy:Na},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,
doy:4}}),a.defineLocale("el",{monthsNominativeEl:"Ιανουάριος Φεβρουάριος Μάρτιος Απρίλιος Μάιος Ιούνιος Ιούλιος Αύγουστος Σεπτέμβριος Οκτώβριος Νοέμβριος Δεκέμβριος".split(" "),monthsGenitiveEl:"Ιανουαρίου Φεβρουαρίου Μαρτίου Απριλίου Μαΐου Ιουνίου Ιουλίου Αυγούστου Σεπτεμβρίου Οκτωβρίου Νοεμβρίου Δεκεμβρίου".split(" "),months:function(a,b){return/D/.test(b.substring(0,b.indexOf("MMMM")))?this._monthsGenitiveEl[a.month()]:this._monthsNominativeEl[a.month()]},monthsShort:"Ιαν Φεβ Μαρ Απρ Μαϊ Ιουν Ιουλ Αυγ Σεπ Οκτ Νοε Δεκ".split(" "),
weekdays:"Κυριακή Δευτέρα Τρίτη Τετάρτη Πέμπτη Παρασκευή Σάββατο".split(" "),weekdaysShort:"Κυρ Δευ Τρι Τετ Πεμ Παρ Σαβ".split(" "),weekdaysMin:"Κυ Δε Τρ Τε Πε Πα Σα".split(" "),meridiem:function(a,b,c){return 11<a?c?"μμ":"ΜΜ":c?"πμ":"ΠΜ"},isPM:function(a){return"μ"===(a+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",
nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(a,b){var c=this._calendarEl[a],d=b&&b.hours();return"function"==typeof c&&(c=c.apply(b)),c.replace("{}",1===d%12?"στη":"στις")},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}}),a.defineLocale("en-au",{months:"January February March April May June July August September October November December".split(" "),monthsShort:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),weekdaysShort:"Sun Mon Tue Wed Thu Fri Sat".split(" "),weekdaysMin:"Su Mo Tu We Th Fr Sa".split(" "),longDateFormat:{LT:"h:mm A",
LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=
a%10;return a+(1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}}),a.defineLocale("en-ca",{months:"January February March April May June July August September October November December".split(" "),monthsShort:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),weekdaysShort:"Sun Mon Tue Wed Thu Fri Sat".split(" "),weekdaysMin:"Su Mo Tu We Th Fr Sa".split(" "),longDateFormat:{LT:"h:mm A",
LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"D MMMM, YYYY",LLL:"D MMMM, YYYY h:mm A",LLLL:"dddd, D MMMM, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=
a%10;return a+(1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}}),a.defineLocale("en-gb",{months:"January February March April May June July August September October November December".split(" "),monthsShort:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),weekdaysShort:"Sun Mon Tue Wed Thu Fri Sat".split(" "),weekdaysMin:"Su Mo Tu We Th Fr Sa".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",
L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%
10;return a+(1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}}),a.defineLocale("eo",{months:"januaro februaro marto aprilo majo junio julio aŭgusto septembro oktobro novembro decembro".split(" "),monthsShort:"jan feb mar apr maj jun jul aŭg sep okt nov dec".split(" "),weekdays:"Dimanĉo Lundo Mardo Merkredo Ĵaŭdo Vendredo Sabato".split(" "),weekdaysShort:"Dim Lun Mard Merk Ĵaŭ Ven Sab".split(" "),weekdaysMin:"Di Lu Ma Me Ĵa Ve Sa".split(" "),longDateFormat:{LT:"HH:mm",
LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-an de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(a){return"p"===a.charAt(0).toLowerCase()},meridiem:function(a,b,c){return 11<a?c?"p.t.m.":"P.T.M.":c?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"antaŭ %s",s:"sekundoj",
m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}}),"Ene. Feb. Mar. Abr. May. Jun. Jul. Ago. Sep. Oct. Nov. Dic.".split(" ")),fd="Ene Feb Mar Abr May Jun Jul Ago Sep Oct Nov Dic".split(" "),vd=(a.defineLocale("es",{months:"Enero Febrero Marzo Abril Mayo Junio Julio Agosto Septiembre Octubre Noviembre Diciembre".split(" "),monthsShort:function(a,b){return/-MMM-/.test(b)?
fd[a.month()]:ud[a.month()]},weekdays:"Domingo Lunes Martes Miércoles Jueves Viernes Sábado".split(" "),weekdaysShort:"Dom. Lun. Mar. Mié. Jue. Vie. Sáb.".split(" "),weekdaysMin:"Do Lu Ma Mi Ju Vi Sá".split(" "),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?
"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,
doy:4}}),a.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:"PETKNRL".split(""),weekdaysMin:"PETKNRL".split(""),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},
calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:pa,m:pa,mm:pa,h:pa,hh:pa,d:pa,dd:"%d päeva",M:pa,MM:pa,y:pa,yy:pa},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("eu",{months:"urtarrila otsaila martxoa apirila maiatza ekaina uztaila abuztua iraila urria azaroa abendua".split(" "),monthsShort:"urt. ots. mar. api. mai. eka. uzt. abu. ira. urr. aza. abe.".split(" "),
weekdays:"igandea astelehena asteartea asteazkena osteguna ostirala larunbata".split(" "),weekdaysShort:"ig. al. ar. az. og. ol. lr.".split(" "),weekdaysMin:"ig al ar az og ol lr".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",
nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),{1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"}),wd={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8",
"۹":"9","۰":"0"},lc=(a.defineLocale("fa",{months:"ژانویه فوریه مارس آوریل مه ژوئن ژوئیه اوت سپتامبر اکتبر نوامبر دسامبر".split(" "),monthsShort:"ژانویه فوریه مارس آوریل مه ژوئن ژوئیه اوت سپتامبر اکتبر نوامبر دسامبر".split(" "),weekdays:"یک‌شنبه دوشنبه سه‌شنبه چهارشنبه پنج‌شنبه جمعه شنبه".split(" "),weekdaysShort:"یک‌شنبه دوشنبه سه‌شنبه چهارشنبه پنج‌شنبه جمعه شنبه".split(" "),weekdaysMin:"یدسچپجش".split(""),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",
LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(a){return/بعد از ظهر/.test(a)},meridiem:function(a,b,c){return 12>a?"قبل از ظهر":"بعد از ظهر"},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(a){return a.replace(/[۰-۹]/g,function(a){return wd[a]}).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return vd[a]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}}),"nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" ")),xd=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",lc[7],lc[8],lc[9]],cd=(a.defineLocale("fi",{months:"tammikuu helmikuu maaliskuu huhtikuu toukokuu kesäkuu heinäkuu elokuu syyskuu lokakuu marraskuu joulukuu".split(" "),
monthsShort:"tammi helmi maalis huhti touko kesä heinä elo syys loka marras joulu".split(" "),weekdays:"sunnuntai maanantai tiistai keskiviikko torstai perjantai lauantai".split(" "),weekdaysShort:"su ma ti ke to pe la".split(" "),weekdaysMin:"su ma ti ke to pe la".split(" "),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},
calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:ba,m:ba,mm:ba,h:ba,hh:ba,d:ba,dd:ba,M:ba,MM:ba,y:ba,yy:ba},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("fo",{months:"januar februar mars apríl mai juni juli august september oktober november desember".split(" "),monthsShort:"jan feb mar apr mai jun jul aug sep okt nov des".split(" "),
weekdays:"sunnudagur mánadagur týsdagur mikudagur hósdagur fríggjadagur leygardagur".split(" "),weekdaysShort:"sun mán týs mik hós frí ley".split(" "),weekdaysMin:"su má tý mi hó fr le".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",
past:"%s síðani",s:"fá sekund",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("fr-ca",{months:"janvier février mars avril mai juin juillet août septembre octobre novembre décembre".split(" "),monthsShort:"janv. févr. mars avr. mai juin juil. août sept. oct. nov. déc.".split(" "),weekdays:"dimanche lundi mardi mercredi jeudi vendredi samedi".split(" "),
weekdaysShort:"dim. lun. mar. mer. jeu. ven. sam.".split(" "),weekdaysMin:"Di Lu Ma Me Je Ve Sa".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",
hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(a){return a+(1===a?"er":"e")}}),a.defineLocale("fr",{months:"janvier février mars avril mai juin juillet août septembre octobre novembre décembre".split(" "),monthsShort:"janv. févr. mars avr. mai juin juil. août sept. oct. nov. déc.".split(" "),weekdays:"dimanche lundi mardi mercredi jeudi vendredi samedi".split(" "),weekdaysShort:"dim. lun. mar. mer. jeu. ven. sam.".split(" "),
weekdaysMin:"Di Lu Ma Me Je Ve Sa".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",
y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(a){return a+(1===a?"er":"")},week:{dow:1,doy:4}}),"jan. feb. mrt. apr. mai jun. jul. aug. sep. okt. nov. des.".split(" ")),yd="jan feb mrt apr mai jun jul aug sep okt nov des".split(" "),zd=(a.defineLocale("fy",{months:"jannewaris febrewaris maart april maaie juny july augustus septimber oktober novimber desimber".split(" "),monthsShort:function(a,b){return/-MMM-/.test(b)?yd[a.month()]:cd[a.month()]},weekdays:"snein moandei tiisdei woansdei tongersdei freed sneon".split(" "),
weekdaysShort:"si. mo. ti. wo. to. fr. so.".split(" "),weekdaysMin:"Si Mo Ti Wo To Fr So".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",
d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||20<=a?"ste":"de")},week:{dow:1,doy:4}}),a.defineLocale("gl",{months:"Xaneiro Febreiro Marzo Abril Maio Xuño Xullo Agosto Setembro Outubro Novembro Decembro".split(" "),monthsShort:"Xan. Feb. Mar. Abr. Mai. Xuñ. Xul. Ago. Set. Out. Nov. Dec.".split(" "),weekdays:"Domingo Luns Martes Mércores Xoves Venres Sábado".split(" "),weekdaysShort:"Dom. Lun. Mar. Mér. Xov. Ven. Sáb.".split(" "),
weekdaysMin:"Do Lu Ma Mé Xo Ve Sá".split(" "),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+
(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(a){return"uns segundos"===a?"nuns segundos":"en "+a},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}}),a.defineLocale("he",{months:"ינואר פברואר מרץ אפריל מאי יוני יולי אוגוסט ספטמבר אוקטובר נובמבר דצמבר".split(" "),monthsShort:"ינו׳ פבר׳ מרץ אפר׳ מאי יוני יולי אוג׳ ספט׳ אוק׳ נוב׳ דצמ׳".split(" "),
weekdays:"ראשון שני שלישי רביעי חמישי שישי שבת".split(" "),weekdaysShort:"א׳ ב׳ ג׳ ד׳ ה׳ ו׳ ש׳".split(" "),weekdaysMin:"אבגדהוש".split(""),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",
sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(a){return 2===a?"שעתיים":a+" שעות"},d:"יום",dd:function(a){return 2===a?"יומיים":a+" ימים"},M:"חודש",MM:function(a){return 2===a?"חודשיים":a+" חודשים"},y:"שנה",yy:function(a){return 2===a?"שנתיים":0===a%10&&10!==a?a+" שנה":a+" שנים"}}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"}),Ad={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},
Lc=(a.defineLocale("hi",{months:"जनवरी फ़रवरी मार्च अप्रैल मई जून जुलाई अगस्त सितम्बर अक्टूबर नवम्बर दिसम्बर".split(" "),monthsShort:"जन. फ़र. मार्च अप्रै. मई जून जुल. अग. सित. अक्टू. नव. दिस.".split(" "),weekdays:"रविवार सोमवार मंगलवार बुधवार गुरूवार शुक्रवार शनिवार".split(" "),weekdaysShort:"रवि सोम मंगल बुध गुरू शुक्र शनि".split(" "),weekdaysMin:"र सो मं बु गु शु श".split(" "),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},
calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(a){return a.replace(/[१२३४५६७८९०]/g,function(a){return Ad[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return zd[a]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,
meridiemHour:function(a,b){return 12===a&&(a=0),"रात"===b?4>a?a:a+12:"सुबह"===b?a:"दोपहर"===b?10<=a?a:a+12:"शाम"===b?a+12:void 0},meridiem:function(a,b,c){return 4>a?"रात":10>a?"सुबह":17>a?"दोपहर":20>a?"शाम":"रात"},week:{dow:0,doy:6}}),a.defineLocale("hr",{months:"siječanj veljača ožujak travanj svibanj lipanj srpanj kolovoz rujan listopad studeni prosinac".split(" "),monthsShort:"sij. velj. ožu. tra. svi. lip. srp. kol. ruj. lis. stu. pro.".split(" "),weekdays:"nedjelja ponedjeljak utorak srijeda četvrtak petak subota".split(" "),
weekdaysShort:"ned. pon. uto. sri. čet. pet. sub.".split(" "),weekdaysMin:"ne po ut sr če pe su".split(" "),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",
lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:cb,mm:cb,h:cb,hh:cb,d:"dan",dd:cb,M:"mjesec",MM:cb,y:"godinu",yy:cb},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),"vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ")),Bd=(a.defineLocale("hu",{months:"január február március április május június július augusztus szeptember október november december".split(" "),
monthsShort:"jan feb márc ápr máj jún júl aug szept okt nov dec".split(" "),weekdays:"vasárnap hétfő kedd szerda csütörtök péntek szombat".split(" "),weekdaysShort:"vas hét kedd sze csüt pén szo".split(" "),weekdaysMin:"v h k sze cs p szo".split(" "),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(a){return"u"===a.charAt(1).toLowerCase()},meridiem:function(a,b,c){return 12>a?!0===
c?"de":"DE":!0===c?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return"["+Lc[this.day()]+"] LT[-kor]"},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return"[múlt] ["+Lc[this.day()]+"] LT[-kor]"},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:ka,m:ka,mm:ka,h:ka,hh:ka,d:ka,dd:ka,M:ka,MM:ka,y:ka,yy:ka},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),a.defineLocale("hy-am",{months:function(a,b){return{nominative:"հունվար փետրվար մարտ ապրիլ մայիս հունիս հուլիս օգոստոս սեպտեմբեր հոկտեմբեր նոյեմբեր դեկտեմբեր".split(" "),
accusative:"հունվարի փետրվարի մարտի ապրիլի մայիսի հունիսի հուլիսի օգոստոսի սեպտեմբերի հոկտեմբերի նոյեմբերի դեկտեմբերի".split(" ")}[/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(b)?"accusative":"nominative"][a.month()]},monthsShort:function(a,b){return"հնվ փտր մրտ ապր մյս հնս հլս օգս սպտ հկտ նմբ դկտ".split(" ")[a.month()]},weekdays:function(a,b){return"կիրակի երկուշաբթի երեքշաբթի չորեքշաբթի հինգշաբթի ուրբաթ շաբաթ".split(" ")[a.day()]},weekdaysShort:"կրկ երկ երք չրք հնգ ուրբ շբթ".split(" "),weekdaysMin:"կրկ երկ երք չրք հնգ ուրբ շբթ".split(" "),
longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},
meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(a){return/^(ցերեկվա|երեկոյան)$/.test(a)},meridiem:function(a){return 4>a?"գիշերվա":12>a?"առավոտվա":17>a?"ցերեկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(a,b){switch(b){case "DDD":case "w":case "W":case "DDDo":return 1===a?a+"-ին":a+"-րդ";default:return a}},week:{dow:1,doy:7}}),a.defineLocale("id",{months:"Januari Februari Maret April Mei Juni Juli Agustus September Oktober November Desember".split(" "),monthsShort:"Jan Feb Mar Apr Mei Jun Jul Ags Sep Okt Nov Des".split(" "),
weekdays:"Minggu Senin Selasa Rabu Kamis Jumat Sabtu".split(" "),weekdaysShort:"Min Sen Sel Rab Kam Jum Sab".split(" "),weekdaysMin:"Mg Sn Sl Rb Km Jm Sb".split(" "),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(a,b){return 12===a&&(a=0),"pagi"===b?a:"siang"===b?11<=a?a:a+12:"sore"===b||"malam"===b?a+12:void 0},meridiem:function(a,b,c){return 11>
a?"pagi":15>a?"siang":19>a?"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}}),a.defineLocale("is",{months:"janúar febrúar mars apríl maí júní júlí ágúst september október nóvember desember".split(" "),
monthsShort:"jan feb mar apr maí jún júl ágú sep okt nóv des".split(" "),weekdays:"sunnudagur mánudagur þriðjudagur miðvikudagur fimmtudagur föstudagur laugardagur".split(" "),weekdaysShort:"sun mán þri mið fim fös lau".split(" "),weekdaysMin:"Su Má Þr Mi Fi Fö La".split(" "),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",
lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:ma,m:ma,mm:ma,h:"klukkustund",hh:ma,d:ma,dd:ma,M:ma,MM:ma,y:ma,yy:ma},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("it",{months:"gennaio febbraio marzo aprile maggio giugno luglio agosto settembre ottobre novembre dicembre".split(" "),monthsShort:"gen feb mar apr mag giu lug ago set ott nov dic".split(" "),weekdays:"Domenica Lunedì Martedì Mercoledì Giovedì Venerdì Sabato".split(" "),
weekdaysShort:"Dom Lun Mar Mer Gio Ven Sab".split(" "),weekdaysMin:"D L Ma Me G V S".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(a){return(/^[0-9].+$/.test(a)?
"tra":"in")+" "+a},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}}),a.defineLocale("ja",{months:"1月 2月 3月 4月 5月 6月 7月 8月 9月 10月 11月 12月".split(" "),monthsShort:"1月 2月 3月 4月 5月 6月 7月 8月 9月 10月 11月 12月".split(" "),weekdays:"日曜日 月曜日 火曜日 水曜日 木曜日 金曜日 土曜日".split(" "),weekdaysShort:"日月火水木金土".split(""),weekdaysMin:"日月火水木金土".split(""),
longDateFormat:{LT:"Ah時m分",LTS:"Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m分 dddd"},meridiemParse:/午前|午後/i,isPM:function(a){return"午後"===a},meridiem:function(a,b,c){return 12>a?"午前":"午後"},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年"}}),a.defineLocale("jv",{months:"Januari Februari Maret April Mei Juni Juli Agustus September Oktober Nopember Desember".split(" "),
monthsShort:"Jan Feb Mar Apr Mei Jun Jul Ags Sep Okt Nop Des".split(" "),weekdays:"Minggu Senen Seloso Rebu Kemis Jemuwah Septu".split(" "),weekdaysShort:"Min Sen Sel Reb Kem Jem Sep".split(" "),weekdaysMin:"Mg Sn Sl Rb Km Jm Sp".split(" "),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(a,b){return 12===a&&(a=0),"enjing"===b?a:"siyang"===
b?11<=a?a:a+12:"sonten"===b||"ndalu"===b?a+12:void 0},meridiem:function(a,b,c){return 11>a?"enjing":15>a?"siyang":19>a?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",
MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}}),a.defineLocale("ka",{months:function(a,b){return{nominative:"იანვარი თებერვალი მარტი აპრილი მაისი ივნისი ივლისი აგვისტო სექტემბერი ოქტომბერი ნოემბერი დეკემბერი".split(" "),accusative:"იანვარს თებერვალს მარტს აპრილის მაისს ივნისს ივლისს აგვისტს სექტემბერს ოქტომბერს ნოემბერს დეკემბერს".split(" ")}[/D[oD] *MMMM?/.test(b)?"accusative":"nominative"][a.month()]},monthsShort:"იან თებ მარ აპრ მაი ივნ ივლ აგვ სექ ოქტ ნოე დეკ".split(" "),weekdays:function(a,
b){return{nominative:"კვირა ორშაბათი სამშაბათი ოთხშაბათი ხუთშაბათი პარასკევი შაბათი".split(" "),accusative:"კვირას ორშაბათს სამშაბათს ოთხშაბათს ხუთშაბათს პარასკევს შაბათს".split(" ")}[/(წინა|შემდეგ)/.test(b)?"accusative":"nominative"][a.day()]},weekdaysShort:"კვი ორშ სამ ოთხ ხუთ პარ შაბ".split(" "),weekdaysMin:"კვ ორ სა ოთ ხუ პა შა".split(" "),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",
nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(a){return/(წამი|წუთი|საათი|წელი)/.test(a)?a.replace(/ი$/,"ში"):a+"ში"},past:function(a){return/(წამი|წუთი|საათი|დღე|თვე)/.test(a)?a.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(a)?a.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(a){return 0===a?a:1===a?a+"-ლი":20>a||100>=a&&0===a%20||0===a%100?"მე-"+a:a+"-ე"},week:{dow:1,doy:7}}),a.defineLocale("km",{months:"មករា កុម្ភៈ មិនា មេសា ឧសភា មិថុនា កក្កដា សីហា កញ្ញា តុលា វិច្ឆិកា ធ្នូ".split(" "),monthsShort:"មករា កុម្ភៈ មិនា មេសា ឧសភា មិថុនា កក្កដា សីហា កញ្ញា តុលា វិច្ឆិកា ធ្នូ".split(" "),weekdays:"អាទិត្យ ច័ន្ទ អង្គារ ពុធ ព្រហស្បតិ៍ សុក្រ សៅរ៍".split(" "),weekdaysShort:"អាទិត្យ ច័ន្ទ អង្គារ ពុធ ព្រហស្បតិ៍ សុក្រ សៅរ៍".split(" "),weekdaysMin:"អាទិត្យ ច័ន្ទ អង្គារ ពុធ ព្រហស្បតិ៍ សុក្រ សៅរ៍".split(" "),
longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ថ្ងៃនៈ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}}),
a.defineLocale("ko",{months:"1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월".split(" "),monthsShort:"1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월".split(" "),weekdays:"일요일 월요일 화요일 수요일 목요일 금요일 토요일".split(" "),weekdaysShort:"일월화수목금토".split(""),weekdaysMin:"일월화수목금토".split(""),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h시 m분",LLLL:"YYYY년 MMMM D일 dddd A h시 m분"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",
sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇초",ss:"%d초",m:"일분",mm:"%d분",h:"한시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한달",MM:"%d달",y:"일년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(a){return"오후"===a},meridiem:function(a,b,c){return 12>a?"오전":"오후"}}),a.defineLocale("lb",{months:"Januar Februar Mäerz Abrëll Mee Juni Juli August September Oktober November Dezember".split(" "),monthsShort:"Jan. Febr. Mrz. Abr. Mee Jun. Jul. Aug. Sept. Okt. Nov. Dez.".split(" "),
weekdays:"Sonndeg Méindeg Dënschdeg Mëttwoch Donneschdeg Freideg Samschdeg".split(" "),weekdaysShort:"So. Mé. Dë. Më. Do. Fr. Sa.".split(" "),weekdaysMin:"So Mé Dë Më Do Fr Sa".split(" "),longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";
default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(a){var b=a.substr(0,a.indexOf(" "));return qb(b)?"a "+a:"an "+a},past:function(a){var b=a.substr(0,a.indexOf(" "));return qb(b)?"viru "+a:"virun "+a},s:"e puer Sekonnen",m:Jb,mm:"%d Minutten",h:Jb,hh:"%d Stonnen",d:Jb,dd:"%d Deeg",M:Jb,MM:"%d Méint",y:Jb,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",
d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"}),Cd="sekmadienis pirmadienis antradienis trečiadienis ketvirtadienis penktadienis šeštadienis".split(" "),Mc=(a.defineLocale("lt",{months:function(a,b){return{nominative:"sausis vasaris kovas balandis gegužė birželis liepa rugpjūtis rugsėjis spalis lapkritis gruodis".split(" "),accusative:"sausio vasario kovo balandžio gegužės birželio liepos rugpjūčio rugsėjo spalio lapkričio gruodžio".split(" ")}[/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(b)?
"accusative":"nominative"][a.month()]},monthsShort:"sau vas kov bal geg bir lie rgp rgs spa lap grd".split(" "),weekdays:function(a,b){var c=-1===b.indexOf("dddd HH:mm"),d=Cd[a.day()];return c?d:d.substring(0,d.length-2)+"į"},weekdaysShort:"Sek Pir Ant Tre Ket Pen Šeš".split(" "),weekdaysMin:"S P A T K Pn Š".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",
ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(a,b,c,d){return b?"kelios sekundės":d?"kelių sekundžių":"kelias sekundes"},m:wb,mm:Fb,h:wb,hh:Fb,d:wb,dd:Fb,M:wb,MM:Fb,y:wb,yy:Fb},ordinalParse:/\d{1,2}-oji/,ordinal:function(a){return a+"-oji"},
week:{dow:1,doy:4}}),{m:["minūtes","minūtēm","minūte","minūtes"],mm:["minūtes","minūtēm","minūte","minūtes"],h:["stundas","stundām","stunda","stundas"],hh:["stundas","stundām","stunda","stundas"],d:["dienas","dienām","diena","dienas"],dd:["dienas","dienām","diena","dienas"],M:["mēneša","mēnešiem","mēnesis","mēneši"],MM:["mēneša","mēnešiem","mēnesis","mēneši"],y:["gada","gadiem","gads","gadi"],yy:["gada","gadiem","gads","gadi"]}),ob=(a.defineLocale("lv",{months:"janvāris februāris marts aprīlis maijs jūnijs jūlijs augusts septembris oktobris novembris decembris".split(" "),
monthsShort:"jan feb mar apr mai jūn jūl aug sep okt nov dec".split(" "),weekdays:"svētdiena pirmdiena otrdiena trešdiena ceturtdiena piektdiena sestdiena".split(" "),weekdaysShort:"Sv P O T C Pk S".split(" "),weekdaysMin:"Sv P O T C Pk S".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",
lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(a,b){return b?"dažas sekundes":"dažām sekundēm"},m:xb,mm:Kb,h:xb,hh:Kb,d:xb,dd:Kb,M:xb,MM:Kb,y:xb,yy:Kb},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina",
"godine","godina"]},correctGrammaticalCase:function(a,b){return 1===a?b[0]:2<=a&&4>=a?b[1]:b[2]},translate:function(a,b,c){var d=ob.words[c];return 1===c.length?b?d[0]:d[1]:a+" "+ob.correctGrammaticalCase(a,d)}}),Dd=(a.defineLocale("me",{months:"januar februar mart april maj jun jul avgust septembar oktobar novembar decembar".split(" "),monthsShort:"jan. feb. mar. apr. maj jun jul avg. sep. okt. nov. dec.".split(" "),weekdays:"nedjelja ponedjeljak utorak srijeda četvrtak petak subota".split(" "),
weekdaysShort:"ned. pon. uto. sri. čet. pet. sub.".split(" "),weekdaysMin:"ne po ut sr če pe su".split(" "),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",
lastWeek:function(){return"[prošle] [nedjelje] [u] LT;[prošlog] [ponedjeljka] [u] LT;[prošlog] [utorka] [u] LT;[prošle] [srijede] [u] LT;[prošlog] [četvrtka] [u] LT;[prošlog] [petka] [u] LT;[prošle] [subote] [u] LT".split(";")[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:ob.translate,mm:ob.translate,h:ob.translate,hh:ob.translate,d:"dan",dd:ob.translate,M:"mjesec",MM:ob.translate,y:"godinu",yy:ob.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,
doy:7}}),a.defineLocale("mk",{months:"јануари февруари март април мај јуни јули август септември октомври ноември декември".split(" "),monthsShort:"јан фев мар апр мај јун јул авг сеп окт ное дек".split(" "),weekdays:"недела понеделник вторник среда четврток петок сабота".split(" "),weekdaysShort:"нед пон вто сре чет пет саб".split(" "),weekdaysMin:"нe пo вт ср че пе сa".split(" "),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},
calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Во изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Во изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
ordinal:function(a){var b=a%10,c=a%100;return 0===a?a+"-ев":0===c?a+"-ен":10<c&&20>c?a+"-ти":1===b?a+"-ви":2===b?a+"-ри":7===b||8===b?a+"-ми":a+"-ти"},week:{dow:1,doy:7}}),a.defineLocale("ml",{months:"ജനുവരി ഫെബ്രുവരി മാർച്ച് ഏപ്രിൽ മേയ് ജൂൺ ജൂലൈ ഓഗസ്റ്റ് സെപ്റ്റംബർ ഒക്ടോബർ നവംബർ ഡിസംബർ".split(" "),monthsShort:"ജനു. ഫെബ്രു. മാർ. ഏപ്രി. മേയ് ജൂൺ ജൂലൈ. ഓഗ. സെപ്റ്റ. ഒക്ടോ. നവം. ഡിസം.".split(" "),weekdays:"ഞായറാഴ്ച തിങ്കളാഴ്ച ചൊവ്വാഴ്ച ബുധനാഴ്ച വ്യാഴാഴ്ച വെള്ളിയാഴ്ച ശനിയാഴ്ച".split(" "),weekdaysShort:"ഞായർ തിങ്കൾ ചൊവ്വ ബുധൻ വ്യാഴം വെള്ളി ശനി".split(" "),
weekdaysMin:"ഞാ തി ചൊ ബു വ്യാ വെ ശ".split(" "),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",
MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,isPM:function(a){return/^(ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി)$/.test(a)},meridiem:function(a,b,c){return 4>a?"രാത്രി":12>a?"രാവിലെ":17>a?"ഉച്ച കഴിഞ്ഞ്":20>a?"വൈകുന്നേരം":"രാത്രി"}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"}),Vc={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},ad=(a.defineLocale("mr",{months:"जानेवारी फेब्रुवारी मार्च एप्रिल मे जून जुलै ऑगस्ट सप्टेंबर ऑक्टोबर नोव्हेंबर डिसेंबर".split(" "),
monthsShort:"जाने. फेब्रु. मार्च. एप्रि. मे. जून. जुलै. ऑग. सप्टें. ऑक्टो. नोव्हें. डिसें.".split(" "),weekdays:"रविवार सोमवार मंगळवार बुधवार गुरूवार शुक्रवार शनिवार".split(" "),weekdaysShort:"रवि सोम मंगळ बुध गुरू शुक्र शनि".split(" "),weekdaysMin:"र सो मं बु गु शु श".split(" "),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",
lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%s नंतर",past:"%s पूर्वी",s:"सेकंद",m:"एक मिनिट",mm:"%d मिनिटे",h:"एक तास",hh:"%d तास",d:"एक दिवस",dd:"%d दिवस",M:"एक महिना",MM:"%d महिने",y:"एक वर्ष",yy:"%d वर्षे"},preparse:function(a){return a.replace(/[१२३४५६७८९०]/g,function(a){return Vc[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return Dd[a]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(a,b){return 12===a&&(a=0),"रात्री"===
b?4>a?a:a+12:"सकाळी"===b?a:"दुपारी"===b?10<=a?a:a+12:"सायंकाळी"===b?a+12:void 0},meridiem:function(a,b,c){return 4>a?"रात्री":10>a?"सकाळी":17>a?"दुपारी":20>a?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}}),a.defineLocale("ms-my",{months:"Januari Februari Mac April Mei Jun Julai Ogos September Oktober November Disember".split(" "),monthsShort:"Jan Feb Mac Apr Mei Jun Jul Ogs Sep Okt Nov Dis".split(" "),weekdays:"Ahad Isnin Selasa Rabu Khamis Jumaat Sabtu".split(" "),weekdaysShort:"Ahd Isn Sel Rab Kha Jum Sab".split(" "),
weekdaysMin:"Ah Is Sl Rb Km Jm Sb".split(" "),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(a,b){return 12===a&&(a=0),"pagi"===b?a:"tengahari"===b?11<=a?a:a+12:"petang"===b||"malam"===b?a+12:void 0},meridiem:function(a,b,c){return 11>a?"pagi":15>a?"tengahari":19>a?"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}}),a.defineLocale("ms",{months:"Januari Februari Mac April Mei Jun Julai Ogos September Oktober November Disember".split(" "),monthsShort:"Jan Feb Mac Apr Mei Jun Jul Ogs Sep Okt Nov Dis".split(" "),
weekdays:"Ahad Isnin Selasa Rabu Khamis Jumaat Sabtu".split(" "),weekdaysShort:"Ahd Isn Sel Rab Kha Jum Sab".split(" "),weekdaysMin:"Ah Is Sl Rb Km Jm Sb".split(" "),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(a,b){return 12===a&&(a=0),"pagi"===b?a:"tengahari"===b?11<=a?a:a+12:"petang"===b||"malam"===b?a+12:void 0},meridiem:function(a,
b,c){return 11>a?"pagi":15>a?"tengahari":19>a?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),{1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",
0:"၀"}),$c={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},Ed=(a.defineLocale("my",{months:"ဇန်နဝါရီ ဖေဖော်ဝါရီ မတ် ဧပြီ မေ ဇွန် ဇူလိုင် သြဂုတ် စက်တင်ဘာ အောက်တိုဘာ နိုဝင်ဘာ ဒီဇင်ဘာ".split(" "),monthsShort:"ဇန် ဖေ မတ် ပြီ မေ ဇွန် လိုင် သြ စက် အောက် နို ဒီ".split(" "),weekdays:"တနင်္ဂနွေ တနင်္လာ အင်္ဂါ ဗုဒ္ဓဟူး ကြာသပတေး သောကြာ စနေ".split(" "),weekdaysShort:"နွေ လာ ဂါ ဟူး ကြာ သော နေ".split(" "),weekdaysMin:"နွေ လာ ဂါ ဟူး ကြာ သော နေ".split(" "),longDateFormat:{LT:"HH:mm",
LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(a){return a.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,
function(a){return $c[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return ad[a]})},week:{dow:1,doy:4}}),a.defineLocale("nb",{months:"januar februar mars april mai juni juli august september oktober november desember".split(" "),monthsShort:"jan feb mar apr mai jun jul aug sep okt nov des".split(" "),weekdays:"søndag mandag tirsdag onsdag torsdag fredag lørdag".split(" "),weekdaysShort:"søn man tirs ons tors fre lør".split(" "),weekdaysMin:"sø ma ti on to fr lø".split(" "),longDateFormat:{LT:"H.mm",
LTS:"H.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H.mm",LLLL:"dddd D. MMMM YYYY [kl.] H.mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"for %s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}\./,
ordinal:"%d.",week:{dow:1,doy:4}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"}),Fd={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},Gd=(a.defineLocale("ne",{months:"जनवरी फेब्रुवरी मार्च अप्रिल मई जुन जुलाई अगष्ट सेप्टेम्बर अक्टोबर नोभेम्बर डिसेम्बर".split(" "),monthsShort:"जन. फेब्रु. मार्च अप्रि. मई जुन जुलाई. अग. सेप्ट. अक्टो. नोभे. डिसे.".split(" "),weekdays:"आइतबार सोमबार मङ्गलबार बुधबार बिहिबार शुक्रबार शनिबार".split(" "),weekdaysShort:"आइत. सोम. मङ्गल. बुध. बिहि. शुक्र. शनि.".split(" "),
weekdaysMin:"आइ. सो. मङ् बु. बि. शु. श.".split(" "),longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(a){return a.replace(/[१२३४५६७८९०]/g,function(a){return Fd[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return Ed[a]})},meridiemParse:/राती|बिहान|दिउँसो|बेलुका|साँझ|राती/,meridiemHour:function(a,b){return 12===a&&(a=0),"राती"===b?3>a?a:a+12:"बिहान"===b?
a:"दिउँसो"===b?10<=a?a:a+12:"बेलुका"===b||"साँझ"===b?a+12:void 0},meridiem:function(a,b,c){return 3>a?"राती":10>a?"बिहान":15>a?"दिउँसो":18>a?"बेलुका":20>a?"साँझ":"राती"},calendar:{sameDay:"[आज] LT",nextDay:"[भोली] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडी",s:"केही समय",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:1,
doy:7}}),"jan. feb. mrt. apr. mei jun. jul. aug. sep. okt. nov. dec.".split(" ")),Hd="jan feb mrt apr mei jun jul aug sep okt nov dec".split(" "),Cc=(a.defineLocale("nl",{months:"januari februari maart april mei juni juli augustus september oktober november december".split(" "),monthsShort:function(a,b){return/-MMM-/.test(b)?Hd[a.month()]:Gd[a.month()]},weekdays:"zondag maandag dinsdag woensdag donderdag vrijdag zaterdag".split(" "),weekdaysShort:"zo. ma. di. wo. do. vr. za.".split(" "),weekdaysMin:"Zo Ma Di Wo Do Vr Za".split(" "),
longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,
ordinal:function(a){return a+(1===a||8===a||20<=a?"ste":"de")},week:{dow:1,doy:4}}),a.defineLocale("nn",{months:"januar februar mars april mai juni juli august september oktober november desember".split(" "),monthsShort:"jan feb mar apr mai jun jul aug sep okt nov des".split(" "),weekdays:"sundag måndag tysdag onsdag torsdag fredag laurdag".split(" "),weekdaysShort:"sun mån tys ons tor fre lau".split(" "),weekdaysMin:"su må ty on to fr lø".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",
LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"for %s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,
doy:4}}),"styczeń luty marzec kwiecień maj czerwiec lipiec sierpień wrzesień październik listopad grudzień".split(" ")),Dc="stycznia lutego marca kwietnia maja czerwca lipca sierpnia września października listopada grudnia".split(" "),Ec=(a.defineLocale("pl",{months:function(a,b){return""===b?"("+Dc[a.month()]+"|"+Cc[a.month()]+")":/D MMMM/.test(b)?Dc[a.month()]:Cc[a.month()]},monthsShort:"sty lut mar kwi maj cze lip sie wrz paź lis gru".split(" "),weekdays:"niedziela poniedziałek wtorek środa czwartek piątek sobota".split(" "),
weekdaysShort:"nie pon wt śr czw pt sb".split(" "),weekdaysMin:"N Pn Wt Śr Cz Pt So".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},
sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:Ga,mm:Ga,h:Ga,hh:Ga,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:Ga,y:"rok",yy:Ga},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("pt-br",{months:"Janeiro Fevereiro Março Abril Maio Junho Julho Agosto Setembro Outubro Novembro Dezembro".split(" "),monthsShort:"Jan Fev Mar Abr Mai Jun Jul Ago Set Out Nov Dez".split(" "),weekdays:"Domingo Segunda-Feira Terça-Feira Quarta-Feira Quinta-Feira Sexta-Feira Sábado".split(" "),
weekdaysShort:"Dom Seg Ter Qua Qui Sex Sáb".split(" "),weekdaysMin:"Dom 2ª 3ª 4ª 5ª 6ª Sáb".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",
past:"%s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº"}),a.defineLocale("pt",{months:"Janeiro Fevereiro Março Abril Maio Junho Julho Agosto Setembro Outubro Novembro Dezembro".split(" "),monthsShort:"Jan Fev Mar Abr Mai Jun Jul Ago Set Out Nov Dez".split(" "),weekdays:"Domingo Segunda-Feira Terça-Feira Quarta-Feira Quinta-Feira Sexta-Feira Sábado".split(" "),
weekdaysShort:"Dom Seg Ter Qua Qui Sex Sáb".split(" "),weekdaysMin:"Dom 2ª 3ª 4ª 5ª 6ª Sáb".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",
past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),a.defineLocale("ro",{months:"ianuarie februarie martie aprilie mai iunie iulie august septembrie octombrie noiembrie decembrie".split(" "),monthsShort:"ian. febr. mart. apr. mai iun. iul. aug. sept. oct. nov. dec.".split(" "),weekdays:"duminică luni marți miercuri joi vineri sâmbătă".split(" "),
weekdaysShort:"Dum Lun Mar Mie Joi Vin Sâm".split(" "),weekdaysMin:"Du Lu Ma Mi Jo Vi Sâ".split(" "),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:eb,h:"o oră",hh:eb,d:"o zi",dd:eb,M:"o lună",
MM:eb,y:"un an",yy:eb},week:{dow:1,doy:7}}),a.defineLocale("ru",{months:function(a,b){return{nominative:"январь февраль март апрель май июнь июль август сентябрь октябрь ноябрь декабрь".split(" "),accusative:"января февраля марта апреля мая июня июля августа сентября октября ноября декабря".split(" ")}[/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(b)?"accusative":"nominative"][a.month()]},monthsShort:function(a,b){return{nominative:"янв фев март апр май июнь июль авг сен окт ноя дек".split(" "),accusative:"янв фев мар апр мая июня июля авг сен окт ноя дек".split(" ")}[/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(b)?
"accusative":"nominative"][a.month()]},weekdays:function(a,b){return{nominative:"воскресенье понедельник вторник среда четверг пятница суббота".split(" "),accusative:"воскресенье понедельник вторник среду четверг пятницу субботу".split(" ")}[/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/.test(b)?"accusative":"nominative"][a.day()]},weekdaysShort:"вс пн вт ср чт пт сб".split(" "),weekdaysMin:"вс пн вт ср чт пт сб".split(" "),monthsParse:[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[й|я]/i,/^июн/i,/^июл/i,
/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(){return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT"},lastWeek:function(a){if(a.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:yb,mm:yb,h:"час",hh:yb,d:"день",dd:yb,M:"месяц",MM:yb,y:"год",yy:yb},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(a){return/^(дня|вечера)$/.test(a)},meridiem:function(a,b,c){return 4>a?"ночи":12>a?"утра":17>a?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(a,b){switch(b){case "M":case "d":case "DDD":return a+
"-й";case "D":return a+"-го";case "w":case "W":return a+"-я";default:return a}},week:{dow:1,doy:7}}),a.defineLocale("si",{months:"ජනවාරි පෙබරවාරි මාර්තු අප්‍රේල් මැයි ජූනි ජූලි අගෝස්තු සැප්තැම්බර් ඔක්තෝබර් නොවැම්බර් දෙසැම්බර්".split(" "),monthsShort:"ජන පෙබ මාර් අප් මැයි ජූනි ජූලි අගෝ සැප් ඔක් නොවැ දෙසැ".split(" "),weekdays:"ඉරිදා සඳුදා අඟහරුවාදා බදාදා බ්‍රහස්පතින්දා සිකුරාදා සෙනසුරාදා".split(" "),weekdaysShort:"ඉරි සඳු අඟ බදා බ්‍රහ සිකු සෙන".split(" "),weekdaysMin:"ඉ ස අ බ බ්‍ර සි සෙ".split(" "),
longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},ordinalParse:/\d{1,2} වැනි/,ordinal:function(a){return a+
" වැනි"},meridiem:function(a,b,c){return 11<a?c?"ප.ව.":"පස් වරු":c?"පෙ.ව.":"පෙර වරු"}}),"január február marec apríl máj jún júl august september október november december".split(" ")),Fc="jan feb mar apr máj jún júl aug sep okt nov dec".split(" "),lb=(a.defineLocale("sk",{months:Ec,monthsShort:Fc,monthsParse:function(a,b){var c,d=[];for(c=0;12>c;c++)d[c]=new RegExp("^"+a[c]+"$|^"+b[c]+"$","i");return d}(Ec,Fc),weekdays:"nedeľa pondelok utorok streda štvrtok piatok sobota".split(" "),weekdaysShort:"ne po ut st št pi so".split(" "),
weekdaysMin:"ne po ut st št pi so".split(" "),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";
case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:wa,m:wa,mm:wa,h:wa,hh:wa,d:wa,dd:wa,M:wa,MM:wa,y:wa,yy:wa},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("sl",{months:"januar februar marec april maj junij julij avgust september oktober november december".split(" "),monthsShort:"jan. feb. mar. apr. maj. jun. jul. avg. sep. okt. nov. dec.".split(" "),
weekdays:"nedelja ponedeljek torek sreda četrtek petek sobota".split(" "),weekdaysShort:"ned. pon. tor. sre. čet. pet. sob.".split(" "),weekdaysMin:"ne po to sr če pe so".split(" "),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";
case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:Ja,m:Ja,mm:Ja,h:Ja,hh:Ja,d:Ja,dd:Ja,M:Ja,MM:Ja,y:Ja,yy:Ja},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),a.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(a){return"M"===a.charAt(0)},meridiem:function(a,b,c){return 12>a?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",
L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{words:{m:["један минут",
"једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(a,b){return 1===a?b[0]:2<=a&&4>=a?b[1]:b[2]},translate:function(a,b,c){var d=lb.words[c];return 1===c.length?b?d[0]:d[1]:a+" "+lb.correctGrammaticalCase(a,d)}}),mb=(a.defineLocale("sr-cyrl",{months:"јануар фебруар март април мај јун јул август септембар октобар новембар децембар".split(" "),
monthsShort:"јан. феб. мар. апр. мај јун јул авг. сеп. окт. нов. дец.".split(" "),weekdays:"недеља понедељак уторак среда четвртак петак субота".split(" "),weekdaysShort:"нед. пон. уто. сре. чет. пет. суб.".split(" "),weekdaysMin:"не по ут ср че пе су".split(" "),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] 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(){return"[прошле] [недеље] [у] LT;[прошлог] [понедељка] [у] LT;[прошлог] [уторка] [у] LT;[прошле] [среде] [у] LT;[прошлог] [четвртка] [у] LT;[прошлог] [петка] [у] LT;[прошле] [суботе] [у] LT".split(";")[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:lb.translate,mm:lb.translate,h:lb.translate,
hh:lb.translate,d:"дан",dd:lb.translate,M:"месец",MM:lb.translate,y:"годину",yy:lb.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),{words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(a,b){return 1===a?b[0]:2<=a&&4>=a?b[1]:b[2]},translate:function(a,b,c){var d=mb.words[c];return 1===
c.length?b?d[0]:d[1]:a+" "+mb.correctGrammaticalCase(a,d)}}),vc=(a.defineLocale("sr",{months:"januar februar mart april maj jun jul avgust septembar oktobar novembar decembar".split(" "),monthsShort:"jan. feb. mar. apr. maj jun jul avg. sep. okt. nov. dec.".split(" "),weekdays:"nedelja ponedeljak utorak sreda četvrtak petak subota".split(" "),weekdaysShort:"ned. pon. uto. sre. čet. pet. sub.".split(" "),weekdaysMin:"ne po ut sr če pe su".split(" "),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",
LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return"[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".split(";")[this.day()]},
sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:mb.translate,mm:mb.translate,h:mb.translate,hh:mb.translate,d:"dan",dd:mb.translate,M:"mesec",MM:mb.translate,y:"godinu",yy:mb.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),a.defineLocale("sv",{months:"januari februari mars april maj juni juli augusti september oktober november december".split(" "),monthsShort:"jan feb mar apr maj jun jul aug sep okt nov dec".split(" "),weekdays:"söndag måndag tisdag onsdag torsdag fredag lördag".split(" "),
weekdaysShort:"sön mån tis ons tor fre lör".split(" "),weekdaysMin:"sö må ti on to fr lö".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",
dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(a){var b=a%10;return a+(1===~~(a%100/10)?"e":1===b?"a":2===b?"a":"e")},week:{dow:1,doy:4}}),a.defineLocale("ta",{months:"ஜனவரி பிப்ரவரி மார்ச் ஏப்ரல் மே ஜூன் ஜூலை ஆகஸ்ட் செப்டெம்பர் அக்டோபர் நவம்பர் டிசம்பர்".split(" "),monthsShort:"ஜனவரி பிப்ரவரி மார்ச் ஏப்ரல் மே ஜூன் ஜூலை ஆகஸ்ட் செப்டெம்பர் அக்டோபர் நவம்பர் டிசம்பர்".split(" "),weekdays:"ஞாயிற்றுக்கிழமை திங்கட்கிழமை செவ்வாய்கிழமை புதன்கிழமை வியாழக்கிழமை வெள்ளிக்கிழமை சனிக்கிழமை".split(" "),
weekdaysShort:"ஞாயிறு திங்கள் செவ்வாய் புதன் வியாழன் வெள்ளி சனி".split(" "),weekdaysMin:"ஞா தி செ பு வி வெ ச".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",
hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalParse:/\d{1,2}வது/,ordinal:function(a){return a+"வது"},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(a,b,c){return 2>a?" யாமம்":6>a?" வைகறை":10>a?" காலை":14>a?" நண்பகல்":18>a?" எற்பாடு":22>a?" மாலை":" யாமம்"},meridiemHour:function(a,b){return 12===a&&(a=0),"யாமம்"===b?2>a?a:a+12:"வைகறை"===b||"காலை"===b?a:"நண்பகல்"===b&&10<=a?a:a+12},week:{dow:0,doy:6}}),a.defineLocale("th",
{months:"มกราคม กุมภาพันธ์ มีนาคม เมษายน พฤษภาคม มิถุนายน กรกฎาคม สิงหาคม กันยายน ตุลาคม พฤศจิกายน ธันวาคม".split(" "),monthsShort:"มกรา กุมภา มีนา เมษา พฤษภา มิถุนา กรกฎา สิงหา กันยา ตุลา พฤศจิกา ธันวา".split(" "),weekdays:"อาทิตย์ จันทร์ อังคาร พุธ พฤหัสบดี ศุกร์ เสาร์".split(" "),weekdaysShort:"อาทิตย์ จันทร์ อังคาร พุธ พฤหัส ศุกร์ เสาร์".split(" "),weekdaysMin:"อา. จ. อ. พ. พฤ. ศ. ส.".split(" "),longDateFormat:{LT:"H นาฬิกา m นาที",LTS:"H นาฬิกา m นาที s วินาที",L:"YYYY/MM/DD",LL:"D MMMM YYYY",
LLL:"D MMMM YYYY เวลา H นาฬิกา m นาที",LLLL:"วันddddที่ D MMMM YYYY เวลา H นาฬิกา m นาที"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(a){return"หลังเที่ยง"===a},meridiem:function(a,b,c){return 12>a?"ก่อนเที่ยง":"หลังเที่ยง"},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 ปี"}}),a.defineLocale("tl-ph",{months:"Enero Pebrero Marso Abril Mayo Hunyo Hulyo Agosto Setyembre Oktubre Nobyembre Disyembre".split(" "),monthsShort:"Ene Peb Mar Abr May Hun Hul Ago Set Okt Nob Dis".split(" "),weekdays:"Linggo Lunes Martes Miyerkules Huwebes Biyernes Sabado".split(" "),weekdaysShort:"Lin Lun Mar Miy Huw Biy Sab".split(" "),weekdaysMin:"Li Lu Ma Mi Hu Bi Sab".split(" "),longDateFormat:{LT:"HH:mm",
LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"[Ngayon sa] LT",nextDay:"[Bukas sa] LT",nextWeek:"dddd [sa] LT",lastDay:"[Kahapon sa] LT",lastWeek:"dddd [huling linggo] LT",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,
ordinal:function(a){return a},week:{dow:1,doy:4}}),{1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"}),Gc=(a.defineLocale("tr",{months:"Ocak Şubat Mart Nisan Mayıs Haziran Temmuz Ağustos Eylül Ekim Kasım Aralık".split(" "),monthsShort:"Oca Şub Mar Nis May Haz Tem Ağu Eyl Eki Kas Ara".split(" "),weekdays:"Pazar Pazartesi Salı Çarşamba Perşembe Cuma Cumartesi".split(" "),
weekdaysShort:"Paz Pts Sal Çar Per Cum Cts".split(" "),weekdaysMin:"Pz Pt Sa Ça Pe Cu Ct".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",
hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(a){if(0===a)return a+"'ıncı";var b=a%10;return a+(vc[b]||vc[a%100-b]||vc[100<=a?100:null])},week:{dow:1,doy:7}}),a.defineLocale("tzl",{months:"Januar Fevraglh Març Avrïu Mai Gün Julia Guscht Setemvar Listopäts Noemvar Zecemvar".split(" "),monthsShort:"Jan Fev Mar Avr Mai Gün Jul Gus Set Lis Noe Zec".split(" "),weekdays:"Súladi Lúneçi Maitzi Márcuri Xhúadi Viénerçi Sáturi".split(" "),
weekdaysShort:"Súl Lún Mai Már Xhú Vié Sát".split(" "),weekdaysMin:"Sú Lú Ma Má Xh Vi Sá".split(" "),longDateFormat:{LT:"HH.mm",LTS:"LT.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY LT",LLLL:"dddd, [li] D. MMMM [dallas] YYYY LT"},meridiem:function(a,b,c){return 11<a?c?"d'o":"D'O":c?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",
past:"ja%s",s:qa,m:qa,mm:qa,h:qa,hh:qa,d:qa,dd:qa,M:qa,MM:qa,y:qa,yy:qa},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("tzm-latn",{months:"innayr brˤayrˤ marˤsˤ ibrir mayyw ywnyw ywlywz ɣwšt šwtanbir ktˤwbrˤ nwwanbir dwjnbir".split(" "),monthsShort:"innayr brˤayrˤ marˤsˤ ibrir mayyw ywnyw ywlywz ɣwšt šwtanbir ktˤwbrˤ nwwanbir dwjnbir".split(" "),weekdays:"asamas aynas asinas akras akwas asimwas asiḍyas".split(" "),weekdaysShort:"asamas aynas asinas akras akwas asimwas asiḍyas".split(" "),
weekdaysMin:"asamas aynas asinas akras akwas asimwas asiḍyas".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",
yy:"%d isgasn"},week:{dow:6,doy:12}}),a.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ ⴱⵕⴰⵢⵕ ⵎⴰⵕⵚ ⵉⴱⵔⵉⵔ ⵎⴰⵢⵢⵓ ⵢⵓⵏⵢⵓ ⵢⵓⵍⵢⵓⵣ ⵖⵓⵛⵜ ⵛⵓⵜⴰⵏⴱⵉⵔ ⴽⵟⵓⴱⵕ ⵏⵓⵡⴰⵏⴱⵉⵔ ⴷⵓⵊⵏⴱⵉⵔ".split(" "),monthsShort:"ⵉⵏⵏⴰⵢⵔ ⴱⵕⴰⵢⵕ ⵎⴰⵕⵚ ⵉⴱⵔⵉⵔ ⵎⴰⵢⵢⵓ ⵢⵓⵏⵢⵓ ⵢⵓⵍⵢⵓⵣ ⵖⵓⵛⵜ ⵛⵓⵜⴰⵏⴱⵉⵔ ⴽⵟⵓⴱⵕ ⵏⵓⵡⴰⵏⴱⵉⵔ ⴷⵓⵊⵏⴱⵉⵔ".split(" "),weekdays:"ⴰⵙⴰⵎⴰⵙ ⴰⵢⵏⴰⵙ ⴰⵙⵉⵏⴰⵙ ⴰⴽⵔⴰⵙ ⴰⴽⵡⴰⵙ ⴰⵙⵉⵎⵡⴰⵙ ⴰⵙⵉⴹⵢⴰⵙ".split(" "),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ ⴰⵢⵏⴰⵙ ⴰⵙⵉⵏⴰⵙ ⴰⴽⵔⴰⵙ ⴰⴽⵡⴰⵙ ⴰⵙⵉⵎⵡⴰⵙ ⴰⵙⵉⴹⵢⴰⵙ".split(" "),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ ⴰⵢⵏⴰⵙ ⴰⵙⵉⵏⴰⵙ ⴰⴽⵔⴰⵙ ⴰⴽⵡⴰⵙ ⴰⵙⵉⵎⵡⴰⵙ ⴰⵙⵉⴹⵢⴰⵙ".split(" "),longDateFormat:{LT:"HH:mm",
LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}}),a.defineLocale("uk",{months:function(a,b){return{nominative:"січень лютий березень квітень травень червень липень серпень вересень жовтень листопад грудень".split(" "),
accusative:"січня лютого березня квітня травня червня липня серпня вересня жовтня листопада грудня".split(" ")}[/D[oD]? *MMMM?/.test(b)?"accusative":"nominative"][a.month()]},monthsShort:"січ лют бер квіт трав черв лип серп вер жовт лист груд".split(" "),weekdays:function(a,b){return{nominative:"неділя понеділок вівторок середа четвер п’ятниця субота".split(" "),accusative:"неділю понеділок вівторок середу четвер п’ятницю суботу".split(" "),genitive:"неділі понеділка вівторка середи четверга п’ятниці суботи".split(" ")}[/(\[[ВвУу]\]) ?dddd/.test(b)?
"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(b)?"genitive":"nominative"][a.day()]},weekdaysShort:"нд пн вт ср чт пт сб".split(" "),weekdaysMin:"нд пн вт ср чт пт сб".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:zb("[Сьогодні "),nextDay:zb("[Завтра "),lastDay:zb("[Вчора "),nextWeek:zb("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return zb("[Минулої] dddd [").call(this);
case 1:case 2:case 4:return zb("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:Ka,mm:Ka,h:"годину",hh:Ka,d:"день",dd:Ka,M:"місяць",MM:Ka,y:"рік",yy:Ka},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(a){return/^(дня|вечора)$/.test(a)},meridiem:function(a,b,c){return 4>a?"ночі":12>a?"ранку":17>a?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(a,b){switch(b){case "M":case "d":case "DDD":case "w":case "W":return a+"-й";
case "D":return a+"-го";default:return a}},week:{dow:1,doy:7}}),a.defineLocale("uz",{months:"январь февраль март апрель май июнь июль август сентябрь октябрь ноябрь декабрь".split(" "),monthsShort:"янв фев мар апр май июн июл авг сен окт ноя дек".split(" "),weekdays:"Якшанба Душанба Сешанба Чоршанба Пайшанба Жума Шанба".split(" "),weekdaysShort:"Якш Душ Сеш Чор Пай Жум Шан".split(" "),weekdaysMin:"Як Ду Се Чо Па Жу Ша".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",
LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}}),a.defineLocale("vi",{months:"tháng 1;tháng 2;tháng 3;tháng 4;tháng 5;tháng 6;tháng 7;tháng 8;tháng 9;tháng 10;tháng 11;tháng 12".split(";"),
monthsShort:"Th01 Th02 Th03 Th04 Th05 Th06 Th07 Th08 Th09 Th10 Th11 Th12".split(" "),weekdays:"chủ nhật;thứ hai;thứ ba;thứ tư;thứ năm;thứ sáu;thứ bảy".split(";"),weekdaysShort:"CN T2 T3 T4 T5 T6 T7".split(" "),weekdaysMin:"CN T2 T3 T4 T5 T6 T7".split(" "),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",
nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinalParse:/\d{1,2}/,ordinal:function(a){return a},week:{dow:1,doy:4}}),a.defineLocale("zh-cn",{months:"一月 二月 三月 四月 五月 六月 七月 八月 九月 十月 十一月 十二月".split(" "),monthsShort:"1月 2月 3月 4月 5月 6月 7月 8月 9月 10月 11月 12月".split(" "),
weekdays:"星期日 星期一 星期二 星期三 星期四 星期五 星期六".split(" "),weekdaysShort:"周日 周一 周二 周三 周四 周五 周六".split(" "),weekdaysMin:"日一二三四五六".split(""),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,b){return 12===a&&(a=0),"凌晨"===b||"早上"===b||"上午"===b?a:"下午"===b||"晚上"===b?a+12:11<=a?a:a+12},meridiem:function(a,
b,c){a=100*a+b;return 600>a?"凌晨":900>a?"早上":1130>a?"上午":1230>a?"中午":1800>a?"下午":"晚上"},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 b,c;return b=a().startOf("week"),c=604800<=this.unix()-b.unix()?"[下]":"[本]",0===this.minutes()?c+"dddAh点整":c+"dddAh点mm"},lastWeek:function(){var b,c;return b=a().startOf("week"),
c=this.unix()<b.unix()?"[上]":"[本]",0===this.minutes()?c+"dddAh点整":c+"dddAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(a,b){switch(b){case "d":case "D":case "DDD":return a+"日";case "M":return a+"月";case "w":case "W":return a+"周";default:return a}},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}}),a.defineLocale("zh-tw",{months:"一月 二月 三月 四月 五月 六月 七月 八月 九月 十月 十一月 十二月".split(" "),
monthsShort:"1月 2月 3月 4月 5月 6月 7月 8月 9月 10月 11月 12月".split(" "),weekdays:"星期日 星期一 星期二 星期三 星期四 星期五 星期六".split(" "),weekdaysShort:"週日 週一 週二 週三 週四 週五 週六".split(" "),weekdaysMin:"日一二三四五六".split(""),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/早上|上午|中午|下午|晚上/,meridiemHour:function(a,b){return 12===a&&(a=0),"早上"===b||"上午"===b?a:
"中午"===b?11<=a?a:a+12:"下午"===b||"晚上"===b?a+12:void 0},meridiem:function(a,b,c){a=100*a+b;return 900>a?"早上":1130>a?"上午":1230>a?"中午":1800>a?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(a,b){switch(b){case "d":case "D":case "DDD":return a+"日";case "M":return a+"月";case "w":case "W":return a+"週";default:return a}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d分鐘",
h:"一小時",hh:"%d小時",d:"一天",dd:"%d天",M:"一個月",MM:"%d個月",y:"一年",yy:"%d年"}}),a);return Gc.locale("en"),Gc});
(function(a,q){if("function"===typeof define&&define.amd)define(["moment","jquery","exports"],function(e,d,b){a.daterangepicker=q(a,b,e,d)});else if("undefined"!==typeof exports){var p=require("moment"),h=window.jQuery;if(void 0===h)try{h=require("jquery")}catch(m){if(!h)throw Error("jQuery dependency not found");}q(a,exports,p,h)}else a.daterangepicker=q(a,{},a.moment||moment,a.jQuery||a.Zepto||a.ender||a.jq162)})(this,function(a,q,p,h){var m=function(a,d,b){this.parentEl="body";this.element=h(a);
this.startDate=p().startOf("day");this.endDate=p().endOf("day");this.timeZone=p().utcOffset();this.timePicker24Hour=this.timePicker=this.showWeekNumbers=this.showDropdowns=this.singleDatePicker=this.autoApply=this.dateLimit=this.maxDate=this.minDate=!1;this.timePickerIncrement=1;this.timePickerSeconds=!1;this.autoUpdateInput=this.linkedCalendars=!0;this.ranges={};this.opens="right";this.element.hasClass("pull-right")&&(this.opens="left");this.drops="down";this.element.hasClass("dropup")&&(this.drops=
"up");this.buttonClasses="btn btn-sm";this.applyClass="btn-success";this.cancelClass="btn-default";this.locale={format:"MM/DD/YYYY",separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:p.weekdaysMin(),monthNames:p.monthsShort(),firstDay:p.localeData().firstDayOfWeek()};this.callback=function(){};this.isShowing=!1;this.leftCalendar={};this.rightCalendar={};if("object"!==typeof d||null===d)d={};d=h.extend(this.element.data(),d);"string"!==
typeof d.template&&(d.template='\x3cdiv class\x3d"daterangepicker dropdown-menu"\x3e\x3cdiv class\x3d"calendar left"\x3e\x3cdiv class\x3d"daterangepicker_input"\x3e\x3cinput class\x3d"input-mini" type\x3d"text" name\x3d"daterangepicker_start" value\x3d"" /\x3e\x3ci class\x3d"fa fa-calendar glyphicon glyphicon-calendar"\x3e\x3c/i\x3e\x3cdiv class\x3d"calendar-time"\x3e\x3cdiv\x3e\x3c/div\x3e\x3ci class\x3d"fa fa-clock-o glyphicon glyphicon-time"\x3e\x3c/i\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"calendar-table"\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"calendar right"\x3e\x3cdiv class\x3d"daterangepicker_input"\x3e\x3cinput class\x3d"input-mini" type\x3d"text" name\x3d"daterangepicker_end" value\x3d"" /\x3e\x3ci class\x3d"fa fa-calendar glyphicon glyphicon-calendar"\x3e\x3c/i\x3e\x3cdiv class\x3d"calendar-time"\x3e\x3cdiv\x3e\x3c/div\x3e\x3ci class\x3d"fa fa-clock-o glyphicon glyphicon-time"\x3e\x3c/i\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"calendar-table"\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"ranges"\x3e\x3cdiv class\x3d"range_inputs"\x3e\x3cbutton class\x3d"applyBtn" disabled\x3d"disabled" type\x3d"button"\x3e\x3c/button\x3e \x3cbutton class\x3d"cancelBtn" type\x3d"button"\x3e\x3c/button\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e');
this.parentEl=d.parentEl&&h(d.parentEl).length?h(d.parentEl):h(this.parentEl);this.container=h(d.template).appendTo(this.parentEl);"object"===typeof d.locale&&("string"===typeof d.locale.format&&(this.locale.format=d.locale.format),"string"===typeof d.locale.separator&&(this.locale.separator=d.locale.separator),"object"===typeof d.locale.daysOfWeek&&(this.locale.daysOfWeek=d.locale.daysOfWeek.slice()),"object"===typeof d.locale.monthNames&&(this.locale.monthNames=d.locale.monthNames.slice()),"number"===
typeof d.locale.firstDay&&(this.locale.firstDay=d.locale.firstDay),"string"===typeof d.locale.applyLabel&&(this.locale.applyLabel=d.locale.applyLabel),"string"===typeof d.locale.cancelLabel&&(this.locale.cancelLabel=d.locale.cancelLabel),"string"===typeof d.locale.weekLabel&&(this.locale.weekLabel=d.locale.weekLabel),"string"===typeof d.locale.customRangeLabel&&(this.locale.customRangeLabel=d.locale.customRangeLabel));"string"===typeof d.startDate&&(this.startDate=p(d.startDate,this.locale.format));
"string"===typeof d.endDate&&(this.endDate=p(d.endDate,this.locale.format));"string"===typeof d.minDate&&(this.minDate=p(d.minDate,this.locale.format));"string"===typeof d.maxDate&&(this.maxDate=p(d.maxDate,this.locale.format));"object"===typeof d.startDate&&(this.startDate=p(d.startDate));"object"===typeof d.endDate&&(this.endDate=p(d.endDate));"object"===typeof d.minDate&&(this.minDate=p(d.minDate));"object"===typeof d.maxDate&&(this.maxDate=p(d.maxDate));this.minDate&&this.startDate.isBefore(this.minDate)&&
(this.startDate=this.minDate.clone());this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone());"string"===typeof d.applyClass&&(this.applyClass=d.applyClass);"string"===typeof d.cancelClass&&(this.cancelClass=d.cancelClass);"object"===typeof d.dateLimit&&(this.dateLimit=d.dateLimit);"string"===typeof d.opens&&(this.opens=d.opens);"string"===typeof d.drops&&(this.drops=d.drops);"boolean"===typeof d.showWeekNumbers&&(this.showWeekNumbers=d.showWeekNumbers);"string"===typeof d.buttonClasses&&
(this.buttonClasses=d.buttonClasses);"object"===typeof d.buttonClasses&&(this.buttonClasses=d.buttonClasses.join(" "));"boolean"===typeof d.showDropdowns&&(this.showDropdowns=d.showDropdowns);"boolean"===typeof d.singleDatePicker&&(this.singleDatePicker=d.singleDatePicker)&&(this.endDate=this.startDate.clone());"boolean"===typeof d.timePicker&&(this.timePicker=d.timePicker);"boolean"===typeof d.timePickerSeconds&&(this.timePickerSeconds=d.timePickerSeconds);"number"===typeof d.timePickerIncrement&&
(this.timePickerIncrement=d.timePickerIncrement);"boolean"===typeof d.timePicker24Hour&&(this.timePicker24Hour=d.timePicker24Hour);"boolean"===typeof d.autoApply&&(this.autoApply=d.autoApply);"boolean"===typeof d.autoUpdateInput&&(this.autoUpdateInput=d.autoUpdateInput);"boolean"===typeof d.linkedCalendars&&(this.linkedCalendars=d.linkedCalendars);"function"===typeof d.isInvalidDate&&(this.isInvalidDate=d.isInvalidDate);if(0!=this.locale.firstDay)for(a=this.locale.firstDay;0<a;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),
a--;var l,m;if("undefined"===typeof d.startDate&&"undefined"===typeof d.endDate&&h(this.element).is("input[type\x3dtext]")){var q=h(this.element).val(),I=q.split(this.locale.separator);a=l=null;2==I.length?(a=p(I[0],this.locale.format),l=p(I[1],this.locale.format)):this.singleDatePicker&&""!==q&&(a=p(q,this.locale.format),l=p(q,this.locale.format));null!==a&&null!==l&&(this.setStartDate(a),this.setEndDate(l))}"string"===typeof d.timeZone||"number"===typeof d.timeZone?(this.timeZone="string"===typeof d.timeZone&&
"undefined"!==typeof p.tz?-1*p.tz.zone(d.timeZone).parse(new Date):d.timeZone,this.startDate.utcOffset(this.timeZone),this.endDate.utcOffset(this.timeZone)):this.timeZone=p(this.startDate).utcOffset();if("object"===typeof d.ranges){for(m in d.ranges)a="string"===typeof d.ranges[m][0]?p(d.ranges[m][0],this.locale.format):p(d.ranges[m][0]),l="string"===typeof d.ranges[m][1]?p(d.ranges[m][1],this.locale.format):p(d.ranges[m][1]),this.minDate&&a.isBefore(this.minDate)&&(a=this.minDate.clone()),q=this.maxDate,
this.dateLimit&&a.clone().add(this.dateLimit).isAfter(q)&&(q=a.clone().add(this.dateLimit)),q&&l.isAfter(q)&&(l=q.clone()),this.minDate&&l.isBefore(this.minDate)||q&&a.isAfter(q)||(this.ranges[m]=[a,l]);a="\x3cul\x3e";for(m in this.ranges)a+="\x3cli\x3e"+m+"\x3c/li\x3e";a+="\x3cli\x3e"+this.locale.customRangeLabel+"\x3c/li\x3e";a+="\x3c/ul\x3e";this.container.find(".ranges ul").remove();this.container.find(".ranges").prepend(a)}"function"===typeof b&&(this.callback=b);this.timePicker||(this.startDate=
this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day"),this.container.find(".calendar-time").hide());this.timePicker&&this.autoApply&&(this.autoApply=!1);this.autoApply&&"object"!==typeof d.ranges?this.container.find(".ranges").hide():this.autoApply&&this.container.find(".applyBtn, .cancelBtn").addClass("hide");this.singleDatePicker&&(this.container.addClass("single"),this.container.find(".calendar.left").addClass("single"),this.container.find(".calendar.left").show(),this.container.find(".calendar.right").hide(),
this.container.find(".daterangepicker_input input, .daterangepicker_input i").hide(),this.timePicker||this.container.find(".ranges").hide());"undefined"!==typeof d.ranges||this.singleDatePicker||this.container.addClass("show-calendar");this.container.removeClass("opensleft opensright").addClass("opens"+this.opens);this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses);this.applyClass.length&&this.container.find(".applyBtn").addClass(this.applyClass);this.cancelClass.length&&this.container.find(".cancelBtn").addClass(this.cancelClass);
this.container.find(".applyBtn").html(this.locale.applyLabel);this.container.find(".cancelBtn").html(this.locale.cancelLabel);this.container.find(".calendar").on("click.daterangepicker",".prev",h.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",h.proxy(this.clickNext,this)).on("click.daterangepicker","td.available",h.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",h.proxy(this.hoverDate,this)).on("mouseleave.daterangepicker","td.available",h.proxy(this.updateFormInputs,
this)).on("change.daterangepicker","select.yearselect",h.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",h.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",h.proxy(this.timeChanged,this)).on("click.daterangepicker",".daterangepicker_input input",h.proxy(this.showCalendars,this)).on("change.daterangepicker",".daterangepicker_input input",h.proxy(this.formInputsChanged,
this));this.container.find(".ranges").on("click.daterangepicker","button.applyBtn",h.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",h.proxy(this.clickCancel,this)).on("click.daterangepicker","li",h.proxy(this.clickRange,this)).on("mouseenter.daterangepicker","li",h.proxy(this.hoverRange,this)).on("mouseleave.daterangepicker","li",h.proxy(this.updateFormInputs,this));if(this.element.is("input"))this.element.on({"click.daterangepicker":h.proxy(this.show,this),"focus.daterangepicker":h.proxy(this.show,
this),"keyup.daterangepicker":h.proxy(this.controlChanged,this),"keydown.daterangepicker":h.proxy(this.keydown,this)});else this.element.on("click.daterangepicker",h.proxy(this.toggle,this));this.element.is("input")&&!this.singleDatePicker&&this.autoUpdateInput?(this.element.val(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.element.trigger("change")):this.element.is("input")&&this.autoUpdateInput&&(this.element.val(this.startDate.format(this.locale.format)),
this.element.trigger("change"))};m.prototype={constructor:m,setStartDate:function(a){"string"===typeof a&&(this.startDate=p(a,this.locale.format).utcOffset(this.timeZone));"object"===typeof a&&(this.startDate=p(a));this.timePicker||(this.startDate=this.startDate.startOf("day"));this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement);this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate);
this.maxDate&&this.startDate.isAfter(this.maxDate)&&(this.startDate=this.maxDate);this.updateMonthsInView()},setEndDate:function(a){"string"===typeof a&&(this.endDate=p(a,this.locale.format).utcOffset(this.timeZone));"object"===typeof a&&(this.endDate=p(a));this.timePicker||(this.endDate=this.endDate.endOf("day"));this.timePicker&&this.timePickerIncrement&&this.endDate.minute(Math.round(this.endDate.minute()/this.timePickerIncrement)*this.timePickerIncrement);this.endDate.isBefore(this.startDate)&&
(this.endDate=this.startDate.clone());this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate);this.dateLimit&&this.startDate.clone().add(this.dateLimit).isBefore(this.endDate)&&(this.endDate=this.startDate.clone().add(this.dateLimit));this.updateMonthsInView()},isInvalidDate:function(){return!1},updateView:function(){this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"),this.endDate?this.container.find(".right .calendar-time select").removeAttr("disabled").removeClass("disabled"):
this.container.find(".right .calendar-time select").attr("disabled","disabled").addClass("disabled"));this.endDate?(this.container.find('input[name\x3d"daterangepicker_end"]').removeClass("active"),this.container.find('input[name\x3d"daterangepicker_start"]').addClass("active")):(this.container.find('input[name\x3d"daterangepicker_end"]').addClass("active"),this.container.find('input[name\x3d"daterangepicker_start"]').removeClass("active"));this.updateMonthsInView();this.updateCalendars();this.updateFormInputs()},
updateMonthsInView:function(){if(this.endDate){if(!this.leftCalendar.month||!this.rightCalendar.month||this.startDate.format("YYYY-MM")!=this.leftCalendar.month.format("YYYY-MM")&&this.startDate.format("YYYY-MM")!=this.rightCalendar.month.format("YYYY-MM")||this.endDate.format("YYYY-MM")!=this.leftCalendar.month.format("YYYY-MM")&&this.endDate.format("YYYY-MM")!=this.rightCalendar.month.format("YYYY-MM"))this.leftCalendar.month=this.startDate.clone().date(2),this.linkedCalendars||this.endDate.month()==
this.startDate.month()&&this.endDate.year()==this.startDate.year()?this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"):this.rightCalendar.month=this.endDate.clone().date(2)}else this.leftCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&this.rightCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&(this.leftCalendar.month=this.startDate.clone().date(2),this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"))},updateCalendars:function(){if(this.timePicker){var a,
d,b;if(this.endDate){if(a=parseInt(this.container.find(".left .hourselect").val(),10),d=parseInt(this.container.find(".left .minuteselect").val(),10),b=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,!this.timePicker24Hour){var h=this.container.find(".left .ampmselect").val();"PM"===h&&12>a&&(a+=12);"AM"===h&&12===a&&(a=0)}}else a=parseInt(this.container.find(".right .hourselect").val(),10),d=parseInt(this.container.find(".right .minuteselect").val(),10),b=this.timePickerSeconds?
parseInt(this.container.find(".right .secondselect").val(),10):0,this.timePicker24Hour||(h=this.container.find(".left .ampmselect").val(),"PM"===h&&12>a&&(a+=12),"AM"===h&&12===a&&(a=0));this.leftCalendar.month.hour(a).minute(d).second(b);this.rightCalendar.month.hour(a).minute(d).second(b)}this.renderCalendar("left");this.renderCalendar("right");this.container.find(".ranges li").removeClass("active");if(null!=this.endDate){a=!0;d=0;for(var m in this.ranges){if(this.timePicker){if(this.startDate.isSame(this.ranges[m][0])&&
this.endDate.isSame(this.ranges[m][1])){a=!1;this.chosenLabel=this.container.find(".ranges li:eq("+d+")").addClass("active").html();break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[m][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[m][1].format("YYYY-MM-DD")){a=!1;this.chosenLabel=this.container.find(".ranges li:eq("+d+")").addClass("active").html();break}d++}a&&(this.chosenLabel=this.container.find(".ranges li:last").addClass("active").html(),this.showCalendars())}},
renderCalendar:function(a){var d="left"==a?this.leftCalendar:this.rightCalendar,b=d.month.month(),l=d.month.year(),m=d.month.hour(),q=d.month.minute(),I=d.month.second(),d=p([l,b]).daysInMonth(),n=p([l,b,1]),F=p([l,b,d]),b=p(n).subtract(1,"month").month(),l=p(n).subtract(1,"month").year(),z=p([l,b]).daysInMonth(),K=n.day(),d=[];d.firstDay=n;d.lastDay=F;for(n=0;6>n;n++)d[n]=[];n=z-K+this.locale.firstDay+1;n>z&&(n-=7);K==this.locale.firstDay&&(n=z-6);z=p([l,b,n,12,q,I]).utcOffset(this.timeZone);for(l=
b=n=0;42>n;n++,b++,z=p(z).add(24,"hour"))0<n&&0===b%7&&(b=0,l++),d[l][b]=z.clone().hour(m).minute(q).second(I),z.hour(12),this.minDate&&d[l][b].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&d[l][b].isBefore(this.minDate)&&"left"==a&&(d[l][b]=this.minDate.clone()),this.maxDate&&d[l][b].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&d[l][b].isAfter(this.maxDate)&&"right"==a&&(d[l][b]=this.maxDate.clone());"left"==a?this.leftCalendar.calendar=d:this.rightCalendar.calendar=d;var b=
"left"==a?this.minDate:this.startDate,m=this.maxDate,y='\x3ctable class\x3d"table-condensed"\x3e',y=y+"\x3cthead\x3e",y=y+"\x3ctr\x3e";this.showWeekNumbers&&(y+="\x3cth\x3e\x3c/th\x3e");y=b&&!b.isBefore(d.firstDay)||this.linkedCalendars&&"left"!=a?y+"\x3cth\x3e\x3c/th\x3e":y+'\x3cth class\x3d"prev available"\x3e\x3ci class\x3d"fa fa-chevron-left glyphicon glyphicon-chevron-left"\x3e\x3c/i\x3e\x3c/th\x3e';q=this.locale.monthNames[d[1][1].month()]+d[1][1].format(" YYYY");if(this.showDropdowns){for(var z=
d[1][1].month(),q=d[1][1].year(),I=m&&m.year()||q+5,l=b&&b.year()||q-50,K=q==l,F=q==I,n='\x3cselect class\x3d"monthselect"\x3e',W=0;12>W;W++)n=(!K||W>=b.month())&&(!F||W<=m.month())?n+("\x3coption value\x3d'"+W+"'"+(W===z?" selected\x3d'selected'":"")+"\x3e"+this.locale.monthNames[W]+"\x3c/option\x3e"):n+("\x3coption value\x3d'"+W+"'"+(W===z?" selected\x3d'selected'":"")+" disabled\x3d'disabled'\x3e"+this.locale.monthNames[W]+"\x3c/option\x3e");for(b='\x3cselect class\x3d"yearselect"\x3e';l<=I;l++)b+=
'\x3coption value\x3d"'+l+'"'+(l===q?' selected\x3d"selected"':"")+"\x3e"+l+"\x3c/option\x3e";q=n+"\x3c/select\x3e"+(b+"\x3c/select\x3e")}y+='\x3cth colspan\x3d"5" class\x3d"month"\x3e'+q+"\x3c/th\x3e";y=m&&!m.isAfter(d.lastDay)||this.linkedCalendars&&"right"!=a&&!this.singleDatePicker?y+"\x3cth\x3e\x3c/th\x3e":y+'\x3cth class\x3d"next available"\x3e\x3ci class\x3d"fa fa-chevron-right glyphicon glyphicon-chevron-right"\x3e\x3c/i\x3e\x3c/th\x3e';y+="\x3c/tr\x3e";y+="\x3ctr\x3e";this.showWeekNumbers&&
(y+='\x3cth class\x3d"week"\x3e'+this.locale.weekLabel+"\x3c/th\x3e");h.each(this.locale.daysOfWeek,function(a,b){y+="\x3cth\x3e"+b+"\x3c/th\x3e"});y+="\x3c/tr\x3e";y+="\x3c/thead\x3e";y+="\x3ctbody\x3e";null==this.endDate&&this.dateLimit&&(q=this.startDate.clone().add(this.dateLimit).endOf("day"),!m||q.isBefore(m))&&(m=q);for(l=0;6>l;l++){y+="\x3ctr\x3e";this.showWeekNumbers&&(y+='\x3ctd class\x3d"week"\x3e'+d[l][0].week()+"\x3c/td\x3e");for(b=0;7>b;b++){q=[];d[l][b].isSame(new Date,"day")&&q.push("today");
5<d[l][b].isoWeekday()&&q.push("weekend");d[l][b].month()!=d[1][1].month()&&q.push("off");this.minDate&&d[l][b].isBefore(this.minDate,"day")&&q.push("off","disabled");m&&d[l][b].isAfter(m,"day")&&q.push("off","disabled");this.isInvalidDate(d[l][b])&&q.push("off","disabled");d[l][b].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&q.push("active","start-date");null!=this.endDate&&d[l][b].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&q.push("active","end-date");null!=this.endDate&&
d[l][b]>this.startDate&&d[l][b]<this.endDate&&q.push("in-range");I="";z=!1;for(n=0;n<q.length;n++)I+=q[n]+" ","disabled"==q[n]&&(z=!0);z||(I+="available");y+='\x3ctd class\x3d"'+I.replace(/^\s+|\s+$/g,"")+'" data-title\x3d"r'+l+"c"+b+'"\x3e'+d[l][b].date()+"\x3c/td\x3e"}y+="\x3c/tr\x3e"}y+="\x3c/tbody\x3e";y+="\x3c/table\x3e";this.container.find(".calendar."+a+" .calendar-table").html(y)},renderTimePicker:function(a){var d,b,h=this.maxDate;!this.dateLimit||this.maxDate&&!this.startDate.clone().add(this.dateLimit).isAfter(this.maxDate)||
(h=this.startDate.clone().add(this.dateLimit));"left"==a?(d=this.startDate.clone(),b=this.minDate):"right"==a&&(d=this.endDate?this.endDate.clone():this.startDate.clone(),b=this.startDate);html='\x3cselect class\x3d"hourselect"\x3e';for(var m=this.timePicker24Hour?23:12,p=this.timePicker24Hour?0:1;p<=m;p++){var q=p;this.timePicker24Hour||(q=12<=d.hour()?12==p?12:p+12:12==p?0:p);var n=d.clone().hour(q),F=!1;b&&n.minute(59).isBefore(b)&&(F=!0);h&&n.minute(0).isAfter(h)&&(F=!0);html=q!=d.hour()||F?F?
html+('\x3coption value\x3d"'+p+'" disabled\x3d"disabled" class\x3d"disabled"\x3e'+p+"\x3c/option\x3e"):html+('\x3coption value\x3d"'+p+'"\x3e'+p+"\x3c/option\x3e"):html+('\x3coption value\x3d"'+p+'" selected\x3d"selected"\x3e'+p+"\x3c/option\x3e")}html+="\x3c/select\x3e ";html+=': \x3cselect class\x3d"minuteselect"\x3e';for(p=0;60>p;p+=this.timePickerIncrement)m=10>p?"0"+p:p,n=d.clone().minute(p),F=!1,b&&n.second(59).isBefore(b)&&(F=!0),h&&n.second(0).isAfter(h)&&(F=!0),html=d.minute()!=p||F?F?html+
('\x3coption value\x3d"'+p+'" disabled\x3d"disabled" class\x3d"disabled"\x3e'+m+"\x3c/option\x3e"):html+('\x3coption value\x3d"'+p+'"\x3e'+m+"\x3c/option\x3e"):html+('\x3coption value\x3d"'+p+'" selected\x3d"selected"\x3e'+m+"\x3c/option\x3e");html+="\x3c/select\x3e ";if(this.timePickerSeconds){html+=': \x3cselect class\x3d"secondselect"\x3e';for(p=0;60>p;p++)m=10>p?"0"+p:p,n=d.clone().second(p),F=!1,b&&n.isBefore(b)&&(F=!0),h&&n.isAfter(h)&&(F=!0),html=d.second()!=p||F?F?html+('\x3coption value\x3d"'+
p+'" disabled\x3d"disabled" class\x3d"disabled"\x3e'+m+"\x3c/option\x3e"):html+('\x3coption value\x3d"'+p+'"\x3e'+m+"\x3c/option\x3e"):html+('\x3coption value\x3d"'+p+'" selected\x3d"selected"\x3e'+m+"\x3c/option\x3e");html+="\x3c/select\x3e "}this.timePicker24Hour||(html+='\x3cselect class\x3d"ampmselect"\x3e',n=p="",b&&d.clone().hour(12).minute(0).second(0).isBefore(b)&&(p=' disabled\x3d"disabled" class\x3d"disabled"'),h&&d.clone().hour(0).minute(0).second(0).isAfter(h)&&(n=' disabled\x3d"disabled" class\x3d"disabled"'),
html=12<=d.hour()?html+('\x3coption value\x3d"AM"'+p+'\x3eAM\x3c/option\x3e\x3coption value\x3d"PM" selected\x3d"selected"'+n+"\x3ePM\x3c/option\x3e"):html+('\x3coption value\x3d"AM" selected\x3d"selected"'+p+'\x3eAM\x3c/option\x3e\x3coption value\x3d"PM"'+n+"\x3ePM\x3c/option\x3e"),html+="\x3c/select\x3e");this.container.find(".calendar."+a+" .calendar-time div").html(html)},updateFormInputs:function(){this.container.find("input[name\x3ddaterangepicker_start]").val(this.startDate.format(this.locale.format));
this.endDate&&this.container.find("input[name\x3ddaterangepicker_end]").val(this.endDate.format(this.locale.format));this.singleDatePicker||this.endDate&&(this.startDate.isBefore(this.endDate)||this.startDate.isSame(this.endDate))?this.container.find("button.applyBtn").removeAttr("disabled"):this.container.find("button.applyBtn").attr("disabled","disabled")},move:function(){var a=0,d=0,b=h(window).width();this.parentEl.is("body")||(a=this.parentEl.offset().top-this.parentEl.scrollTop(),d=this.parentEl.offset().left-
this.parentEl.scrollLeft(),b=this.parentEl[0].clientWidth+this.parentEl.offset().left);a="up"==this.drops?this.element.offset().top-this.container.outerHeight()-a:this.element.offset().top+this.element.outerHeight()-a;this.container["up"==this.drops?"addClass":"removeClass"]("dropup");"left"==this.opens?(this.container.css({top:a,right:b-this.element.offset().left-this.element.outerWidth(),left:"auto"}),0>this.container.offset().left&&this.container.css({right:"auto",left:9})):"center"==this.opens?
(this.container.css({top:a,left:this.element.offset().left-d+this.element.outerWidth()/2-this.container.outerWidth()/2,right:"auto"}),0>this.container.offset().left&&this.container.css({right:"auto",left:9})):(this.container.css({top:a,left:this.element.offset().left-d,right:"auto"}),this.container.offset().left+this.container.outerWidth()>h(window).width()&&this.container.css({left:"auto",right:0}))},show:function(a){this.isShowing||(this._outsideClickProxy=h.proxy(function(a){this.outsideClick(a)},
this),h(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle\x3ddropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.updateView(),this.container.show(),this.move(),this.element.trigger("show.daterangepicker",this),this.isShowing=!0)},hide:function(a){this.isShowing&&(this.endDate||
(this.startDate=this.oldStartDate.clone(),this.endDate=this.oldEndDate.clone()),this.startDate.isSame(this.oldStartDate)&&this.endDate.isSame(this.oldEndDate)||this.callback(this.startDate,this.endDate,this.chosenLabel),this.element.is("input")&&!this.singleDatePicker&&this.autoUpdateInput?(this.element.val(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.element.trigger("change")):this.element.is("input")&&this.autoUpdateInput&&(this.element.val(this.startDate.format(this.locale.format)),
this.element.trigger("change")),h(document).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(a){this.isShowing?this.hide():this.show()},outsideClick:function(a){var d=h(a.target);"focusin"==a.type||d.closest(this.element).length||d.closest(this.container).length||d.closest(".calendar-table").length||this.hide()},showCalendars:function(){this.container.addClass("show-calendar");this.move();this.element.trigger("showCalendar.daterangepicker",
this)},hideCalendars:function(){this.container.removeClass("show-calendar");this.element.trigger("hideCalendar.daterangepicker",this)},hoverRange:function(a){a=a.target.innerHTML;a==this.locale.customRangeLabel?this.updateView():(a=this.ranges[a],this.container.find("input[name\x3ddaterangepicker_start]").val(a[0].format(this.locale.format)),this.container.find("input[name\x3ddaterangepicker_end]").val(a[1].format(this.locale.format)))},clickRange:function(a){this.chosenLabel=a=a.target.innerHTML;
a==this.locale.customRangeLabel?this.showCalendars():(a=this.ranges[a],this.startDate=a[0],this.endDate=a[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.hideCalendars(),this.clickApply())},clickPrev:function(a){h(a.target).parents(".calendar").hasClass("left")?(this.leftCalendar.month.subtract(1,"month"),this.linkedCalendars&&this.rightCalendar.month.subtract(1,"month")):this.rightCalendar.month.subtract(1,"month");this.updateCalendars()},clickNext:function(a){h(a.target).parents(".calendar").hasClass("left")?
this.leftCalendar.month.add(1,"month"):(this.rightCalendar.month.add(1,"month"),this.linkedCalendars&&this.leftCalendar.month.add(1,"month"));this.updateCalendars()},hoverDate:function(a){if(h(a.target).hasClass("available")){var d=h(a.target).attr("data-title"),b=d.substr(1,1),d=d.substr(3,1),l=h(a.target).parents(".calendar").hasClass("left")?this.leftCalendar.calendar[b][d]:this.rightCalendar.calendar[b][d];this.endDate?this.container.find("input[name\x3ddaterangepicker_start]").val(l.format(this.locale.format)):
this.container.find("input[name\x3ddaterangepicker_end]").val(l.format(this.locale.format));var m=this.leftCalendar,p=this.rightCalendar,q=this.startDate;this.endDate||this.container.find(".calendar td").each(function(a,b){if(!h(b).hasClass("week")){var d=h(b).attr("data-title"),e=d.substr(1,1),d=d.substr(3,1),e=h(b).parents(".calendar").hasClass("left")?m.calendar[e][d]:p.calendar[e][d];e.isAfter(q)&&e.isBefore(l)?h(b).addClass("in-range"):h(b).removeClass("in-range")}})}},clickDate:function(a){if(h(a.target).hasClass("available")){var d=
h(a.target).attr("data-title"),b=d.substr(1,1),l=d.substr(3,1),d=h(a.target).parents(".calendar"),b=d.hasClass("left")?this.leftCalendar.calendar[b][l]:this.rightCalendar.calendar[b][l];this.endDate||b.isBefore(this.startDate)?(this.timePicker&&(a=parseInt(this.container.find(".left .hourselect").val(),10),this.timePicker24Hour||(d=d.find(".ampmselect").val(),"PM"===d&&12>a&&(a+=12),"AM"===d&&12===a&&(a=0)),d=parseInt(this.container.find(".left .minuteselect").val(),10),l=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),
10):0,b=b.clone().hour(a).minute(d).second(l)),this.endDate=null,this.setStartDate(b.clone())):(this.timePicker&&(a=parseInt(this.container.find(".right .hourselect").val(),10),this.timePicker24Hour||(d=this.container.find(".right .ampmselect").val(),"PM"===d&&12>a&&(a+=12),"AM"===d&&12===a&&(a=0)),d=parseInt(this.container.find(".right .minuteselect").val(),10),l=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,b=b.clone().hour(a).minute(d).second(l)),this.setEndDate(b.clone()),
this.autoApply&&this.clickApply());this.singleDatePicker&&(this.setEndDate(this.startDate),this.timePicker||this.clickApply());this.updateView()}},clickApply:function(a){this.hide();this.element.trigger("apply.daterangepicker",this)},clickCancel:function(a){this.startDate=this.oldStartDate;this.endDate=this.oldEndDate;this.hide();this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(a){a=h(a.target).closest(".calendar").hasClass("left");var d=this.container.find(".calendar."+
(a?"left":"right")),b=parseInt(d.find(".monthselect").val(),10),d=d.find(".yearselect").val();!a&&(d<this.startDate.year()||d==this.startDate.year()&&b<this.startDate.month())&&(b=this.startDate.month(),d=this.startDate.year());this.minDate&&(d<this.minDate.year()||d==this.minDate.year()&&b<this.minDate.month())&&(b=this.minDate.month(),d=this.minDate.year());this.maxDate&&(d>this.maxDate.year()||d==this.maxDate.year()&&b>this.maxDate.month())&&(b=this.maxDate.month(),d=this.maxDate.year());a?(this.leftCalendar.month.month(b).year(d),
this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(b).year(d),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month")));this.updateCalendars()},timeChanged:function(a){var d=h(a.target).closest(".calendar"),b=d.hasClass("left");a=parseInt(d.find(".hourselect").val(),10);var l=parseInt(d.find(".minuteselect").val(),10),m=this.timePickerSeconds?parseInt(d.find(".secondselect").val(),
10):0;this.timePicker24Hour||(d=d.find(".ampmselect").val(),"PM"===d&&12>a&&(a+=12),"AM"===d&&12===a&&(a=0));b?(b=this.startDate.clone(),b.hour(a),b.minute(l),b.second(m),this.setStartDate(b),this.singleDatePicker&&(this.endDate=this.startDate.clone())):this.endDate&&(b=this.endDate.clone(),b.hour(a),b.minute(l),b.second(m),this.setEndDate(b));this.updateCalendars();this.updateFormInputs();this.renderTimePicker("left");this.renderTimePicker("right")},formInputsChanged:function(a){a=h(a.target).closest(".calendar").hasClass("right");
var d=p(this.container.find('input[name\x3d"daterangepicker_start"]').val(),this.locale.format).utcOffset(this.timeZone),b=p(this.container.find('input[name\x3d"daterangepicker_end"]').val(),this.locale.format).utcOffset(this.timeZone);d.isValid()&&b.isValid()&&(a&&b.isBefore(d)&&(d=b.clone()),this.setStartDate(d),this.setEndDate(b),a?this.container.find('input[name\x3d"daterangepicker_start"]').val(this.startDate.format(this.locale.format)):this.container.find('input[name\x3d"daterangepicker_end"]').val(this.endDate.format(this.locale.format)));
this.updateCalendars();this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"))},controlChanged:function(){if(this.element.is("input")&&this.element.val().length){var a=this.element.val().split(this.locale.separator),d=null,b=null;2===a.length&&(d=p(a[0],this.locale.format).utcOffset(this.timeZone),b=p(a[1],this.locale.format).utcOffset(this.timeZone));if(this.singleDatePicker||null===d||null===b)b=d=p(this.element.val(),this.locale.format).utcOffset(this.timeZone);this.setStartDate(d);
this.setEndDate(b);this.updateView()}},keydown:function(a){9!==a.keyCode&&13!==a.keyCode||this.hide()},remove:function(){this.container.remove();this.element.off(".daterangepicker");this.element.removeData()}};h.fn.daterangepicker=function(a,d){this.each(function(){var b=h(this);b.data("daterangepicker")&&b.data("daterangepicker").remove();b.data("daterangepicker",new m(b,a,d))});return this}});
function ColorLuminance(a,q){a=String(a).replace(/[^0-9a-f]/gi,"");6>a.length&&(a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2]);q=q||0;var p="#",h,m;for(m=0;3>m;m++)h=parseInt(a.substr(2*m,2),16),h=Math.round(Math.min(Math.max(0,h+h*q),255)).toString(16),p+=("00"+h).substr(h.length);return p}
function setApplicationColor(a){a=".navbar-default {                      background-color: "+a+";                      border-color: "+a+";}                .navbar-header {                     border-bottom: 1px solid "+ColorLuminance(a,-.2)+";                }                .navbar-default .navbar-nav\x3e.open\x3ea,.navbar-default .navbar-nav\x3e.open\x3ea:hover,.navbar-default .navbar-nav\x3e.open\x3ea:focus{                    background-color: "+ColorLuminance(a,-.1)+";                }";var q=
document.head||document.getElementsByTagName("head")[0],p=document.createElement("style");p.type="text/css";p.styleSheet?p.styleSheet.cssText=a:p.appendChild(document.createTextNode(a));q.appendChild(p)};