24 lines
748 KiB
JavaScript
24 lines
748 KiB
JavaScript
if(function(e,t){"use strict";"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.returnExports=t()}(this,function(){var e,t,n=Array,r=n.prototype,i=Object,a=i.prototype,o=Function,s=o.prototype,l=String,u=l.prototype,d=Number,c=d.prototype,h=r.slice,f=r.splice,p=r.push,m=r.unshift,_=r.concat,g=r.join,y=s.call,v=s.apply,b=Math.max,M=Math.min,w=a.toString,x="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,k=Function.prototype.toString,L=/^\s*class /,D=function(e){try{var t=k.call(e),n=t.replace(/\/\/.*\n/g,""),r=n.replace(/\/\*[.\s\S]*\*\//g,""),i=r.replace(/\n/gm," ").replace(/ {2}/g," ");return L.test(i)}catch(e){return!1}},Y=function(e){try{return!D(e)&&(k.call(e),!0)}catch(e){return!1}},e=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(x)return Y(e);if(D(e))return!1;var t=w.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t},T=RegExp.prototype.exec,S=function(e){try{return T.call(e),!0}catch(e){return!1}};t=function(e){return"object"==typeof e&&(x?S(e):"[object RegExp]"===w.call(e))};var C,j=String.prototype.valueOf,H=function(e){try{return j.call(e),!0}catch(e){return!1}};C=function(e){return"string"==typeof e||"object"==typeof e&&(x?H(e):"[object String]"===w.call(e))};var O=i.defineProperty&&function(){try{var e={};i.defineProperty(e,"x",{enumerable:!1,value:e});for(var t in e)return!1;return e.x===e}catch(e){return!1}}(),A=function(e){var t;return t=O?function(e,t,n,r){!r&&t in e||i.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n})}:function(e,t,n,r){!r&&t in e||(e[t]=n)},function(n,r,i){for(var a in r)e.call(r,a)&&t(n,a,r[a],i)}}(a.hasOwnProperty),P=function(e){var t=typeof e;return null===e||"object"!==t&&"function"!==t},E=d.isNaN||function(e){return e!==e},I={ToInteger:function(e){var t=+e;return E(t)?t=0:0!==t&&t!==1/0&&t!==-1/0&&(t=(t>0||-1)*Math.floor(Math.abs(t))),t},ToPrimitive:function(t){var n,r,i;if(P(t))return t;if(r=t.valueOf,e(r)&&(n=r.call(t),P(n)))return n;if(i=t.toString,e(i)&&(n=i.call(t),P(n)))return n;throw new TypeError},ToObject:function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return i(e)},ToUint32:function(e){return e>>>0}},F=function(){};A(s,{bind:function(t){var n=this;if(!e(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var r,a=h.call(arguments,1),s=function(){if(this instanceof r){var e=v.call(n,this,_.call(a,h.call(arguments)));return i(e)===e?e:this}return v.call(n,t,_.call(a,h.call(arguments)))},l=b(0,n.length-a.length),u=[],d=0;d<l;d++)p.call(u,"$"+d);return r=o("binder","return function ("+g.call(u,",")+"){ return binder.apply(this, arguments); }")(s),n.prototype&&(F.prototype=n.prototype,r.prototype=new F,F.prototype=null),r}});var W=y.bind(a.hasOwnProperty),R=y.bind(a.toString),N=y.bind(h),z=v.bind(h),B=y.bind(u.slice),$=y.bind(u.split),V=y.bind(u.indexOf),q=y.bind(p),U=y.bind(a.propertyIsEnumerable),J=y.bind(r.sort),G=n.isArray||function(e){return"[object Array]"===R(e)},X=1!==[].unshift(0);A(r,{unshift:function(){return m.apply(this,arguments),this.length}},X),A(n,{isArray:G});var Z=i("a"),K="a"!==Z[0]||!(0 in Z),Q=function(e){var t=!0,n=!0,r=!1;if(e)try{e.call("foo",function(e,n,r){"object"!=typeof r&&(t=!1)}),e.call([1],function(){"use strict";n="string"==typeof this},"x")}catch(e){r=!0}return!!e&&!r&&t&&n};A(r,{forEach:function(t){var n,r=I.ToObject(this),i=K&&C(this)?$(this,""):r,a=-1,o=I.ToUint32(i.length);if(arguments.length>1&&(n=arguments[1]),!e(t))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++a<o;)a in i&&(void 0===n?t(i[a],a,r):t.call(n,i[a],a,r))}},!Q(r.forEach)),A(r,{map:function(t){var r,i=I.ToObject(this),a=K&&C(this)?$(this,""):i,o=I.ToUint32(a.length),s=n(o);if(arguments.length>1&&(r=arguments[1]),!e(t))throw new TypeError("Array.prototype.map callback must be a function");for(var l=0;l<o;l++)l in a&&(s[l]=void 0===r?t(a[l],l,i):t.call(r,a[l],l,i));return s}},!Q(r.map)),A(r,{filter:function(t){var n,r,i=I.ToObject(this),a=K&&C(this)?$(this,""):i,o=I.ToUint32(a.length),s=[];if(arguments.length>1&&(r=arguments[1]),!e(t))throw new TypeError("Array.prototype.filter callback must be a function");for(var l=0;l<o;l++)l in a&&(n=a[l],(void 0===r?t(n,l,i):t.call(r,n,l,i))&&q(s,n));return s}},!Q(r.filter)),A(r,{every:function(t){var n,r=I.ToObject(this),i=K&&C(this)?$(this,""):r,a=I.ToUint32(i.length);if(arguments.length>1&&(n=arguments[1]),!e(t))throw new TypeError("Array.prototype.every callback must be a function");for(var o=0;o<a;o++)if(o in i&&!(void 0===n?t(i[o],o,r):t.call(n,i[o],o,r)))return!1;return!0}},!Q(r.every)),A(r,{some:function(t){var n,r=I.ToObject(this),i=K&&C(this)?$(this,""):r,a=I.ToUint32(i.length);if(arguments.length>1&&(n=arguments[1]),!e(t))throw new TypeError("Array.prototype.some callback must be a function");for(var o=0;o<a;o++)if(o in i&&(void 0===n?t(i[o],o,r):t.call(n,i[o],o,r)))return!0;return!1}},!Q(r.some));var ee=!1;r.reduce&&(ee="object"==typeof r.reduce.call("es5",function(e,t,n,r){return r})),A(r,{reduce:function(t){var n=I.ToObject(this),r=K&&C(this)?$(this,""):n,i=I.ToUint32(r.length);if(!e(t))throw new TypeError("Array.prototype.reduce callback must be a function");if(0===i&&1===arguments.length)throw new TypeError("reduce of empty array with no initial value");var a,o=0;if(arguments.length>=2)a=arguments[1];else for(;;){if(o in r){a=r[o++];break}if(++o>=i)throw new TypeError("reduce of empty array with no initial value")}for(;o<i;o++)o in r&&(a=t(a,r[o],o,n));return a}},!ee);var te=!1;r.reduceRight&&(te="object"==typeof r.reduceRight.call("es5",function(e,t,n,r){return r})),A(r,{reduceRight:function(t){var n=I.ToObject(this),r=K&&C(this)?$(this,""):n,i=I.ToUint32(r.length);if(!e(t))throw new TypeError("Array.prototype.reduceRight callback must be a function");if(0===i&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var a,o=i-1;if(arguments.length>=2)a=arguments[1];else for(;;){if(o in r){a=r[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}if(o<0)return a;do{o in r&&(a=t(a,r[o],o,n))}while(o--);return a}},!te);var ne=r.indexOf&&-1!==[0,1].indexOf(1,2);A(r,{indexOf:function(e){var t=K&&C(this)?$(this,""):I.ToObject(this),n=I.ToUint32(t.length);if(0===n)return-1;var r=0;for(arguments.length>1&&(r=I.ToInteger(arguments[1])),r=r>=0?r:b(0,n+r);r<n;r++)if(r in t&&t[r]===e)return r;return-1}},ne);var re=r.lastIndexOf&&-1!==[0,1].lastIndexOf(0,-3);A(r,{lastIndexOf:function(e){var t=K&&C(this)?$(this,""):I.ToObject(this),n=I.ToUint32(t.length);if(0===n)return-1;var r=n-1;for(arguments.length>1&&(r=M(r,I.ToInteger(arguments[1]))),r=r>=0?r:n-Math.abs(r);r>=0;r--)if(r in t&&e===t[r])return r;return-1}},re);var ie=function(){var e=[1,2],t=e.splice();return 2===e.length&&G(t)&&0===t.length}();A(r,{splice:function(e,t){return 0===arguments.length?[]:f.apply(this,arguments)}},!ie);var ae=function(){var e={};return r.splice.call(e,0,0,1),1===e.length}();A(r,{splice:function(e,t){if(0===arguments.length)return[];var n=arguments;return this.length=b(I.ToInteger(this.length),0),arguments.length>0&&"number"!=typeof t&&(n=N(arguments),n.length<2?q(n,this.length-e):n[1]=I.ToInteger(t)),f.apply(this,n)}},!ae);var oe=function(){var e=new n(1e5);return e[8]="x",e.splice(1,1),7===e.indexOf("x")}(),se=function(){var e=[];return e[256]="a",e.splice(257,0,"b"),"a"===e[256]}();A(r,{splice:function(e,t){for(var n,r=I.ToObject(this),i=[],a=I.ToUint32(r.length),o=I.ToInteger(e),s=o<0?b(a+o,0):M(o,a),u=M(b(I.ToInteger(t),0),a-s),d=0;d<u;)n=l(s+d),W(r,n)&&(i[d]=r[n]),d+=1;var c,h=N(arguments,2),f=h.length;if(f<u){d=s;for(var p=a-u;d<p;)n=l(d+u),c=l(d+f),W(r,n)?r[c]=r[n]:delete r[c],d+=1;d=a;for(var m=a-u+f;d>m;)delete r[d-1],d-=1}else if(f>u)for(d=a-u;d>s;)n=l(d+u-1),c=l(d+f-1),W(r,n)?r[c]=r[n]:delete r[c],d-=1;d=s;for(var _=0;_<h.length;++_)r[d]=h[_],d+=1;return r.length=a-u+f,i}},!oe||!se);var le,ue=r.join;try{le="1,2,3"!==Array.prototype.join.call("123",",")}catch(e){le=!0}le&&A(r,{join:function(e){var t=void 0===e?",":e;return ue.call(C(this)?$(this,""):this,t)}},le);var de="1,2"!==[1,2].join(void 0);de&&A(r,{join:function(e){var t=void 0===e?",":e;return ue.call(this,t)}},de);var ce=function(e){for(var t=I.ToObject(this),n=I.ToUint32(t.length),r=0;r<arguments.length;)t[n+r]=arguments[r],r+=1;return t.length=n+r,n+r},he=function(){var e={};return 1!==Array.prototype.push.call(e,void 0)||1!==e.length||void 0!==e[0]||!W(e,0)}();A(r,{push:function(e){return G(this)?p.apply(this,arguments):ce.apply(this,arguments)}},he);var fe=function(){var e=[];return 1!==e.push(void 0)||1!==e.length||void 0!==e[0]||!W(e,0)}();A(r,{push:ce},fe),A(r,{slice:function(e,t){var n=C(this)?$(this,""):this;return z(n,arguments)}},K);var pe=function(){try{return[1,2].sort(null),[1,2].sort({}),!0}catch(e){}return!1}(),me=function(){try{return[1,2].sort(/a/),!1}catch(e){}return!0}(),_e=function(){try{return[1,2].sort(void 0),!0}catch(e){}return!1}();A(r,{sort:function(t){if(void 0===t)return J(this);if(!e(t))throw new TypeError("Array.prototype.sort callback must be a function");return J(this,t)}},pe||!_e||!me);var ge=!U({toString:null},"toString"),ye=U(function(){},"prototype"),ve=!W("x","0"),be=function(e){var t=e.constructor;return t&&t.prototype===e},Me={$window:!0,$console:!0,$parent:!0,$self:!0,$frame:!0,$frames:!0,$frameElement:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$external:!0},we=function(){if("undefined"==typeof window)return!1;for(var e in window)try{!Me["$"+e]&&W(window,e)&&null!==window[e]&&"object"==typeof window[e]&&be(window[e])}catch(e){return!0}return!1}(),xe=function(e){if("undefined"==typeof window||!we)return be(e);try{return be(e)}catch(e){return!1}},ke=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Le=ke.length,De=function(e){return"[object Arguments]"===R(e)},Ye=function(t){return null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&!G(t)&&e(t.callee)},Te=De(arguments)?De:Ye;A(i,{keys:function(t){var n=e(t),r=Te(t),i=null!==t&&"object"==typeof t,a=i&&C(t);if(!i&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var o=[],s=ye&&n;if(a&&ve||r)for(var u=0;u<t.length;++u)q(o,l(u));if(!r)for(var d in t)s&&"prototype"===d||!W(t,d)||q(o,l(d));if(ge)for(var c=xe(t),h=0;h<Le;h++){var f=ke[h];c&&"constructor"===f||!W(t,f)||q(o,f)}return o}});var Se=i.keys&&function(){return 2===i.keys(arguments).length}(1,2),Ce=i.keys&&function(){var e=i.keys(arguments);return 1!==arguments.length||1!==e.length||1!==e[0]}(1),je=i.keys;A(i,{keys:function(e){return je(Te(e)?N(e):e)}},!Se||Ce);var He,Oe,Ae=0!==new Date(-0xc782b5b342b24).getUTCMonth(),Pe=new Date(-0x55d318d56a724),Ee=new Date(14496624e5),Ie="Mon, 01 Jan -45875 11:59:59 GMT"!==Pe.toUTCString();Pe.getTimezoneOffset()<-720?(He="Tue Jan 02 -45875"!==Pe.toDateString(),Oe=!/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-\+]\d\d\d\d(?: |$)/.test(Ee.toString())):(He="Mon Jan 01 -45875"!==Pe.toDateString(),Oe=!/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-\+]\d\d\d\d(?: |$)/.test(Ee.toString()));var Fe=y.bind(Date.prototype.getFullYear),We=y.bind(Date.prototype.getMonth),Re=y.bind(Date.prototype.getDate),Ne=y.bind(Date.prototype.getUTCFullYear),ze=y.bind(Date.prototype.getUTCMonth),Be=y.bind(Date.prototype.getUTCDate),$e=y.bind(Date.prototype.getUTCDay),Ve=y.bind(Date.prototype.getUTCHours),qe=y.bind(Date.prototype.getUTCMinutes),Ue=y.bind(Date.prototype.getUTCSeconds),Je=y.bind(Date.prototype.getUTCMilliseconds),Ge=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Xe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ze=function(e,t){return Re(new Date(t,e,0))};A(Date.prototype,{getFullYear:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Fe(this);return e<0&&We(this)>11?e+1:e},getMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Fe(this),t=We(this);return e<0&&t>11?0:t},getDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Fe(this),t=We(this),n=Re(this);if(e<0&&t>11){if(12===t)return n;return Ze(0,e+1)-n+1}return n},getUTCFullYear:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ne(this);return e<0&&ze(this)>11?e+1:e},getUTCMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ne(this),t=ze(this);return e<0&&t>11?0:t},getUTCDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ne(this),t=ze(this),n=Be(this);if(e<0&&t>11){if(12===t)return n;return Ze(0,e+1)-n+1}return n}},Ae),A(Date.prototype,{toUTCString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=$e(this),t=Be(this),n=ze(this),r=Ne(this),i=Ve(this),a=qe(this),o=Ue(this);return Ge[e]+", "+(t<10?"0"+t:t)+" "+Xe[n]+" "+r+" "+(i<10?"0"+i:i)+":"+(a<10?"0"+a:a)+":"+(o<10?"0"+o:o)+" GMT"}},Ae||Ie),A(Date.prototype,{toDateString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=this.getDay(),t=this.getDate(),n=this.getMonth(),r=this.getFullYear();return Ge[e]+" "+Xe[n]+" "+(t<10?"0"+t:t)+" "+r}},Ae||He),(Ae||Oe)&&(Date.prototype.toString=function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=this.getDay(),t=this.getDate(),n=this.getMonth(),r=this.getFullYear(),i=this.getHours(),a=this.getMinutes(),o=this.getSeconds(),s=this.getTimezoneOffset(),l=Math.floor(Math.abs(s)/60),u=Math.floor(Math.abs(s)%60);return Ge[e]+" "+Xe[n]+" "+(t<10?"0"+t:t)+" "+r+" "+(i<10?"0"+i:i)+":"+(a<10?"0"+a:a)+":"+(o<10?"0"+o:o)+" GMT"+(s>0?"-":"+")+(l<10?"0"+l:l)+(u<10?"0"+u:u)},O&&i.defineProperty(Date.prototype,"toString",{configurable:!0,enumerable:!1,writable:!0}));var Ke=Date.prototype.toISOString&&-1===new Date(-621987552e5).toISOString().indexOf("-000001"),Qe=Date.prototype.toISOString&&"1969-12-31T23:59:59.999Z"!==new Date(-1).toISOString(),et=y.bind(Date.prototype.getTime);A(Date.prototype,{toISOString:function(){if(!isFinite(this)||!isFinite(et(this)))throw new RangeError("Date.prototype.toISOString called on non-finite value.");var e=Ne(this),t=ze(this);e+=Math.floor(t/12),t=(t%12+12)%12;var n=[t+1,Be(this),Ve(this),qe(this),Ue(this)];e=(e<0?"-":e>9999?"+":"")+B("00000"+Math.abs(e),0<=e&&e<=9999?-4:-6);for(var r=0;r<n.length;++r)n[r]=B("00"+n[r],-2);return e+"-"+N(n,0,2).join("-")+"T"+N(n,2).join(":")+"."+B("000"+Je(this),-3)+"Z"}},Ke||Qe),function(){try{return Date.prototype.toJSON&&null===new Date(NaN).toJSON()&&-1!==new Date(-621987552e5).toJSON().indexOf("-000001")&&Date.prototype.toJSON.call({toISOString:function(){return!0}})}catch(e){return!1}}()||(Date.prototype.toJSON=function(t){var n=i(this),r=I.ToPrimitive(n);if("number"==typeof r&&!isFinite(r))return null;var a=n.toISOString;if(!e(a))throw new TypeError("toISOString property is not callable");return a.call(n)});var tt=1e15===Date.parse("+033658-09-27T01:46:40.000Z"),nt=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z"))||!isNaN(Date.parse("2012-12-31T23:59:60.000Z"));if(isNaN(Date.parse("2000-01-01T00:00:00.000Z"))||nt||!tt){var rt=Math.pow(2,31)-1,it=E(new Date(1970,0,1,0,0,0,rt+1).getTime());Date=function(e){var t=function(n,r,i,a,o,s,u){var d,c=arguments.length;if(this instanceof e){var h=s,f=u;if(it&&c>=7&&u>rt){var p=Math.floor(u/rt)*rt,m=Math.floor(p/1e3);h+=m,f-=1e3*m}d=1===c&&l(n)===n?new e(t.parse(n)):c>=7?new e(n,r,i,a,o,h,f):c>=6?new e(n,r,i,a,o,h):c>=5?new e(n,r,i,a,o):c>=4?new e(n,r,i,a):c>=3?new e(n,r,i):c>=2?new e(n,r):c>=1?new e(n instanceof e?+n:n):new e}else d=e.apply(this,arguments);return P(d)||A(d,{constructor:t},!0),d},n=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),r=[0,31,59,90,120,151,181,212,243,273,304,334,365],i=function(e,t){var n=t>1?1:0;return r[t]+Math.floor((e-1969+n)/4)-Math.floor((e-1901+n)/100)+Math.floor((e-1601+n)/400)+365*(e-1970)},a=function(t){var n=0,r=t;if(it&&r>rt){var i=Math.floor(r/rt)*rt,a=Math.floor(i/1e3);n+=a,r-=1e3*a}return d(new e(1970,0,1,0,0,n,r))};for(var o in e)W(e,o)&&(t[o]=e[o]);return A(t,{now:e.now,UTC:e.UTC},!0),t.prototype=e.prototype,A(t.prototype,{constructor:t},!0),A(t,{parse:function(t){var r=n.exec(t);if(r){var o,s=d(r[1]),l=d(r[2]||1)-1,u=d(r[3]||1)-1,c=d(r[4]||0),h=d(r[5]||0),f=d(r[6]||0),p=Math.floor(1e3*d(r[7]||0)),m=Boolean(r[4]&&!r[8]),_="-"===r[9]?1:-1,g=d(r[10]||0),y=d(r[11]||0);return c<(h>0||f>0||p>0?24:25)&&h<60&&f<60&&p<1e3&&l>-1&&l<12&&g<24&&y<60&&u>-1&&u<i(s,l+1)-i(s,l)&&(o=60*(24*(i(s,l)+u)+c+g*_),o=1e3*(60*(o+h+y*_)+f)+p,m&&(o=a(o)),-864e13<=o&&o<=864e13)?o:NaN}return e.parse.apply(this,arguments)}}),t}(Date)}Date.now||(Date.now=function(){return(new Date).getTime()});var at=c.toFixed&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0)),ot={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function(e,t){for(var n=-1,r=t;++n<ot.size;)r+=e*ot.data[n],ot.data[n]=r%ot.base,r=Math.floor(r/ot.base)},divide:function(e){for(var t=ot.size,n=0;--t>=0;)n+=ot.data[t],ot.data[t]=Math.floor(n/e),n=n%e*ot.base},numToString:function(){for(var e=ot.size,t="";--e>=0;)if(""!==t||0===e||0!==ot.data[e]){var n=l(ot.data[e]);""===t?t=n:t+=B("0000000",0,7-n.length)+n}return t},pow:function e(t,n,r){return 0===n?r:n%2==1?e(t,n-1,r*t):e(t*t,n/2,r)},log:function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}};A(c,{toFixed:function(e){var t,n,r,i,a,o,s,u;if(t=d(e),(t=E(t)?0:Math.floor(t))<0||t>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if(n=d(this),E(n))return"NaN";if(n<=-1e21||n>=1e21)return l(n);if(r="",n<0&&(r="-",n=-n),i="0",n>1e-21)if(a=ot.log(n*ot.pow(2,69,1))-69,o=a<0?n*ot.pow(2,-a,1):n/ot.pow(2,a,1),o*=4503599627370496,(a=52-a)>0){for(ot.multiply(0,o),s=t;s>=7;)ot.multiply(1e7,0),s-=7;for(ot.multiply(ot.pow(10,s,1),0),s=a-1;s>=23;)ot.divide(1<<23),s-=23;ot.divide(1<<s),ot.multiply(1,1),ot.divide(2),i=ot.numToString()}else ot.multiply(0,o),ot.multiply(1<<-a,0),i=ot.numToString()+B("0.00000000000000000000",2,2+t);return t>0?(u=i.length,i=u<=t?r+B("0.0000000000000000000",0,t-u+2)+i:r+B(i,0,u-t)+"."+B(i,u-t)):i=r+i,i}},at);var st=function(){try{return"1"===1..toPrecision(void 0)}catch(e){return!0}}(),lt=c.toPrecision;A(c,{toPrecision:function(e){return void 0===e?lt.call(this):lt.call(this,e)}},st),2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?function(){var e=void 0===/()??/.exec("")[1],n=Math.pow(2,32)-1;u.split=function(r,i){var a=String(this);if(void 0===r&&0===i)return[];if(!t(r))return $(this,r,i);var o,s,l,u,d=[],c=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(r.sticky?"y":""),h=0,f=new RegExp(r.source,c+"g");e||(o=new RegExp("^"+f.source+"$(?!\\s)",c));var m=void 0===i?n:I.ToUint32(i);for(s=f.exec(a);s&&!((l=s.index+s[0].length)>h&&(q(d,B(a,h,s.index)),!e&&s.length>1&&s[0].replace(o,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(s[e]=void 0)}),s.length>1&&s.index<a.length&&p.apply(d,N(s,1)),u=s[0].length,h=l,d.length>=m));)f.lastIndex===s.index&&f.lastIndex++,s=f.exec(a);return h===a.length?!u&&f.test("")||q(d,""):q(d,B(a,h)),d.length>m?N(d,0,m):d}}():"0".split(void 0,0).length&&(u.split=function(e,t){return void 0===e&&0===t?[]:$(this,e,t)});var ut=u.replace;(function(){var e=[];return"x".replace(/x(.)?/g,function(t,n){q(e,n)}),1===e.length&&void 0===e[0]})()||(u.replace=function(n,r){var i=e(r),a=t(n)&&/\)[*?]/.test(n.source);if(i&&a){var o=function(e){var t=arguments.length,i=n.lastIndex;n.lastIndex=0;var a=n.exec(e)||[];return n.lastIndex=i,q(a,arguments[t-2],arguments[t-1]),r.apply(this,a)};return ut.call(this,n,o)}return ut.call(this,n,r)});var dt=u.substr,ct="".substr&&"b"!=="0b".substr(-1);A(u,{substr:function(e,t){var n=e;return e<0&&(n=b(this.length+e,0)),dt.call(this,n,t)}},ct);var ht="\t\n\v\f\r \u2028\u2029\ufeff",ft="",pt="["+ht+"]",mt=new RegExp("^"+pt+pt+"*"),_t=new RegExp(pt+pt+"*$"),gt=u.trim&&(ht.trim()||!ft.trim());A(u,{trim:function(){if(void 0===this||null===this)throw new TypeError("can't convert "+this+" to object");return l(this).replace(mt,"").replace(_t,"")}},gt);var yt=y.bind(String.prototype.trim),vt=u.lastIndexOf&&-1!=="abcあい".lastIndexOf("あい",2);A(u,{lastIndexOf:function(e){if(void 0===this||null===this)throw new TypeError("can't convert "+this+" to object");for(var t=l(this),n=l(e),r=arguments.length>1?d(arguments[1]):NaN,i=E(r)?1/0:I.ToInteger(r),a=M(b(i,0),t.length),o=n.length,s=a+o;s>0;){s=b(0,s-o);var u=V(B(t,s,a+o),n);if(-1!==u)return s+u}return-1}},vt);var bt=u.lastIndexOf;if(A(u,{lastIndexOf:function(e){return bt.apply(this,arguments)}},1!==u.lastIndexOf.length),8===parseInt(ht+"08")&&22===parseInt(ht+"0x16")||(parseInt=function(e){var t=/^[\-+]?0[xX]/;return function(n,r){var i=yt(String(n)),a=d(r)||(t.test(i)?16:10);return e(i,a)}}(parseInt)),1/parseFloat("-0")!=-1/0&&(parseFloat=function(e){return function(t){var n=yt(String(t)),r=e(n);return 0===r&&"-"===B(n,0,1)?-0:r}}(parseFloat)),"RangeError: test"!==String(new RangeError("test"))){var Mt=function(){if(void 0===this||null===this)throw new TypeError("can't convert "+this+" to object");var e=this.name;void 0===e?e="Error":"string"!=typeof e&&(e=l(e));var t=this.message;return void 0===t?t="":"string"!=typeof t&&(t=l(t)),e?t?e+": "+t:e:t};Error.prototype.toString=Mt}if(O){var wt=function(e,t){if(U(e,t)){var n=Object.getOwnPropertyDescriptor(e,t);n.configurable&&(n.enumerable=!1,Object.defineProperty(e,t,n))}};wt(Error.prototype,"message"),""!==Error.prototype.message&&(Error.prototype.message=""),wt(Error.prototype,"name")}if("/a/gim"!==String(/a/gim)){var xt=function(){var e="/"+this.source+"/";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),e};RegExp.prototype.toString=xt}}),function(e,t){"use strict";"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.returnExports=t()}(this,function(){var e,t,n,r,i=Function.call,a=Object.prototype,o=i.bind(a.hasOwnProperty),s=i.bind(a.propertyIsEnumerable),l=i.bind(a.toString),u=o(a,"__defineGetter__");u&&(e=i.bind(a.__defineGetter__),t=i.bind(a.__defineSetter__),n=i.bind(a.__lookupGetter__),r=i.bind(a.__lookupSetter__));var d=function(e){return null==e||"object"!=typeof e&&"function"!=typeof e};Object.getPrototypeOf||(Object.getPrototypeOf=function(e){var t=e.__proto__;return t||null===t?t:"[object Function]"===l(e.constructor)?e.constructor.prototype:e instanceof Object?a:null});var c=function(e){try{return e.sentinel=0,0===Object.getOwnPropertyDescriptor(e,"sentinel").value}catch(e){return!1}};if(Object.defineProperty){var h=c({});if(!("undefined"==typeof document||c(document.createElement("div")))||!h)var f=Object.getOwnPropertyDescriptor}if(!Object.getOwnPropertyDescriptor||f){Object.getOwnPropertyDescriptor=function(e,t){if(d(e))throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object: "+e);if(f)try{return f.call(Object,e,t)}catch(e){}var i;if(!o(e,t))return i;if(i={enumerable:s(e,t),configurable:!0},u){var l=e.__proto__,c=e!==a;c&&(e.__proto__=a);var h=n(e,t),p=r(e,t);if(c&&(e.__proto__=l),h||p)return h&&(i.get=h),p&&(i.set=p),i}return i.value=e[t],i.writable=!0,i}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)}),!Object.create){var p,m=!({__proto__:null}instanceof Object),_=function(){if(!document.domain)return!1;try{return!!new ActiveXObject("htmlfile")}catch(e){return!1}},g=function(){var e,t;t=new ActiveXObject("htmlfile");return t.write("<script><\/script>"),t.close(),e=t.parentWindow.Object.prototype,t=null,e},y=function(){var e,t=document.createElement("iframe"),n=document.body||document.documentElement;return t.style.display="none",n.appendChild(t),t.src="javascript:",e=t.contentWindow.Object.prototype,n.removeChild(t),t=null,e};p=m||"undefined"==typeof document?function(){return{__proto__:null}}:function(){var e=_()?g():y();delete e.constructor,delete e.hasOwnProperty,delete e.propertyIsEnumerable,delete e.isPrototypeOf,delete e.toLocaleString,delete e.toString,delete e.valueOf;var t=function(){};return t.prototype=e,p=function(){return new t},new t},Object.create=function(e,t){var n,r=function(){};if(null===e)n=p();else{if(null!==e&&d(e))throw new TypeError("Object prototype may only be an Object or null");r.prototype=e,n=new r,n.__proto__=e}return void 0!==t&&Object.defineProperties(n,t),n}}var v=function(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(e){return!1}};if(Object.defineProperty){var b=v({}),M="undefined"==typeof document||v(document.createElement("div"));if(!b||!M)var w=Object.defineProperty,x=Object.defineProperties}if(!Object.defineProperty||w){Object.defineProperty=function(i,o,s){if(d(i))throw new TypeError("Object.defineProperty called on non-object: "+i);if(d(s))throw new TypeError("Property description must be an object: "+s);if(w)try{return w.call(Object,i,o,s)}catch(e){}if("value"in s)if(u&&(n(i,o)||r(i,o))){var l=i.__proto__;i.__proto__=a,delete i[o],i[o]=s.value,i.__proto__=l}else i[o]=s.value;else{var c="get"in s,h="set"in s;if(!u&&(c||h))throw new TypeError("getters & setters can not be defined on this javascript engine");c&&e(i,o,s.get),h&&t(i,o,s.set)}return i}}Object.defineProperties&&!x||(Object.defineProperties=function(e,t){if(x)try{return x.call(Object,e,t)}catch(e){}return Object.keys(t).forEach(function(n){"__proto__"!==n&&Object.defineProperty(e,n,t[n])}),e}),Object.seal||(Object.seal=function(e){if(Object(e)!==e)throw new TypeError("Object.seal can only be called on Objects.");return e}),Object.freeze||(Object.freeze=function(e){if(Object(e)!==e)throw new TypeError("Object.freeze can only be called on Objects.");return e});try{Object.freeze(function(){})}catch(e){Object.freeze=function(e){return function(t){return"function"==typeof t?t:e(t)}}(Object.freeze)}Object.preventExtensions||(Object.preventExtensions=function(e){if(Object(e)!==e)throw new TypeError("Object.preventExtensions can only be called on Objects.");return e}),Object.isSealed||(Object.isSealed=function(e){if(Object(e)!==e)throw new TypeError("Object.isSealed can only be called on Objects.");return!1}),Object.isFrozen||(Object.isFrozen=function(e){if(Object(e)!==e)throw new TypeError("Object.isFrozen can only be called on Objects.");return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)!==e)throw new TypeError("Object.isExtensible can only be called on Objects.");for(var t="";o(e,t);)t+="?";e[t]=!0;var n=o(e,t);return delete e[t],n})}),function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=!!e&&"length"in e&&e.length,n=ae.type(e);return"function"!==n&&!ae.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e,t,n){if(ae.isFunction(t))return ae.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return ae.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(me.test(t))return ae.filter(t,e,n);t=ae.filter(t,e)}return ae.grep(e,function(e){return Q.call(t,e)>-1!==n})}function i(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function a(e){var t={};return ae.each(e.match(be)||[],function(e,n){t[n]=!0}),t}function o(){G.removeEventListener("DOMContentLoaded",o),e.removeEventListener("load",o),ae.ready()}function s(){this.expando=ae.expando+s.uid++}function l(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Ye,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:De.test(n)?ae.parseJSON(n):n)}catch(e){}Le.set(e,t,n)}else n=void 0;return n}function u(e,t,n,r){var i,a=1,o=20,s=r?function(){return r.cur()}:function(){return ae.css(e,t,"")},l=s(),u=n&&n[3]||(ae.cssNumber[t]?"":"px"),d=(ae.cssNumber[t]||"px"!==u&&+l)&&Se.exec(ae.css(e,t));if(d&&d[3]!==u){u=u||d[3],n=n||[],d=+l||1;do{a=a||".5",d/=a,ae.style(e,t,d+u)}while(a!==(a=s()/l)&&1!==a&&--o)}return n&&(d=+d||+l||0,i=n[1]?d+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=d,r.end=i)),i}function d(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&ae.nodeName(e,t)?ae.merge([e],n):n}function c(e,t){for(var n=0,r=e.length;r>n;n++)ke.set(e[n],"globalEval",!t||ke.get(t[n],"globalEval"))}function h(e,t,n,r,i){for(var a,o,s,l,u,h,f=t.createDocumentFragment(),p=[],m=0,_=e.length;_>m;m++)if((a=e[m])||0===a)if("object"===ae.type(a))ae.merge(p,a.nodeType?[a]:a);else if(Ee.test(a)){for(o=o||f.appendChild(t.createElement("div")),s=(Oe.exec(a)||["",""])[1].toLowerCase(),l=Pe[s]||Pe._default,o.innerHTML=l[1]+ae.htmlPrefilter(a)+l[2],h=l[0];h--;)o=o.lastChild;ae.merge(p,o.childNodes),o=f.firstChild,o.textContent=""}else p.push(t.createTextNode(a));for(f.textContent="",m=0;a=p[m++];)if(r&&ae.inArray(a,r)>-1)i&&i.push(a);else if(u=ae.contains(a.ownerDocument,a),o=d(f.appendChild(a),"script"),u&&c(o),n)for(h=0;a=o[h++];)Ae.test(a.type||"")&&n.push(a);return f}function f(){return!0}function p(){return!1}function m(){try{return G.activeElement}catch(e){}}function _(e,t,n,r,i,a){var o,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)_(e,s,n,r,t[s],a);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=p;else if(!i)return e;return 1===a&&(o=i,i=function(e){return ae().off(e),o.apply(this,arguments)},i.guid=o.guid||(o.guid=ae.guid++)),e.each(function(){ae.event.add(this,t,i,r,n)})}function g(e,t){return ae.nodeName(e,"table")&&ae.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function y(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function v(e){var t=Be.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function b(e,t){var n,r,i,a,o,s,l,u;if(1===t.nodeType){if(ke.hasData(e)&&(a=ke.access(e),o=ke.set(t,a),u=a.events)){delete o.handle,o.events={};for(i in u)for(n=0,r=u[i].length;r>n;n++)ae.event.add(t,i,u[i][n])}Le.hasData(e)&&(s=Le.access(e),l=ae.extend({},s),Le.set(t,l))}}function M(e,t){var n=t.nodeName.toLowerCase();"input"===n&&He.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function w(e,t,n,r){t=Z.apply([],t);var i,a,o,s,l,u,c=0,f=e.length,p=f-1,m=t[0],_=ae.isFunction(m);if(_||f>1&&"string"==typeof m&&!re.checkClone&&ze.test(m))return e.each(function(i){var a=e.eq(i);_&&(t[0]=m.call(this,i,a.html())),w(a,t,n,r)});if(f&&(i=h(t,e[0].ownerDocument,!1,e,r),a=i.firstChild,1===i.childNodes.length&&(i=a),a||r)){for(o=ae.map(d(i,"script"),y),s=o.length;f>c;c++)l=i,c!==p&&(l=ae.clone(l,!0,!0),s&&ae.merge(o,d(l,"script"))),n.call(e[c],l,c);if(s)for(u=o[o.length-1].ownerDocument,ae.map(o,v),c=0;s>c;c++)l=o[c],Ae.test(l.type||"")&&!ke.access(l,"globalEval")&&ae.contains(u,l)&&(l.src?ae._evalUrl&&ae._evalUrl(l.src):ae.globalEval(l.textContent.replace($e,"")))}return e}function x(e,t,n){for(var r,i=t?ae.filter(t,e):e,a=0;null!=(r=i[a]);a++)n||1!==r.nodeType||ae.cleanData(d(r)),r.parentNode&&(n&&ae.contains(r.ownerDocument,r)&&c(d(r,"script")),r.parentNode.removeChild(r));return e}function k(e,t){
|
||
var n=ae(t.createElement(e)).appendTo(t.body),r=ae.css(n[0],"display");return n.detach(),r}function L(e){var t=G,n=qe[e];return n||(n=k(e,t),"none"!==n&&n||(Ve=(Ve||ae("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=Ve[0].contentDocument,t.write(),t.close(),n=k(e,t),Ve.detach()),qe[e]=n),n}function D(e,t,n){var r,i,a,o,s=e.style;return n=n||Ge(e),o=n?n.getPropertyValue(t)||n[t]:void 0,""!==o&&void 0!==o||ae.contains(e.ownerDocument,e)||(o=ae.style(e,t)),n&&!re.pixelMarginRight()&&Je.test(o)&&Ue.test(t)&&(r=s.width,i=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=r,s.minWidth=i,s.maxWidth=a),void 0!==o?o+"":o}function Y(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function T(e){if(e in nt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t)in nt)return e}function S(e,t,n){var r=Se.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function C(e,t,n,r,i){for(var a=n===(r?"border":"content")?4:"width"===t?1:0,o=0;4>a;a+=2)"margin"===n&&(o+=ae.css(e,n+Ce[a],!0,i)),r?("content"===n&&(o-=ae.css(e,"padding"+Ce[a],!0,i)),"margin"!==n&&(o-=ae.css(e,"border"+Ce[a]+"Width",!0,i))):(o+=ae.css(e,"padding"+Ce[a],!0,i),"padding"!==n&&(o+=ae.css(e,"border"+Ce[a]+"Width",!0,i)));return o}function j(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,a=Ge(e),o="border-box"===ae.css(e,"boxSizing",!1,a);if(0>=i||null==i){if(i=D(e,t,a),(0>i||null==i)&&(i=e.style[t]),Je.test(i))return i;r=o&&(re.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+C(e,t,n||(o?"border":"content"),r,a)+"px"}function H(e,t){for(var n,r,i,a=[],o=0,s=e.length;s>o;o++)r=e[o],r.style&&(a[o]=ke.get(r,"olddisplay"),n=r.style.display,t?(a[o]||"none"!==n||(r.style.display=""),""===r.style.display&&je(r)&&(a[o]=ke.access(r,"olddisplay",L(r.nodeName)))):(i=je(r),"none"===n&&i||ke.set(r,"olddisplay",i?n:ae.css(r,"display"))));for(o=0;s>o;o++)r=e[o],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?a[o]||"":"none"));return e}function O(e,t,n,r,i){return new O.prototype.init(e,t,n,r,i)}function A(){return e.setTimeout(function(){rt=void 0}),rt=ae.now()}function P(e,t){var n,r=0,i={height:e};for(t=t?1:0;4>r;r+=2-t)n=Ce[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function E(e,t,n){for(var r,i=(W.tweeners[t]||[]).concat(W.tweeners["*"]),a=0,o=i.length;o>a;a++)if(r=i[a].call(n,t,e))return r}function I(e,t,n){var r,i,a,o,s,l,u,d=this,c={},h=e.style,f=e.nodeType&&je(e),p=ke.get(e,"fxshow");n.queue||(s=ae._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,ae.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],u=ae.css(e,"display"),"inline"===("none"===u?ke.get(e,"olddisplay")||L(e.nodeName):u)&&"none"===ae.css(e,"float")&&(h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],at.exec(i)){if(delete t[r],a=a||"toggle"===i,i===(f?"hide":"show")){if("show"!==i||!p||void 0===p[r])continue;f=!0}c[r]=p&&p[r]||ae.style(e,r)}else u=void 0;if(ae.isEmptyObject(c))"inline"===("none"===u?L(e.nodeName):u)&&(h.display=u);else{p?"hidden"in p&&(f=p.hidden):p=ke.access(e,"fxshow",{}),a&&(p.hidden=!f),f?ae(e).show():d.done(function(){ae(e).hide()}),d.done(function(){var t;ke.remove(e,"fxshow");for(t in c)ae.style(e,t,c[t])});for(r in c)o=E(f?p[r]:0,r,d),r in p||(p[r]=o.start,f&&(o.end=o.start,o.start="width"===r||"height"===r?1:0))}}function F(e,t){var n,r,i,a,o;for(n in e)if(r=ae.camelCase(n),i=t[r],a=e[n],ae.isArray(a)&&(i=a[1],a=e[n]=a[0]),n!==r&&(e[r]=a,delete e[n]),(o=ae.cssHooks[r])&&"expand"in o){a=o.expand(a),delete e[r];for(n in a)n in e||(e[n]=a[n],t[n]=i)}else t[r]=i}function W(e,t,n){var r,i,a=0,o=W.prefilters.length,s=ae.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;for(var t=rt||A(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,a=1-r,o=0,l=u.tweens.length;l>o;o++)u.tweens[o].run(a);return s.notifyWith(e,[u,a,n]),1>a&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:ae.extend({},t),opts:ae.extend(!0,{specialEasing:{},easing:ae.easing._default},n),originalProperties:t,originalOptions:n,startTime:rt||A(),duration:n.duration,tweens:[],createTween:function(t,n){var r=ae.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),d=u.props;for(F(d,u.opts.specialEasing);o>a;a++)if(r=W.prefilters[a].call(u,e,d,u.opts))return ae.isFunction(r.stop)&&(ae._queueHooks(u.elem,u.opts.queue).stop=ae.proxy(r.stop,r)),r;return ae.map(d,E,u),ae.isFunction(u.opts.start)&&u.opts.start.call(e,u),ae.fx.timer(ae.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function R(e){return e.getAttribute&&e.getAttribute("class")||""}function N(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,a=t.toLowerCase().match(be)||[];if(ae.isFunction(n))for(;r=a[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function z(e,t,n,r){function i(s){var l;return a[s]=!0,ae.each(e[s]||[],function(e,s){var u=s(t,n,r);return"string"!=typeof u||o||a[u]?o?!(l=u):void 0:(t.dataTypes.unshift(u),i(u),!1)}),l}var a={},o=e===Lt;return i(t.dataTypes[0])||!a["*"]&&i("*")}function B(e,t){var n,r,i=ae.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ae.extend(!0,e,r),e}function $(e,t,n){for(var r,i,a,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)a=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){a=i;break}o||(o=i)}a=a||o}return a?(a!==l[0]&&l.unshift(a),n[a]):void 0}function V(e,t,n,r){var i,a,o,s,l,u={},d=e.dataTypes.slice();if(d[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(a=d.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=d.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(o=u[l+" "+a]||u["* "+a]))for(i in u)if(s=i.split(" "),s[1]===a&&(o=u[l+" "+s[0]]||u["* "+s[0]])){!0===o?o=u[i]:!0!==u[i]&&(a=s[0],d.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}function q(e,t,n,r){var i;if(ae.isArray(t))ae.each(t,function(t,i){n||St.test(e)?r(e,i):q(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==ae.type(t))r(e,t);else for(i in t)q(e+"["+i+"]",t[i],n,r)}function U(e){return ae.isWindow(e)?e:9===e.nodeType&&e.defaultView}var J=[],G=e.document,X=J.slice,Z=J.concat,K=J.push,Q=J.indexOf,ee={},te=ee.toString,ne=ee.hasOwnProperty,re={},ie="2.2.4",ae=function(e,t){return new ae.fn.init(e,t)},oe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,se=/^-ms-/,le=/-([\da-z])/gi,ue=function(e,t){return t.toUpperCase()};ae.fn=ae.prototype={jquery:ie,constructor:ae,selector:"",length:0,toArray:function(){return X.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:X.call(this)},pushStack:function(e){var t=ae.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return ae.each(this,e)},map:function(e){return this.pushStack(ae.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(X.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:K,sort:J.sort,splice:J.splice},ae.extend=ae.fn.extend=function(){var e,t,n,r,i,a,o=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[s]||{},s++),"object"==typeof o||ae.isFunction(o)||(o={}),s===l&&(o=this,s--);l>s;s++)if(null!=(e=arguments[s]))for(t in e)n=o[t],r=e[t],o!==r&&(u&&r&&(ae.isPlainObject(r)||(i=ae.isArray(r)))?(i?(i=!1,a=n&&ae.isArray(n)?n:[]):a=n&&ae.isPlainObject(n)?n:{},o[t]=ae.extend(u,a,r)):void 0!==r&&(o[t]=r));return o},ae.extend({expando:"jQuery"+(ie+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===ae.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!ae.isArray(e)&&t-parseFloat(t)+1>=0},isPlainObject:function(e){var t;if("object"!==ae.type(e)||e.nodeType||ae.isWindow(e))return!1;if(e.constructor&&!ne.call(e,"constructor")&&!ne.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||ne.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ee[te.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=ae.trim(e))&&(1===e.indexOf("use strict")?(t=G.createElement("script"),t.text=e,G.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(se,"ms-").replace(le,ue)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var r,i=0;if(n(e))for(r=e.length;r>i&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(oe,"")},makeArray:function(e,t){var r=t||[];return null!=e&&(n(Object(e))?ae.merge(r,"string"==typeof e?[e]:e):K.call(r,e)),r},inArray:function(e,t,n){return null==t?-1:Q.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;n>r;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,a=e.length,o=!n;a>i;i++)!t(e[i],i)!==o&&r.push(e[i]);return r},map:function(e,t,r){var i,a,o=0,s=[];if(n(e))for(i=e.length;i>o;o++)null!=(a=t(e[o],o,r))&&s.push(a);else for(o in e)null!=(a=t(e[o],o,r))&&s.push(a);return Z.apply([],s)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(n=e[t],t=e,e=n),ae.isFunction(e)?(r=X.call(arguments,2),i=function(){return e.apply(t||this,r.concat(X.call(arguments)))},i.guid=e.guid=e.guid||ae.guid++,i):void 0},now:Date.now,support:re}),"function"==typeof Symbol&&(ae.fn[Symbol.iterator]=J[Symbol.iterator]),ae.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ee["[object "+t+"]"]=t.toLowerCase()});var de=function(e){function t(e,t,n,r){var i,a,o,s,u,c,h,f,p=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!r&&((t?t.ownerDocument||t:F)!==C&&S(t),t=t||C,H)){if(11!==m&&(c=me.exec(e)))if(i=c[1]){if(9===m){if(!(o=t.getElementById(i)))return n;if(o.id===i)return n.push(o),n}else if(p&&(o=p.getElementById(i))&&E(t,o)&&o.id===i)return n.push(o),n}else{if(c[2])return X.apply(n,t.getElementsByTagName(e)),n;if((i=c[3])&&v.getElementsByClassName&&t.getElementsByClassName)return X.apply(n,t.getElementsByClassName(i)),n}if(v.qsa&&!B[e+" "]&&(!O||!O.test(e))){if(1!==m)p=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(ge,"\\$&"):t.setAttribute("id",s=I),h=x(e),a=h.length,u=de.test(s)?"#"+s:"[id='"+s+"']";a--;)h[a]=u+" "+d(h[a]);f=h.join(","),p=_e.test(e)&&l(t.parentNode)||t}if(f)try{return X.apply(n,p.querySelectorAll(f)),n}catch(e){}finally{s===I&&t.removeAttribute("id")}}}return L(e.replace(ae,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>b.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[I]=!0,e}function i(e){var t=C.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function o(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||V)-(~e.sourceIndex||V);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return r(function(t){return t=+t,r(function(n,r){for(var i,a=e([],n.length,t),o=a.length;o--;)n[i=a[o]]&&(n[i]=!(r[i]=n[i]))})})}function l(e){return e&&void 0!==e.getElementsByTagName&&e}function u(){}function d(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function c(e,t,n){var r=t.dir,i=n&&"parentNode"===r,a=R++;return t.first?function(t,n,a){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,a)}:function(t,n,o){var s,l,u,d=[W,a];if(o){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,o))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if(u=t[I]||(t[I]={}),l=u[t.uniqueID]||(u[t.uniqueID]={}),(s=l[r])&&s[0]===W&&s[1]===a)return d[2]=s[2];if(l[r]=d,d[2]=e(t,n,o))return!0}}}function h(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function f(e,n,r){for(var i=0,a=n.length;a>i;i++)t(e,n[i],r);return r}function p(e,t,n,r,i){for(var a,o=[],s=0,l=e.length,u=null!=t;l>s;s++)(a=e[s])&&(n&&!n(a,r,i)||(o.push(a),u&&t.push(s)));return o}function m(e,t,n,i,a,o){return i&&!i[I]&&(i=m(i)),a&&!a[I]&&(a=m(a,o)),r(function(r,o,s,l){var u,d,c,h=[],m=[],_=o.length,g=r||f(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?g:p(g,h,e,s,l),v=n?a||(r?e:_||i)?[]:o:y;if(n&&n(y,v,s,l),i)for(u=p(v,m),i(u,[],s,l),d=u.length;d--;)(c=u[d])&&(v[m[d]]=!(y[m[d]]=c));if(r){if(a||e){if(a){for(u=[],d=v.length;d--;)(c=v[d])&&u.push(y[d]=c);a(null,v=[],u,l)}for(d=v.length;d--;)(c=v[d])&&(u=a?K(r,c):h[d])>-1&&(r[u]=!(o[u]=c))}}else v=p(v===o?v.splice(_,v.length):v),a?a(null,o,v,l):X.apply(o,v)})}function _(e){for(var t,n,r,i=e.length,a=b.relative[e[0].type],o=a||b.relative[" "],s=a?1:0,l=c(function(e){return e===t},o,!0),u=c(function(e){return K(t,e)>-1},o,!0),f=[function(e,n,r){var i=!a&&(r||n!==D)||((t=n).nodeType?l(e,n,r):u(e,n,r));return t=null,i}];i>s;s++)if(n=b.relative[e[s].type])f=[c(h(f),n)];else{if(n=b.filter[e[s].type].apply(null,e[s].matches),n[I]){for(r=++s;i>r&&!b.relative[e[r].type];r++);return m(s>1&&h(f),s>1&&d(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ae,"$1"),n,r>s&&_(e.slice(s,r)),i>r&&_(e=e.slice(r)),i>r&&d(e))}f.push(n)}return h(f)}function g(e,n){var i=n.length>0,a=e.length>0,o=function(r,o,s,l,u){var d,c,h,f=0,m="0",_=r&&[],g=[],y=D,v=r||a&&b.find.TAG("*",u),M=W+=null==y?1:Math.random()||.1,w=v.length;for(u&&(D=o===C||o||u);m!==w&&null!=(d=v[m]);m++){if(a&&d){for(c=0,o||d.ownerDocument===C||(S(d),s=!H);h=e[c++];)if(h(d,o||C,s)){l.push(d);break}u&&(W=M)}i&&((d=!h&&d)&&f--,r&&_.push(d))}if(f+=m,i&&m!==f){for(c=0;h=n[c++];)h(_,g,o,s);if(r){if(f>0)for(;m--;)_[m]||g[m]||(g[m]=J.call(l));g=p(g)}X.apply(l,g),u&&!r&&g.length>0&&f+n.length>1&&t.uniqueSort(l)}return u&&(W=M,D=y),_};return i?r(o):o}var y,v,b,M,w,x,k,L,D,Y,T,S,C,j,H,O,A,P,E,I="sizzle"+1*new Date,F=e.document,W=0,R=0,N=n(),z=n(),B=n(),$=function(e,t){return e===t&&(T=!0),0},V=1<<31,q={}.hasOwnProperty,U=[],J=U.pop,G=U.push,X=U.push,Z=U.slice,K=function(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1},Q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",re=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",ie=new RegExp(ee+"+","g"),ae=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),oe=new RegExp("^"+ee+"*,"+ee+"*"),se=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),le=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),ue=new RegExp(re),de=new RegExp("^"+te+"$"),ce={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Q+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,fe=/^h\d$/i,pe=/^[^{]+\{\s*\[native \w/,me=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_e=/[+~]/,ge=/'|\\/g,ye=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),ve=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},be=function(){S()};try{X.apply(U=Z.call(F.childNodes),F.childNodes),U[F.childNodes.length].nodeType}catch(e){X={apply:U.length?function(e,t){G.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}v=t.support={},w=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},S=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:F;return r!==C&&9===r.nodeType&&r.documentElement?(C=r,j=C.documentElement,H=!w(C),(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",be,!1):n.attachEvent&&n.attachEvent("onunload",be)),v.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),v.getElementsByTagName=i(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),v.getElementsByClassName=pe.test(C.getElementsByClassName),v.getById=i(function(e){return j.appendChild(e).id=I,!C.getElementsByName||!C.getElementsByName(I).length}),v.getById?(b.find.ID=function(e,t){if(void 0!==t.getElementById&&H){var n=t.getElementById(e);return n?[n]:[]}},b.filter.ID=function(e){var t=e.replace(ye,ve);return function(e){return e.getAttribute("id")===t}}):(delete b.find.ID,b.filter.ID=function(e){var t=e.replace(ye,ve);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),b.find.TAG=v.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):v.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[i++];)1===n.nodeType&&r.push(n);return r}return a},b.find.CLASS=v.getElementsByClassName&&function(e,t){return void 0!==t.getElementsByClassName&&H?t.getElementsByClassName(e):void 0},A=[],O=[],(v.qsa=pe.test(C.querySelectorAll))&&(i(function(e){j.appendChild(e).innerHTML="<a id='"+I+"'></a><select id='"+I+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&O.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||O.push("\\["+ee+"*(?:value|"+Q+")"),e.querySelectorAll("[id~="+I+"-]").length||O.push("~="),e.querySelectorAll(":checked").length||O.push(":checked"),e.querySelectorAll("a#"+I+"+*").length||O.push(".#.+[+~]")}),i(function(e){var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&O.push("name"+ee+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||O.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),O.push(",.*:")})),(v.matchesSelector=pe.test(P=j.matches||j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&i(function(e){v.disconnectedMatch=P.call(e,"div"),P.call(e,"[s!='']:x"),A.push("!=",re)}),O=O.length&&new RegExp(O.join("|")),A=A.length&&new RegExp(A.join("|")),t=pe.test(j.compareDocumentPosition),E=t||pe.test(j.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},$=t?function(e,t){if(e===t)return T=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!v.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===F&&E(F,e)?-1:t===C||t.ownerDocument===F&&E(F,t)?1:Y?K(Y,e)-K(Y,t):0:4&n?-1:1)}:function(e,t){if(e===t)return T=!0,0;var n,r=0,i=e.parentNode,a=t.parentNode,s=[e],l=[t];if(!i||!a)return e===C?-1:t===C?1:i?-1:a?1:Y?K(Y,e)-K(Y,t):0;if(i===a)return o(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;s[r]===l[r];)r++;return r?o(s[r],l[r]):s[r]===F?-1:l[r]===F?1:0},C):C},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==C&&S(e),n=n.replace(le,"='$1']"),v.matchesSelector&&H&&!B[n+" "]&&(!A||!A.test(n))&&(!O||!O.test(n)))try{var r=P.call(e,n);if(r||v.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,C,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==C&&S(e),E(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==C&&S(e);var n=b.attrHandle[t.toLowerCase()],r=n&&q.call(b.attrHandle,t.toLowerCase())?n(e,t,!H):void 0;return void 0!==r?r:v.attributes||!H?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(T=!v.detectDuplicates,Y=!v.sortStable&&e.slice(0),e.sort($),T){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return Y=null,e},M=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=M(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=M(t);return n},b=t.selectors={cacheLength:50,createPseudo:r,match:ce,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ye,ve),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,ve),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return ce.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ue.test(n)&&(t=x(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ye,ve).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var a=t.attr(i,e);return null==a?"!="===n:!n||(a+="","="===n?a===r:"!="===n?a!==r:"^="===n?r&&0===a.indexOf(r):"*="===n?r&&a.indexOf(r)>-1:"$="===n?r&&a.slice(-r.length)===r:"~="===n?(" "+a.replace(ie," ")+" ").indexOf(r)>-1:"|="===n&&(a===r||a.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,d,c,h,f,p,m=a!==o?"nextSibling":"previousSibling",_=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!l&&!s,v=!1;if(_){if(a){for(;m;){for(h=t;h=h[m];)if(s?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[o?_.firstChild:_.lastChild],o&&y){for(h=_,c=h[I]||(h[I]={}),d=c[h.uniqueID]||(c[h.uniqueID]={}),u=d[e]||[],f=u[0]===W&&u[1],v=f&&u[2],h=f&&_.childNodes[f];h=++f&&h&&h[m]||(v=f=0)||p.pop();)if(1===h.nodeType&&++v&&h===t){d[e]=[W,f,v];break}}else if(y&&(h=t,c=h[I]||(h[I]={}),d=c[h.uniqueID]||(c[h.uniqueID]={}),u=d[e]||[],f=u[0]===W&&u[1],v=f),!1===v)for(;(h=++f&&h&&h[m]||(v=f=0)||p.pop())&&((s?h.nodeName.toLowerCase()!==g:1!==h.nodeType)||!++v||(y&&(c=h[I]||(h[I]={}),d=c[h.uniqueID]||(c[h.uniqueID]={}),d[e]=[W,v]),h!==t)););return(v-=i)===r||v%r==0&&v/r>=0}}},PSEUDO:function(e,n){var i,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return a[I]?a(n):a.length>1?(i=[e,e,"",n],b.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=a(e,n),o=i.length;o--;)r=K(e,i[o]),e[r]=!(t[r]=i[o])}):function(e){return a(e,0,i)}):a}},pseudos:{not:r(function(e){var t=[],n=[],i=k(e.replace(ae,"$1"));return i[I]?r(function(e,t,n,r){for(var a,o=i(e,null,r,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))}):function(e,r,a){return t[0]=e,i(t,null,a,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ye,ve),function(t){return(t.textContent||t.innerText||M(t)).indexOf(e)>-1}}),lang:r(function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,ve).toLowerCase(),function(t){var n;do{if(n=H?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===j},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return fe.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:s(function(){return[0]}),last:s(function(e,t){return[t-1]}),eq:s(function(e,t,n){return[0>n?n+t:n]}),even:s(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:s(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:s(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:s(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}},b.pseudos.nth=b.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[y]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(y);for(y in{submit:!0,reset:!0})b.pseudos[y]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(y);return u.prototype=b.filters=b.pseudos,b.setFilters=new u,x=t.tokenize=function(e,n){var r,i,a,o,s,l,u,d=z[e+" "];if(d)return n?0:d.slice(0);for(s=e,l=[],u=b.preFilter;s;){r&&!(i=oe.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(a=[])),r=!1,(i=se.exec(s))&&(r=i.shift(),a.push({value:r,type:i[0].replace(ae," ")}),s=s.slice(r.length));for(o in b.filter)!(i=ce[o].exec(s))||u[o]&&!(i=u[o](i))||(r=i.shift(),a.push({value:r,type:o,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):z(e,l).slice(0)},k=t.compile=function(e,t){var n,r=[],i=[],a=B[e+" "];if(!a){for(t||(t=x(e)),n=t.length;n--;)a=_(t[n]),a[I]?r.push(a):i.push(a);a=B(e,g(i,r)),a.selector=e}return a},L=t.select=function(e,t,n,r){var i,a,o,s,u,c="function"==typeof e&&e,h=!r&&x(e=c.selector||e);if(n=n||[],1===h.length){if(a=h[0]=h[0].slice(0),a.length>2&&"ID"===(o=a[0]).type&&v.getById&&9===t.nodeType&&H&&b.relative[a[1].type]){if(!(t=(b.find.ID(o.matches[0].replace(ye,ve),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(i=ce.needsContext.test(e)?0:a.length;i--&&(o=a[i],!b.relative[s=o.type]);)if((u=b.find[s])&&(r=u(o.matches[0].replace(ye,ve),_e.test(a[0].type)&&l(t.parentNode)||t))){if(a.splice(i,1),!(e=r.length&&d(a)))return X.apply(n,r),n;break}}return(c||k(e,h))(r,t,!H,n,!t||_e.test(e)&&l(t.parentNode)||t),n},v.sortStable=I.split("").sort($).join("")===I,v.detectDuplicates=!!T,S(),v.sortDetached=i(function(e){return 1&e.compareDocumentPosition(C.createElement("div"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||a("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),v.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||a("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||a(Q,function(e,t,n){var r;return n?void 0:!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);ae.find=de,ae.expr=de.selectors,ae.expr[":"]=ae.expr.pseudos,ae.uniqueSort=ae.unique=de.uniqueSort,ae.text=de.getText,ae.isXMLDoc=de.isXML,ae.contains=de.contains;var ce=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&ae(e).is(n))break;r.push(e)}return r},he=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},fe=ae.expr.match.needsContext,pe=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,me=/^.[^:#\[\.,]*$/;ae.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ae.find.matchesSelector(r,e)?[r]:[]:ae.find.matches(e,ae.grep(t,function(e){return 1===e.nodeType}))},ae.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(ae(e).filter(function(){for(t=0;n>t;t++)if(ae.contains(i[t],this))return!0}));for(t=0;n>t;t++)ae.find(e,i[t],r);return r=this.pushStack(n>1?ae.unique(r):r),r.selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(r(this,e||[],!1))},not:function(e){return this.pushStack(r(this,e||[],!0))},is:function(e){return!!r(this,"string"==typeof e&&fe.test(e)?ae(e):e||[],!1).length}});var _e,ge=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(ae.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||_e,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:ge.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ae?t[0]:t,ae.merge(this,ae.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:G,!0)),pe.test(r[1])&&ae.isPlainObject(t))for(r in t)ae.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=G.getElementById(r[2]),i&&i.parentNode&&(this.length=1,this[0]=i),this.context=G,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ae.isFunction(e)?void 0!==n.ready?n.ready(e):e(ae):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),ae.makeArray(e,this))}).prototype=ae.fn,_e=ae(G);var ye=/^(?:parents|prev(?:Until|All))/,ve={children:!0,contents:!0,next:!0,prev:!0};ae.fn.extend({has:function(e){var t=ae(e,this),n=t.length;return this.filter(function(){for(var e=0;n>e;e++)if(ae.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,a=[],o=fe.test(e)||"string"!=typeof e?ae(e,t||this.context):0;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&ae.find.matchesSelector(n,e))){a.push(n);break}
|
||
return this.pushStack(a.length>1?ae.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?Q.call(ae(e),this[0]):Q.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ae.uniqueSort(ae.merge(this.get(),ae(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ae.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ce(e,"parentNode")},parentsUntil:function(e,t,n){return ce(e,"parentNode",n)},next:function(e){return i(e,"nextSibling")},prev:function(e){return i(e,"previousSibling")},nextAll:function(e){return ce(e,"nextSibling")},prevAll:function(e){return ce(e,"previousSibling")},nextUntil:function(e,t,n){return ce(e,"nextSibling",n)},prevUntil:function(e,t,n){return ce(e,"previousSibling",n)},siblings:function(e){return he((e.parentNode||{}).firstChild,e)},children:function(e){return he(e.firstChild)},contents:function(e){return e.contentDocument||ae.merge([],e.childNodes)}},function(e,t){ae.fn[e]=function(n,r){var i=ae.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=ae.filter(r,i)),this.length>1&&(ve[e]||ae.uniqueSort(i),ye.test(e)&&i.reverse()),this.pushStack(i)}});var be=/\S+/g;ae.Callbacks=function(e){e="string"==typeof e?a(e):ae.extend({},e);var t,n,r,i,o=[],s=[],l=-1,u=function(){for(i=e.once,r=t=!0;s.length;l=-1)for(n=s.shift();++l<o.length;)!1===o[l].apply(n[0],n[1])&&e.stopOnFalse&&(l=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},d={add:function(){return o&&(n&&!t&&(l=o.length-1,s.push(n)),function t(n){ae.each(n,function(n,r){ae.isFunction(r)?e.unique&&d.has(r)||o.push(r):r&&r.length&&"string"!==ae.type(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return ae.each(arguments,function(e,t){for(var n;(n=ae.inArray(t,o,n))>-1;)o.splice(n,1),l>=n&&l--}),this},has:function(e){return e?ae.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=s=[],n||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||u()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},ae.extend({Deferred:function(e){var t=[["resolve","done",ae.Callbacks("once memory"),"resolved"],["reject","fail",ae.Callbacks("once memory"),"rejected"],["notify","progress",ae.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ae.Deferred(function(n){ae.each(t,function(t,a){var o=ae.isFunction(e[t])&&e[t];i[a[1]](function(){var e=o&&o.apply(this,arguments);e&&ae.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[a[0]+"With"](this===r?n.promise():this,o?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ae.extend(e,r):r}},i={};return r.pipe=r.then,ae.each(t,function(e,a){var o=a[2],s=a[3];r[a[1]]=o.add,s&&o.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[a[0]]=function(){return i[a[0]+"With"](this===i?r:this,arguments),this},i[a[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,a=X.call(arguments),o=a.length,s=1!==o||e&&ae.isFunction(e.promise)?o:0,l=1===s?e:ae.Deferred(),u=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?X.call(arguments):i,r===t?l.notifyWith(n,r):--s||l.resolveWith(n,r)}};if(o>1)for(t=new Array(o),n=new Array(o),r=new Array(o);o>i;i++)a[i]&&ae.isFunction(a[i].promise)?a[i].promise().progress(u(i,n,t)).done(u(i,r,a)).fail(l.reject):--s;return s||l.resolveWith(r,a),l.promise()}});var Me;ae.fn.ready=function(e){return ae.ready.promise().done(e),this},ae.extend({isReady:!1,readyWait:1,holdReady:function(e){e?ae.readyWait++:ae.ready(!0)},ready:function(e){(!0===e?--ae.readyWait:ae.isReady)||(ae.isReady=!0,!0!==e&&--ae.readyWait>0||(Me.resolveWith(G,[ae]),ae.fn.triggerHandler&&(ae(G).triggerHandler("ready"),ae(G).off("ready"))))}}),ae.ready.promise=function(t){return Me||(Me=ae.Deferred(),"complete"===G.readyState||"loading"!==G.readyState&&!G.documentElement.doScroll?e.setTimeout(ae.ready):(G.addEventListener("DOMContentLoaded",o),e.addEventListener("load",o))),Me.promise(t)},ae.ready.promise();var we=function(e,t,n,r,i,a,o){var s=0,l=e.length,u=null==n;if("object"===ae.type(n)){i=!0;for(s in n)we(e,t,s,n[s],!0,a,o)}else if(void 0!==r&&(i=!0,ae.isFunction(r)||(o=!0),u&&(o?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(ae(e),n)})),t))for(;l>s;s++)t(e[s],n,o?r:r.call(e[s],s,t(e[s],n)));return i?e:u?t.call(e):l?t(e[0],n):a},xe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};s.uid=1,s.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!xe(e))return{};var t=e[this.expando];return t||(t={},xe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[t]=n;else for(r in t)i[r]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?(r=this.get(e,t),void 0!==r?r:this.get(e,ae.camelCase(t))):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,i,a=e[this.expando];if(void 0!==a){if(void 0===t)this.register(e);else{ae.isArray(t)?r=t.concat(t.map(ae.camelCase)):(i=ae.camelCase(t),t in a?r=[t,i]:(r=i,r=r in a?[r]:r.match(be)||[])),n=r.length;for(;n--;)delete a[r[n]]}(void 0===t||ae.isEmptyObject(a))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ae.isEmptyObject(t)}};var ke=new s,Le=new s,De=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ye=/[A-Z]/g;ae.extend({hasData:function(e){return Le.hasData(e)||ke.hasData(e)},data:function(e,t,n){return Le.access(e,t,n)},removeData:function(e,t){Le.remove(e,t)},_data:function(e,t,n){return ke.access(e,t,n)},_removeData:function(e,t){ke.remove(e,t)}}),ae.fn.extend({data:function(e,t){var n,r,i,a=this[0],o=a&&a.attributes;if(void 0===e){if(this.length&&(i=Le.get(a),1===a.nodeType&&!ke.get(a,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&(r=o[n].name,0===r.indexOf("data-")&&(r=ae.camelCase(r.slice(5)),l(a,r,i[r])));ke.set(a,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){Le.set(this,e)}):we(this,function(t){var n,r;if(a&&void 0===t){if(void 0!==(n=Le.get(a,e)||Le.get(a,e.replace(Ye,"-$&").toLowerCase())))return n;if(r=ae.camelCase(e),void 0!==(n=Le.get(a,r)))return n;if(void 0!==(n=l(a,r,void 0)))return n}else r=ae.camelCase(e),this.each(function(){var n=Le.get(this,r);Le.set(this,r,t),e.indexOf("-")>-1&&void 0!==n&&Le.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Le.remove(this,e)})}}),ae.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=ke.get(e,t),n&&(!r||ae.isArray(n)?r=ke.access(e,t,ae.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=ae.queue(e,t),r=n.length,i=n.shift(),a=ae._queueHooks(e,t),o=function(){ae.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete a.stop,i.call(e,o,a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ke.get(e,n)||ke.access(e,n,{empty:ae.Callbacks("once memory").add(function(){ke.remove(e,[t+"queue",n])})})}}),ae.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?ae.queue(this[0],e):void 0===t?this:this.each(function(){var n=ae.queue(this,e,t);ae._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&ae.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ae.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ae.Deferred(),a=this,o=this.length,s=function(){--r||i.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(n=ke.get(a[o],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var Te=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Se=new RegExp("^(?:([+-])=|)("+Te+")([a-z%]*)$","i"),Ce=["Top","Right","Bottom","Left"],je=function(e,t){return e=t||e,"none"===ae.css(e,"display")||!ae.contains(e.ownerDocument,e)},He=/^(?:checkbox|radio)$/i,Oe=/<([\w:-]+)/,Ae=/^$|\/(?:java|ecma)script/i,Pe={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Pe.optgroup=Pe.option,Pe.tbody=Pe.tfoot=Pe.colgroup=Pe.caption=Pe.thead,Pe.th=Pe.td;var Ee=/<|&#?\w+;/;!function(){var e=G.createDocumentFragment(),t=e.appendChild(G.createElement("div")),n=G.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),re.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",re.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var Ie=/^key/,Fe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,We=/^([^.]*)(?:\.(.+)|)/;ae.event={global:{},add:function(e,t,n,r,i){var a,o,s,l,u,d,c,h,f,p,m,_=ke.get(e);if(_)for(n.handler&&(a=n,n=a.handler,i=a.selector),n.guid||(n.guid=ae.guid++),(l=_.events)||(l=_.events={}),(o=_.handle)||(o=_.handle=function(t){return void 0!==ae&&ae.event.triggered!==t.type?ae.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(be)||[""],u=t.length;u--;)s=We.exec(t[u])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f&&(c=ae.event.special[f]||{},f=(i?c.delegateType:c.bindType)||f,c=ae.event.special[f]||{},d=ae.extend({type:f,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ae.expr.match.needsContext.test(i),namespace:p.join(".")},a),(h=l[f])||(h=l[f]=[],h.delegateCount=0,c.setup&&!1!==c.setup.call(e,r,p,o)||e.addEventListener&&e.addEventListener(f,o)),c.add&&(c.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,d):h.push(d),ae.event.global[f]=!0)},remove:function(e,t,n,r,i){var a,o,s,l,u,d,c,h,f,p,m,_=ke.hasData(e)&&ke.get(e);if(_&&(l=_.events)){for(t=(t||"").match(be)||[""],u=t.length;u--;)if(s=We.exec(t[u])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f){for(c=ae.event.special[f]||{},f=(r?c.delegateType:c.bindType)||f,h=l[f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=h.length;a--;)d=h[a],!i&&m!==d.origType||n&&n.guid!==d.guid||s&&!s.test(d.namespace)||r&&r!==d.selector&&("**"!==r||!d.selector)||(h.splice(a,1),d.selector&&h.delegateCount--,c.remove&&c.remove.call(e,d));o&&!h.length&&(c.teardown&&!1!==c.teardown.call(e,p,_.handle)||ae.removeEvent(e,f,_.handle),delete l[f])}else for(f in l)ae.event.remove(e,f+t[u],n,r,!0);ae.isEmptyObject(l)&&ke.remove(e,"handle events")}},dispatch:function(e){e=ae.event.fix(e);var t,n,r,i,a,o=[],s=X.call(arguments),l=(ke.get(this,"events")||{})[e.type]||[],u=ae.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(o=ae.event.handlers.call(this,e,l),t=0;(i=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(a=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(a.namespace)||(e.handleObj=a,e.data=a.data,void 0!==(r=((ae.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,s))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,a,o=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(r=[],n=0;s>n;n++)a=t[n],i=a.selector+" ",void 0===r[i]&&(r[i]=a.needsContext?ae(i,this).index(l)>-1:ae.find(i,this,null,[l]).length),r[i]&&r.push(a);r.length&&o.push({elem:l,handlers:r})}return s<t.length&&o.push({elem:this,handlers:t.slice(s)}),o},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,a=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||G,r=n.documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),e}},fix:function(e){if(e[ae.expando])return e;var t,n,r,i=e.type,a=e,o=this.fixHooks[i];for(o||(this.fixHooks[i]=o=Fe.test(i)?this.mouseHooks:Ie.test(i)?this.keyHooks:{}),r=o.props?this.props.concat(o.props):this.props,e=new ae.Event(a),t=r.length;t--;)n=r[t],e[n]=a[n];return e.target||(e.target=G),3===e.target.nodeType&&(e.target=e.target.parentNode),o.filter?o.filter(e,a):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==m()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===m()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&ae.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return ae.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ae.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ae.Event=function(e,t){return this instanceof ae.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?f:p):this.type=e,t&&ae.extend(this,t),this.timeStamp=e&&e.timeStamp||ae.now(),void(this[ae.expando]=!0)):new ae.Event(e,t)},ae.Event.prototype={constructor:ae.Event,isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=f,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=f,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=f,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ae.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){ae.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,a=e.handleObj;return i&&(i===r||ae.contains(r,i))||(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}}),ae.fn.extend({on:function(e,t,n,r){return _(this,e,t,n,r)},one:function(e,t,n,r){return _(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ae(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=p),this.each(function(){ae.event.remove(this,e,n,t)})}});var Re=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ne=/<script|<style|<link/i,ze=/checked\s*(?:[^=]|=\s*.checked.)/i,Be=/^true\/(.*)/,$e=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;ae.extend({htmlPrefilter:function(e){return e.replace(Re,"<$1></$2>")},clone:function(e,t,n){var r,i,a,o,s=e.cloneNode(!0),l=ae.contains(e.ownerDocument,e);if(!(re.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ae.isXMLDoc(e)))for(o=d(s),a=d(e),r=0,i=a.length;i>r;r++)M(a[r],o[r]);if(t)if(n)for(a=a||d(e),o=o||d(s),r=0,i=a.length;i>r;r++)b(a[r],o[r]);else b(e,s);return o=d(s,"script"),o.length>0&&c(o,!l&&d(e,"script")),s},cleanData:function(e){for(var t,n,r,i=ae.event.special,a=0;void 0!==(n=e[a]);a++)if(xe(n)){if(t=n[ke.expando]){if(t.events)for(r in t.events)i[r]?ae.event.remove(n,r):ae.removeEvent(n,r,t.handle);n[ke.expando]=void 0}n[Le.expando]&&(n[Le.expando]=void 0)}}}),ae.fn.extend({domManip:w,detach:function(e){return x(this,e,!0)},remove:function(e){return x(this,e)},text:function(e){return we(this,function(e){return void 0===e?ae.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return w(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){g(this,e).appendChild(e)}})},prepend:function(){return w(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=g(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return w(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return w(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ae.cleanData(d(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ae.clone(this,e,t)})},html:function(e){return we(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ne.test(e)&&!Pe[(Oe.exec(e)||["",""])[1].toLowerCase()]){e=ae.htmlPrefilter(e);try{for(;r>n;n++)t=this[n]||{},1===t.nodeType&&(ae.cleanData(d(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return w(this,arguments,function(t){var n=this.parentNode;ae.inArray(this,e)<0&&(ae.cleanData(d(this)),n&&n.replaceChild(t,this))},e)}}),ae.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ae.fn[e]=function(e){for(var n,r=[],i=ae(e),a=i.length-1,o=0;a>=o;o++)n=o===a?this:this.clone(!0),ae(i[o])[t](n),K.apply(r,n.get());return this.pushStack(r)}});var Ve,qe={HTML:"block",BODY:"block"},Ue=/^margin/,Je=new RegExp("^("+Te+")(?!px)[a-z%]+$","i"),Ge=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Xe=function(e,t,n,r){var i,a,o={};for(a in t)o[a]=e.style[a],e.style[a]=t[a];i=n.apply(e,r||[]);for(a in t)e.style[a]=o[a];return i},Ze=G.documentElement;!function(){function t(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",Ze.appendChild(o);var t=e.getComputedStyle(s);n="1%"!==t.top,a="2px"===t.marginLeft,r="4px"===t.width,s.style.marginRight="50%",i="4px"===t.marginRight,Ze.removeChild(o)}var n,r,i,a,o=G.createElement("div"),s=G.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",re.clearCloneStyle="content-box"===s.style.backgroundClip,o.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",o.appendChild(s),ae.extend(re,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return null==r&&t(),r},pixelMarginRight:function(){return null==r&&t(),i},reliableMarginLeft:function(){return null==r&&t(),a},reliableMarginRight:function(){var t,n=s.appendChild(G.createElement("div"));return n.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",s.style.width="1px",Ze.appendChild(o),t=!parseFloat(e.getComputedStyle(n).marginRight),Ze.removeChild(o),s.removeChild(n),t}}))}();var Ke=/^(none|table(?!-c[ea]).+)/,Qe={position:"absolute",visibility:"hidden",display:"block"},et={letterSpacing:"0",fontWeight:"400"},tt=["Webkit","O","Moz","ms"],nt=G.createElement("div").style;ae.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=D(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,o,s=ae.camelCase(t),l=e.style;return t=ae.cssProps[s]||(ae.cssProps[s]=T(s)||s),o=ae.cssHooks[t]||ae.cssHooks[s],void 0===n?o&&"get"in o&&void 0!==(i=o.get(e,!1,r))?i:l[t]:(a=typeof n,"string"===a&&(i=Se.exec(n))&&i[1]&&(n=u(e,t,i),a="number"),void(null!=n&&n===n&&("number"===a&&(n+=i&&i[3]||(ae.cssNumber[s]?"":"px")),re.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(l[t]=n))))}},css:function(e,t,n,r){var i,a,o,s=ae.camelCase(t);return t=ae.cssProps[s]||(ae.cssProps[s]=T(s)||s),o=ae.cssHooks[t]||ae.cssHooks[s],o&&"get"in o&&(i=o.get(e,!0,n)),void 0===i&&(i=D(e,t,r)),"normal"===i&&t in et&&(i=et[t]),""===n||n?(a=parseFloat(i),!0===n||isFinite(a)?a||0:i):i}}),ae.each(["height","width"],function(e,t){ae.cssHooks[t]={get:function(e,n,r){return n?Ke.test(ae.css(e,"display"))&&0===e.offsetWidth?Xe(e,Qe,function(){return j(e,t,r)}):j(e,t,r):void 0},set:function(e,n,r){var i,a=r&&Ge(e),o=r&&C(e,t,r,"border-box"===ae.css(e,"boxSizing",!1,a),a);return o&&(i=Se.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=ae.css(e,t)),S(e,n,o)}}}),ae.cssHooks.marginLeft=Y(re.reliableMarginLeft,function(e,t){return t?(parseFloat(D(e,"marginLeft"))||e.getBoundingClientRect().left-Xe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px":void 0}),ae.cssHooks.marginRight=Y(re.reliableMarginRight,function(e,t){return t?Xe(e,{display:"inline-block"},D,[e,"marginRight"]):void 0}),ae.each({margin:"",padding:"",border:"Width"},function(e,t){ae.cssHooks[e+t]={expand:function(n){for(var r=0,i={},a="string"==typeof n?n.split(" "):[n];4>r;r++)i[e+Ce[r]+t]=a[r]||a[r-2]||a[0];return i}},Ue.test(e)||(ae.cssHooks[e+t].set=S)}),ae.fn.extend({css:function(e,t){return we(this,function(e,t,n){var r,i,a={},o=0;if(ae.isArray(t)){for(r=Ge(e),i=t.length;i>o;o++)a[t[o]]=ae.css(e,t[o],!1,r);return a}return void 0!==n?ae.style(e,t,n):ae.css(e,t)},e,t,arguments.length>1)},show:function(){return H(this,!0)},hide:function(){return H(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){je(this)?ae(this).show():ae(this).hide()})}}),ae.Tween=O,O.prototype={constructor:O,init:function(e,t,n,r,i,a){this.elem=e,this.prop=n,this.easing=i||ae.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(ae.cssNumber[n]?"":"px")},cur:function(){var e=O.propHooks[this.prop];return e&&e.get?e.get(this):O.propHooks._default.get(this)},run:function(e){var t,n=O.propHooks[this.prop];return this.options.duration?this.pos=t=ae.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):O.propHooks._default.set(this),this}},O.prototype.init.prototype=O.prototype,O.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ae.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){ae.fx.step[e.prop]?ae.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[ae.cssProps[e.prop]]&&!ae.cssHooks[e.prop]?e.elem[e.prop]=e.now:ae.style(e.elem,e.prop,e.now+e.unit)}}},O.propHooks.scrollTop=O.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ae.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ae.fx=O.prototype.init,ae.fx.step={};var rt,it,at=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;ae.Animation=ae.extend(W,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return u(n.elem,e,Se.exec(t),n),n}]},tweener:function(e,t){ae.isFunction(e)?(t=e,e=["*"]):e=e.match(be);for(var n,r=0,i=e.length;i>r;r++)n=e[r],W.tweeners[n]=W.tweeners[n]||[],W.tweeners[n].unshift(t)},prefilters:[I],prefilter:function(e,t){t?W.prefilters.unshift(e):W.prefilters.push(e)}}),ae.speed=function(e,t,n){var r=e&&"object"==typeof e?ae.extend({},e):{complete:n||!n&&t||ae.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ae.isFunction(t)&&t};return r.duration=ae.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in ae.fx.speeds?ae.fx.speeds[r.duration]:ae.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){ae.isFunction(r.old)&&r.old.call(this),r.queue&&ae.dequeue(this,r.queue)},r},ae.fn.extend({fadeTo:function(e,t,n,r){return this.filter(je).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=ae.isEmptyObject(e),a=ae.speed(t,n,r),o=function(){var t=W(this,ae.extend({},e),a);(i||ke.get(this,"finish"))&&t.stop(!0)};return o.finish=o,i||!1===a.queue?this.each(o):this.queue(a.queue,o)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",a=ae.timers,o=ke.get(this);if(i)o[i]&&o[i].stop&&r(o[i]);else for(i in o)o[i]&&o[i].stop&&ot.test(i)&&r(o[i]);for(i=a.length;i--;)a[i].elem!==this||null!=e&&a[i].queue!==e||(a[i].anim.stop(n),t=!1,a.splice(i,1));!t&&n||ae.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=ke.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],a=ae.timers,o=r?r.length:0;for(n.finish=!0,ae.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;o>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),ae.each(["toggle","show","hide"],function(e,t){var n=ae.fn[t];ae.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(P(t,!0),e,r,i)}}),ae.each({slideDown:P("show"),slideUp:P("hide"),slideToggle:P("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ae.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),ae.timers=[],ae.fx.tick=function(){var e,t=0,n=ae.timers;for(rt=ae.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ae.fx.stop(),rt=void 0},ae.fx.timer=function(e){ae.timers.push(e),e()?ae.fx.start():ae.timers.pop()},ae.fx.interval=13,ae.fx.start=function(){it||(it=e.setInterval(ae.fx.tick,ae.fx.interval))},ae.fx.stop=function(){e.clearInterval(it),it=null},ae.fx.speeds={slow:600,fast:200,_default:400},ae.fn.delay=function(t,n){return t=ae.fx?ae.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=G.createElement("input"),t=G.createElement("select"),n=t.appendChild(G.createElement("option"));e.type="checkbox",re.checkOn=""!==e.value,re.optSelected=n.selected,t.disabled=!0,re.optDisabled=!n.disabled,e=G.createElement("input"),e.value="t",e.type="radio",re.radioValue="t"===e.value}();var st,lt=ae.expr.attrHandle;ae.fn.extend({attr:function(e,t){return we(this,ae.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ae.removeAttr(this,e)})}}),ae.extend({attr:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?ae.prop(e,t,n):(1===a&&ae.isXMLDoc(e)||(t=t.toLowerCase(),i=ae.attrHooks[t]||(ae.expr.match.bool.test(t)?st:void 0)),void 0!==n?null===n?void ae.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=ae.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!re.radioValue&&"radio"===t&&ae.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,a=t&&t.match(be);if(a&&1===e.nodeType)for(;n=a[i++];)r=ae.propFix[n]||n,ae.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)}}),st={set:function(e,t,n){return!1===t?ae.removeAttr(e,n):e.setAttribute(n,n),n}},ae.each(ae.expr.match.bool.source.match(/\w+/g),function(e,t){var n=lt[t]||ae.find.attr;lt[t]=function(e,t,r){var i,a;return r||(a=lt[t],lt[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,lt[t]=a),i}});var ut=/^(?:input|select|textarea|button)$/i,dt=/^(?:a|area)$/i;ae.fn.extend({prop:function(e,t){return we(this,ae.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[ae.propFix[e]||e]})}}),ae.extend({prop:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&ae.isXMLDoc(e)||(t=ae.propFix[t]||t,i=ae.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ae.find.attr(e,"tabindex");return t?parseInt(t,10):ut.test(e.nodeName)||dt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),re.optSelected||(ae.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ae.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ae.propFix[this.toLowerCase()]=this});var ct=/[\t\r\n\f]/g;ae.fn.extend({addClass:function(e){var t,n,r,i,a,o,s,l=0;if(ae.isFunction(e))return this.each(function(t){ae(this).addClass(e.call(this,t,R(this)))});if("string"==typeof e&&e)for(t=e.match(be)||[];n=this[l++];)if(i=R(n),r=1===n.nodeType&&(" "+i+" ").replace(ct," ")){for(o=0;a=t[o++];)r.indexOf(" "+a+" ")<0&&(r+=a+" ");s=ae.trim(r),i!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,a,o,s,l=0;if(ae.isFunction(e))return this.each(function(t){ae(this).removeClass(e.call(this,t,R(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(be)||[];n=this[l++];)if(i=R(n),r=1===n.nodeType&&(" "+i+" ").replace(ct," ")){for(o=0;a=t[o++];)for(;r.indexOf(" "+a+" ")>-1;)r=r.replace(" "+a+" "," ");s=ae.trim(r),i!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):ae.isFunction(e)?this.each(function(n){ae(this).toggleClass(e.call(this,n,R(this),t),t)}):this.each(function(){var t,r,i,a;if("string"===n)for(r=0,i=ae(this),a=e.match(be)||[];t=a[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=R(this),t&&ke.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":ke.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+R(n)+" ").replace(ct," ").indexOf(t)>-1)return!0;return!1}});var ht=/\r/g,ft=/[\x20\t\r\n\f]+/g;ae.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=ae.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,ae(this).val()):e,null==i?i="":"number"==typeof i?i+="":ae.isArray(i)&&(i=ae.map(i,function(e){return null==e?"":e+""})),
|
||
(t=ae.valHooks[this.type]||ae.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=ae.valHooks[i.type]||ae.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(ht,""):null==n?"":n)):void 0}}),ae.extend({valHooks:{option:{get:function(e){var t=ae.find.attr(e,"value");return null!=t?t:ae.trim(ae.text(e)).replace(ft," ")}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,a="select-one"===e.type||0>i,o=a?null:[],s=a?i+1:r.length,l=0>i?s:a?i:0;s>l;l++)if(n=r[l],(n.selected||l===i)&&(re.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ae.nodeName(n.parentNode,"optgroup"))){if(t=ae(n).val(),a)return t;o.push(t)}return o},set:function(e,t){for(var n,r,i=e.options,a=ae.makeArray(t),o=i.length;o--;)r=i[o],(r.selected=ae.inArray(ae.valHooks.option.get(r),a)>-1)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),ae.each(["radio","checkbox"],function(){ae.valHooks[this]={set:function(e,t){return ae.isArray(t)?e.checked=ae.inArray(ae(e).val(),t)>-1:void 0}},re.checkOn||(ae.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var pt=/^(?:focusinfocus|focusoutblur)$/;ae.extend(ae.event,{trigger:function(t,n,r,i){var a,o,s,l,u,d,c,h=[r||G],f=ne.call(t,"type")?t.type:t,p=ne.call(t,"namespace")?t.namespace.split("."):[];if(o=s=r=r||G,3!==r.nodeType&&8!==r.nodeType&&!pt.test(f+ae.event.triggered)&&(f.indexOf(".")>-1&&(p=f.split("."),f=p.shift(),p.sort()),u=f.indexOf(":")<0&&"on"+f,t=t[ae.expando]?t:new ae.Event(f,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=p.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:ae.makeArray(n,[t]),c=ae.event.special[f]||{},i||!c.trigger||!1!==c.trigger.apply(r,n))){if(!i&&!c.noBubble&&!ae.isWindow(r)){for(l=c.delegateType||f,pt.test(l+f)||(o=o.parentNode);o;o=o.parentNode)h.push(o),s=o;s===(r.ownerDocument||G)&&h.push(s.defaultView||s.parentWindow||e)}for(a=0;(o=h[a++])&&!t.isPropagationStopped();)t.type=a>1?l:c.bindType||f,d=(ke.get(o,"events")||{})[t.type]&&ke.get(o,"handle"),d&&d.apply(o,n),(d=u&&o[u])&&d.apply&&xe(o)&&(t.result=d.apply(o,n),!1===t.result&&t.preventDefault());return t.type=f,i||t.isDefaultPrevented()||c._default&&!1!==c._default.apply(h.pop(),n)||!xe(r)||u&&ae.isFunction(r[f])&&!ae.isWindow(r)&&(s=r[u],s&&(r[u]=null),ae.event.triggered=f,r[f](),ae.event.triggered=void 0,s&&(r[u]=s)),t.result}},simulate:function(e,t,n){var r=ae.extend(new ae.Event,n,{type:e,isSimulated:!0});ae.event.trigger(r,null,t)}}),ae.fn.extend({trigger:function(e,t){return this.each(function(){ae.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?ae.event.trigger(e,t,n,!0):void 0}}),ae.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(e,t){ae.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ae.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),re.focusin="onfocusin"in e,re.focusin||ae.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){ae.event.simulate(t,e.target,ae.event.fix(e))};ae.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=ke.access(r,t);i||r.addEventListener(e,n,!0),ke.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=ke.access(r,t)-1;i?ke.access(r,t,i):(r.removeEventListener(e,n,!0),ke.remove(r,t))}}});var mt=e.location,_t=ae.now(),gt=/\?/;ae.parseJSON=function(e){return JSON.parse(e+"")},ae.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||ae.error("Invalid XML: "+t),n};var yt=/#.*$/,vt=/([?&])_=[^&]*/,bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Mt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,wt=/^(?:GET|HEAD)$/,xt=/^\/\//,kt={},Lt={},Dt="*/".concat("*"),Yt=G.createElement("a");Yt.href=mt.href,ae.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:mt.href,type:"GET",isLocal:Mt.test(mt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ae.parseJSON,"text xml":ae.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?B(B(e,ae.ajaxSettings),t):B(ae.ajaxSettings,e)},ajaxPrefilter:N(kt),ajaxTransport:N(Lt),ajax:function(t,n){function r(t,n,r,s){var u,c,y,v,M,x=n;2!==b&&(b=2,l&&e.clearTimeout(l),i=void 0,o=s||"",w.readyState=t>0?4:0,u=t>=200&&300>t||304===t,r&&(v=$(h,w,r)),v=V(h,v,w,u),u?(h.ifModified&&(M=w.getResponseHeader("Last-Modified"),M&&(ae.lastModified[a]=M),(M=w.getResponseHeader("etag"))&&(ae.etag[a]=M)),204===t||"HEAD"===h.type?x="nocontent":304===t?x="notmodified":(x=v.state,c=v.data,y=v.error,u=!y)):(y=x,!t&&x||(x="error",0>t&&(t=0))),w.status=t,w.statusText=(n||x)+"",u?m.resolveWith(f,[c,x,w]):m.rejectWith(f,[w,x,y]),w.statusCode(g),g=void 0,d&&p.trigger(u?"ajaxSuccess":"ajaxError",[w,h,u?c:y]),_.fireWith(f,[w,x]),d&&(p.trigger("ajaxComplete",[w,h]),--ae.active||ae.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,a,o,s,l,u,d,c,h=ae.ajaxSetup({},n),f=h.context||h,p=h.context&&(f.nodeType||f.jquery)?ae(f):ae.event,m=ae.Deferred(),_=ae.Callbacks("once memory"),g=h.statusCode||{},y={},v={},b=0,M="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!s)for(s={};t=bt.exec(o);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?o:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)g[t]=[g[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||M;return i&&i.abort(t),r(0,t),this}};if(m.promise(w).complete=_.add,w.success=w.done,w.error=w.fail,h.url=((t||h.url||mt.href)+"").replace(yt,"").replace(xt,mt.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=ae.trim(h.dataType||"*").toLowerCase().match(be)||[""],null==h.crossDomain){u=G.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=Yt.protocol+"//"+Yt.host!=u.protocol+"//"+u.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=ae.param(h.data,h.traditional)),z(kt,h,n,w),2===b)return w;d=ae.event&&h.global,d&&0==ae.active++&&ae.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!wt.test(h.type),a=h.url,h.hasContent||(h.data&&(a=h.url+=(gt.test(a)?"&":"?")+h.data,delete h.data),!1===h.cache&&(h.url=vt.test(a)?a.replace(vt,"$1_="+_t++):a+(gt.test(a)?"&":"?")+"_="+_t++)),h.ifModified&&(ae.lastModified[a]&&w.setRequestHeader("If-Modified-Since",ae.lastModified[a]),ae.etag[a]&&w.setRequestHeader("If-None-Match",ae.etag[a])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&w.setRequestHeader("Content-Type",h.contentType),w.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Dt+"; q=0.01":""):h.accepts["*"]);for(c in h.headers)w.setRequestHeader(c,h.headers[c]);if(h.beforeSend&&(!1===h.beforeSend.call(f,w,h)||2===b))return w.abort();M="abort";for(c in{success:1,error:1,complete:1})w[c](h[c]);if(i=z(Lt,h,n,w)){if(w.readyState=1,d&&p.trigger("ajaxSend",[w,h]),2===b)return w;h.async&&h.timeout>0&&(l=e.setTimeout(function(){w.abort("timeout")},h.timeout));try{b=1,i.send(y,r)}catch(e){if(!(2>b))throw e;r(-1,e)}}else r(-1,"No Transport");return w},getJSON:function(e,t,n){return ae.get(e,t,n,"json")},getScript:function(e,t){return ae.get(e,void 0,t,"script")}}),ae.each(["get","post"],function(e,t){ae[t]=function(e,n,r,i){return ae.isFunction(n)&&(i=i||r,r=n,n=void 0),ae.ajax(ae.extend({url:e,type:t,dataType:i,data:n,success:r},ae.isPlainObject(e)&&e))}}),ae._evalUrl=function(e){return ae.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},ae.fn.extend({wrapAll:function(e){var t;return ae.isFunction(e)?this.each(function(t){ae(this).wrapAll(e.call(this,t))}):(this[0]&&(t=ae(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return ae.isFunction(e)?this.each(function(t){ae(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ae(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ae.isFunction(e);return this.each(function(n){ae(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ae.nodeName(this,"body")||ae(this).replaceWith(this.childNodes)}).end()}}),ae.expr.filters.hidden=function(e){return!ae.expr.filters.visible(e)},ae.expr.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0};var Tt=/%20/g,St=/\[\]$/,Ct=/\r?\n/g,jt=/^(?:submit|button|image|reset|file)$/i,Ht=/^(?:input|select|textarea|keygen)/i;ae.param=function(e,t){var n,r=[],i=function(e,t){t=ae.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=ae.ajaxSettings&&ae.ajaxSettings.traditional),ae.isArray(e)||e.jquery&&!ae.isPlainObject(e))ae.each(e,function(){i(this.name,this.value)});else for(n in e)q(n,e[n],t,i);return r.join("&").replace(Tt,"+")},ae.fn.extend({serialize:function(){return ae.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ae.prop(this,"elements");return e?ae.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ae(this).is(":disabled")&&Ht.test(this.nodeName)&&!jt.test(e)&&(this.checked||!He.test(e))}).map(function(e,t){var n=ae(this).val();return null==n?null:ae.isArray(n)?ae.map(n,function(e){return{name:t.name,value:e.replace(Ct,"\r\n")}}):{name:t.name,value:n.replace(Ct,"\r\n")}}).get()}}),ae.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Ot={0:200,1223:204},At=ae.ajaxSettings.xhr();re.cors=!!At&&"withCredentials"in At,re.ajax=At=!!At,ae.ajaxTransport(function(t){var n,r;return re.cors||At&&!t.crossDomain?{send:function(i,a){var o,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)s[o]=t.xhrFields[o];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(o in i)s.setRequestHeader(o,i[o]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(Ot[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}:void 0}),ae.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ae.globalEval(e),e}}}),ae.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ae.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=ae("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),G.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Pt=[],Et=/(=)\?(?=&|$)|\?\?/;ae.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Pt.pop()||ae.expando+"_"+_t++;return this[e]=!0,e}}),ae.ajaxPrefilter("json jsonp",function(t,n,r){var i,a,o,s=!1!==t.jsonp&&(Et.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Et.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(i=t.jsonpCallback=ae.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Et,"$1"+i):!1!==t.jsonp&&(t.url+=(gt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return o||ae.error(i+" was not called"),o[0]},t.dataTypes[0]="json",a=e[i],e[i]=function(){o=arguments},r.always(function(){void 0===a?ae(e).removeProp(i):e[i]=a,t[i]&&(t.jsonpCallback=n.jsonpCallback,Pt.push(i)),o&&ae.isFunction(a)&&a(o[0]),o=a=void 0}),"script"):void 0}),ae.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||G;var r=pe.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=h([e],t,i),i&&i.length&&ae(i).remove(),ae.merge([],r.childNodes))};var It=ae.fn.load;ae.fn.load=function(e,t,n){if("string"!=typeof e&&It)return It.apply(this,arguments);var r,i,a,o=this,s=e.indexOf(" ");return s>-1&&(r=ae.trim(e.slice(s)),e=e.slice(0,s)),ae.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),o.length>0&&ae.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){a=arguments,o.html(r?ae("<div>").append(ae.parseHTML(e)).find(r):e)}).always(n&&function(e,t){o.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},ae.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ae.fn[t]=function(e){return this.on(t,e)}}),ae.expr.filters.animated=function(e){return ae.grep(ae.timers,function(t){return e===t.elem}).length},ae.offset={setOffset:function(e,t,n){var r,i,a,o,s,l,u,d=ae.css(e,"position"),c=ae(e),h={};"static"===d&&(e.style.position="relative"),s=c.offset(),a=ae.css(e,"top"),l=ae.css(e,"left"),u=("absolute"===d||"fixed"===d)&&(a+l).indexOf("auto")>-1,u?(r=c.position(),o=r.top,i=r.left):(o=parseFloat(a)||0,i=parseFloat(l)||0),ae.isFunction(t)&&(t=t.call(e,n,ae.extend({},s))),null!=t.top&&(h.top=t.top-s.top+o),null!=t.left&&(h.left=t.left-s.left+i),"using"in t?t.using.call(e,h):c.css(h)}},ae.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){ae.offset.setOffset(this,e,t)});var t,n,r=this[0],i={top:0,left:0},a=r&&r.ownerDocument;return a?(t=a.documentElement,ae.contains(t,r)?(i=r.getBoundingClientRect(),n=U(a),{top:i.top+n.pageYOffset-t.clientTop,left:i.left+n.pageXOffset-t.clientLeft}):i):void 0},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===ae.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ae.nodeName(e[0],"html")||(r=e.offset()),r.top+=ae.css(e[0],"borderTopWidth",!0),r.left+=ae.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-ae.css(n,"marginTop",!0),left:t.left-r.left-ae.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===ae.css(e,"position");)e=e.offsetParent;return e||Ze})}}),ae.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;ae.fn[e]=function(r){return we(this,function(e,r,i){var a=U(e);return void 0===i?a?a[t]:e[r]:void(a?a.scrollTo(n?a.pageXOffset:i,n?i:a.pageYOffset):e[r]=i)},e,r,arguments.length)}}),ae.each(["top","left"],function(e,t){ae.cssHooks[t]=Y(re.pixelPosition,function(e,n){return n?(n=D(e,t),Je.test(n)?ae(e).position()[t]+"px":n):void 0})}),ae.each({Height:"height",Width:"width"},function(e,t){ae.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){ae.fn[r]=function(r,i){var a=arguments.length&&(n||"boolean"!=typeof r),o=n||(!0===r||!0===i?"margin":"border");return we(this,function(t,n,r){var i;return ae.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?ae.css(t,n,o):ae.style(t,n,r,o)},t,a?r:void 0,a,null)}})}),ae.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),ae.fn.andSelf=ae.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ae});var Ft=e.jQuery,Wt=e.$;return ae.noConflict=function(t){return e.$===ae&&(e.$=Wt),t&&e.jQuery===ae&&(e.jQuery=Ft),ae},t||(e.jQuery=e.$=ae),ae}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(e){"use strict";var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||t[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),function(e){"use strict";function t(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}e.fn.emulateTransitionEnd=function(t){var n=!1,r=this;e(this).one("bsTransitionEnd",function(){n=!0});var i=function(){n||e(r).trigger(e.support.transition.end)};return setTimeout(i,t),this},e(function(){e.support.transition=t(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(e){"use strict";function t(t){return this.each(function(){var n=e(this),i=n.data("bs.alert");i||n.data("bs.alert",i=new r(this)),"string"==typeof t&&i[t].call(n)})}var n='[data-dismiss="alert"]',r=function(t){e(t).on("click",n,this.close)};r.VERSION="3.3.7",r.TRANSITION_DURATION=150,r.prototype.close=function(t){function n(){o.detach().trigger("closed.bs.alert").remove()}var i=e(this),a=i.attr("data-target");a||(a=i.attr("href"),a=a&&a.replace(/.*(?=#[^\s]*$)/,""));var o=e("#"===a?[]:a);t&&t.preventDefault(),o.length||(o=i.closest(".alert")),o.trigger(t=e.Event("close.bs.alert")),t.isDefaultPrevented()||(o.removeClass("in"),e.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",n).emulateTransitionEnd(r.TRANSITION_DURATION):n())};var i=e.fn.alert;e.fn.alert=t,e.fn.alert.Constructor=r,e.fn.alert.noConflict=function(){return e.fn.alert=i,this},e(document).on("click.bs.alert.data-api",n,r.prototype.close)}(jQuery),function(e){"use strict";function t(t){return this.each(function(){var r=e(this),i=r.data("bs.button"),a="object"==typeof t&&t;i||r.data("bs.button",i=new n(this,a)),"toggle"==t?i.toggle():t&&i.setState(t)})}var n=function(t,r){this.$element=e(t),this.options=e.extend({},n.DEFAULTS,r),this.isLoading=!1};n.VERSION="3.3.7",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(t){var n="disabled",r=this.$element,i=r.is("input")?"val":"html",a=r.data();t+="Text",null==a.resetText&&r.data("resetText",r[i]()),setTimeout(e.proxy(function(){r[i](null==a[t]?this.options[t]:a[t]),"loadingText"==t?(this.isLoading=!0,r.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n).prop(n,!1))},this),0)},n.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(e=!1),t.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),e&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var r=e.fn.button;e.fn.button=t,e.fn.button.Constructor=n,e.fn.button.noConflict=function(){return e.fn.button=r,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var r=e(n.target).closest(".btn");t.call(r,"toggle"),e(n.target).is('input[type="radio"], input[type="checkbox"]')||(n.preventDefault(),r.is("input,button")?r.trigger("focus"):r.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){e(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),function(e){"use strict";function t(t){return this.each(function(){var r=e(this),i=r.data("bs.carousel"),a=e.extend({},n.DEFAULTS,r.data(),"object"==typeof t&&t),o="string"==typeof t?t:a.slide;i||r.data("bs.carousel",i=new n(this,a)),"number"==typeof t?i.to(t):o?i[o]():a.interval&&i.pause().cycle()})}var n=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};n.VERSION="3.3.7",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},n.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},n.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t);if(("prev"==e&&0===n||"next"==e&&n==this.$items.length-1)&&!this.options.wrap)return t;var r="prev"==e?-1:1,i=(n+r)%this.$items.length;return this.$items.eq(i)},n.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",this.$items.eq(e))},n.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){if(!this.sliding)return this.slide("next")},n.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},n.prototype.slide=function(t,r){var i=this.$element.find(".item.active"),a=r||this.getItemForDirection(t,i),o=this.interval,s="next"==t?"left":"right",l=this;if(a.hasClass("active"))return this.sliding=!1;var u=a[0],d=e.Event("slide.bs.carousel",{relatedTarget:u,direction:s});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,o&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var c=e(this.$indicators.children()[this.getItemIndex(a)]);c&&c.addClass("active")}var h=e.Event("slid.bs.carousel",{relatedTarget:u,direction:s});return e.support.transition&&this.$element.hasClass("slide")?(a.addClass(t),a[0].offsetWidth,i.addClass(s),a.addClass(s),i.one("bsTransitionEnd",function(){a.removeClass([t,s].join(" ")).addClass("active"),i.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(h)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(i.removeClass("active"),a.addClass("active"),this.sliding=!1,this.$element.trigger(h)),o&&this.cycle(),this}};var r=e.fn.carousel;e.fn.carousel=t,e.fn.carousel.Constructor=n,e.fn.carousel.noConflict=function(){return e.fn.carousel=r,this};var i=function(n){var r,i=e(this),a=e(i.attr("data-target")||(r=i.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""));if(a.hasClass("carousel")){var o=e.extend({},a.data(),i.data()),s=i.attr("data-slide-to");s&&(o.interval=!1),t.call(a,o),s&&a.data("bs.carousel").to(s),n.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",i).on("click.bs.carousel.data-api","[data-slide-to]",i),e(window).on("load",function(){e('[data-ride="carousel"]').each(function(){var n=e(this);t.call(n,n.data())})})}(jQuery),function(e){"use strict";function t(t){var n,r=t.attr("data-target")||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return e(r)}function n(t){return this.each(function(){var n=e(this),i=n.data("bs.collapse"),a=e.extend({},r.DEFAULTS,n.data(),"object"==typeof t&&t);!i&&a.toggle&&/show|hide/.test(t)&&(a.toggle=!1),i||n.data("bs.collapse",i=new r(this,a)),"string"==typeof t&&i[t]()})}var r=function(t,n){this.$element=e(t),this.options=e.extend({},r.DEFAULTS,n),this.$trigger=e('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};r.VERSION="3.3.7",r.TRANSITION_DURATION=350,r.DEFAULTS={toggle:!0},r.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},r.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,i=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(i&&i.length&&(t=i.data("bs.collapse"))&&t.transitioning)){var a=e.Event("show.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){i&&i.length&&(n.call(i,"hide"),t||i.data("bs.collapse",null));var o=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[o](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[o](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return s.call(this);var l=e.camelCase(["scroll",o].join("-"));this.$element.one("bsTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(r.TRANSITION_DURATION)[o](this.$element[0][l])}}}},r.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=e.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return e.support.transition?void this.$element[n](0).one("bsTransitionEnd",e.proxy(i,this)).emulateTransitionEnd(r.TRANSITION_DURATION):i.call(this)}}},r.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},r.prototype.getParent=function(){return e(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(n,r){var i=e(r);this.addAriaAndCollapsedClass(t(i),i)},this)).end()},r.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var i=e.fn.collapse;e.fn.collapse=n,e.fn.collapse.Constructor=r,e.fn.collapse.noConflict=function(){return e.fn.collapse=i,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(r){var i=e(this);i.attr("data-target")||r.preventDefault();var a=t(i),o=a.data("bs.collapse"),s=o?"toggle":i.data();n.call(a,s)})}(jQuery),function(e){"use strict";function t(t){var n=t.attr("data-target");n||(n=t.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r=n&&e(n);return r&&r.length?r:t.parent()}function n(n){n&&3===n.which||(e(i).remove(),e(a).each(function(){var r=e(this),i=t(r),a={relatedTarget:this};i.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&e.contains(i[0],n.target)||(i.trigger(n=e.Event("hide.bs.dropdown",a)),n.isDefaultPrevented()||(r.attr("aria-expanded","false"),i.removeClass("open").trigger(e.Event("hidden.bs.dropdown",a)))))}))}function r(t){return this.each(function(){var n=e(this),r=n.data("bs.dropdown");r||n.data("bs.dropdown",r=new o(this)),"string"==typeof t&&r[t].call(n)})}var i=".dropdown-backdrop",a='[data-toggle="dropdown"]',o=function(t){e(t).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.7",o.prototype.toggle=function(r){var i=e(this);if(!i.is(".disabled, :disabled")){var a=t(i),o=a.hasClass("open");if(n(),!o){"ontouchstart"in document.documentElement&&!a.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",n);var s={relatedTarget:this};if(a.trigger(r=e.Event("show.bs.dropdown",s)),r.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),a.toggleClass("open").trigger(e.Event("shown.bs.dropdown",s))}return!1}},o.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var r=e(this);if(n.preventDefault(),n.stopPropagation(),!r.is(".disabled, :disabled")){var i=t(r),o=i.hasClass("open");if(!o&&27!=n.which||o&&27==n.which)return 27==n.which&&i.find(a).trigger("focus"),r.trigger("click");var s=i.find(".dropdown-menu li:not(.disabled):visible a");if(s.length){var l=s.index(n.target);38==n.which&&l>0&&l--,40==n.which&&l<s.length-1&&l++,~l||(l=0),s.eq(l).trigger("focus")}}}};var s=e.fn.dropdown;e.fn.dropdown=r,e.fn.dropdown.Constructor=o,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=s,this},e(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",a,o.prototype.toggle).on("keydown.bs.dropdown.data-api",a,o.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",o.prototype.keydown)}(jQuery),function(e){"use strict";function t(t,r){return this.each(function(){var i=e(this),a=i.data("bs.modal"),o=e.extend({},n.DEFAULTS,i.data(),"object"==typeof t&&t);a||i.data("bs.modal",a=new n(this,o)),"string"==typeof t?a[t](r):o.show&&a.show(r)})}var n=function(t,n){this.options=n,this.$body=e(document.body),this.$element=e(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,e.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.3.7",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},n.prototype.show=function(t){var r=this,i=e.Event("show.bs.modal",{relatedTarget:t});this.$element.trigger(i),this.isShown||i.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),
|
||
this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(t){e(t.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var i=e.support.transition&&r.$element.hasClass("fade");r.$element.parent().length||r.$element.appendTo(r.$body),r.$element.show().scrollTop(0),r.adjustDialog(),i&&r.$element[0].offsetWidth,r.$element.addClass("in"),r.enforceFocus();var a=e.Event("shown.bs.modal",{relatedTarget:t});i?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(a)}).emulateTransitionEnd(n.TRANSITION_DURATION):r.$element.trigger("focus").trigger(a)}))},n.prototype.hide=function(t){t&&t.preventDefault(),t=e.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),e(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"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy(function(e){document===e.target||this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy(function(e){27==e.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(t){var r=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var a=e.support.transition&&i;if(this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy(function(e){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),a&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;a?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var o=function(){r.removeBackdrop(),t&&t()};e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):o()}else t&&t()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",e+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},n.prototype.measureScrollbar=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var t=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),t};var r=e.fn.modal;e.fn.modal=t,e.fn.modal.Constructor=n,e.fn.modal.noConflict=function(){return e.fn.modal=r,this},e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var r=e(this),i=r.attr("href"),a=e(r.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),o=a.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(i)&&i},a.data(),r.data());r.is("a")&&n.preventDefault(),a.one("show.bs.modal",function(e){e.isDefaultPrevented()||a.one("hidden.bs.modal",function(){r.is(":visible")&&r.trigger("focus")})}),t.call(a,o,this)})}(jQuery),function(e){"use strict";function t(t){return this.each(function(){var r=e(this),i=r.data("bs.tooltip"),a="object"==typeof t&&t;!i&&/destroy|hide/.test(t)||(i||r.data("bs.tooltip",i=new n(this,a)),"string"==typeof t&&i[t]())})}var n=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};n.VERSION="3.3.7",n.TRANSITION_DURATION=150,n.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(t,n,r){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&e(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),a=i.length;a--;){var o=i[a];if("click"==o)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=o){var s="hover"==o?"mouseenter":"focusin",l="hover"==o?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(t){return t=e.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},n.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,r){n[e]!=r&&(t[e]=r)}),t},n.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusin"==t.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},n.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},n.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusout"==t.type?"focus":"hover"]=!1),!n.isInStateTrue())return clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide()},n.prototype.show=function(){var t=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var r=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!r)return;var i=this,a=this.tip(),o=this.getUID(this.type);this.setContent(),a.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&a.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,u=l.test(s);u&&(s=s.replace(l,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?a.appendTo(this.options.container):a.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var d=this.getPosition(),c=a[0].offsetWidth,h=a[0].offsetHeight;if(u){var f=s,p=this.getPosition(this.$viewport);s="bottom"==s&&d.bottom+h>p.bottom?"top":"top"==s&&d.top-h<p.top?"bottom":"right"==s&&d.right+c>p.width?"left":"left"==s&&d.left-c<p.left?"right":s,a.removeClass(f).addClass(s)}var m=this.getCalculatedOffset(s,d,c,h);this.applyPlacement(m,s);var _=function(){var e=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==e&&i.leave(i)};e.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",_).emulateTransitionEnd(n.TRANSITION_DURATION):_()}},n.prototype.applyPlacement=function(t,n){var r=this.tip(),i=r[0].offsetWidth,a=r[0].offsetHeight,o=parseInt(r.css("margin-top"),10),s=parseInt(r.css("margin-left"),10);isNaN(o)&&(o=0),isNaN(s)&&(s=0),t.top+=o,t.left+=s,e.offset.setOffset(r[0],e.extend({using:function(e){r.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),r.addClass("in");var l=r[0].offsetWidth,u=r[0].offsetHeight;"top"==n&&u!=a&&(t.top=t.top+a-u);var d=this.getViewportAdjustedDelta(n,t,l,u);d.left?t.left+=d.left:t.top+=d.top;var c=/top|bottom/.test(n),h=c?2*d.left-i+l:2*d.top-a+u,f=c?"offsetWidth":"offsetHeight";r.offset(t),this.replaceArrow(h,r[0][f],c)},n.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},n.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},n.prototype.hide=function(t){function r(){"in"!=i.hoverState&&a.detach(),i.$element&&i.$element.removeAttr("aria-describedby").trigger("hidden.bs."+i.type),t&&t()}var i=this,a=e(this.$tip),o=e.Event("hide.bs."+this.type);if(this.$element.trigger(o),!o.isDefaultPrevented())return a.removeClass("in"),e.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",r).emulateTransitionEnd(n.TRANSITION_DURATION):r(),this.hoverState=null,this},n.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(t){t=t||this.$element;var n=t[0],r="BODY"==n.tagName,i=n.getBoundingClientRect();null==i.width&&(i=e.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var a=window.SVGElement&&n instanceof window.SVGElement,o=r?{top:0,left:0}:a?null:t.offset(),s={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},l=r?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},i,s,l,o)},n.prototype.getCalculatedOffset=function(e,t,n,r){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-r,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-r/2,left:t.left-n}:{top:t.top+t.height/2-r/2,left:t.left+t.width}},n.prototype.getViewportAdjustedDelta=function(e,t,n,r){var i={top:0,left:0};if(!this.$viewport)return i;var a=this.options.viewport&&this.options.viewport.padding||0,o=this.getPosition(this.$viewport);if(/right|left/.test(e)){var s=t.top-a-o.scroll,l=t.top+a-o.scroll+r;s<o.top?i.top=o.top-s:l>o.top+o.height&&(i.top=o.top+o.height-l)}else{var u=t.left-a,d=t.left+a+n;u<o.left?i.left=o.left-u:d>o.right&&(i.left=o.left+o.width-d)}return i},n.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},n.prototype.getUID=function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},n.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(t){var n=this;t&&((n=e(t.currentTarget).data("bs."+this.type))||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),t?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null,e.$element=null})};var r=e.fn.tooltip;e.fn.tooltip=t,e.fn.tooltip.Constructor=n,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=r,this}}(jQuery),function(e){"use strict";function t(t){return this.each(function(){var r=e(this),i=r.data("bs.popover"),a="object"==typeof t&&t;!i&&/destroy|hide/.test(t)||(i||r.data("bs.popover",i=new n(this,a)),"string"==typeof t&&i[t]())})}var n=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.7",n.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),n.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var r=e.fn.popover;e.fn.popover=t,e.fn.popover.Constructor=n,e.fn.popover.noConflict=function(){return e.fn.popover=r,this}}(jQuery),function(e){"use strict";function t(n,r){this.$body=e(document.body),this.$scrollElement=e(e(n).is(document.body)?window:n),this.options=e.extend({},t.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var r=e(this),i=r.data("bs.scrollspy"),a="object"==typeof n&&n;i||r.data("bs.scrollspy",i=new t(this,a)),"string"==typeof n&&i[n]()})}t.VERSION="3.3.7",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var t=this,n="offset",r=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(n="position",r=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=e(this),i=t.data("target")||t.attr("href"),a=/^#./.test(i)&&e(i);return a&&a.length&&a.is(":visible")&&[[a[n]().top+r,i]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},t.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),i=this.offsets,a=this.targets,o=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),t>=r)return o!=(e=a[a.length-1])&&this.activate(e);if(o&&t<i[0])return this.activeTarget=null,this.clear();for(e=i.length;e--;)o!=a[e]&&t>=i[e]&&(void 0===i[e+1]||t<i[e+1])&&this.activate(a[e])},t.prototype.activate=function(t){this.activeTarget=t,this.clear();var n=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',r=e(n).parents("li").addClass("active");r.parent(".dropdown-menu").length&&(r=r.closest("li.dropdown").addClass("active")),r.trigger("activate.bs.scrollspy")},t.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var r=e.fn.scrollspy;e.fn.scrollspy=n,e.fn.scrollspy.Constructor=t,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=r,this},e(window).on("load.bs.scrollspy.data-api",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);n.call(t,t.data())})})}(jQuery),function(e){"use strict";function t(t){return this.each(function(){var r=e(this),i=r.data("bs.tab");i||r.data("bs.tab",i=new n(this)),"string"==typeof t&&i[t]()})}var n=function(t){this.element=e(t)};n.VERSION="3.3.7",n.TRANSITION_DURATION=150,n.prototype.show=function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.data("target");if(r||(r=t.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var i=n.find(".active:last a"),a=e.Event("hide.bs.tab",{relatedTarget:t[0]}),o=e.Event("show.bs.tab",{relatedTarget:i[0]});if(i.trigger(a),t.trigger(o),!o.isDefaultPrevented()&&!a.isDefaultPrevented()){var s=e(r);this.activate(t.closest("li"),n),this.activate(s,s.parent(),function(){i.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:i[0]})})}}},n.prototype.activate=function(t,r,i){function a(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}var o=r.find("> .active"),s=i&&e.support.transition&&(o.length&&o.hasClass("fade")||!!r.find("> .fade").length);o.length&&s?o.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a(),o.removeClass("in")};var r=e.fn.tab;e.fn.tab=t,e.fn.tab.Constructor=n,e.fn.tab.noConflict=function(){return e.fn.tab=r,this};var i=function(n){n.preventDefault(),t.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),function(e){"use strict";function t(t){return this.each(function(){var r=e(this),i=r.data("bs.affix"),a="object"==typeof t&&t;i||r.data("bs.affix",i=new n(this,a)),"string"==typeof t&&i[t]()})}var n=function(t,r){this.options=e.extend({},n.DEFAULTS,r),this.$target=e(this.options.target).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.7",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(e,t,n,r){var i=this.$target.scrollTop(),a=this.$element.offset(),o=this.$target.height();if(null!=n&&"top"==this.affixed)return i<n&&"top";if("bottom"==this.affixed)return null!=n?!(i+this.unpin<=a.top)&&"bottom":!(i+o<=e-r)&&"bottom";var s=null==this.affixed,l=s?i:a.top,u=s?o:t;return null!=n&&i<=n?"top":null!=r&&l+u>=e-r&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},n.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),r=this.options.offset,i=r.top,a=r.bottom,o=Math.max(e(document).height(),e(document.body).height());"object"!=typeof r&&(a=i=r),"function"==typeof i&&(i=r.top(this.$element)),"function"==typeof a&&(a=r.bottom(this.$element));var s=this.getState(o,t,i,a);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),u=e.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:o-t-a})}};var r=e.fn.affix;e.fn.affix=t,e.fn.affix.Constructor=n,e.fn.affix.noConflict=function(){return e.fn.affix=r,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var n=e(this),r=n.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),t.call(n,r)})})}(jQuery),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";function e(){return gi.apply(null,arguments)}function t(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function n(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e){var t;for(t in e)return!1;return!0}function i(e){return void 0===e}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function s(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){for(var n in t)l(t,n)&&(e[n]=t[n]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,r){return gt(e,t,n,r,!0).utc()}function c(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function h(e){return null==e._pf&&(e._pf=c()),e._pf}function f(e){if(null==e._isValid){var t=h(e),n=vi.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function p(e){var t=d(NaN);return null!=e?u(h(t),e):h(t).userInvalidated=!0,t}function m(e,t){var n,r,a;if(i(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),i(t._i)||(e._i=t._i),i(t._f)||(e._f=t._f),i(t._l)||(e._l=t._l),i(t._strict)||(e._strict=t._strict),i(t._tzm)||(e._tzm=t._tzm),i(t._isUTC)||(e._isUTC=t._isUTC),i(t._offset)||(e._offset=t._offset),i(t._pf)||(e._pf=h(t)),i(t._locale)||(e._locale=t._locale),bi.length>0)for(n=0;n<bi.length;n++)r=bi[n],a=t[r],i(a)||(e[r]=a);return e}function _(t){m(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Mi&&(Mi=!0,e.updateOffset(this),Mi=!1)}function g(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function v(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=y(t)),n}function b(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&v(e[r])!==v(t[r]))&&o++;return o+a}function M(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn}function w(t,n){var r=!0;return u(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),r){for(var i,a=[],o=0;o<arguments.length;o++){if(i="","object"==typeof arguments[o]){i+="\n["+o+"] ";for(var s in arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[o];a.push(i)}M(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function x(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),wi[t]||(M(n),wi[t]=!0)}function k(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function L(e){var t,n;for(n in e)t=e[n],k(t)?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function D(e,t){var r,i=u({},e);for(r in t)l(t,r)&&(n(e[r])&&n(t[r])?(i[r]={},u(i[r],e[r]),u(i[r],t[r])):null!=t[r]?i[r]=t[r]:delete i[r]);for(r in e)l(e,r)&&!l(t,r)&&n(e[r])&&(i[r]=u({},i[r]));return i}function Y(e){null!=e&&this.set(e)}function T(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return k(r)?r.call(t,n):r}function S(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function C(){return this._invalidDate}function j(e){return this._ordinal.replace("%d",e)}function H(e,t,n,r){var i=this._relativeTime[n];return k(i)?i(e,t,n,r):i.replace(/%d/i,e)}function O(e,t){var n=this._relativeTime[e>0?"future":"past"];return k(n)?n(t):n.replace(/%s/i,t)}function A(e,t){var n=e.toLowerCase();Ci[n]=Ci[n+"s"]=Ci[t]=e}function P(e){return"string"==typeof e?Ci[e]||Ci[e.toLowerCase()]:void 0}function E(e){var t,n,r={};for(n in e)l(e,n)&&(t=P(n))&&(r[t]=e[n]);return r}function I(e,t){ji[e]=t}function F(e){var t=[];for(var n in e)t.push({unit:n,priority:ji[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function W(t,n){return function(r){return null!=r?(N(this,t,r),e.updateOffset(this,n),this):R(this,t)}}function R(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function N(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function z(e){return e=P(e),k(this[e])?this[e]():this}function B(e,t){if("object"==typeof e){e=E(e);for(var n=F(e),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit])}else if(e=P(e),k(this[e]))return this[e](t);return this}function $(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function V(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Pi[e]=i),t&&(Pi[t[0]]=function(){return $(i.apply(this,arguments),t[1],t[2])}),n&&(Pi[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function q(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match(Hi);for(t=0,n=r.length;t<n;t++)Pi[r[t]]?r[t]=Pi[r[t]]:r[t]=q(r[t]);return function(t){var i,a="";for(i=0;i<n;i++)a+=k(r[i])?r[i].call(t,e):r[i];return a}}function J(e,t){return e.isValid()?(t=G(t,e.localeData()),Ai[t]=Ai[t]||U(t),Ai[t](e)):e.localeData().invalidDate()}function G(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(Oi.lastIndex=0;r>=0&&Oi.test(e);)e=e.replace(Oi,n),Oi.lastIndex=0,r-=1;return e}function X(e,t,n){Qi[e]=k(t)?t:function(e,r){return e&&n?n:t}}function Z(e,t){return l(Qi,e)?Qi[e](t._strict,t._locale):new RegExp(K(e))}function K(e){return Q(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function Q(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ee(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),a(t)&&(r=function(e,n){n[t]=v(e)}),n=0;n<e.length;n++)ea[e[n]]=r}function te(e,t){ee(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function ne(e,t,n){null!=t&&l(ea,e)&&ea[e](t,n._a,n,e)}function re(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function ie(e,n){return e?t(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ca).test(n)?"format":"standalone"][e.month()]:t(this._months)?this._months:this._months.standalone}function ae(e,n){return e?t(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ca.test(n)?"format":"standalone"][e.month()]:t(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function oe(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?(i=da.call(this._shortMonthsParse,o),-1!==i?i:null):(i=da.call(this._longMonthsParse,o),-1!==i?i:null):"MMM"===t?(i=da.call(this._shortMonthsParse,o),-1!==i?i:(i=da.call(this._longMonthsParse,o),-1!==i?i:null)):(i=da.call(this._longMonthsParse,o),-1!==i?i:(i=da.call(this._shortMonthsParse,o),-1!==i?i:null))}function se(e,t,n){var r,i,a;if(this._monthsParseExact)return oe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=d([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function le(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=v(t);else if(t=e.localeData().monthsParse(t),!a(t))return e;return n=Math.min(e.date(),re(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ue(t){return null!=t?(le(this,t),e.updateOffset(this,!0),this):R(this,"Month")}function de(){return re(this.year(),this.month())}function ce(e){return this._monthsParseExact?(l(this,"_monthsRegex")||fe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=pa),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function he(e){return this._monthsParseExact?(l(this,"_monthsRegex")||fe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=ma),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function fe(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],a=[];for(t=0;t<12;t++)n=d([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),a.sort(e),t=0;t<12;t++)r[t]=Q(r[t]),i[t]=Q(i[t]);for(t=0;t<24;t++)a[t]=Q(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),
|
||
this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function pe(e){return me(e)?366:365}function me(e){return e%4==0&&e%100!=0||e%400==0}function _e(){return me(this.year())}function ge(e,t,n,r,i,a,o){var s=new Date(e,t,n,r,i,a,o);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function ye(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ve(e,t,n){var r=7+t-n;return-(7+ye(e,0,r).getUTCDay()-t)%7+r-1}function be(e,t,n,r,i){var a,o,s=(7+n-r)%7,l=ve(e,r,i),u=1+7*(t-1)+s+l;return u<=0?(a=e-1,o=pe(a)+u):u>pe(e)?(a=e+1,o=u-pe(e)):(a=e,o=u),{year:a,dayOfYear:o}}function Me(e,t,n){var r,i,a=ve(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?(i=e.year()-1,r=o+we(i,t,n)):o>we(e.year(),t,n)?(r=o-we(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function we(e,t,n){var r=ve(e,t,n),i=ve(e+1,t,n);return(pe(e)-r+i)/7}function xe(e){return Me(e,this._week.dow,this._week.doy).week}function ke(){return this._week.dow}function Le(){return this._week.doy}function De(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ye(e){var t=Me(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Te(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Se(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ce(e,n){return e?t(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(n)?"format":"standalone"][e.day()]:t(this._weekdays)?this._weekdays:this._weekdays.standalone}function je(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function He(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Oe(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?(i=da.call(this._weekdaysParse,o),-1!==i?i:null):"ddd"===t?(i=da.call(this._shortWeekdaysParse,o),-1!==i?i:null):(i=da.call(this._minWeekdaysParse,o),-1!==i?i:null):"dddd"===t?(i=da.call(this._weekdaysParse,o),-1!==i?i:(i=da.call(this._shortWeekdaysParse,o),-1!==i?i:(i=da.call(this._minWeekdaysParse,o),-1!==i?i:null))):"ddd"===t?(i=da.call(this._shortWeekdaysParse,o),-1!==i?i:(i=da.call(this._weekdaysParse,o),-1!==i?i:(i=da.call(this._minWeekdaysParse,o),-1!==i?i:null))):(i=da.call(this._minWeekdaysParse,o),-1!==i?i:(i=da.call(this._weekdaysParse,o),-1!==i?i:(i=da.call(this._shortWeekdaysParse,o),-1!==i?i:null)))}function Ae(e,t,n){var r,i,a;if(this._weekdaysParseExact)return Oe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Pe(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Te(e,this.localeData()),this.add(e-t,"d")):t}function Ee(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Ie(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Se(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Fe(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ne.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Ma),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function We(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ne.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=wa),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Re(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ne.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=xa),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ne(){function e(e,t){return t.length-e.length}var t,n,r,i,a,o=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(r),s.push(i),l.push(a),u.push(r),u.push(i),u.push(a);for(o.sort(e),s.sort(e),l.sort(e),u.sort(e),t=0;t<7;t++)s[t]=Q(s[t]),l[t]=Q(l[t]),u[t]=Q(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function ze(){return this.hours()%12||12}function Be(){return this.hours()||24}function $e(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ve(e,t){return t._meridiemParse}function qe(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ue(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Je(e){return e?e.toLowerCase().replace("_","-"):e}function Ge(e){for(var t,n,r,i,a=0;a<e.length;){for(i=Je(e[a]).split("-"),t=i.length,n=Je(e[a+1]),n=n?n.split("-"):null;t>0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&b(i,n,!0)>=t-1)break;t--}a++}return null}function Xe(e){var t=null;if(!Ta[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=ka._abbr,require("./locale/"+e),Ze(t)}catch(e){}return Ta[e]}function Ze(e,t){var n;return e&&(n=i(t)?et(e):Ke(e,t))&&(ka=n),ka._abbr}function Ke(e,t){if(null!==t){var n=Ya;if(t.abbr=e,null!=Ta[e])x("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Ta[e]._config;else if(null!=t.parentLocale){if(null==Ta[t.parentLocale])return Sa[t.parentLocale]||(Sa[t.parentLocale]=[]),Sa[t.parentLocale].push({name:e,config:t}),null;n=Ta[t.parentLocale]._config}return Ta[e]=new Y(D(n,t)),Sa[e]&&Sa[e].forEach(function(e){Ke(e.name,e.config)}),Ze(e),Ta[e]}return delete Ta[e],null}function Qe(e,t){if(null!=t){var n,r=Ya;null!=Ta[e]&&(r=Ta[e]._config),t=D(r,t),n=new Y(t),n.parentLocale=Ta[e],Ta[e]=n,Ze(e)}else null!=Ta[e]&&(null!=Ta[e].parentLocale?Ta[e]=Ta[e].parentLocale:null!=Ta[e]&&delete Ta[e]);return Ta[e]}function et(e){var n;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ka;if(!t(e)){if(n=Xe(e))return n;e=[e]}return Ge(e)}function tt(){return Li(Ta)}function nt(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[na]<0||n[na]>11?na:n[ra]<1||n[ra]>re(n[ta],n[na])?ra:n[ia]<0||n[ia]>24||24===n[ia]&&(0!==n[aa]||0!==n[oa]||0!==n[sa])?ia:n[aa]<0||n[aa]>59?aa:n[oa]<0||n[oa]>59?oa:n[sa]<0||n[sa]>999?sa:-1,h(e)._overflowDayOfYear&&(t<ta||t>ra)&&(t=ra),h(e)._overflowWeeks&&-1===t&&(t=la),h(e)._overflowWeekday&&-1===t&&(t=ua),h(e).overflow=t),e}function rt(e){var t,n,r,i,a,o,s=e._i,l=Ca.exec(s)||ja.exec(s);if(l){for(h(e).iso=!0,t=0,n=Oa.length;t<n;t++)if(Oa[t][1].exec(l[1])){i=Oa[t][0],r=!1!==Oa[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=Aa.length;t<n;t++)if(Aa[t][1].exec(l[3])){a=(l[2]||" ")+Aa[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Ha.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),dt(e)}else e._isValid=!1}function it(e){var t,n,r,i,a,o,s,l,u={" GMT":" +0000"," EDT":" -0400"," EST":" -0500"," CDT":" -0500"," CST":" -0600"," MDT":" -0600"," MST":" -0700"," PDT":" -0700"," PST":" -0800"};if(t=e._i.replace(/\([^\)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s|\s$/g,""),n=Ea.exec(t)){if(r=n[1]?"ddd"+(5===n[1].length?", ":" "):"",i="D MMM "+(n[2].length>10?"YYYY ":"YY "),a="HH:mm"+(n[4]?":ss":""),n[1]){var d=new Date(n[2]),c=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][d.getDay()];if(n[1].substr(0,3)!==c)return h(e).weekdayMismatch=!0,void(e._isValid=!1)}switch(n[5].length){case 2:0===l?s=" +0000":(l="YXWVUTSRQPONZABCDEFGHIKLM".indexOf(n[5][1].toUpperCase())-12,s=(l<0?" -":" +")+(""+l).replace(/^-?/,"0").match(/..$/)[0]+"00");break;case 4:s=u[n[5]];break;default:s=u[" GMT"]}n[5]=s,e._i=n.splice(1).join(""),o=" ZZ",e._f=r+i+a+o,dt(e),h(e).rfc2822=!0}else e._isValid=!1}function at(t){var n=Pa.exec(t._i);return null!==n?void(t._d=new Date(+n[1])):(rt(t),void(!1===t._isValid&&(delete t._isValid,it(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t)))))}function ot(e,t,n){return null!=e?e:null!=t?t:n}function st(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function lt(e){var t,n,r,i,a=[];if(!e._d){for(r=st(e),e._w&&null==e._a[ra]&&null==e._a[na]&&ut(e),null!=e._dayOfYear&&(i=ot(e._a[ta],r[ta]),(e._dayOfYear>pe(i)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=ye(i,0,e._dayOfYear),e._a[na]=n.getUTCMonth(),e._a[ra]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ia]&&0===e._a[aa]&&0===e._a[oa]&&0===e._a[sa]&&(e._nextDay=!0,e._a[ia]=0),e._d=(e._useUTC?ye:ge).apply(null,a),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ia]=24)}}function ut(e){var t,n,r,i,a,o,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)a=1,o=4,n=ot(t.GG,e._a[ta],Me(yt(),1,4).year),r=ot(t.W,1),((i=ot(t.E,1))<1||i>7)&&(l=!0);else{a=e._locale._week.dow,o=e._locale._week.doy;var u=Me(yt(),a,o);n=ot(t.gg,e._a[ta],u.year),r=ot(t.w,u.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+a,(t.e<0||t.e>6)&&(l=!0)):i=a}r<1||r>we(n,a,o)?h(e)._overflowWeeks=!0:null!=l?h(e)._overflowWeekday=!0:(s=be(n,r,i,a,o),e._a[ta]=s.year,e._dayOfYear=s.dayOfYear)}function dt(t){if(t._f===e.ISO_8601)return void rt(t);if(t._f===e.RFC_2822)return void it(t);t._a=[],h(t).empty=!0;var n,r,i,a,o,s=""+t._i,l=s.length,u=0;for(i=G(t._f,t._locale).match(Hi)||[],n=0;n<i.length;n++)a=i[n],r=(s.match(Z(a,t))||[])[0],r&&(o=s.substr(0,s.indexOf(r)),o.length>0&&h(t).unusedInput.push(o),s=s.slice(s.indexOf(r)+r.length),u+=r.length),Pi[a]?(r?h(t).empty=!1:h(t).unusedTokens.push(a),ne(a,r,t)):t._strict&&!r&&h(t).unusedTokens.push(a);h(t).charsLeftOver=l-u,s.length>0&&h(t).unusedInput.push(s),t._a[ia]<=12&&!0===h(t).bigHour&&t._a[ia]>0&&(h(t).bigHour=void 0),h(t).parsedDateParts=t._a.slice(0),h(t).meridiem=t._meridiem,t._a[ia]=ct(t._locale,t._a[ia],t._meridiem),lt(t),nt(t)}function ct(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function ht(e){var t,n,r,i,a;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)a=0,t=m({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],dt(t),f(t)&&(a+=h(t).charsLeftOver,a+=10*h(t).unusedTokens.length,h(t).score=a,(null==r||a<r)&&(r=a,n=t));u(e,n||t)}function ft(e){if(!e._d){var t=E(e._i);e._a=s([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),lt(e)}}function pt(e){var t=new _(nt(mt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function mt(e){var n=e._i,r=e._f;return e._locale=e._locale||et(e._l),null===n||void 0===r&&""===n?p({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),g(n)?new _(nt(n)):(o(n)?e._d=n:t(r)?ht(e):r?dt(e):_t(e),f(e)||(e._d=null),e))}function _t(r){var l=r._i;i(l)?r._d=new Date(e.now()):o(l)?r._d=new Date(l.valueOf()):"string"==typeof l?at(r):t(l)?(r._a=s(l.slice(0),function(e){return parseInt(e,10)}),lt(r)):n(l)?ft(r):a(l)?r._d=new Date(l):e.createFromInputFallback(r)}function gt(e,i,a,o,s){var l={};return!0!==a&&!1!==a||(o=a,a=void 0),(n(e)&&r(e)||t(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=s,l._l=a,l._i=e,l._f=i,l._strict=o,pt(l)}function yt(e,t,n,r){return gt(e,t,n,r,!1)}function vt(e,n){var r,i;if(1===n.length&&t(n[0])&&(n=n[0]),!n.length)return yt();for(r=n[0],i=1;i<n.length;++i)n[i].isValid()&&!n[i][e](r)||(r=n[i]);return r}function bt(){return vt("isBefore",[].slice.call(arguments,0))}function Mt(){return vt("isAfter",[].slice.call(arguments,0))}function wt(e){for(var t in e)if(-1===Ra.indexOf(t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<Ra.length;++r)if(e[Ra[r]]){if(n)return!1;parseFloat(e[Ra[r]])!==v(e[Ra[r]])&&(n=!0)}return!0}function xt(){return this._isValid}function kt(){return Bt(NaN)}function Lt(e){var t=E(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||0,o=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,d=t.millisecond||0;this._isValid=wt(t),this._milliseconds=+d+1e3*u+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=et(),this._bubble()}function Dt(e){return e instanceof Lt}function Yt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Tt(e,t){V(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+$(~~(e/60),2)+t+$(~~e%60,2)})}function St(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(Na)||["-",0,0],a=60*i[1]+v(i[2]);return 0===a?0:"+"===i[0]?a:-a}function Ct(t,n){var r,i;return n._isUTC?(r=n.clone(),i=(g(t)||o(t)?t.valueOf():yt(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),e.updateOffset(r,!1),r):yt(t).local()}function jt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ht(t,n,r){var i,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=St(Xi,t)))return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&n&&(i=jt(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==t&&(!n||this._changeInProgress?Jt(this,Bt(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:jt(this)}function Ot(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function At(e){return this.utcOffset(0,e)}function Pt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this}function Et(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=St(Gi,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function It(e){return!!this.isValid()&&(e=e?yt(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Ft(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Wt(){if(!i(this._isDSTShifted))return this._isDSTShifted;var e={};if(m(e,this),e=mt(e),e._a){var t=e._isUTC?d(e._a):yt(e._a);this._isDSTShifted=this.isValid()&&b(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Rt(){return!!this.isValid()&&!this._isUTC}function Nt(){return!!this.isValid()&&this._isUTC}function zt(){return!!this.isValid()&&this._isUTC&&0===this._offset}function Bt(e,t){var n,r,i,o=e,s=null;return Dt(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(o={},t?o[t]=e:o.milliseconds=e):(s=za.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:v(s[ra])*n,h:v(s[ia])*n,m:v(s[aa])*n,s:v(s[oa])*n,ms:v(Yt(1e3*s[sa]))*n}):(s=Ba.exec(e))?(n="-"===s[1]?-1:1,o={y:$t(s[2],n),M:$t(s[3],n),w:$t(s[4],n),d:$t(s[5],n),h:$t(s[6],n),m:$t(s[7],n),s:$t(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=qt(yt(o.from),yt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Lt(o),Dt(e)&&l(e,"_locale")&&(r._locale=e._locale),r}function $t(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Vt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function qt(e,t){var n;return e.isValid()&&t.isValid()?(t=Ct(t,e),e.isBefore(t)?n=Vt(e,t):(n=Vt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ut(e,t){return function(n,r){var i,a;return null===r||isNaN(+r)||(x(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),n="string"==typeof n?+n:n,i=Bt(n,r),Jt(this,i,e),this}}function Jt(t,n,r,i){var a=n._milliseconds,o=Yt(n._days),s=Yt(n._months);t.isValid()&&(i=null==i||i,a&&t._d.setTime(t._d.valueOf()+a*r),o&&N(t,"Date",R(t,"Date")+o*r),s&&le(t,R(t,"Month")+s*r),i&&e.updateOffset(t,o||s))}function Gt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Xt(t,n){var r=t||yt(),i=Ct(r,this).startOf("day"),a=e.calendarFormat(this,i)||"sameElse",o=n&&(k(n[a])?n[a].call(this,r):n[a]);return this.format(o||this.localeData().calendar(a,this,yt(r)))}function Zt(){return new _(this)}function Kt(e,t){var n=g(e)?e:yt(e);return!(!this.isValid()||!n.isValid())&&(t=P(i(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Qt(e,t){var n=g(e)?e:yt(e);return!(!this.isValid()||!n.isValid())&&(t=P(i(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function en(e,t,n,r){return r=r||"()",("("===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function tn(e,t){var n,r=g(e)?e:yt(e);return!(!this.isValid()||!r.isValid())&&(t=P(t||"millisecond"),"millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function nn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function rn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function an(e,t,n){var r,i,a,o;return this.isValid()?(r=Ct(e,this),r.isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),t=P(t),"year"===t||"month"===t||"quarter"===t?(o=on(this,r),"quarter"===t?o/=3:"year"===t&&(o/=12)):(a=this-r,o="second"===t?a/1e3:"minute"===t?a/6e4:"hour"===t?a/36e5:"day"===t?(a-i)/864e5:"week"===t?(a-i)/6048e5:a),n?o:y(o)):NaN):NaN}function on(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),a=e.clone().add(i,"months");return t-a<0?(n=e.clone().add(i-1,"months"),r=(t-a)/(a-n)):(n=e.clone().add(i+1,"months"),r=(t-a)/(n-a)),-(i+r)||0}function sn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ln(){if(!this.isValid())return null;var e=this.clone().utc();return e.year()<0||e.year()>9999?J(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):k(Date.prototype.toISOString)?this.toDate().toISOString():J(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function un(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)}function dn(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=J(this,t);return this.localeData().postformat(n)}function cn(e,t){return this.isValid()&&(g(e)&&e.isValid()||yt(e).isValid())?Bt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function hn(e){return this.from(yt(),e)}function fn(e,t){return this.isValid()&&(g(e)&&e.isValid()||yt(e).isValid())?Bt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function pn(e){return this.to(yt(),e)}function mn(e){var t;return void 0===e?this._locale._abbr:(t=et(e),null!=t&&(this._locale=t),this)}function _n(){return this._locale}function gn(e){switch(e=P(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function yn(e){return e=P(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function vn(){return this._d.valueOf()-6e4*(this._offset||0)}function bn(){return Math.floor(this.valueOf()/1e3)}function Mn(){return new Date(this.valueOf())}function wn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function xn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function kn(){return this.isValid()?this.toISOString():null}function Ln(){return f(this)}function Dn(){return u({},h(this))}function Yn(){return h(this).overflow}function Tn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Sn(e,t){V(0,[e,e.length],0,t)}function Cn(e){return An.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function jn(e){return An.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Hn(){return we(this.year(),1,4)}function On(){var e=this.localeData()._week;return we(this.year(),e.dow,e.doy)}function An(e,t,n,r,i){var a;return null==e?Me(this,r,i).year:(a=we(e,r,i),t>a&&(t=a),Pn.call(this,e,t,n,r,i))}function Pn(e,t,n,r,i){var a=be(e,t,n,r,i),o=ye(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function En(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function In(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Fn(e,t){t[sa]=v(1e3*("0."+e))}function Wn(){return this._isUTC?"UTC":""}function Rn(){return this._isUTC?"Coordinated Universal Time":""}function Nn(e){return yt(1e3*e)}function zn(){return yt.apply(null,arguments).parseZone()}function Bn(e){return e}function $n(e,t,n,r){var i=et(),a=d().set(r,t);return i[n](a,e)}function Vn(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return $n(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=$n(e,r,n,"month");return i}function qn(e,t,n,r){"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=et(),o=e?i._week.dow:0;if(null!=n)return $n(t,(n+o)%7,r,"day");var s,l=[];for(s=0;s<7;s++)l[s]=$n(t,(s+o)%7,r,"day");return l}function Un(e,t){return Vn(e,t,"months")}function Jn(e,t){return Vn(e,t,"monthsShort")}function Gn(e,t,n){return qn(e,t,n,"weekdays")}function Xn(e,t,n){return qn(e,t,n,"weekdaysShort")}function Zn(e,t,n){return qn(e,t,n,"weekdaysMin")}function Kn(){var e=this._data;return this._milliseconds=eo(this._milliseconds),this._days=eo(this._days),this._months=eo(this._months),e.milliseconds=eo(e.milliseconds),e.seconds=eo(e.seconds),e.minutes=eo(e.minutes),e.hours=eo(e.hours),e.months=eo(e.months),e.years=eo(e.years),this}function Qn(e,t,n,r){var i=Bt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function er(e,t){return Qn(this,e,t,1)}function tr(e,t){return Qn(this,e,t,-1)}function nr(e){return e<0?Math.floor(e):Math.ceil(e)}function rr(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*nr(ar(s)+o),o=0,s=0),l.milliseconds=a%1e3,e=y(a/1e3),l.seconds=e%60,t=y(e/60),l.minutes=t%60,n=y(t/60),l.hours=n%24,o+=y(n/24),i=y(ir(o)),s+=i,o-=nr(ar(i)),r=y(s/12),s%=12,l.days=o,l.months=s,l.years=r,this}function ir(e){return 4800*e/146097}function ar(e){return 146097*e/4800}function or(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=P(e))||"year"===e)return t=this._days+r/864e5,n=this._months+ir(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ar(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function sr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12):NaN}function lr(e){return function(){return this.as(e)}}function ur(e){return e=P(e),this.isValid()?this[e+"s"]():NaN}function dr(e){return function(){return this.isValid()?this._data[e]:NaN}}function cr(){return y(this.days()/7)}function hr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function fr(e,t,n){var r=Bt(e).abs(),i=go(r.as("s")),a=go(r.as("m")),o=go(r.as("h")),s=go(r.as("d")),l=go(r.as("M")),u=go(r.as("y")),d=i<=yo.ss&&["s",i]||i<yo.s&&["ss",i]||a<=1&&["m"]||a<yo.m&&["mm",a]||o<=1&&["h"]||o<yo.h&&["hh",o]||s<=1&&["d"]||s<yo.d&&["dd",s]||l<=1&&["M"]||l<yo.M&&["MM",l]||u<=1&&["y"]||["yy",u];return d[2]=t,d[3]=+e>0,d[4]=n,hr.apply(null,d)}function pr(e){return void 0===e?go:"function"==typeof e&&(go=e,!0)}function mr(e,t){return void 0!==yo[e]&&(void 0===t?yo[e]:(yo[e]=t,"s"===e&&(yo.ss=t-1),!0))}function _r(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=fr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function gr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r=vo(this._milliseconds)/1e3,i=vo(this._days),a=vo(this._months);e=y(r/60),t=y(e/60),r%=60,e%=60,n=y(a/12),a%=12;var o=n,s=a,l=i,u=t,d=e,c=r,h=this.asSeconds();return h?(h<0?"-":"")+"P"+(o?o+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(u||d||c?"T":"")+(u?u+"H":"")+(d?d+"M":"")+(c?c+"S":""):"P0D"}function yr(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function vr(e,t,n){var r={mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+yr(r[n],+e)}function br(e,t,n){return e+" "+xr({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function Mr(e){switch(wr(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function wr(e){return e>9?wr(e%10):e}function xr(e,t){return 2===t?kr(e):e}function kr(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}function Lr(e,t,n){var r=e+" ";switch(n){case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}function Dr(e){return e>1&&e<5&&1!=~~(e/10)}function Yr(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?i+(Dr(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?i+(Dr(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?i+(Dr(e)?"dny":"dní"):i+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?i+(Dr(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?i+(Dr(e)?"roky":"let"):i+"lety"}}function Tr(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}function Sr(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}function Cr(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}function jr(e,t,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}function Hr(e,t,n,r){var i="";switch(n){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"m":return r?"minuutin":"minuutti";case"mm":i=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":i=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":i=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":i=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":i=r?"vuoden":"vuotta"}return i=Or(e,r)+" "+i}function Or(e,t){return e<10?t?Xo[e]:Go[e]:e}function Ar(e,t,n,r){var i={s:["thodde secondanim","thodde second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka horan","ek hor"],hh:[e+" horanim",e+" hor"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?i[n][0]:i[n][1]}function Pr(e,t,n){var r=e+" ";switch(n){case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}function Er(e,t,n,r){var i=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return i+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return i+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return i+(r||t?" év":" éve")}return""}function Ir(e){return(e?"":"[múlt] ")+"["+os[this.day()]+"] LT[-kor]"}function Fr(e){
|
||
return e%100==11||e%10!=1}function Wr(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return t?"mínúta":"mínútu";case"mm":return Fr(e)?i+(t||r?"mínútur":"mínútum"):t?i+"mínúta":i+"mínútu";case"hh":return Fr(e)?i+(t||r?"klukkustundir":"klukkustundum"):i+"klukkustund";case"d":return t?"dagur":r?"dag":"degi";case"dd":return Fr(e)?t?i+"dagar":i+(r?"daga":"dögum"):t?i+"dagur":i+(r?"dag":"degi");case"M":return t?"mánuður":r?"mánuð":"mánuði";case"MM":return Fr(e)?t?i+"mánuðir":i+(r?"mánuði":"mánuðum"):t?i+"mánuður":i+(r?"mánuð":"mánuði");case"y":return t||r?"ár":"ári";case"yy":return Fr(e)?i+(t||r?"ár":"árum"):i+(t||r?"ár":"ári")}}function Rr(e,t,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[n][0]:i[n][1]}function Nr(e){return Br(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e}function zr(e){return Br(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e}function Br(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,n=e/10;return Br(0===t?n:t)}if(e<1e4){for(;e>=10;)e/=10;return Br(e)}return e/=1e3,Br(e)}function $r(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function Vr(e,t,n,r){return t?Ur(n)[0]:r?Ur(n)[1]:Ur(n)[2]}function qr(e){return e%10==0||e>10&&e<20}function Ur(e){return cs[e].split("_")}function Jr(e,t,n,r){var i=e+" ";return 1===e?i+Vr(e,t,n[0],r):t?i+(qr(e)?Ur(n)[1]:Ur(n)[0]):r?i+Ur(n)[1]:i+(qr(e)?Ur(n)[1]:Ur(n)[2])}function Gr(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function Xr(e,t,n){return e+" "+Gr(hs[n],e,t)}function Zr(e,t,n){return Gr(hs[n],e,t)}function Kr(e,t){return t?"dažas sekundes":"dažām sekundēm"}function Qr(e,t,n,r){var i="";if(t)switch(n){case"s":i="काही सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे"}else switch(n){case"s":i="काही सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां"}return i.replace(/%d/i,e)}function ei(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function ti(e,t,n){var r=e+" ";switch(n){case"m":return t?"minuta":"minutę";case"mm":return r+(ei(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(ei(e)?"godziny":"godzin");case"MM":return r+(ei(e)?"miesiące":"miesięcy");case"yy":return r+(ei(e)?"lata":"lat")}}function ni(e,t,n){var r={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},i=" ";return(e%100>=20||e>=100&&e%100==0)&&(i=" de "),e+i+r[n]}function ri(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function ii(e,t,n){var r={mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===n?t?"минута":"минуту":e+" "+ri(r[n],+e)}function ai(e){return e>1&&e<5}function oi(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":r?"minútu":"minútou";case"mm":return t||r?i+(ai(e)?"minúty":"minút"):i+"minútami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?i+(ai(e)?"hodiny":"hodín"):i+"hodinami";case"d":return t||r?"deň":"dňom";case"dd":return t||r?i+(ai(e)?"dni":"dní"):i+"dňami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?i+(ai(e)?"mesiace":"mesiacov"):i+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?i+(ai(e)?"roky":"rokov"):i+"rokmi"}}function si(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"m":return t?"ena minuta":"eno minuto";case"mm":return i+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return i+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return i+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return i+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return i+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti"}}function li(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"}function ui(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"}function di(e,t,n,r){var i=ci(e);switch(n){case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}function ci(e){var t=Math.floor(e%1e3/100),n=Math.floor(e%100/10),r=e%10,i="";return t>0&&(i+=Ns[t]+"vatlh"),n>0&&(i+=(""!==i?" ":"")+Ns[n]+"maH"),r>0&&(i+=(""!==i?" ":"")+Ns[r]),""===i?"pagh":i}function hi(e,t,n,r){var i={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r?i[n][0]:t?i[n][0]:i[n][1]}function fi(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function pi(e,t,n){var r={mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+fi(r[n],+e)}function mi(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative}function _i(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var gi,yi;yi=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var vi=yi,bi=e.momentProperties=[],Mi=!1,wi={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var xi;xi=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n};var ki,Li=xi,Di={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Yi={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"},Ti=/\d{1,2}/,Si={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},Ci={},ji={},Hi=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Oi=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ai={},Pi={},Ei=/\d/,Ii=/\d\d/,Fi=/\d{3}/,Wi=/\d{4}/,Ri=/[+-]?\d{6}/,Ni=/\d\d?/,zi=/\d\d\d\d?/,Bi=/\d\d\d\d\d\d?/,$i=/\d{1,3}/,Vi=/\d{1,4}/,qi=/[+-]?\d{1,6}/,Ui=/\d+/,Ji=/[+-]?\d+/,Gi=/Z|[+-]\d\d:?\d\d/gi,Xi=/Z|[+-]\d\d(?::?\d\d)?/gi,Zi=/[+-]?\d+(\.\d{1,3})?/,Ki=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Qi={},ea={},ta=0,na=1,ra=2,ia=3,aa=4,oa=5,sa=6,la=7,ua=8;ki=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};var da=ki;V("M",["MM",2],"Mo",function(){return this.month()+1}),V("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),V("MMMM",0,0,function(e){return this.localeData().months(this,e)}),A("month","M"),I("month",8),X("M",Ni),X("MM",Ni,Ii),X("MMM",function(e,t){return t.monthsShortRegex(e)}),X("MMMM",function(e,t){return t.monthsRegex(e)}),ee(["M","MM"],function(e,t){t[na]=v(e)-1}),ee(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[na]=i:h(n).invalidMonth=e});var ca=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ha="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),fa="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),pa=Ki,ma=Ki;V("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),V(0,["YY",2],0,function(){return this.year()%100}),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),A("year","y"),I("year",1),X("Y",Ji),X("YY",Ni,Ii),X("YYYY",Vi,Wi),X("YYYYY",qi,Ri),X("YYYYYY",qi,Ri),ee(["YYYYY","YYYYYY"],ta),ee("YYYY",function(t,n){n[ta]=2===t.length?e.parseTwoDigitYear(t):v(t)}),ee("YY",function(t,n){n[ta]=e.parseTwoDigitYear(t)}),ee("Y",function(e,t){t[ta]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return v(e)+(v(e)>68?1900:2e3)};var _a=W("FullYear",!0);V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),A("week","w"),A("isoWeek","W"),I("week",5),I("isoWeek",5),X("w",Ni),X("ww",Ni,Ii),X("W",Ni),X("WW",Ni,Ii),te(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=v(e)});var ga={dow:0,doy:6};V("d",0,"do","day"),V("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),A("day","d"),A("weekday","e"),A("isoWeekday","E"),I("day",11),I("weekday",11),I("isoWeekday",11),X("d",Ni),X("e",Ni),X("E",Ni),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),te(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:h(n).invalidWeekday=e}),te(["d","e","E"],function(e,t,n,r){t[r]=v(e)});var ya="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),va="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ba="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ma=Ki,wa=Ki,xa=Ki;V("H",["HH",2],0,"hour"),V("h",["hh",2],0,ze),V("k",["kk",2],0,Be),V("hmm",0,0,function(){return""+ze.apply(this)+$(this.minutes(),2)}),V("hmmss",0,0,function(){return""+ze.apply(this)+$(this.minutes(),2)+$(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+$(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+$(this.minutes(),2)+$(this.seconds(),2)}),$e("a",!0),$e("A",!1),A("hour","h"),I("hour",13),X("a",Ve),X("A",Ve),X("H",Ni),X("h",Ni),X("k",Ni),X("HH",Ni,Ii),X("hh",Ni,Ii),X("kk",Ni,Ii),X("hmm",zi),X("hmmss",Bi),X("Hmm",zi),X("Hmmss",Bi),ee(["H","HH"],ia),ee(["k","kk"],function(e,t,n){var r=v(e);t[ia]=24===r?0:r}),ee(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ee(["h","hh"],function(e,t,n){t[ia]=v(e),h(n).bigHour=!0}),ee("hmm",function(e,t,n){var r=e.length-2;t[ia]=v(e.substr(0,r)),t[aa]=v(e.substr(r)),h(n).bigHour=!0}),ee("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ia]=v(e.substr(0,r)),t[aa]=v(e.substr(r,2)),t[oa]=v(e.substr(i)),h(n).bigHour=!0}),ee("Hmm",function(e,t,n){var r=e.length-2;t[ia]=v(e.substr(0,r)),t[aa]=v(e.substr(r))}),ee("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ia]=v(e.substr(0,r)),t[aa]=v(e.substr(r,2)),t[oa]=v(e.substr(i))});var ka,La=/[ap]\.?m?\.?/i,Da=W("Hours",!0),Ya={calendar:Di,longDateFormat:Yi,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Ti,relativeTime:Si,months:ha,monthsShort:fa,week:ga,weekdays:ya,weekdaysMin:ba,weekdaysShort:va,meridiemParse:La},Ta={},Sa={},Ca=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ja=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ha=/Z|[+-]\d\d(?::?\d\d)?/,Oa=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Aa=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Pa=/^\/?Date\((\-?\d+)/i,Ea=/^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/;e.createFromInputFallback=w("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var Ia=w("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=yt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:p()}),Fa=w("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=yt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:p()}),Wa=function(){return Date.now?Date.now():+new Date},Ra=["year","quarter","month","week","day","hour","minute","second","millisecond"];Tt("Z",":"),Tt("ZZ",""),X("Z",Xi),X("ZZ",Xi),ee(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=St(Xi,e)});var Na=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var za=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ba=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Bt.fn=Lt.prototype,Bt.invalid=kt;var $a=Ut(1,"add"),Va=Ut(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var qa=w("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Sn("gggg","weekYear"),Sn("ggggg","weekYear"),Sn("GGGG","isoWeekYear"),Sn("GGGGG","isoWeekYear"),A("weekYear","gg"),A("isoWeekYear","GG"),I("weekYear",1),I("isoWeekYear",1),X("G",Ji),X("g",Ji),X("GG",Ni,Ii),X("gg",Ni,Ii),X("GGGG",Vi,Wi),X("gggg",Vi,Wi),X("GGGGG",qi,Ri),X("ggggg",qi,Ri),te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=v(e)}),te(["gg","GG"],function(t,n,r,i){n[i]=e.parseTwoDigitYear(t)}),V("Q",0,"Qo","quarter"),A("quarter","Q"),I("quarter",7),X("Q",Ei),ee("Q",function(e,t){t[na]=3*(v(e)-1)}),V("D",["DD",2],"Do","date"),A("date","D"),I("date",9),X("D",Ni),X("DD",Ni,Ii),X("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ee(["D","DD"],ra),ee("Do",function(e,t){t[ra]=v(e.match(Ni)[0],10)});var Ua=W("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfYear"),A("dayOfYear","DDD"),I("dayOfYear",4),X("DDD",$i),X("DDDD",Fi),ee(["DDD","DDDD"],function(e,t,n){n._dayOfYear=v(e)}),V("m",["mm",2],0,"minute"),A("minute","m"),I("minute",14),X("m",Ni),X("mm",Ni,Ii),ee(["m","mm"],aa);var Ja=W("Minutes",!1);V("s",["ss",2],0,"second"),A("second","s"),I("second",15),X("s",Ni),X("ss",Ni,Ii),ee(["s","ss"],oa);var Ga=W("Seconds",!1);V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),A("millisecond","ms"),I("millisecond",16),X("S",$i,Ei),X("SS",$i,Ii),X("SSS",$i,Fi);var Xa;for(Xa="SSSS";Xa.length<=9;Xa+="S")X(Xa,Ui);for(Xa="S";Xa.length<=9;Xa+="S")ee(Xa,Fn);var Za=W("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var Ka=_.prototype;Ka.add=$a,Ka.calendar=Xt,Ka.clone=Zt,Ka.diff=an,Ka.endOf=yn,Ka.format=dn,Ka.from=cn,Ka.fromNow=hn,Ka.to=fn,Ka.toNow=pn,Ka.get=z,Ka.invalidAt=Yn,Ka.isAfter=Kt,Ka.isBefore=Qt,Ka.isBetween=en,Ka.isSame=tn,Ka.isSameOrAfter=nn,Ka.isSameOrBefore=rn,Ka.isValid=Ln,Ka.lang=qa,Ka.locale=mn,Ka.localeData=_n,Ka.max=Fa,Ka.min=Ia,Ka.parsingFlags=Dn,Ka.set=B,Ka.startOf=gn,Ka.subtract=Va,Ka.toArray=wn,Ka.toObject=xn,Ka.toDate=Mn,Ka.toISOString=ln,Ka.inspect=un,Ka.toJSON=kn,Ka.toString=sn,Ka.unix=bn,Ka.valueOf=vn,Ka.creationData=Tn,Ka.year=_a,Ka.isLeapYear=_e,Ka.weekYear=Cn,Ka.isoWeekYear=jn,Ka.quarter=Ka.quarters=En,Ka.month=ue,Ka.daysInMonth=de,Ka.week=Ka.weeks=De,Ka.isoWeek=Ka.isoWeeks=Ye,Ka.weeksInYear=On,Ka.isoWeeksInYear=Hn,Ka.date=Ua,Ka.day=Ka.days=Pe,Ka.weekday=Ee,Ka.isoWeekday=Ie,Ka.dayOfYear=In,Ka.hour=Ka.hours=Da,Ka.minute=Ka.minutes=Ja,Ka.second=Ka.seconds=Ga,Ka.millisecond=Ka.milliseconds=Za,Ka.utcOffset=Ht,Ka.utc=At,Ka.local=Pt,Ka.parseZone=Et,Ka.hasAlignedHourOffset=It,Ka.isDST=Ft,Ka.isLocal=Rt,Ka.isUtcOffset=Nt,Ka.isUtc=zt,Ka.isUTC=zt,Ka.zoneAbbr=Wn,Ka.zoneName=Rn,Ka.dates=w("dates accessor is deprecated. Use date instead.",Ua),Ka.months=w("months accessor is deprecated. Use month instead",ue),Ka.years=w("years accessor is deprecated. Use year instead",_a),Ka.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ot),Ka.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Wt);var Qa=Y.prototype;Qa.calendar=T,Qa.longDateFormat=S,Qa.invalidDate=C,Qa.ordinal=j,Qa.preparse=Bn,Qa.postformat=Bn,Qa.relativeTime=H,Qa.pastFuture=O,Qa.set=L,Qa.months=ie,Qa.monthsShort=ae,Qa.monthsParse=se,Qa.monthsRegex=he,Qa.monthsShortRegex=ce,Qa.week=xe,Qa.firstDayOfYear=Le,Qa.firstDayOfWeek=ke,Qa.weekdays=Ce,Qa.weekdaysMin=He,Qa.weekdaysShort=je,Qa.weekdaysParse=Ae,Qa.weekdaysRegex=Fe,Qa.weekdaysShortRegex=We,Qa.weekdaysMinRegex=Re,Qa.isPM=qe,Qa.meridiem=Ue,Ze("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===v(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),e.lang=w("moment.lang is deprecated. Use moment.locale instead.",Ze),e.langData=w("moment.langData is deprecated. Use moment.localeData instead.",et);var eo=Math.abs,to=lr("ms"),no=lr("s"),ro=lr("m"),io=lr("h"),ao=lr("d"),oo=lr("w"),so=lr("M"),lo=lr("y"),uo=dr("milliseconds"),co=dr("seconds"),ho=dr("minutes"),fo=dr("hours"),po=dr("days"),mo=dr("months"),_o=dr("years"),go=Math.round,yo={ss:44,s:45,m:45,h:22,d:26,M:11},vo=Math.abs,bo=Lt.prototype;bo.isValid=xt,bo.abs=Kn,bo.add=er,bo.subtract=tr,bo.as=or,bo.asMilliseconds=to,bo.asSeconds=no,bo.asMinutes=ro,bo.asHours=io,bo.asDays=ao,bo.asWeeks=oo,bo.asMonths=so,bo.asYears=lo,bo.valueOf=sr,bo._bubble=rr,bo.get=ur,bo.milliseconds=uo,bo.seconds=co,bo.minutes=ho,bo.hours=fo,bo.days=po,bo.weeks=cr,bo.months=mo,bo.years=_o,bo.humanize=_r,bo.toISOString=gr,bo.toString=gr,bo.toJSON=gr,bo.locale=mn,bo.localeData=_n,bo.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",gr),bo.lang=qa,V("X",0,0,"unix"),V("x",0,0,"valueOf"),X("x",Ji),X("X",Zi),ee("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ee("x",function(e,t,n){n._d=new Date(v(e))}),e.version="2.18.1",function(e){gi=e}(yt),e.fn=Ka,e.min=bt,e.max=Mt,e.now=Wa,e.utc=d,e.unix=Nn,e.months=Un,e.isDate=o,e.locale=Ze,e.invalid=p,e.duration=Bt,e.isMoment=g,e.weekdays=Gn,e.parseZone=zn,e.localeData=et,e.isDuration=Dt,e.monthsShort=Jn,e.weekdaysMin=Zn,e.defineLocale=Ke,e.updateLocale=Qe,e.locales=tt,e.weekdaysShort=Xn,e.normalizeUnits=P,e.relativeTimeRounding=pr,e.relativeTimeThreshold=mr,e.calendarFormat=Gt,e.prototype=Ka,e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_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(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}}),e.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}}),e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});var Mo={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},wo=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},xo={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},ko=function(e){return function(t,n,r,i){var a=wo(t),o=xo[e][wo(t)];return 2===a&&(o=o[n?0:1]),o.replace(/%d/i,t)}},Lo=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:Lo,monthsShort:Lo,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:ko("s"),m:ko("m"),mm:ko("m"),h:ko("h"),hh:ko("h"),d:ko("d"),dd:ko("d"),M:ko("M"),MM:ko("M"),y:ko("y"),yy:ko("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Mo[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}});var Do={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},Yo={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},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(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return Yo[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Do[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}}),e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});var To={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},So={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},Co=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},jo={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},Ho=function(e){return function(t,n,r,i){var a=Co(t),o=jo[e][Co(t)];return 2===a&&(o=o[n?0:1]),o.replace(/%d/i,t)}},Oo=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"];e.defineLocale("ar",{months:Oo,monthsShort:Oo,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:Ho("s"),m:Ho("m"),mm:Ho("m"),h:Ho("h"),hh:Ho("h"),d:Ho("d"),dd:Ho("d"),M:Ho("M"),MM:Ho("M"),y:Ho("y"),yy:Ho("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return So[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return To[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}});var Ao={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ı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",
|
||
nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var t=e%10,n=e%100-t,r=e>=100?100:null;return e+(Ao[t]||Ao[n]||Ao[r])},week:{dow:1,doy:7}}),e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:vr,mm:vr,h:vr,hh:vr,d:"дзень",dd:vr,M:"месяц",MM:vr,y:"год",yy:vr},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}}),e.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 години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});var Po={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},Eo={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.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(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return Eo[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Po[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});var Io={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},Fo={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.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(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return Fo[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Io[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}}),e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:br,h:"un eur",hh:"%d eur",d:"un devezh",dd:br,M:"ur miz",MM:br,y:"ur bloaz",yy:Mr},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4}}),e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:Lr,mm:Lr,h:Lr,hh:Lr,d:"dan",dd:Lr,M:"mjesec",MM:Lr,y:"godinu",yy:Lr},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"[el] D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"[el] D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"[el] dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM 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:"d'aquí %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"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});var Wo="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),Ro="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");e.defineLocale("cs",{months:Wo,monthsShort:Ro,monthsParse:function(e,t){var n,r=[];for(n=0;n<12;n++)r[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return r}(Wo,Ro),shortMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(Ro),longMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(Wo),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",l:"D. M. YYYY"},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:Yr,m:Yr,mm:Yr,h:Yr,hh:Yr,d:Yr,dd:Yr,M:Yr,MM:Yr,y:Yr,yy:Yr},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.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(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}}),e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t=e,n="",r=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=r[t]),e+n},week:{dow:1,doy:4}}),e.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 [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s 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"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Tr,mm:"%d Minuten",h:Tr,hh:"%d Stunden",d:Tr,dd:Tr,M:Tr,MM:Tr,y:Tr,yy:Tr},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._März_April_Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH.mm",LLLL:"dddd, D. MMMM YYYY HH.mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Sr,mm:"%d Minuten",h:Sr,hh:"%d Stunden",d:Sr,dd:Sr,M:Sr,MM:Sr,y:Sr,yy:Sr},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Cr,mm:"%d Minuten",h:Cr,hh:"%d Stunden",d:Cr,dd:Cr,M:Cr,MM:Cr,y:Cr,yy:Cr},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var No=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],zo=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:No,monthsShort:No,weekdays:zo,weekdaysShort:zo,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(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},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(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}}),e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").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(e,t){var n=this._calendarEl[e],r=t&&t.hours();return k(n)&&(n=n.apply(t)),n.replace("{}",r%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}}),e.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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),e.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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}}),e.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[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %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"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});var Bo="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),$o="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){return e?/-MMM-/.test(t)?$o[e.month()]:Bo[e.month()]:Bo},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},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"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});var Vo="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),qo="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){return e?/-MMM-/.test(t)?qo[e.month()]:Vo[e.month()]:Vo},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:jr,m:jr,mm:jr,h:jr,hh:jr,d:jr,dd:"%d päeva",M:jr,MM:jr,y:jr,yy:jr},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},
|
||
dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var Uo={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},Jo={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},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(e){return e.replace(/[۰-۹]/g,function(e){return Jo[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Uo[e]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});var Go="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),Xo=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",Go[7],Go[8],Go[9]];e.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:Hr,m:Hr,mm:Hr,h:Hr,hh:Hr,d:Hr,dd:Hr,M:Hr,MM:Hr,y:Hr,yy:Hr},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.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"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}}),e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}}),e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});var Zo="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),Ko="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,t){return e?/-MMM-/.test(t)?Ko[e.month()]:Zo[e.month()]:Zo},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});var Qo=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],es=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],ts=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],ns=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],rs=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"];e.defineLocale("gd",{months:Qo,monthsShort:es,monthsParseExact:!0,weekdays:ts,weekdaysShort:ns,weekdaysMin:rs,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}}),e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [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"[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(e){return 0===e.indexOf("un")?"n"+e:"en "+e},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"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:Ar,m:Ar,mm:Ar,h:Ar,hh:Ar,d:Ar,dd:Ar,M:Ar,MM:Ar,y:Ar,yy:Ar},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}}),e.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(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}});var is={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},as={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return as[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return is[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}}),e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:Pr,mm:Pr,h:Pr,hh:Pr,d:"dan",dd:Pr,M:"mjesec",MM:Pr,y:"godinu",yy:Pr},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var os="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");e.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(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return Ir.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return Ir.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:Er,m:Er,mm:Er,h:Er,hh:Er,d:Er,dd:Er,M:Er,MM:Er,y:Er,yy:Er},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}}),e.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(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"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}}),e.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:Wr,m:Wr,mm:Wr,h:"klukkustund",hh:Wr,d:Wr,dd:Wr,M:Wr,MM:Wr,y:Wr,yy:Wr},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},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"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),e.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:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 HH:mm dddd",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日 HH:mm dddd"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";default:return e}},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年"}}),e.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(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"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}}),e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის უკან"):/წელი/.test(e)?e.replace(/წელი$/,"წლის უკან"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}});var ss={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var t=e%10,n=e>=100?100:null;return e+(ss[e]||ss[t]||ss[n])},week:{dow:1,doy:7}}),e.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}});var ls={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},us={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬ_ಅಕ್ಟೋಬ_ನವೆಂಬ_ಡಿಸೆಂಬ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(e){return us[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return ls[e]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}}),e.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: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",l:"YYYY.MM.DD",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}});var ds={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var t=e%10,n=e>=100?100:null;return e+(ds[e]||ds[t]||ds[n])},week:{dow:1,doy:7}}),e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",
|
||
LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:Nr,past:zr,s:"e puer Sekonnen",m:Rr,mm:"%d Minutten",h:Rr,hh:"%d Stonnen",d:Rr,dd:"%d Deeg",M:Rr,MM:"%d Méint",y:Rr,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},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 ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}});var cs={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"};e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:$r,m:Vr,mm:Jr,h:Vr,hh:Jr,d:Vr,dd:Jr,M:Vr,MM:Jr,y:Vr,yy:Jr},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});var hs={m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:Kr,m:Zr,mm:Xr,h:Zr,hh:Xr,d:Zr,dd:Xr,M:Zr,MM:Xr,y:Zr,yy:Xr},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var fs={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(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,t,n){var r=fs.words[n];return 1===n.length?t?r[0]:r[1]:e+" "+fs.correctGrammaticalCase(e,r)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){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"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:fs.translate,mm:fs.translate,h:fs.translate,hh:fs.translate,d:"dan",dd:fs.translate,M:"mjesec",MM:fs.translate,y:"godinu",yy:fs.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),e.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 години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}}),e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}});var ps={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},ms={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:Qr,m:Qr,mm:Qr,h:Qr,hh:Qr,d:Qr,dd:Qr,M:Qr,MM:Qr,y:Qr,yy:Qr},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return ms[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return ps[e]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}}),e.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(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"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}}),e.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(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"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}});var _s={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},gs={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.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(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){return gs[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return _s[e]})},week:{dow:1,doy:4}}),e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var ys={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},vs={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return vs[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return ys[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});var bs="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),Ms="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ws=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],xs=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,t){return e?/-MMM-/.test(t)?Ms[e.month()]:bs[e.month()]:bs},monthsRegex:xs,monthsShortRegex:xs,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:ws,longMonthsParse:ws,shortMonthsParse:ws,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});var ks="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),Ls="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),Ds=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],Ys=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,t){return e?/-MMM-/.test(t)?Ls[e.month()]:ks[e.month()]:ks},monthsRegex:Ys,monthsShortRegex:Ys,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:Ds,longMonthsParse:Ds,shortMonthsParse:Ds,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}}),e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Ts={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},Ss={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return Ss[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Ts[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});var Cs="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),js="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");e.defineLocale("pl",{months:function(e,t){return e?""===t?"("+js[e.month()]+"|"+Cs[e.month()]+")":/D MMMM/.test(t)?js[e.month()]:Cs[e.month()]:Cs},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:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:ti,mm:ti,h:ti,hh:ti,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:ti,y:"rok",yy:ti},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.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:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"}),e.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:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:ni,h:"o oră",hh:ni,d:"o zi",dd:ni,M:"o lună",MM:ni,y:"un an",yy:ni},week:{dow:1,doy:7}});var Hs=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:Hs,longMonthsParse:Hs,shortMonthsParse:Hs,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(e){if(e.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:ii,mm:ii,h:"час",hh:ii,d:"день",dd:ii,M:"месяц",MM:ii,y:"год",yy:ii},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:7}});var Os=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],As=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:Os,monthsShort:Os,weekdays:As,weekdaysShort:As,weekdaysMin:As,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},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(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}}),e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),
|
||
monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}});var Ps="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),Es="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");e.defineLocale("sk",{months:Ps,monthsShort:Es,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:oi,m:oi,mm:oi,h:oi,hh:oi,d:oi,dd:oi,M:oi,MM:oi,y:oi,yy:oi},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:si,m:si,mm:si,h:si,hh:si,d:si,dd:si,M:si,MM:si,y:si,yy:si},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"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"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Is={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,t,n){var r=Is.words[n];return 1===n.length?t?r[0]:r[1]:e+" "+Is.correctGrammaticalCase(e,r)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:Is.translate,mm:Is.translate,h:Is.translate,hh:Is.translate,d:"дан",dd:Is.translate,M:"месец",MM:Is.translate,y:"годину",yy:Is.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var Fs={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(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,t,n){var r=Fs.words[n];return 1===n.length?t?r[0]:r[1]:e+" "+Fs.correctGrammaticalCase(e,r)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){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"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:Fs.translate,mm:Fs.translate,h:Fs.translate,hh:Fs.translate,d:"dan",dd:Fs.translate,M:"mesec",MM:Fs.translate,y:"godinu",yy:Fs.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}}),e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"e":1===t?"a":2===t?"a":"e")},week:{dow:1,doy:4}}),e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});var Ws={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},Rs={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.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 ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return Rs[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Ws[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}}),e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}}),e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sext_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Sex_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:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutus %d",h:"horas ida",hh:"horas %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},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 ปี"}}),e.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:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",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"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});var Ns="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:li,past:ui,s:"puS lup",m:"wa’ tup",mm:di,h:"wa’ rep",hh:di,d:"wa’ jaj",dd:di,M:"wa’ jar",MM:di,y:"wa’ DIS",yy:di},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var zs={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ı"};e.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"},dayOfMonthOrdinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(e){if(0===e)return e+"'ıncı";var t=e%10,n=e%100-t,r=e>=100?100:null;return e+(zs[t]||zs[n]||zs[r])},week:{dow:1,doy:7}}),e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:hi,m:hi,mm:hi,h:hi,hh:hi,d:hi,dd:hi,M:hi,MM:hi,y:hi,yy:hi},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.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}}),e.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}}),e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:mi,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:_i("[Сьогодні "),nextDay:_i("[Завтра "),lastDay:_i("[Вчора "),nextWeek:_i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return _i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return _i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:pi,mm:pi,h:"годину",hh:pi,d:"день",dd:pi,M:"місяць",MM:pi,y:"рік",yy:pi},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});var Bs=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],$s=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];return e.defineLocale("ur",{months:Bs,monthsShort:Bs,weekdays:$s,weekdaysShort:$s,weekdaysMin:$s,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(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},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(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}}),e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".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:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}}),e.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}}),e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".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:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}}),e.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:"HH:mm",LTS:"HH:mm:ss",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日 HH:mm",llll:"YYYY年MMMD日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),
|
||
"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},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}}),e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日 HH:mm",LLLL:"YYYY年MMMD日dddd HH:mm",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日 HH:mm",llll:"YYYY年MMMD日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},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 年"}}),e.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:"HH:mm",LTS:"HH:mm:ss",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日 HH:mm",LLLL:"YYYY年MMMD日dddd HH:mm",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日 HH:mm",llll:"YYYY年MMMD日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},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 年"}}),e.locale("en"),e}),function(e){"use strict";if("function"==typeof define&&define.amd)define(["jquery","moment"],e);else if("object"==typeof exports)module.exports=e(require("jquery"),require("moment"));else{if("undefined"==typeof jQuery)throw"bootstrap-datetimepicker requires jQuery to be loaded first";if("undefined"==typeof moment)throw"bootstrap-datetimepicker requires Moment.js to be loaded first";e(jQuery,moment)}}(function(e,t){"use strict";if(!t)throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first");var n=function(n,r){var i,a,o,s,l,u,d,c={},h=!0,f=!1,p=!1,m=0,_=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],g=["days","months","years","decades"],y=["top","bottom","auto"],v=["left","right","auto"],b=["default","top","bottom"],M={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t",delete:46,46:"delete"},w={},x=function(){return void 0!==t.tz&&void 0!==r.timeZone&&null!==r.timeZone&&""!==r.timeZone},k=function(e){var n;return n=void 0===e||null===e?t():t.isDate(e)||t.isMoment(e)?t(e):x()?t.tz(e,u,r.useStrict,r.timeZone):t(e,u,r.useStrict),x()&&n.tz(r.timeZone),n},L=function(e){if("string"!=typeof e||e.length>1)throw new TypeError("isEnabled expects a single character string parameter");switch(e){case"y":return-1!==l.indexOf("Y");case"M":return-1!==l.indexOf("M");case"d":return-1!==l.toLowerCase().indexOf("d");case"h":case"H":return-1!==l.toLowerCase().indexOf("h");case"m":return-1!==l.indexOf("m");case"s":return-1!==l.indexOf("s");default:return!1}},D=function(){return L("h")||L("m")||L("s")},Y=function(){return L("y")||L("M")||L("d")},T=function(){var t=e("<thead>").append(e("<tr>").append(e("<th>").addClass("prev").attr("data-action","previous").append(e("<span>").addClass(r.icons.previous))).append(e("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",r.calendarWeeks?"6":"5")).append(e("<th>").addClass("next").attr("data-action","next").append(e("<span>").addClass(r.icons.next)))),n=e("<tbody>").append(e("<tr>").append(e("<td>").attr("colspan",r.calendarWeeks?"8":"7")));return[e("<div>").addClass("datepicker-days").append(e("<table>").addClass("table-condensed").append(t).append(e("<tbody>"))),e("<div>").addClass("datepicker-months").append(e("<table>").addClass("table-condensed").append(t.clone()).append(n.clone())),e("<div>").addClass("datepicker-years").append(e("<table>").addClass("table-condensed").append(t.clone()).append(n.clone())),e("<div>").addClass("datepicker-decades").append(e("<table>").addClass("table-condensed").append(t.clone()).append(n.clone()))]},S=function(){var t=e("<tr>"),n=e("<tr>"),i=e("<tr>");return L("h")&&(t.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:r.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(e("<span>").addClass(r.icons.up)))),n.append(e("<td>").append(e("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:r.tooltips.pickHour}).attr("data-action","showHours"))),i.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:r.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(e("<span>").addClass(r.icons.down))))),L("m")&&(L("h")&&(t.append(e("<td>").addClass("separator")),n.append(e("<td>").addClass("separator").html(":")),i.append(e("<td>").addClass("separator"))),t.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:r.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(e("<span>").addClass(r.icons.up)))),n.append(e("<td>").append(e("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:r.tooltips.pickMinute}).attr("data-action","showMinutes"))),i.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:r.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(e("<span>").addClass(r.icons.down))))),L("s")&&(L("m")&&(t.append(e("<td>").addClass("separator")),n.append(e("<td>").addClass("separator").html(":")),i.append(e("<td>").addClass("separator"))),t.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:r.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(e("<span>").addClass(r.icons.up)))),n.append(e("<td>").append(e("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:r.tooltips.pickSecond}).attr("data-action","showSeconds"))),i.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:r.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(e("<span>").addClass(r.icons.down))))),s||(t.append(e("<td>").addClass("separator")),n.append(e("<td>").append(e("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:r.tooltips.togglePeriod}))),i.append(e("<td>").addClass("separator"))),e("<div>").addClass("timepicker-picker").append(e("<table>").addClass("table-condensed").append([t,n,i]))},C=function(){var t=e("<div>").addClass("timepicker-hours").append(e("<table>").addClass("table-condensed")),n=e("<div>").addClass("timepicker-minutes").append(e("<table>").addClass("table-condensed")),r=e("<div>").addClass("timepicker-seconds").append(e("<table>").addClass("table-condensed")),i=[S()];return L("h")&&i.push(t),L("m")&&i.push(n),L("s")&&i.push(r),i},j=function(){var t=[];return r.showTodayButton&&t.push(e("<td>").append(e("<a>").attr({"data-action":"today",title:r.tooltips.today}).append(e("<span>").addClass(r.icons.today)))),!r.sideBySide&&Y()&&D()&&t.push(e("<td>").append(e("<a>").attr({"data-action":"togglePicker",title:r.tooltips.selectTime}).append(e("<span>").addClass(r.icons.time)))),r.showClear&&t.push(e("<td>").append(e("<a>").attr({"data-action":"clear",title:r.tooltips.clear}).append(e("<span>").addClass(r.icons.clear)))),r.showClose&&t.push(e("<td>").append(e("<a>").attr({"data-action":"close",title:r.tooltips.close}).append(e("<span>").addClass(r.icons.close)))),e("<table>").addClass("table-condensed").append(e("<tbody>").append(e("<tr>").append(t)))},H=function(){var t=e("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),n=e("<div>").addClass("datepicker").append(T()),i=e("<div>").addClass("timepicker").append(C()),a=e("<ul>").addClass("list-unstyled"),o=e("<li>").addClass("picker-switch"+(r.collapse?" accordion-toggle":"")).append(j());return r.inline&&t.removeClass("dropdown-menu"),s&&t.addClass("usetwentyfour"),L("s")&&!s&&t.addClass("wider"),r.sideBySide&&Y()&&D()?(t.addClass("timepicker-sbs"),"top"===r.toolbarPlacement&&t.append(o),t.append(e("<div>").addClass("row").append(n.addClass("col-md-6")).append(i.addClass("col-md-6"))),"bottom"===r.toolbarPlacement&&t.append(o),t):("top"===r.toolbarPlacement&&a.append(o),Y()&&a.append(e("<li>").addClass(r.collapse&&D()?"collapse in":"").append(n)),"default"===r.toolbarPlacement&&a.append(o),D()&&a.append(e("<li>").addClass(r.collapse&&Y()?"collapse":"").append(i)),"bottom"===r.toolbarPlacement&&a.append(o),t.append(a))},O=function(){var t,i=(f||n).position(),a=(f||n).offset(),o=r.widgetPositioning.vertical,s=r.widgetPositioning.horizontal;if(r.widgetParent)t=r.widgetParent.append(p);else if(n.is("input"))t=n.after(p).parent();else{if(r.inline)return void(t=n.append(p));t=n,n.children().first().after(p)}if("auto"===o&&(o=a.top+1.5*p.height()>=e(window).height()+e(window).scrollTop()&&p.height()+n.outerHeight()<a.top?"top":"bottom"),"auto"===s&&(s=t.width()<a.left+p.outerWidth()/2&&a.left+p.outerWidth()>e(window).width()?"right":"left"),"top"===o?p.addClass("top").removeClass("bottom"):p.addClass("bottom").removeClass("top"),"right"===s?p.addClass("pull-right"):p.removeClass("pull-right"),"static"===t.css("position")&&(t=t.parents().filter(function(){return"static"!==e(this).css("position")}).first()),0===t.length)throw new Error("datetimepicker component should be placed within a non-static positioned container");p.css({top:"top"===o?"auto":i.top+n.outerHeight(),bottom:"top"===o?t.outerHeight()-(t===n?0:i.top):"auto",left:"left"===s?t===n?0:i.left:"auto",right:"left"===s?"auto":t.outerWidth()-n.outerWidth()-(t===n?0:i.left)})},A=function(e){"dp.change"===e.type&&(e.date&&e.date.isSame(e.oldDate)||!e.date&&!e.oldDate)||n.trigger(e)},P=function(e){"y"===e&&(e="YYYY"),A({type:"dp.update",change:e,viewDate:a.clone()})},E=function(e){p&&(e&&(d=Math.max(m,Math.min(3,d+e))),p.find(".datepicker > div").hide().filter(".datepicker-"+_[d].clsName).show())},I=function(){var t=e("<tr>"),n=a.clone().startOf("w").startOf("d");for(!0===r.calendarWeeks&&t.append(e("<th>").addClass("cw").text("#"));n.isBefore(a.clone().endOf("w"));)t.append(e("<th>").addClass("dow").text(n.format("dd"))),n.add(1,"d");p.find(".datepicker-days thead").append(t)},F=function(e){return!0===r.disabledDates[e.format("YYYY-MM-DD")]},W=function(e){return!0===r.enabledDates[e.format("YYYY-MM-DD")]},R=function(e){return!0===r.disabledHours[e.format("H")]},N=function(e){return!0===r.enabledHours[e.format("H")]},z=function(t,n){if(!t.isValid())return!1;if(r.disabledDates&&"d"===n&&F(t))return!1;if(r.enabledDates&&"d"===n&&!W(t))return!1;if(r.minDate&&t.isBefore(r.minDate,n))return!1;if(r.maxDate&&t.isAfter(r.maxDate,n))return!1;if(r.daysOfWeekDisabled&&"d"===n&&-1!==r.daysOfWeekDisabled.indexOf(t.day()))return!1;if(r.disabledHours&&("h"===n||"m"===n||"s"===n)&&R(t))return!1;if(r.enabledHours&&("h"===n||"m"===n||"s"===n)&&!N(t))return!1;if(r.disabledTimeIntervals&&("h"===n||"m"===n||"s"===n)){var i=!1;if(e.each(r.disabledTimeIntervals,function(){if(t.isBetween(this[0],this[1]))return i=!0,!1}),i)return!1}return!0},B=function(){for(var t=[],n=a.clone().startOf("y").startOf("d");n.isSame(a,"y");)t.push(e("<span>").attr("data-action","selectMonth").addClass("month").text(n.format("MMM"))),n.add(1,"M");p.find(".datepicker-months td").empty().append(t)},$=function(){var t=p.find(".datepicker-months"),n=t.find("th"),o=t.find("tbody").find("span");n.eq(0).find("span").attr("title",r.tooltips.prevYear),n.eq(1).attr("title",r.tooltips.selectYear),n.eq(2).find("span").attr("title",r.tooltips.nextYear),t.find(".disabled").removeClass("disabled"),z(a.clone().subtract(1,"y"),"y")||n.eq(0).addClass("disabled"),n.eq(1).text(a.year()),z(a.clone().add(1,"y"),"y")||n.eq(2).addClass("disabled"),o.removeClass("active"),i.isSame(a,"y")&&!h&&o.eq(i.month()).addClass("active"),o.each(function(t){z(a.clone().month(t),"M")||e(this).addClass("disabled")})},V=function(){var e=p.find(".datepicker-years"),t=e.find("th"),n=a.clone().subtract(5,"y"),o=a.clone().add(6,"y"),s="";for(t.eq(0).find("span").attr("title",r.tooltips.prevDecade),t.eq(1).attr("title",r.tooltips.selectDecade),t.eq(2).find("span").attr("title",r.tooltips.nextDecade),e.find(".disabled").removeClass("disabled"),r.minDate&&r.minDate.isAfter(n,"y")&&t.eq(0).addClass("disabled"),t.eq(1).text(n.year()+"-"+o.year()),r.maxDate&&r.maxDate.isBefore(o,"y")&&t.eq(2).addClass("disabled");!n.isAfter(o,"y");)s+='<span data-action="selectYear" class="year'+(n.isSame(i,"y")&&!h?" active":"")+(z(n,"y")?"":" disabled")+'">'+n.year()+"</span>",n.add(1,"y");e.find("td").html(s)},q=function(){var e,n=p.find(".datepicker-decades"),o=n.find("th"),s=t({y:a.year()-a.year()%100-1}),l=s.clone().add(100,"y"),u=s.clone(),d=!1,c=!1,h="";for(o.eq(0).find("span").attr("title",r.tooltips.prevCentury),o.eq(2).find("span").attr("title",r.tooltips.nextCentury),n.find(".disabled").removeClass("disabled"),(s.isSame(t({y:1900}))||r.minDate&&r.minDate.isAfter(s,"y"))&&o.eq(0).addClass("disabled"),o.eq(1).text(s.year()+"-"+l.year()),(s.isSame(t({y:2e3}))||r.maxDate&&r.maxDate.isBefore(l,"y"))&&o.eq(2).addClass("disabled");!s.isAfter(l,"y");)e=s.year()+12,d=r.minDate&&r.minDate.isAfter(s,"y")&&r.minDate.year()<=e,c=r.maxDate&&r.maxDate.isAfter(s,"y")&&r.maxDate.year()<=e,h+='<span data-action="selectDecade" class="decade'+(i.isAfter(s)&&i.year()<=e?" active":"")+(z(s,"y")||d||c?"":" disabled")+'" data-selection="'+(s.year()+6)+'">'+(s.year()+1)+" - "+(s.year()+12)+"</span>",s.add(12,"y");h+="<span></span><span></span><span></span>",n.find("td").html(h),o.eq(1).text(u.year()+1+"-"+s.year())},U=function(){var t,n,o,s=p.find(".datepicker-days"),l=s.find("th"),u=[],d=[];if(Y()){for(l.eq(0).find("span").attr("title",r.tooltips.prevMonth),l.eq(1).attr("title",r.tooltips.selectMonth),l.eq(2).find("span").attr("title",r.tooltips.nextMonth),s.find(".disabled").removeClass("disabled"),l.eq(1).text(a.format(r.dayViewHeaderFormat)),z(a.clone().subtract(1,"M"),"M")||l.eq(0).addClass("disabled"),z(a.clone().add(1,"M"),"M")||l.eq(2).addClass("disabled"),t=a.clone().startOf("M").startOf("w").startOf("d"),o=0;o<42;o++)0===t.weekday()&&(n=e("<tr>"),r.calendarWeeks&&n.append('<td class="cw">'+t.week()+"</td>"),u.push(n)),d=["day"],t.isBefore(a,"M")&&d.push("old"),t.isAfter(a,"M")&&d.push("new"),t.isSame(i,"d")&&!h&&d.push("active"),z(t,"d")||d.push("disabled"),t.isSame(k(),"d")&&d.push("today"),0!==t.day()&&6!==t.day()||d.push("weekend"),A({type:"dp.classify",date:t,classNames:d}),n.append('<td data-action="selectDay" data-day="'+t.format("L")+'" class="'+d.join(" ")+'">'+t.date()+"</td>"),t.add(1,"d");s.find("tbody").empty().append(u),$(),V(),q()}},J=function(){var t=p.find(".timepicker-hours table"),n=a.clone().startOf("d"),r=[],i=e("<tr>");for(a.hour()>11&&!s&&n.hour(12);n.isSame(a,"d")&&(s||a.hour()<12&&n.hour()<12||a.hour()>11);)n.hour()%4==0&&(i=e("<tr>"),r.push(i)),i.append('<td data-action="selectHour" class="hour'+(z(n,"h")?"":" disabled")+'">'+n.format(s?"HH":"hh")+"</td>"),n.add(1,"h");t.empty().append(r)},G=function(){for(var t=p.find(".timepicker-minutes table"),n=a.clone().startOf("h"),i=[],o=e("<tr>"),s=1===r.stepping?5:r.stepping;a.isSame(n,"h");)n.minute()%(4*s)==0&&(o=e("<tr>"),i.push(o)),o.append('<td data-action="selectMinute" class="minute'+(z(n,"m")?"":" disabled")+'">'+n.format("mm")+"</td>"),n.add(s,"m");t.empty().append(i)},X=function(){for(var t=p.find(".timepicker-seconds table"),n=a.clone().startOf("m"),r=[],i=e("<tr>");a.isSame(n,"m");)n.second()%20==0&&(i=e("<tr>"),r.push(i)),i.append('<td data-action="selectSecond" class="second'+(z(n,"s")?"":" disabled")+'">'+n.format("ss")+"</td>"),n.add(5,"s");t.empty().append(r)},Z=function(){var e,t,n=p.find(".timepicker span[data-time-component]");s||(e=p.find(".timepicker [data-action=togglePeriod]"),t=i.clone().add(i.hours()>=12?-12:12,"h"),e.text(i.format("A")),z(t,"h")?e.removeClass("disabled"):e.addClass("disabled")),n.filter("[data-time-component=hours]").text(i.format(s?"HH":"hh")),n.filter("[data-time-component=minutes]").text(i.format("mm")),n.filter("[data-time-component=seconds]").text(i.format("ss")),J(),G(),X()},K=function(){p&&(U(),Z())},Q=function(e){var t=h?null:i;if(!e)return h=!0,o.val(""),n.data("date",""),A({type:"dp.change",date:!1,oldDate:t}),void K();if(e=e.clone().locale(r.locale),x()&&e.tz(r.timeZone),1!==r.stepping)for(e.minutes(Math.round(e.minutes()/r.stepping)*r.stepping).seconds(0);r.minDate&&e.isBefore(r.minDate);)e.add(r.stepping,"minutes");z(e)?(i=e,a=i.clone(),o.val(i.format(l)),n.data("date",i.format(l)),h=!1,K(),A({type:"dp.change",date:i.clone(),oldDate:t})):(r.keepInvalid?A({type:"dp.change",date:e,oldDate:t}):o.val(h?"":i.format(l)),A({type:"dp.error",date:e,oldDate:t}))},ee=function(){var t=!1;return p?(p.find(".collapse").each(function(){var n=e(this).data("collapse");return!n||!n.transitioning||(t=!0,!1)}),t?c:(f&&f.hasClass("btn")&&f.toggleClass("active"),p.hide(),e(window).off("resize",O),p.off("click","[data-action]"),p.off("mousedown",!1),p.remove(),p=!1,A({type:"dp.hide",date:i.clone()}),o.blur(),a=i.clone(),c)):c},te=function(){Q(null)},ne=function(e){return void 0===r.parseInputDate?(!t.isMoment(e)||e instanceof Date)&&(e=k(e)):e=r.parseInputDate(e),e},re={next:function(){var e=_[d].navFnc;a.add(_[d].navStep,e),U(),P(e)},previous:function(){var e=_[d].navFnc;a.subtract(_[d].navStep,e),U(),P(e)},pickerSwitch:function(){E(1)},selectMonth:function(t){var n=e(t.target).closest("tbody").find("span").index(e(t.target));a.month(n),d===m?(Q(i.clone().year(a.year()).month(a.month())),r.inline||ee()):(E(-1),U()),P("M")},selectYear:function(t){var n=parseInt(e(t.target).text(),10)||0;a.year(n),d===m?(Q(i.clone().year(a.year())),r.inline||ee()):(E(-1),U()),P("YYYY")},selectDecade:function(t){var n=parseInt(e(t.target).data("selection"),10)||0;a.year(n),d===m?(Q(i.clone().year(a.year())),r.inline||ee()):(E(-1),U()),P("YYYY")},selectDay:function(t){var n=a.clone();e(t.target).is(".old")&&n.subtract(1,"M"),e(t.target).is(".new")&&n.add(1,"M"),Q(n.date(parseInt(e(t.target).text(),10))),D()||r.keepOpen||r.inline||ee()},incrementHours:function(){var e=i.clone().add(1,"h");z(e,"h")&&Q(e)},incrementMinutes:function(){var e=i.clone().add(r.stepping,"m");z(e,"m")&&Q(e)},incrementSeconds:function(){var e=i.clone().add(1,"s");z(e,"s")&&Q(e)},decrementHours:function(){var e=i.clone().subtract(1,"h");z(e,"h")&&Q(e)},decrementMinutes:function(){var e=i.clone().subtract(r.stepping,"m");z(e,"m")&&Q(e)},decrementSeconds:function(){var e=i.clone().subtract(1,"s");z(e,"s")&&Q(e)},togglePeriod:function(){Q(i.clone().add(i.hours()>=12?-12:12,"h"))},togglePicker:function(t){var n,i=e(t.target),a=i.closest("ul"),o=a.find(".in"),s=a.find(".collapse:not(.in)");if(o&&o.length){if((n=o.data("collapse"))&&n.transitioning)return;o.collapse?(o.collapse("hide"),s.collapse("show")):(o.removeClass("in"),s.addClass("in")),i.is("span")?i.toggleClass(r.icons.time+" "+r.icons.date):i.find("span").toggleClass(r.icons.time+" "+r.icons.date)}},showPicker:function(){p.find(".timepicker > div:not(.timepicker-picker)").hide(),p.find(".timepicker .timepicker-picker").show()},showHours:function(){p.find(".timepicker .timepicker-picker").hide(),p.find(".timepicker .timepicker-hours").show()},showMinutes:function(){p.find(".timepicker .timepicker-picker").hide(),p.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){p.find(".timepicker .timepicker-picker").hide(),p.find(".timepicker .timepicker-seconds").show()},selectHour:function(t){var n=parseInt(e(t.target).text(),10);s||(i.hours()>=12?12!==n&&(n+=12):12===n&&(n=0)),Q(i.clone().hours(n)),re.showPicker.call(c)},selectMinute:function(t){Q(i.clone().minutes(parseInt(e(t.target).text(),10))),re.showPicker.call(c)},selectSecond:function(t){Q(i.clone().seconds(parseInt(e(t.target).text(),10))),re.showPicker.call(c)},clear:te,today:function(){var e=k();z(e,"d")&&Q(e)},close:ee},ie=function(t){return!e(t.currentTarget).is(".disabled")&&(re[e(t.currentTarget).data("action")].apply(c,arguments),!1)},ae=function(){var t,n={year:function(e){return e.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(e){return e.date(1).hours(0).seconds(0).minutes(0)},day:function(e){return e.hours(0).seconds(0).minutes(0)},hour:function(e){return e.seconds(0).minutes(0)},minute:function(e){return e.seconds(0)}};return o.prop("disabled")||!r.ignoreReadonly&&o.prop("readonly")||p?c:(void 0!==o.val()&&0!==o.val().trim().length?Q(ne(o.val().trim())):h&&r.useCurrent&&(r.inline||o.is("input")&&0===o.val().trim().length)&&(t=k(),"string"==typeof r.useCurrent&&(t=n[r.useCurrent](t)),Q(t)),p=H(),I(),B(),p.find(".timepicker-hours").hide(),p.find(".timepicker-minutes").hide(),p.find(".timepicker-seconds").hide(),K(),E(),e(window).on("resize",O),p.on("click","[data-action]",ie),p.on("mousedown",!1),f&&f.hasClass("btn")&&f.toggleClass("active"),O(),p.show(),r.focusOnShow&&!o.is(":focus")&&o.focus(),A({type:"dp.show"}),c)},oe=function(){return p?ee():ae()},se=function(e){var t,n,i,a,o=null,s=[],l={},u=e.which;w[u]="p";for(t in w)w.hasOwnProperty(t)&&"p"===w[t]&&(s.push(t),parseInt(t,10)!==u&&(l[t]=!0));for(t in r.keyBinds)if(r.keyBinds.hasOwnProperty(t)&&"function"==typeof r.keyBinds[t]&&(i=t.split(" "),i.length===s.length&&M[u]===i[i.length-1])){for(a=!0,n=i.length-2;n>=0;n--)if(!(M[i[n]]in l)){a=!1;break}if(a){o=r.keyBinds[t];break}}o&&(o.call(c,p),e.stopPropagation(),e.preventDefault())},le=function(e){w[e.which]="r",e.stopPropagation(),e.preventDefault()},ue=function(t){var n=e(t.target).val().trim(),r=n?ne(n):null;return Q(r),t.stopImmediatePropagation(),!1},de=function(){o.off({change:ue,blur:blur,keydown:se,keyup:le,focus:r.allowInputToggle?ee:""}),n.is("input")?o.off({focus:ae}):f&&(f.off("click",oe),f.off("mousedown",!1))},ce=function(t){var n={};return e.each(t,function(){var e=ne(this);e.isValid()&&(n[e.format("YYYY-MM-DD")]=!0)}),!!Object.keys(n).length&&n},he=function(t){var n={};return e.each(t,function(){n[this]=!0}),!!Object.keys(n).length&&n},fe=function(){var e=r.format||"L LT";l=e.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(e){return(i.localeData().longDateFormat(e)||e).replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(e){return i.localeData().longDateFormat(e)||e})}),u=r.extraFormats?r.extraFormats.slice():[],u.indexOf(e)<0&&u.indexOf(l)<0&&u.push(l),s=l.toLowerCase().indexOf("a")<1&&l.replace(/\[.*?\]/g,"").indexOf("h")<1,L("y")&&(m=2),L("M")&&(m=1),L("d")&&(m=0),d=Math.max(m,d),h||Q(i)};if(c.destroy=function(){ee(),de(),n.removeData("DateTimePicker"),n.removeData("date")},c.toggle=oe,c.show=ae,c.hide=ee,c.disable=function(){return ee(),f&&f.hasClass("btn")&&f.addClass("disabled"),o.prop("disabled",!0),c},c.enable=function(){return f&&f.hasClass("btn")&&f.removeClass("disabled"),o.prop("disabled",!1),c},c.ignoreReadonly=function(e){if(0===arguments.length)return r.ignoreReadonly;if("boolean"!=typeof e)throw new TypeError("ignoreReadonly () expects a boolean parameter");return r.ignoreReadonly=e,c},c.options=function(t){if(0===arguments.length)return e.extend(!0,{},r);if(!(t instanceof Object))throw new TypeError("options() options parameter should be an object");return e.extend(!0,r,t),e.each(r,function(e,t){if(void 0===c[e])throw new TypeError("option "+e+" is not recognized!");c[e](t)}),c},c.date=function(e){if(0===arguments.length)return h?null:i.clone();if(!(null===e||"string"==typeof e||t.isMoment(e)||e instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return Q(null===e?null:ne(e)),c},c.format=function(e){if(0===arguments.length)return r.format;if("string"!=typeof e&&("boolean"!=typeof e||!1!==e))throw new TypeError("format() expects a string or boolean:false parameter "+e);return r.format=e,l&&fe(),c},c.timeZone=function(e){if(0===arguments.length)return r.timeZone;if("string"!=typeof e)throw new TypeError("newZone() expects a string parameter");return r.timeZone=e,c},c.dayViewHeaderFormat=function(e){if(0===arguments.length)return r.dayViewHeaderFormat;if("string"!=typeof e)throw new TypeError("dayViewHeaderFormat() expects a string parameter");return r.dayViewHeaderFormat=e,c},c.extraFormats=function(e){if(0===arguments.length)return r.extraFormats;if(!1!==e&&!(e instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return r.extraFormats=e,u&&fe(),c},c.disabledDates=function(t){if(0===arguments.length)return r.disabledDates?e.extend({},r.disabledDates):r.disabledDates;if(!t)return r.disabledDates=!1,K(),c;if(!(t instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return r.disabledDates=ce(t),r.enabledDates=!1,K(),c},c.enabledDates=function(t){if(0===arguments.length)return r.enabledDates?e.extend({},r.enabledDates):r.enabledDates;if(!t)return r.enabledDates=!1,K(),c;if(!(t instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return r.enabledDates=ce(t),r.disabledDates=!1,K(),c},c.daysOfWeekDisabled=function(e){if(0===arguments.length)return r.daysOfWeekDisabled.splice(0);if("boolean"==typeof e&&!e)return r.daysOfWeekDisabled=!1,K(),c;if(!(e instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(r.daysOfWeekDisabled=e.reduce(function(e,t){return t=parseInt(t,10),t>6||t<0||isNaN(t)?e:(-1===e.indexOf(t)&&e.push(t),e)},[]).sort(),r.useCurrent&&!r.keepInvalid){for(var t=0;!z(i,"d");){if(i.add(1,"d"),31===t)throw"Tried 31 times to find a valid date";t++}Q(i)}return K(),c},c.maxDate=function(e){if(0===arguments.length)return r.maxDate?r.maxDate.clone():r.maxDate;if("boolean"==typeof e&&!1===e)return r.maxDate=!1,K(),c;"string"==typeof e&&("now"!==e&&"moment"!==e||(e=k()));var t=ne(e);if(!t.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+e);if(r.minDate&&t.isBefore(r.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+t.format(l));return r.maxDate=t,r.useCurrent&&!r.keepInvalid&&i.isAfter(e)&&Q(r.maxDate),a.isAfter(t)&&(a=t.clone().subtract(r.stepping,"m")),K(),c},c.minDate=function(e){if(0===arguments.length)return r.minDate?r.minDate.clone():r.minDate;if("boolean"==typeof e&&!1===e)return r.minDate=!1,K(),c;"string"==typeof e&&("now"!==e&&"moment"!==e||(e=k()));var t=ne(e);if(!t.isValid())throw new TypeError("minDate() Could not parse date parameter: "+e);if(r.maxDate&&t.isAfter(r.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+t.format(l));return r.minDate=t,r.useCurrent&&!r.keepInvalid&&i.isBefore(e)&&Q(r.minDate),a.isBefore(t)&&(a=t.clone().add(r.stepping,"m")),K(),c},c.defaultDate=function(e){if(0===arguments.length)return r.defaultDate?r.defaultDate.clone():r.defaultDate;if(!e)return r.defaultDate=!1,c;"string"==typeof e&&(e="now"===e||"moment"===e?k():k(e));var t=ne(e);if(!t.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+e);if(!z(t))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return r.defaultDate=t,(r.defaultDate&&r.inline||""===o.val().trim())&&Q(r.defaultDate),c},c.locale=function(e){if(0===arguments.length)return r.locale;if(!t.localeData(e))throw new TypeError("locale() locale "+e+" is not loaded from moment locales!");return r.locale=e,i.locale(r.locale),a.locale(r.locale),l&&fe(),p&&(ee(),ae()),c},c.stepping=function(e){return 0===arguments.length?r.stepping:(e=parseInt(e,10),(isNaN(e)||e<1)&&(e=1),r.stepping=e,c)},c.useCurrent=function(e){var t=["year","month","day","hour","minute"];if(0===arguments.length)return r.useCurrent;if("boolean"!=typeof e&&"string"!=typeof e)throw new TypeError("useCurrent() expects a boolean or string parameter");if("string"==typeof e&&-1===t.indexOf(e.toLowerCase()))throw new TypeError("useCurrent() expects a string parameter of "+t.join(", "));return r.useCurrent=e,c},c.collapse=function(e){if(0===arguments.length)return r.collapse;if("boolean"!=typeof e)throw new TypeError("collapse() expects a boolean parameter");return r.collapse===e?c:(r.collapse=e,p&&(ee(),ae()),c)},c.icons=function(t){if(0===arguments.length)return e.extend({},r.icons);if(!(t instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return e.extend(r.icons,t),p&&(ee(),ae()),c},c.tooltips=function(t){if(0===arguments.length)return e.extend({},r.tooltips);if(!(t instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");return e.extend(r.tooltips,t),p&&(ee(),ae()),c},c.useStrict=function(e){if(0===arguments.length)return r.useStrict;if("boolean"!=typeof e)throw new TypeError("useStrict() expects a boolean parameter");return r.useStrict=e,c},c.sideBySide=function(e){if(0===arguments.length)return r.sideBySide;if("boolean"!=typeof e)throw new TypeError("sideBySide() expects a boolean parameter");return r.sideBySide=e,p&&(ee(),ae()),c},c.viewMode=function(e){if(0===arguments.length)return r.viewMode;if("string"!=typeof e)throw new TypeError("viewMode() expects a string parameter");if(-1===g.indexOf(e))throw new TypeError("viewMode() parameter must be one of ("+g.join(", ")+") value");return r.viewMode=e,d=Math.max(g.indexOf(e),m),E(),c},c.toolbarPlacement=function(e){if(0===arguments.length)return r.toolbarPlacement;if("string"!=typeof e)throw new TypeError("toolbarPlacement() expects a string parameter");if(-1===b.indexOf(e))throw new TypeError("toolbarPlacement() parameter must be one of ("+b.join(", ")+") value");return r.toolbarPlacement=e,p&&(ee(),ae()),c},c.widgetPositioning=function(t){if(0===arguments.length)return e.extend({},r.widgetPositioning);if("[object Object]"!=={}.toString.call(t))throw new TypeError("widgetPositioning() expects an object variable");if(t.horizontal){if("string"!=typeof t.horizontal)throw new TypeError("widgetPositioning() horizontal variable must be a string");if(t.horizontal=t.horizontal.toLowerCase(),-1===v.indexOf(t.horizontal))throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+v.join(", ")+")")
|
||
;r.widgetPositioning.horizontal=t.horizontal}if(t.vertical){if("string"!=typeof t.vertical)throw new TypeError("widgetPositioning() vertical variable must be a string");if(t.vertical=t.vertical.toLowerCase(),-1===y.indexOf(t.vertical))throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+y.join(", ")+")");r.widgetPositioning.vertical=t.vertical}return K(),c},c.calendarWeeks=function(e){if(0===arguments.length)return r.calendarWeeks;if("boolean"!=typeof e)throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return r.calendarWeeks=e,K(),c},c.showTodayButton=function(e){if(0===arguments.length)return r.showTodayButton;if("boolean"!=typeof e)throw new TypeError("showTodayButton() expects a boolean parameter");return r.showTodayButton=e,p&&(ee(),ae()),c},c.showClear=function(e){if(0===arguments.length)return r.showClear;if("boolean"!=typeof e)throw new TypeError("showClear() expects a boolean parameter");return r.showClear=e,p&&(ee(),ae()),c},c.widgetParent=function(t){if(0===arguments.length)return r.widgetParent;if("string"==typeof t&&(t=e(t)),null!==t&&"string"!=typeof t&&!(t instanceof e))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return r.widgetParent=t,p&&(ee(),ae()),c},c.keepOpen=function(e){if(0===arguments.length)return r.keepOpen;if("boolean"!=typeof e)throw new TypeError("keepOpen() expects a boolean parameter");return r.keepOpen=e,c},c.focusOnShow=function(e){if(0===arguments.length)return r.focusOnShow;if("boolean"!=typeof e)throw new TypeError("focusOnShow() expects a boolean parameter");return r.focusOnShow=e,c},c.inline=function(e){if(0===arguments.length)return r.inline;if("boolean"!=typeof e)throw new TypeError("inline() expects a boolean parameter");return r.inline=e,c},c.clear=function(){return te(),c},c.keyBinds=function(e){return 0===arguments.length?r.keyBinds:(r.keyBinds=e,c)},c.getMoment=function(e){return k(e)},c.debug=function(e){if("boolean"!=typeof e)throw new TypeError("debug() expects a boolean parameter");return r.debug=e,c},c.allowInputToggle=function(e){if(0===arguments.length)return r.allowInputToggle;if("boolean"!=typeof e)throw new TypeError("allowInputToggle() expects a boolean parameter");return r.allowInputToggle=e,c},c.showClose=function(e){if(0===arguments.length)return r.showClose;if("boolean"!=typeof e)throw new TypeError("showClose() expects a boolean parameter");return r.showClose=e,c},c.keepInvalid=function(e){if(0===arguments.length)return r.keepInvalid;if("boolean"!=typeof e)throw new TypeError("keepInvalid() expects a boolean parameter");return r.keepInvalid=e,c},c.datepickerInput=function(e){if(0===arguments.length)return r.datepickerInput;if("string"!=typeof e)throw new TypeError("datepickerInput() expects a string parameter");return r.datepickerInput=e,c},c.parseInputDate=function(e){if(0===arguments.length)return r.parseInputDate;if("function"!=typeof e)throw new TypeError("parseInputDate() sholud be as function");return r.parseInputDate=e,c},c.disabledTimeIntervals=function(t){if(0===arguments.length)return r.disabledTimeIntervals?e.extend({},r.disabledTimeIntervals):r.disabledTimeIntervals;if(!t)return r.disabledTimeIntervals=!1,K(),c;if(!(t instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return r.disabledTimeIntervals=t,K(),c},c.disabledHours=function(t){if(0===arguments.length)return r.disabledHours?e.extend({},r.disabledHours):r.disabledHours;if(!t)return r.disabledHours=!1,K(),c;if(!(t instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(r.disabledHours=he(t),r.enabledHours=!1,r.useCurrent&&!r.keepInvalid){for(var n=0;!z(i,"h");){if(i.add(1,"h"),24===n)throw"Tried 24 times to find a valid date";n++}Q(i)}return K(),c},c.enabledHours=function(t){if(0===arguments.length)return r.enabledHours?e.extend({},r.enabledHours):r.enabledHours;if(!t)return r.enabledHours=!1,K(),c;if(!(t instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(r.enabledHours=he(t),r.disabledHours=!1,r.useCurrent&&!r.keepInvalid){for(var n=0;!z(i,"h");){if(i.add(1,"h"),24===n)throw"Tried 24 times to find a valid date";n++}Q(i)}return K(),c},c.viewDate=function(e){if(0===arguments.length)return a.clone();if(!e)return a=i.clone(),c;if(!("string"==typeof e||t.isMoment(e)||e instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");return a=ne(e),P(),c},n.is("input"))o=n;else if(o=n.find(r.datepickerInput),0===o.length)o=n.find("input");else if(!o.is("input"))throw new Error('CSS class "'+r.datepickerInput+'" cannot be applied to non input element');if(n.hasClass("input-group")&&(f=0===n.find(".datepickerbutton").length?n.find(".input-group-addon"):n.find(".datepickerbutton")),!r.inline&&!o.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return i=k(),a=i.clone(),e.extend(!0,r,function(){var t,i={};return t=n.is("input")||r.inline?n.data():n.find("input").data(),t.dateOptions&&t.dateOptions instanceof Object&&(i=e.extend(!0,i,t.dateOptions)),e.each(r,function(e){var n="date"+e.charAt(0).toUpperCase()+e.slice(1);void 0!==t[n]&&(i[e]=t[n])}),i}()),c.options(r),fe(),function(){o.on({change:ue,blur:r.debug?"":ee,keydown:se,keyup:le,focus:r.allowInputToggle?ae:""}),n.is("input")?o.on({focus:ae}):f&&(f.on("click",oe),f.on("mousedown",!1))}(),o.prop("disabled")&&c.disable(),o.is("input")&&0!==o.val().trim().length?Q(ne(o.val().trim())):r.defaultDate&&void 0===o.attr("placeholder")&&Q(r.defaultDate),r.inline&&ae(),c};return e.fn.datetimepicker=function(t){t=t||{};var r,i=Array.prototype.slice.call(arguments,1),a=!0,o=["destroy","hide","show","toggle"];if("object"==typeof t)return this.each(function(){var r,i=e(this);i.data("DateTimePicker")||(r=e.extend(!0,{},e.fn.datetimepicker.defaults,t),i.data("DateTimePicker",n(i,r)))});if("string"==typeof t)return this.each(function(){var n=e(this),o=n.data("DateTimePicker");if(!o)throw new Error('bootstrap-datetimepicker("'+t+'") method was called on an element that is not using DateTimePicker');r=o[t].apply(o,i),a=r===o}),a||e.inArray(t,o)>-1?this:r;throw new TypeError("Invalid arguments for DateTimePicker: "+t)},e.fn.datetimepicker.defaults={timeZone:"",format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:t.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down",previous:"glyphicon glyphicon-chevron-left",next:"glyphicon glyphicon-chevron-right",today:"glyphicon glyphicon-screenshot",clear:"glyphicon glyphicon-trash",close:"glyphicon glyphicon-remove"},tooltips:{today:"Go to today",clear:"Clear selection",close:"Close the picker",selectMonth:"Select Month",prevMonth:"Previous Month",nextMonth:"Next Month",selectYear:"Select Year",prevYear:"Previous Year",nextYear:"Next Year",selectDecade:"Select Decade",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevCentury:"Previous Century",nextCentury:"Next Century",pickHour:"Pick Hour",incrementHour:"Increment Hour",decrementHour:"Decrement Hour",pickMinute:"Pick Minute",incrementMinute:"Increment Minute",decrementMinute:"Decrement Minute",pickSecond:"Pick Second",incrementSecond:"Increment Second",decrementSecond:"Decrement Second",togglePeriod:"Toggle Period",selectTime:"Select Time"},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",showTodayButton:!1,showClear:!1,showClose:!1,widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,datepickerInput:".datepickerinput",keyBinds:{up:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")?this.date(t.clone().subtract(7,"d")):this.date(t.clone().add(this.stepping(),"m"))}},down:function(e){if(!e)return void this.show();var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")?this.date(t.clone().add(7,"d")):this.date(t.clone().subtract(this.stepping(),"m"))},"control up":function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")?this.date(t.clone().subtract(1,"y")):this.date(t.clone().add(1,"h"))}},"control down":function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")?this.date(t.clone().add(1,"y")):this.date(t.clone().subtract(1,"h"))}},left:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")&&this.date(t.clone().subtract(1,"d"))}},right:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")&&this.date(t.clone().add(1,"d"))}},pageUp:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")&&this.date(t.clone().subtract(1,"M"))}},pageDown:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")&&this.date(t.clone().add(1,"M"))}},enter:function(){this.hide()},escape:function(){this.hide()},"control space":function(e){e&&e.find(".timepicker").is(":visible")&&e.find('.btn[data-action="togglePeriod"]').click()},t:function(){this.date(this.getMoment())},delete:function(){this.clear()}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1},e.fn.datetimepicker}),function(){function e(e,t){return e.set(t[0],t[1]),e}function t(e,t){return e.add(t),e}function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function i(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function a(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function o(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function s(e,t){for(var n=-1,r=null==e?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function l(e,t){return!(null==e||!e.length)&&-1<g(e,t,0)}function u(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function d(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function c(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function h(e,t,n,r){var i=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function f(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function p(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function m(e,t,n){var r;return n(e,function(e,n,i){if(t(e,n,i))return r=n,!1}),r}function _(e,t,n,r){var i=e.length;for(n+=r?1:-1;r?n--:++n<i;)if(t(e[n],n,e))return n;return-1}function g(e,t,n){if(t===t)e:{--n;for(var r=e.length;++n<r;)if(e[n]===t){e=n;break e}e=-1}else e=_(e,v,n);return e}function y(e,t,n,r){--n;for(var i=e.length;++n<i;)if(r(e[n],t))return n;return-1}function v(e){return e!==e}function b(e,t){var n=null==e?0:e.length;return n?L(e,t)/n:B}function M(e){return function(t){return null==t?N:t[e]}}function w(e){return function(t){return null==e?N:e[t]}}function x(e,t,n,r,i){return i(e,function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)}),n}function k(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].c;return e}function L(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==N&&(n=n===N?a:n+a)}return n}function D(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Y(e,t){return d(t,function(t){return[t,e[t]]})}function T(e){return function(t){return e(t)}}function S(e,t){return d(t,function(t){return e[t]})}function C(e,t){return e.has(t)}function j(e,t){for(var n=-1,r=e.length;++n<r&&-1<g(t,e[n],0););return n}function H(e,t){for(var n=e.length;n--&&-1<g(t,e[n],0););return n}function O(e){return"\\"+Ee[e]}function A(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function P(e,t){return function(n){return e(t(n))}}function E(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n];o!==t&&"__lodash_placeholder__"!==o||(e[n]="__lodash_placeholder__",a[i++]=n)}return a}function I(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function F(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function W(e){if(Ce.test(e)){for(var t=Te.lastIndex=0;Te.test(e);)++t;e=t}else e=Ke(e);return e}function R(e){return Ce.test(e)?e.match(Te)||[]:e.split("")}var N,z=1/0,B=NaN,$=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],V=/\b__p\+='';/g,q=/\b(__p\+=)''\+/g,U=/(__e\(.*?\)|\b__t\))\+'';/g,J=/&(?:amp|lt|gt|quot|#39);/g,G=/[&<>"']/g,X=RegExp(J.source),Z=RegExp(G.source),K=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/^\./,ie=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ae=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(ae.source),se=/^\s+|\s+$/g,le=/^\s+/,ue=/\s+$/,de=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,he=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/\\(\\)?/g,me=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_e=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,ye=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,Me=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xe=/($^)/,ke=/['\n\r\u2028\u2029\\]/g,Le="[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?(?:\\u200d(?:[^\\ud800-\\udfff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*",De=RegExp("['’]","g"),Ye=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),Te=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|(?:[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]?|[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\ud800-\\udfff])"+Le,"g"),Se=RegExp(["[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde]|$)|(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde](?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])|$)|[A-Z\\xc0-\\xd6\\xd8-\\xde]?(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)|\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)|\\d+","(?:[\\u2700-\\u27bf]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?(?:\\u200d(?:[^\\ud800-\\udfff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*"].join("|"),"g"),Ce=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),je=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,He="Array Buffer DataView Date Error Float32Array Float64Array Function Int8Array Int16Array Int32Array Map Math Object Promise RegExp Set String Symbol TypeError Uint8Array Uint8ClampedArray Uint16Array Uint32Array WeakMap _ clearTimeout isFinite parseInt setTimeout".split(" "),Oe={};Oe["[object Float32Array]"]=Oe["[object Float64Array]"]=Oe["[object Int8Array]"]=Oe["[object Int16Array]"]=Oe["[object Int32Array]"]=Oe["[object Uint8Array]"]=Oe["[object Uint8ClampedArray]"]=Oe["[object Uint16Array]"]=Oe["[object Uint32Array]"]=!0,Oe["[object Arguments]"]=Oe["[object Array]"]=Oe["[object ArrayBuffer]"]=Oe["[object Boolean]"]=Oe["[object DataView]"]=Oe["[object Date]"]=Oe["[object Error]"]=Oe["[object Function]"]=Oe["[object Map]"]=Oe["[object Number]"]=Oe["[object Object]"]=Oe["[object RegExp]"]=Oe["[object Set]"]=Oe["[object String]"]=Oe["[object WeakMap]"]=!1;var Ae={};Ae["[object Arguments]"]=Ae["[object Array]"]=Ae["[object ArrayBuffer]"]=Ae["[object DataView]"]=Ae["[object Boolean]"]=Ae["[object Date]"]=Ae["[object Float32Array]"]=Ae["[object Float64Array]"]=Ae["[object Int8Array]"]=Ae["[object Int16Array]"]=Ae["[object Int32Array]"]=Ae["[object Map]"]=Ae["[object Number]"]=Ae["[object Object]"]=Ae["[object RegExp]"]=Ae["[object Set]"]=Ae["[object String]"]=Ae["[object Symbol]"]=Ae["[object Uint8Array]"]=Ae["[object Uint8ClampedArray]"]=Ae["[object Uint16Array]"]=Ae["[object Uint32Array]"]=!0,Ae["[object Error]"]=Ae["[object Function]"]=Ae["[object WeakMap]"]=!1;var Pe,Ee={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ie=parseFloat,Fe=parseInt,We="object"==typeof global&&global&&global.Object===Object&&global,Re="object"==typeof self&&self&&self.Object===Object&&self,Ne=We||Re||Function("return this")(),ze="object"==typeof exports&&exports&&!exports.nodeType&&exports,Be=ze&&"object"==typeof module&&module&&!module.nodeType&&module,$e=Be&&Be.exports===ze,Ve=$e&&We.process;e:{try{Pe=Ve&&Ve.binding&&Ve.binding("util");break e}catch(e){}Pe=void 0}var qe=Pe&&Pe.isArrayBuffer,Ue=Pe&&Pe.isDate,Je=Pe&&Pe.isMap,Ge=Pe&&Pe.isRegExp,Xe=Pe&&Pe.isSet,Ze=Pe&&Pe.isTypedArray,Ke=M("length"),Qe=w({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),et=w({"&":"&","<":"<",">":">",'"':""","'":"'"}),tt=w({"&":"&","<":"<",">":">",""":'"',"'":"'"}),nt=function w(Le){function Te(e){if(bi(e)&&!ls(e)&&!(e instanceof We)){if(e instanceof Ee)return e;if(la.call(e,"__wrapped__"))return Br(e)}return new Ee(e)}function Pe(){}function Ee(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=N}function We(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Re(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ze(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Be(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ve(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Be;++t<n;)this.add(e[t])}function Ke(e){this.size=(this.__data__=new ze(e)).size}function rt(e,t){var n,r=ls(e),i=!r&&ss(e),a=!r&&!i&&ds(e),o=!r&&!i&&!a&&ms(e),i=(r=r||i||a||o)?D(e.length,na):[],s=i.length;for(n in e)!t&&!la.call(e,n)||r&&("length"==n||a&&("offset"==n||"parent"==n)||o&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||Cr(n,s))||i.push(n);return i}function it(e){var t=e.length;return t?e[ln(0,t-1)]:N}function at(e,t){return Wr(Fn(e),mt(t,0,e.length))}function ot(e){return Wr(Fn(e))}function st(e,t,n){(n===N||hi(e[t],n))&&(n!==N||t in e)||ft(e,t,n)}function lt(e,t,n){var r=e[t];la.call(e,t)&&hi(r,n)&&(n!==N||t in e)||ft(e,t,n)}function ut(e,t){for(var n=e.length;n--;)if(hi(e[n][0],t))return n;return-1}function dt(e,t,n,r){return oo(e,function(e,i,a){t(r,e,n(e),a)}),r}function ct(e,t){return e&&Wn(t,Ai(t),e)}function ht(e,t){return e&&Wn(t,Pi(t),e)}function ft(e,t,n){"__proto__"==t&&Da?Da(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function pt(e,t){for(var n=-1,r=t.length,i=Gi(r),a=null==e;++n<r;)i[n]=a?N:Hi(e,t[n]);return i}function mt(e,t,n){return e===e&&(n!==N&&(e=e<=n?e:n),t!==N&&(e=e>=t?e:t)),e}function _t(e,t,n,r,a,o){var s,l=1&t,u=2&t,d=4&t;if(n&&(s=a?n(e,r,a,o):n(e)),s!==N)return s;if(!vi(e))return e;if(r=ls(e)){if(s=Dr(e),!l)return Fn(e,s)}else{var c=yo(e),h="[object Function]"==c||"[object GeneratorFunction]"==c;if(ds(e))return Hn(e,l);if("[object Object]"==c||"[object Arguments]"==c||h&&!a){if(s=u||h?{}:Yr(e),!l)return u?Nn(e,ht(s,e)):Rn(e,ct(s,e))}else{if(!Ae[c])return a?e:{};s=Tr(e,c,_t,l)}}if(o||(o=new Ke),a=o.get(e))return a;o.set(e,s);var u=d?u?yr:gr:u?Pi:Ai,f=r?N:u(e);return i(f||e,function(r,i){f&&(i=r,r=e[i]),lt(s,i,_t(r,t,n,i,e,o))}),s}function gt(e){var t=Ai(e);return function(n){return yt(n,e,t)}}function yt(e,t,n){var r=n.length;if(null==e)return!r;for(e=ea(e);r--;){var i=n[r],a=t[i],o=e[i];if(o===N&&!(i in e)||!a(o))return!1}return!0}function vt(e,t,n){if("function"!=typeof e)throw new ra("Expected a function");return Mo(function(){e.apply(N,n)},t)}function bt(e,t,n,r){var i=-1,a=l,o=!0,s=e.length,c=[],h=t.length;if(!s)return c;n&&(t=d(t,T(n))),r?(a=u,o=!1):200<=t.length&&(a=C,o=!1,t=new Ve(t));e:for(;++i<s;){var f=e[i],p=null==n?f:n(f),f=r||0!==f?f:0;if(o&&p===p){for(var m=h;m--;)if(t[m]===p)continue e;c.push(f)}else a(t,p,r)||c.push(f)}return c}function Mt(e,t){var n=!0;return oo(e,function(e,r,i){return n=!!t(e,r,i)}),n}function wt(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],o=t(a);if(null!=o&&(s===N?o===o&&!ki(o):n(o,s)))var s=o,l=a}return l}function xt(e,t){var n=[];return oo(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function kt(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=Sr),i||(i=[]);++a<o;){var s=e[a];0<t&&n(s)?1<t?kt(s,t-1,n,r,i):c(i,s):r||(i[i.length]=s)}return i}function Lt(e,t){return e&&lo(e,t,Ai)}function Dt(e,t){return e&&uo(e,t,Ai)}function Yt(e,t){return s(t,function(t){return _i(e[t])})}function Tt(e,t){t=Cn(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[Rr(t[n++])];return n&&n==r?e:N}function St(e,t,n){return t=t(e),ls(e)?t:c(t,n(e))}function Ct(e){if(null==e)e=e===N?"[object Undefined]":"[object Null]";else if(La&&La in ea(e)){var t=la.call(e,La),n=e[La];try{e[La]=N;var r=!0}catch(e){}var i=ca.call(e);r&&(t?e[La]=n:delete e[La]),e=i}else e=ca.call(e);return e}function jt(e,t){return e>t}function Ht(e,t){return null!=e&&la.call(e,t)}function Ot(e,t){return null!=e&&t in ea(e)}function At(e,t,n){for(var r=n?u:l,i=e[0].length,a=e.length,o=a,s=Gi(a),c=1/0,h=[];o--;){var f=e[o];o&&t&&(f=d(f,T(t))),c=Fa(f.length,c),s[o]=!n&&(t||120<=i&&120<=f.length)?new Ve(o&&f):N}var f=e[0],p=-1,m=s[0];e:for(;++p<i&&h.length<c;){var _=f[p],g=t?t(_):_,_=n||0!==_?_:0;if(m?!C(m,g):!r(h,g,n)){for(o=a;--o;){var y=s[o];if(y?!C(y,g):!r(e[o],g,n))continue e}m&&m.push(g),h.push(_)}}return h}function Pt(e,t,n){var r={};return Lt(e,function(e,i,a){t(r,n(e),i,a)}),r}function Et(e,t,r){return t=Cn(t,e),e=2>t.length?e:Tt(e,mn(t,0,-1)),t=null==e?e:e[Rr(Jr(t))],null==t?N:n(t,e,r)}function It(e){return bi(e)&&"[object Arguments]"==Ct(e)}function Ft(e){return bi(e)&&"[object ArrayBuffer]"==Ct(e)}function Wt(e){return bi(e)&&"[object Date]"==Ct(e)}function Rt(e,t,n,r,i){if(e===t)t=!0;else if(null==e||null==t||!bi(e)&&!bi(t))t=e!==e&&t!==t;else e:{var a=ls(e),o=ls(t),s=a?"[object Array]":yo(e),l=o?"[object Array]":yo(t),s="[object Arguments]"==s?"[object Object]":s,l="[object Arguments]"==l?"[object Object]":l,u="[object Object]"==s,o="[object Object]"==l;if((l=s==l)&&ds(e)){if(!ds(t)){t=!1;break e}a=!0,u=!1}if(l&&!u)i||(i=new Ke),t=a||ms(e)?pr(e,t,n,r,Rt,i):mr(e,t,s,n,r,Rt,i);else{if(!(1&n)&&(a=u&&la.call(e,"__wrapped__"),s=o&&la.call(t,"__wrapped__"),a||s)){e=a?e.value():e,t=s?t.value():t,i||(i=new Ke),t=Rt(e,t,n,r,i);break e}if(l)t:if(i||(i=new Ke),a=1&n,s=gr(e),o=s.length,l=gr(t).length,o==l||a){for(u=o;u--;){var d=s[u];if(!(a?d in t:la.call(t,d))){t=!1;break t}}if((l=i.get(e))&&i.get(t))t=l==t;else{l=!0,i.set(e,t),i.set(t,e);for(var c=a;++u<o;){var d=s[u],h=e[d],f=t[d];if(r)var p=a?r(f,h,d,t,e,i):r(h,f,d,e,t,i);if(p===N?h!==f&&!Rt(h,f,n,r,i):!p){l=!1;break}c||(c="constructor"==d)}l&&!c&&(n=e.constructor,r=t.constructor,n!=r&&"constructor"in e&&"constructor"in t&&!("function"==typeof n&&n instanceof n&&"function"==typeof r&&r instanceof r)&&(l=!1)),i.delete(e),i.delete(t),t=l}}else t=!1;else t=!1}}return t}function Nt(e){return bi(e)&&"[object Map]"==yo(e)}function zt(e,t,n,r){var i=n.length,a=i,o=!r;if(null==e)return!a;for(e=ea(e);i--;){var s=n[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){var s=n[i],l=s[0],u=e[l],d=s[1];if(o&&s[2]){if(u===N&&!(l in e))return!1}else{if(s=new Ke,r)var c=r(u,d,l,e,t,s);if(c===N?!Rt(d,u,3,r,s):!c)return!1}}return!0}function Bt(e){return!(!vi(e)||da&&da in e)&&(_i(e)?pa:ve).test(Nr(e))}function $t(e){return bi(e)&&"[object RegExp]"==Ct(e)}function Vt(e){return bi(e)&&"[object Set]"==yo(e)}function qt(e){return bi(e)&&yi(e.length)&&!!Oe[Ct(e)]}function Ut(e){return"function"==typeof e?e:null==e?zi:"object"==typeof e?ls(e)?Kt(e[0],e[1]):Zt(e):qi(e)}function Jt(e){if(!Ar(e))return Ea(e);var t,n=[];for(t in ea(e))la.call(e,t)&&"constructor"!=t&&n.push(t);return n}function Gt(e,t){return e<t}function Xt(e,t){var n=-1,r=fi(e)?Gi(e.length):[];return oo(e,function(e,i,a){r[++n]=t(e,i,a)}),r}function Zt(e){var t=xr(e);return 1==t.length&&t[0][2]?Pr(t[0][0],t[0][1]):function(n){return n===e||zt(n,e,t)}}function Kt(e,t){return Hr(e)&&t===t&&!vi(t)?Pr(Rr(e),t):function(n){var r=Hi(n,e);return r===N&&r===t?Oi(n,e):Rt(t,r,3)}}function Qt(e,t,n,r,i){e!==t&&lo(t,function(a,o){if(vi(a)){i||(i=new Ke);var s=i,l=e[o],u=t[o],d=s.get(u);if(d)st(e,o,d);else{var d=r?r(l,u,o+"",e,t,s):N,c=d===N;if(c){var h=ls(u),f=!h&&ds(u),p=!h&&!f&&ms(u),d=u;h||f||p?ls(l)?d=l:pi(l)?d=Fn(l):f?(c=!1,d=Hn(u,!0)):p?(c=!1,d=An(u,!0)):d=[]:wi(u)||ss(u)?(d=l,ss(l)?d=Ci(l):(!vi(l)||n&&_i(l))&&(d=Yr(u))):c=!1}c&&(s.set(u,d),Qt(d,u,n,r,s),s.delete(u)),st(e,o,d)}}else s=r?r(e[o],a,o+"",e,t,i):N,s===N&&(s=a),st(e,o,s)},Pi)}function en(e,t){var n=e.length;if(n)return t+=0>t?n:0,Cr(t,n)?e[t]:N}function tn(e,t,n){var r=-1;return t=d(t.length?t:[zi],T(Mr())),e=Xt(e,function(e){return{a:d(t,function(t){return t(e)}),b:++r,c:e}}),k(e,function(e,t){var r;e:{r=-1;for(var i=e.a,a=t.a,o=i.length,s=n.length;++r<o;){var l=Pn(i[r],a[r]);if(l){r=r>=s?l:l*("desc"==n[r]?-1:1);break e}}r=e.b-t.b}return r})}function nn(e,t){return rn(e,t,function(t,n){return Oi(e,n)})}function rn(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=Tt(e,o);n(s,o)&&fn(a,Cn(o,e),s)}return a}function an(e){return function(t){return Tt(t,e)}}function on(e,t,n,r){var i=r?y:g,a=-1,o=t.length,s=e;for(e===t&&(t=Fn(t)),n&&(s=d(e,T(n)));++a<o;)for(var l=0,u=t[a],u=n?n(u):u;-1<(l=i(s,u,l,r));)s!==e&&wa.call(s,l,1),wa.call(e,l,1);return e}function sn(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;Cr(i)?wa.call(e,i,1):xn(e,i)}}}function ln(e,t){return e+ja(Na()*(t-e+1))}function un(e,t){var n="";if(!e||1>t||9007199254740991<t)return n;do{t%2&&(n+=e),(t=ja(t/2))&&(e+=e)}while(t);return n}function dn(e,t){return wo(Er(e,t,zi),e+"")}function cn(e){return it(Ii(e))}function hn(e,t){var n=Ii(e);return Wr(n,mt(t,0,n.length))}function fn(e,t,n,r){if(!vi(e))return e;t=Cn(t,e);for(var i=-1,a=t.length,o=a-1,s=e;null!=s&&++i<a;){var l=Rr(t[i]),u=n;if(i!=o){var d=s[l],u=r?r(d,l,s):N;u===N&&(u=vi(d)?d:Cr(t[i+1])?[]:{})}lt(s,l,u),s=s[l]}return e}function pn(e){return Wr(Ii(e))}function mn(e,t,n){var r=-1,i=e.length;for(0>t&&(t=-t>i?0:i+t),n=n>i?i:n,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0,n=Gi(i);++r<i;)n[r]=e[r+t];return n}function _n(e,t){var n;return oo(e,function(e,r,i){return!(n=t(e,r,i))}),!!n}function gn(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t===t&&2147483647>=i){for(;r<i;){var a=r+i>>>1,o=e[a];null!==o&&!ki(o)&&(n?o<=t:o<t)?r=a+1:i=a}return i}return yn(e,t,zi,n)}function yn(e,t,n,r){t=n(t);for(var i=0,a=null==e?0:e.length,o=t!==t,s=null===t,l=ki(t),u=t===N;i<a;){var d=ja((i+a)/2),c=n(e[d]),h=c!==N,f=null===c,p=c===c,m=ki(c);(o?r||p:u?p&&(r||h):s?p&&h&&(r||!f):l?p&&h&&!f&&(r||!m):f||m?0:r?c<=t:c<t)?i=d+1:a=d}return Fa(a,4294967294)}function vn(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n],s=t?t(o):o;if(!n||!hi(s,l)){var l=s;a[i++]=0===o?0:o}}return a}function bn(e){return"number"==typeof e?e:ki(e)?B:+e}function Mn(e){if("string"==typeof e)return e;if(ls(e))return d(e,Mn)+"";if(ki(e))return io?io.call(e):"";var t=e+"";return"0"==t&&1/e==-z?"-0":t}function wn(e,t,n){var r=-1,i=l,a=e.length,o=!0,s=[],d=s;if(n)o=!1,i=u;else if(200<=a){if(i=t?null:po(e))return I(i);o=!1,i=C,d=new Ve}else d=t?[]:s;e:for(;++r<a;){var c=e[r],h=t?t(c):c,c=n||0!==c?c:0;if(o&&h===h){for(var f=d.length;f--;)if(d[f]===h)continue e;t&&d.push(h),s.push(c)}else i(d,h,n)||(d!==s&&d.push(h),s.push(c))}return s}function xn(e,t){return t=Cn(t,e),null==(e=2>t.length?e:Tt(e,mn(t,0,-1)))||delete e[Rr(Jr(t))]}function kn(e,t,n,r){for(var i=e.length,a=r?i:-1;(r?a--:++a<i)&&t(e[a],a,e););return n?mn(e,r?0:a,r?a+1:i):mn(e,r?a+1:0,r?i:a)}function Ln(e,t){var n=e;return n instanceof We&&(n=n.value()),h(t,function(e,t){return t.func.apply(t.thisArg,c([e],t.args))},n)}function Dn(e,t,n){var r=e.length;if(2>r)return r?wn(e[0]):[];for(var i=-1,a=Gi(r);++i<r;)for(var o=e[i],s=-1;++s<r;)s!=i&&(a[i]=bt(a[i]||o,e[s],t,n));return wn(kt(a,1),t,n)}function Yn(e,t,n){for(var r=-1,i=e.length,a=t.length,o={};++r<i;)n(o,e[r],r<a?t[r]:N);return o}function Tn(e){return pi(e)?e:[]}
|
||
function Sn(e){return"function"==typeof e?e:zi}function Cn(e,t){return ls(e)?e:Hr(e,t)?[e]:xo(ji(e))}function jn(e,t,n){var r=e.length;return n=n===N?r:n,!t&&n>=r?e:mn(e,t,n)}function Hn(e,t){if(t)return e.slice();var n=e.length,n=ya?ya(n):new e.constructor(n);return e.copy(n),n}function On(e){var t=new e.constructor(e.byteLength);return new ga(t).set(new ga(e)),t}function An(e,t){return new e.constructor(t?On(e.buffer):e.buffer,e.byteOffset,e.length)}function Pn(e,t){if(e!==t){var n=e!==N,r=null===e,i=e===e,a=ki(e),o=t!==N,s=null===t,l=t===t,u=ki(t);if(!s&&!u&&!a&&e>t||a&&o&&l&&!s&&!u||r&&o&&l||!n&&l||!i)return 1;if(!r&&!a&&!u&&e<t||u&&n&&i&&!r&&!a||s&&n&&i||!o&&i||!l)return-1}return 0}function En(e,t,n,r){var i=-1,a=e.length,o=n.length,s=-1,l=t.length,u=Ia(a-o,0),d=Gi(l+u);for(r=!r;++s<l;)d[s]=t[s];for(;++i<o;)(r||i<a)&&(d[n[i]]=e[i]);for(;u--;)d[s++]=e[i++];return d}function In(e,t,n,r){var i=-1,a=e.length,o=-1,s=n.length,l=-1,u=t.length,d=Ia(a-s,0),c=Gi(d+u);for(r=!r;++i<d;)c[i]=e[i];for(d=i;++l<u;)c[d+l]=t[l];for(;++o<s;)(r||i<a)&&(c[d+n[o]]=e[i++]);return c}function Fn(e,t){var n=-1,r=e.length;for(t||(t=Gi(r));++n<r;)t[n]=e[n];return t}function Wn(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],l=r?r(n[s],e[s],s,n,e):N;l===N&&(l=e[s]),i?ft(n,s,l):lt(n,s,l)}return n}function Rn(e,t){return Wn(e,_o(e),t)}function Nn(e,t){return Wn(e,go(e),t)}function zn(e,t){return function(n,i){var a=ls(n)?r:dt,o=t?t():{};return a(n,e,Mr(i,2),o)}}function Bn(e){return dn(function(t,n){var r=-1,i=n.length,a=1<i?n[i-1]:N,o=2<i?n[2]:N,a=3<e.length&&"function"==typeof a?(i--,a):N;for(o&&jr(n[0],n[1],o)&&(a=3>i?N:a,i=1),t=ea(t);++r<i;)(o=n[r])&&e(t,o,r,a);return t})}function $n(e,t){return function(n,r){if(null==n)return n;if(!fi(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=ea(n);(t?a--:++a<i)&&!1!==r(o[a],a,o););return n}}function Vn(e){return function(t,n,r){var i=-1,a=ea(t);r=r(t);for(var o=r.length;o--;){var s=r[e?o:++i];if(!1===n(a[s],s,a))break}return t}}function qn(e,t,n){function r(){return(this&&this!==Ne&&this instanceof r?a:e).apply(i?n:this,arguments)}var i=1&t,a=Gn(e);return r}function Un(e){return function(t){t=ji(t);var n=Ce.test(t)?R(t):N,r=n?n[0]:t.charAt(0);return t=n?jn(n,1).join(""):t.slice(1),r[e]()+t}}function Jn(e){return function(t){return h(Ri(Wi(t).replace(De,"")),e,"")}}function Gn(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=ao(e.prototype),t=e.apply(n,t);return vi(t)?t:n}}function Xn(e,t,r){function i(){for(var o=arguments.length,s=Gi(o),l=o,u=br(i);l--;)s[l]=arguments[l];return l=3>o&&s[0]!==u&&s[o-1]!==u?[]:E(s,u),o-=l.length,o<r?sr(e,t,Qn,i.placeholder,N,s,l,N,N,r-o):n(this&&this!==Ne&&this instanceof i?a:e,this,s)}var a=Gn(e);return i}function Zn(e){return function(t,n,r){var i=ea(t);if(!fi(t)){var a=Mr(n,3);t=Ai(t),n=function(e){return a(i[e],e,i)}}return n=e(t,n,r),-1<n?i[a?t[n]:n]:N}}function Kn(e){return _r(function(t){var n=t.length,r=n,i=Ee.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ra("Expected a function");if(i&&!o&&"wrapper"==vr(a))var o=new Ee([],!0)}for(r=o?r:n;++r<n;)var a=t[r],i=vr(a),s="wrapper"==i?mo(a):N,o=s&&Or(s[0])&&424==s[1]&&!s[4].length&&1==s[9]?o[vr(s[0])].apply(o,s[3]):1==a.length&&Or(a)?o[i]():o.thru(a);return function(){var e=arguments,r=e[0];if(o&&1==e.length&&ls(r))return o.plant(r).value();for(var i=0,e=n?t[i].apply(this,e):r;++i<n;)e=t[i].call(this,e);return e}})}function Qn(e,t,n,r,i,a,o,s,l,u){function d(){for(var g=arguments.length,y=Gi(g),v=g;v--;)y[v]=arguments[v];if(p){var b,M=br(d),v=y.length;for(b=0;v--;)y[v]===M&&++b}if(r&&(y=En(y,r,i,p)),a&&(y=In(y,a,o,p)),g-=b,p&&g<u)return M=E(y,M),sr(e,t,Qn,d.placeholder,n,y,M,s,l,u-g);if(M=h?n:this,v=f?M[e]:e,g=y.length,s){b=y.length;for(var w=Fa(s.length,b),x=Fn(y);w--;){var k=s[w];y[w]=Cr(k,b)?x[k]:N}}else m&&1<g&&y.reverse();return c&&l<g&&(y.length=l),this&&this!==Ne&&this instanceof d&&(v=_||Gn(v)),v.apply(M,y)}var c=128&t,h=1&t,f=2&t,p=24&t,m=512&t,_=f?N:Gn(e);return d}function er(e,t){return function(n,r){return Pt(n,e,t(r))}}function tr(e,t){return function(n,r){var i;if(n===N&&r===N)return t;if(n!==N&&(i=n),r!==N){if(i===N)return r;"string"==typeof n||"string"==typeof r?(n=Mn(n),r=Mn(r)):(n=bn(n),r=bn(r)),i=e(n,r)}return i}}function nr(e){return _r(function(t){return t=d(t,T(Mr())),dn(function(r){var i=this;return e(t,function(e){return n(e,i,r)})})})}function rr(e,t){t=t===N?" ":Mn(t);var n=t.length;return 2>n?n?un(t,e):t:(n=un(t,Ca(e/W(t))),Ce.test(t)?jn(R(n),0,e).join(""):n.slice(0,e))}function ir(e,t,r,i){function a(){for(var t=-1,l=arguments.length,u=-1,d=i.length,c=Gi(d+l),h=this&&this!==Ne&&this instanceof a?s:e;++u<d;)c[u]=i[u];for(;l--;)c[u++]=arguments[++t];return n(h,o?r:this,c)}var o=1&t,s=Gn(e);return a}function ar(e){return function(t,n,r){r&&"number"!=typeof r&&jr(t,n,r)&&(n=r=N),t=Di(t),n===N?(n=t,t=0):n=Di(n),r=r===N?t<n?1:-1:Di(r);var i=-1;n=Ia(Ca((n-t)/(r||1)),0);for(var a=Gi(n);n--;)a[e?n:++i]=t,t+=r;return a}}function or(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Si(t),n=Si(n)),e(t,n)}}function sr(e,t,n,r,i,a,o,s,l,u){var d=8&t,c=d?o:N;o=d?N:o;var h=d?a:N;return a=d?N:a,t=(t|(d?32:64))&~(d?64:32),4&t||(t&=-4),i=[e,t,i,h,c,a,o,s,l,u],n=n.apply(N,i),Or(e)&&bo(n,i),n.placeholder=r,Ir(n,e,t)}function lr(e){var t=Qi[e];return function(e,n){if(e=Si(e),n=null==n?0:Fa(Yi(n),292)){var r=(ji(e)+"e").split("e"),r=t(r[0]+"e"+(+r[1]+n)),r=(ji(r)+"e").split("e");return+(r[0]+"e"+(+r[1]-n))}return t(e)}}function ur(e){return function(t){var n=yo(t);return"[object Map]"==n?A(t):"[object Set]"==n?F(t):Y(t,e(t))}}function dr(e,t,n,r,i,a,o,s){var l=2&t;if(!l&&"function"!=typeof e)throw new ra("Expected a function");var u=r?r.length:0;if(u||(t&=-97,r=i=N),o=o===N?o:Ia(Yi(o),0),s=s===N?s:Yi(s),u-=i?i.length:0,64&t){var d=r,c=i;r=i=N}var h=l?N:mo(e);return a=[e,t,n,r,i,d,c,a,o,s],h&&(n=a[1],e=h[1],t=n|e,r=128==e&&8==n||128==e&&256==n&&a[7].length<=h[8]||384==e&&h[7].length<=h[8]&&8==n,131>t||r)&&(1&e&&(a[2]=h[2],t|=1&n?0:4),(n=h[3])&&(r=a[3],a[3]=r?En(r,n,h[4]):n,a[4]=r?E(a[3],"__lodash_placeholder__"):h[4]),(n=h[5])&&(r=a[5],a[5]=r?In(r,n,h[6]):n,a[6]=r?E(a[5],"__lodash_placeholder__"):h[6]),(n=h[7])&&(a[7]=n),128&e&&(a[8]=null==a[8]?h[8]:Fa(a[8],h[8])),null==a[9]&&(a[9]=h[9]),a[0]=h[0],a[1]=t),e=a[0],t=a[1],n=a[2],r=a[3],i=a[4],s=a[9]=a[9]===N?l?0:e.length:Ia(a[9]-u,0),!s&&24&t&&(t&=-25),Ir((h?co:bo)(t&&1!=t?8==t||16==t?Xn(e,t,s):32!=t&&33!=t||i.length?Qn.apply(N,a):ir(e,t,n,r):qn(e,t,n),a),e,t)}function cr(e,t,n,r){return e===N||hi(e,aa[n])&&!la.call(r,n)?t:e}function hr(e,t,n,r,i,a){return vi(e)&&vi(t)&&(a.set(t,e),Qt(e,t,N,hr,a),a.delete(t)),e}function fr(e){return wi(e)?N:e}function pr(e,t,n,r,i,a){var o=1&n,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;if((l=a.get(e))&&a.get(t))return l==t;var l=-1,u=!0,d=2&n?new Ve:N;for(a.set(e,t),a.set(t,e);++l<s;){var c=e[l],h=t[l];if(r)var f=o?r(h,c,l,t,e,a):r(c,h,l,e,t,a);if(f!==N){if(f)continue;u=!1;break}if(d){if(!p(t,function(e,t){if(!C(d,t)&&(c===e||i(c,e,n,r,a)))return d.push(t)})){u=!1;break}}else if(c!==h&&!i(c,h,n,r,a)){u=!1;break}}return a.delete(e),a.delete(t),u}function mr(e,t,n,r,i,a,o){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!a(new ga(e),new ga(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return hi(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=A;case"[object Set]":if(s||(s=I),e.size!=t.size&&!(1&r))break;return(n=o.get(e))?n==t:(r|=2,o.set(e,t),t=pr(s(e),s(t),r,i,a,o),o.delete(e),t);case"[object Symbol]":if(ro)return ro.call(e)==ro.call(t)}return!1}function _r(e){return wo(Er(e,N,qr),e+"")}function gr(e){return St(e,Ai,_o)}function yr(e){return St(e,Pi,go)}function vr(e){for(var t=e.name+"",n=Xa[t],r=la.call(Xa,t)?n.length:0;r--;){var i=n[r],a=i.func;if(null==a||a==e)return i.name}return t}function br(e){return(la.call(Te,"placeholder")?Te:e).placeholder}function Mr(){var e=Te.iteratee||Bi,e=e===Bi?Ut:e;return arguments.length?e(arguments[0],arguments[1]):e}function wr(e,t){var n=e.__data__,r=typeof t;return("string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t)?n["string"==typeof t?"string":"hash"]:n.map}function xr(e){for(var t=Ai(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,i===i&&!vi(i)]}return t}function kr(e,t){var n=null==e?N:e[t];return Bt(n)?n:N}function Lr(e,t,n){t=Cn(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=Rr(t[r]);if(!(a=null!=e&&n(e,o)))break;e=e[o]}return a||++r!=i?a:!!(i=null==e?0:e.length)&&yi(i)&&Cr(o,i)&&(ls(e)||ss(e))}function Dr(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&la.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function Yr(e){return"function"!=typeof e.constructor||Ar(e)?{}:ao(va(e))}function Tr(n,r,i,a){var o=n.constructor;switch(r){case"[object ArrayBuffer]":return On(n);case"[object Boolean]":case"[object Date]":return new o(+n);case"[object DataView]":return r=a?On(n.buffer):n.buffer,new n.constructor(r,n.byteOffset,n.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return An(n,a);case"[object Map]":return r=a?i(A(n),1):A(n),h(r,e,new n.constructor);case"[object Number]":case"[object String]":return new o(n);case"[object RegExp]":return r=new n.constructor(n.source,_e.exec(n)),r.lastIndex=n.lastIndex,r;case"[object Set]":return r=a?i(I(n),1):I(n),h(r,t,new n.constructor);case"[object Symbol]":return ro?ea(ro.call(n)):{}}}function Sr(e){return ls(e)||ss(e)||!!(xa&&e&&e[xa])}function Cr(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||Me.test(e))&&-1<e&&0==e%1&&e<t}function jr(e,t,n){if(!vi(n))return!1;var r=typeof t;return!!("number"==r?fi(n)&&Cr(t,n.length):"string"==r&&t in n)&&hi(n[t],e)}function Hr(e,t){if(ls(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ki(e))||ne.test(e)||!te.test(e)||null!=t&&e in ea(t)}function Or(e){var t=vr(e),n=Te[t];return"function"==typeof n&&t in We.prototype&&(e===n||!!(t=mo(n))&&e===t[0])}function Ar(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||aa)}function Pr(e,t){return function(n){return null!=n&&n[e]===t&&(t!==N||e in ea(n))}}function Er(e,t,r){return t=Ia(t===N?e.length-1:t,0),function(){for(var i=arguments,a=-1,o=Ia(i.length-t,0),s=Gi(o);++a<o;)s[a]=i[t+a];for(a=-1,o=Gi(t+1);++a<t;)o[a]=i[a];return o[t]=r(s),n(e,this,o)}}function Ir(e,t,n){var r=t+"";t=wo;var i,a=zr;return i=(i=r.match(ce))?i[1].split(he):[],n=a(i,n),(a=n.length)&&(i=a-1,n[i]=(1<a?"& ":"")+n[i],n=n.join(2<a?", ":" "),r=r.replace(de,"{\n/* [wrapped with "+n+"] */\n")),t(e,r)}function Fr(e){var t=0,n=0;return function(){var r=Wa(),i=16-(r-n);if(n=r,0<i){if(800<=++t)return arguments[0]}else t=0;return e.apply(N,arguments)}}function Wr(e,t){var n=-1,r=e.length,i=r-1;for(t=t===N?r:t;++n<t;){var r=ln(n,i),a=e[r];e[r]=e[n],e[n]=a}return e.length=t,e}function Rr(e){if("string"==typeof e||ki(e))return e;var t=e+"";return"0"==t&&1/e==-z?"-0":t}function Nr(e){if(null!=e){try{return sa.call(e)}catch(e){}return e+""}return""}function zr(e,t){return i($,function(n){var r="_."+n[0];t&n[1]&&!l(e,r)&&e.push(r)}),e.sort()}function Br(e){if(e instanceof We)return e.clone();var t=new Ee(e.__wrapped__,e.__chain__);return t.__actions__=Fn(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function $r(e,t,n){var r=null==e?0:e.length;return r?(n=null==n?0:Yi(n),0>n&&(n=Ia(r+n,0)),_(e,Mr(t,3),n)):-1}function Vr(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==N&&(i=Yi(n),i=0>n?Ia(r+i,0):Fa(i,r-1)),_(e,Mr(t,3),i,!0)}function qr(e){return(null==e?0:e.length)?kt(e,1):[]}function Ur(e){return e&&e.length?e[0]:N}function Jr(e){var t=null==e?0:e.length;return t?e[t-1]:N}function Gr(e,t){return e&&e.length&&t&&t.length?on(e,t):e}function Xr(e){return null==e?e:za.call(e)}function Zr(e){if(!e||!e.length)return[];var t=0;return e=s(e,function(e){if(pi(e))return t=Ia(e.length,t),!0}),D(t,function(t){return d(e,M(t))})}function Kr(e,t){if(!e||!e.length)return[];var r=Zr(e);return null==t?r:d(r,function(e){return n(t,N,e)})}function Qr(e){return e=Te(e),e.__chain__=!0,e}function ei(e,t){return t(e)}function ti(){return this}function ni(e,t){return(ls(e)?i:oo)(e,Mr(t,3))}function ri(e,t){return(ls(e)?a:so)(e,Mr(t,3))}function ii(e,t){return(ls(e)?d:Xt)(e,Mr(t,3))}function ai(e,t,n){return t=n?N:t,t=e&&null==t?e.length:t,dr(e,128,N,N,N,N,t)}function oi(e,t){var n;if("function"!=typeof t)throw new ra("Expected a function");return e=Yi(e),function(){return 0<--e&&(n=t.apply(this,arguments)),1>=e&&(t=N),n}}function si(e,t,n){return t=n?N:t,e=dr(e,8,N,N,N,N,N,t),e.placeholder=si.placeholder,e}function li(e,t,n){return t=n?N:t,e=dr(e,16,N,N,N,N,N,t),e.placeholder=li.placeholder,e}function ui(e,t,n){function r(t){var n=l,r=u;return l=u=N,p=t,c=e.apply(r,n)}function i(e){var n=e-f;return e-=p,f===N||n>=t||0>n||_&&e>=d}function a(){var e=Xo();if(i(e))return o(e);var n,r=Mo;n=e-p,e=t-(e-f),n=_?Fa(e,d-n):e,h=r(a,n)}function o(e){return h=N,g&&l?r(e):(l=u=N,c)}function s(){var e=Xo(),n=i(e);if(l=arguments,u=this,f=e,n){if(h===N)return p=e=f,h=Mo(a,t),m?r(e):c;if(_)return h=Mo(a,t),r(f)}return h===N&&(h=Mo(a,t)),c}var l,u,d,c,h,f,p=0,m=!1,_=!1,g=!0;if("function"!=typeof e)throw new ra("Expected a function");return t=Si(t)||0,vi(n)&&(m=!!n.leading,d=(_="maxWait"in n)?Ia(Si(n.maxWait)||0,t):d,g="trailing"in n?!!n.trailing:g),s.cancel=function(){h!==N&&fo(h),p=0,l=f=u=h=N},s.flush=function(){return h===N?c:o(Xo())},s}function di(e,t){function n(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;return a.has(i)?a.get(i):(r=e.apply(this,r),n.cache=a.set(i,r)||a,r)}if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ra("Expected a function");return n.cache=new(di.Cache||Be),n}function ci(e){if("function"!=typeof e)throw new ra("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function hi(e,t){return e===t||e!==e&&t!==t}function fi(e){return null!=e&&yi(e.length)&&!_i(e)}function pi(e){return bi(e)&&fi(e)}function mi(e){if(!bi(e))return!1;var t=Ct(e);return"[object Error]"==t||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!wi(e)}function _i(e){return!!vi(e)&&("[object Function]"==(e=Ct(e))||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e)}function gi(e){return"number"==typeof e&&e==Yi(e)}function yi(e){return"number"==typeof e&&-1<e&&0==e%1&&9007199254740991>=e}function vi(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function bi(e){return null!=e&&"object"==typeof e}function Mi(e){return"number"==typeof e||bi(e)&&"[object Number]"==Ct(e)}function wi(e){return!(!bi(e)||"[object Object]"!=Ct(e))&&(null===(e=va(e))||"function"==typeof(e=la.call(e,"constructor")&&e.constructor)&&e instanceof e&&sa.call(e)==ha)}function xi(e){return"string"==typeof e||!ls(e)&&bi(e)&&"[object String]"==Ct(e)}function ki(e){return"symbol"==typeof e||bi(e)&&"[object Symbol]"==Ct(e)}function Li(e){if(!e)return[];if(fi(e))return xi(e)?R(e):Fn(e);if(ka&&e[ka]){e=e[ka]();for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}return t=yo(e),("[object Map]"==t?A:"[object Set]"==t?I:Ii)(e)}function Di(e){return e?(e=Si(e),e===z||e===-z?1.7976931348623157e308*(0>e?-1:1):e===e?e:0):0===e?e:0}function Yi(e){e=Di(e);var t=e%1;return e===e?t?e-t:e:0}function Ti(e){return e?mt(Yi(e),0,4294967295):0}function Si(e){if("number"==typeof e)return e;if(ki(e))return B;if(vi(e)&&(e="function"==typeof e.valueOf?e.valueOf():e,e=vi(e)?e+"":e),"string"!=typeof e)return 0===e?e:+e;e=e.replace(se,"");var t=ye.test(e);return t||be.test(e)?Fe(e.slice(2),t?2:8):ge.test(e)?B:+e}function Ci(e){return Wn(e,Pi(e))}function ji(e){return null==e?"":Mn(e)}function Hi(e,t,n){return e=null==e?N:Tt(e,t),e===N?n:e}function Oi(e,t){return null!=e&&Lr(e,t,Ot)}function Ai(e){return fi(e)?rt(e):Jt(e)}function Pi(e){if(fi(e))e=rt(e,!0);else if(vi(e)){var t,n=Ar(e),r=[];for(t in e)("constructor"!=t||!n&&la.call(e,t))&&r.push(t);e=r}else{if(t=[],null!=e)for(n in ea(e))t.push(n);e=t}return e}function Ei(e,t){if(null==e)return{};var n=d(yr(e),function(e){return[e]});return t=Mr(t),rn(e,n,function(e,n){return t(e,n[0])})}function Ii(e){return null==e?[]:S(e,Ai(e))}function Fi(e){return Ns(ji(e).toLowerCase())}function Wi(e){return(e=ji(e))&&e.replace(we,Qe).replace(Ye,"")}function Ri(e,t,n){return e=ji(e),t=n?N:t,t===N?je.test(e)?e.match(Se)||[]:e.match(fe)||[]:e.match(t)||[]}function Ni(e){return function(){return e}}function zi(e){return e}function Bi(e){return Ut("function"==typeof e?e:_t(e,1))}function $i(e,t,n){var r=Ai(t),a=Yt(t,r);null!=n||vi(t)&&(a.length||!r.length)||(n=t,t=e,e=this,a=Yt(t,Ai(t)));var o=!(vi(n)&&"chain"in n&&!n.chain),s=_i(e);return i(a,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Fn(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,c([this.value()],arguments))})}),e}function Vi(){}function qi(e){return Hr(e)?M(Rr(e)):an(e)}function Ui(){return[]}function Ji(){return!1}Le=null==Le?Ne:nt.defaults(Ne.Object(),Le,nt.pick(Ne,He));var Gi=Le.Array,Xi=Le.Date,Zi=Le.Error,Ki=Le.Function,Qi=Le.Math,ea=Le.Object,ta=Le.RegExp,na=Le.String,ra=Le.TypeError,ia=Gi.prototype,aa=ea.prototype,oa=Le["__core-js_shared__"],sa=Ki.prototype.toString,la=aa.hasOwnProperty,ua=0,da=function(){var e=/[^.]+$/.exec(oa&&oa.keys&&oa.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),ca=aa.toString,ha=sa.call(ea),fa=Ne._,pa=ta("^"+sa.call(la).replace(ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ma=$e?Le.Buffer:N,_a=Le.Symbol,ga=Le.Uint8Array,ya=ma?ma.f:N,va=P(ea.getPrototypeOf,ea),ba=ea.create,Ma=aa.propertyIsEnumerable,wa=ia.splice,xa=_a?_a.isConcatSpreadable:N,ka=_a?_a.iterator:N,La=_a?_a.toStringTag:N,Da=function(){try{var e=kr(ea,"defineProperty");return e({},"",{}),e}catch(e){}}(),Ya=Le.clearTimeout!==Ne.clearTimeout&&Le.clearTimeout,Ta=Xi&&Xi.now!==Ne.Date.now&&Xi.now,Sa=Le.setTimeout!==Ne.setTimeout&&Le.setTimeout,Ca=Qi.ceil,ja=Qi.floor,Ha=ea.getOwnPropertySymbols,Oa=ma?ma.isBuffer:N,Aa=Le.isFinite,Pa=ia.join,Ea=P(ea.keys,ea),Ia=Qi.max,Fa=Qi.min,Wa=Xi.now,Ra=Le.parseInt,Na=Qi.random,za=ia.reverse,Ba=kr(Le,"DataView"),$a=kr(Le,"Map"),Va=kr(Le,"Promise"),qa=kr(Le,"Set"),Ua=kr(Le,"WeakMap"),Ja=kr(ea,"create"),Ga=Ua&&new Ua,Xa={},Za=Nr(Ba),Ka=Nr($a),Qa=Nr(Va),eo=Nr(qa),to=Nr(Ua),no=_a?_a.prototype:N,ro=no?no.valueOf:N,io=no?no.toString:N,ao=function(){function e(){}return function(t){return vi(t)?ba?ba(t):(e.prototype=t,t=new e,e.prototype=N,t):{}}}();Te.templateSettings={escape:K,evaluate:Q,interpolate:ee,variable:"",imports:{_:Te}},Te.prototype=Pe.prototype,Te.prototype.constructor=Te,Ee.prototype=ao(Pe.prototype),Ee.prototype.constructor=Ee,We.prototype=ao(Pe.prototype),We.prototype.constructor=We,Re.prototype.clear=function(){this.__data__=Ja?Ja(null):{},this.size=0},Re.prototype.delete=function(e){return e=this.has(e)&&delete this.__data__[e],this.size-=e?1:0,e},Re.prototype.get=function(e){var t=this.__data__;return Ja?(e=t[e],"__lodash_hash_undefined__"===e?N:e):la.call(t,e)?t[e]:N},Re.prototype.has=function(e){var t=this.__data__;return Ja?t[e]!==N:la.call(t,e)},Re.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Ja&&t===N?"__lodash_hash_undefined__":t,this},ze.prototype.clear=function(){this.__data__=[],this.size=0},ze.prototype.delete=function(e){var t=this.__data__;return!(0>(e=ut(t,e))||(e==t.length-1?t.pop():wa.call(t,e,1),--this.size,0))},ze.prototype.get=function(e){var t=this.__data__;return e=ut(t,e),0>e?N:t[e][1]},ze.prototype.has=function(e){return-1<ut(this.__data__,e)},ze.prototype.set=function(e,t){var n=this.__data__,r=ut(n,e);return 0>r?(++this.size,n.push([e,t])):n[r][1]=t,this},Be.prototype.clear=function(){this.size=0,this.__data__={hash:new Re,map:new($a||ze),string:new Re}},Be.prototype.delete=function(e){return e=wr(this,e).delete(e),this.size-=e?1:0,e},Be.prototype.get=function(e){return wr(this,e).get(e)},Be.prototype.has=function(e){return wr(this,e).has(e)},Be.prototype.set=function(e,t){var n=wr(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Ve.prototype.add=Ve.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Ve.prototype.has=function(e){return this.__data__.has(e)},Ke.prototype.clear=function(){this.__data__=new ze,this.size=0},Ke.prototype.delete=function(e){var t=this.__data__;return e=t.delete(e),this.size=t.size,e},Ke.prototype.get=function(e){return this.__data__.get(e)},Ke.prototype.has=function(e){return this.__data__.has(e)},Ke.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ze){var r=n.__data__;if(!$a||199>r.length)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Be(r)}return n.set(e,t),this.size=n.size,this};var oo=$n(Lt),so=$n(Dt,!0),lo=Vn(),uo=Vn(!0),co=Ga?function(e,t){return Ga.set(e,t),e}:zi,ho=Da?function(e,t){return Da(e,"toString",{configurable:!0,enumerable:!1,value:Ni(t),writable:!0})}:zi,fo=Ya||function(e){return Ne.clearTimeout(e)},po=qa&&1/I(new qa([,-0]))[1]==z?function(e){return new qa(e)}:Vi,mo=Ga?function(e){return Ga.get(e)}:Vi,_o=Ha?function(e){return null==e?[]:(e=ea(e),s(Ha(e),function(t){return Ma.call(e,t)}))}:Ui,go=Ha?function(e){for(var t=[];e;)c(t,_o(e)),e=va(e);return t}:Ui,yo=Ct;(Ba&&"[object DataView]"!=yo(new Ba(new ArrayBuffer(1)))||$a&&"[object Map]"!=yo(new $a)||Va&&"[object Promise]"!=yo(Va.resolve())||qa&&"[object Set]"!=yo(new qa)||Ua&&"[object WeakMap]"!=yo(new Ua))&&(yo=function(e){var t=Ct(e);if(e=(e="[object Object]"==t?e.constructor:N)?Nr(e):"")switch(e){case Za:return"[object DataView]";case Ka:return"[object Map]";case Qa:return"[object Promise]";case eo:return"[object Set]";case to:return"[object WeakMap]"}return t});var vo=oa?_i:Ji,bo=Fr(co),Mo=Sa||function(e,t){return Ne.setTimeout(e,t)},wo=Fr(ho),xo=function(e){e=di(e,function(e){return 500===t.size&&t.clear(),e});var t=e.cache;return e}(function(e){var t=[];return re.test(e)&&t.push(""),e.replace(ie,function(e,n,r,i){t.push(r?i.replace(pe,"$1"):n||e)}),t}),ko=dn(function(e,t){return pi(e)?bt(e,kt(t,1,pi,!0)):[]}),Lo=dn(function(e,t){var n=Jr(t);return pi(n)&&(n=N),pi(e)?bt(e,kt(t,1,pi,!0),Mr(n,2)):[]}),Do=dn(function(e,t){var n=Jr(t);return pi(n)&&(n=N),pi(e)?bt(e,kt(t,1,pi,!0),N,n):[]}),Yo=dn(function(e){var t=d(e,Tn);return t.length&&t[0]===e[0]?At(t):[]}),To=dn(function(e){var t=Jr(e),n=d(e,Tn);return t===Jr(n)?t=N:n.pop(),n.length&&n[0]===e[0]?At(n,Mr(t,2)):[]}),So=dn(function(e){var t=Jr(e),n=d(e,Tn);return(t="function"==typeof t?t:N)&&n.pop(),n.length&&n[0]===e[0]?At(n,N,t):[]}),Co=dn(Gr),jo=_r(function(e,t){var n=null==e?0:e.length,r=pt(e,t);return sn(e,d(t,function(e){return Cr(e,n)?+e:e}).sort(Pn)),r}),Ho=dn(function(e){return wn(kt(e,1,pi,!0))}),Oo=dn(function(e){var t=Jr(e);return pi(t)&&(t=N),wn(kt(e,1,pi,!0),Mr(t,2))}),Ao=dn(function(e){var t=Jr(e),t="function"==typeof t?t:N;return wn(kt(e,1,pi,!0),N,t)}),Po=dn(function(e,t){return pi(e)?bt(e,t):[]}),Eo=dn(function(e){return Dn(s(e,pi))}),Io=dn(function(e){var t=Jr(e);return pi(t)&&(t=N),Dn(s(e,pi),Mr(t,2))}),Fo=dn(function(e){var t=Jr(e),t="function"==typeof t?t:N;return Dn(s(e,pi),N,t)}),Wo=dn(Zr),Ro=dn(function(e){var t=e.length,t=1<t?e[t-1]:N,t="function"==typeof t?(e.pop(),t):N;return Kr(e,t)}),No=_r(function(e){function t(t){return pt(t,e)}var n=e.length,r=n?e[0]:0,i=this.__wrapped__;return!(1<n||this.__actions__.length)&&i instanceof We&&Cr(r)?(i=i.slice(r,+r+(n?1:0)),i.__actions__.push({func:ei,args:[t],thisArg:N}),new Ee(i,this.__chain__).thru(function(e){return n&&!e.length&&e.push(N),e})):this.thru(t)}),zo=zn(function(e,t,n){la.call(e,n)?++e[n]:ft(e,n,1)}),Bo=Zn($r),$o=Zn(Vr),Vo=zn(function(e,t,n){la.call(e,n)?e[n].push(t):ft(e,n,[t])}),qo=dn(function(e,t,r){var i=-1,a="function"==typeof t,o=fi(e)?Gi(e.length):[];return oo(e,function(e){o[++i]=a?n(t,e,r):Et(e,t,r)}),o}),Uo=zn(function(e,t,n){ft(e,n,t)}),Jo=zn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Go=dn(function(e,t){if(null==e)return[];var n=t.length;return 1<n&&jr(e,t[0],t[1])?t=[]:2<n&&jr(t[0],t[1],t[2])&&(t=[t[0]]),tn(e,kt(t,1),[])}),Xo=Ta||function(){return Ne.Date.now()},Zo=dn(function(e,t,n){var r=1;if(n.length)var i=E(n,br(Zo)),r=32|r;return dr(e,r,t,n,i)}),Ko=dn(function(e,t,n){var r=3;if(n.length)var i=E(n,br(Ko)),r=32|r;return dr(t,r,e,n,i)}),Qo=dn(function(e,t){return vt(e,1,t)}),es=dn(function(e,t,n){return vt(e,Si(t)||0,n)});di.Cache=Be;var ts=dn(function(e,t){t=1==t.length&&ls(t[0])?d(t[0],T(Mr())):d(kt(t,1),T(Mr()));var r=t.length;return dn(function(i){for(var a=-1,o=Fa(i.length,r);++a<o;)i[a]=t[a].call(this,i[a]);return n(e,this,i)})}),ns=dn(function(e,t){return dr(e,32,N,t,E(t,br(ns)))}),rs=dn(function(e,t){return dr(e,64,N,t,E(t,br(rs)))}),is=_r(function(e,t){return dr(e,256,N,N,N,t)}),as=or(jt),os=or(function(e,t){return e>=t}),ss=It(function(){return arguments}())?It:function(e){return bi(e)&&la.call(e,"callee")&&!Ma.call(e,"callee")},ls=Gi.isArray,us=qe?T(qe):Ft,ds=Oa||Ji,cs=Ue?T(Ue):Wt,hs=Je?T(Je):Nt,fs=Ge?T(Ge):$t,ps=Xe?T(Xe):Vt,ms=Ze?T(Ze):qt,_s=or(Gt),gs=or(function(e,t){return e<=t}),ys=Bn(function(e,t){if(Ar(t)||fi(t))Wn(t,Ai(t),e);else for(var n in t)la.call(t,n)&<(e,n,t[n])}),vs=Bn(function(e,t){Wn(t,Pi(t),e)}),bs=Bn(function(e,t,n,r){Wn(t,Pi(t),e,r)}),Ms=Bn(function(e,t,n,r){Wn(t,Ai(t),e,r)}),ws=_r(pt),xs=dn(function(e){return e.push(N,cr),n(bs,N,e)}),ks=dn(function(e){return e.push(N,hr),n(Ss,N,e)}),Ls=er(function(e,t,n){e[t]=n},Ni(zi)),Ds=er(function(e,t,n){la.call(e,t)?e[t].push(n):e[t]=[n]},Mr),Ys=dn(Et),Ts=Bn(function(e,t,n){Qt(e,t,n)}),Ss=Bn(function(e,t,n,r){Qt(e,t,n,r)}),Cs=_r(function(e,t){var n={};if(null==e)return n;var r=!1;t=d(t,function(t){return t=Cn(t,e),r||(r=1<t.length),t}),Wn(e,yr(e),n),r&&(n=_t(n,7,fr));for(var i=t.length;i--;)xn(n,t[i]);return n}),js=_r(function(e,t){return null==e?{}:nn(e,t)}),Hs=ur(Ai),Os=ur(Pi),As=Jn(function(e,t,n){return t=t.toLowerCase(),e+(n?Fi(t):t)}),Ps=Jn(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Es=Jn(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Is=Un("toLowerCase"),Fs=Jn(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Ws=Jn(function(e,t,n){return e+(n?" ":"")+Ns(t)}),Rs=Jn(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Ns=Un("toUpperCase"),zs=dn(function(e,t){try{return n(e,N,t)}catch(e){return mi(e)?e:new Zi(e)}}),Bs=_r(function(e,t){return i(t,function(t){t=Rr(t),ft(e,t,Zo(e[t],e))}),e}),$s=Kn(),Vs=Kn(!0),qs=dn(function(e,t){return function(n){return Et(n,e,t)}}),Us=dn(function(e,t){return function(n){return Et(e,n,t)}}),Js=nr(d),Gs=nr(o),Xs=nr(p),Zs=ar(),Ks=ar(!0),Qs=tr(function(e,t){return e+t},0),el=lr("ceil"),tl=tr(function(e,t){return e/t},1),nl=lr("floor"),rl=tr(function(e,t){return e*t},1),il=lr("round"),al=tr(function(e,t){return e-t},0);return Te.after=function(e,t){if("function"!=typeof t)throw new ra("Expected a function");return e=Yi(e),function(){if(1>--e)return t.apply(this,arguments)}},Te.ary=ai,Te.assign=ys,Te.assignIn=vs,Te.assignInWith=bs,Te.assignWith=Ms,Te.at=ws,Te.before=oi,Te.bind=Zo,Te.bindAll=Bs,Te.bindKey=Ko,Te.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return ls(e)?e:[e]},Te.chain=Qr,Te.chunk=function(e,t,n){if(t=(n?jr(e,t,n):t===N)?1:Ia(Yi(t),0),!(n=null==e?0:e.length)||1>t)return[];for(var r=0,i=0,a=Gi(Ca(n/t));r<n;)a[i++]=mn(e,r,r+=t);return a},Te.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var a=e[t];a&&(i[r++]=a)}return i},Te.concat=function(){var e=arguments.length;if(!e)return[];for(var t=Gi(e-1),n=arguments[0];e--;)t[e-1]=arguments[e];return c(ls(n)?Fn(n):[n],kt(t,1))},Te.cond=function(e){var t=null==e?0:e.length,r=Mr();return e=t?d(e,function(e){if("function"!=typeof e[1])throw new ra("Expected a function");return[r(e[0]),e[1]]}):[],dn(function(r){for(var i=-1;++i<t;){var a=e[i];if(n(a[0],this,r))return n(a[1],this,r)}})},Te.conforms=function(e){return gt(_t(e,1))},Te.constant=Ni,Te.countBy=zo,Te.create=function(e,t){var n=ao(e);return null==t?n:ct(n,t)},Te.curry=si,Te.curryRight=li,Te.debounce=ui,Te.defaults=xs,Te.defaultsDeep=ks,Te.defer=Qo,Te.delay=es,Te.difference=ko,Te.differenceBy=Lo,Te.differenceWith=Do,Te.drop=function(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===N?1:Yi(t),mn(e,0>t?0:t,r)):[]},Te.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===N?1:Yi(t),t=r-t,mn(e,0,0>t?0:t)):[]},Te.dropRightWhile=function(e,t){return e&&e.length?kn(e,Mr(t,3),!0,!0):[]},Te.dropWhile=function(e,t){return e&&e.length?kn(e,Mr(t,3),!0):[]},Te.fill=function(e,t,n,r){var i=null==e?0:e.length;if(!i)return[];for(n&&"number"!=typeof n&&jr(e,t,n)&&(n=0,r=i),i=e.length,n=Yi(n),0>n&&(n=-n>i?0:i+n),r=r===N||r>i?i:Yi(r),0>r&&(r+=i),r=n>r?0:Ti(r);n<r;)e[n++]=t;return e},Te.filter=function(e,t){return(ls(e)?s:xt)(e,Mr(t,3))},Te.flatMap=function(e,t){return kt(ii(e,t),1)},Te.flatMapDeep=function(e,t){return kt(ii(e,t),z)},Te.flatMapDepth=function(e,t,n){return n=n===N?1:Yi(n),kt(ii(e,t),n)},Te.flatten=qr,Te.flattenDeep=function(e){return(null==e?0:e.length)?kt(e,z):[]},Te.flattenDepth=function(e,t){return null!=e&&e.length?(t=t===N?1:Yi(t),kt(e,t)):[]},Te.flip=function(e){return dr(e,512)},Te.flow=$s,Te.flowRight=Vs,Te.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},Te.functions=function(e){return null==e?[]:Yt(e,Ai(e))},Te.functionsIn=function(e){return null==e?[]:Yt(e,Pi(e))},Te.groupBy=Vo,Te.initial=function(e){return(null==e?0:e.length)?mn(e,0,-1):[]},Te.intersection=Yo,Te.intersectionBy=To,Te.intersectionWith=So,Te.invert=Ls,Te.invertBy=Ds,Te.invokeMap=qo,Te.iteratee=Bi,Te.keyBy=Uo,Te.keys=Ai,Te.keysIn=Pi,Te.map=ii,Te.mapKeys=function(e,t){var n={};return t=Mr(t,3),Lt(e,function(e,r,i){ft(n,t(e,r,i),e)}),n},Te.mapValues=function(e,t){var n={};return t=Mr(t,3),Lt(e,function(e,r,i){ft(n,r,t(e,r,i))}),n},Te.matches=function(e){return Zt(_t(e,1))},Te.matchesProperty=function(e,t){return Kt(e,_t(t,1))},Te.memoize=di,Te.merge=Ts,Te.mergeWith=Ss,Te.method=qs,Te.methodOf=Us,Te.mixin=$i,Te.negate=ci,Te.nthArg=function(e){return e=Yi(e),dn(function(t){return en(t,e)})},Te.omit=Cs,Te.omitBy=function(e,t){return Ei(e,ci(Mr(t)))},Te.once=function(e){return oi(2,e)},Te.orderBy=function(e,t,n,r){return null==e?[]:(ls(t)||(t=null==t?[]:[t]),n=r?N:n,ls(n)||(n=null==n?[]:[n]),tn(e,t,n))},Te.over=Js,Te.overArgs=ts,Te.overEvery=Gs,Te.overSome=Xs,Te.partial=ns,Te.partialRight=rs,Te.partition=Jo,Te.pick=js,Te.pickBy=Ei,Te.property=qi,Te.propertyOf=function(e){return function(t){return null==e?N:Tt(e,t)}},Te.pull=Co,Te.pullAll=Gr,Te.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?on(e,t,Mr(n,2)):e},Te.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?on(e,t,N,n):e},Te.pullAt=jo,Te.range=Zs,Te.rangeRight=Ks,Te.rearg=is,Te.reject=function(e,t){return(ls(e)?s:xt)(e,ci(Mr(t,3)))},Te.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],a=e.length;for(t=Mr(t,3);++r<a;){var o=e[r]
|
||
;t(o,r,e)&&(n.push(o),i.push(r))}return sn(e,i),n},Te.rest=function(e,t){if("function"!=typeof e)throw new ra("Expected a function");return t=t===N?t:Yi(t),dn(e,t)},Te.reverse=Xr,Te.sampleSize=function(e,t,n){return t=(n?jr(e,t,n):t===N)?1:Yi(t),(ls(e)?at:hn)(e,t)},Te.set=function(e,t,n){return null==e?e:fn(e,t,n)},Te.setWith=function(e,t,n,r){return r="function"==typeof r?r:N,null==e?e:fn(e,t,n,r)},Te.shuffle=function(e){return(ls(e)?ot:pn)(e)},Te.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&jr(e,t,n)?(t=0,n=r):(t=null==t?0:Yi(t),n=n===N?r:Yi(n)),mn(e,t,n)):[]},Te.sortBy=Go,Te.sortedUniq=function(e){return e&&e.length?vn(e):[]},Te.sortedUniqBy=function(e,t){return e&&e.length?vn(e,Mr(t,2)):[]},Te.split=function(e,t,n){return n&&"number"!=typeof n&&jr(e,t,n)&&(t=n=N),n=n===N?4294967295:n>>>0,n?(e=ji(e))&&("string"==typeof t||null!=t&&!fs(t))&&!(t=Mn(t))&&Ce.test(e)?jn(R(e),0,n):e.split(t,n):[]},Te.spread=function(e,t){if("function"!=typeof e)throw new ra("Expected a function");return t=null==t?0:Ia(Yi(t),0),dn(function(r){var i=r[t];return r=jn(r,0,t),i&&c(r,i),n(e,this,r)})},Te.tail=function(e){var t=null==e?0:e.length;return t?mn(e,1,t):[]},Te.take=function(e,t,n){return e&&e.length?(t=n||t===N?1:Yi(t),mn(e,0,0>t?0:t)):[]},Te.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===N?1:Yi(t),t=r-t,mn(e,0>t?0:t,r)):[]},Te.takeRightWhile=function(e,t){return e&&e.length?kn(e,Mr(t,3),!1,!0):[]},Te.takeWhile=function(e,t){return e&&e.length?kn(e,Mr(t,3)):[]},Te.tap=function(e,t){return t(e),e},Te.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new ra("Expected a function");return vi(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ui(e,t,{leading:r,maxWait:t,trailing:i})},Te.thru=ei,Te.toArray=Li,Te.toPairs=Hs,Te.toPairsIn=Os,Te.toPath=function(e){return ls(e)?d(e,Rr):ki(e)?[e]:Fn(xo(ji(e)))},Te.toPlainObject=Ci,Te.transform=function(e,t,n){var r=ls(e),a=r||ds(e)||ms(e);if(t=Mr(t,4),null==n){var o=e&&e.constructor;n=a?r?new o:[]:vi(e)&&_i(o)?ao(va(e)):{}}return(a?i:Lt)(e,function(e,r,i){return t(n,e,r,i)}),n},Te.unary=function(e){return ai(e,1)},Te.union=Ho,Te.unionBy=Oo,Te.unionWith=Ao,Te.uniq=function(e){return e&&e.length?wn(e):[]},Te.uniqBy=function(e,t){return e&&e.length?wn(e,Mr(t,2)):[]},Te.uniqWith=function(e,t){return t="function"==typeof t?t:N,e&&e.length?wn(e,N,t):[]},Te.unset=function(e,t){return null==e||xn(e,t)},Te.unzip=Zr,Te.unzipWith=Kr,Te.update=function(e,t,n){return null==e?e:fn(e,t,Sn(n)(Tt(e,t)),void 0)},Te.updateWith=function(e,t,n,r){return r="function"==typeof r?r:N,null!=e&&(e=fn(e,t,Sn(n)(Tt(e,t)),r)),e},Te.values=Ii,Te.valuesIn=function(e){return null==e?[]:S(e,Pi(e))},Te.without=Po,Te.words=Ri,Te.wrap=function(e,t){return ns(Sn(t),e)},Te.xor=Eo,Te.xorBy=Io,Te.xorWith=Fo,Te.zip=Wo,Te.zipObject=function(e,t){return Yn(e||[],t||[],lt)},Te.zipObjectDeep=function(e,t){return Yn(e||[],t||[],fn)},Te.zipWith=Ro,Te.entries=Hs,Te.entriesIn=Os,Te.extend=vs,Te.extendWith=bs,$i(Te,Te),Te.add=Qs,Te.attempt=zs,Te.camelCase=As,Te.capitalize=Fi,Te.ceil=el,Te.clamp=function(e,t,n){return n===N&&(n=t,t=N),n!==N&&(n=Si(n),n=n===n?n:0),t!==N&&(t=Si(t),t=t===t?t:0),mt(Si(e),t,n)},Te.clone=function(e){return _t(e,4)},Te.cloneDeep=function(e){return _t(e,5)},Te.cloneDeepWith=function(e,t){return t="function"==typeof t?t:N,_t(e,5,t)},Te.cloneWith=function(e,t){return t="function"==typeof t?t:N,_t(e,4,t)},Te.conformsTo=function(e,t){return null==t||yt(e,t,Ai(t))},Te.deburr=Wi,Te.defaultTo=function(e,t){return null==e||e!==e?t:e},Te.divide=tl,Te.endsWith=function(e,t,n){e=ji(e),t=Mn(t);var r=e.length,r=n=n===N?r:mt(Yi(n),0,r);return 0<=(n-=t.length)&&e.slice(n,r)==t},Te.eq=hi,Te.escape=function(e){return(e=ji(e))&&Z.test(e)?e.replace(G,et):e},Te.escapeRegExp=function(e){return(e=ji(e))&&oe.test(e)?e.replace(ae,"\\$&"):e},Te.every=function(e,t,n){var r=ls(e)?o:Mt;return n&&jr(e,t,n)&&(t=N),r(e,Mr(t,3))},Te.find=Bo,Te.findIndex=$r,Te.findKey=function(e,t){return m(e,Mr(t,3),Lt)},Te.findLast=$o,Te.findLastIndex=Vr,Te.findLastKey=function(e,t){return m(e,Mr(t,3),Dt)},Te.floor=nl,Te.forEach=ni,Te.forEachRight=ri,Te.forIn=function(e,t){return null==e?e:lo(e,Mr(t,3),Pi)},Te.forInRight=function(e,t){return null==e?e:uo(e,Mr(t,3),Pi)},Te.forOwn=function(e,t){return e&&Lt(e,Mr(t,3))},Te.forOwnRight=function(e,t){return e&&Dt(e,Mr(t,3))},Te.get=Hi,Te.gt=as,Te.gte=os,Te.has=function(e,t){return null!=e&&Lr(e,t,Ht)},Te.hasIn=Oi,Te.head=Ur,Te.identity=zi,Te.includes=function(e,t,n,r){return e=fi(e)?e:Ii(e),n=n&&!r?Yi(n):0,r=e.length,0>n&&(n=Ia(r+n,0)),xi(e)?n<=r&&-1<e.indexOf(t,n):!!r&&-1<g(e,t,n)},Te.indexOf=function(e,t,n){var r=null==e?0:e.length;return r?(n=null==n?0:Yi(n),0>n&&(n=Ia(r+n,0)),g(e,t,n)):-1},Te.inRange=function(e,t,n){return t=Di(t),n===N?(n=t,t=0):n=Di(n),(e=Si(e))>=Fa(t,n)&&e<Ia(t,n)},Te.invoke=Ys,Te.isArguments=ss,Te.isArray=ls,Te.isArrayBuffer=us,Te.isArrayLike=fi,Te.isArrayLikeObject=pi,Te.isBoolean=function(e){return!0===e||!1===e||bi(e)&&"[object Boolean]"==Ct(e)},Te.isBuffer=ds,Te.isDate=cs,Te.isElement=function(e){return bi(e)&&1===e.nodeType&&!wi(e)},Te.isEmpty=function(e){if(null==e)return!0;if(fi(e)&&(ls(e)||"string"==typeof e||"function"==typeof e.splice||ds(e)||ms(e)||ss(e)))return!e.length;var t=yo(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(Ar(e))return!Jt(e).length;for(var n in e)if(la.call(e,n))return!1;return!0},Te.isEqual=function(e,t){return Rt(e,t)},Te.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:N)?n(e,t):N;return r===N?Rt(e,t,N,n):!!r},Te.isError=mi,Te.isFinite=function(e){return"number"==typeof e&&Aa(e)},Te.isFunction=_i,Te.isInteger=gi,Te.isLength=yi,Te.isMap=hs,Te.isMatch=function(e,t){return e===t||zt(e,t,xr(t))},Te.isMatchWith=function(e,t,n){return n="function"==typeof n?n:N,zt(e,t,xr(t),n)},Te.isNaN=function(e){return Mi(e)&&e!=+e},Te.isNative=function(e){if(vo(e))throw new Zi("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Bt(e)},Te.isNil=function(e){return null==e},Te.isNull=function(e){return null===e},Te.isNumber=Mi,Te.isObject=vi,Te.isObjectLike=bi,Te.isPlainObject=wi,Te.isRegExp=fs,Te.isSafeInteger=function(e){return gi(e)&&-9007199254740991<=e&&9007199254740991>=e},Te.isSet=ps,Te.isString=xi,Te.isSymbol=ki,Te.isTypedArray=ms,Te.isUndefined=function(e){return e===N},Te.isWeakMap=function(e){return bi(e)&&"[object WeakMap]"==yo(e)},Te.isWeakSet=function(e){return bi(e)&&"[object WeakSet]"==Ct(e)},Te.join=function(e,t){return null==e?"":Pa.call(e,t)},Te.kebabCase=Ps,Te.last=Jr,Te.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;if(n!==N&&(i=Yi(n),i=0>i?Ia(r+i,0):Fa(i,r-1)),t===t){for(n=i+1;n--&&e[n]!==t;);e=n}else e=_(e,v,i,!0);return e},Te.lowerCase=Es,Te.lowerFirst=Is,Te.lt=_s,Te.lte=gs,Te.max=function(e){return e&&e.length?wt(e,zi,jt):N},Te.maxBy=function(e,t){return e&&e.length?wt(e,Mr(t,2),jt):N},Te.mean=function(e){return b(e,zi)},Te.meanBy=function(e,t){return b(e,Mr(t,2))},Te.min=function(e){return e&&e.length?wt(e,zi,Gt):N},Te.minBy=function(e,t){return e&&e.length?wt(e,Mr(t,2),Gt):N},Te.stubArray=Ui,Te.stubFalse=Ji,Te.stubObject=function(){return{}},Te.stubString=function(){return""},Te.stubTrue=function(){return!0},Te.multiply=rl,Te.nth=function(e,t){return e&&e.length?en(e,Yi(t)):N},Te.noConflict=function(){return Ne._===this&&(Ne._=fa),this},Te.noop=Vi,Te.now=Xo,Te.pad=function(e,t,n){e=ji(e);var r=(t=Yi(t))?W(e):0;return!t||r>=t?e:(t=(t-r)/2,rr(ja(t),n)+e+rr(Ca(t),n))},Te.padEnd=function(e,t,n){e=ji(e);var r=(t=Yi(t))?W(e):0;return t&&r<t?e+rr(t-r,n):e},Te.padStart=function(e,t,n){e=ji(e);var r=(t=Yi(t))?W(e):0;return t&&r<t?rr(t-r,n)+e:e},Te.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Ra(ji(e).replace(le,""),t||0)},Te.random=function(e,t,n){if(n&&"boolean"!=typeof n&&jr(e,t,n)&&(t=n=N),n===N&&("boolean"==typeof t?(n=t,t=N):"boolean"==typeof e&&(n=e,e=N)),e===N&&t===N?(e=0,t=1):(e=Di(e),t===N?(t=e,e=0):t=Di(t)),e>t){var r=e;e=t,t=r}return n||e%1||t%1?(n=Na(),Fa(e+n*(t-e+Ie("1e-"+((n+"").length-1))),t)):ln(e,t)},Te.reduce=function(e,t,n){var r=ls(e)?h:x,i=3>arguments.length;return r(e,Mr(t,4),n,i,oo)},Te.reduceRight=function(e,t,n){var r=ls(e)?f:x,i=3>arguments.length;return r(e,Mr(t,4),n,i,so)},Te.repeat=function(e,t,n){return t=(n?jr(e,t,n):t===N)?1:Yi(t),un(ji(e),t)},Te.replace=function(){var e=arguments,t=ji(e[0]);return 3>e.length?t:t.replace(e[1],e[2])},Te.result=function(e,t,n){t=Cn(t,e);var r=-1,i=t.length;for(i||(i=1,e=N);++r<i;){var a=null==e?N:e[Rr(t[r])];a===N&&(r=i,a=n),e=_i(a)?a.call(e):a}return e},Te.round=il,Te.runInContext=w,Te.sample=function(e){return(ls(e)?it:cn)(e)},Te.size=function(e){if(null==e)return 0;if(fi(e))return xi(e)?W(e):e.length;var t=yo(e);return"[object Map]"==t||"[object Set]"==t?e.size:Jt(e).length},Te.snakeCase=Fs,Te.some=function(e,t,n){var r=ls(e)?p:_n;return n&&jr(e,t,n)&&(t=N),r(e,Mr(t,3))},Te.sortedIndex=function(e,t){return gn(e,t)},Te.sortedIndexBy=function(e,t,n){return yn(e,t,Mr(n,2))},Te.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=gn(e,t);if(r<n&&hi(e[r],t))return r}return-1},Te.sortedLastIndex=function(e,t){return gn(e,t,!0)},Te.sortedLastIndexBy=function(e,t,n){return yn(e,t,Mr(n,2),!0)},Te.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=gn(e,t,!0)-1;if(hi(e[n],t))return n}return-1},Te.startCase=Ws,Te.startsWith=function(e,t,n){return e=ji(e),n=null==n?0:mt(Yi(n),0,e.length),t=Mn(t),e.slice(n,n+t.length)==t},Te.subtract=al,Te.sum=function(e){return e&&e.length?L(e,zi):0},Te.sumBy=function(e,t){return e&&e.length?L(e,Mr(t,2)):0},Te.template=function(e,t,n){var r=Te.templateSettings;n&&jr(e,t,n)&&(t=N),e=ji(e),t=bs({},t,r,cr),n=bs({},t.imports,r.imports,cr);var i,a,o=Ai(n),s=S(n,o),l=0;n=t.interpolate||xe;var u="__p+='";n=ta((t.escape||xe).source+"|"+n.source+"|"+(n===ee?me:xe).source+"|"+(t.evaluate||xe).source+"|$","g");var d="sourceURL"in t?"//# sourceURL="+t.sourceURL+"\n":"";if(e.replace(n,function(t,n,r,o,s,d){return r||(r=o),u+=e.slice(l,d).replace(ke,O),n&&(i=!0,u+="'+__e("+n+")+'"),s&&(a=!0,u+="';"+s+";\n__p+='"),r&&(u+="'+((__t=("+r+"))==null?'':__t)+'"),l=d+t.length,t}),u+="';",(t=t.variable)||(u="with(obj){"+u+"}"),u=(a?u.replace(V,""):u).replace(q,"$1").replace(U,"$1;"),u="function("+(t||"obj")+"){"+(t?"":"obj||(obj={});")+"var __t,__p=''"+(i?",__e=_.escape":"")+(a?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":";")+u+"return __p}",t=zs(function(){return Ki(o,d+"return "+u).apply(N,s)}),t.source=u,mi(t))throw t;return t},Te.times=function(e,t){if(1>(e=Yi(e))||9007199254740991<e)return[];var n=4294967295,r=Fa(e,4294967295);for(t=Mr(t),e-=4294967295,r=D(r,t);++n<e;)t(n);return r},Te.toFinite=Di,Te.toInteger=Yi,Te.toLength=Ti,Te.toLower=function(e){return ji(e).toLowerCase()},Te.toNumber=Si,Te.toSafeInteger=function(e){return e?mt(Yi(e),-9007199254740991,9007199254740991):0===e?e:0},Te.toString=ji,Te.toUpper=function(e){return ji(e).toUpperCase()},Te.trim=function(e,t,n){return(e=ji(e))&&(n||t===N)?e.replace(se,""):e&&(t=Mn(t))?(e=R(e),n=R(t),t=j(e,n),n=H(e,n)+1,jn(e,t,n).join("")):e},Te.trimEnd=function(e,t,n){return(e=ji(e))&&(n||t===N)?e.replace(ue,""):e&&(t=Mn(t))?(e=R(e),t=H(e,R(t))+1,jn(e,0,t).join("")):e},Te.trimStart=function(e,t,n){return(e=ji(e))&&(n||t===N)?e.replace(le,""):e&&(t=Mn(t))?(e=R(e),t=j(e,R(t)),jn(e,t).join("")):e},Te.truncate=function(e,t){var n=30,r="...";if(vi(t))var i="separator"in t?t.separator:i,n="length"in t?Yi(t.length):n,r="omission"in t?Mn(t.omission):r;e=ji(e);var a=e.length;if(Ce.test(e))var o=R(e),a=o.length;if(n>=a)return e;if(1>(a=n-W(r)))return r;if(n=o?jn(o,0,a).join(""):e.slice(0,a),i===N)return n+r;if(o&&(a+=n.length-a),fs(i)){if(e.slice(a).search(i)){var s=n;for(i.global||(i=ta(i.source,ji(_e.exec(i))+"g")),i.lastIndex=0;o=i.exec(s);)var l=o.index;n=n.slice(0,l===N?a:l)}}else e.indexOf(Mn(i),a)!=a&&-1<(i=n.lastIndexOf(i))&&(n=n.slice(0,i));return n+r},Te.unescape=function(e){return(e=ji(e))&&X.test(e)?e.replace(J,tt):e},Te.uniqueId=function(e){var t=++ua;return ji(e)+t},Te.upperCase=Rs,Te.upperFirst=Ns,Te.each=ni,Te.eachRight=ri,Te.first=Ur,$i(Te,function(){var e={};return Lt(Te,function(t,n){la.call(Te.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),Te.VERSION="4.17.4",i("bind bindKey curry curryRight partial partialRight".split(" "),function(e){Te[e].placeholder=Te}),i(["drop","take"],function(e,t){We.prototype[e]=function(n){n=n===N?1:Ia(Yi(n),0);var r=this.__filtered__&&!t?new We(this):this.clone();return r.__filtered__?r.__takeCount__=Fa(n,r.__takeCount__):r.__views__.push({size:Fa(n,4294967295),type:e+(0>r.__dir__?"Right":"")}),r},We.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),i(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;We.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Mr(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),i(["head","last"],function(e,t){var n="take"+(t?"Right":"");We.prototype[e]=function(){return this[n](1).value()[0]}}),i(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");We.prototype[e]=function(){return this.__filtered__?new We(this):this[n](1)}}),We.prototype.compact=function(){return this.filter(zi)},We.prototype.find=function(e){return this.filter(e).head()},We.prototype.findLast=function(e){return this.reverse().find(e)},We.prototype.invokeMap=dn(function(e,t){return"function"==typeof e?new We(this):this.map(function(n){return Et(n,e,t)})}),We.prototype.reject=function(e){return this.filter(ci(Mr(e)))},We.prototype.slice=function(e,t){e=Yi(e);var n=this;return n.__filtered__&&(0<e||0>t)?new We(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==N&&(t=Yi(t),n=0>t?n.dropRight(-t):n.take(t-e)),n)},We.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},We.prototype.toArray=function(){return this.take(4294967295)},Lt(We.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Te[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Te.prototype[t]=function(){function t(e){return e=i.apply(Te,c([e],s)),r&&h?e[0]:e}var o=this.__wrapped__,s=r?[1]:arguments,l=o instanceof We,u=s[0],d=l||ls(o);d&&n&&"function"==typeof u&&1!=u.length&&(l=d=!1);var h=this.__chain__,f=!!this.__actions__.length,u=a&&!h,l=l&&!f;return!a&&d?(o=l?o:new We(this),o=e.apply(o,s),o.__actions__.push({func:ei,args:[t],thisArg:N}),new Ee(o,h)):u&&l?e.apply(this,s):(o=this.thru(t),u?r?o.value()[0]:o.value():o)})}),i("pop push shift sort splice unshift".split(" "),function(e){var t=ia[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Te.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(ls(i)?i:[],e)}return this[n](function(n){return t.apply(ls(n)?n:[],e)})}}),Lt(We.prototype,function(e,t){var n=Te[t];if(n){var r=n.name+"";(Xa[r]||(Xa[r]=[])).push({name:t,func:n})}}),Xa[Qn(N,2).name]=[{name:"wrapper",func:N}],We.prototype.clone=function(){var e=new We(this.__wrapped__);return e.__actions__=Fn(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Fn(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Fn(this.__views__),e},We.prototype.reverse=function(){if(this.__filtered__){var e=new We(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e},We.prototype.value=function(){var e,t=this.__wrapped__.value(),n=this.__dir__,r=ls(t),i=0>n,a=r?t.length:0;e=a;for(var o=this.__views__,s=0,l=-1,u=o.length;++l<u;){var d=o[l],c=d.size;switch(d.type){case"drop":s+=c;break;case"dropRight":e-=c;break;case"take":e=Fa(e,s+c);break;case"takeRight":s=Ia(s,e-c)}}if(e={start:s,end:e},o=e.start,s=e.end,e=s-o,o=i?s:o-1,s=this.__iteratees__,l=s.length,u=0,d=Fa(e,this.__takeCount__),!r||!i&&a==e&&d==e)return Ln(t,this.__actions__);r=[];e:for(;e--&&u<d;){for(o+=n,i=-1,a=t[o];++i<l;){var h=s[i],c=h.type,h=(0,h.iteratee)(a);if(2==c)a=h;else if(!h){if(1==c)continue e;break e}}r[u++]=a}return r},Te.prototype.at=No,Te.prototype.chain=function(){return Qr(this)},Te.prototype.commit=function(){return new Ee(this.value(),this.__chain__)},Te.prototype.next=function(){this.__values__===N&&(this.__values__=Li(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?N:this.__values__[this.__index__++]}},Te.prototype.plant=function(e){for(var t,n=this;n instanceof Pe;){var r=Br(n);r.__index__=0,r.__values__=N,t?i.__wrapped__=r:t=r;var i=r,n=n.__wrapped__}return i.__wrapped__=e,t},Te.prototype.reverse=function(){var e=this.__wrapped__;return e instanceof We?(this.__actions__.length&&(e=new We(this)),e=e.reverse(),e.__actions__.push({func:ei,args:[Xr],thisArg:N}),new Ee(e,this.__chain__)):this.thru(Xr)},Te.prototype.toJSON=Te.prototype.valueOf=Te.prototype.value=function(){return Ln(this.__wrapped__,this.__actions__)},Te.prototype.first=Te.prototype.head,ka&&(Te.prototype[ka]=ti),Te}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Ne._=nt,define(function(){return nt})):Be?((Be.exports=nt)._=nt,ze._=nt):Ne._=nt}.call(this),function(e,t){if("function"==typeof define&&define.amd)define(["exports","module"],t);else if("undefined"!=typeof exports&&"undefined"!=typeof module)t(exports,module);else{var n={exports:{}};t(n.exports,n),e.autosize=n.exports}}(this,function(e,t){"use strict";function n(e){function t(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function n(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}function r(){var t=e.style.height,r=n(e),i=document.documentElement&&document.documentElement.scrollTop;e.style.height="auto";var a=e.scrollHeight+s;return 0===e.scrollHeight?void(e.style.height=t):(e.style.height=a+"px",l=e.clientWidth,r.forEach(function(e){e.node.scrollTop=e.scrollTop}),void(i&&(document.documentElement.scrollTop=i)))}function i(){r();var n=Math.round(parseFloat(e.style.height)),i=window.getComputedStyle(e,null),a="content-box"===i.boxSizing?Math.round(parseFloat(i.height)):e.offsetHeight;if(a!==n?"hidden"===i.overflowY&&(t("scroll"),r(),a="content-box"===i.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==i.overflowY&&(t("hidden"),r(),a="content-box"===i.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),u!==a){u=a;var s=o("autosize:resized");try{e.dispatchEvent(s)}catch(e){}}}if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!a.has(e)){var s=null,l=e.clientWidth,u=null,d=function(){e.clientWidth!==l&&i()},c=function(t){window.removeEventListener("resize",d,!1),e.removeEventListener("input",i,!1),e.removeEventListener("keyup",i,!1),e.removeEventListener("autosize:destroy",c,!1),e.removeEventListener("autosize:update",i,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),a.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",c,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",i,!1),window.addEventListener("resize",d,!1),e.addEventListener("input",i,!1),e.addEventListener("autosize:update",i,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",a.set(e,{destroy:c,update:i}),function(){var t=window.getComputedStyle(e,null);"vertical"===t.resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),s="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(s)&&(s=0),i()}()}}function r(e){var t=a.get(e);t&&t.destroy()}function i(e){var t=a.get(e);t&&t.update()}var a="function"==typeof Map?new Map:function(){var e=[],t=[];return{has:function(t){return e.indexOf(t)>-1},get:function(n){return t[e.indexOf(n)]},set:function(n,r){-1===e.indexOf(n)&&(e.push(n),t.push(r))},delete:function(n){var r=e.indexOf(n);r>-1&&(e.splice(r,1),t.splice(r,1))}}}(),o=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){o=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}var s=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(s=function(e){return e},s.destroy=function(e){return e},s.update=function(e){return e}):(s=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return n(e)}),e},s.destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e},s.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],i),e}),t.exports=s}),function(){var e,t=window.Messenger;e=window.Messenger=function(){return e._call.apply(this,arguments)},window.Messenger.noConflict=function(){return window.Messenger=t,e}}(),window.Messenger._=function(){if(window._)return window._;var e=Array.prototype,t=Object.prototype,n=Function.prototype,r=(e.push,e.slice),i=(e.concat,t.toString);t.hasOwnProperty;var a=e.forEach,o=(e.map,e.reduce,e.reduceRight,e.filter),s=(e.every,e.some,e.indexOf,e.lastIndexOf,Array.isArray,Object.keys),l=n.bind,u={},d={},c=u.each=u.forEach=function(e,t,n){if(null!=e)if(a&&e.forEach===a)e.forEach(t,n);else if(e.length===+e.length){for(var r=0,i=e.length;i>r;r++)if(t.call(n,e[r],r,e)===d)return}else for(var o in e)if(u.has(e,o)&&t.call(n,e[o],o,e)===d)return};u.result=function(e,t){if(null==e)return null;var n=e[t];return u.isFunction(n)?n.call(e):n},u.once=function(e){var t,n=!1;return function(){return n?t:(n=!0,t=e.apply(this,arguments),e=null,t)}};var h=0;return u.uniqueId=function(e){var t=++h+"";return e?e+t:t},u.filter=u.select=function(e,t,n){var r=[];return null==e?r:o&&e.filter===o?e.filter(t,n):(c(e,function(e,i,a){t.call(n,e,i,a)&&(r[r.length]=e)}),r)},c(["Arguments","Function","String","Number","Date","RegExp"],function(e){u["is"+e]=function(t){return i.call(t)=="[object "+e+"]"}}),u.defaults=function(e){return c(r.call(arguments,1),function(t){if(t)for(var n in t)null==e[n]&&(e[n]=t[n])}),e},u.extend=function(e){return c(r.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e},u.keys=s||function(e){if(e!==Object(e))throw new TypeError("Invalid object");var t=[];for(var n in e)u.has(e,n)&&(t[t.length]=n);return t},u.bind=function(e,t){if(e.bind===l&&l)return l.apply(e,r.call(arguments,1));var n=r.call(arguments,2);return function(){return e.apply(t,n.concat(r.call(arguments)))}},u.isObject=function(e){return e===Object(e)},u}(),window.Messenger.Events=function(){if(window.Backbone&&Backbone.Events)return Backbone.Events;return function(){var e=/\s+/,t=function(t,n,r,i){if(!r)return!0;if("object"==typeof r)for(var a in r)t[n].apply(t,[a,r[a]].concat(i));else{if(!e.test(r))return!0;for(var o=r.split(e),s=0,l=o.length;l>s;s++)t[n].apply(t,[o[s]].concat(i))}},n=function(e,t){var n,r=-1,i=e.length;switch(t.length){case 0:for(;i>++r;)(n=e[r]).callback.call(n.ctx);return;case 1:for(;i>++r;)(n=e[r]).callback.call(n.ctx,t[0]);return;case 2:for(;i>++r;)(n=e[r]).callback.call(n.ctx,t[0],t[1]);return;case 3:for(;i>++r;)(n=e[r]).callback.call(n.ctx,t[0],t[1],t[2]);return;default:for(;i>++r;)(n=e[r]).callback.apply(n.ctx,t)}},r={on:function(e,n,r){return t(this,"on",e,[n,r])&&n?(this._events||(this._events={}),(this._events[e]||(this._events[e]=[])).push({callback:n,context:r,ctx:r||this}),this):this},once:function(e,n,r){if(!t(this,"once",e,[n,r])||!n)return this;var i=this,a=_.once(function(){i.off(e,a),n.apply(this,arguments)});return a._callback=n,this.on(e,a,r),this},off:function(e,n,r){var i,a,o,s,l,u,d,c;if(!this._events||!t(this,"off",e,[n,r]))return this;if(!e&&!n&&!r)return this._events={},this;for(s=e?[e]:_.keys(this._events),l=0,u=s.length;u>l;l++)if(e=s[l],i=this._events[e]){if(o=[],n||r)for(d=0,c=i.length;c>d;d++)a=i[d],(n&&n!==a.callback&&n!==a.callback._callback||r&&r!==a.context)&&o.push(a);this._events[e]=o}return this},trigger:function(e){if(!this._events)return this;var r=Array.prototype.slice.call(arguments,1);if(!t(this,"trigger",e,r))return this;var i=this._events[e],a=this._events.all;return i&&n(i,r),a&&n(a,arguments),this},listenTo:function(e,t,n){return(this._listeners||(this._listeners={}))[e._listenerId||(e._listenerId=_.uniqueId("l"))]=e,e.on(t,"object"==typeof t?this:n,this),this},stopListening:function(e,t,n){var r=this._listeners;if(r){if(e)e.off(t,"object"==typeof t?this:n,this),t||n||delete r[e._listenerId];else{"object"==typeof t&&(n=this);for(var i in r)r[i].off(t,n,this);this._listeners={}}return this}}};return r.bind=r.on,r.unbind=r.off,r}()}(),function(){var e,t,n,r,i,a,o,s,l,u,d,c={}.hasOwnProperty,h=function(e,t){function n(){this.constructor=e}for(var r in t)c.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},f=[].slice,p=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};e=jQuery,a=null!=(l=window._)?l:window.Messenger._,r=null!=(u="undefined"!=typeof Backbone&&null!==Backbone?Backbone.Events:void 0)?u:window.Messenger.Events,n=function(){function t(t){e.extend(this,r),a.isObject(t)&&(t.el&&this.setElement(t.el),this.model=t.model),this.initialize.apply(this,arguments)}return t.prototype.setElement=function(t){return this.$el=e(t),this.el=this.$el[0]},t.prototype.delegateEvents=function(e){var t,n,r,i,o,s,l;if(e||(e=a.result(this,"events"))){this.undelegateEvents(),t=/^(\S+)\s*(.*)$/,l=[];for(r in e){if(o=e[r],a.isFunction(o)||(o=this[e[r]]),!o)throw Error('Method "'+e[r]+'" does not exist');i=r.match(t),n=i[1],s=i[2],o=a.bind(o,this),n+=".delegateEvents"+this.cid,""===s?l.push(this.jqon(n,o)):l.push(this.jqon(n,s,o))}return l}},t.prototype.jqon=function(e,t,n){var r;return null!=this.$el.on?(r=this.$el).on.apply(r,arguments):(null==n&&(n=t,t=void 0),null!=t?this.$el.delegate(t,e,n):this.$el.bind(e,n))},t.prototype.jqoff=function(e){var t;return null!=this.$el.off?(t=this.$el).off.apply(t,arguments):(this.$el.undelegate(),this.$el.unbind(e))},t.prototype.undelegateEvents=function(){return this.jqoff(".delegateEvents"+this.cid)},t.prototype.remove=function(){return this.undelegateEvents(),this.$el.remove()},t}(),o=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return h(n,t),n.prototype.defaults={hideAfter:10,scroll:!0,closeButtonText:"×",escapeText:!1},n.prototype.initialize=function(t){return null==t&&(t={}),this.shown=!1,this.rendered=!1,this.messenger=t.messenger,this.options=e.extend({},this.options,t,this.defaults)},n.prototype.show=function(){var e;return this.rendered||this.render(),this.$message.removeClass("messenger-hidden"),e=this.shown,this.shown=!0,e?void 0:this.trigger("show")},n.prototype.hide=function(){var e;if(this.rendered)return this.$message.addClass("messenger-hidden"),e=this.shown,this.shown=!1,e?this.trigger("hide"):void 0},n.prototype.cancel=function(){return this.hide()},n.prototype.update=function(t){var n,r=this;return a.isString(t)&&(t={message:t}),e.extend(this.options,t),this.lastUpdate=new Date,this.rendered=!1,this.events=null!=(n=this.options.events)?n:{},this.render(),this.actionsToEvents(),this.delegateEvents(),this.checkClickable(),this.options.hideAfter?(this.$message.addClass("messenger-will-hide-after"),null!=this._hideTimeout&&clearTimeout(this._hideTimeout),this._hideTimeout=setTimeout(function(){return r.hide()},1e3*this.options.hideAfter)):this.$message.removeClass("messenger-will-hide-after"),this.options.hideOnNavigate?(this.$message.addClass("messenger-will-hide-on-navigate"),null!=("undefined"!=typeof Backbone&&null!==Backbone?Backbone.history:void 0)&&Backbone.history.on("route",function(){return r.hide()})):this.$message.removeClass("messenger-will-hide-on-navigate"),this.trigger("update",this)},n.prototype.scrollTo=function(){return this.options.scroll?e.scrollTo(this.$el,{duration:400,offset:{left:0,top:-20}}):void 0},n.prototype.timeSinceUpdate=function(){return this.lastUpdate?new Date-this.lastUpdate:null},n.prototype.actionsToEvents=function(){var e,t,n,r,i=this;n=this.options.actions,r=[];for(t in n)e=n[t],r.push(this.events['click [data-action="'+t+'"] a']=function(e){return function(n){return n.preventDefault(),n.stopPropagation(),i.trigger("action:"+t,e,n),e.action.call(i,n,i)}}(e));return r},n.prototype.checkClickable=function(){var e,t,n;t=this.events,n=[];for(e in t)t[e],"click"===e?n.push(this.$message.addClass("messenger-clickable")):n.push(void 0);return n},n.prototype.undelegateEvents=function(){var e;return n.__super__.undelegateEvents.apply(this,arguments),null!=(e=this.$message)?e.removeClass("messenger-clickable"):void 0},n.prototype.parseActions=function(){var t,n,r,i,a;n=[],a=this.options.actions;for(i in a)t=a[i],r=e.extend({},t),r.name=i,null==r.label&&(r.label=i),n.push(r);return n},n.prototype.template=function(t){var n,r,i,a,o,s,l,u,d,c,h=this;for(o=e("<div class='messenger-message message alert "+t.type+" message-"+t.type+" alert-"+t.type+"'>"),t.showCloseButton&&(i=e('<button type="button" class="messenger-close" data-dismiss="alert">'),i.html(t.closeButtonText),i.click(function(){var e;return h.cancel(),"function"==typeof(e=h.options).onClickClose&&e.onClickClose(),!0}),o.append(i)),s=t.escapeText?e('<div class="messenger-message-inner"></div>').text(t.message):e('<div class="messenger-message-inner">'+t.message+"</div>"),o.append(s),t.actions.length&&(r=e('<div class="messenger-actions">')),c=t.actions,u=0,d=c.length;d>u;u++)l=c[u],n=e("<span>"),n.attr("data-action",""+l.name),a=e("<a>"),a.html(l.label),n.append(e('<span class="messenger-phrase">')),n.append(a),r.append(n);return o.append(r),o},n.prototype.render=function(){var t;if(!this.rendered)return this._hasSlot||(this.setElement(this.messenger._reserveMessageSlot(this)),this._hasSlot=!0),t=e.extend({},this.options,{actions:this.parseActions()}),this.$message=e(this.template(t)),this.$el.html(this.$message),this.shown=!0,this.rendered=!0,this.trigger("render")},n}(n),i=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return h(t,e),t.prototype.initialize=function(){return t.__super__.initialize.apply(this,arguments),this._timers={}},t.prototype.cancel=function(){return this.clearTimers(),this.hide(),null!=this._actionInstance&&null!=this._actionInstance.abort?this._actionInstance.abort():void 0},t.prototype.clearTimers=function(){var e,t,n,r;n=this._timers;for(e in n)t=n[e],clearTimeout(t);return this._timers={},null!=(r=this.$message)?r.removeClass("messenger-retry-soon messenger-retry-later"):void 0},t.prototype.render=function(){var e,n,r,i;t.__super__.render.apply(this,arguments),this.clearTimers(),r=this.options.actions,i=[];for(n in r)e=r[n],e.auto?i.push(this.startCountdown(n,e)):i.push(void 0);return i},t.prototype.renderPhrase=function(e,t){return e.phrase.replace("TIME",this.formatTime(t))},t.prototype.formatTime=function(e){var t;return t=function(e,t){return e=Math.floor(e),1!==e&&(t+="s"),"in "+e+" "+t},0===Math.floor(e)?"now...":60>e?t(e,"second"):(e/=60,60>e?t(e,"minute"):(e/=60,t(e,"hour")))},t.prototype.startCountdown=function(e,t){var n,r,i,a,o=this;if(null==this._timers[e])return n=this.$message.find("[data-action='"+e+"'] .messenger-phrase"),r=null!=(a=t.delay)?a:3,10>=r?(this.$message.removeClass("messenger-retry-later"),this.$message.addClass("messenger-retry-soon")):(this.$message.removeClass("messenger-retry-soon"),this.$message.addClass("messenger-retry-later")),(i=function(){var a;return n.text(o.renderPhrase(t,r)),r>0?(a=Math.min(r,1),r-=a,o._timers[e]=setTimeout(i,1e3*a)):(o.$message.removeClass("messenger-retry-soon messenger-retry-later"),delete o._timers[e],t.action())})()},t}(o),s=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return h(n,t),n.prototype.tagName="ul",n.prototype.className="messenger",
|
||
n.prototype.messageDefaults={type:"info"},n.prototype.initialize=function(t){return this.options=null!=t?t:{},this.history=[],this.messageDefaults=e.extend({},this.messageDefaults,this.options.messageDefaults)},n.prototype.render=function(){return this.updateMessageSlotClasses()},n.prototype.findById=function(e){return a.filter(this.history,function(t){return t.msg.options.id===e})},n.prototype._reserveMessageSlot=function(t){var n,r,i=this;for(n=e("<li>"),n.addClass("messenger-message-slot"),this.$el.prepend(n),this.history.push({msg:t,$slot:n}),this._enforceIdConstraint(t),t.on("update",function(){return i._enforceIdConstraint(t)});this.options.maxMessages&&this.history.length>this.options.maxMessages;)r=this.history.shift(),r.msg.remove(),r.$slot.remove();return n},n.prototype._enforceIdConstraint=function(e){var t,n,r,i,a;if(null!=e.options.id)for(a=this.history,n=0,r=a.length;r>n;n++)if(t=a[n],i=t.msg,null!=i.options.id&&i.options.id===e.options.id&&e!==i){if(e.options.singleton)return void e.hide();i.hide()}},n.prototype.newMessage=function(e){var t,n,r,a,s=this;return null==e&&(e={}),e.messenger=this,o=null!=(n=null!=(r=Messenger.themes[null!=(a=e.theme)?a:this.options.theme])?r.Message:void 0)?n:i,t=new o(e),t.on("show",function(){return e.scrollTo&&"fixed"!==s.$el.css("position")?t.scrollTo():void 0}),t.on("hide show render",this.updateMessageSlotClasses,this),t},n.prototype.updateMessageSlotClasses=function(){var e,t,n,r,i,a,o;for(r=!0,t=null,e=!1,o=this.history,i=0,a=o.length;a>i;i++)n=o[i],n.$slot.removeClass("messenger-first messenger-last messenger-shown"),n.msg.shown&&n.msg.rendered&&(n.$slot.addClass("messenger-shown"),e=!0,t=n,r&&(r=!1,n.$slot.addClass("messenger-first")));return null!=t&&t.$slot.addClass("messenger-last"),this.$el[(e?"remove":"add")+"Class"]("messenger-empty")},n.prototype.hideAll=function(){var e,t,n,r,i;for(r=this.history,i=[],t=0,n=r.length;n>t;t++)e=r[t],i.push(e.msg.hide());return i},n.prototype.post=function(t){var n;return a.isString(t)&&(t={message:t}),t=e.extend(!0,{},this.messageDefaults,t),n=this.newMessage(t),n.update(t),n},n}(n),t=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return h(n,t),n.prototype.doDefaults={progressMessage:null,successMessage:null,errorMessage:"Error connecting to the server.",showSuccessWithoutError:!0,retry:{auto:!0,allow:!0},action:e.ajax},n.prototype.hookBackboneAjax=function(t){var n,r=this;if(null==t&&(t={}),null==window.Backbone)throw"Expected Backbone to be defined";return t=a.defaults(t,{id:"BACKBONE_ACTION",errorMessage:!1,successMessage:"Request completed successfully.",showSuccessWithoutError:!1}),n=function(e){var n;return n=a.extend({},t,e.messenger),r.do(n,e)},null!=Backbone.ajax?(Backbone.ajax._withoutMessenger&&(Backbone.ajax=Backbone.ajax._withoutMessenger),(null==t.action||t.action===this.doDefaults.action)&&(t.action=Backbone.ajax),n._withoutMessenger=Backbone.ajax,Backbone.ajax=n):Backbone.sync=a.wrap(Backbone.sync,function(){var t,r,i;return i=arguments[0],t=arguments.length>=2?f.call(arguments,1):[],r=e.ajax,e.ajax=n,i.call.apply(i,[this].concat(f.call(t))),e.ajax=r})},n.prototype._getHandlerResponse=function(e){return!1!==e&&(!0===e||null==e||e)},n.prototype._parseEvents=function(e){var t,n,r,i,a,o;null==e&&(e={}),a={};for(i in e)r=e[i],n=i.indexOf(" "),o=i.substring(0,n),t=i.substring(n+1),null==a[o]&&(a[o]={}),a[o][t]=r;return a},n.prototype._normalizeResponse=function(){var e,t,n,r,i,o,s;for(n=arguments.length>=1?f.call(arguments,0):[],r=null,i=null,e=null,o=0,s=n.length;s>o;o++)t=n[o],"success"===t||"timeout"===t||"abort"===t?r=t:null!=(null!=t?t.readyState:void 0)&&null!=(null!=t?t.responseText:void 0)?i=t:a.isObject(t)&&(e=t);return[r,e,i]},n.prototype.run=function(){var t,n,r,i,o,s,l,u,d,c,h=this;if(s=arguments[0],u=arguments[1],t=arguments.length>=3?f.call(arguments,2):[],null==u&&(u={}),s=e.extend(!0,{},this.messageDefaults,this.doDefaults,null!=s?s:{}),n=this._parseEvents(s.events),r=function(e,t){var n;return n=s[e+"Message"],a.isFunction(n)?n.call(h,e,t):n},l=null!=(c=s.messageInstance)?c:this.newMessage(s),null!=s.id&&(l.options.id=s.id),null!=s.progressMessage&&l.update(e.extend({},s,{message:r("progress",null),type:"info"})),o={},a.each(["error","success"],function(i){var d;return d=u[i],o[i]=function(){var o,c,m,_,g,y,v,b,M,w,x,k;return g=arguments.length>=1?f.call(arguments,0):[],b=h._normalizeResponse.apply(h,g),_=b[0],b[1],v=b[2],"success"===i&&null==l.errorCount&&!1===s.showSuccessWithoutError&&(s.successMessage=null),"error"===i&&(null==s.errorCount&&(s.errorCount=0),s.errorCount+=1),c=s.returnsPromise?g[0]:"function"==typeof d?d.apply(null,g):void 0,y=h._getHandlerResponse(c),a.isString(y)&&(y={message:y}),"error"!==i||0!==(null!=v?v.status:void 0)&&"abort"!==_?"error"===i&&null!=s.ignoredErrorCodes&&(M=null!=v?v.status:void 0,p.call(s.ignoredErrorCodes,M)>=0)?void l.hide():(o={message:r(i,v),type:i,events:null!=(w=n[i])?w:{},hideOnNavigate:"success"===i},m=e.extend({},s,o,y),"number"==typeof(null!=(x=m.retry)?x.allow:void 0)&&m.retry.allow--,"error"===i&&(null!=v?v.status:void 0)>=500&&(null!=(k=m.retry)?k.allow:void 0)?(null==m.retry.delay&&(m.retry.delay=4>m.errorCount?10:300),m.hideAfter&&(null==m._hideAfter&&(m._hideAfter=m.hideAfter),m.hideAfter=m._hideAfter+m.retry.delay),m._retryActions=!0,m.actions={retry:{label:"retry now",phrase:"Retrying TIME",auto:m.retry.auto,delay:m.retry.delay,action:function(){return m.messageInstance=l,setTimeout(function(){return h.do.apply(h,[m,u].concat(f.call(t)))},0)}},cancel:{action:function(){return l.cancel()}}}):m._retryActions&&(delete m.actions.retry,delete m.actions.cancel,delete s._retryActions),l.update(m),y&&m.message?(Messenger(a.extend({},h.options,{instance:h})),l.show()):l.hide()):void l.hide()}}),!s.returnsPromise)for(d in o)i=o[d],u[d],u[d]=i;return l._actionInstance=s.action.apply(s,[u].concat(f.call(t))),s.returnsPromise&&l._actionInstance.then(o.success,o.error),l},n.prototype.do=n.prototype.run,n.prototype.ajax=function(){var t,n;return n=arguments[0],t=arguments.length>=2?f.call(arguments,1):[],n.action=e.ajax,this.run.apply(this,[n].concat(f.call(t)))},n.prototype.expectPromise=function(e,t){return t=a.extend({},t,{action:e,returnsPromise:!0}),this.run(t)},n.prototype.error=function(e){return null==e&&(e={}),"string"==typeof e&&(e={message:e}),e.type="error",this.post(e)},n.prototype.info=function(e){return null==e&&(e={}),"string"==typeof e&&(e={message:e}),e.type="info",this.post(e)},n.prototype.success=function(e){return null==e&&(e={}),"string"==typeof e&&(e={message:e}),e.type="success",this.post(e)},n}(s),e.fn.messenger=function(){var n,r,i,o,l,u,d,c;return i=arguments[0],r=arguments.length>=2?f.call(arguments,1):[],null==i&&(i={}),n=this,null!=i&&a.isString(i)?(c=n.data("messenger"))[i].apply(c,r):(l=i,null==n.data("messenger")&&(s=null!=(u=null!=(d=Messenger.themes[l.theme])?d.Messenger:void 0)?u:t,n.data("messenger",o=new s(e.extend({el:n},l))),o.render()),n.data("messenger"))},window.Messenger._call=function(t){var n,r,i,a,o,s,l,u,d,c;if(o={extraClasses:"messenger-fixed messenger-on-bottom messenger-on-right",theme:"future",maxMessages:9,parentLocations:["body"]},t=e.extend(o,e._messengerDefaults,Messenger.options,t),null!=t.theme&&(t.extraClasses+=" messenger-theme-"+t.theme),s=t.instance||Messenger.instance,null==t.instance){for(u=t.parentLocations,r=null,null,d=0,c=u.length;c>d;d++)if(l=u[d],r=e(l),r.length){i=l;break}s?e(s._location).is(e(i))||(s.$el.detach(),r.prepend(s.$el)):(n=e("<ul>"),r.prepend(n),s=n.messenger(t),s._location=i,Messenger.instance=s)}return null!=s._addedClasses&&s.$el.removeClass(s._addedClasses),s.$el.addClass(a=s.className+" "+t.extraClasses),s._addedClasses=a,s},e.extend(Messenger,{Message:i,Messenger:t,themes:null!=(d=Messenger.themes)?d:{}}),e.globalMessenger=window.Messenger=Messenger}.call(this),function(e){"use strict";"function"==typeof define&&define.amd?define(e):"undefined"!=typeof module&&void 0!==module.exports?module.exports=e():window.Sortable=e()}(function(){"use strict";function e(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(e);this.el=e,this.options=t=v({},t),e[V]=this;var n={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(e.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0}};for(var r in n)!(r in t)&&(t[r]=n[r]);oe(t);for(var i in this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&K,a(e,"mousedown",this._onTapStart),a(e,"touchstart",this._onTapStart),a(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(a(e,"dragover",this),a(e,"dragenter",this)),ie.push(this._onDragOver),t.store&&this.sort(t.store.get(this))}function t(e,t){"clone"!==e.lastPullMode&&(t=!0),L&&L.state!==t&&(l(L,"display",t?"none":""),t||L.state&&(e.options.group.revertClone?(D.insertBefore(L,Y),e._animate(w,L)):D.insertBefore(L,w)),L.state=t)}function n(e,t,n){if(e){n=n||U;do{if(">*"===t&&e.parentNode===n||g(e,t))return e}while(e=r(e))}return null}function r(e){var t=e.host;return t&&t.nodeType?t:e.parentNode}function i(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.preventDefault()}function a(e,t,n){e.addEventListener(t,n,Z)}function o(e,t,n){e.removeEventListener(t,n,Z)}function s(e,t,n){if(e)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(B," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(B," ")}}function l(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return U.defaultView&&U.defaultView.getComputedStyle?n=U.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function u(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,a=r.length;if(n)for(;i<a;i++)n(r[i],i);return r}return[]}function d(e,t,n,r,i,a,o){e=e||t[V];var s=U.createEvent("Event"),l=e.options,u="on"+n.charAt(0).toUpperCase()+n.substr(1);s.initEvent(n,!0,!0),s.to=t,s.from=i||t,s.item=r||t,s.clone=L,s.oldIndex=a,s.newIndex=o,t.dispatchEvent(s),l[u]&&l[u].call(e,s)}function c(e,t,n,r,i,a,o,s){var l,u,d=e[V],c=d.options.onMove;return l=U.createEvent("Event"),l.initEvent("move",!0,!0),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=i||t,l.relatedRect=a||t.getBoundingClientRect(),l.willInsertAfter=s,e.dispatchEvent(l),c&&(u=c.call(d,l,o)),u}function h(e){e.draggable=!1}function f(){ee=!1}function p(e,t){var n=e.lastElementChild,r=n.getBoundingClientRect();return t.clientY-(r.top+r.height)>5||t.clientX-(r.left+r.width)>5}function m(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function _(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"===e.nodeName.toUpperCase()||">*"!==t&&!g(e,t)||n++;return n}function g(e,t){if(e){t=t.split(".");var n=t.shift().toUpperCase(),r=new RegExp("\\s("+t.join("|")+")(?=\\s)","g");return!(""!==n&&e.nodeName.toUpperCase()!=n||t.length&&((" "+e.className+" ").match(r)||[]).length!=t.length)}return!1}function y(e,t){var n,r;return function(){void 0===n&&(n=arguments,r=this,setTimeout(function(){1===n.length?e.call(r,n[0]):e.apply(r,n),n=void 0},t))}}function v(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function b(e){return G?G(e).clone(!0)[0]:X&&X.dom?X.dom(e).cloneNode(!0):e.cloneNode(!0)}function M(e){for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&re.push(r)}}if("undefined"==typeof window||!window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var w,x,k,L,D,Y,T,S,C,j,H,O,A,P,E,I,F,W,R,N,z={},B=/\s+/g,$=/left|right|inline/,V="Sortable"+(new Date).getTime(),q=window,U=q.document,J=q.parseInt,G=q.jQuery||q.Zepto,X=q.Polymer,Z=!1,K=!!("draggable"in U.createElement("div")),Q=function(e){return!navigator.userAgent.match(/Trident.*rv[ :]?11\./)&&(e=U.createElement("x"),e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents)}(),ee=!1,te=Math.abs,ne=Math.min,re=[],ie=[],ae=y(function(e,t,n){if(n&&t.scroll){var r,i,a,o,s,l,u=n[V],d=t.scrollSensitivity,c=t.scrollSpeed,h=e.clientX,f=e.clientY,p=window.innerWidth,m=window.innerHeight;if(C!==n&&(S=t.scroll,C=n,j=t.scrollFn,!0===S)){S=n;do{if(S.offsetWidth<S.scrollWidth||S.offsetHeight<S.scrollHeight)break}while(S=S.parentNode)}S&&(r=S,i=S.getBoundingClientRect(),a=(te(i.right-h)<=d)-(te(i.left-h)<=d),o=(te(i.bottom-f)<=d)-(te(i.top-f)<=d)),a||o||(a=(p-h<=d)-(h<=d),o=(m-f<=d)-(f<=d),(a||o)&&(r=q)),z.vx===a&&z.vy===o&&z.el===r||(z.el=r,z.vx=a,z.vy=o,clearInterval(z.pid),r&&(z.pid=setInterval(function(){return l=o?o*c:0,s=a?a*c:0,"function"==typeof j?j.call(u,s,l,e):void(r===q?q.scrollTo(q.pageXOffset+s,q.pageYOffset+l):(r.scrollTop+=l,r.scrollLeft+=s))},24)))}},30),oe=function(e){function t(e,t){return void 0!==e&&!0!==e||(e=n.name),"function"==typeof e?e:function(n,r){var i=r.options.group.name;return t?e:e&&(e.join?e.indexOf(i)>-1:i==e)}}var n={},r=e.group;r&&"object"==typeof r||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n};e.prototype={constructor:e,_onTapStart:function(e){var t,r=this,i=this.el,a=this.options,o=a.preventOnFilter,s=e.type,l=e.touches&&e.touches[0],u=(l||e).target,c=e.target.shadowRoot&&e.path[0]||u,h=a.filter;if(M(i),!w&&!("mousedown"===s&&0!==e.button||a.disabled)&&(u=n(u,a.draggable,i))&&T!==u){if(t=_(u,a.draggable),"function"==typeof h){if(h.call(this,e,u,this))return d(r,c,"filter",u,i,t),void(o&&e.preventDefault())}else if(h&&(h=h.split(",").some(function(e){if(e=n(c,e.trim(),i))return d(r,e,"filter",u,i,t),!0})))return void(o&&e.preventDefault());a.handle&&!n(c,a.handle,i)||this._prepareDragStart(e,l,u,t)}},_prepareDragStart:function(e,t,n,r){var i,o=this,l=o.el,c=o.options,f=l.ownerDocument;n&&!w&&n.parentNode===l&&(W=e,D=l,w=n,x=w.parentNode,Y=w.nextSibling,T=n,I=c.group,P=r,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,w.style["will-change"]="transform",i=function(){o._disableDelayedDrag(),w.draggable=o.nativeDraggable,s(w,c.chosenClass,!0),o._triggerDragStart(e,t),d(o,D,"choose",w,D,P)},c.ignore.split(",").forEach(function(e){u(w,e.trim(),h)}),a(f,"mouseup",o._onDrop),a(f,"touchend",o._onDrop),a(f,"touchcancel",o._onDrop),a(f,"pointercancel",o._onDrop),a(f,"selectstart",o),c.delay?(a(f,"mouseup",o._disableDelayedDrag),a(f,"touchend",o._disableDelayedDrag),a(f,"touchcancel",o._disableDelayedDrag),a(f,"mousemove",o._disableDelayedDrag),a(f,"touchmove",o._disableDelayedDrag),a(f,"pointermove",o._disableDelayedDrag),o._dragStartTimer=setTimeout(i,c.delay)):i())},_disableDelayedDrag:function(){var e=this.el.ownerDocument;clearTimeout(this._dragStartTimer),o(e,"mouseup",this._disableDelayedDrag),o(e,"touchend",this._disableDelayedDrag),o(e,"touchcancel",this._disableDelayedDrag),o(e,"mousemove",this._disableDelayedDrag),o(e,"touchmove",this._disableDelayedDrag),o(e,"pointermove",this._disableDelayedDrag)},_triggerDragStart:function(e,t){t=t||("touch"==e.pointerType?e:null),t?(W={target:w,clientX:t.clientX,clientY:t.clientY},this._onDragStart(W,"touch")):this.nativeDraggable?(a(w,"dragend",this),a(D,"dragstart",this._onDragStart)):this._onDragStart(W,!0);try{U.selection?setTimeout(function(){U.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){if(D&&w){var t=this.options;s(w,t.ghostClass,!0),s(w,t.dragClass,!1),e.active=this,d(this,D,"start",w,D,P)}else this._nulling()},_emulateDragOver:function(){if(R){if(this._lastX===R.clientX&&this._lastY===R.clientY)return;this._lastX=R.clientX,this._lastY=R.clientY,Q||l(k,"display","none");var e=U.elementFromPoint(R.clientX,R.clientY),t=e,n=ie.length;if(t)do{if(t[V]){for(;n--;)ie[n]({clientX:R.clientX,clientY:R.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);Q||l(k,"display","")}},_onTouchMove:function(t){if(W){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,a=t.touches?t.touches[0]:t,o=a.clientX-W.clientX+i.x,s=a.clientY-W.clientY+i.y,u=t.touches?"translate3d("+o+"px,"+s+"px,0)":"translate("+o+"px,"+s+"px)";if(!e.active){if(r&&ne(te(a.clientX-this._lastX),te(a.clientY-this._lastY))<r)return;this._dragStarted()}this._appendGhost(),N=!0,R=a,l(k,"webkitTransform",u),l(k,"mozTransform",u),l(k,"msTransform",u),l(k,"transform",u),t.preventDefault()}},_appendGhost:function(){if(!k){var e,t=w.getBoundingClientRect(),n=l(w),r=this.options;k=w.cloneNode(!0),s(k,r.ghostClass,!1),s(k,r.fallbackClass,!0),s(k,r.dragClass,!0),l(k,"top",t.top-J(n.marginTop,10)),l(k,"left",t.left-J(n.marginLeft,10)),l(k,"width",t.width),l(k,"height",t.height),l(k,"opacity","0.8"),l(k,"position","fixed"),l(k,"zIndex","100000"),l(k,"pointerEvents","none"),r.fallbackOnBody&&U.body.appendChild(k)||D.appendChild(k),e=k.getBoundingClientRect(),l(k,"width",2*t.width-e.width),l(k,"height",2*t.height-e.height)}},_onDragStart:function(e,t){var n=e.dataTransfer,r=this.options;this._offUpEvents(),I.checkPull(this,this,w,e)&&(L=b(w),L.draggable=!1,L.style["will-change"]="",l(L,"display","none"),s(L,this.options.chosenClass,!1),D.insertBefore(L,w),d(this,D,"clone",w)),s(w,r.dragClass,!0),t?("touch"===t?(a(U,"touchmove",this._onTouchMove),a(U,"touchend",this._onDrop),a(U,"touchcancel",this._onDrop),a(U,"pointermove",this._onTouchMove),a(U,"pointerup",this._onDrop)):(a(U,"mousemove",this._onTouchMove),a(U,"mouseup",this._onDrop)),this._loopId=setInterval(this._emulateDragOver,50)):(n&&(n.effectAllowed="move",r.setData&&r.setData.call(this,n,w)),a(U,"drop",this),setTimeout(this._dragStarted,0))},_onDragOver:function(r){var i,a,o,s,u=this.el,d=this.options,h=d.group,m=e.active,_=I===h,g=!1,y=d.sort;if(void 0!==r.preventDefault&&(r.preventDefault(),!d.dragoverBubble&&r.stopPropagation()),!w.animated&&(N=!0,m&&!d.disabled&&(_?y||(s=!D.contains(w)):F===this||(m.lastPullMode=I.checkPull(this,m,w,r))&&h.checkPut(this,m,w,r))&&(void 0===r.rootEl||r.rootEl===this.el))){if(ae(r,d,this.el),ee)return;if(i=n(r.target,d.draggable,u),a=w.getBoundingClientRect(),F!==this&&(F=this,g=!0),s)return t(m,!0),x=D,void(L||Y?D.insertBefore(w,L||Y):y||D.appendChild(w));if(0===u.children.length||u.children[0]===k||u===r.target&&p(u,r)){if(0!==u.children.length&&u.children[0]!==k&&u===r.target&&(i=u.lastElementChild),i){if(i.animated)return;o=i.getBoundingClientRect()}t(m,_),!1!==c(D,u,w,a,i,o,r)&&(w.contains(u)||(u.appendChild(w),x=u),this._animate(a,w),i&&this._animate(o,i))}else if(i&&!i.animated&&i!==w&&void 0!==i.parentNode[V]){H!==i&&(H=i,O=l(i),A=l(i.parentNode)),o=i.getBoundingClientRect();var v=o.right-o.left,b=o.bottom-o.top,M=$.test(O.cssFloat+O.display)||"flex"==A.display&&0===A["flex-direction"].indexOf("row"),T=i.offsetWidth>w.offsetWidth,S=i.offsetHeight>w.offsetHeight,C=(M?(r.clientX-o.left)/v:(r.clientY-o.top)/b)>.5,j=i.nextElementSibling,P=!1;if(M){var E=w.offsetTop,W=i.offsetTop;P=E===W?i.previousElementSibling===w&&!T||C&&T:i.previousElementSibling===w||w.previousElementSibling===i?(r.clientY-o.top)/b>.5:W>E}else g||(P=j!==w&&!S||C&&S);var R=c(D,u,w,a,i,o,r,P);!1!==R&&(1!==R&&-1!==R||(P=1===R),ee=!0,setTimeout(f,30),t(m,_),w.contains(u)||(P&&!j?u.appendChild(w):i.parentNode.insertBefore(w,P?j:i)),x=w.parentNode,this._animate(a,w),this._animate(o,i))}}},_animate:function(e,t){var n=this.options.animation;if(n){var r=t.getBoundingClientRect();1===e.nodeType&&(e=e.getBoundingClientRect()),l(t,"transition","none"),l(t,"transform","translate3d("+(e.left-r.left)+"px,"+(e.top-r.top)+"px,0)"),t.offsetWidth,l(t,"transition","all "+n+"ms"),l(t,"transform","translate3d(0,0,0)"),clearTimeout(t.animated),t.animated=setTimeout(function(){l(t,"transition",""),l(t,"transform",""),t.animated=!1},n)}},_offUpEvents:function(){var e=this.el.ownerDocument;o(U,"touchmove",this._onTouchMove),o(U,"pointermove",this._onTouchMove),o(e,"mouseup",this._onDrop),o(e,"touchend",this._onDrop),o(e,"pointerup",this._onDrop),o(e,"touchcancel",this._onDrop),o(e,"pointercancel",this._onDrop),o(e,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;clearInterval(this._loopId),clearInterval(z.pid),clearTimeout(this._dragStartTimer),o(U,"mousemove",this._onTouchMove),this.nativeDraggable&&(o(U,"drop",this),o(n,"dragstart",this._onDragStart)),this._offUpEvents(),t&&(N&&(t.preventDefault(),!r.dropBubble&&t.stopPropagation()),k&&k.parentNode&&k.parentNode.removeChild(k),D!==x&&"clone"===e.active.lastPullMode||L&&L.parentNode&&L.parentNode.removeChild(L),w&&(this.nativeDraggable&&o(w,"dragend",this),h(w),w.style["will-change"]="",s(w,this.options.ghostClass,!1),s(w,this.options.chosenClass,!1),d(this,D,"unchoose",w,D,P),D!==x?(E=_(w,r.draggable))>=0&&(d(null,x,"add",w,D,P,E),d(this,D,"remove",w,D,P,E),d(null,x,"sort",w,D,P,E),d(this,D,"sort",w,D,P,E)):w.nextSibling!==Y&&(E=_(w,r.draggable))>=0&&(d(this,D,"update",w,D,P,E),d(this,D,"sort",w,D,P,E)),e.active&&(null!=E&&-1!==E||(E=P),d(this,D,"end",w,D,P,E),this.save()))),this._nulling()},_nulling:function(){D=w=x=k=Y=L=T=S=C=W=R=N=E=H=O=F=I=e.active=null,re.forEach(function(e){e.checked=!0}),re.length=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragover":case"dragenter":w&&(this._onDragOver(e),i(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],r=this.el.children,i=0,a=r.length,o=this.options;i<a;i++)e=r[i],n(e,o.draggable,this.el)&&t.push(e.getAttribute(o.dataIdAttr)||m(e));return t},sort:function(e){var t={},r=this.el;this.toArray().forEach(function(e,i){var a=r.children[i];n(a,this.options.draggable,r)&&(t[e]=a)},this),e.forEach(function(e){t[e]&&(r.removeChild(t[e]),r.appendChild(t[e]))})},save:function(){var e=this.options.store;e&&e.set(this)},closest:function(e,t){return n(e,t||this.options.draggable,this.el)},option:function(e,t){var n=this.options;return void 0===t?n[e]:(n[e]=t,void("group"===e&&oe(n)))},destroy:function(){var e=this.el;e[V]=null,o(e,"mousedown",this._onTapStart),o(e,"touchstart",this._onTapStart),o(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(o(e,"dragover",this),o(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),ie.splice(ie.indexOf(this._onDragOver),1),this._onDrop(),this.el=e=null}},a(U,"touchmove",function(t){e.active&&t.preventDefault()});try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){Z={capture:!1,passive:!1}}}))}catch(e){}return e.utils={on:a,off:o,css:l,find:u,is:function(e,t){return!!n(e,t,e)},extend:v,throttle:y,closest:n,toggleClass:s,clone:b,index:_},e.create=function(t,n){return new e(t,n)},e.version="1.6.0",e}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){function t(t,n){var r=e('<div class="minicolors" />'),i=e.minicolors.defaults;t.data("minicolors-initialized")||(n=e.extend(!0,{},i,n),r.addClass("minicolors-theme-"+n.theme).toggleClass("minicolors-with-opacity",n.opacity).toggleClass("minicolors-no-data-uris",!0!==n.dataUris),void 0!==n.position&&e.each(n.position.split(" "),function(){r.addClass("minicolors-position-"+this)}),t.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",n).prop("size",7).wrap(r).after('<div class="minicolors-panel minicolors-slider-'+n.control+'"><div class="minicolors-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-opacity-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-grid minicolors-sprite"><div class="minicolors-grid-inner"></div><div class="minicolors-picker"><div></div></div></div></div>'),n.inline||(t.after('<span class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></span>'),t.next(".minicolors-swatch").on("click",function(e){e.preventDefault(),t.focus()})),t.parent().find(".minicolors-panel").on("selectstart",function(){return!1}).end(),n.inline&&t.parent().addClass("minicolors-inline"),s(t,!1),t.data("minicolors-initialized",!0))}function n(e){var t=e.parent();e.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),t.before(e).remove()}function r(e){var t=e.parent(),n=t.find(".minicolors-panel"),r=e.data("minicolors-settings");!e.data("minicolors-initialized")||e.prop("disabled")||t.hasClass("minicolors-inline")||t.hasClass("minicolors-focus")||(i(),t.addClass("minicolors-focus"),n.stop(!0,!0).fadeIn(r.showSpeed,function(){r.show&&r.show.call(e.get(0))}))}function i(){e(".minicolors-focus").each(function(){var t=e(this),n=t.find(".minicolors-input"),r=t.find(".minicolors-panel"),i=n.data("minicolors-settings");r.fadeOut(i.hideSpeed,function(){i.hide&&i.hide.call(n.get(0)),t.removeClass("minicolors-focus")})})}function a(e,t,n){var r,i,a,s,l=e.parents(".minicolors").find(".minicolors-input"),u=l.data("minicolors-settings"),d=e.find("[class$=-picker]"),c=e.offset().left,h=e.offset().top,f=Math.round(t.pageX-c),p=Math.round(t.pageY-h),m=n?u.animationSpeed:0;t.originalEvent.changedTouches&&(f=t.originalEvent.changedTouches[0].pageX-c,p=t.originalEvent.changedTouches[0].pageY-h),0>f&&(f=0),0>p&&(p=0),f>e.width()&&(f=e.width()),p>e.height()&&(p=e.height()),e.parent().is(".minicolors-slider-wheel")&&d.parent().is(".minicolors-grid")&&(r=75-f,i=75-p,a=Math.sqrt(r*r+i*i),s=Math.atan2(i,r),0>s&&(s+=2*Math.PI),a>75&&(a=75,f=75-75*Math.cos(s),p=75-75*Math.sin(s)),f=Math.round(f),p=Math.round(p)),e.is(".minicolors-grid")?d.stop(!0).animate({top:p+"px",left:f+"px"},m,u.animationEasing,function(){o(l,e)}):d.stop(!0).animate({top:p+"px"},m,u.animationEasing,function(){o(l,e)})}function o(e,t){function n(e,t){var n,r;return e.length&&t?(n=e.offset().left,r=e.offset().top,{x:n-t.offset().left+e.outerWidth()/2,y:r-t.offset().top+e.outerHeight()/2}):null}var r,i,a,o,s,u,d,h=e.val(),p=e.attr("data-opacity"),m=e.parent(),g=e.data("minicolors-settings"),y=m.find(".minicolors-swatch"),v=m.find(".minicolors-grid"),b=m.find(".minicolors-slider"),M=m.find(".minicolors-opacity-slider"),w=v.find("[class$=-picker]"),x=b.find("[class$=-picker]"),k=M.find("[class$=-picker]"),L=n(w,v),D=n(x,b),Y=n(k,M);if(t.is(".minicolors-grid, .minicolors-slider")){switch(g.control){case"wheel":o=v.width()/2-L.x,s=v.height()/2-L.y,u=Math.sqrt(o*o+s*s),d=Math.atan2(s,o),0>d&&(d+=2*Math.PI),u>75&&(u=75,L.x=69-75*Math.cos(d),L.y=69-75*Math.sin(d)),i=f(u/.75,0,100),r=f(180*d/Math.PI,0,360),a=f(100-Math.floor(D.y*(100/b.height())),0,100),h=_({h:r,s:i,b:a}),b.css("backgroundColor",_({h:r,s:i,b:100}));break;case"saturation":r=f(parseInt(L.x*(360/v.width()),10),0,360),i=f(100-Math.floor(D.y*(100/b.height())),0,100),a=f(100-Math.floor(L.y*(100/v.height())),0,100),h=_({h:r,s:i,b:a}),b.css("backgroundColor",_({h:r,s:100,b:a})),m.find(".minicolors-grid-inner").css("opacity",i/100);break;case"brightness":r=f(parseInt(L.x*(360/v.width()),10),0,360),i=f(100-Math.floor(L.y*(100/v.height())),0,100),a=f(100-Math.floor(D.y*(100/b.height())),0,100),h=_({h:r,s:i,b:a}),b.css("backgroundColor",_({h:r,s:i,b:100})),m.find(".minicolors-grid-inner").css("opacity",1-a/100);break;default:r=f(360-parseInt(D.y*(360/b.height()),10),0,360),i=f(Math.floor(L.x*(100/v.width())),0,100),a=f(100-Math.floor(L.y*(100/v.height())),0,100),h=_({h:r,s:i,b:a}),v.css("backgroundColor",_({h:r,s:100,b:100}))}e.val(c(h,g.letterCase))}t.is(".minicolors-opacity-slider")&&(p=g.opacity?parseFloat(1-Y.y/M.height()).toFixed(2):1,g.opacity&&e.attr("data-opacity",p)),y.find("SPAN").css({backgroundColor:h,opacity:p}),l(e,h,p)}function s(e,t){var n,r,i,a,o,s,u,d=e.parent(),p=e.data("minicolors-settings"),m=d.find(".minicolors-swatch"),y=d.find(".minicolors-grid"),v=d.find(".minicolors-slider"),b=d.find(".minicolors-opacity-slider"),M=y.find("[class$=-picker]"),w=v.find("[class$=-picker]"),x=b.find("[class$=-picker]");switch(n=c(h(e.val(),!0),p.letterCase),n||(n=c(h(p.defaultValue,!0),p.letterCase)),r=g(n),t||e.val(n),p.opacity&&(i=""===e.attr("data-opacity")?1:f(parseFloat(e.attr("data-opacity")).toFixed(2),0,1),isNaN(i)&&(i=1),e.attr("data-opacity",i),m.find("SPAN").css("opacity",i),o=f(b.height()-b.height()*i,0,b.height()),x.css("top",o+"px")),m.find("SPAN").css("backgroundColor",n),p.control){case"wheel":s=f(Math.ceil(.75*r.s),0,y.height()/2),u=r.h*Math.PI/180,a=f(75-Math.cos(u)*s,0,y.width()),o=f(75-Math.sin(u)*s,0,y.height()),M.css({top:o+"px",left:a+"px"}),o=150-r.b/(100/y.height()),""===n&&(o=0),w.css("top",o+"px"),v.css("backgroundColor",_({h:r.h,s:r.s,b:100}));break;case"saturation":a=f(5*r.h/12,0,150),o=f(y.height()-Math.ceil(r.b/(100/y.height())),0,y.height()),M.css({top:o+"px",left:a+"px"}),o=f(v.height()-r.s*(v.height()/100),0,v.height()),w.css("top",o+"px"),v.css("backgroundColor",_({h:r.h,s:100,b:r.b})),d.find(".minicolors-grid-inner").css("opacity",r.s/100);break;case"brightness":a=f(5*r.h/12,0,150),o=f(y.height()-Math.ceil(r.s/(100/y.height())),0,y.height()),M.css({top:o+"px",left:a+"px"}),o=f(v.height()-r.b*(v.height()/100),0,v.height()),w.css("top",o+"px"),v.css("backgroundColor",_({h:r.h,s:r.s,b:100})),d.find(".minicolors-grid-inner").css("opacity",1-r.b/100);break;default:a=f(Math.ceil(r.s/(100/y.width())),0,y.width()),o=f(y.height()-Math.ceil(r.b/(100/y.height())),0,y.height()),M.css({top:o+"px",left:a+"px"}),o=f(v.height()-r.h/(360/v.height()),0,v.height()),w.css("top",o+"px"),y.css("backgroundColor",_({h:r.h,s:100,b:100}))}e.data("minicolors-initialized")&&l(e,n,i)}function l(e,t,n){var r=e.data("minicolors-settings"),i=e.data("minicolors-lastChange");i&&i.hex===t&&i.opacity===n||(e.data("minicolors-lastChange",{hex:t,opacity:n}),r.change&&(r.changeDelay?(clearTimeout(e.data("minicolors-changeTimeout")),e.data("minicolors-changeTimeout",setTimeout(function(){r.change.call(e.get(0),t,n)},r.changeDelay))):r.change.call(e.get(0),t,n)),e.trigger("change").trigger("input"))}function u(t){var n=h(e(t).val(),!0),r=v(n),i=e(t).attr("data-opacity");return r?(void 0!==i&&e.extend(r,{a:parseFloat(i)}),r):null}function d(t,n){var r=h(e(t).val(),!0),i=v(r),a=e(t).attr("data-opacity");return i?(void 0===a&&(a=1),n?"rgba("+i.r+", "+i.g+", "+i.b+", "+parseFloat(a)+")":"rgb("+i.r+", "+i.g+", "+i.b+")"):null}function c(e,t){return"uppercase"===t?e.toUpperCase():e.toLowerCase()}function h(e,t){return e=e.replace(/[^A-F0-9]/gi,""),3!==e.length&&6!==e.length?"":(3===e.length&&t&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),"#"+e)}function f(e,t,n){return t>e&&(e=t),e>n&&(e=n),e}function p(e){var t={},n=Math.round(e.h),r=Math.round(255*e.s/100),i=Math.round(255*e.b/100);if(0===r)t.r=t.g=t.b=i;else{var a=i,o=(255-r)*i/255,s=n%60*(a-o)/60;360===n&&(n=0),60>n?(t.r=a,t.b=o,t.g=o+s):120>n?(t.g=a,t.b=o,t.r=a-s):180>n?(t.g=a,t.r=o,t.b=o+s):240>n?(t.b=a,t.r=o,t.g=a-s):300>n?(t.b=a,t.g=o,t.r=o+s):360>n?(t.r=a,t.g=o,t.b=a-s):(t.r=0,t.g=0,t.b=0)}return{r:Math.round(t.r),g:Math.round(t.g),b:Math.round(t.b)}}function m(t){var n=[t.r.toString(16),t.g.toString(16),t.b.toString(16)];return e.each(n,function(e,t){1===t.length&&(n[e]="0"+t)}),"#"+n.join("")}function _(e){return m(p(e))}function g(e){var t=y(v(e));return 0===t.s&&(t.h=360),t}function y(e){var t={h:0,s:0,b:0},n=Math.min(e.r,e.g,e.b),r=Math.max(e.r,e.g,e.b),i=r-n;return t.b=r,t.s=0!==r?255*i/r:0,t.h=0!==t.s?e.r===r?(e.g-e.b)/i:e.g===r?2+(e.b-e.r)/i:4+(e.r-e.g)/i:-1,t.h*=60,t.h<0&&(t.h+=360),t.s*=100/255,t.b*=100/255,t}function v(e){
|
||
return e=parseInt(e.indexOf("#")>-1?e.substring(1):e,16),{r:e>>16,g:(65280&e)>>8,b:255&e}}e.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",dataUris:!0,defaultValue:"",hide:null,hideSpeed:100,inline:!1,letterCase:"lowercase",opacity:!1,position:"bottom left",show:null,showSpeed:100,theme:"default"}},e.extend(e.fn,{minicolors:function(a,o){switch(a){case"destroy":return e(this).each(function(){n(e(this))}),e(this);case"hide":return i(),e(this);case"opacity":return void 0===o?e(this).attr("data-opacity"):(e(this).each(function(){s(e(this).attr("data-opacity",o))}),e(this));case"rgbObject":return u(e(this));case"rgbString":case"rgbaString":return d(e(this),"rgbaString"===a);case"settings":return void 0===o?e(this).data("minicolors-settings"):(e(this).each(function(){var t=e(this).data("minicolors-settings")||{};n(e(this)),e(this).minicolors(e.extend(!0,t,o))}),e(this));case"show":return r(e(this).eq(0)),e(this);case"value":return void 0===o?e(this).val():(e(this).each(function(){s(e(this).val(o))}),e(this));default:return"create"!==a&&(o=a),e(this).each(function(){t(e(this),o)}),e(this)}}}),e(document).on("mousedown.minicolors touchstart.minicolors",function(t){e(t.target).parents().add(t.target).hasClass("minicolors")||i()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(t){var n=e(this);t.preventDefault(),e(document).data("minicolors-target",n),a(n,t,!0)}).on("mousemove.minicolors touchmove.minicolors",function(t){var n=e(document).data("minicolors-target");n&&a(n,t)}).on("mouseup.minicolors touchend.minicolors",function(){e(this).removeData("minicolors-target")}).on("mousedown.minicolors touchstart.minicolors",".minicolors-swatch",function(t){var n=e(this).parent().find(".minicolors-input");t.preventDefault(),r(n)}).on("focus.minicolors",".minicolors-input",function(){var t=e(this);t.data("minicolors-initialized")&&r(t)}).on("blur.minicolors",".minicolors-input",function(){var t=e(this),n=t.data("minicolors-settings");t.data("minicolors-initialized")&&(t.val(h(t.val(),!0)),""===t.val()&&t.val(h(n.defaultValue,!0)),t.val(c(t.val(),n.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(t){var n=e(this);if(n.data("minicolors-initialized"))switch(t.keyCode){case 9:i();break;case 13:case 27:i(),n.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var t=e(this);t.data("minicolors-initialized")&&s(t,!0)}).on("paste.minicolors",".minicolors-input",function(){var t=e(this);t.data("minicolors-initialized")&&setTimeout(function(){s(t,!0)},1)})}),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.Chart=e()}}(function(){return function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(a)return a(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var d=n[o]={exports:{}};t[o][0].call(d.exports,function(e){var n=t[o][1][e];return i(n||e)},d,d.exports,e,t,n,r)}return n[o].exports}for(var a="function"==typeof require&&require,o=0;o<r.length;o++)i(r[o]);return i}({1:[function(e,t,n){},{}],2:[function(e,t,n){function r(e){if(e){var t=/^#([a-fA-F0-9]{3})$/,n=/^#([a-fA-F0-9]{6})$/,r=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,i=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,a=/(\w+)/,o=[0,0,0],s=1,l=e.match(t);if(l){l=l[1];for(var u=0;u<o.length;u++)o[u]=parseInt(l[u]+l[u],16)}else if(l=e.match(n)){l=l[1];for(var u=0;u<o.length;u++)o[u]=parseInt(l.slice(2*u,2*u+2),16)}else if(l=e.match(r)){for(var u=0;u<o.length;u++)o[u]=parseInt(l[u+1]);s=parseFloat(l[4])}else if(l=e.match(i)){for(var u=0;u<o.length;u++)o[u]=Math.round(2.55*parseFloat(l[u+1]));s=parseFloat(l[4])}else if(l=e.match(a)){if("transparent"==l[1])return[0,0,0,0];if(!(o=b[l[1]]))return}for(var u=0;u<o.length;u++)o[u]=y(o[u],0,255);return s=s||0==s?y(s,0,1):1,o[3]=s,o}}function i(e){if(e){var t=/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=e.match(t);if(n){var r=parseFloat(n[4]);return[y(parseInt(n[1]),0,360),y(parseFloat(n[2]),0,100),y(parseFloat(n[3]),0,100),y(isNaN(r)?1:r,0,1)]}}}function a(e){if(e){var t=/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=e.match(t);if(n){var r=parseFloat(n[4]);return[y(parseInt(n[1]),0,360),y(parseFloat(n[2]),0,100),y(parseFloat(n[3]),0,100),y(isNaN(r)?1:r,0,1)]}}}function o(e){var t=r(e);return t&&t.slice(0,3)}function s(e){var t=i(e);return t&&t.slice(0,3)}function l(e){var t=r(e);return t?t[3]:(t=i(e))?t[3]:(t=a(e))?t[3]:void 0}function u(e){return"#"+v(e[0])+v(e[1])+v(e[2])}function d(e,t){return t<1||e[3]&&e[3]<1?c(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"}function c(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function h(e,t){return t<1||e[3]&&e[3]<1?f(e,t):"rgb("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%)"}function f(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function p(e,t){return t<1||e[3]&&e[3]<1?m(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"}function m(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function _(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"}function g(e){return M[e.slice(0,3)]}function y(e,t,n){return Math.min(Math.max(t,e),n)}function v(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var b=e(6);t.exports={getRgba:r,getHsla:i,getRgb:o,getHsl:s,getHwb:a,getAlpha:l,hexString:u,rgbString:d,rgbaString:c,percentString:h,percentaString:f,hslString:p,hslaString:m,hwbString:_,keyword:g};var M={};for(var w in b)M[b[w]]=w},{6:6}],3:[function(e,t,n){var r=e(5),i=e(2),a=function(e){if(e instanceof a)return e;if(!(this instanceof a))return new a(e);this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1};var t;"string"==typeof e?(t=i.getRgba(e),t?this.setValues("rgb",t):(t=i.getHsla(e))?this.setValues("hsl",t):(t=i.getHwb(e))&&this.setValues("hwb",t)):"object"==typeof e&&(t=e,void 0!==t.r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t))};a.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e%=360,e=e<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return i.hexString(this.values.rgb)},rgbString:function(){return i.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return i.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return i.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return i.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return i.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return i.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return i.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var r=e[n]/255;t[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=this,r=e,i=void 0===t?.5:t,a=2*i-1,o=n.alpha()-r.alpha(),s=((a*o==-1?a:(a+o)/(1+a*o))+1)/2,l=1-s;return this.rgb(s*n.red()+l*r.red(),s*n.green()+l*r.green(),s*n.blue()+l*r.blue()).alpha(n.alpha()*i+r.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new a,r=this.values,i=n.values;for(var o in r)r.hasOwnProperty(o)&&(e=r[o],t={}.toString.call(e),"[object Array]"===t?i[o]=e.slice(0):"[object Number]"===t&&(i[o]=e));return n}},a.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},a.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},a.prototype.getValues=function(e){for(var t=this.values,n={},r=0;r<e.length;r++)n[e.charAt(r)]=t[e][r];return 1!==t.alpha&&(n.a=t.alpha),n},a.prototype.setValues=function(e,t){var n,i=this.values,a=this.spaces,o=this.maxes,s=1;if(this.valid=!0,"alpha"===e)s=t;else if(t.length)i[e]=t.slice(0,e.length),s=t[e.length];else if(void 0!==t[e.charAt(0)]){for(n=0;n<e.length;n++)i[e][n]=t[e.charAt(n)];s=t.a}else if(void 0!==t[a[e][0]]){var l=a[e];for(n=0;n<e.length;n++)i[e][n]=t[l[n]];s=t.alpha}if(i.alpha=Math.max(0,Math.min(1,void 0===s?i.alpha:s)),"alpha"===e)return!1;var u;for(n=0;n<e.length;n++)u=Math.max(0,Math.min(o[e][n],i[e][n])),i[e][n]=Math.round(u);for(var d in a)d!==e&&(i[d]=r[e][d](i[e]));return!0},a.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},a.prototype.setChannel=function(e,t,n){var r=this.values[e];return void 0===n?r[t]:n===r[t]?this:(r[t]=n,this.setValues(e,r),this)},"undefined"!=typeof window&&(window.Color=a),t.exports=a},{2:2,5:5}],4:[function(e,t,n){function i(e){var t,n,r,i=e[0]/255,a=e[1]/255,o=e[2]/255,s=Math.min(i,a,o),l=Math.max(i,a,o),u=l-s;return l==s?t=0:i==l?t=(a-o)/u:a==l?t=2+(o-i)/u:o==l&&(t=4+(i-a)/u),t=Math.min(60*t,360),t<0&&(t+=360),r=(s+l)/2,n=l==s?0:r<=.5?u/(l+s):u/(2-l-s),[t,100*n,100*r]}function a(e){var t,n,r,i=e[0],a=e[1],o=e[2],s=Math.min(i,a,o),l=Math.max(i,a,o),u=l-s;return n=0==l?0:u/l*1e3/10,l==s?t=0:i==l?t=(a-o)/u:a==l?t=2+(o-i)/u:o==l&&(t=4+(i-a)/u),t=Math.min(60*t,360),t<0&&(t+=360),r=l/255*1e3/10,[t,n,r]}function o(e){var t=e[0],n=e[1],r=e[2],a=i(e)[0],o=1/255*Math.min(t,Math.min(n,r)),r=1-1/255*Math.max(t,Math.max(n,r));return[a,100*o,100*r]}function s(e){var t,n,r,i,a=e[0]/255,o=e[1]/255,s=e[2]/255;return i=Math.min(1-a,1-o,1-s),t=(1-a-i)/(1-i)||0,n=(1-o-i)/(1-i)||0,r=(1-s-i)/(1-i)||0,[100*t,100*n,100*r,100*i]}function l(e){return Z[JSON.stringify(e)]}function u(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function d(e){var t,n,r,i=u(e),a=i[0],o=i[1],s=i[2];return a/=95.047,o/=100,s/=108.883,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,t=116*o-16,n=500*(a-o),r=200*(o-s),[t,n,r]}function c(e){return F(d(e))}function h(e){var t,n,r,i,a,o=e[0]/360,s=e[1]/100,l=e[2]/100;if(0==s)return a=255*l,[a,a,a];n=l<.5?l*(1+s):l+s-l*s,t=2*l-n,i=[0,0,0];for(var u=0;u<3;u++)r=o+1/3*-(u-1),r<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[u]=255*a;return i}function f(e){var t,n,r=e[0],i=e[1]/100,a=e[2]/100;return 0===a?[0,0,0]:(a*=2,i*=a<=1?a:2-a,n=(a+i)/2,t=2*i/(a+i),[r,100*t,100*n])}function p(e){return o(h(e))}function m(e){return s(h(e))}function _(e){return l(h(e))}function y(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*a),l=255*r*(1-n*(1-a)),r=255*r;switch(i){case 0:return[r,l,o];case 1:return[s,r,o];case 2:return[o,r,l];case 3:return[o,s,r];case 4:return[l,o,r];case 5:return[r,o,s]}}function v(e){var t,n,r=e[0],i=e[1]/100,a=e[2]/100;return n=(2-i)*a,t=i*a,t/=n<=1?n:2-n,t=t||0,n/=2,[r,100*t,100*n]}function M(e){return o(y(e))}function w(e){return s(y(e))}function x(e){return l(y(e))}function k(e){var t,n,i,a,o=e[0]/360,s=e[1]/100,l=e[2]/100,u=s+l;switch(u>1&&(s/=u,l/=u),t=Math.floor(6*o),n=1-l,i=6*o-t,0!=(1&t)&&(i=1-i),a=s+i*(n-s),t){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function L(e){return i(k(e))}function D(e){return a(k(e))}function Y(e){return s(k(e))}function T(e){return l(k(e))}function S(e){var t,n,r,i=e[0]/100,a=e[1]/100,o=e[2]/100,s=e[3]/100;return t=1-Math.min(1,i*(1-s)+s),n=1-Math.min(1,a*(1-s)+s),r=1-Math.min(1,o*(1-s)+s),[255*t,255*n,255*r]}function C(e){return i(S(e))}function j(e){return a(S(e))}function H(e){return o(S(e))}function O(e){return l(S(e))}function A(e){var t,n,r,i=e[0]/100,a=e[1]/100,o=e[2]/100;return t=3.2406*i+-1.5372*a+-.4986*o,n=-.9689*i+1.8758*a+.0415*o,r=.0557*i+-.204*a+1.057*o,t=t>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,t=Math.min(Math.max(0,t),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*t,255*n,255*r]}function P(e){var t,n,r,i=e[0],a=e[1],o=e[2];return i/=95.047,a/=100,o/=108.883,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,t=116*a-16,n=500*(i-a),r=200*(a-o),[t,n,r]}function E(e){return F(P(e))}function I(e){var t,n,r,i,a=e[0],o=e[1],s=e[2];return a<=8?(n=100*a/903.3,i=n/100*7.787+16/116):(n=100*Math.pow((a+16)/116,3),i=Math.pow(n/100,1/3)),t=t/95.047<=.008856?t=95.047*(o/500+i-16/116)/7.787:95.047*Math.pow(o/500+i,3),r=r/108.883<=.008859?r=108.883*(i-s/200-16/116)/7.787:108.883*Math.pow(i-s/200,3),[t,n,r]}function F(e){var t,n,r,i=e[0],a=e[1],o=e[2];return t=Math.atan2(o,a),n=360*t/2/Math.PI,n<0&&(n+=360),r=Math.sqrt(a*a+o*o),[i,r,n]}function W(e){return A(I(e))}function R(e){var t,n,r,i=e[0],a=e[1];return r=e[2]/360*2*Math.PI,t=a*Math.cos(r),n=a*Math.sin(r),[i,t,n]}function N(e){return I(R(e))}function z(e){return W(R(e))}function B(e){return X[e]}function $(e){return i(B(e))}function V(e){return a(B(e))}function q(e){return o(B(e))}function U(e){return s(B(e))}function J(e){return d(B(e))}function G(e){return u(B(e))}t.exports={rgb2hsl:i,rgb2hsv:a,rgb2hwb:o,rgb2cmyk:s,rgb2keyword:l,rgb2xyz:u,rgb2lab:d,rgb2lch:c,hsl2rgb:h,hsl2hsv:f,hsl2hwb:p,hsl2cmyk:m,hsl2keyword:_,hsv2rgb:y,hsv2hsl:v,hsv2hwb:M,hsv2cmyk:w,hsv2keyword:x,hwb2rgb:k,hwb2hsl:L,hwb2hsv:D,hwb2cmyk:Y,hwb2keyword:T,cmyk2rgb:S,cmyk2hsl:C,cmyk2hsv:j,cmyk2hwb:H,cmyk2keyword:O,keyword2rgb:B,keyword2hsl:$,keyword2hsv:V,keyword2hwb:q,keyword2cmyk:U,keyword2lab:J,keyword2xyz:G,xyz2rgb:A,xyz2lab:P,xyz2lch:E,lab2xyz:I,lab2rgb:W,lab2lch:F,lch2lab:R,lch2xyz:N,lch2rgb:z};var X={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Z={};for(var K in X)Z[JSON.stringify(X[K])]=K},{}],5:[function(e,t,n){var r=e(4),i=function(){return new u};for(var a in r){i[a+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(a);var o=/(\w+)2(\w+)/.exec(a),s=o[1],l=o[2];i[s]=i[s]||{},i[s][l]=i[a]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var i=0;i<n.length;i++)n[i]=Math.round(n[i]);return n}}(a)}var u=function(){this.convs={}};u.prototype.routeSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n))},u.prototype.setValues=function(e,t){return this.space=e,this.convs={},this.convs[e]=t,this},u.prototype.getValues=function(e){var t=this.convs[e];if(!t){var n=this.space,r=this.convs[n];t=i[n][e](r),this.convs[e]=t}return t},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(e){u.prototype[e]=function(t){return this.routeSpace(e,arguments)}}),t.exports=i},{4:4}],6:[function(e,t,n){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],7:[function(e,t,n){var r=e(28)();e(26)(r),e(40)(r),e(22)(r),e(25)(r),e(30)(r),e(21)(r),e(23)(r),e(24)(r),e(29)(r),e(32)(r),e(33)(r),e(31)(r),e(27)(r),e(34)(r),e(35)(r),e(36)(r),e(37)(r),e(38)(r),e(46)(r),e(44)(r),e(45)(r),e(47)(r),e(48)(r),e(49)(r),e(15)(r),e(16)(r),e(17)(r),e(18)(r),e(19)(r),e(20)(r),e(8)(r),e(9)(r),e(10)(r),e(11)(r),e(12)(r),e(13)(r),e(14)(r);var i=[];i.push(e(41)(r),e(42)(r),e(43)(r)),r.plugins.register(i),t.exports=r,"undefined"!=typeof window&&(window.Chart=r)},{10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30,31:31,32:32,33:33,34:34,35:35,36:36,37:37,38:38,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,8:8,9:9}],8:[function(e,t,n){"use strict";t.exports=function(e){e.Bar=function(t,n){return n.type="bar",new e(t,n)}}},{}],9:[function(e,t,n){"use strict";t.exports=function(e){e.Bubble=function(t,n){return n.type="bubble",new e(t,n)}}},{}],10:[function(e,t,n){"use strict";t.exports=function(e){e.Doughnut=function(t,n){return n.type="doughnut",new e(t,n)}}},{}],11:[function(e,t,n){"use strict";t.exports=function(e){e.Line=function(t,n){return n.type="line",new e(t,n)}}},{}],12:[function(e,t,n){"use strict";t.exports=function(e){e.PolarArea=function(t,n){return n.type="polarArea",new e(t,n)}}},{}],13:[function(e,t,n){"use strict";t.exports=function(e){e.Radar=function(t,n){return n.type="radar",new e(t,n)}}},{}],14:[function(e,t,n){"use strict";t.exports=function(e){var t={hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-1"}],yAxes:[{type:"linear",position:"left",id:"y-axis-1"}]},tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}};e.defaults.scatter=t,e.controllers.scatter=e.controllers.line,e.Scatter=function(t,n){return n.type="scatter",new e(t,n)}}},{}],15:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.bar={hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}},e.controllers.bar=e.DatasetController.extend({dataElementType:e.elements.Rectangle,initialize:function(){var t,n=this;e.DatasetController.prototype.initialize.apply(n,arguments),t=n.getMeta(),t.stack=n.getDataset().stack,t.bar=!0},update:function(e){var t,n,r=this,i=r.getMeta().data;for(r._ruler=r.getRuler(),t=0,n=i.length;t<n;++t)r.updateElement(i[t],t,e)},updateElement:function(e,n,r){var i=this,a=i.chart,o=i.getMeta(),s=i.getDataset(),l=e.custom||{},u=a.options.elements.rectangle;e._xScale=i.getScaleForId(o.xAxisID),e._yScale=i.getScaleForId(o.yAxisID),e._datasetIndex=i.index,e._index=n,e._model={datasetLabel:s.label,label:a.data.labels[n],borderSkipped:l.borderSkipped?l.borderSkipped:u.borderSkipped,backgroundColor:l.backgroundColor?l.backgroundColor:t.getValueAtIndexOrDefault(s.backgroundColor,n,u.backgroundColor),borderColor:l.borderColor?l.borderColor:t.getValueAtIndexOrDefault(s.borderColor,n,u.borderColor),borderWidth:l.borderWidth?l.borderWidth:t.getValueAtIndexOrDefault(s.borderWidth,n,u.borderWidth)},i.updateElementGeometry(e,n,r),e.pivot()},updateElementGeometry:function(e,t,n){var r=this,i=e._model,a=r.getValueScale(),o=a.getBasePixel(),s=a.isHorizontal(),l=r._ruler||r.getRuler(),u=r.calculateBarValuePixels(r.index,t),d=r.calculateBarIndexPixels(r.index,t,l);i.horizontal=s,i.base=n?o:u.base,i.x=s?n?o:u.head:d.center,i.y=s?d.center:n?o:u.head,i.height=s?d.size:void 0,i.width=s?void 0:d.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},getStackCount:function(e){var t,n,r=this,i=r.chart,a=r.getIndexScale(),o=a.options.stacked,s=void 0===e?i.data.datasets.length:e+1,l=[];for(t=0;t<s;++t)n=i.getDatasetMeta(t),n.bar&&i.isDatasetVisible(t)&&(!1===o||!0===o&&-1===l.indexOf(n.stack)||void 0===o&&(void 0===n.stack||-1===l.indexOf(n.stack)))&&l.push(n.stack);return l.length},getStackIndex:function(e){return this.getStackCount(e)-1},getRuler:function(){var e=this,n=e.getIndexScale(),r=n.options,i=e.getStackCount(),a=n.isHorizontal()?n.width:n.height,o=a/n.ticks.length,s=o*r.categoryPercentage,l=s/i,u=l*r.barPercentage;return u=Math.min(t.getValueOrDefault(r.barThickness,u),t.getValueOrDefault(r.maxBarThickness,1/0)),{stackCount:i,tickSize:o,categorySize:s,categorySpacing:o-s,fullBarSize:l,barSize:u,barSpacing:l-u,scale:n}},calculateBarValuePixels:function(e,t){var n,r,i,a,o,s,l=this,u=l.chart,d=l.getMeta(),c=l.getValueScale(),h=u.data.datasets,f=Number(h[e].data[t]),p=c.options.stacked,m=d.stack,_=0;if(p||void 0===p&&void 0!==m)for(n=0;n<e;++n)r=u.getDatasetMeta(n),r.bar&&r.stack===m&&r.controller.getValueScaleId()===c.id&&u.isDatasetVisible(n)&&(i=Number(h[n].data[t]),(f<0&&i<0||f>=0&&i>0)&&(_+=i));return a=c.getPixelForValue(_),o=c.getPixelForValue(_+f),s=(o-a)/2,{size:s,base:a,head:o,center:o+s/2}},calculateBarIndexPixels:function(e,t,n){var r=this,i=n.scale,a=r.chart.isCombo,o=r.getStackIndex(e),s=i.getPixelForValue(null,t,e,a),l=n.barSize;return s-=a?n.tickSize/2:0,s+=n.fullBarSize*o,s+=n.categorySpacing/2,s+=n.barSpacing/2,{size:l,base:s,head:s+l,center:s+l/2}},draw:function(){var e,n=this,r=n.chart,i=n.getMeta().data,a=n.getDataset(),o=i.length,s=0;for(t.canvas.clipArea(r.ctx,r.chartArea);s<o;++s)null===(e=a.data[s])||void 0===e||isNaN(e)||i[s].draw();t.canvas.unclipArea(r.ctx)},setHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],r=e._index,i=e.custom||{},a=e._model;a.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:t.getValueAtIndexOrDefault(n.hoverBackgroundColor,r,t.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor?i.hoverBorderColor:t.getValueAtIndexOrDefault(n.hoverBorderColor,r,t.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:t.getValueAtIndexOrDefault(n.hoverBorderWidth,r,a.borderWidth)},removeHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],r=e._index,i=e.custom||{},a=e._model,o=this.chart.options.elements.rectangle
|
||
;a.backgroundColor=i.backgroundColor?i.backgroundColor:t.getValueAtIndexOrDefault(n.backgroundColor,r,o.backgroundColor),a.borderColor=i.borderColor?i.borderColor:t.getValueAtIndexOrDefault(n.borderColor,r,o.borderColor),a.borderWidth=i.borderWidth?i.borderWidth:t.getValueAtIndexOrDefault(n.borderWidth,r,o.borderWidth)}}),e.defaults.horizontalBar={hover:{mode:"label"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(e,t){var n="";return e.length>0&&(e[0].yLabel?n=e[0].yLabel:t.labels.length>0&&e[0].index<t.labels.length&&(n=t.labels[e[0].index])),n},label:function(e,t){return(t.datasets[e.datasetIndex].label||"")+": "+e.xLabel}}}},e.controllers.horizontalBar=e.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},{}],16:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.bubble={hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.datasets[e.datasetIndex].label||"",r=t.datasets[e.datasetIndex].data[e.index];return n+": ("+e.xLabel+", "+e.yLabel+", "+r.r+")"}}}},e.controllers.bubble=e.DatasetController.extend({dataElementType:e.elements.Point,update:function(e){var n=this,r=n.getMeta(),i=r.data;t.each(i,function(t,r){n.updateElement(t,r,e)})},updateElement:function(n,r,i){var a=this,o=a.getMeta(),s=a.getScaleForId(o.xAxisID),l=a.getScaleForId(o.yAxisID),u=n.custom||{},d=a.getDataset(),c=d.data[r],h=a.chart.options.elements.point,f=a.index;t.extend(n,{_xScale:s,_yScale:l,_datasetIndex:f,_index:r,_model:{x:i?s.getPixelForDecimal(.5):s.getPixelForValue("object"==typeof c?c:NaN,r,f,a.chart.isCombo),y:i?l.getBasePixel():l.getPixelForValue(c,r,f),radius:i?0:u.radius?u.radius:a.getRadius(c),hitRadius:u.hitRadius?u.hitRadius:t.getValueAtIndexOrDefault(d.hitRadius,r,h.hitRadius)}}),e.DatasetController.prototype.removeHoverStyle.call(a,n,h);var p=n._model;p.skip=u.skip?u.skip:isNaN(p.x)||isNaN(p.y),n.pivot()},getRadius:function(e){return e.r||this.chart.options.elements.point.radius},setHoverStyle:function(n){var r=this;e.DatasetController.prototype.setHoverStyle.call(r,n);var i=r.chart.data.datasets[n._datasetIndex],a=n._index,o=n.custom||{};n._model.radius=o.hoverRadius?o.hoverRadius:t.getValueAtIndexOrDefault(i.hoverRadius,a,r.chart.options.elements.point.hoverRadius)+r.getRadius(i.data[a])},removeHoverStyle:function(t){var n=this;e.DatasetController.prototype.removeHoverStyle.call(n,t,n.chart.options.elements.point);var r=n.chart.data.datasets[t._datasetIndex].data[t._index],i=t.custom||{};t._model.radius=i.radius?i.radius:n.getRadius(r)}})}},{}],17:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.defaults;n.doughnut={animation:{animateRotate:!0,animateScale:!1},aspectRatio:1,hover:{mode:"single"},legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');var n=e.data,r=n.datasets,i=n.labels;if(r.length)for(var a=0;a<r[0].data.length;++a)t.push('<li><span style="background-color:'+r[0].backgroundColor[a]+'"></span>'),i[a]&&t.push(i[a]),t.push("</li>");return t.push("</ul>"),t.join("")},legend:{labels:{generateLabels:function(e){var n=e.data;return n.labels.length&&n.datasets.length?n.labels.map(function(r,i){var a=e.getDatasetMeta(0),o=n.datasets[0],s=a.data[i],l=s&&s.custom||{},u=t.getValueAtIndexOrDefault,d=e.options.elements.arc;return{text:r,fillStyle:l.backgroundColor?l.backgroundColor:u(o.backgroundColor,i,d.backgroundColor),strokeStyle:l.borderColor?l.borderColor:u(o.borderColor,i,d.borderColor),lineWidth:l.borderWidth?l.borderWidth:u(o.borderWidth,i,d.borderWidth),hidden:isNaN(o.data[i])||a.data[i].hidden,index:i}}):[]}},onClick:function(e,t){var n,r,i,a=t.index,o=this.chart;for(n=0,r=(o.data.datasets||[]).length;n<r;++n)i=o.getDatasetMeta(n),i.data[a]&&(i.data[a].hidden=!i.data[a].hidden);o.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(e,n){var r=n.labels[e.index],i=": "+n.datasets[e.datasetIndex].data[e.index];return t.isArray(r)?(r=r.slice(),r[0]+=i):r+=i,r}}}},n.pie=t.clone(n.doughnut),t.extend(n.pie,{cutoutPercentage:0}),e.controllers.doughnut=e.controllers.pie=e.DatasetController.extend({dataElementType:e.elements.Arc,linkScales:t.noop,getRingIndex:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(e){var n=this,r=n.chart,i=r.chartArea,a=r.options,o=a.elements.arc,s=i.right-i.left-o.borderWidth,l=i.bottom-i.top-o.borderWidth,u=Math.min(s,l),d={x:0,y:0},c=n.getMeta(),h=a.cutoutPercentage,f=a.circumference;if(f<2*Math.PI){var p=a.rotation%(2*Math.PI);p+=2*Math.PI*(p>=Math.PI?-1:p<-Math.PI?1:0);var m=p+f,_={x:Math.cos(p),y:Math.sin(p)},g={x:Math.cos(m),y:Math.sin(m)},y=p<=0&&0<=m||p<=2*Math.PI&&2*Math.PI<=m,v=p<=.5*Math.PI&&.5*Math.PI<=m||p<=2.5*Math.PI&&2.5*Math.PI<=m,b=p<=-Math.PI&&-Math.PI<=m||p<=Math.PI&&Math.PI<=m,M=p<=.5*-Math.PI&&.5*-Math.PI<=m||p<=1.5*Math.PI&&1.5*Math.PI<=m,w=h/100,x={x:b?-1:Math.min(_.x*(_.x<0?1:w),g.x*(g.x<0?1:w)),y:M?-1:Math.min(_.y*(_.y<0?1:w),g.y*(g.y<0?1:w))},k={x:y?1:Math.max(_.x*(_.x>0?1:w),g.x*(g.x>0?1:w)),y:v?1:Math.max(_.y*(_.y>0?1:w),g.y*(g.y>0?1:w))},L={width:.5*(k.x-x.x),height:.5*(k.y-x.y)};u=Math.min(s/L.width,l/L.height),d={x:-.5*(k.x+x.x),y:-.5*(k.y+x.y)}}r.borderWidth=n.getMaxBorderWidth(c.data),r.outerRadius=Math.max((u-r.borderWidth)/2,0),r.innerRadius=Math.max(h?r.outerRadius/100*h:0,0),r.radiusLength=(r.outerRadius-r.innerRadius)/r.getVisibleDatasetCount(),r.offsetX=d.x*r.outerRadius,r.offsetY=d.y*r.outerRadius,c.total=n.calculateTotal(),n.outerRadius=r.outerRadius-r.radiusLength*n.getRingIndex(n.index),n.innerRadius=Math.max(n.outerRadius-r.radiusLength,0),t.each(c.data,function(t,r){n.updateElement(t,r,e)})},updateElement:function(e,n,r){var i=this,a=i.chart,o=a.chartArea,s=a.options,l=s.animation,u=(o.left+o.right)/2,d=(o.top+o.bottom)/2,c=s.rotation,h=s.rotation,f=i.getDataset(),p=r&&l.animateRotate?0:e.hidden?0:i.calculateCircumference(f.data[n])*(s.circumference/(2*Math.PI)),m=r&&l.animateScale?0:i.innerRadius,_=r&&l.animateScale?0:i.outerRadius,g=t.getValueAtIndexOrDefault;t.extend(e,{_datasetIndex:i.index,_index:n,_model:{x:u+a.offsetX,y:d+a.offsetY,startAngle:c,endAngle:h,circumference:p,outerRadius:_,innerRadius:m,label:g(f.label,n,a.data.labels[n])}});var y=e._model;this.removeHoverStyle(e),r&&l.animateRotate||(y.startAngle=0===n?s.rotation:i.getMeta().data[n-1]._model.endAngle,y.endAngle=y.startAngle+y.circumference),e.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},calculateTotal:function(){var e,n=this.getDataset(),r=this.getMeta(),i=0;return t.each(r.data,function(t,r){e=n.data[r],isNaN(e)||t.hidden||(i+=Math.abs(e))}),i},calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?2*Math.PI*(e/t):0},getMaxBorderWidth:function(e){for(var t,n,r=0,i=this.index,a=e.length,o=0;o<a;o++)t=e[o]._model?e[o]._model.borderWidth:0,n=e[o]._chart?e[o]._chart.config.data.datasets[i].hoverBorderWidth:0,r=t>r?t:r,r=n>r?n:r;return r}})}},{}],18:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){return n.getValueOrDefault(e.showLine,t.showLines)}var n=e.helpers;e.defaults.line={showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}},e.controllers.line=e.DatasetController.extend({datasetElementType:e.elements.Line,dataElementType:e.elements.Point,update:function(e){var r,i,a,o=this,s=o.getMeta(),l=s.dataset,u=s.data||[],d=o.chart.options,c=d.elements.line,h=o.getScaleForId(s.yAxisID),f=o.getDataset(),p=t(f,d);for(p&&(a=l.custom||{},void 0!==f.tension&&void 0===f.lineTension&&(f.lineTension=f.tension),l._scale=h,l._datasetIndex=o.index,l._children=u,l._model={spanGaps:f.spanGaps?f.spanGaps:d.spanGaps,tension:a.tension?a.tension:n.getValueOrDefault(f.lineTension,c.tension),backgroundColor:a.backgroundColor?a.backgroundColor:f.backgroundColor||c.backgroundColor,borderWidth:a.borderWidth?a.borderWidth:f.borderWidth||c.borderWidth,borderColor:a.borderColor?a.borderColor:f.borderColor||c.borderColor,borderCapStyle:a.borderCapStyle?a.borderCapStyle:f.borderCapStyle||c.borderCapStyle,borderDash:a.borderDash?a.borderDash:f.borderDash||c.borderDash,borderDashOffset:a.borderDashOffset?a.borderDashOffset:f.borderDashOffset||c.borderDashOffset,borderJoinStyle:a.borderJoinStyle?a.borderJoinStyle:f.borderJoinStyle||c.borderJoinStyle,fill:a.fill?a.fill:void 0!==f.fill?f.fill:c.fill,steppedLine:a.steppedLine?a.steppedLine:n.getValueOrDefault(f.steppedLine,c.stepped),cubicInterpolationMode:a.cubicInterpolationMode?a.cubicInterpolationMode:n.getValueOrDefault(f.cubicInterpolationMode,c.cubicInterpolationMode)},l.pivot()),r=0,i=u.length;r<i;++r)o.updateElement(u[r],r,e);for(p&&0!==l._model.tension&&o.updateBezierControlPoints(),r=0,i=u.length;r<i;++r)u[r].pivot()},getPointBackgroundColor:function(e,t){var r=this.chart.options.elements.point.backgroundColor,i=this.getDataset(),a=e.custom||{};return a.backgroundColor?r=a.backgroundColor:i.pointBackgroundColor?r=n.getValueAtIndexOrDefault(i.pointBackgroundColor,t,r):i.backgroundColor&&(r=i.backgroundColor),r},getPointBorderColor:function(e,t){var r=this.chart.options.elements.point.borderColor,i=this.getDataset(),a=e.custom||{};return a.borderColor?r=a.borderColor:i.pointBorderColor?r=n.getValueAtIndexOrDefault(i.pointBorderColor,t,r):i.borderColor&&(r=i.borderColor),r},getPointBorderWidth:function(e,t){var r=this.chart.options.elements.point.borderWidth,i=this.getDataset(),a=e.custom||{};return isNaN(a.borderWidth)?isNaN(i.pointBorderWidth)?isNaN(i.borderWidth)||(r=i.borderWidth):r=n.getValueAtIndexOrDefault(i.pointBorderWidth,t,r):r=a.borderWidth,r},updateElement:function(e,t,r){var i,a,o=this,s=o.getMeta(),l=e.custom||{},u=o.getDataset(),d=o.index,c=u.data[t],h=o.getScaleForId(s.yAxisID),f=o.getScaleForId(s.xAxisID),p=o.chart.options.elements.point,m=o.chart.data.labels||[],_=1===m.length||1===u.data.length||o.chart.isCombo;void 0!==u.radius&&void 0===u.pointRadius&&(u.pointRadius=u.radius),void 0!==u.hitRadius&&void 0===u.pointHitRadius&&(u.pointHitRadius=u.hitRadius),i=f.getPixelForValue("object"==typeof c?c:NaN,t,d,_),a=r?h.getBasePixel():o.calculatePointY(c,t,d),e._xScale=f,e._yScale=h,e._datasetIndex=d,e._index=t,e._model={x:i,y:a,skip:l.skip||isNaN(i)||isNaN(a),radius:l.radius||n.getValueAtIndexOrDefault(u.pointRadius,t,p.radius),pointStyle:l.pointStyle||n.getValueAtIndexOrDefault(u.pointStyle,t,p.pointStyle),backgroundColor:o.getPointBackgroundColor(e,t),borderColor:o.getPointBorderColor(e,t),borderWidth:o.getPointBorderWidth(e,t),tension:s.dataset._model?s.dataset._model.tension:0,steppedLine:!!s.dataset._model&&s.dataset._model.steppedLine,hitRadius:l.hitRadius||n.getValueAtIndexOrDefault(u.pointHitRadius,t,p.hitRadius)}},calculatePointY:function(e,t,n){var r,i,a,o=this,s=o.chart,l=o.getMeta(),u=o.getScaleForId(l.yAxisID),d=0,c=0;if(u.options.stacked){for(r=0;r<n;r++)if(i=s.data.datasets[r],a=s.getDatasetMeta(r),"line"===a.type&&a.yAxisID===u.id&&s.isDatasetVisible(r)){var h=Number(u.getRightValue(i.data[t]));h<0?c+=h||0:d+=h||0}var f=Number(u.getRightValue(e));return f<0?u.getPixelForValue(c+f):u.getPixelForValue(d+f)}return u.getPixelForValue(e)},updateBezierControlPoints:function(){function e(e,t,n){return Math.max(Math.min(e,n),t)}var t,r,i,a,o,s=this,l=s.getMeta(),u=s.chart.chartArea,d=l.data||[];if(l.dataset._model.spanGaps&&(d=d.filter(function(e){return!e._model.skip})),"monotone"===l.dataset._model.cubicInterpolationMode)n.splineCurveMonotone(d);else for(t=0,r=d.length;t<r;++t)i=d[t],a=i._model,o=n.splineCurve(n.previousItem(d,t)._model,a,n.nextItem(d,t)._model,l.dataset._model.tension),a.controlPointPreviousX=o.previous.x,a.controlPointPreviousY=o.previous.y,a.controlPointNextX=o.next.x,a.controlPointNextY=o.next.y;if(s.chart.options.elements.line.capBezierPoints)for(t=0,r=d.length;t<r;++t)a=d[t]._model,a.controlPointPreviousX=e(a.controlPointPreviousX,u.left,u.right),a.controlPointPreviousY=e(a.controlPointPreviousY,u.top,u.bottom),a.controlPointNextX=e(a.controlPointNextX,u.left,u.right),a.controlPointNextY=e(a.controlPointNextY,u.top,u.bottom)},draw:function(){var n=this,r=n.chart,i=n.getMeta(),a=i.data||[],o=r.chartArea,s=a.length,l=0;for(e.canvasHelpers.clipArea(r.ctx,o),t(n.getDataset(),r.options)&&i.dataset.draw(),e.canvasHelpers.unclipArea(r.ctx);l<s;++l)a[l].draw(o)},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],r=e._index,i=e.custom||{},a=e._model;a.radius=i.hoverRadius||n.getValueAtIndexOrDefault(t.pointHoverRadius,r,this.chart.options.elements.point.hoverRadius),a.backgroundColor=i.hoverBackgroundColor||n.getValueAtIndexOrDefault(t.pointHoverBackgroundColor,r,n.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor||n.getValueAtIndexOrDefault(t.pointHoverBorderColor,r,n.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth||n.getValueAtIndexOrDefault(t.pointHoverBorderWidth,r,a.borderWidth)},removeHoverStyle:function(e){var t=this,r=t.chart.data.datasets[e._datasetIndex],i=e._index,a=e.custom||{},o=e._model;void 0!==r.radius&&void 0===r.pointRadius&&(r.pointRadius=r.radius),o.radius=a.radius||n.getValueAtIndexOrDefault(r.pointRadius,i,t.chart.options.elements.point.radius),o.backgroundColor=t.getPointBackgroundColor(e,i),o.borderColor=t.getPointBorderColor(e,i),o.borderWidth=t.getPointBorderWidth(e,i)}})}},{}],19:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.polarArea={scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,aspectRatio:1,legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');var n=e.data,r=n.datasets,i=n.labels;if(r.length)for(var a=0;a<r[0].data.length;++a)t.push('<li><span style="background-color:'+r[0].backgroundColor[a]+'"></span>'),i[a]&&t.push(i[a]),t.push("</li>");return t.push("</ul>"),t.join("")},legend:{labels:{generateLabels:function(e){var n=e.data;return n.labels.length&&n.datasets.length?n.labels.map(function(r,i){var a=e.getDatasetMeta(0),o=n.datasets[0],s=a.data[i],l=s.custom||{},u=t.getValueAtIndexOrDefault,d=e.options.elements.arc;return{text:r,fillStyle:l.backgroundColor?l.backgroundColor:u(o.backgroundColor,i,d.backgroundColor),strokeStyle:l.borderColor?l.borderColor:u(o.borderColor,i,d.borderColor),lineWidth:l.borderWidth?l.borderWidth:u(o.borderWidth,i,d.borderWidth),hidden:isNaN(o.data[i])||a.data[i].hidden,index:i}}):[]}},onClick:function(e,t){var n,r,i,a=t.index,o=this.chart;for(n=0,r=(o.data.datasets||[]).length;n<r;++n)i=o.getDatasetMeta(n),i.data[a].hidden=!i.data[a].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}},e.controllers.polarArea=e.DatasetController.extend({dataElementType:e.elements.Arc,linkScales:t.noop,update:function(e){var n=this,r=n.chart,i=r.chartArea,a=n.getMeta(),o=r.options,s=o.elements.arc,l=Math.min(i.right-i.left,i.bottom-i.top);r.outerRadius=Math.max((l-s.borderWidth/2)/2,0),r.innerRadius=Math.max(o.cutoutPercentage?r.outerRadius/100*o.cutoutPercentage:1,0),r.radiusLength=(r.outerRadius-r.innerRadius)/r.getVisibleDatasetCount(),n.outerRadius=r.outerRadius-r.radiusLength*n.index,n.innerRadius=n.outerRadius-r.radiusLength,a.count=n.countVisibleElements(),t.each(a.data,function(t,r){n.updateElement(t,r,e)})},updateElement:function(e,n,r){for(var i=this,a=i.chart,o=i.getDataset(),s=a.options,l=s.animation,u=a.scale,d=t.getValueAtIndexOrDefault,c=a.data.labels,h=i.calculateCircumference(o.data[n]),f=u.xCenter,p=u.yCenter,m=0,_=i.getMeta(),g=0;g<n;++g)isNaN(o.data[g])||_.data[g].hidden||++m;var y=s.startAngle,v=e.hidden?0:u.getDistanceFromCenterForValue(o.data[n]),b=y+h*m,M=b+(e.hidden?0:h),w=l.animateScale?0:u.getDistanceFromCenterForValue(o.data[n]);t.extend(e,{_datasetIndex:i.index,_index:n,_scale:u,_model:{x:f,y:p,innerRadius:0,outerRadius:r?w:v,startAngle:r&&l.animateRotate?y:b,endAngle:r&&l.animateRotate?y:M,label:d(c,n,c[n])}}),i.removeHoverStyle(e),e.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},countVisibleElements:function(){var e=this.getDataset(),n=this.getMeta(),r=0;return t.each(n.data,function(t,n){isNaN(e.data[n])||t.hidden||r++}),r},calculateCircumference:function(e){var t=this.getMeta().count;return t>0&&!isNaN(e)?2*Math.PI/t:0}})}},{}],20:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.radar={aspectRatio:1,scale:{type:"radialLinear"},elements:{line:{tension:0}}},e.controllers.radar=e.DatasetController.extend({datasetElementType:e.elements.Line,dataElementType:e.elements.Point,linkScales:t.noop,update:function(e){var n=this,r=n.getMeta(),i=r.dataset,a=r.data,o=i.custom||{},s=n.getDataset(),l=n.chart.options.elements.line,u=n.chart.scale;void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),t.extend(r.dataset,{_datasetIndex:n.index,_scale:u,_children:a,_loop:!0,_model:{tension:o.tension?o.tension:t.getValueOrDefault(s.lineTension,l.tension),backgroundColor:o.backgroundColor?o.backgroundColor:s.backgroundColor||l.backgroundColor,borderWidth:o.borderWidth?o.borderWidth:s.borderWidth||l.borderWidth,borderColor:o.borderColor?o.borderColor:s.borderColor||l.borderColor,fill:o.fill?o.fill:void 0!==s.fill?s.fill:l.fill,borderCapStyle:o.borderCapStyle?o.borderCapStyle:s.borderCapStyle||l.borderCapStyle,borderDash:o.borderDash?o.borderDash:s.borderDash||l.borderDash,borderDashOffset:o.borderDashOffset?o.borderDashOffset:s.borderDashOffset||l.borderDashOffset,borderJoinStyle:o.borderJoinStyle?o.borderJoinStyle:s.borderJoinStyle||l.borderJoinStyle}}),r.dataset.pivot(),t.each(a,function(t,r){n.updateElement(t,r,e)},n),n.updateBezierControlPoints()},updateElement:function(e,n,r){var i=this,a=e.custom||{},o=i.getDataset(),s=i.chart.scale,l=i.chart.options.elements.point,u=s.getPointPositionForValue(n,o.data[n]);void 0!==o.radius&&void 0===o.pointRadius&&(o.pointRadius=o.radius),void 0!==o.hitRadius&&void 0===o.pointHitRadius&&(o.pointHitRadius=o.hitRadius),t.extend(e,{_datasetIndex:i.index,_index:n,_scale:s,_model:{x:r?s.xCenter:u.x,y:r?s.yCenter:u.y,tension:a.tension?a.tension:t.getValueOrDefault(o.lineTension,i.chart.options.elements.line.tension),radius:a.radius?a.radius:t.getValueAtIndexOrDefault(o.pointRadius,n,l.radius),backgroundColor:a.backgroundColor?a.backgroundColor:t.getValueAtIndexOrDefault(o.pointBackgroundColor,n,l.backgroundColor),borderColor:a.borderColor?a.borderColor:t.getValueAtIndexOrDefault(o.pointBorderColor,n,l.borderColor),borderWidth:a.borderWidth?a.borderWidth:t.getValueAtIndexOrDefault(o.pointBorderWidth,n,l.borderWidth),pointStyle:a.pointStyle?a.pointStyle:t.getValueAtIndexOrDefault(o.pointStyle,n,l.pointStyle),hitRadius:a.hitRadius?a.hitRadius:t.getValueAtIndexOrDefault(o.pointHitRadius,n,l.hitRadius)}}),e._model.skip=a.skip?a.skip:isNaN(e._model.x)||isNaN(e._model.y)},updateBezierControlPoints:function(){var e=this.chart.chartArea,n=this.getMeta();t.each(n.data,function(r,i){var a=r._model,o=t.splineCurve(t.previousItem(n.data,i,!0)._model,a,t.nextItem(n.data,i,!0)._model,a.tension);a.controlPointPreviousX=Math.max(Math.min(o.previous.x,e.right),e.left),a.controlPointPreviousY=Math.max(Math.min(o.previous.y,e.bottom),e.top),a.controlPointNextX=Math.max(Math.min(o.next.x,e.right),e.left),a.controlPointNextY=Math.max(Math.min(o.next.y,e.bottom),e.top),r.pivot()})},setHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],r=e.custom||{},i=e._index,a=e._model;a.radius=r.hoverRadius?r.hoverRadius:t.getValueAtIndexOrDefault(n.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),a.backgroundColor=r.hoverBackgroundColor?r.hoverBackgroundColor:t.getValueAtIndexOrDefault(n.pointHoverBackgroundColor,i,t.getHoverColor(a.backgroundColor)),a.borderColor=r.hoverBorderColor?r.hoverBorderColor:t.getValueAtIndexOrDefault(n.pointHoverBorderColor,i,t.getHoverColor(a.borderColor)),a.borderWidth=r.hoverBorderWidth?r.hoverBorderWidth:t.getValueAtIndexOrDefault(n.pointHoverBorderWidth,i,a.borderWidth)},removeHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],r=e.custom||{},i=e._index,a=e._model,o=this.chart.options.elements.point;a.radius=r.radius?r.radius:t.getValueAtIndexOrDefault(n.pointRadius,i,o.radius),a.backgroundColor=r.backgroundColor?r.backgroundColor:t.getValueAtIndexOrDefault(n.pointBackgroundColor,i,o.backgroundColor),a.borderColor=r.borderColor?r.borderColor:t.getValueAtIndexOrDefault(n.pointBorderColor,i,o.borderColor),a.borderWidth=r.borderWidth?r.borderWidth:t.getValueAtIndexOrDefault(n.pointBorderWidth,i,o.borderWidth)}})}},{}],21:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.global.animation={duration:1e3,easing:"easeOutQuart",onProgress:t.noop,onComplete:t.noop},e.Animation=e.Element.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),e.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(e,t,n,r){var i,a,o=this.animations;for(t.chart=e,r||(e.animating=!0),i=0,a=o.length;i<a;++i)if(o[i].chart===e)return void(o[i]=t);o.push(t),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var n=t.findIndex(this.animations,function(t){return t.chart===e});-1!==n&&(this.animations.splice(n,1),e.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=t.requestAnimFrame.call(window,function(){e.request=null,e.startDigest()}))},startDigest:function(){var e=this,t=Date.now(),n=0;e.dropFrames>1&&(n=Math.floor(e.dropFrames),e.dropFrames=e.dropFrames%1),e.advance(1+n);var r=Date.now();e.dropFrames+=(r-t)/e.frameDuration,e.animations.length>0&&e.requestAnimationFrame()},advance:function(e){for(var n,r,i=this.animations,a=0;a<i.length;)n=i[a],r=n.chart,n.currentStep=(n.currentStep||0)+e,n.currentStep=Math.min(n.currentStep,n.numSteps),t.callback(n.render,[r,n],r),t.callback(n.onAnimationProgress,[n],r),n.currentStep>=n.numSteps?(t.callback(n.onAnimationComplete,[n],r),r.animating=!1,i.splice(a,1)):++a}},Object.defineProperty(e.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(e.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}})}},{}],22:[function(e,t,n){"use strict";t.exports=function(e){var t=e.canvasHelpers={};t.drawPoint=function(t,n,r,i,a){var o,s,l,u,d,c;if("object"==typeof n&&("[object HTMLImageElement]"===(o=n.toString())||"[object HTMLCanvasElement]"===o))return void t.drawImage(n,i-n.width/2,a-n.height/2,n.width,n.height);if(!(isNaN(r)||r<=0)){switch(n){default:t.beginPath(),t.arc(i,a,r,0,2*Math.PI),t.closePath(),t.fill();break;case"triangle":t.beginPath(),s=3*r/Math.sqrt(3),d=s*Math.sqrt(3)/2,t.moveTo(i-s/2,a+d/3),t.lineTo(i+s/2,a+d/3),t.lineTo(i,a-2*d/3),t.closePath(),t.fill();break;case"rect":c=1/Math.SQRT2*r,t.beginPath(),t.fillRect(i-c,a-c,2*c,2*c),t.strokeRect(i-c,a-c,2*c,2*c);break;case"rectRounded":var h=r/Math.SQRT2,f=i-h,p=a-h,m=Math.SQRT2*r;e.helpers.drawRoundedRectangle(t,f,p,m,m,r/2),t.fill();break;case"rectRot":c=1/Math.SQRT2*r,t.beginPath(),t.moveTo(i-c,a),t.lineTo(i,a+c),t.lineTo(i+c,a),t.lineTo(i,a-c),t.closePath(),t.fill();break;case"cross":t.beginPath(),t.moveTo(i,a+r),t.lineTo(i,a-r),t.moveTo(i-r,a),t.lineTo(i+r,a),t.closePath();break;case"crossRot":t.beginPath(),l=Math.cos(Math.PI/4)*r,u=Math.sin(Math.PI/4)*r,t.moveTo(i-l,a-u),t.lineTo(i+l,a+u),t.moveTo(i-l,a+u),t.lineTo(i+l,a-u),t.closePath();break;case"star":t.beginPath(),t.moveTo(i,a+r),t.lineTo(i,a-r),t.moveTo(i-r,a),t.lineTo(i+r,a),l=Math.cos(Math.PI/4)*r,u=Math.sin(Math.PI/4)*r,t.moveTo(i-l,a-u),t.lineTo(i+l,a+u),t.moveTo(i-l,a+u),t.lineTo(i+l,a-u),t.closePath();break;case"line":t.beginPath(),t.moveTo(i-r,a),t.lineTo(i+r,a),t.closePath();break;case"dash":t.beginPath(),t.moveTo(i,a),t.lineTo(i+r,a),t.closePath()}t.stroke()}},t.clipArea=function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},t.unclipArea=function(e){e.restore()},t.lineTo=function(e,t,n,r){return n.steppedLine?("after"===n.steppedLine?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y),void e.lineTo(n.x,n.y)):n.tension?void e.bezierCurveTo(r?t.controlPointPreviousX:t.controlPointNextX,r?t.controlPointPreviousY:t.controlPointNextY,r?n.controlPointNextX:n.controlPointPreviousX,r?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):void e.lineTo(n.x,n.y)},e.helpers.canvas=t}},{}],23:[function(e,t,n){"use strict";t.exports=function(e){function t(t){t=t||{};var n=t.data=t.data||{};return n.datasets=n.datasets||[],n.labels=n.labels||[],t.options=i.configMerge(e.defaults.global,e.defaults[t.type],t.options||{}),t}function n(e){var t=e.options;t.scale?e.scale.options=t.scale:t.scales&&t.scales.xAxes.concat(t.scales.yAxes).forEach(function(t){e.scales[t.id].options=t}),e.tooltip._options=t.tooltips}function r(e){return"top"===e||"bottom"===e}var i=e.helpers,a=e.plugins,o=e.platform;e.types={},e.instances={},e.controllers={},i.extend(e.prototype,{construct:function(n,r){var a=this;r=t(r);var s=o.acquireContext(n,r),l=s&&s.canvas,u=l&&l.height,d=l&&l.width;return a.id=i.uid(),a.ctx=s,a.canvas=l,a.config=r,a.width=d,a.height=u,a.aspectRatio=u?d/u:null,a.options=r.options,a._bufferedRender=!1,a.chart=a,a.controller=a,e.instances[a.id]=a,Object.defineProperty(a,"data",{get:function(){return a.config.data},set:function(e){a.config.data=e}}),s&&l?(a.initialize(),void a.update()):void 0},initialize:function(){var e=this;return a.notify(e,"beforeInit"),i.retinaScale(e),e.bindEvents(),e.options.responsive&&e.resize(!0),e.ensureScalesHaveIDs(),e.buildScales(),e.initToolTip(),a.notify(e,"afterInit"),e},clear:function(){return i.clear(this),this},stop:function(){return e.animationService.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,r=t.canvas,o=n.maintainAspectRatio&&t.aspectRatio||null,s=Math.floor(i.getMaximumWidth(r)),l=Math.floor(o?s/o:i.getMaximumHeight(r));if((t.width!==s||t.height!==l)&&(r.width=t.width=s,r.height=t.height=l,r.style.width=s+"px",r.style.height=l+"px",i.retinaScale(t),!e)){var u={width:s,height:l};a.notify(t,"resize",[u]),t.options.onResize&&t.options.onResize(t,u),t.stop(),t.update(t.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;i.each(t.xAxes,function(e,t){e.id=e.id||"x-axis-"+t}),i.each(t.yAxes,function(e,t){e.id=e.id||"y-axis-"+t}),n&&(n.id=n.id||"scale")},buildScales:function(){var t=this,n=t.options,a=t.scales={},o=[];n.scales&&(o=o.concat((n.scales.xAxes||[]).map(function(e){return{options:e,dtype:"category",dposition:"bottom"}}),(n.scales.yAxes||[]).map(function(e){return{options:e,dtype:"linear",dposition:"left"}}))),n.scale&&o.push({options:n.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),i.each(o,function(n){var o=n.options,s=i.getValueOrDefault(o.type,n.dtype),l=e.scaleService.getScaleConstructor(s);if(l){r(o.position)!==r(n.dposition)&&(o.position=n.dposition);var u=new l({id:o.id,options:o,ctx:t.ctx,chart:t});a[u.id]=u,n.isDefault&&(t.scale=u)}}),e.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t=this,n=[],r=[];if(i.each(t.data.datasets,function(i,a){var o=t.getDatasetMeta(a);if(o.type||(o.type=i.type||t.config.type),n.push(o.type),o.controller)o.controller.updateIndex(a);else{var s=e.controllers[o.type];if(void 0===s)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new s(t,a),r.push(o.controller)}},t),n.length>1)for(var a=1;a<n.length;a++)if(n[a]!==n[a-1]){t.isCombo=!0;break}return r},resetElements:function(){var e=this;i.each(e.data.datasets,function(t,n){e.getDatasetMeta(n).controller.reset()},e)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e,t){var r=this;if(n(r),!1!==a.notify(r,"beforeUpdate")){r.tooltip._data=r.data;var o=r.buildOrUpdateControllers();i.each(r.data.datasets,function(e,t){r.getDatasetMeta(t).controller.buildOrUpdateElements()},r),r.updateLayout(),i.each(o,function(e){e.reset()}),r.updateDatasets(),a.notify(r,"afterUpdate"),r._bufferedRender?r._bufferedRequest={lazy:t,duration:e}:r.render(e,t)}},updateLayout:function(){var t=this;!1!==a.notify(t,"beforeLayout")&&(e.layoutService.update(this,this.width,this.height),a.notify(t,"afterScaleUpdate"),a.notify(t,"afterLayout"))},updateDatasets:function(){var e=this;if(!1!==a.notify(e,"beforeDatasetsUpdate")){for(var t=0,n=e.data.datasets.length;t<n;++t)e.updateDataset(t);a.notify(e,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this,n=t.getDatasetMeta(e),r={meta:n,index:e};!1!==a.notify(t,"beforeDatasetUpdate",[r])&&(n.controller.update(),a.notify(t,"afterDatasetUpdate",[r]))},render:function(t,n){var r=this;if(!1!==a.notify(r,"beforeRender")){var o=r.options.animation,s=function(e){a.notify(r,"afterRender"),i.callback(o&&o.onComplete,[e],r)};if(o&&(void 0!==t&&0!==t||void 0===t&&0!==o.duration)){var l=new e.Animation({numSteps:(t||o.duration)/16.66,easing:o.easing,render:function(e,t){var n=i.easingEffects[t.easing],r=t.currentStep,a=r/t.numSteps;e.draw(n(a),a,r)},onAnimationProgress:o.onProgress,onAnimationComplete:s});e.animationService.addAnimation(r,l,t,n)}else r.draw(),s(new e.Animation({numSteps:0,chart:r}));return r}},draw:function(e){var t=this;t.clear(),void 0!==e&&null!==e||(e=1),t.transition(e),!1!==a.notify(t,"beforeDraw",[e])&&(i.each(t.boxes,function(e){e.draw(t.chartArea)},t),t.scale&&t.scale.draw(),t.drawDatasets(e),t.tooltip.draw(),a.notify(t,"afterDraw",[e]))},transition:function(e){for(var t=this,n=0,r=(t.data.datasets||[]).length;n<r;++n)t.isDatasetVisible(n)&&t.getDatasetMeta(n).controller.transition(e);t.tooltip.transition(e)},drawDatasets:function(e){var t=this;if(!1!==a.notify(t,"beforeDatasetsDraw",[e])){for(var n=(t.data.datasets||[]).length-1;n>=0;--n)t.isDatasetVisible(n)&&t.drawDataset(n,e);a.notify(t,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n=this,r=n.getDatasetMeta(e),i={meta:r,index:e,easingValue:t};!1!==a.notify(n,"beforeDatasetDraw",[i])&&(r.controller.draw(t),a.notify(n,"afterDatasetDraw",[i]))},getElementAtEvent:function(t){return e.Interaction.modes.single(this,t)},getElementsAtEvent:function(t){return e.Interaction.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return e.Interaction.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,n,r){var i=e.Interaction.modes[n];return"function"==typeof i?i(this,t,r):[]},getDatasetAtEvent:function(t){return e.Interaction.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(e){var t=this,n=t.data.datasets[e];n._meta||(n._meta={});var r=n._meta[t.id];return r||(r=n._meta[t.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),r},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroy:function(){var t,n,r,s=this,l=s.canvas;for(s.stop(),n=0,r=s.data.datasets.length;n<r;++n)t=s.getDatasetMeta(n),t.controller&&(t.controller.destroy(),t.controller=null);l&&(s.unbindEvents(),i.clear(s),
|
||
o.releaseContext(s.ctx),s.canvas=null,s.ctx=null),a.notify(s,"destroy"),delete e.instances[s.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new e.Tooltip({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t),t.tooltip.initialize()},bindEvents:function(){var e=this,t=e._listeners={},n=function(){e.eventHandler.apply(e,arguments)};i.each(e.options.events,function(r){o.addEventListener(e,r,n),t[r]=n}),e.options.responsive&&(n=function(){e.resize()},o.addEventListener(e,"resize",n),t.resize=n)},unbindEvents:function(){var e=this,t=e._listeners;t&&(delete e._listeners,i.each(t,function(t,n){o.removeEventListener(e,n,t)}))},updateHoverStyle:function(e,t,n){var r,i,a,o=n?"setHoverStyle":"removeHoverStyle";for(i=0,a=e.length;i<a;++i)(r=e[i])&&this.getDatasetMeta(r._datasetIndex).controller[o](r)},eventHandler:function(e){var t=this,n=t.tooltip;if(!1!==a.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var r=t.handleEvent(e);r|=n&&n.handleEvent(e),a.notify(t,"afterEvent",[e]);var i=t._bufferedRequest;return i?t.render(i.duration,i.lazy):r&&!t.animating&&(t.stop(),t.render(t.options.hover.animationDuration,!0)),t._bufferedRender=!1,t._bufferedRequest=null,t}},handleEvent:function(e){var t=this,n=t.options||{},r=n.hover,a=!1;return t.lastActive=t.lastActive||[],"mouseout"===e.type?t.active=[]:t.active=t.getElementsAtEventForMode(e,r.mode,r),r.onHover&&r.onHover.call(t,e.native,t.active),"mouseup"!==e.type&&"click"!==e.type||n.onClick&&n.onClick.call(t,e.native,t.active),t.lastActive.length&&t.updateHoverStyle(t.lastActive,r.mode,!1),t.active.length&&r.mode&&t.updateHoverStyle(t.active,r.mode,!0),a=!i.arrayEquals(t.active,t.lastActive),t.lastActive=t.active,a}}),e.Controller=e}},{}],24:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){return e._chartjs?void e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),void i.forEach(function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),i=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),a=i.apply(this,t);return r.each(e._chartjs.listeners,function(e){"function"==typeof e[n]&&e[n].apply(e,t)}),a}})}))}function n(e,t){var n=e._chartjs;if(n){var r=n.listeners,a=r.indexOf(t);-1!==a&&r.splice(a,1),r.length>0||(i.forEach(function(t){delete e[t]}),delete e._chartjs)}}var r=e.helpers,i=["push","pop","shift","splice","unshift"];e.DatasetController=function(e,t){this.initialize(e,t)},r.extend(e.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements()},updateIndex:function(e){this.index=e},linkScales:function(){var e=this,t=e.getMeta(),n=e.getDataset();null===t.xAxisID&&(t.xAxisID=n.xAxisID||e.chart.options.scales.xAxes[0].id),null===t.yAxisID&&(t.yAxisID=n.yAxisID||e.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},reset:function(){this.update(!0)},destroy:function(){this._data&&n(this._data,this)},createMetaDataset:function(){var e=this,t=e.datasetElementType;return t&&new t({_chart:e.chart,_datasetIndex:e.index})},createMetaData:function(e){var t=this,n=t.dataElementType;return n&&new n({_chart:t.chart,_datasetIndex:t.index,_index:e})},addElements:function(){var e,t,n=this,r=n.getMeta(),i=n.getDataset().data||[],a=r.data;for(e=0,t=i.length;e<t;++e)a[e]=a[e]||n.createMetaData(e);r.dataset=r.dataset||n.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var e=this,r=e.getDataset(),i=r.data||(r.data=[]);e._data!==i&&(e._data&&n(e._data,e),t(i,e),e._data=i),e.resyncElements()},update:r.noop,transition:function(e){for(var t=this.getMeta(),n=t.data||[],r=n.length,i=0;i<r;++i)n[i].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],n=t.length,r=0;for(e.dataset&&e.dataset.draw();r<n;++r)t[r].draw()},removeHoverStyle:function(e,t){var n=this.chart.data.datasets[e._datasetIndex],i=e._index,a=e.custom||{},o=r.getValueAtIndexOrDefault,s=e._model;s.backgroundColor=a.backgroundColor?a.backgroundColor:o(n.backgroundColor,i,t.backgroundColor),s.borderColor=a.borderColor?a.borderColor:o(n.borderColor,i,t.borderColor),s.borderWidth=a.borderWidth?a.borderWidth:o(n.borderWidth,i,t.borderWidth)},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},a=r.getValueAtIndexOrDefault,o=r.getHoverColor,s=e._model;s.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:a(t.hoverBackgroundColor,n,o(s.backgroundColor)),s.borderColor=i.hoverBorderColor?i.hoverBorderColor:a(t.hoverBorderColor,n,o(s.borderColor)),s.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:a(t.hoverBorderWidth,n,s.borderWidth)},resyncElements:function(){var e=this,t=e.getMeta(),n=e.getDataset().data,r=t.data.length,i=n.length;i<r?t.data.splice(i,r-i):i>r&&e.insertElements(r,i-r)},insertElements:function(e,t){for(var n=0;n<t;++n)this.addElementAndReset(e+n)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),e.DatasetController.extend=r.inherits}},{}],25:[function(e,t,n){"use strict";var r=e(3);t.exports=function(e){function t(e,t,n,i){var a,o,s,l,u,d,c,h,f,p=Object.keys(n);for(a=0,o=p.length;a<o;++a)if(s=p[a],d=n[s],t.hasOwnProperty(s)||(t[s]=d),(l=t[s])!==d&&"_"!==s[0]){if(e.hasOwnProperty(s)||(e[s]=l),u=e[s],(c=typeof d)===typeof u)if("string"===c){if(h=r(u),h.valid&&(f=r(d),f.valid)){t[s]=f.mix(h,i).rgbString();continue}}else if("number"===c&&isFinite(u)&&isFinite(d)){t[s]=u+(d-u)*i;continue}t[s]=d}}var n=e.helpers;e.elements={},e.Element=function(e){n.extend(this,e),this.initialize.apply(this,arguments)},n.extend(e.Element.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=n.clone(e._model)),e._start={},e},transition:function(e){var n=this,r=n._model,i=n._start,a=n._view;return r&&1!==e?(a||(a=n._view={}),i||(i=n._start={}),t(i,a,r,e),n):(n._view=r,n._start=null,n)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return n.isNumber(this._model.x)&&n.isNumber(this._model.y)}}),e.Element.extend=n.inherits}},{3:3}],26:[function(e,t,n){"use strict";var r=e(3);t.exports=function(e){function t(e,t,n){var r;return"string"==typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[n])):r=e,r}function n(e){return void 0!==e&&null!==e&&"none"!==e}function i(e,r,i){var a=document.defaultView,o=e.parentNode,s=a.getComputedStyle(e)[r],l=a.getComputedStyle(o)[r],u=n(s),d=n(l),c=Number.POSITIVE_INFINITY;return u||d?Math.min(u?t(s,e,i):c,d?t(l,o,i):c):"none"}var a=e.helpers={};a.each=function(e,t,n,r){var i,o;if(a.isArray(e))if(o=e.length,r)for(i=o-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;i<o;i++)t.call(n,e[i],i);else if("object"==typeof e){var s=Object.keys(e);for(o=s.length,i=0;i<o;i++)t.call(n,e[s[i]],s[i])}},a.clone=function(e){var t={};return a.each(e,function(e,n){a.isArray(e)?t[n]=e.slice(0):t[n]="object"==typeof e&&null!==e?a.clone(e):e}),t},a.extend=function(e){for(var t=function(t,n){e[n]=t},n=1,r=arguments.length;n<r;n++)a.each(arguments[n],t);return e},a.configMerge=function(t){var n=a.clone(t);return a.each(Array.prototype.slice.call(arguments,1),function(t){a.each(t,function(t,r){var i=n.hasOwnProperty(r),o=i?n[r]:{};"scales"===r?n[r]=a.scaleMerge(o,t):"scale"===r?n[r]=a.configMerge(o,e.scaleService.getScaleDefaults(t.type),t):!i||"object"!=typeof o||a.isArray(o)||null===o||"object"!=typeof t||a.isArray(t)?n[r]=t:n[r]=a.configMerge(o,t)})}),n},a.scaleMerge=function(t,n){var r=a.clone(t);return a.each(n,function(t,n){"xAxes"===n||"yAxes"===n?r.hasOwnProperty(n)?a.each(t,function(t,i){var o=a.getValueOrDefault(t.type,"xAxes"===n?"category":"linear"),s=e.scaleService.getScaleDefaults(o);i>=r[n].length||!r[n][i].type?r[n].push(a.configMerge(s,t)):t.type&&t.type!==r[n][i].type?r[n][i]=a.configMerge(r[n][i],s,t):r[n][i]=a.configMerge(r[n][i],t)}):(r[n]=[],a.each(t,function(t){var i=a.getValueOrDefault(t.type,"xAxes"===n?"category":"linear");r[n].push(a.configMerge(e.scaleService.getScaleDefaults(i),t))})):r.hasOwnProperty(n)&&"object"==typeof r[n]&&null!==r[n]&&"object"==typeof t?r[n]=a.configMerge(r[n],t):r[n]=t}),r},a.getValueAtIndexOrDefault=function(e,t,n){return void 0===e||null===e?n:a.isArray(e)?t<e.length?e[t]:n:e},a.getValueOrDefault=function(e,t){return void 0===e?t:e},a.indexOf=Array.prototype.indexOf?function(e,t){return e.indexOf(t)}:function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return n;return-1},a.where=function(e,t){if(a.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return a.each(e,function(e){t(e)&&n.push(e)}),n},a.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var r=0,i=e.length;r<i;++r)if(t.call(n,e[r],r,e))return r;return-1},a.findNextWhere=function(e,t,n){void 0!==n&&null!==n||(n=-1);for(var r=n+1;r<e.length;r++){var i=e[r];if(t(i))return i}},a.findPreviousWhere=function(e,t,n){void 0!==n&&null!==n||(n=e.length);for(var r=n-1;r>=0;r--){var i=e[r];if(t(i))return i}},a.inherits=function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},r=function(){this.constructor=n};return r.prototype=t.prototype,n.prototype=new r,n.extend=a.inherits,e&&a.extend(n.prototype,e),n.__super__=t.prototype,n},a.noop=function(){},a.uid=function(){var e=0;return function(){return e++}}(),a.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},a.almostEquals=function(e,t,n){return Math.abs(e-t)<n},a.almostWhole=function(e,t){var n=Math.round(e);return n-t<e&&n+t>e},a.max=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.max(e,t)},Number.NEGATIVE_INFINITY)},a.min=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.min(e,t)},Number.POSITIVE_INFINITY)},a.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return e=+e,0===e||isNaN(e)?e:e>0?1:-1},a.log10=Math.log10?function(e){return Math.log10(e)}:function(e){return Math.log(e)/Math.LN10},a.toRadians=function(e){return e*(Math.PI/180)},a.toDegrees=function(e){return e*(180/Math.PI)},a.getAngleFromPoint=function(e,t){var n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r),a=Math.atan2(r,n);return a<-.5*Math.PI&&(a+=2*Math.PI),{angle:a,distance:i}},a.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},a.aliasPixel=function(e){return e%2==0?0:.5},a.splineCurve=function(e,t,n,r){var i=e.skip?t:e,a=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(a.x-i.x,2)+Math.pow(a.y-i.y,2)),l=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),u=s/(s+l),d=l/(s+l);u=isNaN(u)?0:u,d=isNaN(d)?0:d;var c=r*u,h=r*d;return{previous:{x:a.x-c*(o.x-i.x),y:a.y-c*(o.y-i.y)},next:{x:a.x+h*(o.x-i.x),y:a.y+h*(o.y-i.y)}}},a.EPSILON=Number.EPSILON||1e-14,a.splineCurveMonotone=function(e){var t,n,r,i,o=(e||[]).map(function(e){return{model:e._model,deltaK:0,mK:0}}),s=o.length;for(t=0;t<s;++t)if(r=o[t],!r.model.skip){if(n=t>0?o[t-1]:null,(i=t<s-1?o[t+1]:null)&&!i.model.skip){var l=i.model.x-r.model.x;r.deltaK=0!==l?(i.model.y-r.model.y)/l:0}!n||n.model.skip?r.mK=r.deltaK:!i||i.model.skip?r.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(r.deltaK)?r.mK=0:r.mK=(n.deltaK+r.deltaK)/2}var u,d,c,h;for(t=0;t<s-1;++t)r=o[t],i=o[t+1],r.model.skip||i.model.skip||(a.almostEquals(r.deltaK,0,this.EPSILON)?r.mK=i.mK=0:(u=r.mK/r.deltaK,d=i.mK/r.deltaK,(h=Math.pow(u,2)+Math.pow(d,2))<=9||(c=3/Math.sqrt(h),r.mK=u*c*r.deltaK,i.mK=d*c*r.deltaK)));var f;for(t=0;t<s;++t)r=o[t],r.model.skip||(n=t>0?o[t-1]:null,i=t<s-1?o[t+1]:null,n&&!n.model.skip&&(f=(r.model.x-n.model.x)/3,r.model.controlPointPreviousX=r.model.x-f,r.model.controlPointPreviousY=r.model.y-f*r.mK),i&&!i.model.skip&&(f=(i.model.x-r.model.x)/3,r.model.controlPointNextX=r.model.x+f,r.model.controlPointNextY=r.model.y+f*r.mK))},a.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},a.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},a.niceNum=function(e,t){var n=Math.floor(a.log10(e)),r=e/Math.pow(10,n);return(t?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)};var o=a.easingEffects={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-1*e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return 1*((e=e/1-1)*e*e+1)},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-1*((e=e/1-1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return 1*(e/=1)*e*e*e*e},easeOutQuint:function(e){return 1*((e=e/1-1)*e*e*e*e+1)},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return-1*Math.cos(e/1*(Math.PI/2))+1},easeOutSine:function(e){return 1*Math.sin(e/1*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e/1)-1)},easeInExpo:function(e){return 0===e?1:1*Math.pow(2,10*(e/1-1))},easeOutExpo:function(e){return 1===e?1:1*(1-Math.pow(2,-10*e/1))},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return e>=1?e:-1*(Math.sqrt(1-(e/=1)*e)-1)},easeOutCirc:function(e){return 1*Math.sqrt(1-(e=e/1-1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1==(e/=1)?1:(n||(n=.3),r<Math.abs(1)?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(e-=1))*Math.sin((1*e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1==(e/=1)?1:(n||(n=.3),r<Math.abs(1)?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*e)*Math.sin((1*e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.3*1.5*1),r<Math.abs(1)?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),e<1?r*Math.pow(2,10*(e-=1))*Math.sin((1*e-t)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(e-=1))*Math.sin((1*e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return 1*(e/=1)*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return 1*((e=e/1-1)*e*((t+1)*e+t)+1)},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-o.easeOutBounce(1-e)},easeOutBounce:function(e){return(e/=1)<1/2.75?7.5625*e*e*1:e<2/2.75?1*(7.5625*(e-=1.5/2.75)*e+.75):e<2.5/2.75?1*(7.5625*(e-=2.25/2.75)*e+.9375):1*(7.5625*(e-=2.625/2.75)*e+.984375)},easeInOutBounce:function(e){return e<.5?.5*o.easeInBounce(2*e):.5*o.easeOutBounce(2*e-1)+.5}};a.requestAnimFrame=function(){return"undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)}}(),a.getRelativePosition=function(e,t){var n,r,i=e.originalEvent||e,o=e.currentTarget||e.srcElement,s=o.getBoundingClientRect(),l=i.touches;l&&l.length>0?(n=l[0].clientX,r=l[0].clientY):(n=i.clientX,r=i.clientY);var u=parseFloat(a.getStyle(o,"padding-left")),d=parseFloat(a.getStyle(o,"padding-top")),c=parseFloat(a.getStyle(o,"padding-right")),h=parseFloat(a.getStyle(o,"padding-bottom")),f=s.right-s.left-u-c,p=s.bottom-s.top-d-h;return n=Math.round((n-s.left-u)/f*o.width/t.currentDevicePixelRatio),r=Math.round((r-s.top-d)/p*o.height/t.currentDevicePixelRatio),{x:n,y:r}},a.addEvent=function(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},a.removeEvent=function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=a.noop},a.getConstraintWidth=function(e){return i(e,"max-width","clientWidth")},a.getConstraintHeight=function(e){return i(e,"max-height","clientHeight")},a.getMaximumWidth=function(e){var t=e.parentNode,n=parseInt(a.getStyle(t,"padding-left"),10),r=parseInt(a.getStyle(t,"padding-right"),10),i=t.clientWidth-n-r,o=a.getConstraintWidth(e);return isNaN(o)?i:Math.min(i,o)},a.getMaximumHeight=function(e){var t=e.parentNode,n=parseInt(a.getStyle(t,"padding-top"),10),r=parseInt(a.getStyle(t,"padding-bottom"),10),i=t.clientHeight-n-r,o=a.getConstraintHeight(e);return isNaN(o)?i:Math.min(i,o)},a.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},a.retinaScale=function(e){var t=e.currentDevicePixelRatio=window.devicePixelRatio||1;if(1!==t){var n=e.canvas,r=e.height,i=e.width;n.height=r*t,n.width=i*t,e.ctx.scale(t,t),n.style.height=r+"px",n.style.width=i+"px"}},a.clear=function(e){e.ctx.clearRect(0,0,e.width,e.height)},a.fontString=function(e,t,n){return t+" "+e+"px "+n},a.longestText=function(e,t,n,r){r=r||{};var i=r.data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},o=r.garbageCollect=[],r.font=t),e.font=t;var s=0;a.each(n,function(t){void 0!==t&&null!==t&&!0!==a.isArray(t)?s=a.measureText(e,i,o,s,t):a.isArray(t)&&a.each(t,function(t){void 0===t||null===t||a.isArray(t)||(s=a.measureText(e,i,o,s,t))})});var l=o.length/2;if(l>n.length){for(var u=0;u<l;u++)delete i[o[u]];o.splice(0,l)}return s},a.measureText=function(e,t,n,r,i){var a=t[i];return a||(a=t[i]=e.measureText(i).width,n.push(i)),a>r&&(r=a),r},a.numberOfLabelLines=function(e){var t=1;return a.each(e,function(e){a.isArray(e)&&e.length>t&&(t=e.length)}),t},a.drawRoundedRectangle=function(e,t,n,r,i,a){e.beginPath(),e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.quadraticCurveTo(t+r,n,t+r,n+a),e.lineTo(t+r,n+i-a),e.quadraticCurveTo(t+r,n+i,t+r-a,n+i),e.lineTo(t+a,n+i),e.quadraticCurveTo(t,n+i,t,n+i-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath()},a.color=r?function(t){return t instanceof CanvasGradient&&(t=e.defaults.global.defaultColor),r(t)}:function(e){return e},a.isArray=Array.isArray?function(e){return Array.isArray(e)}:function(e){return"[object Array]"===Object.prototype.toString.call(e)},a.arrayEquals=function(e,t){var n,r,i,o;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(i=e[n],o=t[n],i instanceof Array&&o instanceof Array){if(!a.arrayEquals(i,o))return!1}else if(i!==o)return!1;return!0},a.callback=function(e,t,n){e&&"function"==typeof e.call&&e.apply(n,t)},a.getHoverColor=function(e){return e instanceof CanvasPattern?e:a.color(e).saturate(.5).darken(.1).rgbString()},a.callCallback=a.callback}},{3:3}],27:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){return e.native?{x:e.x,y:e.y}:o.getRelativePosition(e,t)}function n(e,t){var n,r,i,a,o,s=e.data.datasets;for(r=0,a=s.length;r<a;++r)if(e.isDatasetVisible(r))for(n=e.getDatasetMeta(r),i=0,o=n.data.length;i<o;++i){var l=n.data[i];l._view.skip||t(l)}}function r(e,t){var r=[];return n(e,function(e){e.inRange(t.x,t.y)&&r.push(e)}),r}function i(e,t,r,i){var a=Number.POSITIVE_INFINITY,s=[];return i||(i=o.distanceBetweenPoints),n(e,function(e){if(!r||e.inRange(t.x,t.y)){var n=e.getCenterPoint(),o=i(t,n);o<a?(s=[e],a=o):o===a&&s.push(e)}}),s}function a(e,n,a){var o=t(n,e),s=function(e,t){return Math.abs(e.x-t.x)},l=a.intersect?r(e,o):i(e,o,!1,s),u=[];return l.length?(e.data.datasets.forEach(function(t,n){if(e.isDatasetVisible(n)){var r=e.getDatasetMeta(n),i=r.data[l[0]._index];i&&!i._view.skip&&u.push(i)}}),u):[]}var o=e.helpers;e.Interaction={modes:{single:function(e,r){var i=t(r,e),a=[];return n(e,function(e){if(e.inRange(i.x,i.y))return a.push(e),a}),a.slice(0,1)},label:a,index:a,dataset:function(e,n,a){var o=t(n,e),s=a.intersect?r(e,o):i(e,o,!1);return s.length>0&&(s=e.getDatasetMeta(s[0]._datasetIndex).data),s},"x-axis":function(e,t){return a(e,t,!0)},point:function(e,n){return r(e,t(n,e))},nearest:function(e,n,r){var a=t(n,e),o=i(e,a,r.intersect);return o.length>1&&o.sort(function(e,t){var n=e.getArea(),r=t.getArea(),i=n-r;return 0===i&&(i=e._datasetIndex-t._datasetIndex),i}),o.slice(0,1)},x:function(e,r,i){var a=t(r,e),o=[],s=!1;return n(e,function(e){e.inXRange(a.x)&&o.push(e),e.inRange(a.x,a.y)&&(s=!0)}),i.intersect&&!s&&(o=[]),o},y:function(e,r,i){var a=t(r,e),o=[],s=!1;return n(e,function(e){e.inYRange(a.y)&&o.push(e),e.inRange(a.x,a.y)&&(s=!0)}),i.intersect&&!s&&(o=[]),o}}}}},{}],28:[function(e,t,n){"use strict";t.exports=function(){var e=function(e,t){return this.construct(e,t),this};return e.defaults={global:{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');for(var n=0;n<e.data.datasets.length;n++)t.push('<li><span style="background-color:'+e.data.datasets[n].backgroundColor+'"></span>'),e.data.datasets[n].label&&t.push(e.data.datasets[n].label),t.push("</li>");return t.push("</ul>"),t.join("")}}},e.Chart=e,e}},{}],29:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){return r.where(e,function(e){return e.position===t})}function n(e,t){e.forEach(function(e,t){return e._tmpIndex_=t,e}),e.sort(function(e,n){var r=t?n:e,i=t?e:n;return r.weight===i.weight?r._tmpIndex_-i._tmpIndex_:r.weight-i.weight}),e.forEach(function(e){delete e._tmpIndex_})}var r=e.helpers;e.layoutService={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,e.boxes.push(t)},removeBox:function(e,t){var n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure:function(e,t,n){for(var r,i=["fullWidth","position","weight"],a=i.length,o=0;o<a;++o)r=i[o],n.hasOwnProperty(r)&&(t[r]=n[r])},update:function(e,i,a){function o(e){var t,n=e.isHorizontal();n?(t=e.update(e.fullWidth?M:Y,D),T-=t.height):(t=e.update(L,k),Y-=t.width),S.push({horizontal:n,minSize:t,box:e})}function s(e){var t=r.findNextWhere(S,function(t){return t.box===e});if(t)if(e.isHorizontal()){var n={left:Math.max(A,C),right:Math.max(P,j),top:0,bottom:0};e.update(e.fullWidth?M:Y,w/2,n)}else e.update(t.minSize.width,T)}function l(e){var t=r.findNextWhere(S,function(t){return t.box===e}),n={left:0,right:0,top:E,bottom:I};t&&e.update(t.minSize.width,T,n)}function u(e){e.isHorizontal()?(e.left=e.fullWidth?h:A,e.right=e.fullWidth?i-f:A+Y,e.top=B,e.bottom=B+e.height,B=e.bottom):(e.left=z,e.right=z+e.width,e.top=E,e.bottom=E+T,z=e.right)}if(e){var d=e.options.layout,c=d?d.padding:null,h=0,f=0,p=0,m=0;isNaN(c)?(h=c.left||0,f=c.right||0,p=c.top||0,m=c.bottom||0):(h=c,f=c,p=c,m=c);var _=t(e.boxes,"left"),g=t(e.boxes,"right"),y=t(e.boxes,"top"),v=t(e.boxes,"bottom"),b=t(e.boxes,"chartArea");n(_,!0),n(g,!1),n(y,!0),n(v,!1);var M=i-h-f,w=a-p-m,x=M/2,k=w/2,L=(i-x)/(_.length+g.length),D=(a-k)/(y.length+v.length),Y=M,T=w,S=[];r.each(_.concat(g,y,v),o);var C=0,j=0,H=0,O=0;r.each(y.concat(v),function(e){if(e.getPadding){var t=e.getPadding();C=Math.max(C,t.left),j=Math.max(j,t.right)}}),r.each(_.concat(g),function(e){if(e.getPadding){var t=e.getPadding();H=Math.max(H,t.top),O=Math.max(O,t.bottom)}});var A=h,P=f,E=p,I=m;r.each(_.concat(g),s),r.each(_,function(e){A+=e.width}),r.each(g,function(e){P+=e.width}),r.each(y.concat(v),s),r.each(y,function(e){E+=e.height}),r.each(v,function(e){I+=e.height}),r.each(_.concat(g),l),A=h,P=f,E=p,I=m,r.each(_,function(e){A+=e.width}),r.each(g,function(e){P+=e.width}),r.each(y,function(e){E+=e.height}),r.each(v,function(e){I+=e.height});var F=Math.max(C-A,0);A+=F,P+=Math.max(j-P,0);var W=Math.max(H-E,0);E+=W,I+=Math.max(O-I,0);var R=a-E-I,N=i-A-P;N===Y&&R===T||(r.each(_,function(e){e.height=R}),r.each(g,function(e){e.height=R}),r.each(y,function(e){e.fullWidth||(e.width=N)}),r.each(v,function(e){e.fullWidth||(e.width=N)}),T=R,Y=N);var z=h+F,B=p+W;r.each(_.concat(y),u),z+=Y,B+=T,r.each(g,u),r.each(v,u),e.chartArea={left:A,top:E,right:A+Y,bottom:E+T},r.each(b,function(t){t.left=e.chartArea.left,t.top=e.chartArea.top,t.right=e.chartArea.right,t.bottom=e.chartArea.bottom,t.update(Y,T)})}}}}},{}],30:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.global.plugins={},e.plugins={_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach(function(e){-1===t.indexOf(e)&&t.push(e)}),this._cacheId++},unregister:function(e){var t=this._plugins;[].concat(e).forEach(function(e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,n){var r,i,a,o,s,l=this.descriptors(e),u=l.length;for(r=0;r<u;++r)if(i=l[r],a=i.plugin,"function"==typeof(s=a[t])&&(o=[e].concat(n||[]),o.push(i.options),!1===s.apply(a,o)))return!1;return!0},descriptors:function(n){var r=n._plugins||(n._plugins={});if(r.id===this._cacheId)return r.descriptors;var i=[],a=[],o=n&&n.config||{},s=e.defaults.global.plugins,l=o.options&&o.options.plugins||{};return this._plugins.concat(o.plugins||[]).forEach(function(e){if(-1===i.indexOf(e)){var n=e.id,r=l[n];!1!==r&&(!0===r&&(r=t.clone(s[n])),i.push(e),a.push({plugin:e,options:r||{}}))}}),r.descriptors=a,r.id=this._cacheId,a}},e.pluginService=e.plugins,e.PluginBase=e.Element.extend({})}},{}],31:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t,n){return r.isArray(t)?r.longestText(e,n,t):e.measureText(t).width}function n(t){var n=r.getValueOrDefault,i=e.defaults.global,a=n(t.fontSize,i.defaultFontSize),o=n(t.fontStyle,i.defaultFontStyle),s=n(t.fontFamily,i.defaultFontFamily);return{size:a,style:o,family:s,font:r.fontString(a,o,s)}}var r=e.helpers;e.defaults.scale={display:!0,position:"left",gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{labelString:"",display:!1},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:e.Ticks.formatters.values}},e.Scale=e.Element.extend({getPadding:function(){var e=this;return{left:e.paddingLeft||0,top:e.paddingTop||0,right:e.paddingRight||0,bottom:e.paddingBottom||0}},beforeUpdate:function(){r.callback(this.options.beforeUpdate,[this])},update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=r.extend({left:0,right:0,top:0,bottom:0},n),i.longestTextCache=i.longestTextCache||{},i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeDataLimits(),i.determineDataLimits(),i.afterDataLimits(),i.beforeBuildTicks(),i.buildTicks(),i.afterBuildTicks(),i.beforeTickToLabelConversion(),i.convertTicksToLabels(),i.afterTickToLabelConversion(),i.beforeCalculateTickRotation(),i.calculateTickRotation(),i.afterCalculateTickRotation(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:function(){r.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){r.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){r.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){r.callback(this.options.beforeDataLimits,[this])},determineDataLimits:r.noop,afterDataLimits:function(){r.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){r.callback(this.options.beforeBuildTicks,[this])},buildTicks:r.noop,afterBuildTicks:function(){r.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){r.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this,t=e.options.ticks;e.ticks=e.ticks.map(t.userCallback||t.callback)},afterTickToLabelConversion:function(){r.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){r.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e=this,t=e.ctx,i=e.options.ticks,a=n(i);t.font=a.font;var o=i.minRotation||0;if(e.options.display&&e.isHorizontal())for(var s,l=r.longestText(t,a.font,e.ticks,e.longestTextCache),u=l,d=e.getPixelForTick(1)-e.getPixelForTick(0)-6;u>d&&o<i.maxRotation;){var c=r.toRadians(o);if(s=Math.cos(c),Math.sin(c)*l>e.maxHeight){o--;break}o++,u=s*l}e.labelRotation=o},afterCalculateTickRotation:function(){r.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){r.callback(this.options.beforeFit,[this])},fit:function(){var e=this,i=e.minSize={width:0,height:0},a=e.options,o=a.ticks,s=a.scaleLabel,l=a.gridLines,u=a.display,d=e.isHorizontal(),c=n(o),h=1.5*n(s).size,f=a.gridLines.tickMarkLength;if(i.width=d?e.isFullWidth()?e.maxWidth-e.margins.left-e.margins.right:e.maxWidth:u&&l.drawTicks?f:0,i.height=d?u&&l.drawTicks?f:0:e.maxHeight,s.display&&u&&(d?i.height+=h:i.width+=h),o.display&&u){var p=r.longestText(e.ctx,c.font,e.ticks,e.longestTextCache),m=r.numberOfLabelLines(e.ticks),_=.5*c.size;if(d){e.longestLabelWidth=p;var g=r.toRadians(e.labelRotation),y=Math.cos(g),v=Math.sin(g),b=v*p+c.size*m+_*m;i.height=Math.min(e.maxHeight,i.height+b),e.ctx.font=c.font;var M=e.ticks[0],w=t(e.ctx,M,c.font),x=e.ticks[e.ticks.length-1],k=t(e.ctx,x,c.font);0!==e.labelRotation?(e.paddingLeft="bottom"===a.position?y*w+3:y*_+3,e.paddingRight="bottom"===a.position?y*_+3:y*k+3):(e.paddingLeft=w/2+3,e.paddingRight=k/2+3)}else o.mirror?p=0:p+=e.options.ticks.padding,i.width=Math.min(e.maxWidth,i.width+p),e.paddingTop=c.size/2,e.paddingBottom=c.size/2}e.handleMargins(),e.width=i.width,e.height=i.height},handleMargins:function(){var e=this;e.margins&&(e.paddingLeft=Math.max(e.paddingLeft-e.margins.left,0),e.paddingTop=Math.max(e.paddingTop-e.margins.top,0),e.paddingRight=Math.max(e.paddingRight-e.margins.right,0),e.paddingBottom=Math.max(e.paddingBottom-e.margins.bottom,0))},afterFit:function(){r.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){return null===e||void 0===e?NaN:"number"!=typeof e||isFinite(e)?"object"==typeof e?e instanceof Date||e.isValid?e:this.getRightValue(this.isHorizontal()?e.x:e.y):e:NaN},getLabelForIndex:r.noop,getPixelForValue:r.noop,getValueForPixel:r.noop,getPixelForTick:function(e,t){var n=this;if(n.isHorizontal()){var r=n.width-(n.paddingLeft+n.paddingRight),i=r/Math.max(n.ticks.length-(n.options.gridLines.offsetGridLines?0:1),1),a=i*e+n.paddingLeft;t&&(a+=i/2);var o=n.left+Math.round(a)
|
||
;return o+=n.isFullWidth()?n.margins.left:0}var s=n.height-(n.paddingTop+n.paddingBottom);return n.top+e*(s/(n.ticks.length-1))},getPixelForDecimal:function(e){var t=this;if(t.isHorizontal()){var n=t.width-(t.paddingLeft+t.paddingRight),r=n*e+t.paddingLeft,i=t.left+Math.round(r);return i+=t.isFullWidth()?t.margins.left:0}return t.top+e*t.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this,t=e.min,n=e.max;return e.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0},draw:function(t){var i=this,a=i.options;if(a.display){var o,s,l=i.ctx,u=e.defaults.global,d=a.ticks,c=a.gridLines,h=a.scaleLabel,f=0!==i.labelRotation,p=d.autoSkip,m=i.isHorizontal();d.maxTicksLimit&&(s=d.maxTicksLimit);var _=r.getValueOrDefault(d.fontColor,u.defaultFontColor),g=n(d),y=c.drawTicks?c.tickMarkLength:0,v=r.getValueOrDefault(h.fontColor,u.defaultFontColor),b=n(h),M=r.toRadians(i.labelRotation),w=Math.cos(M),x=i.longestLabelWidth*w;l.fillStyle=_;var k=[];if(m){if(o=!1,(x+d.autoSkipPadding)*i.ticks.length>i.width-(i.paddingLeft+i.paddingRight)&&(o=1+Math.floor((x+d.autoSkipPadding)*i.ticks.length/(i.width-(i.paddingLeft+i.paddingRight)))),s&&i.ticks.length>s)for(;!o||i.ticks.length/(o||1)>s;)o||(o=1),o+=1;p||(o=!1)}var L="right"===a.position?i.left:i.right-y,D="right"===a.position?i.left+y:i.right,Y="bottom"===a.position?i.top:i.bottom-y,T="bottom"===a.position?i.top+y:i.bottom;if(r.each(i.ticks,function(e,n){if(void 0!==e&&null!==e){var s=i.ticks.length===n+1;if((!(o>1&&n%o>0||n%o==0&&n+o>=i.ticks.length)||s)&&void 0!==e&&null!==e){var l,h,p,_;n===(void 0!==i.zeroLineIndex?i.zeroLineIndex:0)?(l=c.zeroLineWidth,h=c.zeroLineColor,p=c.zeroLineBorderDash,_=c.zeroLineBorderDashOffset):(l=r.getValueAtIndexOrDefault(c.lineWidth,n),h=r.getValueAtIndexOrDefault(c.color,n),p=r.getValueOrDefault(c.borderDash,u.borderDash),_=r.getValueOrDefault(c.borderDashOffset,u.borderDashOffset));var g,v,b,w,x,S,C,j,H,O,A="middle",P="middle";if(m){"bottom"===a.position?(P=f?"middle":"top",A=f?"right":"center",O=i.top+y):(P=f?"middle":"bottom",A=f?"left":"center",O=i.bottom-y);var E=i.getPixelForTick(n)+r.aliasPixel(l);H=i.getPixelForTick(n,c.offsetGridLines)+d.labelOffset,g=b=x=C=E,v=Y,w=T,S=t.top,j=t.bottom}else{var I,F="left"===a.position,W=d.padding;d.mirror?(A=F?"left":"right",I=W):(A=F?"right":"left",I=y+W),H=F?i.right-I:i.left+I;var R=i.getPixelForTick(n);R+=r.aliasPixel(l),O=i.getPixelForTick(n,c.offsetGridLines),g=L,b=D,x=t.left,C=t.right,v=w=S=j=R}k.push({tx1:g,ty1:v,tx2:b,ty2:w,x1:x,y1:S,x2:C,y2:j,labelX:H,labelY:O,glWidth:l,glColor:h,glBorderDash:p,glBorderDashOffset:_,rotation:-1*M,label:e,textBaseline:P,textAlign:A})}}}),r.each(k,function(e){if(c.display&&(l.save(),l.lineWidth=e.glWidth,l.strokeStyle=e.glColor,l.setLineDash&&(l.setLineDash(e.glBorderDash),l.lineDashOffset=e.glBorderDashOffset),l.beginPath(),c.drawTicks&&(l.moveTo(e.tx1,e.ty1),l.lineTo(e.tx2,e.ty2)),c.drawOnChartArea&&(l.moveTo(e.x1,e.y1),l.lineTo(e.x2,e.y2)),l.stroke(),l.restore()),d.display){l.save(),l.translate(e.labelX,e.labelY),l.rotate(e.rotation),l.font=g.font,l.textBaseline=e.textBaseline,l.textAlign=e.textAlign;var t=e.label;if(r.isArray(t))for(var n=0,i=0;n<t.length;++n)l.fillText(""+t[n],0,i),i+=1.5*g.size;else l.fillText(t,0,0);l.restore()}}),h.display){var S,C,j=0;if(m)S=i.left+(i.right-i.left)/2,C="bottom"===a.position?i.bottom-b.size/2:i.top+b.size/2;else{var H="left"===a.position;S=H?i.left+b.size/2:i.right-b.size/2,C=i.top+(i.bottom-i.top)/2,j=H?-.5*Math.PI:.5*Math.PI}l.save(),l.translate(S,C),l.rotate(j),l.textAlign="center",l.textBaseline="middle",l.fillStyle=v,l.font=b.font,l.fillText(h.labelString,0,0),l.restore()}if(c.drawBorder){l.lineWidth=r.getValueAtIndexOrDefault(c.lineWidth,0),l.strokeStyle=r.getValueAtIndexOrDefault(c.color,0);var O=i.left,A=i.right,P=i.top,E=i.bottom,I=r.aliasPixel(l.lineWidth);m?(P=E="top"===a.position?i.bottom:i.top,P+=I,E+=I):(O=A="left"===a.position?i.right:i.left,O+=I,A+=I),l.beginPath(),l.moveTo(O,P),l.lineTo(A,E),l.stroke()}}}})}},{}],32:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.scaleService={constructors:{},defaults:{},registerScaleType:function(e,n,r){this.constructors[e]=n,this.defaults[e]=t.clone(r)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(n){return this.defaults.hasOwnProperty(n)?t.scaleMerge(e.defaults.scale,this.defaults[n]):{}},updateScaleDefaults:function(e,n){var r=this.defaults;r.hasOwnProperty(e)&&(r[e]=t.extend(r[e],n))},addScalesToLayout:function(n){t.each(n.scales,function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,e.layoutService.addBox(n,t)})}}}},{}],33:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.Ticks={generators:{linear:function(e,n){var r,i=[];if(e.stepSize&&e.stepSize>0)r=e.stepSize;else{var a=t.niceNum(n.max-n.min,!1);r=t.niceNum(a/(e.maxTicks-1),!0)}var o=Math.floor(n.min/r)*r,s=Math.ceil(n.max/r)*r;e.min&&e.max&&e.stepSize&&t.almostWhole((e.max-e.min)/e.stepSize,r/1e3)&&(o=e.min,s=e.max);var l=(s-o)/r;l=t.almostEquals(l,Math.round(l),r/1e3)?Math.round(l):Math.ceil(l),i.push(void 0!==e.min?e.min:o);for(var u=1;u<l;++u)i.push(o+u*r);return i.push(void 0!==e.max?e.max:s),i},logarithmic:function(e,n){var r,i,a=[],o=t.getValueOrDefault,s=o(e.min,Math.pow(10,Math.floor(t.log10(n.min)))),l=Math.floor(t.log10(n.max)),u=Math.ceil(n.max/Math.pow(10,l));0===s?(r=Math.floor(t.log10(n.minNotZero)),i=Math.floor(n.minNotZero/Math.pow(10,r)),a.push(s),s=i*Math.pow(10,r)):(r=Math.floor(t.log10(s)),i=Math.floor(s/Math.pow(10,r)));do{a.push(s),++i,10===i&&(i=1,++r),s=i*Math.pow(10,r)}while(r<l||r===l&&i<u);var d=o(e.max,s);return a.push(d),a}},formatters:{values:function(e){return t.isArray(e)?e:""+e},linear:function(e,n,r){var i=r.length>3?r[2]-r[1]:r[1]-r[0];Math.abs(i)>1&&e!==Math.floor(e)&&(i=e-Math.floor(e));var a=t.log10(Math.abs(i)),o="";if(0!==e){var s=-1*Math.floor(a);s=Math.max(Math.min(s,20),0),o=e.toFixed(s)}else o="0";return o},logarithmic:function(e,n,r){var i=e/Math.pow(10,Math.floor(t.log10(e)));return 0===e?"0":1===i||2===i||5===i||0===n||n===r.length-1?e.toExponential():""}}}}},{}],34:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){var n=l.color(e);return n.alpha(t*n.alpha()).rgbaString()}function n(e,t){return t&&(l.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function r(e){var t=e._xScale,n=e._yScale||e._scale,r=e._index,i=e._datasetIndex;return{xLabel:t?t.getLabelForIndex(r,i):"",yLabel:n?n.getLabelForIndex(r,i):"",index:r,datasetIndex:i,x:e._model.x,y:e._model.y}}function i(t){var n=e.defaults.global,r=l.getValueOrDefault;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,bodyFontColor:t.bodyFontColor,_bodyFontFamily:r(t.bodyFontFamily,n.defaultFontFamily),_bodyFontStyle:r(t.bodyFontStyle,n.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:r(t.bodyFontSize,n.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:r(t.titleFontFamily,n.defaultFontFamily),_titleFontStyle:r(t.titleFontStyle,n.defaultFontStyle),titleFontSize:r(t.titleFontSize,n.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:r(t.footerFontFamily,n.defaultFontFamily),_footerFontStyle:r(t.footerFontStyle,n.defaultFontStyle),footerFontSize:r(t.footerFontSize,n.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function a(e,t){var n=e._chart.ctx,r=2*t.yPadding,i=0,a=t.body,o=a.reduce(function(e,t){return e+t.before.length+t.lines.length+t.after.length},0);o+=t.beforeBody.length+t.afterBody.length;var s=t.title.length,u=t.footer.length,d=t.titleFontSize,c=t.bodyFontSize,h=t.footerFontSize;r+=s*d,r+=s?(s-1)*t.titleSpacing:0,r+=s?t.titleMarginBottom:0,r+=o*c,r+=o?(o-1)*t.bodySpacing:0,r+=u?t.footerMarginTop:0,r+=u*h,r+=u?(u-1)*t.footerSpacing:0;var f=0,p=function(e){i=Math.max(i,n.measureText(e).width+f)};return n.font=l.fontString(d,t._titleFontStyle,t._titleFontFamily),l.each(t.title,p),n.font=l.fontString(c,t._bodyFontStyle,t._bodyFontFamily),l.each(t.beforeBody.concat(t.afterBody),p),f=t.displayColors?c+2:0,l.each(a,function(e){l.each(e.before,p),l.each(e.lines,p),l.each(e.after,p)}),f=0,n.font=l.fontString(h,t._footerFontStyle,t._footerFontFamily),l.each(t.footer,p),i+=2*t.xPadding,{width:i,height:r}}function o(e,t){var n=e._model,r=e._chart,i=e._chart.chartArea,a="center",o="center";n.y<t.height?o="top":n.y>r.height-t.height&&(o="bottom");var s,l,u,d,c,h=(i.left+i.right)/2,f=(i.top+i.bottom)/2;"center"===o?(s=function(e){return e<=h},l=function(e){return e>h}):(s=function(e){return e<=t.width/2},l=function(e){return e>=r.width-t.width/2}),u=function(e){return e+t.width>r.width},d=function(e){return e-t.width<0},c=function(e){return e<=f?"top":"bottom"},s(n.x)?(a="left",u(n.x)&&(a="center",o=c(n.y))):l(n.x)&&(a="right",d(n.x)&&(a="center",o=c(n.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:a,yAlign:p.yAlign?p.yAlign:o}}function s(e,t,n){var r=e.x,i=e.y,a=e.caretSize,o=e.caretPadding,s=e.cornerRadius,l=n.xAlign,u=n.yAlign,d=a+o,c=s+o;return"right"===l?r-=t.width:"center"===l&&(r-=t.width/2),"top"===u?i+=d:i-="bottom"===u?t.height+d:t.height/2,"center"===u?"left"===l?r+=d:"right"===l&&(r-=d):"left"===l?r-=c:"right"===l&&(r+=c),{x:r,y:i}}var l=e.helpers;e.defaults.global.tooltips={enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:l.noop,title:function(e,t){var n="",r=t.labels,i=r?r.length:0;if(e.length>0){var a=e[0];a.xLabel?n=a.xLabel:i>0&&a.index<i&&(n=r[a.index])}return n},afterTitle:l.noop,beforeBody:l.noop,beforeLabel:l.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n&&(n+=": "),n+=e.yLabel},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex),r=n.data[e.index],i=r._view;return{borderColor:i.borderColor,backgroundColor:i.backgroundColor}},afterLabel:l.noop,afterBody:l.noop,beforeFooter:l.noop,footer:l.noop,afterFooter:l.noop}},e.Tooltip=e.Element.extend({initialize:function(){this._model=i(this._options)},getTitle:function(){var e=this,t=e._options,r=t.callbacks,i=r.beforeTitle.apply(e,arguments),a=r.title.apply(e,arguments),o=r.afterTitle.apply(e,arguments),s=[];return s=n(s,i),s=n(s,a),s=n(s,o)},getBeforeBody:function(){var e=this._options.callbacks.beforeBody.apply(this,arguments);return l.isArray(e)?e:void 0!==e?[e]:[]},getBody:function(e,t){var r=this,i=r._options.callbacks,a=[];return l.each(e,function(e){var o={before:[],lines:[],after:[]};n(o.before,i.beforeLabel.call(r,e,t)),n(o.lines,i.label.call(r,e,t)),n(o.after,i.afterLabel.call(r,e,t)),a.push(o)}),a},getAfterBody:function(){var e=this._options.callbacks.afterBody.apply(this,arguments);return l.isArray(e)?e:void 0!==e?[e]:[]},getFooter:function(){var e=this,t=e._options.callbacks,r=t.beforeFooter.apply(e,arguments),i=t.footer.apply(e,arguments),a=t.afterFooter.apply(e,arguments),o=[];return o=n(o,r),o=n(o,i),o=n(o,a)},update:function(t){var n,u,d=this,c=d._options,h=d._model,f=d._model=i(c),p=d._active,m=d._data,_={xAlign:h.xAlign,yAlign:h.yAlign},g={x:h.x,y:h.y},y={width:h.width,height:h.height},v={x:h.caretX,y:h.caretY};if(p.length){f.opacity=1;var b=[];v=e.Tooltip.positioners[c.position](p,d._eventPosition);var M=[];for(n=0,u=p.length;n<u;++n)M.push(r(p[n]));c.filter&&(M=M.filter(function(e){return c.filter(e,m)})),c.itemSort&&(M=M.sort(function(e,t){return c.itemSort(e,t,m)})),l.each(M,function(e){b.push(c.callbacks.labelColor.call(d,e,d._chart))}),f.title=d.getTitle(M,m),f.beforeBody=d.getBeforeBody(M,m),f.body=d.getBody(M,m),f.afterBody=d.getAfterBody(M,m),f.footer=d.getFooter(M,m),f.x=Math.round(v.x),f.y=Math.round(v.y),f.caretPadding=c.caretPadding,f.labelColors=b,f.dataPoints=M,y=a(this,f),_=o(this,y),g=s(f,y,_)}else f.opacity=0;return f.xAlign=_.xAlign,f.yAlign=_.yAlign,f.x=g.x,f.y=g.y,f.width=y.width,f.height=y.height,f.caretX=v.x,f.caretY=v.y,d._model=f,t&&c.custom&&c.custom.call(d,f),d},drawCaret:function(e,t){var n=this._chart.ctx,r=this._view,i=this.getCaretPosition(e,t,r);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(e,t,n){var r,i,a,o,s,l,u=n.caretSize,d=n.cornerRadius,c=n.xAlign,h=n.yAlign,f=e.x,p=e.y,m=t.width,_=t.height;if("center"===h)s=p+_/2,"left"===c?(r=f,i=r-u,a=r,o=s+u,l=s-u):(r=f+m,i=r+u,a=r,o=s-u,l=s+u);else if("left"===c?(i=f+d+u,r=i-u,a=i+u):"right"===c?(i=f+m-d-u,r=i-u,a=i+u):(i=f+m/2,r=i-u,a=i+u),"top"===h)o=p,s=o-u,l=o;else{o=p+_,s=o+u,l=o;var g=a;a=r,r=g}return{x1:r,x2:i,x3:a,y1:o,y2:s,y3:l}},drawTitle:function(e,n,r,i){var a=n.title;if(a.length){r.textAlign=n._titleAlign,r.textBaseline="top";var o=n.titleFontSize,s=n.titleSpacing;r.fillStyle=t(n.titleFontColor,i),r.font=l.fontString(o,n._titleFontStyle,n._titleFontFamily);var u,d;for(u=0,d=a.length;u<d;++u)r.fillText(a[u],e.x,e.y),e.y+=o+s,u+1===a.length&&(e.y+=n.titleMarginBottom-s)}},drawBody:function(e,n,r,i){var a=n.bodyFontSize,o=n.bodySpacing,s=n.body;r.textAlign=n._bodyAlign,r.textBaseline="top";var u=t(n.bodyFontColor,i);r.fillStyle=u,r.font=l.fontString(a,n._bodyFontStyle,n._bodyFontFamily);var d=0,c=function(t){r.fillText(t,e.x+d,e.y),e.y+=a+o};l.each(n.beforeBody,c);var h=n.displayColors;d=h?a+2:0,l.each(s,function(o,s){l.each(o.before,c),l.each(o.lines,function(o){h&&(r.fillStyle=t(n.legendColorBackground,i),r.fillRect(e.x,e.y,a,a),r.strokeStyle=t(n.labelColors[s].borderColor,i),r.strokeRect(e.x,e.y,a,a),r.fillStyle=t(n.labelColors[s].backgroundColor,i),r.fillRect(e.x+1,e.y+1,a-2,a-2),r.fillStyle=u),c(o)}),l.each(o.after,c)}),d=0,l.each(n.afterBody,c),e.y-=o},drawFooter:function(e,n,r,i){var a=n.footer;a.length&&(e.y+=n.footerMarginTop,r.textAlign=n._footerAlign,r.textBaseline="top",r.fillStyle=t(n.footerFontColor,i),r.font=l.fontString(n.footerFontSize,n._footerFontStyle,n._footerFontFamily),l.each(a,function(t){r.fillText(t,e.x,e.y),e.y+=n.footerFontSize+n.footerSpacing}))},drawBackground:function(e,n,r,i,a){r.fillStyle=t(n.backgroundColor,a),r.strokeStyle=t(n.borderColor,a),r.lineWidth=n.borderWidth;var o=n.xAlign,s=n.yAlign,l=e.x,u=e.y,d=i.width,c=i.height,h=n.cornerRadius;r.beginPath(),r.moveTo(l+h,u),"top"===s&&this.drawCaret(e,i),r.lineTo(l+d-h,u),r.quadraticCurveTo(l+d,u,l+d,u+h),"center"===s&&"right"===o&&this.drawCaret(e,i),r.lineTo(l+d,u+c-h),r.quadraticCurveTo(l+d,u+c,l+d-h,u+c),"bottom"===s&&this.drawCaret(e,i),r.lineTo(l+h,u+c),r.quadraticCurveTo(l,u+c,l,u+c-h),"center"===s&&"left"===o&&this.drawCaret(e,i),r.lineTo(l,u+h),r.quadraticCurveTo(l,u,l+h,u),r.closePath(),r.fill(),n.borderWidth>0&&r.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},r={x:t.x,y:t.y},i=Math.abs(t.opacity<.001)?0:t.opacity,a=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&a&&(this.drawBackground(r,t,e,n,i),r.x+=t.xPadding,r.y+=t.yPadding,this.drawTitle(r,t,e,i),this.drawBody(r,t,e,i),this.drawFooter(r,t,e,i))}},handleEvent:function(e){var t=this,n=t._options,r=!1;if(t._lastActive=t._lastActive||[],"mouseout"===e.type?t._active=[]:t._active=t._chart.getElementsAtEventForMode(e,n.mode,n),!(r=!l.arrayEquals(t._active,t._lastActive)))return!1;if(t._lastActive=t._active,n.enabled||n.custom){t._eventPosition={x:e.x,y:e.y};var i=t._model;t.update(!0),t.pivot(),r|=i.x!==t._model.x||i.y!==t._model.y}return r}}),e.Tooltip.positioners={average:function(e){if(!e.length)return!1;var t,n,r=0,i=0,a=0;for(t=0,n=e.length;t<n;++t){var o=e[t];if(o&&o.hasValue()){var s=o.tooltipPosition();r+=s.x,i+=s.y,++a}}return{x:Math.round(r/a),y:Math.round(i/a)}},nearest:function(e,t){var n,r,i,a=t.x,o=t.y,s=Number.POSITIVE_INFINITY;for(r=0,i=e.length;r<i;++r){var u=e[r];if(u&&u.hasValue()){var d=u.getCenterPoint(),c=l.distanceBetweenPoints(t,d);c<s&&(s=c,n=u)}}if(n){var h=n.tooltipPosition();a=h.x,o=h.y}return{x:a,y:o}}}}},{}],35:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.defaults.global;n.elements.arc={backgroundColor:n.defaultColor,borderColor:"#fff",borderWidth:2},e.elements.Arc=e.Element.extend({inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,n){var r=this._view;if(r){for(var i=t.getAngleFromPoint(r,{x:e,y:n}),a=i.angle,o=i.distance,s=r.startAngle,l=r.endAngle;l<s;)l+=2*Math.PI;for(;a>l;)a-=2*Math.PI;for(;a<s;)a+=2*Math.PI;var u=a>=s&&a<=l,d=o>=r.innerRadius&&o<=r.outerRadius;return u&&d}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e=this._chart.ctx,t=this._view,n=t.startAngle,r=t.endAngle;e.beginPath(),e.arc(t.x,t.y,t.outerRadius,n,r),e.arc(t.x,t.y,t.innerRadius,r,n,!0),e.closePath(),e.strokeStyle=t.borderColor,e.lineWidth=t.borderWidth,e.fillStyle=t.backgroundColor,e.fill(),e.lineJoin="bevel",t.borderWidth&&e.stroke()}})}},{}],36:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.defaults.global;e.defaults.global.elements.line={tension:.4,backgroundColor:n.defaultColor,borderWidth:3,borderColor:n.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0},e.elements.Line=e.Element.extend({draw:function(){var e,r,i,a,o=this,s=o._view,l=o._chart.ctx,u=s.spanGaps,d=o._children.slice(),c=n.elements.line,h=-1;for(o._loop&&d.length&&d.push(d[0]),l.save(),l.lineCap=s.borderCapStyle||c.borderCapStyle,l.setLineDash&&l.setLineDash(s.borderDash||c.borderDash),l.lineDashOffset=s.borderDashOffset||c.borderDashOffset,l.lineJoin=s.borderJoinStyle||c.borderJoinStyle,l.lineWidth=s.borderWidth||c.borderWidth,l.strokeStyle=s.borderColor||n.defaultColor,l.beginPath(),h=-1,e=0;e<d.length;++e)r=d[e],i=t.previousItem(d,e),a=r._view,0===e?a.skip||(l.moveTo(a.x,a.y),h=e):(i=-1===h?i:d[h],a.skip||(h!==e-1&&!u||-1===h?l.moveTo(a.x,a.y):t.canvas.lineTo(l,i._view,r._view),h=e));l.stroke(),l.restore()}})}},{}],37:[function(e,t,n){"use strict";t.exports=function(e){function t(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hitRadius,2)}function n(e){var t=this._view;return!!t&&Math.pow(e-t.y,2)<Math.pow(t.radius+t.hitRadius,2)}var r=e.helpers,i=e.defaults.global,a=i.defaultColor;i.elements.point={radius:3,pointStyle:"circle",backgroundColor:a,borderWidth:1,borderColor:a,hitRadius:1,hoverRadius:4,hoverBorderWidth:1},e.elements.Point=e.Element.extend({inRange:function(e,t){var n=this._view;return!!n&&Math.pow(e-n.x,2)+Math.pow(t-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:t,inXRange:t,inYRange:n,getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(t){var n=this._view,o=this._model,s=this._chart.ctx,l=n.pointStyle,u=n.radius,d=n.x,c=n.y,h=e.helpers.color,f=1.01,p=0;n.skip||(s.strokeStyle=n.borderColor||a,s.lineWidth=r.getValueOrDefault(n.borderWidth,i.elements.point.borderWidth),s.fillStyle=n.backgroundColor||a,void 0!==t&&(o.x<t.left||t.right*f<o.x||o.y<t.top||t.bottom*f<o.y)&&(o.x<t.left?p=(d-o.x)/(t.left-o.x):t.right*f<o.x?p=(o.x-d)/(o.x-t.right):o.y<t.top?p=(c-o.y)/(t.top-o.y):t.bottom*f<o.y&&(p=(o.y-c)/(o.y-t.bottom)),p=Math.round(100*p)/100,s.strokeStyle=h(s.strokeStyle).alpha(p).rgbString(),s.fillStyle=h(s.fillStyle).alpha(p).rgbString()),e.canvasHelpers.drawPoint(s,l,u,d,c))}})}},{}],38:[function(e,t,n){"use strict";t.exports=function(e){function t(e){return void 0!==e._view.width}function n(e){var n,r,i,a,o=e._view;if(t(e)){var s=o.width/2;n=o.x-s,r=o.x+s,i=Math.min(o.y,o.base),a=Math.max(o.y,o.base)}else{var l=o.height/2;n=Math.min(o.x,o.base),r=Math.max(o.x,o.base),i=o.y-l,a=o.y+l}return{left:n,top:i,right:r,bottom:a}}var r=e.defaults.global;r.elements.rectangle={backgroundColor:r.defaultColor,borderWidth:0,borderColor:r.defaultColor,borderSkipped:"bottom"},e.elements.Rectangle=e.Element.extend({draw:function(){function e(e){return g[(v+e)%4]}var t,n,r,i,a,o,s,l=this._chart.ctx,u=this._view,d=u.borderWidth;if(u.horizontal?(t=u.base,n=u.x,r=u.y-u.height/2,i=u.y+u.height/2,a=n>t?1:-1,o=1,s=u.borderSkipped||"left"):(t=u.x-u.width/2,n=u.x+u.width/2,r=u.y,i=u.base,a=1,o=i>r?1:-1,s=u.borderSkipped||"bottom"),d){var c=Math.min(Math.abs(t-n),Math.abs(r-i));d=d>c?c:d;var h=d/2,f=t+("left"!==s?h*a:0),p=n+("right"!==s?-h*a:0),m=r+("top"!==s?h*o:0),_=i+("bottom"!==s?-h*o:0);f!==p&&(r=m,i=_),m!==_&&(t=f,n=p)}l.beginPath(),l.fillStyle=u.backgroundColor,l.strokeStyle=u.borderColor,l.lineWidth=d;var g=[[t,i],[t,r],[n,r],[n,i]],y=["bottom","left","top","right"],v=y.indexOf(s,0);-1===v&&(v=0);var b=e(0);l.moveTo(b[0],b[1]);for(var M=1;M<4;M++)b=e(M),l.lineTo(b[0],b[1]);l.fill(),d&&l.stroke()},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){var r=!1;if(this._view){var i=n(this);r=e>=i.left&&e<=i.right&&t>=i.top&&t<=i.bottom}return r},inLabelRange:function(e,r){var i=this;if(!i._view)return!1;var a=n(i);return t(i)?e>=a.left&&e<=a.right:r>=a.top&&r<=a.bottom},inXRange:function(e){var t=n(this);return e>=t.left&&e<=t.right},inYRange:function(e){var t=n(this);return e>=t.top&&e<=t.bottom},getCenterPoint:function(){var e,n,r=this._view;return t(this)?(e=r.x,n=(r.y+r.base)/2):(e=(r.x+r.base)/2,n=r.y),{x:e,y:n}},getArea:function(){var e=this._view;return e.width*Math.abs(e.y-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}})}},{}],39:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){var n=l.getStyle(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?Number(r[1]):void 0}function n(e,n){var r=e.style,i=e.getAttribute("height"),a=e.getAttribute("width");if(e._chartjs={initial:{height:i,width:a,style:{display:r.display,height:r.height,width:r.width}}},r.display=r.display||"block",null===a||""===a){var o=t(e,"width");void 0!==o&&(e.width=o)}if(null===i||""===i)if(""===e.style.height)e.height=e.width/(n.options.aspectRatio||2);else{var s=t(e,"height");void 0!==o&&(e.height=s)}return e}function r(e,t,n,r,i){return{type:e,chart:t,native:i||null,x:void 0!==n?n:null,y:void 0!==r?r:null}}function i(e,t){var n=u[e.type]||e.type,i=l.getRelativePosition(e,t);return r(n,t,i.x,i.y,e)}function a(e){var t=document.createElement("iframe");return t.className="chartjs-hidden-iframe",t.style.cssText="display:block;overflow:hidden;border:0;margin:0;top:0;left:0;bottom:0;right:0;height:100%;width:100%;position:absolute;pointer-events:none;z-index:-1;",t.tabIndex=-1,l.addEvent(t,"load",function(){l.addEvent(t.contentWindow||t,"resize",e),e()}),t}function o(e,t,n){var i=e._chartjs={ticking:!1},o=function(){i.ticking||(i.ticking=!0,l.requestAnimFrame.call(window,function(){if(i.resizer)return i.ticking=!1,t(r("resize",n))}))};i.resizer=a(o),e.insertBefore(i.resizer,e.firstChild)}function s(e){if(e&&e._chartjs){var t=e._chartjs.resizer;t&&(t.parentNode.removeChild(t),e._chartjs.resizer=null),delete e._chartjs}}var l=e.helpers,u={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};return{acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(n(e,t),r):null},releaseContext:function(e){var t=e.canvas;if(t._chartjs){var n=t._chartjs.initial;["height","width"].forEach(function(e){var r=n[e];void 0===r||null===r?t.removeAttribute(e):t.setAttribute(e,r)}),l.each(n.style||{},function(e,n){t.style[n]=e}),t.width=t.width,delete t._chartjs}},addEventListener:function(e,t,n){var r=e.canvas;if("resize"===t)return void o(r.parentNode,n,e);var a=n._chartjs||(n._chartjs={}),s=a.proxies||(a.proxies={}),u=s[e.id+"_"+t]=function(t){n(i(t,e))};l.addEvent(r,t,u)},removeEventListener:function(e,t,n){var r=e.canvas;if("resize"===t)return void s(r.parentNode);var i=n._chartjs||{},a=i.proxies||{},o=a[e.id+"_"+t];o&&l.removeEvent(r,t,o)}}}},{}],40:[function(e,t,n){"use strict";var r=e(39);t.exports=function(e){e.platform={acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},e.helpers.extend(e.platform,r(e))}},{39:39}],41:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t,n){var r,i=e._model||{},a=i.fill;if(void 0===a&&(a=!!i.backgroundColor),!1===a||null===a)return!1;if(!0===a)return"origin";if(r=parseFloat(a,10),isFinite(r)&&Math.floor(r)===r)return"-"!==a[0]&&"+"!==a[0]||(r=t+r),!(r===t||r<0||r>=n)&&r;switch(a){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return a;default:return!1}}function n(e){var t,n=e.el._model||{},r=e.el._scale||{},i=e.fill,a=null;if(isFinite(i))return null;if("start"===i?a=void 0===n.scaleBottom?r.bottom:n.scaleBottom:"end"===i?a=void 0===n.scaleTop?r.top:n.scaleTop:void 0!==n.scaleZero?a=n.scaleZero:r.getBasePosition?a=r.getBasePosition():r.getBasePixel&&(a=r.getBasePixel()),void 0!==a&&null!==a){if(void 0!==a.x&&void 0!==a.y)return a;if("number"==typeof a&&isFinite(a))return t=r.isHorizontal(),{x:t?a:null,y:t?null:a}}return null}function r(e,t,n){var r,i=e[t],a=i.fill,o=[t];if(!n)return a;for(;!1!==a&&-1===o.indexOf(a);){if(!isFinite(a))return a;if(!(r=e[a]))return!1;if(r.visible)return a;o.push(a),a=r.fill}return!1}function i(e){var t=e.fill,n="dataset";return!1===t?null:(isFinite(t)||(n="boundary"),d[n](e))}function a(e){return e&&!e.skip}function o(e,t,n,r,i){var a;if(r&&i){for(e.moveTo(t[0].x,t[0].y),a=1;a<r;++a)u.canvas.lineTo(e,t[a-1],t[a]);for(e.lineTo(n[i-1].x,n[i-1].y),a=i-1;a>0;--a)u.canvas.lineTo(e,n[a],n[a-1],!0)}}function s(e,t,n,r,i,s){var l,u,d,c,h,f,p,m=t.length,_=r.spanGaps,g=[],y=[],v=0,b=0;for(e.beginPath(),l=0,u=m+!!s;l<u;++l)d=l%m,c=t[d]._view,h=n(c,d,r),f=a(c),p=a(h),f&&p?(v=g.push(c),b=y.push(h)):v&&b&&(_?(f&&g.push(c),p&&y.push(h)):(o(e,g,y,v,b),v=b=0,g=[],y=[]));o(e,g,y,v,b),e.closePath(),e.fillStyle=i,e.fill()}e.defaults.global.plugins.filler={propagate:!0};var l=e.defaults,u=e.helpers,d={dataset:function(e){var t=e.fill,n=e.chart,r=n.getDatasetMeta(t),i=r&&n.isDatasetVisible(t),a=i&&r.dataset._children||[];return a.length?function(e,t){return a[t]._view||null}:null},boundary:function(e){var t=e.boundary,n=t?t.x:null,r=t?t.y:null;return function(e){return{x:null===n?e.x:n,y:null===r?e.y:r}}}};return{id:"filler",afterDatasetsUpdate:function(a,o){var s,l,u,d,c=(a.data.datasets||[]).length,h=o.propagate,f=[];for(l=0;l<c;++l)s=a.getDatasetMeta(l),u=s.dataset,d=null,u&&u._model&&u instanceof e.elements.Line&&(d={visible:a.isDatasetVisible(l),fill:t(u,l,c),chart:a,el:u}),s.$filler=d,f.push(d);for(l=0;l<c;++l)(d=f[l])&&(d.fill=r(f,l,h),d.boundary=n(d),d.mapper=i(d))},beforeDatasetDraw:function(e,t){var n=t.meta.$filler;if(n){var r=n.el,i=r._view,a=r._children||[],o=n.mapper,u=i.backgroundColor||l.global.defaultColor;o&&u&&a.length&&s(e.ctx,a,o,i,u,r._loop)}}}}},{}],42:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){return e.usePointStyle?t*Math.SQRT2:e.boxWidth}function n(t,n){var r=new e.Legend({ctx:t.ctx,options:n,chart:t});i.configure(t,r,n),i.addBox(t,r),t.legend=r}var r=e.helpers,i=e.layoutService,a=r.noop;return e.defaults.global.legend={display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,r=this.chart,i=r.getDatasetMeta(n);i.hidden=null===i.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data;return r.isArray(t.datasets)?t.datasets.map(function(t,n){return{text:t.label,fillStyle:r.isArray(t.backgroundColor)?t.backgroundColor[0]:t.backgroundColor,hidden:!e.isDatasetVisible(n),lineCap:t.borderCapStyle,lineDash:t.borderDash,lineDashOffset:t.borderDashOffset,lineJoin:t.borderJoinStyle,lineWidth:t.borderWidth,strokeStyle:t.borderColor,pointStyle:t.pointStyle,datasetIndex:n}},this):[]}}},e.Legend=e.Element.extend({initialize:function(e){r.extend(this,e),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:a,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:a,beforeSetDimensions:a,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:a,beforeBuildLabels:a,buildLabels:function(){var e=this,t=e.options.labels,n=t.generateLabels.call(e,e.chart);t.filter&&(n=n.filter(function(n){return t.filter(n,e.chart.data)})),e.options.reverse&&n.reverse(),e.legendItems=n},afterBuildLabels:a,beforeFit:a,fit:function(){var n=this,i=n.options,a=i.labels,o=i.display,s=n.ctx,l=e.defaults.global,u=r.getValueOrDefault,d=u(a.fontSize,l.defaultFontSize),c=u(a.fontStyle,l.defaultFontStyle),h=u(a.fontFamily,l.defaultFontFamily),f=r.fontString(d,c,h),p=n.legendHitBoxes=[],m=n.minSize,_=n.isHorizontal();if(_?(m.width=n.maxWidth,m.height=o?10:0):(m.width=o?10:0,m.height=n.maxHeight),o)if(s.font=f,_){var g=n.lineWidths=[0],y=n.legendItems.length?d+a.padding:0;s.textAlign="left",s.textBaseline="top",r.each(n.legendItems,function(e,r){var i=t(a,d),o=i+d/2+s.measureText(e.text).width;g[g.length-1]+o+a.padding>=n.width&&(y+=d+a.padding,g[g.length]=n.left),p[r]={left:0,top:0,width:o,height:d},g[g.length-1]+=o+a.padding}),m.height+=y}else{var v=a.padding,b=n.columnWidths=[],M=a.padding,w=0,x=0,k=d+v;r.each(n.legendItems,function(e,n){var r=t(a,d),i=r+d/2+s.measureText(e.text).width;x+k>m.height&&(M+=w+a.padding,b.push(w),w=0,x=0),w=Math.max(w,i),x+=k,p[n]={left:0,top:0,width:i,height:d}}),M+=w,b.push(w),m.width+=M}n.width=m.width,n.height=m.height},afterFit:a,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var n=this,i=n.options,a=i.labels,o=e.defaults.global,s=o.elements.line,l=n.width,u=n.lineWidths;if(i.display){var d,c=n.ctx,h=r.getValueOrDefault,f=h(a.fontColor,o.defaultFontColor),p=h(a.fontSize,o.defaultFontSize),m=h(a.fontStyle,o.defaultFontStyle),_=h(a.fontFamily,o.defaultFontFamily),g=r.fontString(p,m,_);c.textAlign="left",c.textBaseline="top",c.lineWidth=.5,c.strokeStyle=f,c.fillStyle=f,c.font=g;var y=t(a,p),v=n.legendHitBoxes,b=function(t,n,r){if(!(isNaN(y)||y<=0)){c.save(),c.fillStyle=h(r.fillStyle,o.defaultColor),c.lineCap=h(r.lineCap,s.borderCapStyle),
|
||
c.lineDashOffset=h(r.lineDashOffset,s.borderDashOffset),c.lineJoin=h(r.lineJoin,s.borderJoinStyle),c.lineWidth=h(r.lineWidth,s.borderWidth),c.strokeStyle=h(r.strokeStyle,o.defaultColor);var a=0===h(r.lineWidth,s.borderWidth);if(c.setLineDash&&c.setLineDash(h(r.lineDash,s.borderDash)),i.labels&&i.labels.usePointStyle){var l=p*Math.SQRT2/2,u=l/Math.SQRT2,d=t+u,f=n+u;e.canvasHelpers.drawPoint(c,r.pointStyle,l,d,f)}else a||c.strokeRect(t,n,y,p),c.fillRect(t,n,y,p);c.restore()}},M=function(e,t,n,r){c.fillText(n.text,y+p/2+e,t),n.hidden&&(c.beginPath(),c.lineWidth=2,c.moveTo(y+p/2+e,t+p/2),c.lineTo(y+p/2+e+r,t+p/2),c.stroke())},w=n.isHorizontal();d=w?{x:n.left+(l-u[0])/2,y:n.top+a.padding,line:0}:{x:n.left+a.padding,y:n.top+a.padding,line:0};var x=p+a.padding;r.each(n.legendItems,function(e,t){var r=c.measureText(e.text).width,i=y+p/2+r,o=d.x,s=d.y;w?o+i>=l&&(s=d.y+=x,d.line++,o=d.x=n.left+(l-u[d.line])/2):s+x>n.bottom&&(o=d.x=o+n.columnWidths[d.line]+a.padding,s=d.y=n.top+a.padding,d.line++),b(o,s,e),v[t].left=o,v[t].top=s,M(o,s,e,r),w?d.x+=i+a.padding:d.y+=x})}},handleEvent:function(e){var t=this,n=t.options,r="mouseup"===e.type?"click":e.type,i=!1;if("mousemove"===r){if(!n.onHover)return}else{if("click"!==r)return;if(!n.onClick)return}var a=e.x,o=e.y;if(a>=t.left&&a<=t.right&&o>=t.top&&o<=t.bottom)for(var s=t.legendHitBoxes,l=0;l<s.length;++l){var u=s[l];if(a>=u.left&&a<=u.left+u.width&&o>=u.top&&o<=u.top+u.height){if("click"===r){n.onClick.call(t,e.native,t.legendItems[l]),i=!0;break}if("mousemove"===r){n.onHover.call(t,e.native,t.legendItems[l]),i=!0;break}}}return i}}),{id:"legend",beforeInit:function(e){var t=e.options.legend;t&&n(e,t)},beforeUpdate:function(t){var a=t.options.legend,o=t.legend;a?(a=r.configMerge(e.defaults.global.legend,a),o?(i.configure(t,o,a),o.options=a):n(t,a)):o&&(i.removeBox(t,o),delete t.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}}}},{}],43:[function(e,t,n){"use strict";t.exports=function(e){function t(t,n){var i=new e.Title({ctx:t.ctx,options:n,chart:t});r.configure(t,i,n),r.addBox(t,i),t.titleBlock=i}var n=e.helpers,r=e.layoutService,i=n.noop;return e.defaults.global.title={display:!1,position:"top",fullWidth:!0,weight:2e3,fontStyle:"bold",padding:10,text:""},e.Title=e.Element.extend({initialize:function(e){var t=this;n.extend(t,e),t.legendHitBoxes=[]},beforeUpdate:i,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:i,beforeSetDimensions:i,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:i,beforeBuildLabels:i,buildLabels:i,afterBuildLabels:i,beforeFit:i,fit:function(){var t=this,r=n.getValueOrDefault,i=t.options,a=e.defaults.global,o=i.display,s=r(i.fontSize,a.defaultFontSize),l=t.minSize;t.isHorizontal()?(l.width=t.maxWidth,l.height=o?s+2*i.padding:0):(l.width=o?s+2*i.padding:0,l.height=t.maxHeight),t.width=l.width,t.height=l.height},afterFit:i,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var t=this,r=t.ctx,i=n.getValueOrDefault,a=t.options,o=e.defaults.global;if(a.display){var s,l,u,d=i(a.fontSize,o.defaultFontSize),c=i(a.fontStyle,o.defaultFontStyle),h=i(a.fontFamily,o.defaultFontFamily),f=n.fontString(d,c,h),p=0,m=t.top,_=t.left,g=t.bottom,y=t.right;r.fillStyle=i(a.fontColor,o.defaultFontColor),r.font=f,t.isHorizontal()?(s=_+(y-_)/2,l=m+(g-m)/2,u=y-_):(s="left"===a.position?_+d/2:y-d/2,l=m+(g-m)/2,u=g-m,p=Math.PI*("left"===a.position?-.5:.5)),r.save(),r.translate(s,l),r.rotate(p),r.textAlign="center",r.textBaseline="middle",r.fillText(a.text,0,0,u),r.restore()}}}),{id:"title",beforeInit:function(e){var n=e.options.title;n&&t(e,n)},beforeUpdate:function(i){var a=i.options.title,o=i.titleBlock;a?(a=n.configMerge(e.defaults.global.title,a),o?(r.configure(i,o,a),o.options=a):t(i,a)):o&&(e.layoutService.removeBox(i,o),delete i.titleBlock)}}}},{}],44:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n={position:"bottom"},r=e.Scale.extend({getLabels:function(){var e=this.chart.data;return(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels},determineDataLimits:function(){var e=this,n=e.getLabels();e.minIndex=0,e.maxIndex=n.length-1;var r;void 0!==e.options.ticks.min&&(r=t.indexOf(n,e.options.ticks.min),e.minIndex=-1!==r?r:e.minIndex),void 0!==e.options.ticks.max&&(r=t.indexOf(n,e.options.ticks.max),e.maxIndex=-1!==r?r:e.maxIndex),e.min=n[e.minIndex],e.max=n[e.maxIndex]},buildTicks:function(){var e=this,t=e.getLabels();e.ticks=0===e.minIndex&&e.maxIndex===t.length-1?t:t.slice(e.minIndex,e.maxIndex+1)},getLabelForIndex:function(e,t){var n=this,r=n.chart.data,i=n.isHorizontal();return r.yLabels&&!i?n.getRightValue(r.datasets[t].data[e]):n.ticks[e-n.minIndex]},getPixelForValue:function(e,t,n,r){var i,a=this,o=Math.max(a.maxIndex+1-a.minIndex-(a.options.gridLines.offsetGridLines?0:1),1);if(void 0!==e&&null!==e&&(i=a.isHorizontal()?e.x:e.y),void 0!==i||void 0!==e&&isNaN(t)){var s=a.getLabels();e=i||e;var l=s.indexOf(e);t=-1!==l?l:t}if(a.isHorizontal()){var u=a.width/o,d=u*(t-a.minIndex);return(a.options.gridLines.offsetGridLines&&r||a.maxIndex===a.minIndex&&r)&&(d+=u/2),a.left+Math.round(d)}var c=a.height/o,h=c*(t-a.minIndex);return a.options.gridLines.offsetGridLines&&r&&(h+=c/2),a.top+Math.round(h)},getPixelForTick:function(e,t){return this.getPixelForValue(this.ticks[e],e+this.minIndex,null,t)},getValueForPixel:function(e){var t=this,n=Math.max(t.ticks.length-(t.options.gridLines.offsetGridLines?0:1),1),r=t.isHorizontal(),i=(r?t.width:t.height)/n;return e-=r?t.left:t.top,t.options.gridLines.offsetGridLines&&(e-=i/2),e<=0?0:Math.round(e/i)},getBasePixel:function(){return this.bottom}});e.scaleService.registerScaleType("category",r,n)}},{}],45:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n={position:"left",ticks:{callback:e.Ticks.formatters.linear}},r=e.LinearScaleBase.extend({determineDataLimits:function(){function e(e){return s?e.xAxisID===n.id:e.yAxisID===n.id}var n=this,r=n.options,i=n.chart,a=i.data,o=a.datasets,s=n.isHorizontal();n.min=null,n.max=null;var l=r.stacked;if(void 0===l&&t.each(o,function(t,n){if(!l){var r=i.getDatasetMeta(n);i.isDatasetVisible(n)&&e(r)&&void 0!==r.stack&&(l=!0)}}),r.stacked||l){var u={};t.each(o,function(a,o){var s=i.getDatasetMeta(o),l=[s.type,void 0===r.stacked&&void 0===s.stack?o:"",s.stack].join(".");void 0===u[l]&&(u[l]={positiveValues:[],negativeValues:[]});var d=u[l].positiveValues,c=u[l].negativeValues;i.isDatasetVisible(o)&&e(s)&&t.each(a.data,function(e,t){var i=+n.getRightValue(e);isNaN(i)||s.data[t].hidden||(d[t]=d[t]||0,c[t]=c[t]||0,r.relativePoints?d[t]=100:i<0?c[t]+=i:d[t]+=i)})}),t.each(u,function(e){var r=e.positiveValues.concat(e.negativeValues),i=t.min(r),a=t.max(r);n.min=null===n.min?i:Math.min(n.min,i),n.max=null===n.max?a:Math.max(n.max,a)})}else t.each(o,function(r,a){var o=i.getDatasetMeta(a);i.isDatasetVisible(a)&&e(o)&&t.each(r.data,function(e,t){var r=+n.getRightValue(e);isNaN(r)||o.data[t].hidden||(null===n.min?n.min=r:r<n.min&&(n.min=r),null===n.max?n.max=r:r>n.max&&(n.max=r))})});n.min=isFinite(n.min)?n.min:0,n.max=isFinite(n.max)?n.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var n,r=this,i=r.options.ticks;if(r.isHorizontal())n=Math.min(i.maxTicksLimit?i.maxTicksLimit:11,Math.ceil(r.width/50));else{var a=t.getValueOrDefault(i.fontSize,e.defaults.global.defaultFontSize);n=Math.min(i.maxTicksLimit?i.maxTicksLimit:11,Math.ceil(r.height/(2*a)))}return n},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){var t,n=this,r=n.start,i=+n.getRightValue(e),a=n.end-r;return n.isHorizontal()?(t=n.left+n.width/a*(i-r),Math.round(t)):(t=n.bottom-n.height/a*(i-r),Math.round(t))},getValueForPixel:function(e){var t=this,n=t.isHorizontal(),r=n?t.width:t.height,i=(n?e-t.left:t.bottom-e)/r;return t.start+(t.end-t.start)*i},getPixelForTick:function(e){return this.getPixelForValue(this.ticksAsNumbers[e])}});e.scaleService.registerScaleType("linear",r,n)}},{}],46:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=t.noop;e.LinearScaleBase=e.Scale.extend({handleTickRangeOptions:function(){var e=this,n=e.options,r=n.ticks;if(r.beginAtZero){var i=t.sign(e.min),a=t.sign(e.max);i<0&&a<0?e.max=0:i>0&&a>0&&(e.min=0)}void 0!==r.min?e.min=r.min:void 0!==r.suggestedMin&&(null===e.min?e.min=r.suggestedMin:e.min=Math.min(e.min,r.suggestedMin)),void 0!==r.max?e.max=r.max:void 0!==r.suggestedMax&&(null===e.max?e.max=r.suggestedMax:e.max=Math.max(e.max,r.suggestedMax)),e.min===e.max&&(e.max++,r.beginAtZero||e.min--)},getTickLimit:n,handleDirectionalChanges:n,buildTicks:function(){var n=this,r=n.options,i=r.ticks,a=n.getTickLimit();a=Math.max(2,a);var o={maxTicks:a,min:i.min,max:i.max,stepSize:t.getValueOrDefault(i.fixedStepSize,i.stepSize)},s=n.ticks=e.Ticks.generators.linear(o,n);n.handleDirectionalChanges(),n.max=t.max(s),n.min=t.min(s),i.reverse?(s.reverse(),n.start=n.max,n.end=n.min):(n.start=n.min,n.end=n.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),e.Scale.prototype.convertTicksToLabels.call(t)}})}},{}],47:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n={position:"left",ticks:{callback:e.Ticks.formatters.logarithmic}},r=e.Scale.extend({determineDataLimits:function(){function e(e){return u?e.xAxisID===n.id:e.yAxisID===n.id}var n=this,r=n.options,i=r.ticks,a=n.chart,o=a.data,s=o.datasets,l=t.getValueOrDefault,u=n.isHorizontal();n.min=null,n.max=null,n.minNotZero=null;var d=r.stacked;if(void 0===d&&t.each(s,function(t,n){if(!d){var r=a.getDatasetMeta(n);a.isDatasetVisible(n)&&e(r)&&void 0!==r.stack&&(d=!0)}}),r.stacked||d){var c={};t.each(s,function(i,o){var s=a.getDatasetMeta(o),l=[s.type,void 0===r.stacked&&void 0===s.stack?o:"",s.stack].join(".");a.isDatasetVisible(o)&&e(s)&&(void 0===c[l]&&(c[l]=[]),t.each(i.data,function(e,t){var i=c[l],a=+n.getRightValue(e);isNaN(a)||s.data[t].hidden||(i[t]=i[t]||0,r.relativePoints?i[t]=100:i[t]+=a)}))}),t.each(c,function(e){var r=t.min(e),i=t.max(e);n.min=null===n.min?r:Math.min(n.min,r),n.max=null===n.max?i:Math.max(n.max,i)})}else t.each(s,function(r,i){var o=a.getDatasetMeta(i);a.isDatasetVisible(i)&&e(o)&&t.each(r.data,function(e,t){var r=+n.getRightValue(e);isNaN(r)||o.data[t].hidden||(null===n.min?n.min=r:r<n.min&&(n.min=r),null===n.max?n.max=r:r>n.max&&(n.max=r),0!==r&&(null===n.minNotZero||r<n.minNotZero)&&(n.minNotZero=r))})});n.min=l(i.min,n.min),n.max=l(i.max,n.max),n.min===n.max&&(0!==n.min&&null!==n.min?(n.min=Math.pow(10,Math.floor(t.log10(n.min))-1),n.max=Math.pow(10,Math.floor(t.log10(n.max))+1)):(n.min=1,n.max=10))},buildTicks:function(){var n=this,r=n.options,i=r.ticks,a={min:i.min,max:i.max},o=n.ticks=e.Ticks.generators.logarithmic(a,n);n.isHorizontal()||o.reverse(),n.max=t.max(o),n.min=t.min(o),i.reverse?(o.reverse(),n.start=n.max,n.end=n.min):(n.start=n.min,n.end=n.max)},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),e.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){return this.getPixelForValue(this.tickValues[e])},getPixelForValue:function(e){var n,r,i,a=this,o=a.start,s=+a.getRightValue(e),l=a.options,u=l.ticks;return a.isHorizontal()?(i=t.log10(a.end)-t.log10(o),0===s?r=a.left:(n=a.width,r=a.left+n/i*(t.log10(s)-t.log10(o)))):(n=a.height,0!==o||u.reverse?0===a.end&&u.reverse?(i=t.log10(a.start)-t.log10(a.minNotZero),r=s===a.end?a.top:s===a.minNotZero?a.top+.02*n:a.top+.02*n+.98*n/i*(t.log10(s)-t.log10(a.minNotZero))):0===s?r=u.reverse?a.top:a.bottom:(i=t.log10(a.end)-t.log10(o),n=a.height,r=a.bottom-n/i*(t.log10(s)-t.log10(o))):(i=t.log10(a.end)-t.log10(a.minNotZero),r=s===o?a.bottom:s===a.minNotZero?a.bottom-.02*n:a.bottom-.02*n-.98*n/i*(t.log10(s)-t.log10(a.minNotZero)))),r},getValueForPixel:function(e){var n,r,i=this,a=t.log10(i.end)-t.log10(i.start);return i.isHorizontal()?(r=i.width,n=i.start*Math.pow(10,(e-i.left)*a/r)):(r=i.height,n=Math.pow(10,(i.bottom-e)*a/r)/i.start),n}});e.scaleService.registerScaleType("logarithmic",r,n)}},{}],48:[function(e,t,n){"use strict";t.exports=function(e){function t(e){var t=e.options;return t.angleLines.display||t.pointLabels.display?e.chart.data.labels.length:0}function n(e){var t=e.options.pointLabels,n=f.getValueOrDefault(t.fontSize,p.defaultFontSize),r=f.getValueOrDefault(t.fontStyle,p.defaultFontStyle),i=f.getValueOrDefault(t.fontFamily,p.defaultFontFamily);return{size:n,style:r,family:i,font:f.fontString(n,r,i)}}function r(e,t,n){return f.isArray(n)?{w:f.longestText(e,e.font,n),h:n.length*t+1.5*(n.length-1)*t}:{w:e.measureText(n).width,h:t}}function i(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:e<r||e>i?{start:t-n-5,end:t}:{start:t,end:t+n+5}}function a(e){var a,o,s,l=n(e),u=Math.min(e.height/2,e.width/2),d={r:e.width,l:0,t:e.height,b:0},c={};e.ctx.font=l.font,e._pointLabelSizes=[];var h=t(e);for(a=0;a<h;a++){s=e.getPointPosition(a,u),o=r(e.ctx,l.size,e.pointLabels[a]||""),e._pointLabelSizes[a]=o;var p=e.getIndexAngle(a),m=f.toDegrees(p)%360,_=i(m,s.x,o.w,0,180),g=i(m,s.y,o.h,90,270);_.start<d.l&&(d.l=_.start,c.l=p),_.end>d.r&&(d.r=_.end,c.r=p),g.start<d.t&&(d.t=g.start,c.t=p),g.end>d.b&&(d.b=g.end,c.b=p)}e.setReductions(u,d,c)}function o(e){var t=Math.min(e.height/2,e.width/2);e.drawingArea=Math.round(t),e.setCenterPoint(0,0,0,0)}function s(e){return 0===e||180===e?"center":e<180?"left":"right"}function l(e,t,n,r){if(f.isArray(t))for(var i=n.y,a=1.5*r,o=0;o<t.length;++o)e.fillText(t[o],n.x,i),i+=a;else e.fillText(t,n.x,n.y)}function u(e,t,n){90===e||270===e?n.y-=t.h/2:(e>270||e<90)&&(n.y-=t.h)}function d(e){var r=e.ctx,i=f.getValueOrDefault,a=e.options,o=a.angleLines,d=a.pointLabels;r.lineWidth=o.lineWidth,r.strokeStyle=o.color;var c=e.getDistanceFromCenterForValue(a.reverse?e.min:e.max),h=n(e);r.textBaseline="top";for(var m=t(e)-1;m>=0;m--){if(o.display){var _=e.getPointPosition(m,c);r.beginPath(),r.moveTo(e.xCenter,e.yCenter),r.lineTo(_.x,_.y),r.stroke(),r.closePath()}if(d.display){var g=e.getPointPosition(m,c+5),y=i(d.fontColor,p.defaultFontColor);r.font=h.font,r.fillStyle=y;var v=e.getIndexAngle(m),b=f.toDegrees(v);r.textAlign=s(b),u(b,e._pointLabelSizes[m],g),l(r,e.pointLabels[m]||"",g,h.size)}}}function c(e,n,r,i){var a=e.ctx;if(a.strokeStyle=f.getValueAtIndexOrDefault(n.color,i-1),a.lineWidth=f.getValueAtIndexOrDefault(n.lineWidth,i-1),e.options.gridLines.circular)a.beginPath(),a.arc(e.xCenter,e.yCenter,r,0,2*Math.PI),a.closePath(),a.stroke();else{var o=t(e);if(0===o)return;a.beginPath();var s=e.getPointPosition(0,r);a.moveTo(s.x,s.y);for(var l=1;l<o;l++)s=e.getPointPosition(l,r),a.lineTo(s.x,s.y);a.closePath(),a.stroke()}}function h(e){return f.isNumber(e)?e:0}var f=e.helpers,p=e.defaults.global,m={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:e.Ticks.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}},_=e.LinearScaleBase.extend({setDimensions:function(){var e=this,t=e.options,n=t.ticks;e.width=e.maxWidth,e.height=e.maxHeight,e.xCenter=Math.round(e.width/2),e.yCenter=Math.round(e.height/2);var r=f.min([e.height,e.width]),i=f.getValueOrDefault(n.fontSize,p.defaultFontSize);e.drawingArea=t.display?r/2-(i/2+n.backdropPaddingY):r/2},determineDataLimits:function(){var e=this,t=e.chart,n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;f.each(t.data.datasets,function(i,a){if(t.isDatasetVisible(a)){var o=t.getDatasetMeta(a);f.each(i.data,function(t,i){var a=+e.getRightValue(t);isNaN(a)||o.data[i].hidden||(n=Math.min(a,n),r=Math.max(a,r))})}}),e.min=n===Number.POSITIVE_INFINITY?0:n,e.max=r===Number.NEGATIVE_INFINITY?0:r,e.handleTickRangeOptions()},getTickLimit:function(){var e=this.options.ticks,t=f.getValueOrDefault(e.fontSize,p.defaultFontSize);return Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*t)))},convertTicksToLabels:function(){var t=this;e.LinearScaleBase.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(t.options.pointLabels.callback,t)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){this.options.pointLabels.display?a(this):o(this)},setReductions:function(e,t,n){var r=this,i=t.l/Math.sin(n.l),a=Math.max(t.r-r.width,0)/Math.sin(n.r),o=-t.t/Math.cos(n.t),s=-Math.max(t.b-r.height,0)/Math.cos(n.b);i=h(i),a=h(a),o=h(o),s=h(s),r.drawingArea=Math.min(Math.round(e-(i+a)/2),Math.round(e-(o+s)/2)),r.setCenterPoint(i,a,o,s)},setCenterPoint:function(e,t,n,r){var i=this,a=i.width-t-i.drawingArea,o=e+i.drawingArea,s=n+i.drawingArea,l=i.height-r-i.drawingArea;i.xCenter=Math.round((o+a)/2+i.left),i.yCenter=Math.round((s+l)/2+i.top)},getIndexAngle:function(e){return e*(2*Math.PI/t(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(null===e)return 0;var n=t.drawingArea/(t.max-t.min);return t.options.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this,r=n.getIndexAngle(e)-Math.PI/2;return{x:Math.round(Math.cos(r)*t)+n.xCenter,y:Math.round(Math.sin(r)*t)+n.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(){var e=this,t=e.min,n=e.max;return e.getPointPositionForValue(0,e.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0)},draw:function(){var e=this,t=e.options,n=t.gridLines,r=t.ticks,i=f.getValueOrDefault;if(t.display){var a=e.ctx,o=i(r.fontSize,p.defaultFontSize),s=i(r.fontStyle,p.defaultFontStyle),l=i(r.fontFamily,p.defaultFontFamily),u=f.fontString(o,s,l);f.each(e.ticks,function(s,l){if(l>0||t.reverse){var d=e.getDistanceFromCenterForValue(e.ticksAsNumbers[l]),h=e.yCenter-d;if(n.display&&0!==l&&c(e,n,d,l),r.display){var f=i(r.fontColor,p.defaultFontColor);if(a.font=u,r.showLabelBackdrop){var m=a.measureText(s).width;a.fillStyle=r.backdropColor,a.fillRect(e.xCenter-m/2-r.backdropPaddingX,h-o/2-r.backdropPaddingY,m+2*r.backdropPaddingX,o+2*r.backdropPaddingY)}a.textAlign="center",a.textBaseline="middle",a.fillStyle=f,a.fillText(s,e.xCenter,h)}}}),(t.angleLines.display||t.pointLabels.display)&&d(e)}}});e.scaleService.registerScaleType("radialLinear",_,m)}},{}],49:[function(e,t,n){"use strict";var r=e(1);r="function"==typeof r?r:window.moment,t.exports=function(e){function t(e,t){var n=e.options.time;if("string"==typeof n.parser)return r(t,n.parser);if("function"==typeof n.parser)return n.parser(t);if("function"==typeof t.getMonth||"number"==typeof t)return r(t);if(t.isValid&&t.isValid())return t;var i=n.format;return"string"!=typeof i&&i.call?i(t):r(t,i)}function n(e,t,n,r){for(var i,a=Object.keys(s),o=a.length,l=a.indexOf(e);l<o;l++){i=a[l];var u=s[i],d=u.steps&&u.steps[u.steps.length-1]||u.maxStep;if(void 0===d||Math.ceil((n-t)/(d*u.size))<=r)break}return i}function i(e,t,n,r){var i=s[n],a=i.size,o=Math.ceil((t-e)/a),l=1,u=t-e;if(i.steps)for(var d=i.steps.length,c=0;c<d&&o>r;c++)l=i.steps[c],o=Math.ceil(u/(a*l));else for(;o>r&&r>0;)++l,o=Math.ceil(u/(a*l));return l}function a(e,t,n){var i=[];if(e.maxTicks){var a=e.stepSize;i.push(void 0!==e.min?e.min:n.min);for(var o=r(n.min);o.add(a,e.unit).valueOf()<n.max;)i.push(o.valueOf());var s=e.max||n.max;i[i.length-1]!==s&&i.push(s)}return i}var o=e.helpers,s={millisecond:{size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{size:1e3,steps:[1,2,5,10,30]},minute:{size:6e4,steps:[1,2,5,10,30]},hour:{size:36e5,steps:[1,2,3,6,12]},day:{size:864e5,steps:[1,2,5]},week:{size:6048e5,maxStep:4},month:{size:2628e6,maxStep:3},quarter:{size:7884e6,maxStep:4},year:{size:3154e7,maxStep:!1}},l={position:"bottom",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm:ss a",hour:"MMM D, hA",day:"ll",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1}};e.Ticks.generators.time=function(e,t){var n,i,o=e.isoWeekday;return"week"===e.unit&&!1!==o?(n=r(t.min).startOf("isoWeek").isoWeekday(o).valueOf(),i=r(t.max).startOf("isoWeek").isoWeekday(o),t.max-i>0&&i.add(1,"week"),i=i.valueOf()):(n=r(t.min).startOf(e.unit).valueOf(),i=r(t.max).startOf(e.unit),t.max-i>0&&i.add(1,e.unit),i=i.valueOf()),a(e,t,{min:n,max:i})};var u=e.Scale.extend({initialize:function(){if(!r)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");e.Scale.prototype.initialize.call(this)},determineDataLimits:function(){var e,n=this,r=n.options.time,i=Number.MAX_SAFE_INTEGER,a=Number.MIN_SAFE_INTEGER,s=n.chart.data,l={labels:[],datasets:[]};o.each(s.labels,function(o,s){var u=t(n,o);u.isValid()&&(r.round&&u.startOf(r.round),e=u.valueOf(),i=Math.min(e,i),a=Math.max(e,a),l.labels[s]=e)}),o.each(s.datasets,function(s,u){var d=[];"object"==typeof s.data[0]&&null!==s.data[0]&&n.chart.isDatasetVisible(u)?o.each(s.data,function(o,s){var l=t(n,n.getRightValue(o));l.isValid()&&(r.round&&l.startOf(r.round),e=l.valueOf(),i=Math.min(e,i),a=Math.max(e,a),d[s]=e)}):d=l.labels.slice(),l.datasets[u]=d}),n.dataMin=i,n.dataMax=a,n._parsedData=l},buildTicks:function(){var r,a,s=this,l=s.options.time,u=s.dataMin,d=s.dataMax;if(l.min){var c=t(s,l.min);l.round&&c.round(l.round),r=c.valueOf()}l.max&&(a=t(s,l.max).valueOf());var h=s.getLabelCapacity(r||u),f=l.unit||n(l.minUnit,r||u,a||d,h);s.displayFormat=l.displayFormats[f];var p=l.stepSize||i(r||u,a||d,f,h);s.ticks=e.Ticks.generators.time({maxTicks:h,min:r,max:a,stepSize:p,unit:f,isoWeekday:l.isoWeekday},{min:u,max:d}),s.max=o.max(s.ticks),s.min=o.min(s.ticks)},getLabelForIndex:function(e,n){var r=this,i=r.chart.data.labels&&e<r.chart.data.labels.length?r.chart.data.labels[e]:"",a=r.chart.data.datasets[n].data[e];return null!==a&&"object"==typeof a&&(i=r.getRightValue(a)),r.options.time.tooltipFormat&&(i=t(r,i).format(r.options.time.tooltipFormat)),i},tickFormatFunction:function(e,t,n){var r=e.format(this.displayFormat),i=this.options.ticks,a=o.getValueOrDefault(i.callback,i.userCallback);return a?a(r,t,n):r},convertTicksToLabels:function(){var e=this;e.ticksAsTimestamps=e.ticks,e.ticks=e.ticks.map(function(e){return r(e)}).map(e.tickFormatFunction,e)},getPixelForOffset:function(e){var t=this,n=t.max-t.min,r=n?(e-t.min)/n:0;if(t.isHorizontal()){var i=t.width*r;return t.left+Math.round(i)}var a=t.height*r;return t.top+Math.round(a)},getPixelForValue:function(e,n,r){var i=this,a=null;if(void 0!==n&&void 0!==r&&(a=i._parsedData.datasets[r][n]),null===a&&(e&&e.isValid||(e=t(i,i.getRightValue(e))),e&&e.isValid&&e.isValid()&&(a=e.valueOf())),null!==a)return i.getPixelForOffset(a)},getPixelForTick:function(e){return this.getPixelForOffset(this.ticksAsTimestamps[e])},getValueForPixel:function(e){var t=this,n=t.isHorizontal()?t.width:t.height,i=(e-(t.isHorizontal()?t.left:t.top))/n;return r(t.min+i*(t.max-t.min))},getLabelWidth:function(t){var n=this,r=n.options.ticks,i=n.ctx.measureText(t).width,a=Math.cos(o.toRadians(r.maxRotation)),s=Math.sin(o.toRadians(r.maxRotation));return i*a+o.getValueOrDefault(r.fontSize,e.defaults.global.defaultFontSize)*s},getLabelCapacity:function(e){var t=this;t.displayFormat=t.options.time.displayFormats.millisecond;var n=t.tickFormatFunction(r(e),0,[]),i=t.getLabelWidth(n);return(t.isHorizontal()?t.width:t.height)/i}});e.scaleService.registerScaleType("time",u,l)}},{1:1}]},{},[7])(7)}),function(e,t,n){!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):jQuery&&!jQuery.fn.sparkline&&e(jQuery)}(function(n){"use strict";var r,i,a,o,s,l,u,d,c,h,f,p,m,_,g,y,v,b,M,w,x,k,L,D,Y,T,S,C,j,H,O,A={},P=0;r=function(){return{common:{type:"line",lineColor:"#00f",fillColor:"#cdf",defaultPixelsPerValue:3,width:"auto",height:"auto",composite:!1,tagValuesAttribute:"values",tagOptionsPrefix:"spark",enableTagOptions:!1,enableHighlight:!0,highlightLighten:1.4,tooltipSkipNull:!0,tooltipPrefix:"",tooltipSuffix:"",disableHiddenCheck:!1,numberFormatter:!1,numberDigitGroupCount:3,numberDigitGroupSep:",",numberDecimalMark:".",disableTooltips:!1,disableInteraction:!1},line:{spotColor:"#f80",highlightSpotColor:"#5f5",highlightLineColor:"#f22",spotRadius:1.5,minSpotColor:"#f80",maxSpotColor:"#f80",lineWidth:1,normalRangeMin:void 0,normalRangeMax:void 0,normalRangeColor:"#ccc",drawNormalOnTop:!1,chartRangeMin:void 0,chartRangeMax:void 0,chartRangeMinX:void 0,chartRangeMaxX:void 0,tooltipFormat:new a('<span style="color: {{color}}">●</span> {{prefix}}{{y}}{{suffix}}')},bar:{barColor:"#3366cc",negBarColor:"#f44",stackedBarColor:["#3366cc","#dc3912","#ff9900","#109618","#66aa00","#dd4477","#0099c6","#990099"],zeroColor:void 0,nullColor:void 0,zeroAxis:!0,barWidth:4,barSpacing:1,chartRangeMax:void 0,chartRangeMin:void 0,chartRangeClip:!1,colorMap:void 0,tooltipFormat:new a('<span style="color: {{color}}">●</span> {{prefix}}{{value}}{{suffix}}')},tristate:{barWidth:4,barSpacing:1,posBarColor:"#6f6",negBarColor:"#f44",zeroBarColor:"#999",colorMap:{},tooltipFormat:new a('<span style="color: {{color}}">●</span> {{value:map}}'),tooltipValueLookups:{map:{"-1":"Loss",0:"Draw",1:"Win"}}},discrete:{lineHeight:"auto",thresholdColor:void 0,thresholdValue:0,chartRangeMax:void 0,chartRangeMin:void 0,chartRangeClip:!1,tooltipFormat:new a("{{prefix}}{{value}}{{suffix}}")},bullet:{targetColor:"#f33",targetWidth:3,performanceColor:"#33f",rangeColors:["#d3dafe","#a8b6ff","#7f94ff"],base:void 0,tooltipFormat:new a("{{fieldkey:fields}} - {{value}}"),tooltipValueLookups:{fields:{r:"Range",p:"Performance",t:"Target"}}},pie:{offset:0,sliceColors:["#3366cc","#dc3912","#ff9900","#109618","#66aa00","#dd4477","#0099c6","#990099"],borderWidth:0,borderColor:"#000",tooltipFormat:new a('<span style="color: {{color}}">●</span> {{value}} ({{percent.1}}%)')},box:{raw:!1,boxLineColor:"#000",boxFillColor:"#cdf",whiskerColor:"#000",outlierLineColor:"#333",outlierFillColor:"#fff",medianColor:"#f00",showOutliers:!0,outlierIQR:1.5,spotRadius:1.5,target:void 0,targetColor:"#4a2",chartRangeMax:void 0,chartRangeMin:void 0,tooltipFormat:new a("{{field:fields}}: {{value}}"),tooltipFormatFieldlistKey:"field",tooltipValueLookups:{fields:{lq:"Lower Quartile",med:"Median",uq:"Upper Quartile",lo:"Left Outlier",ro:"Right Outlier",lw:"Left Whisker",rw:"Right Whisker"}}}}},Y='.jqstooltip { position: absolute;left: 0px;top: 0px;visibility: hidden;background: rgb(0, 0, 0) transparent;background-color: rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";color: white;font: 10px arial, san serif;text-align: left;white-space: nowrap;padding: 5px;border: 1px solid white;box-sizing: content-box;z-index: 10000;}.jqsfield { color: white;font: 10px arial, san serif;text-align: left;}',i=function(){var e,t;return e=function(){this.init.apply(this,arguments)},arguments.length>1?(arguments[0]?(e.prototype=n.extend(new arguments[0],arguments[arguments.length-1]),e._super=arguments[0].prototype):e.prototype=arguments[arguments.length-1],arguments.length>2&&(t=Array.prototype.slice.call(arguments,1,-1),t.unshift(e.prototype),n.extend.apply(n,t))):e.prototype=arguments[0],e.prototype.cls=e,e},n.SPFormatClass=a=i({fre:/\{\{([\w.]+?)(:(.+?))?\}\}/g,precre:/(\w+)\.(\d+)/,init:function(e,t){this.format=e,this.fclass=t},render:function(e,t,n){var r,i,a,o,s,l=this,u=e;return this.format.replace(this.fre,function(){var e;return i=arguments[1],a=arguments[3],r=l.precre.exec(i),r?(s=r[2],i=r[1]):s=!1,void 0===(o=u[i])?"":a&&t&&t[a]?(e=t[a],e.get?t[a].get(o)||o:t[a][o]||o):(c(o)&&(o=n.get("numberFormatter")?n.get("numberFormatter")(o):m(o,s,n.get("numberDigitGroupCount"),n.get("numberDigitGroupSep"),n.get("numberDecimalMark"))),o)})}}),n.spformat=function(e,t){return new a(e,t)},o=function(e,t,n){return e<t?t:e>n?n:e},s=function(e,n){var r;return 2===n?(r=t.floor(e.length/2),e.length%2?e[r]:(e[r-1]+e[r])/2):e.length%2?(r=(e.length*n+n)/4,r%1?(e[t.floor(r)]+e[t.floor(r)-1])/2:e[r-1]):(r=(e.length*n+2)/4,r%1?(e[t.floor(r)]+e[t.floor(r)-1])/2:e[r-1])},l=function(e){var t;switch(e){case"undefined":e=void 0;break;case"null":e=null;break;case"true":e=!0;break;case"false":e=!1;break;default:t=parseFloat(e),e==t&&(e=t)}return e},u=function(e){var t,n=[];for(t=e.length;t--;)n[t]=l(e[t]);return n},d=function(e,t){var n,r,i=[];for(n=0,r=e.length;n<r;n++)e[n]!==t&&i.push(e[n]);return i},c=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},m=function(e,t,r,i,a){var o,s;for(e=(!1===t?parseFloat(e).toString():e.toFixed(t)).split(""),o=(o=n.inArray(".",e))<0?e.length:o,o<e.length&&(e[o]=a),s=o-r;s>0;s-=r)e.splice(s,0,i);return e.join("")},h=function(e,t,n){var r;for(r=t.length;r--;)if((!n||null!==t[r])&&t[r]!==e)return!1;return!0},p=function(e){return n.isArray(e)?e:[e]},f=function(t){var n,r;if(e.createStyleSheet)try{return void(e.createStyleSheet().cssText=t)}catch(e){r=!0}n=e.createElement("style"),n.type="text/css",e.getElementsByTagName("head")[0].appendChild(n),r?e.styleSheets[e.styleSheets.length-1].cssText=t:n["string"==typeof e.body.style.WebkitAppearance?"innerText":"innerHTML"]=t},n.fn.simpledraw=function(t,r,i,a){var o,s;if(i&&(o=this.data("_jqs_vcanvas")))return o;if(!1===n.fn.sparkline.canvas)return!1;if(void 0===n.fn.sparkline.canvas){var l=e.createElement("canvas");if(l.getContext&&l.getContext("2d"))n.fn.sparkline.canvas=function(e,t,n,r){return new j(e,t,n,r)};else{if(!e.namespaces||e.namespaces.v)return n.fn.sparkline.canvas=!1,!1;e.namespaces.add("v","urn:schemas-microsoft-com:vml","#default#VML"),n.fn.sparkline.canvas=function(e,t,n,r){return new H(e,t,n)}}}return void 0===t&&(t=n(this).innerWidth()),void 0===r&&(r=n(this).innerHeight()),o=n.fn.sparkline.canvas(t,r,this,a),s=n(this).data("_jqs_mhandler"),s&&s.registerCanvas(o),o},n.fn.cleardraw=function(){var e=this.data("_jqs_vcanvas");e&&e.reset()},n.RangeMapClass=_=i({init:function(e){var t,n,r=[];for(t in e)e.hasOwnProperty(t)&&"string"==typeof t&&t.indexOf(":")>-1&&(n=t.split(":"),n[0]=0===n[0].length?-1/0:parseFloat(n[0]),n[1]=0===n[1].length?1/0:parseFloat(n[1]),n[2]=e[t],r.push(n));this.map=e,this.rangelist=r||!1},get:function(e){var t,n,r,i=this.rangelist;if(void 0!==(r=this.map[e]))return r;if(i)for(t=i.length;t--;)if(n=i[t],n[0]<=e&&n[1]>=e)return n[2]}}),n.range_map=function(e){return new _(e)},g=i({init:function(e,t){var r=n(e);this.$el=r,this.options=t,this.currentPageX=0,this.currentPageY=0,this.el=e,this.splist=[],this.tooltip=null,this.over=!1,this.displayTooltips=!t.get("disableTooltips"),this.highlightEnabled=!t.get("disableHighlight")},registerSparkline:function(e){this.splist.push(e),this.over&&this.updateDisplay()},registerCanvas:function(e){var t=n(e.canvas);this.canvas=e,this.$canvas=t,t.mouseenter(n.proxy(this.mouseenter,this)),t.mouseleave(n.proxy(this.mouseleave,this)),t.click(n.proxy(this.mouseclick,this))},reset:function(e){this.splist=[],this.tooltip&&e&&(this.tooltip.remove(),this.tooltip=void 0)},mouseclick:function(e){var t=n.Event("sparklineClick");t.originalEvent=e,t.sparklines=this.splist,this.$el.trigger(t)},
|
||
mouseenter:function(t){n(e.body).unbind("mousemove.jqs"),n(e.body).bind("mousemove.jqs",n.proxy(this.mousemove,this)),this.over=!0,this.currentPageX=t.pageX,this.currentPageY=t.pageY,this.currentEl=t.target,!this.tooltip&&this.displayTooltips&&(this.tooltip=new y(this.options),this.tooltip.updatePosition(t.pageX,t.pageY)),this.updateDisplay()},mouseleave:function(){n(e.body).unbind("mousemove.jqs");var t,r,i=this.splist,a=i.length,o=!1;for(this.over=!1,this.currentEl=null,this.tooltip&&(this.tooltip.remove(),this.tooltip=null),r=0;r<a;r++)t=i[r],t.clearRegionHighlight()&&(o=!0);o&&this.canvas.render()},mousemove:function(e){this.currentPageX=e.pageX,this.currentPageY=e.pageY,this.currentEl=e.target,this.tooltip&&this.tooltip.updatePosition(e.pageX,e.pageY),this.updateDisplay()},updateDisplay:function(){var e,t,r,i,a,o=this.splist,s=o.length,l=!1,u=this.$canvas.offset(),d=this.currentPageX-u.left,c=this.currentPageY-u.top;if(this.over){for(r=0;r<s;r++)t=o[r],(i=t.setRegionHighlight(this.currentEl,d,c))&&(l=!0);if(l){if(a=n.Event("sparklineRegionChange"),a.sparklines=this.splist,this.$el.trigger(a),this.tooltip){for(e="",r=0;r<s;r++)t=o[r],e+=t.getCurrentRegionTooltip();this.tooltip.setContent(e)}this.disableHighlight||this.canvas.render()}null===i&&this.mouseleave()}}}),y=i({sizeStyle:"position: static !important;display: block !important;visibility: hidden !important;float: left !important;",init:function(t){var r,i=t.get("tooltipClassname","jqstooltip"),a=this.sizeStyle;this.container=t.get("tooltipContainer")||e.body,this.tooltipOffsetX=t.get("tooltipOffsetX",10),this.tooltipOffsetY=t.get("tooltipOffsetY",12),n("#jqssizetip").remove(),n("#jqstooltip").remove(),this.sizetip=n("<div/>",{id:"jqssizetip",style:a,class:i}),this.tooltip=n("<div/>",{id:"jqstooltip",class:i}).appendTo(this.container),r=this.tooltip.offset(),this.offsetLeft=r.left,this.offsetTop=r.top,this.hidden=!0,n(window).unbind("resize.jqs scroll.jqs"),n(window).bind("resize.jqs scroll.jqs",n.proxy(this.updateWindowDims,this)),this.updateWindowDims()},updateWindowDims:function(){this.scrollTop=n(window).scrollTop(),this.scrollLeft=n(window).scrollLeft(),this.scrollRight=this.scrollLeft+n(window).width(),this.updatePosition()},getSize:function(e){this.sizetip.html(e).appendTo(this.container),this.width=this.sizetip.width()+1,this.height=this.sizetip.height(),this.sizetip.remove()},setContent:function(e){if(!e)return this.tooltip.css("visibility","hidden"),void(this.hidden=!0);this.getSize(e),this.tooltip.html(e).css({width:this.width,height:this.height,visibility:"visible"}),this.hidden&&(this.hidden=!1,this.updatePosition())},updatePosition:function(e,t){if(void 0===e){if(void 0===this.mousex)return;e=this.mousex-this.offsetLeft,t=this.mousey-this.offsetTop}else this.mousex=e-=this.offsetLeft,this.mousey=t-=this.offsetTop;this.height&&this.width&&!this.hidden&&(t-=this.height+this.tooltipOffsetY,e+=this.tooltipOffsetX,t<this.scrollTop&&(t=this.scrollTop),e<this.scrollLeft?e=this.scrollLeft:e+this.width>this.scrollRight&&(e=this.scrollRight-this.width),this.tooltip.css({left:e,top:t}))},remove:function(){this.tooltip.remove(),this.sizetip.remove(),this.sizetip=this.tooltip=void 0,n(window).unbind("resize.jqs scroll.jqs")}}),T=function(){f(Y)},n(T),O=[],n.fn.sparkline=function(t,r){return this.each(function(){var i,a,o=new n.fn.sparkline.options(this,r),s=n(this);if(i=function(){var r,i,a,l,u,d,c;if("html"===t||void 0===t?(c=this.getAttribute(o.get("tagValuesAttribute")),void 0!==c&&null!==c||(c=s.html()),r=c.replace(/(^\s*<!--)|(-->\s*$)|\s+/g,"").split(",")):r=t,i="auto"===o.get("width")?r.length*o.get("defaultPixelsPerValue"):o.get("width"),"auto"===o.get("height")?o.get("composite")&&n.data(this,"_jqs_vcanvas")||(l=e.createElement("span"),l.innerHTML="a",s.html(l),a=n(l).innerHeight()||n(l).height(),n(l).remove(),l=null):a=o.get("height"),o.get("disableInteraction")?u=!1:(u=n.data(this,"_jqs_mhandler"),u?o.get("composite")||u.reset():(u=new g(this,o),n.data(this,"_jqs_mhandler",u))),o.get("composite")&&!n.data(this,"_jqs_vcanvas"))return void(n.data(this,"_jqs_errnotify")||(alert("Attempted to attach a composite sparkline to an element with no existing sparkline"),n.data(this,"_jqs_errnotify",!0)));d=new(n.fn.sparkline[o.get("type")])(this,r,o,i,a),d.render(),u&&u.registerSparkline(d)},n(this).html()&&!o.get("disableHiddenCheck")&&n(this).is(":hidden")||!n(this).parents("body").length){if(!o.get("composite")&&n.data(this,"_jqs_pending"))for(a=O.length;a;a--)O[a-1][0]==this&&O.splice(a-1,1);O.push([this,i]),n.data(this,"_jqs_pending",!0)}else i.call(this)})},n.fn.sparkline.defaults=r(),n.sparkline_display_visible=function(){var e,t,r,i=[];for(t=0,r=O.length;t<r;t++)e=O[t][0],n(e).is(":visible")&&!n(e).parents().is(":hidden")?(O[t][1].call(e),n.data(O[t][0],"_jqs_pending",!1),i.push(t)):n(e).closest("html").length||n.data(e,"_jqs_pending")||(n.data(O[t][0],"_jqs_pending",!1),i.push(t));for(t=i.length;t;t--)O.splice(i[t-1],1)},n.fn.sparkline.options=i({init:function(e,t){var r,i,a,o;this.userOptions=t=t||{},this.tag=e,this.tagValCache={},i=n.fn.sparkline.defaults,a=i.common,this.tagOptionsPrefix=t.enableTagOptions&&(t.tagOptionsPrefix||a.tagOptionsPrefix),o=this.getTagSetting("type"),r=o===A?i[t.type||a.type]:i[o],this.mergedOptions=n.extend({},a,r,t)},getTagSetting:function(e){var t,n,r,i,a=this.tagOptionsPrefix;if(!1===a||void 0===a)return A;if(this.tagValCache.hasOwnProperty(e))t=this.tagValCache.key;else{if(void 0===(t=this.tag.getAttribute(a+e))||null===t)t=A;else if("["===t.substr(0,1))for(t=t.substr(1,t.length-2).split(","),n=t.length;n--;)t[n]=l(t[n].replace(/(^\s*)|(\s*$)/g,""));else if("{"===t.substr(0,1))for(r=t.substr(1,t.length-2).split(","),t={},n=r.length;n--;)i=r[n].split(":",2),t[i[0].replace(/(^\s*)|(\s*$)/g,"")]=l(i[1].replace(/(^\s*)|(\s*$)/g,""));else t=l(t);this.tagValCache.key=t}return t},get:function(e,t){var n,r=this.getTagSetting(e);return r!==A?r:void 0===(n=this.mergedOptions[e])?t:n}}),n.fn.sparkline._base=i({disabled:!1,init:function(e,t,r,i,a){this.el=e,this.$el=n(e),this.values=t,this.options=r,this.width=i,this.height=a,this.currentRegion=void 0},initTarget:function(){var e=!this.options.get("disableInteraction");(this.target=this.$el.simpledraw(this.width,this.height,this.options.get("composite"),e))?(this.canvasWidth=this.target.pixelWidth,this.canvasHeight=this.target.pixelHeight):this.disabled=!0},render:function(){return!this.disabled||(this.el.innerHTML="",!1)},getRegion:function(e,t){},setRegionHighlight:function(e,t,n){var r,i=this.currentRegion,a=!this.options.get("disableHighlight");return t>this.canvasWidth||n>this.canvasHeight||t<0||n<0?null:(r=this.getRegion(e,t,n),i!==r&&(void 0!==i&&a&&this.removeHighlight(),this.currentRegion=r,void 0!==r&&a&&this.renderHighlight(),!0))},clearRegionHighlight:function(){return void 0!==this.currentRegion&&(this.removeHighlight(),this.currentRegion=void 0,!0)},renderHighlight:function(){this.changeHighlight(!0)},removeHighlight:function(){this.changeHighlight(!1)},changeHighlight:function(e){},getCurrentRegionTooltip:function(){var e,t,r,i,o,s,l,u,d,c,h,f,p,m,_=this.options,g="",y=[];if(void 0===this.currentRegion)return"";if(e=this.getCurrentRegionFields(),h=_.get("tooltipFormatter"))return h(this,_,e);if(_.get("tooltipChartTitle")&&(g+='<div class="jqs jqstitle">'+_.get("tooltipChartTitle")+"</div>\n"),!(t=this.options.get("tooltipFormat")))return"";if(n.isArray(t)||(t=[t]),n.isArray(e)||(e=[e]),l=this.options.get("tooltipFormatFieldlist"),u=this.options.get("tooltipFormatFieldlistKey"),l&&u){for(d=[],s=e.length;s--;)c=e[s][u],-1!=(m=n.inArray(c,l))&&(d[m]=e[s]);e=d}for(r=t.length,p=e.length,s=0;s<r;s++)for(f=t[s],"string"==typeof f&&(f=new a(f)),i=f.fclass||"jqsfield",m=0;m<p;m++)e[m].isNull&&_.get("tooltipSkipNull")||(n.extend(e[m],{prefix:_.get("tooltipPrefix"),suffix:_.get("tooltipSuffix")}),o=f.render(e[m],_.get("tooltipValueLookups"),_),y.push('<div class="'+i+'">'+o+"</div>"));return y.length?g+y.join("\n"):""},getCurrentRegionFields:function(){},calcHighlightColor:function(e,n){var r,i,a,s,l=n.get("highlightColor"),u=n.get("highlightLighten");if(l)return l;if(u&&(r=/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i.exec(e)||/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e))){for(a=[],i=4===e.length?16:1,s=0;s<3;s++)a[s]=o(t.round(parseInt(r[s+1],16)*i*u),0,255);return"rgb("+a.join(",")+")"}return e}}),v={changeHighlight:function(e){var t,r=this.currentRegion,i=this.target,a=this.regionShapes[r];a&&(t=this.renderRegion(r,e),n.isArray(t)||n.isArray(a)?(i.replaceWithShapes(a,t),this.regionShapes[r]=n.map(t,function(e){return e.id})):(i.replaceWithShape(a,t),this.regionShapes[r]=t.id))},render:function(){var e,t,r,i,a=this.values,o=this.target,s=this.regionShapes;if(this.cls._super.render.call(this)){for(r=a.length;r--;)if(e=this.renderRegion(r))if(n.isArray(e)){for(t=[],i=e.length;i--;)e[i].append(),t.push(e[i].id);s[r]=t}else e.append(),s[r]=e.id;else s[r]=null;o.render()}}},n.fn.sparkline.line=b=i(n.fn.sparkline._base,{type:"line",init:function(e,t,n,r,i){b._super.init.call(this,e,t,n,r,i),this.vertices=[],this.regionMap=[],this.xvalues=[],this.yvalues=[],this.yminmax=[],this.hightlightSpotId=null,this.lastShapeId=null,this.initTarget()},getRegion:function(e,t,n){var r,i=this.regionMap;for(r=i.length;r--;)if(null!==i[r]&&t>=i[r][0]&&t<=i[r][1])return i[r][2]},getCurrentRegionFields:function(){var e=this.currentRegion;return{isNull:null===this.yvalues[e],x:this.xvalues[e],y:this.yvalues[e],color:this.options.get("lineColor"),fillColor:this.options.get("fillColor"),offset:e}},renderHighlight:function(){var e,t,n=this.currentRegion,r=this.target,i=this.vertices[n],a=this.options,o=a.get("spotRadius"),s=a.get("highlightSpotColor"),l=a.get("highlightLineColor");i&&(o&&s&&(e=r.drawCircle(i[0],i[1],o,void 0,s),this.highlightSpotId=e.id,r.insertAfterShape(this.lastShapeId,e)),l&&(t=r.drawLine(i[0],this.canvasTop,i[0],this.canvasTop+this.canvasHeight,l),this.highlightLineId=t.id,r.insertAfterShape(this.lastShapeId,t)))},removeHighlight:function(){var e=this.target;this.highlightSpotId&&(e.removeShapeId(this.highlightSpotId),this.highlightSpotId=null),this.highlightLineId&&(e.removeShapeId(this.highlightLineId),this.highlightLineId=null)},scanValues:function(){var e,n,r,i,a,o=this.values,s=o.length,l=this.xvalues,u=this.yvalues,d=this.yminmax;for(e=0;e<s;e++)n=o[e],r="string"==typeof o[e],i="object"==typeof o[e]&&o[e]instanceof Array,a=r&&o[e].split(":"),r&&2===a.length?(l.push(Number(a[0])),u.push(Number(a[1])),d.push(Number(a[1]))):i?(l.push(n[0]),u.push(n[1]),d.push(n[1])):(l.push(e),null===o[e]||"null"===o[e]?u.push(null):(u.push(Number(n)),d.push(Number(n))));this.options.get("xvalues")&&(l=this.options.get("xvalues")),this.maxy=this.maxyorg=t.max.apply(t,d),this.miny=this.minyorg=t.min.apply(t,d),this.maxx=t.max.apply(t,l),this.minx=t.min.apply(t,l),this.xvalues=l,this.yvalues=u,this.yminmax=d},processRangeOptions:function(){var e=this.options,t=e.get("normalRangeMin"),n=e.get("normalRangeMax");void 0!==t&&(t<this.miny&&(this.miny=t),n>this.maxy&&(this.maxy=n)),void 0!==e.get("chartRangeMin")&&(e.get("chartRangeClip")||e.get("chartRangeMin")<this.miny)&&(this.miny=e.get("chartRangeMin")),void 0!==e.get("chartRangeMax")&&(e.get("chartRangeClip")||e.get("chartRangeMax")>this.maxy)&&(this.maxy=e.get("chartRangeMax")),void 0!==e.get("chartRangeMinX")&&(e.get("chartRangeClipX")||e.get("chartRangeMinX")<this.minx)&&(this.minx=e.get("chartRangeMinX")),void 0!==e.get("chartRangeMaxX")&&(e.get("chartRangeClipX")||e.get("chartRangeMaxX")>this.maxx)&&(this.maxx=e.get("chartRangeMaxX"))},drawNormalRange:function(e,n,r,i,a){var o=this.options.get("normalRangeMin"),s=this.options.get("normalRangeMax"),l=n+t.round(r-r*((s-this.miny)/a)),u=t.round(r*(s-o)/a);this.target.drawRect(e,l,i,u,void 0,this.options.get("normalRangeColor")).append()},render:function(){var e,r,i,a,o,s,l,u,d,c,h,f,p,m,g,y,v,M,w,x,k,L,D,Y,T,S=this.options,C=this.target,j=this.canvasWidth,H=this.canvasHeight,O=this.vertices,A=S.get("spotRadius"),P=this.regionMap;if(b._super.render.call(this)&&(this.scanValues(),this.processRangeOptions(),D=this.xvalues,Y=this.yvalues,this.yminmax.length&&!(this.yvalues.length<2))){for(a=o=0,e=this.maxx-this.minx==0?1:this.maxx-this.minx,r=this.maxy-this.miny==0?1:this.maxy-this.miny,i=this.yvalues.length-1,A&&(j<4*A||H<4*A)&&(A=0),A&&(k=S.get("highlightSpotColor")&&!S.get("disableInteraction"),(k||S.get("minSpotColor")||S.get("spotColor")&&Y[i]===this.miny)&&(H-=t.ceil(A)),(k||S.get("maxSpotColor")||S.get("spotColor")&&Y[i]===this.maxy)&&(H-=t.ceil(A),a+=t.ceil(A)),(k||(S.get("minSpotColor")||S.get("maxSpotColor"))&&(Y[0]===this.miny||Y[0]===this.maxy))&&(o+=t.ceil(A),j-=t.ceil(A)),(k||S.get("spotColor")||S.get("minSpotColor")||S.get("maxSpotColor")&&(Y[i]===this.miny||Y[i]===this.maxy))&&(j-=t.ceil(A))),H--,void 0===S.get("normalRangeMin")||S.get("drawNormalOnTop")||this.drawNormalRange(o,a,H,j,r),l=[],u=[l],m=g=null,y=Y.length,T=0;T<y;T++)d=D[T],h=D[T+1],c=Y[T],f=o+t.round((d-this.minx)*(j/e)),p=T<y-1?o+t.round((h-this.minx)*(j/e)):j,g=f+(p-f)/2,P[T]=[m||0,g,T],m=g,null===c?T&&(null!==Y[T-1]&&(l=[],u.push(l)),O.push(null)):(c<this.miny&&(c=this.miny),c>this.maxy&&(c=this.maxy),l.length||l.push([f,a+H]),s=[f,a+t.round(H-H*((c-this.miny)/r))],l.push(s),O.push(s));for(v=[],M=[],w=u.length,T=0;T<w;T++)l=u[T],l.length&&(S.get("fillColor")&&(l.push([l[l.length-1][0],a+H]),M.push(l.slice(0)),l.pop()),l.length>2&&(l[0]=[l[0][0],l[1][1]]),v.push(l));for(w=M.length,T=0;T<w;T++)C.drawShape(M[T],S.get("fillColor"),S.get("fillColor")).append();for(void 0!==S.get("normalRangeMin")&&S.get("drawNormalOnTop")&&this.drawNormalRange(o,a,H,j,r),w=v.length,T=0;T<w;T++)C.drawShape(v[T],S.get("lineColor"),void 0,S.get("lineWidth")).append();if(A&&S.get("valueSpots"))for(x=S.get("valueSpots"),void 0===x.get&&(x=new _(x)),T=0;T<y;T++)(L=x.get(Y[T]))&&C.drawCircle(o+t.round((D[T]-this.minx)*(j/e)),a+t.round(H-H*((Y[T]-this.miny)/r)),A,void 0,L).append();A&&S.get("spotColor")&&null!==Y[i]&&C.drawCircle(o+t.round((D[D.length-1]-this.minx)*(j/e)),a+t.round(H-H*((Y[i]-this.miny)/r)),A,void 0,S.get("spotColor")).append(),this.maxy!==this.minyorg&&(A&&S.get("minSpotColor")&&(d=D[n.inArray(this.minyorg,Y)],C.drawCircle(o+t.round((d-this.minx)*(j/e)),a+t.round(H-H*((this.minyorg-this.miny)/r)),A,void 0,S.get("minSpotColor")).append()),A&&S.get("maxSpotColor")&&(d=D[n.inArray(this.maxyorg,Y)],C.drawCircle(o+t.round((d-this.minx)*(j/e)),a+t.round(H-H*((this.maxyorg-this.miny)/r)),A,void 0,S.get("maxSpotColor")).append())),this.lastShapeId=C.getLastShapeId(),this.canvasTop=a,C.render()}}}),n.fn.sparkline.bar=M=i(n.fn.sparkline._base,v,{type:"bar",init:function(e,r,i,a,s){var c,h,f,p,m,g,y,v,b,w,x,k,L,D,Y,T,S,C,j,H,O,A,P=parseInt(i.get("barWidth"),10),E=parseInt(i.get("barSpacing"),10),I=i.get("chartRangeMin"),F=i.get("chartRangeMax"),W=i.get("chartRangeClip"),R=1/0,N=-1/0;for(M._super.init.call(this,e,r,i,a,s),g=0,y=r.length;g<y;g++)H=r[g],((c="string"==typeof H&&H.indexOf(":")>-1)||n.isArray(H))&&(Y=!0,c&&(H=r[g]=u(H.split(":"))),H=d(H,null),h=t.min.apply(t,H),f=t.max.apply(t,H),h<R&&(R=h),f>N&&(N=f));this.stacked=Y,this.regionShapes={},this.barWidth=P,this.barSpacing=E,this.totalBarWidth=P+E,this.width=a=r.length*P+(r.length-1)*E,this.initTarget(),W&&(L=void 0===I?-1/0:I,D=void 0===F?1/0:F),m=[],p=Y?[]:m;var z=[],B=[];for(g=0,y=r.length;g<y;g++)if(Y)for(T=r[g],r[g]=j=[],z[g]=0,p[g]=B[g]=0,S=0,C=T.length;S<C;S++)null!==(H=j[S]=W?o(T[S],L,D):T[S])&&(H>0&&(z[g]+=H),R<0&&N>0?H<0?B[g]+=t.abs(H):p[g]+=H:p[g]+=t.abs(H-(H<0?N:R)),m.push(H));else H=W?o(r[g],L,D):r[g],null!==(H=r[g]=l(H))&&m.push(H);this.max=k=t.max.apply(t,m),this.min=x=t.min.apply(t,m),this.stackMax=N=Y?t.max.apply(t,z):k,this.stackMin=R=Y?t.min.apply(t,m):x,void 0!==i.get("chartRangeMin")&&(i.get("chartRangeClip")||i.get("chartRangeMin")<x)&&(x=i.get("chartRangeMin")),void 0!==i.get("chartRangeMax")&&(i.get("chartRangeClip")||i.get("chartRangeMax")>k)&&(k=i.get("chartRangeMax")),this.zeroAxis=b=i.get("zeroAxis",!0),w=x<=0&&k>=0&&b?0:0==b?x:x>0?x:k,this.xaxisOffset=w,v=Y?t.max.apply(t,p)+t.max.apply(t,B):k-x,this.canvasHeightEf=b&&x<0?this.canvasHeight-2:this.canvasHeight-1,x<w?(A=Y&&k>=0?N:k,(O=(A-w)/v*this.canvasHeight)!==t.ceil(O)&&(this.canvasHeightEf-=2,O=t.ceil(O))):O=this.canvasHeight,this.yoffset=O,n.isArray(i.get("colorMap"))?(this.colorMapByIndex=i.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=i.get("colorMap"),this.colorMapByValue&&void 0===this.colorMapByValue.get&&(this.colorMapByValue=new _(this.colorMapByValue))),this.range=v},getRegion:function(e,n,r){var i=t.floor(n/this.totalBarWidth);return i<0||i>=this.values.length?void 0:i},getCurrentRegionFields:function(){var e,t,n=this.currentRegion,r=p(this.values[n]),i=[];for(t=r.length;t--;)e=r[t],i.push({isNull:null===e,value:e,color:this.calcColor(t,e,n),offset:n});return i},calcColor:function(e,t,r){var i,a,o=this.colorMapByIndex,s=this.colorMapByValue,l=this.options;return i=this.stacked?l.get("stackedBarColor"):t<0?l.get("negBarColor"):l.get("barColor"),0===t&&void 0!==l.get("zeroColor")&&(i=l.get("zeroColor")),s&&(a=s.get(t))?i=a:o&&o.length>r&&(i=o[r]),n.isArray(i)?i[e%i.length]:i},renderRegion:function(e,r){var i,a,o,s,l,u,d,c,f,p,m=this.values[e],_=this.options,g=this.xaxisOffset,y=[],v=this.range,b=this.stacked,M=this.target,w=e*this.totalBarWidth,x=this.canvasHeightEf,k=this.yoffset;if(m=n.isArray(m)?m:[m],d=m.length,c=m[0],s=h(null,m),p=h(g,m,!0),s)return _.get("nullColor")?(o=r?_.get("nullColor"):this.calcHighlightColor(_.get("nullColor"),_),i=k>0?k-1:k,M.drawRect(w,i,this.barWidth-1,0,o,o)):void 0;for(l=k,u=0;u<d;u++){if(c=m[u],b&&c===g){if(!p||f)continue;f=!0}a=v>0?t.floor(x*(t.abs(c-g)/v))+1:1,c<g||c===g&&0===k?(i=l,l+=a):(i=k-a,k-=a),o=this.calcColor(u,c,e),r&&(o=this.calcHighlightColor(o,_)),y.push(M.drawRect(w,i,this.barWidth-1,a-1,o,o))}return 1===y.length?y[0]:y}}),n.fn.sparkline.tristate=w=i(n.fn.sparkline._base,v,{type:"tristate",init:function(e,t,r,i,a){var o=parseInt(r.get("barWidth"),10),s=parseInt(r.get("barSpacing"),10);w._super.init.call(this,e,t,r,i,a),this.regionShapes={},this.barWidth=o,this.barSpacing=s,this.totalBarWidth=o+s,this.values=n.map(t,Number),this.width=i=t.length*o+(t.length-1)*s,n.isArray(r.get("colorMap"))?(this.colorMapByIndex=r.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=r.get("colorMap"),this.colorMapByValue&&void 0===this.colorMapByValue.get&&(this.colorMapByValue=new _(this.colorMapByValue))),this.initTarget()},getRegion:function(e,n,r){return t.floor(n/this.totalBarWidth)},getCurrentRegionFields:function(){var e=this.currentRegion;return{isNull:void 0===this.values[e],value:this.values[e],color:this.calcColor(this.values[e],e),offset:e}},calcColor:function(e,t){var n,r=this.values,i=this.options,a=this.colorMapByIndex,o=this.colorMapByValue;return o&&(n=o.get(e))?n:a&&a.length>t?a[t]:r[t]<0?i.get("negBarColor"):r[t]>0?i.get("posBarColor"):i.get("zeroBarColor")},renderRegion:function(e,n){var r,i,a,o,s,l,u=this.values,d=this.options,c=this.target;if(r=c.pixelHeight,a=t.round(r/2),o=e*this.totalBarWidth,u[e]<0?(s=a,i=a-1):u[e]>0?(s=0,i=a-1):(s=a-1,i=2),null!==(l=this.calcColor(u[e],e)))return n&&(l=this.calcHighlightColor(l,d)),c.drawRect(o,s,this.barWidth-1,i-1,l,l)}}),n.fn.sparkline.discrete=x=i(n.fn.sparkline._base,v,{type:"discrete",init:function(e,r,i,a,o){x._super.init.call(this,e,r,i,a,o),this.regionShapes={},this.values=r=n.map(r,Number),this.min=t.min.apply(t,r),this.max=t.max.apply(t,r),this.range=this.max-this.min,this.width=a="auto"===i.get("width")?2*r.length:this.width,this.interval=t.floor(a/r.length),this.itemWidth=a/r.length,void 0!==i.get("chartRangeMin")&&(i.get("chartRangeClip")||i.get("chartRangeMin")<this.min)&&(this.min=i.get("chartRangeMin")),void 0!==i.get("chartRangeMax")&&(i.get("chartRangeClip")||i.get("chartRangeMax")>this.max)&&(this.max=i.get("chartRangeMax")),this.initTarget(),this.target&&(this.lineHeight="auto"===i.get("lineHeight")?t.round(.3*this.canvasHeight):i.get("lineHeight"))},getRegion:function(e,n,r){return t.floor(n/this.itemWidth)},getCurrentRegionFields:function(){var e=this.currentRegion;return{isNull:void 0===this.values[e],value:this.values[e],offset:e}},renderRegion:function(e,n){var r,i,a,s,l=this.values,u=this.options,d=this.min,c=this.max,h=this.range,f=this.interval,p=this.target,m=this.canvasHeight,_=this.lineHeight,g=m-_;return i=o(l[e],d,c),s=e*f,r=t.round(g-g*((i-d)/h)),a=u.get("thresholdColor")&&i<u.get("thresholdValue")?u.get("thresholdColor"):u.get("lineColor"),n&&(a=this.calcHighlightColor(a,u)),p.drawLine(s,r,s,r+_,a)}}),n.fn.sparkline.bullet=k=i(n.fn.sparkline._base,{type:"bullet",init:function(e,n,r,i,a){var o,s,l;k._super.init.call(this,e,n,r,i,a),this.values=n=u(n),l=n.slice(),l[0]=null===l[0]?l[2]:l[0],l[1]=null===n[1]?l[2]:l[1],o=t.min.apply(t,n),s=t.max.apply(t,n),o=void 0===r.get("base")?o<0?o:0:r.get("base"),this.min=o,this.max=s,this.range=s-o,this.shapes={},this.valueShapes={},this.regiondata={},this.width=i="auto"===r.get("width")?"4.0em":i,this.target=this.$el.simpledraw(i,a,r.get("composite")),n.length||(this.disabled=!0),this.initTarget()},getRegion:function(e,t,n){var r=this.target.getShapeAt(e,t,n);return void 0!==r&&void 0!==this.shapes[r]?this.shapes[r]:void 0},getCurrentRegionFields:function(){var e=this.currentRegion;return{fieldkey:e.substr(0,1),value:this.values[e.substr(1)],region:e}},changeHighlight:function(e){var t,n=this.currentRegion,r=this.valueShapes[n];switch(delete this.shapes[r],n.substr(0,1)){case"r":t=this.renderRange(n.substr(1),e);break;case"p":t=this.renderPerformance(e);break;case"t":t=this.renderTarget(e)}this.valueShapes[n]=t.id,this.shapes[t.id]=n,this.target.replaceWithShape(r,t)},renderRange:function(e,n){var r=this.values[e],i=t.round(this.canvasWidth*((r-this.min)/this.range)),a=this.options.get("rangeColors")[e-2];return n&&(a=this.calcHighlightColor(a,this.options)),this.target.drawRect(0,0,i-1,this.canvasHeight-1,a,a)},renderPerformance:function(e){var n=this.values[1],r=t.round(this.canvasWidth*((n-this.min)/this.range)),i=this.options.get("performanceColor");return e&&(i=this.calcHighlightColor(i,this.options)),this.target.drawRect(0,t.round(.3*this.canvasHeight),r-1,t.round(.4*this.canvasHeight)-1,i,i)},renderTarget:function(e){var n=this.values[0],r=t.round(this.canvasWidth*((n-this.min)/this.range)-this.options.get("targetWidth")/2),i=t.round(.1*this.canvasHeight),a=this.canvasHeight-2*i,o=this.options.get("targetColor");return e&&(o=this.calcHighlightColor(o,this.options)),this.target.drawRect(r,i,this.options.get("targetWidth")-1,a-1,o,o)},render:function(){var e,t,n=this.values.length,r=this.target;if(k._super.render.call(this)){for(e=2;e<n;e++)t=this.renderRange(e).append(),this.shapes[t.id]="r"+e,this.valueShapes["r"+e]=t.id;null!==this.values[1]&&(t=this.renderPerformance().append(),this.shapes[t.id]="p1",this.valueShapes.p1=t.id),null!==this.values[0]&&(t=this.renderTarget().append(),this.shapes[t.id]="t0",this.valueShapes.t0=t.id),r.render()}}}),n.fn.sparkline.pie=L=i(n.fn.sparkline._base,{type:"pie",init:function(e,r,i,a,o){var s,l=0;if(L._super.init.call(this,e,r,i,a,o),this.shapes={},this.valueShapes={},this.values=r=n.map(r,Number),"auto"===i.get("width")&&(this.width=this.height),r.length>0)for(s=r.length;s--;)l+=r[s];this.total=l,this.initTarget(),this.radius=t.floor(t.min(this.canvasWidth,this.canvasHeight)/2)},getRegion:function(e,t,n){var r=this.target.getShapeAt(e,t,n);return void 0!==r&&void 0!==this.shapes[r]?this.shapes[r]:void 0},getCurrentRegionFields:function(){var e=this.currentRegion;return{isNull:void 0===this.values[e],value:this.values[e],percent:this.values[e]/this.total*100,color:this.options.get("sliceColors")[e%this.options.get("sliceColors").length],offset:e}},changeHighlight:function(e){var t=this.currentRegion,n=this.renderSlice(t,e),r=this.valueShapes[t];delete this.shapes[r],this.target.replaceWithShape(r,n),this.valueShapes[t]=n.id,this.shapes[n.id]=t},renderSlice:function(e,n){var r,i,a,o,s,l=this.target,u=this.options,d=this.radius,c=u.get("borderWidth"),h=u.get("offset"),f=2*t.PI,p=this.values,m=this.total,_=h?2*t.PI*(h/360):0;for(o=p.length,a=0;a<o;a++){if(r=_,i=_,m>0&&(i=_+f*(p[a]/m)),e===a)return s=u.get("sliceColors")[a%u.get("sliceColors").length],n&&(s=this.calcHighlightColor(s,u)),l.drawPieSlice(d,d,d-c,r,i,void 0,s);_=i}},render:function(){var e,n,r=this.target,i=this.values,a=this.options,o=this.radius,s=a.get("borderWidth"),l=a.get("donutWidth");if(L._super.render.call(this)){for(s&&r.drawCircle(o,o,t.floor(o-s/2),a.get("borderColor"),void 0,s).append(),n=i.length;n--;)i[n]&&(e=this.renderSlice(n).append(),this.valueShapes[n]=e.id,this.shapes[e.id]=n);l&&r.drawCircle(o,o,o-l,a.get("donutColor"),a.get("donutColor"),0).append(),r.render()}}}),n.fn.sparkline.box=D=i(n.fn.sparkline._base,{type:"box",init:function(e,t,r,i,a){D._super.init.call(this,e,t,r,i,a),this.values=n.map(t,Number),this.width="auto"===r.get("width")?"4.0em":i,this.initTarget(),this.values.length||(this.disabled=1)},getRegion:function(){return 1},getCurrentRegionFields:function(){var e=[{field:"lq",value:this.quartiles[0]},{field:"med",value:this.quartiles[1]},{field:"uq",value:this.quartiles[2]}];return void 0!==this.loutlier&&e.push({field:"lo",value:this.loutlier}),void 0!==this.routlier&&e.push({field:"ro",value:this.routlier}),void 0!==this.lwhisker&&e.push({field:"lw",value:this.lwhisker}),void 0!==this.rwhisker&&e.push({field:"rw",value:this.rwhisker}),e},render:function(){var e,n,r,i,a,o,l,u,d,c,h,f=this.target,p=this.values,m=p.length,_=this.options,g=this.canvasWidth,y=this.canvasHeight,v=void 0===_.get("chartRangeMin")?t.min.apply(t,p):_.get("chartRangeMin"),b=void 0===_.get("chartRangeMax")?t.max.apply(t,p):_.get("chartRangeMax"),M=0;if(D._super.render.call(this)){if(_.get("raw"))_.get("showOutliers")&&p.length>5?(n=p[0],e=p[1],i=p[2],a=p[3],o=p[4],l=p[5],u=p[6]):(e=p[0],i=p[1],a=p[2],o=p[3],l=p[4]);else if(p.sort(function(e,t){return e-t}),i=s(p,1),a=s(p,2),o=s(p,3),r=o-i,_.get("showOutliers")){for(e=l=void 0,d=0;d<m;d++)void 0===e&&p[d]>i-r*_.get("outlierIQR")&&(e=p[d]),p[d]<o+r*_.get("outlierIQR")&&(l=p[d]);n=p[0],u=p[m-1]}else e=p[0],l=p[m-1];this.quartiles=[i,a,o],this.lwhisker=e,this.rwhisker=l,this.loutlier=n,this.routlier=u,h=g/(b-v+1),_.get("showOutliers")&&(M=t.ceil(_.get("spotRadius")),g-=2*t.ceil(_.get("spotRadius")),h=g/(b-v+1),n<e&&f.drawCircle((n-v)*h+M,y/2,_.get("spotRadius"),_.get("outlierLineColor"),_.get("outlierFillColor")).append(),u>l&&f.drawCircle((u-v)*h+M,y/2,_.get("spotRadius"),_.get("outlierLineColor"),_.get("outlierFillColor")).append()),f.drawRect(t.round((i-v)*h+M),t.round(.1*y),t.round((o-i)*h),t.round(.8*y),_.get("boxLineColor"),_.get("boxFillColor")).append(),f.drawLine(t.round((e-v)*h+M),t.round(y/2),t.round((i-v)*h+M),t.round(y/2),_.get("lineColor")).append(),f.drawLine(t.round((e-v)*h+M),t.round(y/4),t.round((e-v)*h+M),t.round(y-y/4),_.get("whiskerColor")).append(),f.drawLine(t.round((l-v)*h+M),t.round(y/2),t.round((o-v)*h+M),t.round(y/2),_.get("lineColor")).append(),f.drawLine(t.round((l-v)*h+M),t.round(y/4),t.round((l-v)*h+M),t.round(y-y/4),_.get("whiskerColor")).append(),f.drawLine(t.round((a-v)*h+M),t.round(.1*y),t.round((a-v)*h+M),t.round(.9*y),_.get("medianColor")).append(),_.get("target")&&(c=t.ceil(_.get("spotRadius")),f.drawLine(t.round((_.get("target")-v)*h+M),t.round(y/2-c),t.round((_.get("target")-v)*h+M),t.round(y/2+c),_.get("targetColor")).append(),f.drawLine(t.round((_.get("target")-v)*h+M-c),t.round(y/2),t.round((_.get("target")-v)*h+M+c),t.round(y/2),_.get("targetColor")).append()),f.render()}}}),S=i({init:function(e,t,n,r){this.target=e,this.id=t,this.type=n,this.args=r},append:function(){return this.target.appendShape(this),this}}),C=i({_pxregex:/(\d+)(px)?\s*$/i,init:function(e,t,r){e&&(this.width=e,this.height=t,this.target=r,this.lastShapeId=null,r[0]&&(r=r[0]),n.data(r,"_jqs_vcanvas",this))},drawLine:function(e,t,n,r,i,a){return this.drawShape([[e,t],[n,r]],i,a)},drawShape:function(e,t,n,r){return this._genShape("Shape",[e,t,n,r])},drawCircle:function(e,t,n,r,i,a){return this._genShape("Circle",[e,t,n,r,i,a])},drawPieSlice:function(e,t,n,r,i,a,o){return this._genShape("PieSlice",[e,t,n,r,i,a,o])},drawRect:function(e,t,n,r,i,a){return this._genShape("Rect",[e,t,n,r,i,a])},getElement:function(){return this.canvas},getLastShapeId:function(){return this.lastShapeId},reset:function(){alert("reset not implemented")},_insert:function(e,t){n(t).html(e)},_calculatePixelDims:function(e,t,r){var i;i=this._pxregex.exec(t),this.pixelHeight=i?i[1]:n(r).height(),i=this._pxregex.exec(e),this.pixelWidth=i?i[1]:n(r).width()},_genShape:function(e,t){var n=P++;return t.unshift(n),new S(this,n,e,t)},appendShape:function(e){alert("appendShape not implemented")},replaceWithShape:function(e,t){alert("replaceWithShape not implemented")},insertAfterShape:function(e,t){alert("insertAfterShape not implemented")},removeShapeId:function(e){alert("removeShapeId not implemented")},getShapeAt:function(e,t,n){alert("getShapeAt not implemented")},render:function(){alert("render not implemented")}}),j=i(C,{init:function(t,r,i,a){j._super.init.call(this,t,r,i),this.canvas=e.createElement("canvas"),i[0]&&(i=i[0]),n.data(i,"_jqs_vcanvas",this),n(this.canvas).css({display:"inline-block",width:t,height:r,verticalAlign:"top"}),this._insert(this.canvas,i),this._calculatePixelDims(t,r,this.canvas),this.canvas.width=this.pixelWidth,this.canvas.height=this.pixelHeight,this.interact=a,this.shapes={},this.shapeseq=[],this.currentTargetShapeId=void 0,n(this.canvas).css({width:this.pixelWidth,height:this.pixelHeight})},_getContext:function(e,t,n){var r=this.canvas.getContext("2d");return void 0!==e&&(r.strokeStyle=e),r.lineWidth=void 0===n?1:n,void 0!==t&&(r.fillStyle=t),r},reset:function(){this._getContext().clearRect(0,0,this.pixelWidth,this.pixelHeight),this.shapes={},this.shapeseq=[],this.currentTargetShapeId=void 0},_drawShape:function(e,t,n,r,i){var a,o,s=this._getContext(n,r,i);for(s.beginPath(),s.moveTo(t[0][0]+.5,t[0][1]+.5),a=1,o=t.length;a<o;a++)s.lineTo(t[a][0]+.5,t[a][1]+.5);void 0!==n&&s.stroke(),void 0!==r&&s.fill(),void 0!==this.targetX&&void 0!==this.targetY&&s.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=e)},_drawCircle:function(e,n,r,i,a,o,s){var l=this._getContext(a,o,s);l.beginPath(),l.arc(n,r,i,0,2*t.PI,!1),void 0!==this.targetX&&void 0!==this.targetY&&l.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=e),void 0!==a&&l.stroke(),void 0!==o&&l.fill()},_drawPieSlice:function(e,t,n,r,i,a,o,s){var l=this._getContext(o,s);l.beginPath(),l.moveTo(t,n),l.arc(t,n,r,i,a,!1),l.lineTo(t,n),l.closePath(),void 0!==o&&l.stroke(),s&&l.fill(),void 0!==this.targetX&&void 0!==this.targetY&&l.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=e)},_drawRect:function(e,t,n,r,i,a,o){return this._drawShape(e,[[t,n],[t+r,n],[t+r,n+i],[t,n+i],[t,n]],a,o)},appendShape:function(e){return this.shapes[e.id]=e,this.shapeseq.push(e.id),this.lastShapeId=e.id,e.id},replaceWithShape:function(e,t){var n,r=this.shapeseq;for(this.shapes[t.id]=t,n=r.length;n--;)r[n]==e&&(r[n]=t.id);delete this.shapes[e]},replaceWithShapes:function(e,t){var n,r,i,a=this.shapeseq,o={};for(r=e.length;r--;)o[e[r]]=!0;for(r=a.length;r--;)n=a[r],o[n]&&(a.splice(r,1),delete this.shapes[n],i=r);for(r=t.length;r--;)a.splice(i,0,t[r].id),this.shapes[t[r].id]=t[r]},insertAfterShape:function(e,t){var n,r=this.shapeseq;for(n=r.length;n--;)if(r[n]===e)return r.splice(n+1,0,t.id),void(this.shapes[t.id]=t)},removeShapeId:function(e){var t,n=this.shapeseq;for(t=n.length;t--;)if(n[t]===e){n.splice(t,1);break}delete this.shapes[e]},getShapeAt:function(e,t,n){return this.targetX=t,this.targetY=n,this.render(),this.currentTargetShapeId},render:function(){
|
||
var e,t,n,r=this.shapeseq,i=this.shapes,a=r.length,o=this._getContext();for(o.clearRect(0,0,this.pixelWidth,this.pixelHeight),n=0;n<a;n++)e=r[n],t=i[e],this["_draw"+t.type].apply(this,t.args);this.interact||(this.shapes={},this.shapeseq=[])}}),H=i(C,{init:function(t,r,i){var a;H._super.init.call(this,t,r,i),i[0]&&(i=i[0]),n.data(i,"_jqs_vcanvas",this),this.canvas=e.createElement("span"),n(this.canvas).css({display:"inline-block",position:"relative",overflow:"hidden",width:t,height:r,margin:"0px",padding:"0px",verticalAlign:"top"}),this._insert(this.canvas,i),this._calculatePixelDims(t,r,this.canvas),this.canvas.width=this.pixelWidth,this.canvas.height=this.pixelHeight,a='<v:group coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" style="position:absolute;top:0;left:0;width:'+this.pixelWidth+"px;height="+this.pixelHeight+'px;"></v:group>',this.canvas.insertAdjacentHTML("beforeEnd",a),this.group=n(this.canvas).children()[0],this.rendered=!1,this.prerender=""},_drawShape:function(e,t,n,r,i){var a,o,s,l,u,d,c=[];for(d=0,u=t.length;d<u;d++)c[d]=t[d][0]+","+t[d][1];return a=c.splice(0,1),i=void 0===i?1:i,o=void 0===n?' stroked="false" ':' strokeWeight="'+i+'px" strokeColor="'+n+'" ',s=void 0===r?' filled="false"':' fillColor="'+r+'" filled="true" ',l=c[0]===c[c.length-1]?"x ":"",'<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" id="jqsshape'+e+'" '+o+s+' style="position:absolute;left:0px;top:0px;height:'+this.pixelHeight+"px;width:"+this.pixelWidth+'px;padding:0px;margin:0px;" path="m '+a+" l "+c.join(", ")+" "+l+'e"> </v:shape>'},_drawCircle:function(e,t,n,r,i,a,o){var s,l;return t-=r,n-=r,s=void 0===i?' stroked="false" ':' strokeWeight="'+o+'px" strokeColor="'+i+'" ',l=void 0===a?' filled="false"':' fillColor="'+a+'" filled="true" ','<v:oval id="jqsshape'+e+'" '+s+l+' style="position:absolute;top:'+n+"px; left:"+t+"px; width:"+2*r+"px; height:"+2*r+'px"></v:oval>'},_drawPieSlice:function(e,n,r,i,a,o,s,l){var u,d,c,h,f,p,m;if(a===o)return"";if(o-a==2*t.PI&&(a=0,o=2*t.PI),d=n+t.round(t.cos(a)*i),c=r+t.round(t.sin(a)*i),h=n+t.round(t.cos(o)*i),f=r+t.round(t.sin(o)*i),d===h&&c===f){if(o-a<t.PI)return"";d=h=n+i,c=f=r}return d===h&&c===f&&o-a<t.PI?"":(u=[n-i,r-i,n+i,r+i,d,c,h,f],p=void 0===s?' stroked="false" ':' strokeWeight="1px" strokeColor="'+s+'" ',m=void 0===l?' filled="false"':' fillColor="'+l+'" filled="true" ','<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" id="jqsshape'+e+'" '+p+m+' style="position:absolute;left:0px;top:0px;height:'+this.pixelHeight+"px;width:"+this.pixelWidth+'px;padding:0px;margin:0px;" path="m '+n+","+r+" wa "+u.join(", ")+' x e"> </v:shape>')},_drawRect:function(e,t,n,r,i,a,o){return this._drawShape(e,[[t,n],[t,n+i],[t+r,n+i],[t+r,n],[t,n]],a,o)},reset:function(){this.group.innerHTML=""},appendShape:function(e){var t=this["_draw"+e.type].apply(this,e.args);return this.rendered?this.group.insertAdjacentHTML("beforeEnd",t):this.prerender+=t,this.lastShapeId=e.id,e.id},replaceWithShape:function(e,t){var r=n("#jqsshape"+e),i=this["_draw"+t.type].apply(this,t.args);r[0].outerHTML=i},replaceWithShapes:function(e,t){var r,i=n("#jqsshape"+e[0]),a="",o=t.length;for(r=0;r<o;r++)a+=this["_draw"+t[r].type].apply(this,t[r].args);for(i[0].outerHTML=a,r=1;r<e.length;r++)n("#jqsshape"+e[r]).remove()},insertAfterShape:function(e,t){var r=n("#jqsshape"+e),i=this["_draw"+t.type].apply(this,t.args);r[0].insertAdjacentHTML("afterEnd",i)},removeShapeId:function(e){var t=n("#jqsshape"+e);this.group.removeChild(t[0])},getShapeAt:function(e,t,n){return e.id.substr(8)},render:function(){this.rendered||(this.group.innerHTML=this.prerender,this.rendered=!0)}})})}(document,Math),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Sweetalert2=t()}(this,function(){"use strict";var e={title:"",titleText:"",text:"",html:"",type:null,customClass:"",target:"body",animation:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonColor:"#3085d6",confirmButtonClass:null,cancelButtonText:"Cancel",cancelButtonColor:"#aaa",cancelButtonClass:null,buttonsStyling:!0,reverseButtons:!1,focusCancel:!1,showCloseButton:!1,showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageClass:null,timer:null,width:500,padding:20,background:"#fff",input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:null,inputAttributes:{},inputValidator:null,progressSteps:[],currentProgressStep:null,progressStepsDistance:"40px",onOpen:null,onClose:null,useRejections:!0},t=function(e){var t={};for(var n in e)t[e[n]]="swal2-"+e[n];return t},n=t(["container","shown","iosfix","modal","overlay","fade","show","hide","noanimation","close","title","content","buttonswrapper","confirm","cancel","icon","image","input","file","range","select","radio","checkbox","textarea","inputerror","validationerror","progresssteps","activeprogressstep","progresscircle","progressline","loading","styled"]),r=t(["success","warning","info","question","error"]),i=function(e,t){(e=String(e).replace(/[^0-9a-f]/gi,"")).length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),t=t||0;for(var n="#",r=0;r<3;r++){var i=parseInt(e.substr(2*r,2),16);n+=("00"+(i=Math.round(Math.min(Math.max(0,i+i*t),255)).toString(16))).substr(i.length)}return n},a=function(e){var t=[];for(var n in e)-1===t.indexOf(e[n])&&t.push(e[n]);return t},o={previousWindowKeyDown:null,previousActiveElement:null,previousBodyPadding:null},s=function(e){if("undefined"!=typeof document){var t=document.createElement("div");t.className=n.container,t.innerHTML=l;var r=document.querySelector(e.target);r||(r=document.body),r.appendChild(t);var i=d(),a=Y(i,n.input),o=Y(i,n.file),s=i.querySelector("."+n.range+" input"),u=i.querySelector("."+n.range+" output"),c=Y(i,n.select),h=i.querySelector("."+n.checkbox+" input"),f=Y(i,n.textarea);return a.oninput=function(){G.resetValidationError()},a.onkeydown=function(t){setTimeout(function(){13===t.keyCode&&e.allowEnterKey&&(t.stopPropagation(),G.clickConfirm())},0)},o.onchange=function(){G.resetValidationError()},s.oninput=function(){G.resetValidationError(),u.value=s.value},s.onchange=function(){G.resetValidationError(),s.previousSibling.value=s.value},c.onchange=function(){G.resetValidationError()},h.onchange=function(){G.resetValidationError()},f.oninput=function(){G.resetValidationError()},i}},l=('\n <div role="dialog" aria-labelledby="'+n.title+'" aria-describedby="'+n.content+'" class="'+n.modal+'" tabindex="-1">\n <ul class="'+n.progresssteps+'"></ul>\n <div class="'+n.icon+" "+r.error+'">\n <span class="swal2-x-mark"><span class="swal2-x-mark-line-left"></span><span class="swal2-x-mark-line-right"></span></span>\n </div>\n <div class="'+n.icon+" "+r.question+'">?</div>\n <div class="'+n.icon+" "+r.warning+'">!</div>\n <div class="'+n.icon+" "+r.info+'">i</div>\n <div class="'+n.icon+" "+r.success+'">\n <div class="swal2-success-circular-line-left"></div>\n <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n <div class="swal2-success-circular-line-right"></div>\n </div>\n <img class="'+n.image+'" />\n <h2 class="'+n.title+'" id="'+n.title+'"></h2>\n <div id="'+n.content+'" class="'+n.content+'"></div>\n <input class="'+n.input+'" />\n <input type="file" class="'+n.file+'" />\n <div class="'+n.range+'">\n <output></output>\n <input type="range" />\n </div>\n <select class="'+n.select+'"></select>\n <div class="'+n.radio+'"></div>\n <label for="'+n.checkbox+'" class="'+n.checkbox+'">\n <input type="checkbox" />\n </label>\n <textarea class="'+n.textarea+'"></textarea>\n <div class="'+n.validationerror+'"></div>\n <div class="'+n.buttonswrapper+'">\n <button type="button" class="'+n.confirm+'">OK</button>\n <button type="button" class="'+n.cancel+'">Cancel</button>\n </div>\n <button type="button" class="'+n.close+'" aria-label="Close this dialog">×</button>\n </div>\n').replace(/(^|\n)\s*/g,""),u=function(){return document.body.querySelector("."+n.container)},d=function(){return u()?u().querySelector("."+n.modal):null},c=function(){return d().querySelectorAll("."+n.icon)},h=function(e){return u()?u().querySelector("."+e):null},f=function(){return h(n.title)},p=function(){return h(n.content)},m=function(){return h(n.image)},_=function(){return h(n.buttonswrapper)},g=function(){return h(n.progresssteps)},y=function(){return h(n.validationerror)},v=function(){return h(n.confirm)},b=function(){return h(n.cancel)},M=function(){return h(n.close)},w=function(e){var t=[v(),b()];e&&t.reverse();var n=t.concat(Array.prototype.slice.call(d().querySelectorAll('button, input:not([type=hidden]), textarea, select, a, *[tabindex]:not([tabindex="-1"])')));return a(n)},x=function(e,t){return!!e.classList&&e.classList.contains(t)},k=function(e){if(e.focus(),"file"!==e.type){var t=e.value;e.value="",e.value=t}},L=function(e,t){e&&t&&t.split(/\s+/).filter(Boolean).forEach(function(t){e.classList.add(t)})},D=function(e,t){e&&t&&t.split(/\s+/).filter(Boolean).forEach(function(t){e.classList.remove(t)})},Y=function(e,t){for(var n=0;n<e.childNodes.length;n++)if(x(e.childNodes[n],t))return e.childNodes[n]},T=function(e,t){t||(t="block"),e.style.opacity="",e.style.display=t},S=function(e){e.style.opacity="",e.style.display="none"},C=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},j=function(e){return e.offsetWidth||e.offsetHeight||e.getClientRects().length},H=function(e,t){e.style.removeProperty?e.style.removeProperty(t):e.style.removeAttribute(t)},O=function(e){if(!j(e))return!1;if("function"==typeof MouseEvent){var t=new MouseEvent("click",{view:window,bubbles:!1,cancelable:!0});e.dispatchEvent(t)}else if(document.createEvent){var n=document.createEvent("MouseEvents");n.initEvent("click",!1,!1),e.dispatchEvent(n)}else document.createEventObject?e.fireEvent("onclick"):"function"==typeof e.onclick&&e.onclick()},A=function(){var e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",msAnimation:"MSAnimationEnd",animation:"animationend"};for(var n in t)if(t.hasOwnProperty(n)&&void 0!==e.style[n])return t[n];return!1}(),P=function(){if(window.onkeydown=o.previousWindowKeyDown,o.previousActiveElement&&o.previousActiveElement.focus){var e=window.scrollX,t=window.scrollY;o.previousActiveElement.focus(),e&&t&&window.scrollTo(e,t)}},E=function(){if("ontouchstart"in window||navigator.msMaxTouchPoints)return 0;var e=document.createElement("div");e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t},I=function(e,t){var n=void 0;return function(){clearTimeout(n),n=setTimeout(function(){n=null,e()},t)}},F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},R=W({},e),N=[],z=void 0,B=function(t){var i=d()||s(t);for(var a in t)e.hasOwnProperty(a);i.style.width="number"==typeof t.width?t.width+"px":t.width,i.style.padding=t.padding+"px",i.style.background=t.background;for(var o=i.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),l=0;l<o.length;l++)o[l].style.background=t.background;var u=f(),h=p(),y=_(),w=v(),x=b(),k=M();if(t.titleText?u.innerText=t.titleText:u.innerHTML=t.title.split("\n").join("<br />"),t.text||t.html){if("object"===F(t.html))if(h.innerHTML="",0 in t.html)for(var Y=0;Y in t.html;Y++)h.appendChild(t.html[Y].cloneNode(!0));else h.appendChild(t.html.cloneNode(!0));else t.html?h.innerHTML=t.html:t.text&&(h.textContent=t.text);T(h)}else S(h);t.showCloseButton?T(k):S(k),i.className=n.modal,t.customClass&&L(i,t.customClass);var j=g(),O=parseInt(null===t.currentProgressStep?G.getQueueStep():t.currentProgressStep,10);t.progressSteps.length?(T(j),C(j),t.progressSteps.length,t.progressSteps.forEach(function(e,r){var i=document.createElement("li");if(L(i,n.progresscircle),i.innerHTML=e,r===O&&L(i,n.activeprogressstep),j.appendChild(i),r!==t.progressSteps.length-1){var a=document.createElement("li");L(a,n.progressline),a.style.width=t.progressStepsDistance,j.appendChild(a)}})):S(j);for(var A=c(),P=0;P<A.length;P++)S(A[P]);if(t.type){var E=!1;for(var I in r)if(t.type===I){E=!0;break}if(!E)return!1;var W=i.querySelector("."+n.icon+"."+r[t.type]);if(T(W),t.animation)switch(t.type){case"success":L(W,"swal2-animate-success-icon"),L(W.querySelector(".swal2-success-line-tip"),"swal2-animate-success-line-tip"),L(W.querySelector(".swal2-success-line-long"),"swal2-animate-success-line-long");break;case"error":L(W,"swal2-animate-error-icon"),L(W.querySelector(".swal2-x-mark"),"swal2-animate-x-mark")}}var R=m();t.imageUrl?(R.setAttribute("src",t.imageUrl),T(R),t.imageWidth?R.setAttribute("width",t.imageWidth):R.removeAttribute("width"),t.imageHeight?R.setAttribute("height",t.imageHeight):R.removeAttribute("height"),R.className=n.image,t.imageClass&&L(R,t.imageClass)):S(R),t.showCancelButton?x.style.display="inline-block":S(x),t.showConfirmButton?H(w,"display"):S(w),t.showConfirmButton||t.showCancelButton?T(y):S(y),w.innerHTML=t.confirmButtonText,x.innerHTML=t.cancelButtonText,t.buttonsStyling&&(w.style.backgroundColor=t.confirmButtonColor,x.style.backgroundColor=t.cancelButtonColor),w.className=n.confirm,L(w,t.confirmButtonClass),x.className=n.cancel,L(x,t.cancelButtonClass),t.buttonsStyling?(L(w,n.styled),L(x,n.styled)):(D(w,n.styled),D(x,n.styled),w.style.backgroundColor=w.style.borderLeftColor=w.style.borderRightColor="",x.style.backgroundColor=x.style.borderLeftColor=x.style.borderRightColor=""),!0===t.animation?D(i,n.noanimation):L(i,n.noanimation)},$=function(e,t){var r=u(),i=d();e?(L(i,n.show),L(r,n.fade),D(i,n.hide)):D(i,n.fade),T(i),r.style.overflowY="hidden",A&&!x(i,n.noanimation)?i.addEventListener(A,function e(){i.removeEventListener(A,e),r.style.overflowY="auto"}):r.style.overflowY="auto",L(document.documentElement,n.shown),L(document.body,n.shown),L(r,n.shown),V(),U(),o.previousActiveElement=document.activeElement,null!==t&&"function"==typeof t&&setTimeout(function(){t(i)})},V=function(){null===o.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(o.previousBodyPadding=document.body.style.paddingRight,document.body.style.paddingRight=E()+"px")},q=function(){null!==o.previousBodyPadding&&(document.body.style.paddingRight=o.previousBodyPadding,o.previousBodyPadding=null)},U=function(){if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&!x(document.body,n.iosfix)){var e=document.body.scrollTop;document.body.style.top=-1*e+"px",L(document.body,n.iosfix)}},J=function(){if(x(document.body,n.iosfix)){var e=parseInt(document.body.style.top,10);D(document.body,n.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}},G=function e(){for(var t=arguments.length,r=Array(t),a=0;a<t;a++)r[a]=arguments[a];if(void 0===r[0])return!1;var s=W({},R);switch(F(r[0])){case"string":s.title=r[0],s.html=r[1],s.type=r[2];break;case"object":W(s,r[0]),s.extraParams=r[0].extraParams,"email"===s.input&&null===s.inputValidator&&(s.inputValidator=function(e){return new Promise(function(t,n){/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/.test(e)?t():n("Invalid email address")})}),"url"===s.input&&null===s.inputValidator&&(s.inputValidator=function(e){return new Promise(function(t,n){/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&\/\/=]*)$/.test(e)?t():n("Invalid URL")})});break;default:return!1}B(s);var l=u(),c=d();return new Promise(function(t,r){s.timer&&(c.timeout=setTimeout(function(){e.closeModal(s.onClose),s.useRejections?r("timer"):t({dismiss:"timer"})},s.timer));var a=function(e){if(!(e=e||s.input))return null;switch(e){case"select":case"textarea":case"file":return Y(c,n[e]);case"checkbox":return c.querySelector("."+n.checkbox+" input");case"radio":return c.querySelector("."+n.radio+" input:checked")||c.querySelector("."+n.radio+" input:first-child");case"range":return c.querySelector("."+n.range+" input");default:return Y(c,n.input)}},h=function(){var e=a();if(!e)return null;switch(s.input){case"checkbox":return e.checked?1:0;case"radio":return e.checked?e.value:null;case"file":return e.files.length?e.files[0]:null;default:return s.inputAutoTrim?e.value.trim():e.value}};s.input&&setTimeout(function(){var e=a();e&&k(e)},0);for(var x=function(n){s.showLoaderOnConfirm&&e.showLoading(),s.preConfirm?s.preConfirm(n,s.extraParams).then(function(r){e.closeModal(s.onClose),t(r||n)},function(t){e.hideLoading(),t&&e.showValidationError(t)}):(e.closeModal(s.onClose),t(s.useRejections?n:{value:n}))},C=function(n){var a=n||window.event,o=a.target||a.srcElement,l=v(),u=b(),d=l&&(l===o||l.contains(o)),c=u&&(u===o||u.contains(o));switch(a.type){case"mouseover":case"mouseup":s.buttonsStyling&&(d?l.style.backgroundColor=i(s.confirmButtonColor,-.1):c&&(u.style.backgroundColor=i(s.cancelButtonColor,-.1)));break;case"mouseout":s.buttonsStyling&&(d?l.style.backgroundColor=s.confirmButtonColor:c&&(u.style.backgroundColor=s.cancelButtonColor));break;case"mousedown":s.buttonsStyling&&(d?l.style.backgroundColor=i(s.confirmButtonColor,-.2):c&&(u.style.backgroundColor=i(s.cancelButtonColor,-.2)));break;case"click":if(d&&e.isVisible())if(e.disableButtons(),s.input){var f=h();s.inputValidator?(e.disableInput(),s.inputValidator(f,s.extraParams).then(function(){e.enableButtons(),e.enableInput(),x(f)},function(t){e.enableButtons(),e.enableInput(),t&&e.showValidationError(t)})):x(f)}else x(!0);else c&&e.isVisible()&&(e.disableButtons(),e.closeModal(s.onClose),s.useRejections?r("cancel"):t({dismiss:"cancel"}))}},H=c.querySelectorAll("button"),A=0;A<H.length;A++)H[A].onclick=C,H[A].onmouseover=C,H[A].onmouseout=C,H[A].onmousedown=C;M().onclick=function(){e.closeModal(s.onClose),s.useRejections?r("close"):t({dismiss:"close"})},l.onclick=function(n){n.target===l&&s.allowOutsideClick&&(e.closeModal(s.onClose),s.useRejections?r("overlay"):t({dismiss:"overlay"}))};var P=_(),E=v(),W=b();s.reverseButtons?E.parentNode.insertBefore(W,E):E.parentNode.insertBefore(E,W);var R=function(e,t){for(var n=w(s.focusCancel),r=0;r<n.length;r++){(e+=t)===n.length?e=0:-1===e&&(e=n.length-1);var i=n[e];if(j(i))return i.focus()}},N=function(n){var i=n||window.event,a=i.keyCode||i.which;if(-1!==[9,13,32,27,37,38,39,40].indexOf(a)){for(var o=i.target||i.srcElement,l=w(s.focusCancel),u=-1,d=0;d<l.length;d++)if(o===l[d]){u=d;break}9===a?(i.shiftKey?R(u,-1):R(u,1),i.stopPropagation(),i.preventDefault()):37===a||38===a||39===a||40===a?document.activeElement===E&&j(W)?W.focus():document.activeElement===W&&j(E)&&E.focus():13===a||32===a?-1===u&&s.allowEnterKey&&(O(s.focusCancel?W:E),i.stopPropagation(),i.preventDefault()):27===a&&!0===s.allowEscapeKey&&(e.closeModal(s.onClose),s.useRejections?r("esc"):t({dismiss:"esc"}))}};window.onkeydown&&window.onkeydown.toString()===N.toString()||(o.previousWindowKeyDown=window.onkeydown,window.onkeydown=N),s.buttonsStyling&&(E.style.borderLeftColor=s.confirmButtonColor,E.style.borderRightColor=s.confirmButtonColor),e.hideLoading=e.disableLoading=function(){s.showConfirmButton||(S(E),s.showCancelButton||S(_())),D(P,n.loading),D(c,n.loading),E.disabled=!1,W.disabled=!1},e.getTitle=function(){return f()},e.getContent=function(){return p()},e.getInput=function(){return a()},e.getImage=function(){return m()},e.getButtonsWrapper=function(){return _()},e.getConfirmButton=function(){return v()},e.getCancelButton=function(){return b()},e.enableButtons=function(){E.disabled=!1,W.disabled=!1},e.disableButtons=function(){E.disabled=!0,W.disabled=!0},e.enableConfirmButton=function(){E.disabled=!1},e.disableConfirmButton=function(){E.disabled=!0},e.enableInput=function(){var e=a();if(!e)return!1;if("radio"===e.type)for(var t=e.parentNode.parentNode.querySelectorAll("input"),n=0;n<t.length;n++)t[n].disabled=!1;else e.disabled=!1},e.disableInput=function(){var e=a();if(!e)return!1;if(e&&"radio"===e.type)for(var t=e.parentNode.parentNode.querySelectorAll("input"),n=0;n<t.length;n++)t[n].disabled=!0;else e.disabled=!0},e.recalculateHeight=I(function(){var e=d();if(e){var t=e.style.display;e.style.minHeight="",T(e),e.style.minHeight=e.scrollHeight+1+"px",e.style.display=t}},50),e.showValidationError=function(e){var t=y();t.innerHTML=e,T(t);var r=a();r&&(k(r),L(r,n.inputerror))},e.resetValidationError=function(){var t=y();S(t),e.recalculateHeight();var r=a();r&&D(r,n.inputerror)},e.getProgressSteps=function(){return s.progressSteps},e.setProgressSteps=function(e){s.progressSteps=e,B(s)},e.showProgressSteps=function(){T(g())},e.hideProgressSteps=function(){S(g())},e.enableButtons(),e.hideLoading(),e.resetValidationError();for(var V=["input","file","range","select","radio","checkbox","textarea"],q=void 0,U=0;U<V.length;U++){var J=n[V[U]],G=Y(c,J);if(q=a(V[U])){for(var X in q.attributes)if(q.attributes.hasOwnProperty(X)){var Z=q.attributes[X].name;"type"!==Z&&"value"!==Z&&q.removeAttribute(Z)}for(var K in s.inputAttributes)q.setAttribute(K,s.inputAttributes[K])}G.className=J,s.inputClass&&L(G,s.inputClass),S(G)}var Q=void 0;switch(s.input){case"text":case"email":case"password":case"number":case"tel":case"url":(q=Y(c,n.input)).value=s.inputValue,q.placeholder=s.inputPlaceholder,q.type=s.input,T(q);break;case"file":(q=Y(c,n.file)).placeholder=s.inputPlaceholder,q.type=s.input,T(q);break;case"range":var ee=Y(c,n.range),te=ee.querySelector("input"),ne=ee.querySelector("output");te.value=s.inputValue,te.type=s.input,ne.value=s.inputValue,T(ee);break;case"select":var re=Y(c,n.select);if(re.innerHTML="",s.inputPlaceholder){var ie=document.createElement("option");ie.innerHTML=s.inputPlaceholder,ie.value="",ie.disabled=!0,ie.selected=!0,re.appendChild(ie)}Q=function(e){for(var t in e){var n=document.createElement("option");n.value=t,n.innerHTML=e[t],s.inputValue===t&&(n.selected=!0),re.appendChild(n)}T(re),re.focus()};break;case"radio":var ae=Y(c,n.radio);ae.innerHTML="",Q=function(e){for(var t in e){var r=document.createElement("input"),i=document.createElement("label"),a=document.createElement("span");r.type="radio",r.name=n.radio,r.value=t,s.inputValue===t&&(r.checked=!0),a.innerHTML=e[t],i.appendChild(r),i.appendChild(a),i.for=r.id,ae.appendChild(i)}T(ae);var o=ae.querySelectorAll("input");o.length&&o[0].focus()};break;case"checkbox":var oe=Y(c,n.checkbox),se=a("checkbox");se.type="checkbox",se.value=1,se.id=n.checkbox,se.checked=Boolean(s.inputValue);var le=oe.getElementsByTagName("span");le.length&&oe.removeChild(le[0]),(le=document.createElement("span")).innerHTML=s.inputPlaceholder,oe.appendChild(le),T(oe);break;case"textarea":var ue=Y(c,n.textarea);ue.value=s.inputValue,ue.placeholder=s.inputPlaceholder,T(ue)}"select"!==s.input&&"radio"!==s.input||(s.inputOptions instanceof Promise?(e.showLoading(),s.inputOptions.then(function(t){e.hideLoading(),Q(t)})):"object"===F(s.inputOptions)&&Q(s.inputOptions)),$(s.animation,s.onOpen),s.allowEnterKey?R(-1,1):document.activeElement&&document.activeElement.blur(),u().scrollTop=0,"undefined"==typeof MutationObserver||z||(z=new MutationObserver(e.recalculateHeight)).observe(c,{childList:!0,characterData:!0,subtree:!0})})};return G.isVisible=function(){return!!d()},G.queue=function(e){N=e;var t=function(){N=[],document.body.removeAttribute("data-swal2-queue-step")},n=[];return new Promise(function(e,r){!function i(a,o){a<N.length?(document.body.setAttribute("data-swal2-queue-step",a),G(N[a]).then(function(e){n.push(e),i(a+1,o)},function(e){t(),r(e)})):(t(),e(n))}(0)})},G.getQueueStep=function(){return document.body.getAttribute("data-swal2-queue-step")},G.insertQueueStep=function(e,t){return t&&t<N.length?N.splice(t,0,e):N.push(e)},G.deleteQueueStep=function(e){void 0!==N[e]&&N.splice(e,1)},G.close=G.closeModal=function(e){var t=u(),r=d();if(r){D(r,n.show),L(r,n.hide),clearTimeout(r.timeout),P();var i=function(){t.parentNode&&t.parentNode.removeChild(t),D(document.documentElement,n.shown),D(document.body,n.shown),q(),J()};A&&!x(r,n.noanimation)?r.addEventListener(A,function e(){r.removeEventListener(A,e),x(r,n.hide)&&i()}):i(),null!==e&&"function"==typeof e&&setTimeout(function(){e(r)})}},G.clickConfirm=function(){return v().click()},G.clickCancel=function(){return b().click()},G.showLoading=G.enableLoading=function(){var e=d();e||G("");var t=_(),r=v(),i=b();T(t),T(r,"inline-block"),L(t,n.loading),L(e,n.loading),r.disabled=!0,i.disabled=!0},G.setDefaults=function(t){if(t&&"object"===(void 0===t?"undefined":F(t))){for(var n in t)e.hasOwnProperty(n)||"extraParams"===n||delete t[n];W(R,t)}},G.resetDefaults=function(){R=W({},e)},G.noop=function(){},G.version="6.6.6",G.default=G,G}),window.Sweetalert2&&(window.sweetAlert=window.swal=window.Sweetalert2),function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)}(function(e,t){var n=1e3,r=!1,i=e([]),a=function(){l.resume()},o=function(n,r){var a=n.data("livestampdata");if("number"==typeof r&&(r*=1e3),n.removeAttr("data-livestamp").removeData("livestamp"),r=t(r),t.isMoment(r)&&!isNaN(+r)){var o=e.extend({},{original:n.contents()},a);o.moment=t(r),n.data("livestampdata",o).empty(),i.push(n[0])}},s=function(){r||(l.update(),setTimeout(s,n))},l={update:function(){e("[data-livestamp]").each(function(){var t=e(this);o(t,t.data("livestamp"))});var n=[];i.each(function(){var r=e(this),i=r.data("livestampdata");if(void 0===i)n.push(this);else if(t.isMoment(i.moment)){var a=r.html(),o=i.moment.fromNow();if(a!=o){var s=e.Event("change.livestamp");r.trigger(s,[a,o]),s.isDefaultPrevented()||r.html(o)}}}),i=i.not(n),delete i.prevObject},pause:function(){r=!0},resume:function(){r=!1,s()},interval:function(e){if(void 0===e)return n;n=e}},u={add:function(n,r){return"number"==typeof r&&(r*=1e3),r=t(r),t.isMoment(r)&&!isNaN(+r)&&(n.each(function(){o(e(this),r)}),l.update()),n},destroy:function(t){return i=i.not(t),t.each(function(){var n=e(this),r=n.data("livestampdata");if(void 0===r)return t;n.html(r.original?r.original:"").removeData("livestampdata")}),t},isLivestamp:function(e){return void 0!==e.data("livestampdata")}};e.livestamp=l,e(a),e.fn.livestamp=function(e,t){return u[e]||(t=e,e="add"),u[e](this,t)}}),jQuery.fn.serializeObject=function(){for(var e={},t=this.serializeArray(),n=0,r=t.length;n<r;n++){var i=t[n],a=i.name,o=null!=i.value?i.value:"";void 0!==e[a]?(e[a].push||(e[a]=[e[a]]),e[a].push(o)):e[a]=o}return e},function(e){e.fn.strengthify=function(t){var n=this,r={zxcvbn:"https://cdnjs.cloudflare.com/ajax/libs/zxcvbn/2.0.2/zxcvbn.min.js"},i=e.extend(r,t);return e(".strengthify-wrapper").append('<div class="strengthify-bg" />').append('<div class="strengthify-container" />').append('<div class="strengthify-separator" style="left: 25%" />').append('<div class="strengthify-separator" style="left: 50%" />').append('<div class="strengthify-separator" style="left: 75%" />'),e.ajax({cache:!0,dataType:"script",url:i.zxcvbn}).done(function(){n.bind("keyup input",function(){var t=e(this).val(),n=""===t?0:1,r=zxcvbn(t),i="",a=e(".strengthify-container");switch(e(".strengthify-wrapper").children().css("opacity",n).css("-ms-filter",'"progid:DXImageTransform.Microsoft.Alpha(Opacity='+100*n+')"'),r.score){case 0:case 1:i="password-bad";break;case 2:i="password-medium";break;case 3:case 4:i="password-good"}a.attr("class",i+" strengthify-container").css("width",25*(0===r.score?1:r.score)+"%"),""===t&&a.css("width",0)})}),n}}(jQuery),$(function(){function e(e,t){$(".block-"+e).removeClass("show").addClass("hidden"),$(".block-"+t).removeClass("hidden").addClass("show"),$(".steps .step").removeClass("active").filter(":lt("+t+")").addClass("active")}function t(e,t){swal({type:"warning",title:"Confirm your action",text:"Are you sure you want to do this?",buttonsStyling:!1,reverseButtons:!0,confirmButtonText:"Yes",confirmButtonClass:"btn btn-lg btn-danger",cancelButtonClass:"btn btn-lg btn-default",showCancelButton:!0,focusCancel:!0}).then(function(){_.isFunction(e)&&e()},function(){_.isFunction(t)&&t()})}$.ajaxPrefilter(function(e,t,n){var r;return e.crossDomain||(r=$('meta[name="token"]').attr("content"))&&n.setRequestHeader("X-CSRF-Token",r),n}),$.ajaxSetup({beforeSend:function(e){e.setRequestHeader("Accept","application/json")},statusCode:{401:function(){window.location.href="/"},403:function(){window.location.href="/"}}}),$("form").submit(function(){$(this).find(":submit").prop("disabled",!0)}),$("[data-method]").not(".disabled").append(function(){var e="\n";return e+="<form action='"+$(this).attr("href")+"' method='POST' style='display:none'>\n",e+="<input type='hidden' name='_method' value='"+$(this).attr("data-method")+"'>\n",e+="<input type='hidden' name='_token' value='"+$("meta[name=token]").attr("content")+"'>\n",e+="</form>\n"}).removeAttr("href").on("click",function(){var e=$(this);e.hasClass("confirm-action")?t(function(){e.find("form").submit()}):e.find("form").submit()}),Messenger.options={extraClasses:"messenger-fixed messenger-on-top",theme:"air"},window.Cachet={},moment.locale(Global.locale),$("abbr.timeago").each(function(){var e=$(this);e.livestamp(e.data("timeago")).tooltip()}),window.Cachet.Notifier=function(){this.notify=function(e,t,n){_.isPlainObject(e)&&(e=e.detail),t=void 0===t||"error"===t?"error":t;var r={message:e,type:t,showCloseButton:!0};n=_.extend(r,n),Messenger().post(n)}},$(".sidebar-toggler").click(function(e){e.preventDefault(),$(".wrapper").toggleClass("toggled")}),$(".color-code").each(function(){var e=$(this);e.minicolors({control:"hue",defaultValue:e.val()||"",inline:!1,letterCase:"lowercase",opacity:!1,position:"bottom left",theme:"bootstrap"})}),$('[data-toggle="tooltip"]').tooltip(),$("button.close").on("click",function(){$(this).parents("div.alert").addClass("hide")}),$("form[name=IncidentForm] select[name=component_id]").on("change",function(){var e=$(this).find("option:selected"),t=$("#component-status");0!==parseInt(e.val(),10)?t.hasClass("hidden")&&t.removeClass("hidden"):t.addClass("hidden")}),$("input[rel=datepicker]").datetimepicker({format:"DD/MM/YYYY HH:mm",minDate:new Date,sideBySide:!0,icons:{time:"ion-clock",date:"ion-android-calendar",up:"ion-ios-arrow-up",down:"ion-ios-arrow-down",previous:"ion-ios-arrow-left",next:"ion-ios-arrow-right",today:"ion-android-home",clear:"ion-trash-a"}}),$("input[rel=datepicker-any]").datetimepicker({format:"DD/MM/YYYY HH:mm",sideBySide:!0,icons:{time:"ion-clock",date:"ion-android-calendar",up:"ion-ios-arrow-up",down:"ion-ios-arrow-down",previous:"ion-ios-arrow-left",next:"ion-ios-arrow-right",today:"ion-android-home",clear:"ion-trash-a"}}),$("input[rel=datepicker-custom]").datetimepicker({sideBySide:!0,icons:{time:"ion-clock",date:"ion-android-calendar",up:"ion-ios-arrow-up",down:"ion-ios-arrow-down",previous:"ion-ios-arrow-left",next:"ion-ios-arrow-right",today:"ion-android-home",clear:"ion-trash-a"}});var n=document.querySelectorAll("[data-orderable-list]");if($.each(n,function(e,t){var n=$(t).data("orderableList"),r=new Cachet.Notifier;new Sortable(t,{group:"omega",handle:".drag-handle",onUpdate:function(){var e=$.map(t.querySelectorAll("[data-orderable-id]"),function(e){return $(e).data("orderable-id")});$.ajax({async:!0,url:n,type:"POST",data:{ids:e},success:function(){r.notify("Ordering updated.","success")},error:function(){r.notify("Ordering not updated.","error")}})}})}),$("form.component-inline").on("click","input[type=radio]",function(){
|
||
var e=$(this).parents("form"),t=e.serializeObject();$.ajax({async:!0,url:"/dashboard/api/components/"+t.component_id,type:"POST",data:t,success:function(t){(new Cachet.Notifier).notify(e.data("messenger"),"success")},error:function(e,t,n){(new Cachet.Notifier).notify("Something went wrong updating the component.")}})}),$("select[name=template]").on("change",function(){var e=$(this).find("option:selected"),t=e.val();t&&$.ajax({async:!0,data:{slug:t},url:"/dashboard/api/incidents/templates",success:function(e){var t=$("form[role=form]");t.find("input[name=name]").val(e.name),t.find("textarea[name=message]").val(e.template)},error:function(){(new Cachet.Notifier).notify("There was an error finding that template.")}})}),$("#remove-banner").click(function(){$("#banner-view").remove(),$("input[name=remove_banner]").val("1")}),$(".group-name").on("click",function(){var e=$(this);e.find(".group-toggle").toggleClass("ion-ios-minus-outline").toggleClass("ion-ios-plus-outline"),e.next(".group-items").toggleClass("hide")}),$(".select-group").on("click",function(){var e=$(this).closest("ul.list-group");return e.find("input[type=checkbox]").prop("checked",!0),e.find(".group-items").removeClass("hide"),e.find(".group-toggle").addClass("ion-ios-minus-outline").removeClass("ion-ios-plus-outline"),event.stopPropagation(),!1}),$(".deselect-group").on("click",function(){var e=$(this).closest("ul.list-group");return e.find("input[type=checkbox]").prop("checked",!1),e.find(".group-items").addClass("hide"),e.find(".group-toggle").removeClass("ion-ios-minus-outline").addClass("ion-ios-plus-outline"),event.stopPropagation(),!1}),$(".wizard-next").on("click",function(){var t=$("#setup-form"),n=$(this),r=n.data("currentBlock"),i=n.data("nextBlock");if(n.button("loading"),i>r){var a="/setup/step"+r;return $.post(a,t.serializeObject()).done(function(t){e(r,i)}).fail(function(e){var t=_.toArray(e.responseJSON.errors);_.each(t,function(e){(new Cachet.Notifier).notify(e)})}).always(function(){n.button("reset")}),!1}e(r,i),n.button("reset")}),$.fn.sparkline){!function(){$(".sparkline").each(function(){var e=$(this).data();e.valueSpots={"0:":e.spotColor},$(this).sparkline(e.data,e);var t=e.compositedata;if(t){var n=$(this).attr("data-stack-line-color"),r=$(this).attr("data-stack-fill-color"),i=$(this).attr("data-stack-spot-color"),a=$(this).attr("data-stack-spot-radius");$(this).sparkline(t,{composite:!0,lineColor:n,fillColor:r,spotColor:i,highlightSpotColor:i,spotRadius:a,valueSpots:{"0:":i}})}})}()}$(".password-strength").strengthify(),$("#update-alert").length>0&&$.ajax({async:!0,dataType:"json",url:"/api/v1/version"}).done(function(e){!1===e.meta.on_latest&&$("#update-alert").removeClass("hidden")})}); |